Commit Graph

311 Commits

Author SHA1 Message Date
lijianan
364bcc74d1 type: export components SemanticName type (#56494)
* types: export components SemanticName type

* update

* update

* update

* update

* update
2026-01-08 09:25:17 +08:00
github-actions[bot]
60cd020a35 chore: auto merge branches (#56380)
chore: merge master into feature
2025-12-27 09:14:24 +00:00
thinkasany
9108b85cf7 chore: biome lint format (#56384)
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-12-27 16:32:17 +08:00
Anton Cherniavskyi
af27ca20fb feat(Checkbox.Group, Radio.Group): add support for role prop (#56126)
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-12-12 10:49:25 +08:00
Amumu
88c49f73e9 refactor: bump @ant-design/react-slick to drop classnames (#56080) 2025-12-05 09:37:32 +08:00
ice
594524b4af docs: update markdown files to add section IDs for examples and FAQs across multiple components (#55882) 2025-11-25 12:16:35 +08:00
thinkasany
c5eccff05b chore: sync feature into next 2025-11-19 00:20:57 +08:00
Wanpan
4be4ba64a5 fix: Fixed the issue of carousel dot being unclickable (#55757) 2025-11-18 20:57:17 +08:00
thinkasany
10946bb94f chore: sync feature into next 2025-11-09 10:16:50 +08:00
Wanpan
44526a56a7 fix: use dotActiveWidth token (#55615) 2025-11-07 19:05:35 +08:00
lijianan
249ca2c881 chore: merge feature into next 2025-11-06 01:31:18 +08:00
afc163
8471922710 demo: fix extra padding in Carousel demos (#55613) 2025-11-05 13:12:06 +08:00
Wanpan
3966a9fcc8 fix(carousel): The transform animation is invalid when the drawing is first performed. (#55589)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-11-05 10:01:20 +08:00
lijianan
2827a68ff8 test: update test case (#55546)
* test: update test

* update

* update

* update

* update

* update
2025-11-01 11:41:14 +08:00
thinkasany
0f91afd5cb refactor: use rc-utils's toArray replace React's Children legacy api (#55354)
* refactor: use rc-utils's toArray replace React's Children legacy api

* Update components/list/Item.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>

* Update components/button/buttonHelpers.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>

* Update components/card/Card.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>

* Update components/carousel/index.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>

* Update components/button/button.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>

* fix

* fix

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-20 14:45:14 +08:00
lijianan
19137493b4 perf: uninstall classnames, install clsx (#55164)
* refactor: uninstall classnames & install clsx

* refactor: uninstall classnames & install clsx

* test: rename test fn

* test: update snap

* update

* update

* update

* update

* update snap

* update

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 00:45:54 +08:00
github-actions[bot]
326ac230fb chore: auto merge branches (#55019)
chore: merge feature into next
2025-09-14 11:31:46 +00:00
chimobi-justice
9daba47ce9 fix(typo): correct typo from 'palyType' to 'playType' (#55016) 2025-09-14 16:52:19 +08:00
thinkasany
dbe6140226 chore: sync feature into next 2025-09-06 14:47:29 +08:00
EmilyyyLiu
d40799ad4b fix: Resolve style issues in RTL mode of Carousel components (#54868)
* fix: Resolve style issues in RTL mode of Carousel components

* feat: ArrowButton aria-label

* test: add test

* feat: delete prevCount, not need

* Update components/carousel/index.tsx

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

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-09-05 12:17:25 +08:00
thinkasany
5b6cc4c987 chore: bump jest to 30.1.0 (#54759)
* chore: bump jest to 30.1.0

* update
2025-08-27 15:39:48 +08:00
thinkasany
f1afc710c3 test: Adapting to jest v30 2025-08-07 12:01:07 +08:00
thinkasany
a0bfadec78 chore: sync feature into next 2025-08-07 10:28:26 +08:00
afc163
46c9c93773 test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +08:00
Yingtao Mo
06306cd37f fix: Adjusted the Carousel dot background to prevent white gaps during animation (#54529) 2025-08-01 23:26:39 +08:00
EmilyyyLiu
309b251697 feat[Carousel]: Semantic Placement Naming Standardization (#54294)
* feat[Carousel]: Semantic Placement Naming Standardization

* test: udpate snap

* Update components/carousel/index.zh-CN.md

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

* feat: change switch return value

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-07 11:40:48 +08:00
thinkasany
de030bcfad chore: sync feature into next 2025-04-07 16:49:57 +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
thinkasany
4fbd71a4f0 chore: sync feature into next 2025-03-24 12:18:34 +08: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
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
lijianan
0fb32e7edc refactor: improve animation performance (#52881)
* pref: improve animation performance

* pref: improve animation performance
2025-02-19 09:39:11 +08:00
lijianan
7ecec7f810 doc: update duration version (#52832)
* doc: update duration version

* test: update test
2025-02-15 20:20:01 +08:00
Ryan
16bedba7ad feat: Carousel support show dot duration (#52672)
* feat: carousel support show dot duration

* docs: add carousel dot duration demo

* test: add carousel dot duration test

* chore: add jest snap

* docs: fix typos in test file

* feat(api): redesign API for dot duration

* test: update dot duration test items

* docs: update md file for dot duration

* chore: set default false to autoplay

* Update components/carousel/index.zh-CN.md

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

* Update components/carousel/index.en-US.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-02-10 11:17:56 +08:00
github-actions[bot]
0a2a19f349 chore: auto merge branches (#52609)
chore: sync master into feature
2025-01-28 06:10:58 +00:00
Jony J
5bccf7713a test: add a11y test for all components demo (#51372)
* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* fix: test case

* test: add a11y test

* chore: code comment adjust
2025-01-27 23:49:40 +08:00
二货爱吃白萝卜
3800e8d5ff refactor: useComponentConfig for batch component (#52586)
* refactor: hooks of context

* refactor: hooks of context
2025-01-26 12:35:26 +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
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
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
thinkasany
ae44eb9fe7 docs(carousel): improve dots description (#50446) 2024-08-16 15:51:45 +08:00
栗嘉男
7e74c4fa64 chore: merge master into feature 2024-07-19 20:53:26 +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
lijianan
8a090c951c Revert "type(token): height / width support string | number" (#49836)
This reverts commit e4c31231ee.
2024-07-12 10:12:56 +08: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
renovate[bot]
1a5308a826 chore(deps): update dependency typescript to ~5.5.0 (#49559)
* chore(deps): update dependency typescript to ~5.5.0

* fix: fix lint error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2024-06-23 14:57:41 +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
winches
e9cc7c1ec0 chore(carousel): code optimization (#49484) 2024-06-19 11:11:08 +08:00
Wanpan
50a5bf6681 docs: Carousel add common attribute optimization documents (#49341) 2024-06-11 12:35:14 +08:00