二货爱吃白萝卜
63cbe9e1f0
fix: Button missing primary style ( #52812 )
...
* fix: Button style of preset
* chore: add info of fix
* docs: update demo
* chore: fix lint
* test: update snapshot
* fix: color of link
* test: update snapshot
* test: update snapshot
2025-02-17 16:04:02 +08:00
github-actions[bot]
0a2a19f349
chore: auto merge branches ( #52609 )
...
Publish Any Commit / build (push) Has been cancelled
🔀 Sync mirror to Gitee / mirror (push) Has been cancelled
✅ test / lint (push) Has been cancelled
✅ test / test-react-legacy (16, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (16, 2/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 2/2) (push) Has been cancelled
✅ test / test-node (push) Has been cancelled
✅ test / test-react-latest (dom, 1/2) (push) Has been cancelled
✅ test / test-react-latest (dom, 2/2) (push) Has been cancelled
✅ test / build (push) Has been cancelled
✅ test / test lib/es module (es, 1/2) (push) Has been cancelled
✅ test / test lib/es module (es, 2/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 1/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 2/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 2/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Has been cancelled
✅ test / test-coverage (push) Has been cancelled
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 )
...
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* 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
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
bc17268ff9
feat(segmented): enhance name prop behavior and adjust focus style ( #52085 )
...
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* feat(segmented): enhance name prop behavior and adjust focus style
* test: update snapshot
2024-12-23 14:17:42 +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
Jony J
1b1ffb9d41
feat(segmented): add missing focus style for a11y ( #51934 )
...
Publish Any Commit / build (push) Has been cancelled
🔀 Sync mirror to Gitee / mirror (push) Has been cancelled
✅ test / lint (push) Has been cancelled
✅ test / test-react-legacy (16, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (16, 2/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 2/2) (push) Has been cancelled
✅ test / test-node (push) Has been cancelled
✅ test / test-react-latest (dom, 1/2) (push) Has been cancelled
✅ test / test-react-latest (dom, 2/2) (push) Has been cancelled
✅ test / build (push) Has been cancelled
✅ test / test lib/es module (es, 1/2) (push) Has been cancelled
✅ test / test lib/es module (es, 2/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 1/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 2/2) (push) Has been cancelled
👁️ Visual Regression Persist Start / test image (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 2/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Has been cancelled
✅ test / test-coverage (push) Has been cancelled
* feat: add missing focus style for a11y
* chore: update rc-segmented dependency to version 2.7.0 in package.json
* test: update snapshot
* style: adjust focus style
2024-12-09 15:24:51 +08:00
thinkasany
291cb21ea4
feat(Segmented): support name
prop to enable grouping ( #51725 )
Publish Any Commit / build (push) Has been cancelled
🔀 Sync mirror to Gitee / mirror (push) Has been cancelled
✅ test / lint (push) Has been cancelled
✅ test / test-react-legacy (16, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (16, 2/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 2/2) (push) Has been cancelled
✅ test / test-node (push) Has been cancelled
✅ test / test-react-latest (dom, 1/2) (push) Has been cancelled
✅ test / test-react-latest (dom, 2/2) (push) Has been cancelled
✅ test / build (push) Has been cancelled
✅ test / test lib/es module (es, 1/2) (push) Has been cancelled
✅ test / test lib/es module (es, 2/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 1/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 2/2) (push) Has been cancelled
👁️ Visual Regression Persist Start / test image (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 2/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Has been cancelled
✅ test / test-coverage (push) Has been cancelled
2024-11-22 17:08:30 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high ( #50962 )
2024-09-24 23:52:50 +08:00
curry
436aa9ad2d
feat: Segmented adds vertical prop ( #50708 )
...
Co-authored-by: 梁朝飞 <liangchaofei@guokechuzhi.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-09-18 23:22:51 +08:00
ice
badfbe3cfe
feat(Button): support variant and color ( #50051 )
...
* feat(button): variant & color types
* feat: type -> color/variant
* feat: type -> color/variant
* feat: add variant filled
* test: snap
* refactor(button): rename type -> variant
* docs: add demo
* feat: add danger ghost style
* refactor: remove deprecated
* refactor: eslint
* docs: change color&variant
* test: updated snap
* docs: color-variant
* docs: add debug color&variant
* feat: global token
* refactor: remove comment
* docs: add color&variant docs
* docs: remove default
* docs: add space
* docs: code
* test: update snap
* test: fix snap
* test: btn querySelect
* feat: change filled hoverStyle
* test: fix
* feat: support grey wave
* refactor: enhance
* docs: color/variant -> v 5.21
* test: snap
* feat: add token
* test: to do
* test: fix test
* ci: rebuild
* style: remove
* style: space
* docs: add note & FQA
* feat: add componentsToken
* refactor: remove isNotGrey
* test: add case
* docs: tile button
* test: snap
* docs: site & snap
* Update components/button/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* fix: token color & undef
* docs: site
* docs: responsive
* docs: enhance FAQ
* docs: gap middle
* test: snap
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
* refactor: rename
* docs: prettier
* chore: eslint
* refactor: cls
* test: add solidTextColor case
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* fix: rename
* docs: text
* fix: remove border
* feat: add token colorErrorBgFilledHover
* chore: add size-limit
* refactor: rename
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
lijianan
a09b9dd820
feat: wrap prop support boolean ( #48391 )
...
* feat: wrap prop support boolean
* test: add test case
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* test: update
* chore: revert
2024-04-11 22:29:50 +08:00
Abhay Aggarwal
985b7ac889
demo: fixed a grammatical error ( #46343 )
...
* Fixed a grammatical error | "start" -> "started"
Fixed the issue of tense on the button at the example in flex section of the documentation
Signed-off-by: Abhay Aggarwal <97821733+abhay-ag@users.noreply.github.com>
* added the jest snapshots
---------
Signed-off-by: Abhay Aggarwal <97821733+abhay-ag@users.noreply.github.com>
2023-12-09 18:29:30 +08:00
MadCcc
2dda417e29
fix: disabled btn with link should not be focused ( #45910 )
...
* fix: disabled btn with link should not be focused
* chore: update snapshot
* chore: update snapshot
2023-11-16 11:36:51 +08:00
lijianan
1e0c3b8c58
🔥 feat: new component Flex ( #44362 )
...
* feat: new component Flex
* feat: new component Flex
* fix: fix
* test: add test case
* fix: fix
* update size-limit
* test: update snap
* fix: fix
* test: update snap
* chore: add use client
* fix: lint
* test: update snap
* fix
* docs: add docs
* fix: fix demo
* clear
* demo: update demo
* update demos
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* test: update snap
* fix: fix
* fix: fix
* demo: update demo
* feat: CP
* fix: use token
* fix: fix
* fix: fix test case
* test: update snap
* Update components/flex/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/flex/demo/align.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* demo: update demo
* fix: fix
* docs
* update cover
* fix: fix
* test: update case
* fix: rerun CI
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* demo: update demo
* fix: fix lint
* fix: fix
* fix: fix
* fix: fix
* fix: fix
* fix: fix test case
* fix: fix
* docs: update docs
* fix: fix
* chore: fix
* chore: fix
* docs: update docs
* docs: update
* fix: fix demo
* type: update type
* add debug demo
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 栗嘉男 <mac@macdeMacBook-Pro.local>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-14 17:04:05 +08:00