dingkang
52b049d170
test: replace Table part test with test lib ( #35989 )
* test: replace Table part test with test lib
* test: replace table test with test library
* test: update snapshot
* test: replace last mount
* test: fix 18 testing
Co-authored-by: zombiej <smith3816@gmail.com>
2 years ago
dingkang
dfd1897063
test: replace test case with test library ( #35925 )
* test: replace test case with test library
* test: replace test case with test library
* test: update snapshots
3 years ago
Heaven
4dd6fcaf99
Feat: support 'treeExpandAction' prop for TreeSelect ( #35618 )
* Feat: support 'treeExpandAction' prop for TreeSelect
* chore: bump rc-tree
* chore: fix lint
* fix: fix directory tree duplicate expandAction
* fix: fix directory tree duplicate expandAction
* fix: fix directory tree duplicate expandAction
* chore: add docs
Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
MadCcc
a5d8db0368
refactor: pagination mini className ( #35881 )
* refactor: pagination mini cls
* test: update snapshot
* test: update snapshot
* chore: code clean
* chore: code clean
* test: update snapshot
* test: update snapshot
3 years ago
二货机器人
99c16aa8d6
refactor: Fix Dropdown nesting menu injection logic ( #35810 )
* refactor: Dependency Inversion
* test: update snapshot
* test: Update snapshot
* test: more
* fix: table dropdown logic
* fix: menu lint
3 years ago
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles ( #35616 )
close https://github.com/ant-design/ant-design/issues/35549
3 years ago
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
MadCcc
6817db7b52
feat: table rowSelection.onChange support type ( #35598 )
* feat: table rowSelection onChange support method
* docs: update
* chore: rename param
* test: update
* test: update
3 years ago
afc163
f9f3a0e604
style: fix Table header border when has rowSpan ( #35591 )
close #35577
3 years ago
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
3 years ago
afc163
46df154ce4
chore: deprecated rowSelection.onSelectNone and onSelectMultiple ( #35545 )
3 years ago
limingxin
765bc1effc
docs: Table QA about rowSelection renderCell ( #35494 )
* Update index.zh-CN.md
之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。
所以想要完善一下文档,可以方便其他用户找到此内容。
* docs: Table QA about rowSelection renderCell
update US doc
3 years ago
afc163
089dc7e36a
docs: remove editable in table documentation
close
https://github.com/ant-design/ant-design/pull/35471#issuecomment-1123239879
3 years ago
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
Karott Schu
d07dcd46b7
fix(<Row/>): wipe out unnecessary prop ( #35409 )
* fix: wipe out unnecessary prop
* wipe out unnecessary prop(`row-gap: 0px`) on <Row />
* add test case
* chore: remove unnecessary import
* chore: add prop to Row and Col
* chore: update snapshot (Form/Grid/Card)
* chore: update snapshot
* chore: move location
3 years ago
lalalazero
6c0f67e407
fix: table column filter reset is not working ( #35226 ) ( #35386 )
3 years ago
afc163
5a6b3ccd98
fix: Table columns sorter a11y experience ( #35269 )
* Make table sortable columns focusable and keyboard accessible.
* Fix typo.
* Change focus style for sortable table column header from broken outline to color text.
* Update snapshots.
* Change order to fix lint error.
* Add unit test to test sorting with keypress.
* Update components/table/hooks/useSorter.tsx
* chore: improve code style
* style: use focus-visible
* fix: test case
* test: update snapshot
Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com>
3 years ago
Yuyao Nie
a9806a2be0
perf: optimize calculation of filteredKeysIsAllControlled ( #35064 )
* perf: optimize calculation of filteredKeysIsAllControlled
* fix: ci failure
* fix: modify codes by suggestion
3 years ago
afc163
e14ec001a1
fix: small/middle table selection dropdown margin issue ( #35174 )
* fix: small/middle table selection dropdown margin issue
* Update index.less
3 years ago
afc163
7d822f1b26
fix: small table selection dropdown margin issue ( #35173 )
close #35167
3 years ago
afc163
8923d59860
fix: small table selection dropdown margin issue
close #35167
3 years ago
二货机器人
f8d728161c
docs: Update demo with Space ( #35172 )
3 years ago
afc163
8f06430336
fix: DropDownProps => DropdownProps ( #35161 )
* fix: DropDown => Dropdown
* chore: leave DropDownProps for compatibility
3 years ago
二货机器人
1525ac47fb
chore: bump dropdown with inject mark ( #35153 )
3 years ago
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
3 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
二货机器人
67ccf39bd3
fix: Notification & message throw `createRoot` warning in React 18 ( #35030 )
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
3 years ago
afc163
c421383d02
Update index.en-US.md
3 years ago
afc163
cf44a6bde9
docs: recommend S2 and ProTable in table documentation ( #34998 )
* docs: recommend S2 and ProTable in table documentation
* Update index.en-US.md
3 years ago
afc163
494c55df30
fix: small size of Table style problem ( #34963 )
close #34949
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
3 years ago
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
3 years ago
黑雨
d4acc661da
feat: add filterResetToDefaultFilteredValue api ( #34355 )
* feat: add filterResetToDefaultFilteredValue api
* feat: fix lint
* feat: update test case
* feat: update doc
3 years ago
huangkairan
d0be21ed8f
fix(table) filterSearch TypeScript declaration ( #34671 )
* fix: types declaration
* fix(table): filterSearch TypeScript declaration
3 years ago
二货机器人
a67d39cd6c
feat: Menu support `items` ( #34559 )
* docs: Update Menu cn doc
* chore: update ts def
* chore: support convert
* docs: more demo
* docs: more demo
* docs: all menu demos
* docs: dropdown demo
* docs: dropdown all demos
* docs: update demo
* test: coverage
* docs: more demo
* docs: layout demo
* docs: all demo
* chore: fix ts lint
* docs: fix doc
* docs: all docs
3 years ago
黑雨
e45fa77eb8
feat: add aria-* to Spin ( #34408 )
* feat: add aria
* feat: update other snap
* feat: update logic
3 years ago
zqran
86415ef8a2
docs(Table): replace the link of `TableComponents` prop with `rc-table` type ( #34423 )
3 years ago
afc163
1df2ecd66e
fix: Tree filter select all behavior ( #34295 )
ref https://github.com/ant-design/ant-design/issues/34280
3 years ago
MadCcc
bfebb88bdb
feat: introduce rc-input ( #34206 )
* feat: introduce rc-input
* fix: export InputRef alias
* docs: fix demo
* chore: code clean
* test: fix lint
* test: test coverage
* chore: code clean
* chore: code clean
* test: update snapshot
3 years ago
黑雨
2c56927ae9
feat: table filterSearch supports function ( #34085 )
* feat: table filterSearch supports function
* feat: update for test
* feat: update document
3 years ago
黑雨
086e5d8e60
feat: table FilterDropdown support `clearFilters({ confirm: false, closeDropdown: false })` ( #34120 )
* feat: table FilterDropdown support `clearFilters({ confirm: boolean })`
* feat: update `clearFilters` and `confirm`
* feat: add FilterRestProps,update document
* feat: update onReset params order
* feat: add test case
3 years ago
二货机器人
9f602aa710
fix: Table render twice on first mount ( #34106 )
* fix: Table render twice
* chore: clean up
* test: Fix test case
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
MadCcc
27a498e021
fix: update dropdown version to 3.2.5 ( #33895 )
* fix: update dropdown version to 3.2.5
* test: update snapshot
3 years ago