Commit Graph

2496 Commits

Author SHA1 Message Date
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
thinkasany
da1d8df417
type: support string | number (#49810) (#49855)
* type(token): height / width support string | number

* rever
2024-07-14 00:36:43 +08:00
github-actions[bot]
d9f70d738c
chore: auto merge branches (#49850)
chore: merge master into feature
2024-07-12 20:48:10 +00:00
lijianan
8a090c951c
Revert "type(token): height / width support string | number" (#49836)
This reverts commit e4c31231ee.
2024-07-12 10:12:56 +08:00
github-actions[bot]
3dcf2cbc58
chore: auto merge branches (#49834)
chore: merge master into feature
2024-07-11 22:07:47 +00:00
thinkasany
e4c31231ee
type(token): height / width support string | number (#49810)
* type(token): height / width support string | number

* rever
2024-07-10 23:15:06 +08:00
thinkasany
3f9e711d3b
type(demo): improve type by GetProps util (#49805)
* type(demo): improve type by GetProps util

* fix lint
2024-07-10 18:28:11 +08:00
thinkasany
80a71b14f4
demo(table): use TableColumnsType instead of ColumnsType] (#49787) 2024-07-09 17:35:10 +08:00
love-life
512fa21125
fix: table expandable descriptions auto style (#49727)
* fix: table expandable descriptions auto style

* feat: width edit
2024-07-09 16:28:58 +08:00
github-actions[bot]
09e6ed7278
chore: auto merge branches (#49774)
chore: merge master into feature
2024-07-08 19:23:57 +00:00
lijianan
117dcd3395
demo: update Table demo (#49756) 2024-07-07 17:42:52 +08:00
dd9070998a
docs(Table): add custom empty status demo (#49691)
* chore: fix typo

ref: https://github.com/ant-design/ant-design/issues/49690

* chore: add demo

* chore: update snapshots

* chore: update
2024-07-03 22:54:21 +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
照明胧
cc54bef826
fix: The emptyText field of the table (#49599)
* fix: The emptyText field of the table
when emptyText is null

* test: update test case(#49599)
2024-06-26 14:19:22 +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
叶枫
5e4019f90d
chore: fix table ajax demo (#49513)
* chroe: fix table ajax demo

* chroe: demo

* feat: deps 写法

* feat: add filters

* feat: remvoe console

* Update components/table/demo/ajax.tsx

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-20 15:07:32 +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
二货爱吃白萝卜
0352b2fd2e
feat: Spin support percent (#48657)
* feat: spin support ptg

* chore: ptg

* chore: update demo

* chore: popout component

* chore: adjust logic

* test: update snapshot

* test: update snapshot

* docs: update docs

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: back of snapshot

* chore: clean up

* test: fix test case

* chore: fix types

* test: update snapshot

* chore: opt

* test: update testcase

* test: coverage

* test: update snapshot
2024-06-03 11:30:27 +08:00
二货爱吃白萝卜
b62b81958b
test: Fix React 18.3 findDOMNode warning (#48958)
* fix: try to fix React 18.3 warning

* chore: back of ci

* chore: fix type

* chore: fix lint

* chore: update deps

* fix: component error

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update deps

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update deps

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump version
2024-05-18 15:07:26 +08:00
lijianan
8b1f79c1f5
demo: update demo type { children: React.ReactNode } => React.PropsWithChildren (#48771)
* demo: update demo type React.ReactNode => React.PropsWithChildren

* fix: fix
2024-05-06 12:04:27 +08:00
栗嘉男
20f183cf6f chore: merge master into feature 2024-05-01 16:33:46 +08:00
daisy
5fc3618aad
docs: update Table onExpand docs (#48706) 2024-04-30 12:21:12 +08:00
George H
786dfc0339
docs: add drag column sorting demo (#48434)
* docs(table): add drag column sorting demo

* update test snap

* chore: add script to adapt os memory

* Revert "update test snap"

This reverts commit be1a30e7ec.

revert commit#

* revert

* revert

* snap

* add more column data

* update snap

* chore: column drag style

* update snap

* chore: optimize code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-04-29 11:08:51 +08:00
lijianan
bf330cbedb
demo: code optimization (#48621) 2024-04-26 09:40:25 +08:00
lijianan
8f1808dae7
type: add miss generic of Upload prop (#48614)
* type: add miss generic of Upload prop

* test: add type test case

* test: add test case
2024-04-25 14:22:35 +08:00
daisy
11a160cb25
demo: Table drag handle use useContext (#48588) 2024-04-24 11:48:15 +08:00
thinkasany
f6db43b090
fix(demo): optimize fetchData for table (#48560) 2024-04-20 21:51:29 +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
daisy
c152c58116
docs: update table faq (#48245) 2024-04-03 18:11:00 +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
LingJinT
15553f54a3
test: update table.filter test case (#48202)
* 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: 补充测试用例

* fix: update table.filter test case

---------

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-04-01 10:46:05 +08:00
MadCcc
7b280d307b
chore: bump rc-table to v7.45.0 (#48190)
* chore: bump rc-table to v7.45.0

* feat: 补充类型

* feat: 补充类型

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-31 16:04:36 +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
章鱼怪
fe83792754
feat: Table add rowHoverable to disable hover interaction (#48112) 2024-03-29 15:29:49 +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
lijianan
405394a8e4
Merge pull request #48133 from ant-design/master
chore: merge master into feature
2024-03-28 10:54:52 +08:00
yoshinyan
5e65463566
docs: typo in order-column.md (#48079)
Signed-off-by: yoshinyan <hai_hai_hai_1229@yahoo.co.jp>
2024-03-25 20:26:58 +08:00
lijianan
87debac578
chore: rename variables merge => merged (#48048) 2024-03-24 10:56:28 +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
叶枫
e17cd4ae27
test: keep spaces (#47024)
* feat: snap

* feat: up snap
2024-03-22 20:49:55 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
二货爱吃白萝卜
0b00db48bd
feat: Table support onScroll event (#47986) 2024-03-21 10:07:10 +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
lijianan
630f4d9cfb
demo: Tag demo update (#47751)
* demo: Tag demo update

* fix: fix

* fix: fix
2024-03-08 10:51:31 +08:00
MadCcc
0652c32830
fix: sibling Tags should have margin (#47736)
* fix: sibling Tag should have margin

* chore: update snapshot

* chore: revert

* chore: link issue

* docs: update demo

* Revert "demo: update Grid、Table、Select demo (#47709)"

This reverts commit c01c1b505b.

* chore: update snapshot

* chore: update demo
2024-03-06 21:51:17 +08:00
lijianan
c01c1b505b
demo: update Grid、Table、Select demo (#47709)
* demo: update demo

* fix: fix test

* feat: table snap

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-05 17:23:47 +08:00
Amumu
2156ed4c07
fix: virtual list prefixCls not working (#47639)
* fix: virtual list prefixCls not working

* update test case
2024-02-29 09:45:27 +08:00
Amumu
6c824b7dbf
Merge pull request #47521 from ant-design/master
chore: merge master into feature
2024-02-21 15:54:37 +08:00
SuperYY
ac9cd5c8de
fix table's scrollbar background color in dark mode (#47487) 2024-02-20 11:10:22 +08:00
lijianan
ee27f0e285
docs: update filterOnClose api docs (#47472) 2024-02-19 10:03:38 +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
lijianan
7587f12fe8
Merge pull request #47453 from ant-design/master
chore: merge master into feature
2024-02-16 11:37:35 +08:00
daisy
7b86dd60b5
docs: Table colSpan render -> onCell (#47392)
* docs: Table colSpan render -> onCell

* Update components/table/demo/colspan-rowspan.md

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-02-09 14:47:39 +08:00
afc163
39e7bc5d2f
Merge pull request #47383 from ant-design/master
chore: merge master into feature
2024-02-07 13:30:01 +08:00
lijianan
55aae1ed26
chore: bump rc-table from 7.39.0 to 7.40.0 (#47382)
* chore: bump rc-table from 7.39.0 to 7.40.0

* test: update snap
2024-02-07 11:44:04 +08:00
Eugene
87882e1db6
fix(style): Virtual table style lead on none virtual table used as a nested table (#47333)
* fix(style): Virtual table style lead on none virtual table render used as a nested table.

* fix(test): Update test for virtual table with fix nested table inside.

---------

Co-authored-by: ykryshtal <ykryshtal@magnite.com>
Co-authored-by: Eugene <Jeka1.1@mail.ru>
2024-02-06 11:30:17 +08:00
二货爱吃白萝卜
cbea5a5da9
feat: Table support stack fixed columns (#47245)
* chore: update deps

* feat: style of it

* test: update test case

* chore: adjust size limit
2024-01-31 10:25:18 +08:00
lijianan
5031ca9032
feat: CP support Table expandIcon (#47225)
* feat: CP support Table expandIcon

* fix: fix

* type: fix type
2024-01-30 13:57:49 +08:00
栗嘉男
80db8eaf3b lint: fix merge branch lint error 2024-01-28 13:31:58 +08:00
栗嘉男
40a57b82c3 Merge branch 'master' into master-merge-feature 2024-01-28 12:02:05 +08:00
木木剑光
25eda833fb
fix(Table): the onFilter methods of column adds ability to filter children (#47170) 2024-01-27 22:11:54 +08:00
daisy
a62d7ec3db
feat(Table): support virtual components.body (#47098)
* feat(Table): support virtual components.body

* docs: update table docs

* docs: add faq

* docs: update faq

* docs: update faq
2024-01-26 16:37:27 +08:00
二货爱吃白萝卜
a810c2ff54
docs: More about virtual table limitation (#47090)
* docs: add more info of table

* docs: more and more

* docs: update
2024-01-22 15:16:48 +08:00
Fatpandac
77b351f68f
fix: ok button of the DatePicker becomes compacted when used with Space.Compact (#46769)
* fix: ok button of the DatePicker becomes compacted when used with Space.Compact

* fix: break CSS selector

* fix: break the compact context on the panel

* chore: update test
2024-01-16 14:02:31 +08:00
叶枫
7e877dc799
test: support react 16 lint (#46963)
* feat: support react 16 lint

* feat: test

* feat: test

* feat: test

* feat: test

* feat: 不增加 package script
2024-01-14 17:15:39 +08:00
章鱼怪
df583dbf82
feat: Table supports hidden columns (#46957) 2024-01-13 15:20:34 +08:00
lijianan
943072704c
Merge branch master into master-merge-feature 2024-01-11 16:14:48 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util (#46923)
* docs: init

* chore: all types

* docs: faq

* chore: fix lint
2024-01-11 15:55:58 +08:00
lijianan
c0e007c0d0
chore: merge master into feature 2023-12-27 19:40:42 +08:00
Evgeniy Aksyonov
f4929cbcdc
docs: Fix typo for sortDirections example in head.md (#46641)
* Fix typo for sortDirections example in head.md

It didn't work with old example with pipe instead of comma(`sortDirections: ['ascend' | 'descend']`)

Signed-off-by: Evgeniy Aksyonov <evgeniy.aksyonov@gmail.com>

* Update components/table/demo/head.md

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: Evgeniy Aksyonov <evgeniy.aksyonov@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-12-27 17:51:43 +08:00
Fatpandac
ae38f1e3eb
fix: the shadow of the table overflows (#46644) 2023-12-27 14:46:40 +08:00
叶枫
81ab20be35 feat: merge master 2023-12-27 14:42:51 +08:00
lijianan
5c52512467
type: update ref type from Ref to React.RefAttributes<T> 2023-12-27 11:53:19 +08:00
MadCcc
5f395fbed3
feat: select/cascader/tree-select support variant filled (#46549)
* feat: Select filled style

* chore: update snapshot

* feat: Cascader and TreeSelect support variant

* feat: multiple style

* fix: import

* chore: fix lint

* chore: update auto-complete docs

* fix: clearIcon bg

* chore: code clean
2023-12-21 13:39:04 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled variant (#46435)
* feat: Input filled variant

* feat: InputNumber filled variant

* feat: mentions variant

* fix: TextArea status with affix

* chore: update snapshot

* chore: update snapshot

* feat: pagination input

* fix: fix diff

* feat: input-number disabled

* fixL InputNumber

* chore: update snapshot

* feat: better style

* chore: update

* chore: update snapshot

* feat: use variant classNames

* chore: update snapshot

* feat: mentions affix style

* chore
2023-12-18 17:53:31 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId (#46424)
* refactor: cssVarCls

* refactor: update

* chore: update

* fix: cascader & tree-select

* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
fbe3a39389
fix: table filterDropdown should accept cssvar (#46314) 2023-12-07 19:21:43 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks (#46038)
* refactor: genStyleHooks

* chore: update sciprt

* refactor: affix

* refactor: select

* chore: update

* refactor: update

* refactor: update

* refactor: done

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: decrease size limit

* chore: code clean

* chore: code clean

* chore: remove export
2023-11-29 17:23:45 +08:00
MadCcc
80e46b7662
chore: enable cssVar in imageTest (#45985)
* chore: enable cssVar in imageTest

* fix: tree select style

* chore: fix avatar group style

* fix: cascader panel style

* fix: form style

* fix: slider disabled style

* fix: mentions style

* fix: tag style

* fix: tabs style

* fix: Rate style

* fix: table custom token

* chore: update snapshot

* fix: menu style

* fix: InputNumber style

* chore: recover image test

* chore: add css var image test
2023-11-22 20:53:48 +08:00
lijianan
a1f77f3694
feat: Table support cssVar (#45856)
* feat: Table support cssVar

* fix: fix

* fix: fix

* Update check-cssinjs.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/table/style/fixed.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* feat: optimize token

* chore: update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-17 13:46:41 +08:00
二货爱吃白萝卜
c31fc76443
fix: Dropdown with nest menu zIndex error (#45761)
* chore: fix zIndex logic

* chore: detect if needed

* docs: update bug version

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-11-09 19:07:22 +08:00
栗嘉男
661f3e8323 Merge branch 'master' into feature-merge-master 2023-10-29 14:04:47 +08:00
afc163
670cdf4ed9
docs: Update Table sorter description (#45552)
* docs: Update Table sorter description

Signed-off-by: afc163 <afc163@gmail.com>

* Update index.zh-CN.md

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-10-26 22:32:10 +08:00
Leslie Wu
e9dcc4fea3
docs: update doc for table sorter (#45548)
Co-authored-by: leslie-home <wwwsuonggg@gmail.com>
2023-10-26 21:51:25 +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
kiner-tang(文辉)
bceb2e2504 Merge branch 'feature' into refactor-z-index-context 2023-10-24 22:28:30 +08:00
kiner-tang(文辉)
de442ca964
feat: menu support z-index manager (#45498)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

* feat: DatePicker & TimePicker support z-index manager

* feat: menu support z-index manager

* feat: update snap

* feat: update snap

* feat: update snap

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 22:25:32 +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
kiner-tang(文辉)
6d9db9fd99
feat: dropdown support z-index manager (#45486)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code
2023-10-23 06:46:08 -05: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
afc163
8c475a52ea
type: Table pagination.position support none as value (#45398) 2023-10-18 13:33:25 +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
二货爱吃白萝卜
bef9539e22
feat: Table support scrollTo reference (#45245)
* feat: add ref

* feat: table support reference

* chore: rename

* chore: proxy

* test: add test case

* chore: fix lint

* docs: update desc

* docs: update desc

* docs: update desc

* chore: clean up

* chore: fix lint
2023-10-11 13:55:20 +08:00
ajuner
9af09d56b6
docs(table): update pro-component link (#45118)
Signed-off-by: ajuner <106791576@qq.com>
2023-10-04 21:40:44 -05:00