afc163
2146d18045
style: fix Table tree data ellipsis style problem ( #36608 )
...
close #36583
2022-07-20 13:30:34 +08:00
二货机器人
03ea767cad
fix: Form validate message shaking ( #36575 )
...
* refactor: move component out
* refactor: clean up code
* chore: stable it
* chore: back of container
* chore: adjust leave motion
* test: update snapshot
* chore: update motion logic
* fix: list start motion
* test: update snapshot
* test: update snapshot
* test: test for marginBottom
2022-07-19 16:01:31 +08:00
zombiej
ed5f4c3626
test: update snapshot
2022-07-15 11:47:57 +08:00
afc163
008681c1bf
style: Table expandIcon style when column is fixed and ellipsis ( #36496 )
...
close #36485
2022-07-13 14:40:43 +08:00
舜岳
47f68d0e5c
fix: fix table container z-index ( #36420 )
2022-07-08 10:31:53 +08:00
Yunwoo Ji
e503f9d5ae
fix: correct border radius when table has title ( #36384 )
2022-07-05 17:27:49 +08:00
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2022-07-04 22:09:54 +08:00
二货机器人
d24f67f66b
test: Fix table empty test ( #36290 )
2022-06-29 12:07:28 +08:00
afc163
fe52f2c8dc
style: fix Table shadow bug in nested situation ( #36277 )
...
close #36203
2022-06-29 10:10:55 +08:00
afc163
eeedb876c0
chore: fix eslint warning and bisheng terminal log ( #36220 )
...
* chore: fix eslint warning
* chore: fix bisheng log
* Update basic.md
2022-06-24 16:40:48 +08:00
afc163
326978e736
style: fix Table expand icon align issue ( #36215 )
2022-06-24 12:04:28 +08:00
afc163
f8a9cb3498
fix: nested Table margin style ( #36209 )
...
* fix: nested Table margin style
* fix: tsx demo
* test: update snapshot
2022-06-24 10:49:59 +08:00
Dunqing
2971e3b081
fix: Reset the last selection key ( #34705 )
...
* fix: reset last selection key
* reset last selection key when deselect
* fix: add test case
* fix: remove unused code
* fix: enzyme bug
* fix: update test
* styles: remove empty line
* fix: lint error
* test: migrate to testing-libary
* fix: xxx.simulate is not a function
* fix: lint error
* fix: use wrong
* fix: solved test not work
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-06-23 16:04:55 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
pfsu
092bfd7496
docs: update demo code ( #36127 ) ( #36143 )
2022-06-21 14:09:31 +08:00
二货机器人
0ff19bb239
fix: Table multiple dropdown not closed ( #36132 )
...
* fix: Table dropdown can not close
* test: Test case
* test: cov
* chore: bump rc-util
* chore: reorder
* chore: bump rc-util
* chore: rm test
* chore: clean up
2022-06-20 23:28:46 +08:00
二货机器人
63fc5055f9
fix: Table customize filterDropdown with Menu should not block default selectable ( #36098 )
...
* fix: Table customize Menu should be selectable
* test: Add test case
* test: Update snapshow
2022-06-17 14:37:18 +08:00
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>
2022-06-13 11:26:16 +08:00
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
2022-06-07 10:14:32 +08:00
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>
2022-06-06 18:44:58 +08:00
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
2022-06-02 17:26:41 +08:00
二货机器人
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
2022-05-30 19:06:51 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles ( #35616 )
...
close https://github.com/ant-design/ant-design/issues/35549
2022-05-19 10:05:40 +08:00
章鱼
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
2022-05-19 09:46:26 +08:00
MadCcc
6817db7b52
feat: table rowSelection.onChange support type ( #35598 )
...
* feat: table rowSelection onChange support method
* docs: update
* chore: rename param
* test: update
* test: update
2022-05-18 11:59:00 +08:00
github-actions[bot]
0b780574ae
chore: auto merge branchs ( #35597 )
...
chore: feature merge master
2022-05-17 11:42:21 +00:00
afc163
f9f3a0e604
style: fix Table header border when has rowSpan ( #35591 )
...
close #35577
2022-05-17 18:19:17 +08:00
github-actions[bot]
91181c5b56
chore: auto merge branchs ( #35572 )
...
chore: feature merge master
2022-05-16 09:03:24 +00:00
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
...
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
2022-05-16 16:34:42 +08:00
afc163
46df154ce4
chore: deprecated rowSelection.onSelectNone and onSelectMultiple ( #35545 )
2022-05-14 16:41:34 +08:00
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
2022-05-11 17:58:26 +08:00
afc163
089dc7e36a
docs: remove editable in table documentation
...
close
https://github.com/ant-design/ant-design/pull/35471#issuecomment-1123239879
2022-05-11 14:35:43 +08:00
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
2022-05-10 15:43:29 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
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
2022-05-07 11:44:48 +08:00
lalalazero
6c0f67e407
fix: table column filter reset is not working ( #35226 ) ( #35386 )
2022-05-05 12:17:15 +08:00
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>
2022-04-27 16:27:13 +08:00
Yuyao Nie
a9806a2be0
perf: optimize calculation of filteredKeysIsAllControlled ( #35064 )
...
* perf: optimize calculation of filteredKeysIsAllControlled
* fix: ci failure
* fix: modify codes by suggestion
2022-04-23 17:11:52 +08:00
afc163
e14ec001a1
fix: small/middle table selection dropdown margin issue ( #35174 )
...
* fix: small/middle table selection dropdown margin issue
* Update index.less
2022-04-22 16:01:20 +08:00
afc163
7d822f1b26
fix: small table selection dropdown margin issue ( #35173 )
...
close #35167
2022-04-22 14:58:02 +08:00
afc163
8923d59860
fix: small table selection dropdown margin issue
...
close #35167
2022-04-22 14:16:54 +08:00
二货机器人
f8d728161c
docs: Update demo with Space ( #35172 )
2022-04-22 13:35:27 +08:00
afc163
8f06430336
fix: DropDownProps => DropdownProps ( #35161 )
...
* fix: DropDown => Dropdown
* chore: leave DropDownProps for compatibility
2022-04-21 22:09:59 +08:00
二货机器人
1525ac47fb
chore: bump dropdown with inject mark ( #35153 )
2022-04-21 17:10:06 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
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>
2022-04-18 21:02:11 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
二货机器人
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
2022-04-14 18:09:19 +08:00
afc163
c421383d02
Update index.en-US.md
2022-04-12 22:25:47 +08:00
afc163
cf44a6bde9
docs: recommend S2 and ProTable in table documentation ( #34998 )
...
* docs: recommend S2 and ProTable in table documentation
* Update index.en-US.md
2022-04-12 22:22:01 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
afc163
494c55df30
fix: small size of Table style problem ( #34963 )
...
close #34949
2022-04-11 13:07:48 +08:00
二货机器人
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
2022-04-08 22:55:42 +08:00
二货机器人
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
2022-04-06 11:07:15 +08:00
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
2022-04-03 23:27:45 +08:00
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
2022-03-24 21:54:20 +08:00
github-actions[bot]
2a35f74d74
chore: auto merge branchs ( #34684 )
...
chore: feature merge master
2022-03-24 04:30:35 +00:00
黑雨
d4acc661da
feat: add filterResetToDefaultFilteredValue api ( #34355 )
...
* feat: add filterResetToDefaultFilteredValue api
* feat: fix lint
* feat: update test case
* feat: update doc
2022-03-23 19:29:05 +08:00
huangkairan
d0be21ed8f
fix(table) filterSearch TypeScript declaration ( #34671 )
...
* fix: types declaration
* fix(table): filterSearch TypeScript declaration
2022-03-23 18:30:30 +08:00
二货机器人
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
2022-03-18 15:20:35 +08:00
github-actions[bot]
78705e34f0
chore: auto merge branchs ( #34527 )
...
chore: sync master into feature
2022-03-16 03:38:49 +00:00
黑雨
e45fa77eb8
feat: add aria-* to Spin ( #34408 )
...
* feat: add aria
* feat: update other snap
* feat: update logic
2022-03-11 15:49:33 +08:00
zqran
86415ef8a2
docs(Table): replace the link of TableComponents
prop with rc-table
type ( #34423 )
2022-03-11 09:52:16 +08:00
afc163
1df2ecd66e
fix: Tree filter select all behavior ( #34295 )
...
ref https://github.com/ant-design/ant-design/issues/34280
2022-03-04 15:36:18 +08:00
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
2022-03-01 14:17:48 +08:00
黑雨
2c56927ae9
feat: table filterSearch supports function ( #34085 )
...
* feat: table filterSearch supports function
* feat: update for test
* feat: update document
2022-02-25 16:05:18 +08:00
黑雨
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
2022-02-25 16:03:22 +08:00
afc163
34a63e6892
chore: merge feature into master
2022-02-23 17:11:11 +08:00
二货机器人
9f602aa710
fix: Table render twice on first mount ( #34106 )
...
* fix: Table render twice
* chore: clean up
* test: Fix test case
2022-02-17 18:11:33 +08:00
MadCcc
76ad890deb
Merge branch 'master' into feature-merge-master
2022-02-15 14:05:33 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
...
This reverts commit 6b1a48d5ed
.
2022-01-30 15:49:24 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
...
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
2022-01-30 15:21:41 +08:00
MadCcc
40433f357d
Merge branch 'feature' into master
2022-01-30 14:46:13 +08:00
MadCcc
27a498e021
fix: update dropdown version to 3.2.5 ( #33895 )
...
* fix: update dropdown version to 3.2.5
* test: update snapshot
2022-01-30 12:31:35 +08:00
github-actions[bot]
d81ac2d5a9
chore: auto merge branchs ( #33823 )
...
chore: sync master into feature
2022-01-24 08:16:00 +00:00
afc163
578aaad7f2
test: fix lint
2022-01-24 11:26:26 +08:00
github-actions[bot]
5a93cc024d
chore: auto merge branchs ( #33745 )
...
chore: sync master into feature
2022-01-18 03:16:08 +00:00
yanm1ng
54ef44be97
docs(table): upgrade react-sortable-hoc usage ( #33729 )
...
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
2022-01-14 18:50:02 +08:00
Dan Greene
a39ddcf798
feat: resolves issue 33572 re aria-sort on tables ( #33603 )
...
* feat: resolves issue 33572 re aria-sort on tables
* fixing snapshots
* removing code that can't be hit anyway
2022-01-11 13:18:42 +08:00
afc163
0976e9e6a4
test: add test case for #33487 ( #33492 )
2021-12-31 10:44:16 +08:00
afc163
9ec2709b16
Revert "fix: The current change of pagination triggers onChange ( #33411 )" ( #33489 )
...
This reverts commit 629caccaae
.
2021-12-30 15:15:00 +08:00
Garrick Crouch
d53e16fe76
docs: Update index.en-US.md ( #33464 )
...
provide correct hash link for row selection docs to selection config anchor tag
2021-12-29 11:44:59 +08:00
2724635499
629caccaae
fix: The current change of pagination triggers onChange ( #33411 )
...
* fix: table pagination onChange error (#33374 )
* test: add test case for this (#33374 )
2021-12-27 21:59:16 +08:00
zombiej
7ae451729f
test: update snapshot
2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps ( #33364 )
...
* chore: bump select related version
* test: Fix test case
* chore: bump rc-select version
* test: Update snapshot
* chore: Update Select ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* chore: Update ts definition
* chore: fix internal ts def
* test: update auto complete snapshot
* chore: update snapshot
* chore: bump version
* chore: fix demo ts
* chore: Move ValueType to the first place
* test: Update test case
2021-12-21 21:38:11 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
...
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
2021-12-04 17:06:36 +08:00
afc163
ef8179e6b5
chore: remove react-virtualized from demo
2021-12-04 00:01:20 +08:00
二货机器人
4cc055749d
refactor: Move Table rowSpan
& colSpan
demo to onCell
instead ( #33114 )
...
* docs: change doc of span demo
* docs: clear render props
2021-12-02 10:35:18 +08:00
二货机器人
2b152b0c22
feat: Support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN ( #33026 )
...
* feat: Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN
* docs: Update docs
2021-11-26 17:50:41 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
二货机器人
870b72af88
docs: 4.17.0 changelog ( #32859 )
...
* docs: 4.17.0 changelog
* test: Update snapshot
* docs: Update desc
* docs: merge changelog
2021-11-15 19:35:25 +08:00
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
2021-11-12 11:46:42 +08:00
Pob Ch
a73f4a324f
docs: Fix the link in Table's API doc ( #32779 )
...
- Fix FilterDropdownProps link in table/index.en-US.md
- Fix FilterDropdownProps link in table/index.zh-CN.md
2021-11-08 16:28:16 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
...
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
二货机器人
2bb9407f5f
chore: table support rowSpan hover ( #32557 )
2021-10-19 15:27:37 +08:00