zyf
4b186714d0
fix(Table): preserve custom event handlers in row selection ( #51661 )
2024-11-18 11:31:38 +08:00
𝑾𝒖𝒙𝒉
5a5a412a3f
♻️ refactor: Defensive programming ( #51360 )
2024-10-23 22:18:55 +08:00
𝑾𝒖𝒙𝒉
badbd80eb4
feat(Table): column filterDropdownProps support ( #51297 )
...
Co-authored-by: afc163 <afc163@users.noreply.github.com>
2024-10-22 17:50:17 +08:00
NathanLao
eee46a440e
fix: sorter columnkey should be null ( #51114 )
2024-10-07 11:45:42 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 ( #50690 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
Jerryxin
13f338a9f5
fix(Table): cannot check rows when checkStrictly={false} ( #50746 )
2024-09-11 12:18:27 +08:00
叶枫
7d66a8e5cf
type: revert Table generic with any ( #50372 )
...
* fix: table generic default any
* feat: = AnyObject
2024-08-13 10:34:52 +08:00
lijianan
857ee24e38
type(Table): TypeScript improvement ( #50351 )
...
* type: Table TypeScript improvement
* type: Table TypeScript improvement
* type: Table TypeScript improvement
* fix: fix demo
* fix: fix demo
* fix: fix type
* fix: fix type
* fix: fix type
* fix: fix type
2024-08-11 10:58:13 +08:00
github-actions[bot]
249c94fb50
chore: auto merge branches ( #50198 )
...
chore: merge master into feature
2024-08-02 03:58:13 +00:00
zyf
c6289dd615
fix(table):table grouping columns does not apply sorting ( #50086 )
...
* 增加函数循环收集mergedColumns中所有key
* 新增测试用例
* ci问题调整,收集列keys函数调整
2024-08-01 20:39:01 +08:00
栗嘉男
7e74c4fa64
chore: merge master into feature
2024-07-19 20:53:26 +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
红
800c3fcbdb
feat(table-filter): support custom Empty ( #49613 )
...
* fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty (#49548 )
* 修复自定义全局组件,过滤里面没有生效
* 新增测试用例
* 重新提交测试用例
* 测试用例添加断言判断
* update Table.filter.test.tsx
* commit snapshot
* update Table.filter.test.tsx
* update Table.filter.test.tsx
* update Table.filter.test.tsx
(cherry picked from commit 7790934b0b
)
* chore: update case
* feat(table-filter): support custom Empty
* chore(type): improve TS type definition (#49602 )
(cherry picked from commit a15fcfa1dc
)
* fixup! feat(table-filter): support custom Empty
* Squashed commit of the following:
commit 1b9706f22d
Merge: e76e386966
cc54bef826
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date: Wed Jun 26 10:10:48 2024 +0000
chore: auto merge branches (#49609 )
chore: sync master to feature
commit cc54bef826
Author: 照明胧 <25151442+mmmml-zhao@users.noreply.github.com>
Date: Wed Jun 26 14:19:22 2024 +0800
fix: The emptyText field of the table (#49599 )
* fix: The emptyText field of the table
when emptyText is null
* test: update test case(#49599 )
commit ff7fea18f3
Author: afc163 <afc163@gmail.com>
Date: Wed Jun 26 12:40:24 2024 +0800
Revert "bug: fix-table-bug ref filters" (#49600 )
This reverts commit 7790934b0b
.
commit a15fcfa1dc
Author: 红 <wxh1220@gmail.com>
Date: Wed Jun 26 12:40:11 2024 +0800
chore(type): improve TS type definition (#49602 )
commit 9ce5cbcf64
Author: Andrey <aaa144855@gmail.com>
Date: Wed Jun 26 06:05:39 2024 +0300
fix: remove redundant transformations in ```UploadList```, which led to decrease in performance (#49598 )
* fix: remove unnecessary transformations for upload list with previews
* chore: revert miss convert
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
commit 4145305b16
Author: MadCcc <madccc@foxmail.com>
Date: Tue Jun 25 16:59:30 2024 +0800
docs: fix site FOUC (#49595 )
commit 44e96b7b06
Author: enhongchen <106970098+enhongchen@users.noreply.github.com>
Date: Tue Jun 25 14:24:14 2024 +0800
docs: Update use-with-rsbuild.zh-CN.md (#49592 )
https://ant.design/docs/react/use-with-rsbuild-cn?theme=happy-work#%E5%AE%89%E8%A3%85%E5%92%8C%E5%88%9D%E5%A7%8B%E5%8C%96
Signed-off-by: enhongchen <106970098+enhongchen@users.noreply.github.com>
commit 6a0af781d1
Author: 红 <wxh1220@gmail.com>
Date: Tue Jun 25 13:34:28 2024 +0800
chore: improve tabs demo (#49590 )
ref: https://docs.dndkit.com/presets/sortable#collision-detection-algorithm
commit 7127603b76
Author: Tantatorn Suksangwarn <timefear007@gmail.com>
Date: Tue Jun 25 12:32:59 2024 +0700
fix: add missing Thai translations (#49588 )
commit 7790934b0b
Author: duqigit <916475145@qq.com>
Date: Tue Jun 25 10:44:43 2024 +0800
fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty (#49548 )
* 修复自定义全局组件,过滤里面没有生效
* 新增测试用例
* 重新提交测试用例
* 测试用例添加断言判断
* update Table.filter.test.tsx
* commit snapshot
* update Table.filter.test.tsx
* update Table.filter.test.tsx
* update Table.filter.test.tsx
commit b09913db06
Author: lijianan <574980606@qq.com>
Date: Tue Jun 25 10:42:19 2024 +0800
test: update test case code (#49585 )
commit b420c57354
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue Jun 25 10:39:47 2024 +0800
chore(deps): bump oven-sh/setup-bun from 1 to 2 (#49578 )
Bumps [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun ) from 1 to 2.
- [Release notes](https://github.com/oven-sh/setup-bun/releases )
- [Commits](https://github.com/oven-sh/setup-bun/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: oven-sh/setup-bun
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit a81603d720
Author: afc163 <afc163@gmail.com>
Date: Mon Jun 24 13:33:56 2024 +0800
docs: fix nav menu cannot click (#49569 )
* chore: remove
* test: add more unit test
* chore: lint
* chore: fix legacy16 bug
* chore: update logic
* test: update unit test
---------
Co-authored-by: duqigit <916475145@qq.com>
2024-07-01 17:47:59 +08:00
afc163
ff7fea18f3
Revert "bug: fix-table-bug ref filters" ( #49600 )
...
This reverts commit 7790934b0b
.
2024-06-26 12:40:24 +08:00
duqigit
7790934b0b
fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty ( #49548 )
...
* 修复自定义全局组件,过滤里面没有生效
* 新增测试用例
* 重新提交测试用例
* 测试用例添加断言判断
* update Table.filter.test.tsx
* commit snapshot
* update Table.filter.test.tsx
* update Table.filter.test.tsx
* update Table.filter.test.tsx
2024-06-25 10:44:43 +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
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict ( #47998 )
...
* feat: tsconfig enable strict
* feat: add no-explicit-any
* feat: strict
* feat: as THEME
* feat: 优化 keys 类型写法
* feat: demo remove any
* feat: as number
* feat: this any
* feat: add eslint
* feat: cascader
* feat: props any
* feat: remove any
* feat: remove any
* feat: any 提示错误
* feat: remove any
* feat: add eslint
* feat: 允许 T = any 存在
* feat: color funciton
* feat: 恢复 lint
* feat: merge master
* feat: as ReactElement
* feat: type
2024-04-01 15:49:45 +08:00
lijianan
1b36fd22e5
Merge pull request #48172 from ant-design/master
...
chore: merge master into feature
2024-03-29 20:10:12 +08:00
LingJinT
5a9dca2ae7
fix: Fixed the problem that internationalization of table columns fails when searching ( #48126 )
...
* fix: 表格列在搜索情况下,国际化失效 #48110
* Update components/table/hooks/useFilter/FilterDropdown.tsx
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>
* fix: 补充测试用例
---------
Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>
Co-authored-by: l2015 <lingjt@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-29 13:19:52 +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
Aelita
20cd731ba9
feat(table): add filterOnClose
prop for Column
( #47451 )
...
* feat(table): add `filterOnClose` prop for `Column`
* docs(table): add `filterOnClose` into `Column`'s API
2024-02-18 12:43:11 +08:00
木木剑光
25eda833fb
fix(Table): the onFilter methods of column adds ability to filter children ( #47170 )
2024-01-27 22:11:54 +08:00
MadCcc
fbe3a39389
fix: table filterDropdown should accept cssvar ( #46314 )
2023-12-07 19:21:43 +08:00
kyriewen
5a45276565
feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. ( #45285 )
...
* feat: add useMultipleSelect hooks
* docs: update README
* chore: update size limit
* refactor: prevSelectedIndex ref to state、initial value
* refactor: useMultipleSelect
* refactor: reset last select key after deselect
* chore: useMultipleSelect params type
* refactor: should params key be in useMultipleSelect hooks
* feat: getKey must be required
* chore: useless code
* refactor: remove useless code
* feat: onItemSelect params event must be required
* feat: remove params event
* chore: remove onItemSelect params event; refactor transfer listBody onClick fnName
* revert(modal): revert modal demo dark
* refactor: props onItemSelect
* refactor: onItemSelect fn name
* refactor: transfer children type
* refactor: renderList props
* test: add test case
* chore: args -> arguments
* test(transfer): add test case
---------
Signed-off-by: kyriewen <64134946+zbw-zbw@users.noreply.github.com>
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-10-26 11:46:22 +08:00
Zhou Bill
a29a0796ae
feat: columnTitle render props ( #41937 )
...
* feat: columnTitle render props
* feat: 添加测试
* docs: 修改table rowSelection interface
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:29 +08:00
github-actions[bot]
f25fd3cac7
chore: auto merge branches ( #45444 )
...
chore: merge master into feature
2023-10-20 06:01:13 +00:00
afc163
49ef16b5ff
fix: Table sorter tooltip cannot be open when showSorterTooltip is a object ( #45403 )
2023-10-19 10:08:10 +08:00
二货爱吃白萝卜
a337fee815
fix: dropdown not trigger onOpenChange when click menu item ( #45378 )
...
* fix: dropdown not trigger onOpenChange when click menu item
* chore: add source
* docs: update
* test: update test
2023-10-17 14:50:54 +08:00
afc163
5c99a5ee49
type: fix type errors of React.Key ( #44938 )
...
* type: fix .dumi typing error
* type: fix React.Key type error
* type: fix React.Key type error
* type: fix React.Key type error
* type: fix React.Key type error
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* fix: test case
* fix: test case
* chore: use @types/react latest version
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
* chore: update form def
* chore: more ts
* chore: revert demo ts
* chore: bump ver
* chore: fix more
* chore: fix demo
* chore: back of ci
* chore: fix ts
* chore: fix ts
* chore: part of it
* chore: fix ts
* chore: bump ver
* chore: fix lint
* chore: fix
* test: update test
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-09-20 11:01:49 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
23870913b1
fix: Table virtual with narrow columns ( #44818 )
...
* fix: resize & border logic
* fix: auto width
* chore: clean up
* fix: lint
* chore: cov
* chore: lint
2023-09-13 17:53:54 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches ( #43378 )
...
chore: merge master into feature
2023-07-05 10:16:04 +00:00
lijianan
67900a7aad
type: optimization AnyObject type ( #43366 )
...
* type: optimization AnyObject type
* fix lint
* rerun
2023-07-05 16:54:04 +08:00
afc163
a1b0775788
chore: resolve merge conflict
2023-06-25 12:32:36 +08:00
Zack Chang
7dc74b1da9
refactor: solve circular reference of Table ( #42813 )
...
* refactor: solve circular reference of Table
* Update index.tsx
* chore: add export
2023-06-25 12:17:44 +08:00
二货爱吃白萝卜
ec29ebf2c9
fix: Table filter throw react warning ( #43139 )
2023-06-21 14:26:30 +08:00
linxianxi
f801318868
fix(Table): preserveSelectedRowKeys should work when checkStrictly is false ( #42784 )
...
* fix(Table): preserveSelectedRowKeys should work when checkStrictly is false
* fix: 修改
* fix: use Set instead of Map
2023-06-07 23:01:09 +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
github-actions[bot]
59c9119be1
chore: auto merge branches ( #42276 )
...
chore: master merge feature
2023-05-12 15:14:26 +00:00
lijianan
f77e2881af
type: type optimization ( #42312 )
...
* fix CI
* type: type optimization
2023-05-12 22:48:22 +08:00
github-actions[bot]
09f86bf0ce
chore: auto merge branches ( #42193 )
...
chore: feature merge master
2023-05-06 11:45:47 +00:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00