Commit Graph

580 Commits

Author SHA1 Message Date
MadCcc
751edfc336 feat: zeroRuntime (#54334)
* feat: zeroRuntime

* feat: generate full style

* feat: add antd.css into global css

* chore: revert site change

* docs: add docs

* chore: update scripts

* chore: add test
2025-07-22 10:20:29 +08:00
二货爱吃白萝卜
f14a31b1c2 docs: Add more semantic desc of the content for llms (#54417)
* chore: add semantic desc

* chore: more desc

* chore: all styles desc

* chore: fix docs

* chore: update desc

* chore: update desc

* chore: update desc
2025-07-21 17:42:07 +08:00
EmilyyyLiu
0315ef5923 feat: Update the documentation and demo about 'showSearch' Props (#54184)
* docs: Update the documentation and demo about 'showSearch' Props

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* build: upgrade @rc-component/cascader to 1.5.0,upgrade @rc-component/tree-select to 1.2.0, update select document snapshots

* docs: update Cascader documnet and demo

* docs: update tree-select document

* docs: update AutoComplete document and demo

* docs: update site snapshots

* build: upgrade @rc-component/select to 1.1.2 ,@rc-component/tree-select to 1.2.1

* docs: link #showSearch

* docs:  showSearch value is true

* docs: Add a through line to search props

* docs: Adjust the order

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-06-27 10:59:40 +08:00
𝑾𝒖𝒙𝒉
1547514ae1 feat(Select): add onActive callback prop (#53931)
* fix: update @rc-component/select dependency version to ~1.0.5

(cherry picked from commit b45363e4c0)

# Conflicts:
#	package.json

* docs(select): update `onActive` props

(cherry picked from commit b78c436792)

* chore: update

(cherry picked from commit 3ad9e76823d211e3feadf6fd8c0e64e669b40c64)

* chore: bump

(cherry picked from commit 23672494b5d961de06487ae7ea02320fa0a41d07)

* chore: update snap

(cherry picked from commit 3258e169ef307b1c60e2924c66cc67053787c283)

* chore: update

* chore: update snap

* chore: update all snap

* chore: bump rc-select

* chore(deps): bump @rc-component/cascader to 1.3.1

* chore: update snap

* chore(deps): bump @rc-component/tree-select to 1.1.3

* chore: update snap
2025-06-03 23:39:13 +08:00
thinkasany
b2f3a8085c chore: sync feature into next 2025-05-24 09:06:29 +08:00
afc163
4546987d0c chore: refactor .dumi code folders (#53437)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-23 22:33:40 +08:00
EmilyyyLiu
47eb1b661e feat(Space): unify orientation attribute usage (#53669)
* feat[Space]:Unified use of orientation attribute

* feat: use useOrientation and change doc, add test

* feat: add warning

* test: update snapshots

* Update components/space/Compact.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* test: reset snapshots,delete direction default value

* feat: change demo direnction->orentation

* feat: demos direction ->orientation

* feat: add vertical, and change demos , doc

* feat: change demo space -> flex

* feat: change demo space -> flex

* feat: space -> flex

* Update components/space/index.tsx

Signed-off-by: thinkasany <480968828@qq.com>

* Update components/space/Compact.tsx

Signed-off-by: thinkasany <480968828@qq.com>

* add warning toHaveBeenCalledWith

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-05-23 15:20:33 +08:00
thinkasany
353ff31237 chore: sync feature into next 2025-04-29 12:01:17 +08:00
Jony J
b3af097e8c refactor: semantic dom structure (#53695)
* refactor: semantic dom structure

* fix: ci
2025-04-29 11:46:11 +08:00
thinkasany
6952b50b40 refactor: popup structure (#53689)
* refactor: popup structure

* select & autoComplete

* bump

* demo fix
2025-04-28 19:21:00 +08:00
Jony J
af51e67ed4 chore: remove unnecessary console warning (#53635) 2025-04-25 00:02:00 +08:00
thinkasany
2847cfd22a chore: sync feature into next 2025-04-21 10:30:07 +08:00
github-actions[bot]
8975c87f9a chore: auto merge branches (#53571)
chore: sync master into feature
2025-04-21 02:21:32 +00:00
lijianan
30464fbe0b type: update React.AriaAttributes type (#53562) 2025-04-20 14:36:38 +08:00
thinkasany
de030bcfad chore: sync feature into next 2025-04-07 16:49:57 +08:00
lijianan
e16eeae8a5 chore: fix lint error 2025-04-03 15:02:46 +08:00
lijianan
d034ac7583 chore: merge master into feature 2025-04-03 14:52:00 +08:00
EmilyyyLiu
6b71c3b7fa docs: document the open and defaultOpen props for TreeSelect/Cascader/DatePicker (#53356)
* doc: treeSelect,cascader,datePicker添加open/defaultOpen属性的支持描述

* feat: 调整描述在表格内的位置

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-04-03 11:45:17 +08:00
afc163
3ef3434052 docs: add anchor for when-to-use section (#53318)
* docs: add anchor for when-to-use section

* Delete scripts/update-docs.js

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2025-04-03 10:45:36 +08:00
Jony J
3147356b4a feat(auto-complete): popup supports Semantic DOM and retire some api (#53257)
* feat(auto-complete): popup supports Semantic DOM and retire some api

* refactor(auto-complete, select): deprecate `onDropdownVisibleChange` in favor of `onOpenChange` and update related tests

* refactor: adjust semantic demo logic

* docs: update api description

* docs: update doc

* docs: add space

* docs: update

* chore: update semantic demo logic

* feat: add CP support

* feat: add CP support for tree-select and update doc

* docs: update Select and TreeSelect common props in configuration documentation

* Update components/config-provider/index.zh-CN.md

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Signed-off-by: Jony J <1844749591@qq.com>

* feat: add root support

* docs: update doc

* chore: bump cascader version

---------

Signed-off-by: Jony J <1844749591@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-04-02 11:45:53 +08:00
lijianan
284fce4871 site: add componentName for SemanticPreview (#53362)
* site: add componentName for SemanticPreview

* site: add componentName for SemanticPreview

* chore: fix
2025-04-01 07:50:38 +08:00
lijianan
fcbe7c9399 site: add componentName for SemanticPreview (#53360) 2025-04-01 07:38:14 +08:00
thinkasany
c5f07285ab chore: sync feature into next 2025-03-25 21:55:07 +08:00
Jony J
c073d2cb6c feat(tree-select): popup support semantic dom and deprecated some api (#53285)
* feat(tree-select): popup support semantic dom and deprecated some api

* chore: update demo

* chore: update demo

* fix(compact): update dropdownStyle to styles for better semantic structure

* docs: add space
2025-03-25 20:34:26 +08:00
thinkasany
d5f0fc1941 feat: ConfigProvider support classNames and styles for treeSelect (#53229)
* feat: ConfigProvider support classNames and styles for treeSelect

* fix

* fix

* fix

* update zIndex

* fix

* add test
2025-03-25 19:14:35 +08:00
thinkasany
4fbd71a4f0 chore: sync feature into next 2025-03-24 12:18:34 +08:00
lijianan
bff4872b19 chore: code optimization (#53254)
* chore: code optimization

* chore: code optimization

* chore: code optimization

* chore: code optimization
2025-03-22 05:45:11 +00:00
𝑾𝒖𝒙𝒉
828f512747 fix: improve CSS cheker & fix lint errors (#53236)
* chore: add csslint

* chore: update

* chore: update

* fix css lint

* fix css lint

* fix css lint

* fix csslint

* fix css lint

* fix css lint

* fix css lint

* fix css lint

* fix css lint appearance

https://developer.mozilla.org/zh-CN/docs/Web/CSS/appearance

* fix csslint conic-gradient

* chore: fix lint tree-select

* chore: update logic

* Revert "fix css lint"

This reverts commit 094f58adbb.

* Revert "fix css lint"

This reverts commit 50da87be3a.

* chore: fix css

* chore: update

* chore: rm redundant

* chore: revert change

* chore: update

* chore: update
2025-03-22 03:09:03 +00:00
Jony J
8fb50a6443 feat: retire deprecated api and migrate scope (#52876)
* chore: upgrade RC component dependencies

* chore: trigger CI build

* chore: update deps and import path

* chore: update deps

* test: update snapshot

* test: update snapshot

* fix: lint fix

* chore: migrate Drawer to @rc-component/drawer

* chore: migrate Image to @rc-component/image

* test: update snapshot

* chore: replace api

* fix cascader dropdown api and snap, popupAlign

* fix ci test

* fix key

* test: update snapshot

* Revert "test: update snapshot"

This reverts commit 66a993332b.

* chore: fix logic

* test: update snapshot

* chore: revert part logic

---------

Signed-off-by: Jony J <1844749591@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-02-27 21:22:09 +08:00
MadCcc
1ac0bcaa60 feat: use cssVar by default (#52671)
* feat: use cssVar by default

* chore: update deps

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: test

* chore: update

* chore: update scripts

* chore: UPDATE TEST

* feat: add root

* chore: update snapshot

* chore: fix test case

* chore: fix cycle deps

* feat: rm legacy css variables configuration

* chore: update test case

* chore: update

* chore: fix test

* chore: update overrides

* chore: bump cssinjs

* chore: add test case
2025-02-24 15:35:29 +08:00
thinkasany
bd2e46996d chore: sync feature into next 2025-02-10 21:17:12 +08:00
MadCcc
732d71661d Merge branch 'feature' into master-merge-feature 2025-02-10 10:36:37 +08:00
Jony J
688a0a08c1 test: add a11y test for remaining components demo (#52717)
* test: add a11y test for remaining components demo

* chore: add time-out for a11y test function

* chore: fix
2025-02-10 10:30:32 +08:00
栗嘉男
abe0ce7aeb chore: merge feature into next 2025-01-24 01:37:22 +08:00
lijianan
f3fd3649e7 demo: update variant demo (#52547) 2025-01-23 22:50:56 +08:00
ustcfury
fd4abbf628 add underlined variant (#52546)
* feat: add variant underlined in Input&&InputNumber&&Mentions

Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>

* fix: fix eslint

Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>

* fix: remove commented code

Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>

* fix: update underlined style

Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>

* fix:fix eslint problem

Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>

* feat: add Select variant underlined

to #51379

* feat: add underlined demo

to #51379

* feat: update snapshots

to #51379

* feat: update doc

to #51379

---------

Signed-off-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>
Co-authored-by: 绍晗 <zhaoshaoting.zst@alibaba-inc.com>
2025-01-23 15:16:12 +08:00
kiner-tang(星河)
a166cb39ea feat: [v6] Retire deprecated api for tree-select (#52471) 2025-01-22 18:39:50 +08:00
Wanpan
32ac8e874d Merge branch feature into next-merge-feature 2025-01-14 10:33:19 +08:00
Guo Yunhe
d7512d5190 feat: add label classname for Checkbox & Radio (#52322)
Co-authored-by: thinkasany <480968828@qq.com>
2025-01-13 15:02:51 +08:00
lijianan
ab0e07e25d refactor: [v6] use rc-component (#52337)
* refactor: use @rc-component

* chore: adjust compile

* test: fix logic

* chore: back of reset

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-01-10 14:14:31 +08:00
EmilyyyLiu
3ee1fec047 chore: upgrade [rc-tree] to [~5.13.0],upgrade [rc-cascader] to [~3.33… (#52274)
* chore: upgrade [rc-tree] to [~5.13.0],upgrade [rc-cascader] to [~3.33.0],upgrade [ rc-tree-select] to [~5.27.0]

* chore:升级版本后更新快照

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-01-07 17:00:47 +08:00
github-actions[bot]
ca7bd277e6 chore: auto merge branches (#52177)
chore: sync master to feature
2024-12-30 09:43:28 +00:00
afc163
513f22784d demo: disable auto adjust placement in DatePicker design panel (#52113)
* demo: disable auto adjust placement in DatePicker design panel

* demo: disable auto adjust placement in DatePicker design panel

* demo: disable auto adjust placement in DatePicker design panel

* demo: disable auto adjust placement in DatePicker design panel

* fix

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-12-30 13:19:56 +08:00
Jony J
ca1ab9bf47 feat: TreeSelect support maxCount (#51759)
* feat: TreeSelect support maxCount

* Update components/tree-select/index.zh-CN.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* chore: bump tree & tree-select version for supporting maxCount

* test: update snapshot

* chore: bump rc-cascader version to 3.31.0

* :wqhe commit message for your changes. Lines starting

* rerun ci

* rerun ci

* docs: update doc

* docs: improve demo

* fix: add demo

* docs: add demo

* chore: trigger CI build

---------

Signed-off-by: lijianan <574980606@qq.com>
Signed-off-by: Jony J <1844749591@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-12-25 14:39:50 +08:00
Jony J
dfc20acd0c feat: add default name generation for RadioGroup component better a11y (#52076)
* feat: add default name generation for RadioGroup component better a11y

* feat(radio): implement useStableId hook for consistent ID generation in RadioGroup

* test: update snapshot

* chore: remove unused demo code snippet from form documentation

* test: enhance demo testing by adding ignoreAttributes option for snapshot matching

* fix(tests): correct logic for skipping tests and enhance snapshot matching for demo tests

* Revert "test: enhance demo testing by adding ignoreAttributes option for snapshot matching"

* test: mock useId for stable ID generation in snapshot tests

* chore: trigger CI build

* docs(radio): update name property description to clarify fallback behavior for RadioGroup

* Update index.zh-CN.md

Signed-off-by: Jony J <1844749591@qq.com>

---------

Signed-off-by: Jony J <1844749591@qq.com>
2024-12-23 10:55:45 +08:00
二货爱吃白萝卜
45eeee60bb feat: Add unstable api for React 19 compitable (#51979)
* chore: add unstable entrance

* chore: rest of it

* chore: use React 19

* chore: fix lint

* chore: fix lint

* chore: fix lint

* chore: fix lint

* chore: fix lint

* chore: fix lint

* chore: fix lint

* chore: test ignore 19 preload

* chore: bump rc-util

* fix: warning of pure render

* fix: warning of 19

* chore: adjust ts

* test: fix test logic

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* chore: restore file

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: fix test case

* test: update test

* test: fix test case

* test: update snapshot

* test: fix coverage

* test: fix coverage

* test: add ignore image
2024-12-18 14:09:49 +08:00
thinkasany
f6bbacf09f docs: show suffix demo (#51666) 2024-11-18 10:26:47 +08:00
afc163
491a20ff58 fix: TreeSelect content being cut due to wrong height calculation (#51567)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-11-11 15:07:15 +08:00
afc163
8a64ec6a9e chore: merge branch 2024-11-07 16:51:58 +08:00
二货爱吃白萝卜
1c7613b27f fix: use locale of empty img title (#51368) 2024-10-24 20:48:36 +08:00