二货爱吃白萝卜
46fe122165
refactor: Spin support fully semantic ( #56852 )
...
* refactor: unique spin dom structure
* feat: update spin semantic preview and documentation
* test: update snapshot
* refactor: update Spin component with deprecation warnings
* refactor: replace spin tip prop with description and update tests
* refactor: deprecate wrapperClassName in favor of classNames.root
* fix: reorder spin component semantics
* test: update spin demo semantic snapshot
* test: add semantic test cases for spin component
---------
Co-authored-by: 遇见同学 <1875694521@qq.com >
2026-02-04 15:30:56 +08:00
二货爱吃白萝卜
80b2250d6c
refactor: Remove checkbox useless dom ( #56783 )
...
* docs: update demo
* test: update snapshot
* chore: adjust
* chore: adjust
* chore: upgrade @rc-component/checkbox to ~2.0.0 and update snapshots
Co-Authored-By: Claude (GLM-4.7) <noreply@anthropic.com >
* test: add semantic test for checked prop with defaultChecked
Co-Authored-By: Claude (GLM-4.7) <noreply@anthropic.com >
* test: update semantic snapshots
Co-Authored-By: Claude (GLM-4.7) <noreply@anthropic.com >
* refactor: restructure radio component styles and improve hover states
* refactor: simplify radio component styles and calculations
* refactor: update radio style-class demo with clsx and css-in-js
* fix: radio component checked state handling in groups
* test: update radio semantic test and table row selection selector
* test: update snapshots for semantic demo tests
* fix: adjust checkbox checkmark position
* fix: update checkbox styling calculations
---------
Co-authored-by: Claude (GLM-4.7) <noreply@anthropic.com >
2026-01-29 21:58:10 +08:00
ug
3ac1fc78e7
perf(Empty/Skeleton): Reduce the size of the SVG ( #56682 )
...
* optimize(Empty): Reduce the size of the SVG.
* update
* update
* update
---------
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com >
Co-authored-by: afc163 <afc163@gmail.com >
2026-01-21 23:59:13 +08:00
高艳兵
c5e5ac7c3f
feat: add semantic snap ( #56600 )
...
* feat: add semantic.md generation plugin for components
* refactor: extract locales from SelectSemanticTemplate to component props
* fix: remove unuse locales
* feat: multipleProps add defaultValue
* feat: update select snap
* feat: update table snap
* feat: tour add snap
* feat: delete semantic-md plugin
* feat: add sematic snap
* refactor: replace hardcoded button clicks with configurable postRenderFn in semantic demo test
* revert: locales
* fix: maxTagCount responsive
* fix: test maxTagCount set 1
* feat: add test:semantic script
* fix: ci add collectCoverageFrom
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com >
2026-01-19 22:10:33 +08:00
遇见同学
3c9bb681e7
docs: improve performance replace createStyles with createStaticStyles ( #56605 )
...
* perf: use createStaticStyles
* chore: update snap
* chore: adjust
* chore: snap
2026-01-14 17:58:47 +08:00
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
lijianan
5c52fea0bf
refactor(types): derive SemanticName from semantic maps ( #56389 )
...
* refactor(types): derive SemanticName from semantic maps
* update type
2025-12-27 18:12:44 +08:00
lijianan
c3f41c19ba
refactor(types): replace Record with explicit object for better DX ( #56298 )
2025-12-22 10:47:06 +08:00
github-actions[bot]
1004fa28ea
chore: auto merge branches ( #56199 )
...
chore: merge master into feature
2025-12-12 20:48:26 +00:00
lijianan
ef91a44893
demo: update Segmented demo ( #56191 )
2025-12-12 12:33:35 +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
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
lijianan
6cc19c10fc
chore: merge feature into next
2025-10-26 18:20:12 +08:00
遇见同学
74d2712935
test: improve single test structure ( #55383 )
2025-10-20 18:48:47 +08:00
lijianan
1670fc36cc
demo: add satisfies keyword for demo ( #55272 )
...
* demo: add satisfies for demo
* update
* update
* update
* update snap
* update snap
2025-10-12 08:19:59 +08:00
遇见同学
cd170fccfb
docs: improve doc description ( #55243 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-08 23:12:07 +08:00
lijianan
03ce2b26aa
refactor(type): use SemanticClassNamesType & SemanticStylesType ( #55240 )
2025-10-08 10:40:12 +08:00
thinkasany
e0b59e166f
chore: turn on perfectionist/sort-named-imports ( #55215 )
...
* chore: turn on perfectionist/sort-named-imports
* turn on perfectionist/sort-named-exports
2025-10-01 21:19:07 +08:00
lijianan
d90b059b7e
refactor: improve useMergeSemantic params order ( #55103 )
...
* update
* update
---------
Co-authored-by: thinkasany <480968828@qq.com >
2025-10-01 11:09:39 +08:00
thinkasany
92de6339dd
chore: Unified variable naming style ( #55210 )
2025-10-01 10:40:34 +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
lijianan
a1c880f1cd
feat(Skeleton): Support better customization with semantic classNames & styles ( #55099 )
...
* update
* add demo
* add demo
* update test case
* Update components/skeleton/Skeleton.tsx
Co-authored-by: thinkasany <480968828@qq.com >
Signed-off-by: lijianan <574980606@qq.com >
* Update components/skeleton/Skeleton.tsx
Co-authored-by: thinkasany <480968828@qq.com >
Signed-off-by: lijianan <574980606@qq.com >
* Update components/skeleton/Skeleton.tsx
Co-authored-by: thinkasany <480968828@qq.com >
Signed-off-by: lijianan <574980606@qq.com >
* test: update demo and snap
* chore: update demo
* test: update snapshot
---------
Signed-off-by: lijianan <574980606@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-10-01 00:16:21 +08:00
thinkasany
98e306102f
chore(biome): code style format
2025-09-21 14:16:58 +08:00
lijianan
20c2b89fba
Merge branch feature into next-merge-feature
2025-09-08 21:30:09 +08:00
lijianan
a703957ce3
site: img should not be draggable ( #54911 )
2025-09-08 11:46:43 +08:00
thinkasany
4d4b2b953a
chore: update snap ( #54771 )
2025-08-27 17:08:24 +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
da2269649d
test: update snapshot
2025-08-08 12:08:45 +08:00
thinkasany
998d8f008f
chore: sync feature into next
2025-08-08 12:01:41 +08:00
afc163
613aad6a5d
refactor: remove unnecessary object spread syntax for genFocusOutline calls ( #54622 )
...
Co-authored-by: lijianan <574980606@qq.com >
2025-08-08 08:34:25 +08:00
叶枫
feaed51f09
fix: form layout style ( #54611 )
2025-08-07 21:36:46 +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
二货爱吃白萝卜
2a2338aefc
chore: deprecated List and bump alpha ( #54182 )
...
* chore: deprecated List and bump alpha
* docs: add deprecated mark
* chore: deprecated tag
* docs: update deprecated warning
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: coverage
---------
Co-authored-by: thinkasany <480968828@qq.com >
2025-06-27 10:50:40 +08:00
EmilyyyLiu
b1467d6ec8
feat(Divider): unify orientation attribute usage ( #53645 )
...
* feat[Divider]: Unified use of orientation attribute
* feat: Restore the size type missed in the merge
* feat: Delete unnecessary demo adjustments
* docs: change text
* feat: deprecated warning
* Update components/divider/index.zh-CN.md
Signed-off-by: thinkasany <480968828@qq.com >
* Update components/divider/index.en-US.md
Signed-off-by: thinkasany <480968828@qq.com >
* feat: use useOrientation and change test,doc
* feat: change demos orientation attribut
* docs: change token and demo (orientationMargin->titlePlacementMargin)
* feat: change demos titlePlacement="left/right" -> "start/end"
* docs: titlePlacement align
* feat: Resolve merge conflicts
* fix: lint error
* fix: demo lint error
* feat: use mergedStyles.content
* test: update snapshot
* rerun ci
* test: update snapshot
* fix: delete titlePlacementMargin and udpate snapshots
* feat: change demos orientationMargin-> styles.content.margin
* Update components/divider/demo/vertical.md
Co-authored-by: thinkasany <480968828@qq.com >
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com >
* feat: Call warning using list
* docs: `vertical` to make the divider vertical.
* docs: Modify punctuation usage
* docs: Add deprecated description
* docs: Clarify the possible values for titlePlacement in the example
* feat: replase { margin: '0' } ->{ margin: 0 }
---------
Signed-off-by: thinkasany <480968828@qq.com >
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com >
Co-authored-by: 刘欢 <lh01217311@antgroup.com >
Co-authored-by: thinkasany <480968828@qq.com >
2025-06-03 14:09:56 +08:00
thinkasany
1f2d5838bc
feat: ConfigProvider support classNames and styles for divider ( #53890 )
...
* feat: ConfigProvider support classNames and styles for divider
* save
* save
* snap
* style update
* clean
* demo update
* fix
* rerun ci
* docs: update demo
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-05-27 15:48:52 +08:00
thinkasany
62bca9910e
chore: remove SemanticPreview
2025-05-24 09:07:54 +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
a0e516d417
docs: improve semantic hightlight example for Skeleton ( #53753 )
2025-05-07 18:55:16 +08:00
thinkasany
5cb1477f84
site: fix deprecated warning of alert ( #53672 )
...
* site: fix deprecated warning of alert
* u
2025-04-27 22:13:03 +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
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
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
d8cb44bde2
type: improve for skeleton ( #52884 )
2025-02-19 10:50:32 +08:00
thinkasany
185258f2b7
chore: sync master into next
2025-02-15 10:52:14 +08:00
lijianan
a5e7c4e849
refactor: use Array.from() instead new Array() ( #52792 )
...
* refactor: use Array.from() instead new Array()
* chore: fix
* chore: fix
2025-02-14 10:16:15 +08:00
ice
e6d4eb0642
feat: Enhance Skeleton components with classNames and styles support ( #52470 )
...
* feat: Add Skeleton component configuration support in ConfigProvider
* feat: Enhance ConfigProvider with Skeleton component support
* feat: Enhance Skeleton components with classNames and styles support
* feat: Update Skeleton documentation with common API and semantic structure enhancements
* test: Enhance Skeleton component tests with custom styles and semantic element support
* chore: update snapshots for Skeleton component tests to reflect changes in expected output
* test: Refactor Skeleton component tests to apply distinct custom styles for each semantic element
* refactor: Update Skeleton components to replace 'with-element' class with 'element' class for consistency
* chore: Update snapshots for Skeleton component tests to reflect class name changes from 'with-element' to 'element'
* refactor: Replace 'omit' utility with spread operator for props in Skeleton components and update class name from 'with-element' to 'element'
* refactor: Rename Skeleton.Node to Skeleton.Element and update related demo files
* refactor: Rename LocaleMap to LOCALE_MAP for consistency in semantic element handling
* refactor: Simplify Radio.Group in PreviewContent by using OPTIONS array for element selection
* refactor: Replace Radio.Group with Segmented for element selection in PreviewContent
* refactor: Update Skeleton component to replace 'content' with 'section' semantic element and adjust related styles and tests
* refactor: Update Skeleton component snapshots to replace 'ant-skeleton-content' with 'ant-skeleton-section' for improved semantic clarity
* test: snap
* refactor(skeleton): Rename semantic elements from specific names to generic 'content'
This change updates the Skeleton components to use a more generic 'content' semantic element instead of specific names like 'avatar', 'button', etc. The modifications include:
- Updating Element.tsx to use a simplified semantic type
- Modifying class and style references in Avatar, Button, Input, and Node components
- Updating test cases and demo to reflect the new semantic naming
* Update components/skeleton/Skeleton.tsx
Co-authored-by: thinkasany <480968828@qq.com >
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
* refactor(Skeleton): Remove commented-out className assignment
* sty;e(Skeleton): Adjust demo component layout with fit-content width
* feat: Enhance Skeleton Image component with improved styling and customization
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
Co-authored-by: thinkasany <480968828@qq.com >
2025-02-12 10:41:54 +08:00
thinkasany
f5f0cb6aa4
chore: sync feature into next
2025-01-28 14:16:27 +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