zyf
c6289dd615
fix(table):table grouping columns does not apply sorting ( #50086 )
...
* 增加函数循环收集mergedColumns中所有key
* 新增测试用例
* ci问题调整,收集列keys函数调整
2024-08-01 20:39:01 +08:00
zyf
ebc3a999bd
fix(table):sorter value exception ( #49533 )
...
* fix(module:table):列属性为动态时,onchange函数sorter值异常问题
* 测试用例补充
* Update components/table/hooks/useSorter.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
* Update Sorter.value.test.tsx
去除当前测试用例中的window.requestAnimationFrame和window.cancelAnimationFrame
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
* 格式调整
* 格式调整
* 格式调整
* button增加type适配lint规范
* 重新调整过滤条件,修复sorter值异常问题
* 去除无用参数
* 格式修改
* Update components/table/__tests__/Sorter.value.test.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
* 去除无用注释,代码优化
* 去除无用注释,代码优化
---------
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-18 21:38:17 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
afc163
627af0ce89
Revert "fix(Table): fix Table sorter argument of onChange unexpected value (#…" ( #49487 )
...
This reverts commit 21224d7b5b
.
2024-06-19 11:35:09 +08:00
zyf
21224d7b5b
fix(Table): fix Table sorter argument of onChange unexpected value ( #49289 )
...
* fix(module:table):列属性为动态时,onchange函数sorter值异常问题
* 测试用例补充
* Update components/table/hooks/useSorter.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
* Update Sorter.value.test.tsx
去除当前测试用例中的window.requestAnimationFrame和window.cancelAnimationFrame
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
* 格式调整
* 格式调整
* 格式调整
* button增加type适配lint规范
---------
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-13 15:16:04 +08:00
github-actions[bot]
80f49bfcf2
chore: auto merge branches ( #48020 )
...
chore: merge master into feature
2024-03-23 16:15:34 +00:00
lijianan
611993b0a8
type: fix master CI fail again ( #48045 )
...
* TEST: DO NOT MERGE
* fix: fix type
2024-03-23 23:27:59 +08:00
lijianan
212b1eef12
type: fix master CI fail ( #48044 )
2024-03-23 21:59:55 +08:00
Alina Andrieieva
1bd8fbc5f3
feat: support showSorterTooltip.target
for Table sorters ( #47409 )
...
* Added `sorterTooltipTarget` prop for table sorters
* demo updated
* updated snapshot
* updated snapshot
* moved table tooltip target to `showSorterTooltip`
* fix
* updated docs
* empty commit
* updated version in docs
---------
Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
2024-03-18 18:45:31 +08:00
afc163
49ef16b5ff
fix: Table sorter tooltip cannot be open when showSorterTooltip is a object ( #45403 )
2023-10-19 10:08:10 +08:00
dyecma
c1dbcae764
feat: rename sorterOrder to sortOrder ( #42519 )
2023-05-22 18:03:45 +08:00
dyecma
8aca325d99
feat: implement sortIcon on Table ( #42498 )
...
* implement sortIcon on Table
* drop React.ReactNode from sortIcon
* add sortIcon test
* fix sortIcon arg type
* add sortIcon to docs
---------
Co-authored-by: afc163 <afc163@gmail.com>
2023-05-22 12:03:57 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
Alina Andrieieva
ad707df22e
Accessibility fix: aria-label cannot be used with role="presentation". ( #40413 )
...
* Acessibility fix: aria-label cannot be used with role="presentation".
* Acessibility fix: added aria-hidden to the wrapper
---------
Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
2023-02-05 20:06:24 +08:00
kiner-tang(文辉)
b91bab09b2
fix(table): reset aria-label in table column ( #39738 )
...
* feat: reset aria-label in table column
* feat: reset aria-label in table column
2022-12-22 20:47:46 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
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>
2022-11-05 12:44:37 +08:00
afc163
416c61f08e
fix: Table ellipsis title missing
...
close #37977
2022-10-13 17:44:19 +08:00
Dmitry Artamonov
a34c9cef7f
Fix: sortable columns are not indicated as such for screen readers ( #37167 )
2022-08-21 16:39:54 +08:00
MadCcc
0124f24595
Revert "fix(Table): onChange sorter
param types ( #36710 )"
...
This reverts commit 9e7e32b60c
.
2022-08-17 10:13:25 +08:00
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
2022-08-04 11:16:24 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +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
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
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
7427f52a64
fix: Table column align with sorter and filter ( #30744 )
...
* fix: Table column align with sorter and filter
close #30741
* update snapshot
2021-05-28 13:27:58 +08:00
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
2021-05-24 22:16:06 +08:00
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
2021-04-02 22:37:36 +08:00
陈帅
a4f0957576
docs: add 4.12.0 changelog ( #29131 )
...
* docs: add 4.11.3 changelog
* update docs
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* update docs
* add 4.12.0 changelog
* update docs
* fix typo
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* fix changelog
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* update docs
* Update CHANGELOG.zh-CN.md
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
* Update CHANGELOG.zh-CN.md
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
* fix typo
* fix typo
* Update CHANGELOG.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
2021-02-02 22:05:31 +08:00
陈帅
40f9be9417
megre Feature into master ( #29141 )
...
* feat: Allow user to configure the Tooltip in the Table header (#29002 )
* feat: Table header supports tooltipPlacement
* docs: add Table tooltipPlacement
* feat: Allow user to configure the Tooltip in the Table header
* fix: fix jsx and use old code style
* fix: replace if blocks with ternary operator
* docs: fix url
Co-authored-by: 偏右 <afc163@gmail.com>
* docs: fix url
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
* fix: Row with gutter has additional gap (#29059 )
* chore: init gutter
* feat: col support gap
* chore: Update playground
* fix: Safari padding
* test: fix test case
* test: More test case
* docs: Update demo
* test: Update coverage
* test: Update test hack
* feat(input-number): add keyboard prop to support disable keyboard (#29110 )
Co-authored-by: Ant Design GitHub Bot <yesmeck+ant-design-bot@gmail.com>
Co-authored-by: Harrison <stlebea@foxmail.com>
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
2021-02-01 10:15:39 +08:00
二货机器人
08f25f0c8f
chore: Update Table ts definition ( #29084 )
...
* chore: bump rc-table ver
* chore: Fix ts definition
* docs: fix doc
2021-01-28 01:21:58 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
二货机器人
d6d3de8a1b
fix: table multiple sorter ( #24852 )
...
* fix sort callback
* add test case
2020-06-08 22:45:53 +08:00
Vitaly Budovski
f09686d3df
feat: Responsive table columns ( #23298 )
2020-04-24 12:17:42 +08:00
二货机器人
b28b2007be
fix: Center not work in Table ( #22858 )
...
* fix: Center not work in Table
* update snapshot
* fix test case
2020-04-02 18:53:49 +08:00
afc163
e12e2971d8
merge feature into master-to-merge-feature
2020-03-23 15:02:22 +08:00
二货机器人
9dbd41a853
fix: Table column group with controlled sorter ( #22450 )
...
* update interface
* support group sorterOrder controlled
* add test case
* fix test case
2020-03-20 23:33:14 +08:00
偏右
5d63040837
Merge pull request #21818 from ant-design/master
...
chore: merge master into feature
2020-03-03 16:44:21 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
...
* alert
* more icons
* another grouping
* all done
2020-03-02 12:09:38 +08:00
二货机器人
e868c87530
fix: Table.Column sortOrder is not working in JSX mode ( #21719 )
...
* fix: Table.Column sortOrder is not working in JSX mode
* clean up
* update snapshot
2020-03-01 13:11:28 +08:00
zefeng
e262d14c2b
feat: more obviously tips for next sort ( #21631 )
2020-02-29 22:01:13 +08:00
二货机器人
f470f3e1e4
fix: Table onChange return cached data ( #20858 )
2020-01-13 15:04:27 +08:00
二货机器人
1c1a4a773d
fix: Table should not crash with empty column children ( #20703 )
2020-01-06 20:28:47 +08:00
二货机器人
7b4123258b
fix: table should not show sorter when sorter is falsy ( #20187 )
...
fix #20096
2019-12-11 14:14:52 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
二货机器人
72a7ba618f
New Table ( #19678 )
...
* chore: update rc-table
* add basic table style
* checked all logic
* checkbox support disabled
* selection style
* selection support radio
* add selections support
* selection extra style
* select all locale
* sorter logic
* add more desc
* init Filter hooks
* init filter hooks
* update style
* filter style
* filter style
* fix filter
* sort control
* ajax it
* add expandedable css
* expandable view style
* fixed style
* border style
* empty style
* fix pagination style
* add fixed demo
* un-comment
* clean up
* fix filter check logic
* fix overflow & ellipsis conflict
* fix tes
* adjust scroll shadow
* fix border fixed style
* add part of test case
* add filter test part
* more test case
* issue related test
* filter test
* adjust pagination logic
* fix pagination test case
* all selection test case
* table sorter test case
* table basic test
* fix test case
* update faq
* update expandable doc
* add v4 doc
* add summary docs
* more demo
* fix selection
* update snapshot
* update test case
* fix ff styling
* update rc-table
* update snapshot
* update snapshot
* fix lint
* fix style lint
* fix style
* update snapshot
* update desc
* fix missing icon
2019-11-15 14:35:25 +08:00