Amumu
e77b59ad37
fix(table): Fix reset columns filter err ( #38982 )
* fix(table): fix filter state when reset columns
* fix(table): Fix the problem that the old filter state still takes effect when the list filter column changes
* test: add test case
2 years ago
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2 years ago
afc163
bc252da0ad
docs: update table demo ( #38861 )
* Update size.tsx
* chore: update snapshot
2 years ago
Sheralijon
870080bfd0
fix: expand icon row-indentation issue ( #38823 )
2 years ago
MadCcc
91b25d554e
feat: empty simple in dark theme ( #38785 )
* feat: empty simple in dark theme
* chore: fix lint
* chore: update snapshot
* chore: update snaot
2 years ago
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
MadCcc
4ab8693693
docs: fix gfm
2 years ago
afc163
ac143ffb4d
docs: fix component demo column number ( #38631 )
* docs: fix component demo column number
* test: skip test case
2 years ago
afc163
e027cbec1c
docs: format all markdown ( #38629 )
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
2 years ago
dependabot[bot]
1a4c696926
chore(deps-dev): bump typescript from 4.8.4 to 4.9.3 ( #38604 )
* chore(deps-dev): bump typescript from 4.8.4 to 4.9.3
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.8.4 to 4.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix ts error in test case
* Update Table.pagination.test.tsx
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
8df44ddffd
chore: fix api table
2 years ago
afc163
08e4598baa
fix(Table): don't trigger sort when pressing enter in filter dropdown ( #38585 )
close #38579
2 years ago
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2 years ago
afc163
b154c9c8ae
fix: Pagination simple should support showTotal ( #38399 )
* fix: Pagination simple should support showTotal
* test: add test case
2 years ago
lijianan
7cba2904dd
test: add test codecov & fix demo ts ( #38398 )
* test: add codecov
* type: optimization type
* fix: fix type
* fix: fix type
* fix: fix type
* fix: fix type
2 years ago
kiner-tang(文辉)
2dbfbea502
fix(table): fix Table `aria-label` contains `[object Object]` ( #38389 )
* fix: columns title render not as expected
* feat: code optimize
* feat: update test case
* feat: update test case
* feat: code optimize
* Update components/table/__tests__/Table.test.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* feat: update aria-label
* feat: update test case
* feat: update snapshots
* feat: update snapshots
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
afc163
1d582551ec
chore: fix Table customized filter dropdown behavior when pressing enter ( #38393 )
close #38392
2 years ago
afc163
c6762d9215
style: fix Drawer extra using Radio.Group ( #38385 )
* style: fix Drawer extra using Radio.Group
close #38297
* chore: adjust flex logic
* chore: fix lint
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
216f25c457
Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table" ( #38383 )
* Revert "fix(table): aria-label should be use the first text content in element when column title is ReactElement in table (#38160 )"
This reverts commit 21c4bcf40a
.
* test: Update snapshot
2 years ago
Mike Ellis
46a0c60d0c
fix: Adds aria-label to Table header checkbox ( #38336 )
* Adds aria-label to Table header checkbox
* Corrects inverted aria label
* Updates some napshots
* Updates transfer snapshots
2 years ago
Optimistic-Chen
036a2c20a1
chore: update table demo ts type ( #38333 )
* 虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参
虚拟滚动列表中的Parameters<typeof Table>[0]改为泛型传参,可以定义通过datasource定义RecordType的值,而不是object
* Update virtual-list.md
* docs: virtualtable example use generic instead of 'Parameters[0]'
* Update components/table/demo/virtual-list.md
Co-authored-by: liangjun.chen <liangjun.chen@yunqutech.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
9f88c1238a
feat: token update ( #38314 )
* feat: token update
* chore: update test
* chore: lint
* chore: code clean
* test: update test case
* feat: radius token update
* fix: form size
* chore: fix steps style
* chore: code clean
* chore: update test case
2 years ago
Bojack
892ef7e925
fix: The text should read "No data" ( #38127 )
2 years ago
二货爱吃白萝卜
752d671acb
feat: DatePicker support `presets` ( #38249 )
* chore: basic style
* chore: all of token spread
* chore: default presets style
* docs: update presets
* chore: fix style
* chore: fix ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* test: update snapshot
* chore: bump bundle size
* test: update snapshot
* chore: update picker style
* chore: rm useless content
2 years ago
Chuns Chen
cc5c4fed51
refactor: locale files reference path ( #38194 )
* chore: add locale files to npm pkg
* docs: locale files reference path
* docs: fix locale path
* chore: bump @ant-design/tools
* refactor: default locale file
* chore: add site wepack alias
* chore: bump @ant-design/tools
* fix: site theme locale reference path
* chore: add locale files to eslint ignore
* fix: markdown demo unable to resolve path to module antd/locale
2 years ago
MadCcc
ffc09a2a0d
feat: compact theme ( #38105 )
* feat: compact theme
* chore: code clean
* chore: code clean
* chore: show dynamic theme in preview
* chore: code clean
* feat: compact algorithm
2 years ago
kiner-tang(文辉)
21c4bcf40a
fix(table): aria-label should be use the first text content in element when column title is ReactElement in table ( #38160 )
* fix: aria-lable should be use the first text content in element when title is ReactElement
* fix: aria-label should be use the first text content in element when title is ReactElement
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: update snapshots
* feat: update snapshots
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2 years ago
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2 years ago
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
* chore: use includes instead indexOf
* fix: fix
2 years ago
Wesley
e3abd1e77f
docs: Table Documentation interface description error ( #38065 )
Co-authored-by: YONGWEI PENG <yongweipeng@YONGWEIdeMacBook-Pro.local>
2 years ago
Alan Deng
e246f00899
docs(Table): fix log value of selected row keys ( #38051 )
2 years ago
liuycy
5442fc2412
fix: table header shadow issue ( #28096 ) ( #38023 )
2 years ago
MadCcc
0a0f96798d
chore: snapshot
2 years ago
afc163
d667d1948f
chore: fix lint ( #38005 )
2 years ago
afc163
416c61f08e
fix: Table ellipsis title missing
close #37977
2 years ago
lijianan
768ab54426
fix: delete defaultprops ( #37966 )
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
hms181231
1928f10b69
test: Update table test sleep -> useFakeTimers ( #37914 )
* feat:update table test sleep -> useFakeTimers
* test: tabel test case waitFakeTimer(500) -> waitFakeTimer()
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
Santiago Vallejo
de76c7f311
feat: Performance improvement on React useState ( #37875 )
2 years ago
lijianan
ddaead6777
fix: delete defaultprops ( #37822 )
* fix: delete defaultprops
* fix: delete defaultprops
2 years ago
kiner-tang(文辉)
f6a3f40308
feat(table): support close fn to close filter dropdown only ( #37745 )
* feat: support close fn to close filter dropdown only
* feat: update demo
* feat: reset change
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2 years ago
二货机器人
7dbc5b735a
test: Update snapshot
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
Wuxh
a70ef1b8da
fix(Badge): fix accidentally rendering an empty element when text props is empty ( #37681 )
* test(badge): add case
* fix(badge): fix accidentally rendering an empty element when text props is empty
* chore(badge): update demo
* test(badge): update snapshot
* docs: beautify docs
Add several supported ways to describe colors
* test(badge): update snapshot
* chore: update snapshot
* test: update snapshots
* Revert "test: update snapshots"
This reverts commit 2bd11650aea3b3a447a891f09708032f9c41cb3d.
* test: update snapshot
2 years ago
kiner-tang(文辉)
51e47bdbb4
fix: update FilterSearchType type definition ( #37610 )
* fix: 更新 FilterSearchType 类型描述
* fix: 更新 FilterSearchType 类型描述
* fix: 更新 FilterSearchType 类型描述
* fix: 更新 FilterSearchType 类型描述
* feat: 优化类型
* feat: update snapshots
* feat: add type test case
* feat: remove unused type declared
* feat: lint
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2 years ago
MadCcc
c61f283487
feat: switch motion ( #37658 )
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2 years ago
MadCcc
415c22bc8c
refactor: menu theme style ( #37640 )
2 years ago
二货爱吃白萝卜
09b6032ec4
fix: Table column.title missing `filters` prop ( #37629 )
* fix: Table title missing filter data
* test: add test case
2 years ago