Commit Graph

233 Commits

Author SHA1 Message Date
高艳兵
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
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
6fc67a0fdd Merge branch feature into next-merge-feature 2025-10-31 16:18:08 +08:00
lijianan
ec658c9842 test: simplify test case (#55537)
* test: simplify test case

* update

* update

* update
2025-10-31 11:42:54 +08:00
lijianan
6cc19c10fc chore: merge feature into next 2025-10-26 18:20:12 +08:00
lijianan
ca1480c4f9 Merge branch feature into next-merge-feature 2025-10-22 20:15:30 +08:00
afc163
5c122a805d style: Statistic skeleton showing active animation defaultly (#55398) 2025-10-21 20:28:09 +08:00
遇见同学
74d2712935 test: improve single test structure (#55383) 2025-10-20 18:48:47 +08:00
thinkasany
cfe7272226 chore: sync feature into next 2025-10-18 00:45:13 +08:00
thinkasany
f47947d857 chore: turn on react-hooks/purity (#55331) 2025-10-16 23:11:44 +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
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
sheng zhang
042f746f0b feat(statistic): Support better customization with semantic classNames/styles as function (#55117)
* feat: statistic semantic

* feat: statistic semantic demo

* feat: statistic semantic unit test

* feat: statistic semantic docs

* fix: docs fix

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

Signed-off-by: 遇见同学 <1875694521@qq.com>

* feat: update style demo

* feat: update demo

* chore: demo update

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-09-30 11:28:53 +08:00
Amumu
bf654affcb chore: move rc-util to @rc-components/util (#55048) 2025-09-17 20:45:57 +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
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
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
Psiphonc
b74a54e5ab fix: timer finish call back does not trigger when page in background (#53894) 2025-05-30 16:13:35 +08:00
thinkasany
62bca9910e chore: remove SemanticPreview 2025-05-24 09:07:54 +08:00
thinkasany
b2f3a8085c chore: sync feature into next 2025-05-24 09:06:29 +08:00
xiangcai
7707c25f7c fix: statistic timer cannot display tooltip as a children (#53888)
* feat: statisticRef

* feat: statisticRef

* feat: statisticRef

* feat: test

* [empty] Trigger ACI update

* [empty] Trigger ACI update

---------

Co-authored-by: WB01676250 <jl01676250@antgroup.com>
2025-05-23 09:59:36 +08:00
二货爱吃白萝卜
116a2c09bd test: fix image test (#53817) 2025-05-13 17:41:40 +08:00
MadCcc
c7cf4d12a8 Merge branch 'feature' into master-merge-feature 2025-05-06 16:35:41 +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
876451f347 docs: improve some deprecated description (#53632) 2025-04-24 17:27:29 +08:00
二货爱吃白萝卜
07a561f3dc fix: Timer ssr (#53543)
* fix: Timer ssr

* test: update snapshot

* fix: mount logic

* test: update snapshot

* test: image test update
2025-04-17 22:39:55 +08:00
thinkasany
e0f19f3302 chore: sync feature into next 2025-04-16 20:09:59 +08:00
𝑾𝒖𝒙𝒉
df21e54316 refactor(StatisticTimer): defensively set type after props to prevent… (#53502)
* refactor(StatisticTimer): defensively set type after props to prevent override

* docs(statistic): mark Statistic.Countdown as deprecated and update documentation
2025-04-15 14:28:25 +08:00
thinkasany
4320d74f70 test: update snap 2025-04-14 14:44:48 +08:00
thinkasany
35e92b80dd chore: sync feature into next 2025-04-14 14:41:16 +08:00
mr-chenguang
bd13b3442b feat: new component Statistic.Timer (#53401)
* feat: add reverse for countdown

* refactor var

* remove unuse logic

* feat: support timer component

* revert delete countdown

* Update components/statistic/utils.ts

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>

* update snapshots

* refactor countdown

* fix md

* fix test:site

* fix: deprecated & refactor

* refactor

* add version

* refactor: inline of effect

* test: update test case

* test: back of part

* test: back of part

* test: back of part

* add tests & fix md

* fix md& add devusewarnning

* fix warning and add test

* remove console

* remove countdown md

---------

Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-11 16:11:31 +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
lijianan
aaf384aedf refactor: [v6] use CSS logical properties (#52560)
* refactor: [v6] use CSS logical properties

* test: up snap

* test: up snap

* test: up snap

* test: update test case
2025-02-12 17:16:12 +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