afc163
416c61f08e
fix: Table ellipsis title missing
close #37977
2 years ago
Santiago Vallejo
de76c7f311
feat: Performance improvement on React useState ( #37875 )
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
二货机器人
069e44bcc3
chore: merge master
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
二货爱吃白萝卜
09b6032ec4
fix: Table column.title missing `filters` prop ( #37629 )
* fix: Table title missing filter data
* test: add test case
2 years ago
edc-hui
ff6fd118de
fix(Table): filterSearch function does not execute when filterMode is tree ( #37587 )
2 years ago
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2 years ago
yykoypj
bcb0b4dff1
feat: switch visible to open for Dropdown ( #37232 )
* feat: switch visible to open for Dropdown
* fix: merge state
* fix: props pass
* test: fix coverage
2 years ago
yykoypj
41a8003241
feat: switch visible to open for Dropdown ( #36799 )
* feat: switch visible to open for Dropdown
* feat: add warning when use visible
* fix: visible in dropdown-button
* chore: merge conflict
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
a2605f757d
feat: switch filterDropdownVisible to filterDropdownOpen for Table ( #36747 )
* feat: change filterDropdownVisible to filterDropdownOpen for Table
* docs: resolve conflict
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
f0e4963187
feat: switch filterDropdownVisible to filterDropdownOpen for Table ( #37026 )
* feat: table filterDropdownVisible to filterDropdownOpen
* chore: adjust prosp pass
* test: Update test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
Dmitry Artamonov
a34c9cef7f
Fix: sortable columns are not indicated as such for screen readers ( #37167 )
2 years ago
MadCcc
0124f24595
Revert "fix(Table): onChange `sorter` param types ( #36710 )"
This reverts commit 9e7e32b60c
.
2 years ago
kalykun
9e7e32b60c
fix(Table): onChange `sorter` param types ( #36710 )
* fix(types): fixes `sorter` param types
* chore: add test case
* Update type.test.tsx
* Update type.test.tsx
2 years ago
MadCcc
d7c2f5f5d3
feat: menu theme implemented by design token ( #36738 )
* feat: menu theme implemented by design token
* test: fix test
* fix: lint
* fix: menu motion
* 偷偷加了几个token
Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2 years ago
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>
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
二货机器人
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
2 years ago
二货机器人
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
2 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
afc163
9b95a30ec9
refactor: Table to CSS-IN-JS ( #35584 )
* style: add basic styles of table
* style: add basic border styles of table
* style: add more styles of table
* style: add more styles of table
* style: add pagination and summary styles
* add more styles
* style: add cell-ellipsis styles
* style: add Radius style
* style: add basic styles of table
* style: add basic border styles of table
* style: add more styles of table
* style: add more styles of table
* style: add pagination and summary styles
* add more styles
* style: add cell-ellipsis styles
* style: add Radius style
* style: add sorter style
* style: add sorter style
* style: add filter style
* style: add filter style
* style: add filter style
* style: fix filter and sort style
* style: fix bordered style
* style: fix bordered style
* style: fix bordered style
* style: add size style
* style: fix size style
* style: add selection style
* style: format code
* style: add sticky code
* style: add expand code
* style: add expand code
* style: add expand code
* style: add fixed code
* add fixed style
* style: fix diff place
* style: use number as px string
* chore: improve function name
* chore: use token
* style: rtl styles
* chore: fix marigin and padding logical properties
* fix: rtl styles
* fix: table filter dropdown style
* chore: remove useStyle
* chore: revert classNames
* fix: test case
* fix shadow in rtl
* Apply suggestions from code review
* chore: sub filter tree
* style: fix tree dropdown padding
Co-authored-by: zombiej <smith3816@gmail.com>
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
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
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
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
黑雨
d4acc661da
feat: add filterResetToDefaultFilteredValue api ( #34355 )
* feat: add filterResetToDefaultFilteredValue api
* feat: fix lint
* feat: update test case
* feat: update doc
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
afc163
1df2ecd66e
fix: Tree filter select all behavior ( #34295 )
ref https://github.com/ant-design/ant-design/issues/34280
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
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
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
3 years ago
afc163
9ec2709b16
Revert "fix: The current change of pagination triggers onChange ( #33411 )" ( #33489 )
This reverts commit 629caccaae
.
3 years ago
2724635499
629caccaae
fix: The current change of pagination triggers onChange ( #33411 )
* fix: table pagination onChange error (#33374 )
* test: add test case for this (#33374 )
3 years ago
二货机器人
2b152b0c22
feat: Support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN ( #33026 )
* feat: Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN
* docs: Update docs
3 years ago
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>
3 years ago
二货机器人
04d140d7a6
fix: Table preset SELECTION can modify disabled record ( #32027 )
* fix: tbl select opt affact disabled
* test: add disabled test case
3 years ago
afc163
9c17f94cab
feat: Table filterMode and filterSearch functions ( #31809 )
* feat: Table supports filterMode="tree-select"
* add tree component
* fix detail
* use tree
* add @table-filter-dropdown-max-height
* feat: add check all to filter tree
* feat: add search
* feat: use filterTreeNode
* fix code style
* fix style
* style: tree node selected bg
* fix demo
* feat: add filterSearch
* fix: clear search value after close filter dropdown
* update snapshot
* code style
* fix test case
* chore: new FilterDropdown.tsx file
* chore: searchValueMatched function
* add test case
* test: add test cases
* feat: reset only works on dropdown state now
* chore: add table locales
* fix search input width
* tweak style
* style: update transfer search input style
* perf: improve table perf
* fix: filterMuiltiple={false}
* test: add test for selecting
* chore: fix table filter selection
* fix lint
* remove unused code
* fix: style dependencies
* test: turn off bail config for duplidated-package-plugin in feature branch
* Update components/table/hooks/useFilter/FilterSearch.tsx
Co-authored-by: Peach <scdzwyxst@gmail.com>
* fix locale link
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Peach <scdzwyxst@gmail.com>
3 years ago
Kermit
5ea0628f53
fix(table): selectedRows of rowSelection should always keep sync ( #31224 )
* fix(table): selectedRows of row selection should always keep sync
* chore: update comment
3 years ago
Ricardo Morais
d6b623633a
fix(Table): Fixed filtering in columns with children ( #30815 )
* Fixed filtering in columns with children.
* Added entries to the changelog files.
* Revert "Added entries to the changelog files."
This reverts commit 26a08bdc
Co-authored-by: moraispgsi <moraispgis@gmail.com>
3 years ago
Wendell
748be64337
chore: Table warn about miss matched filter key ( #30882 )
* fix: warn about miss matched filter key
close #28107
* fix: add sortBy for correct array equal
* fix: fix warning message
* fix: fix lint
4 years ago
Kermit
f6b09a79b0
chore(table): optimize select all checkbox display logic ( #30811 )
4 years ago
afc163
7427f52a64
fix: Table column align with sorter and filter ( #30744 )
* fix: Table column align with sorter and filter
close #30741
* update snapshot
4 years ago
afc163
082f626a3e
style: redesign Table header action ( #30651 )
* feat: improve Table filter and sorter position
* fix: edge cases of th border
* fix lint
* style: apply new design
* fix css detail
* fix stylelint
* fix css error
* style: sorter icon hover color
* fix test cases
* update snapshot
* fix th padding
* fix calc
* style: fix dark theme
4 years ago