高艳兵
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
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
c3f41c19ba
refactor(types): replace Record with explicit object for better DX ( #56298 )
2025-12-22 10:47:06 +08:00
gaoyanbing
26bab6fa4c
fix(result): pass through data-* and aria-* attributes to root element ( #56165 )
...
* fix(result): pass through data-* and aria-* attributes to root element
* fix: add TypeScript type support for data-* and aria-* attributes in Result
* Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com >
* Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com >
---------
Signed-off-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-11 13:32:33 +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
遇见同学
03acb88826
docs: update semantic structure types in component documentation ( #55795 )
2025-11-21 17:29:29 +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
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
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
遇见同学
4afd480fba
feat(color-picker): Support better customization with semantic classNames/styles as function ( #54962 )
...
* feat(color-picker): Support better customization with semantic classNames/styles as function
* update demo
* update demo
---------
Co-authored-by: thinkasany <480968828@qq.com >
2025-10-01 00:25:52 +08:00
ccc1018
446c4a67d8
feat(result): Support better customization with semantic classNames/styles as function ( #55044 )
...
* Support better customization with semantic classNames/styles
* Support better customization with semantic classNames/styles
* Support better customization with semantic classNames/styles
* Support better customization with semantic classNames/styles
* Revert "Merge branch 'next' of github.com:ccc1018/ant-design into feature/result"
This reverts commit a64cb1b935 , reversing
changes made to 2343dd9463 .
* Revert "Support better customization with semantic classNames/styles"
This reverts commit 7d3a4defb4 .
* Revert "Support better customization with semantic classNames/styles"
This reverts commit cfe65dda2d .
* Support better customization with semantic classNames/styles
* Update components/alert/Alert.tsx
Signed-off-by: thinkasany <480968828@qq.com >
* Support better customization with semantic classNames/styles
* Support better customization with semantic classNames/styles
* Support better customization with semantic classNames/styles
* Support better customization with semantic classNames/styles
* fix: remove alert component changes from result branch
* fix: reset alert component to next branch state, keep only result changes
* Support better customization with semantic classNames/styles
* fix: remove unwanted files from git commands
* docs: add missing Version column header in API tables
* Fix errors in the file
* Fix modify in the file
* format doc table
* fix .snap
* Refactor Result component to use props directly
Signed-off-by: lijianan <574980606@qq.com >
* Fix formatting in result component props destructuring
Signed-off-by: lijianan <574980606@qq.com >
* Update components/result/index.zh-CN.md
Signed-off-by: thinkasany <480968828@qq.com >
---------
Signed-off-by: thinkasany <480968828@qq.com >
Signed-off-by: lijianan <574980606@qq.com >
Co-authored-by: thinkasany <480968828@qq.com >
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: lijianan <574980606@qq.com >
2025-09-30 14:16:30 +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
8f89ad20f4
refactor: semantic of tour/empty/result ( #54603 )
2025-08-06 11:54:56 +08:00
lijianan
a43d5182c6
chore: merge feature into next
2025-07-25 11:33:02 +08:00
ug
596ebb01d0
perf<Result>: Reduce the size of the status icons ( #54455 )
...
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com >
2025-07-24 23:36:36 +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
thinkasany
62bca9910e
chore: remove SemanticPreview
2025-05-24 09:07:54 +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
711511c329
refactor: hooks of context ( #52741 )
2025-02-12 14:12:44 +08:00
thinkasany
29edffc484
type: improve for semantic ( #52656 )
2025-02-07 17:41:52 +08:00
thinkasany
6f2b330bbe
feat: ConfigProvider support classNames and styles for Result ( #52171 )
...
* feat: ConfigProvider support classNames and styles for Result
* update content to body
* update version to 6.0.0
* update body
2024-12-31 18:37:14 +08:00
Jony J
08a9325182
feat: add a11y test for components demo ( #51414 )
...
* test: add accessibility test utilities
* refactor(tests): replace polling with Promise chain for axe test queue management
* test: add a11y test for components demo
* feat: add a11y test utils
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: remove unnecessary code
* feat: add polyfill for test environment
* test: add a11y test for components demo
* test: add a11y test for components demo
* chore: adjust code style
2024-11-01 11:30:11 +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
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
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
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
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
叶枫
e17cd4ae27
test: keep spaces ( #47024 )
...
* feat: snap
* feat: up snap
2024-03-22 20:49:55 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
lijianan
0b6356d984
chore: rename file .tsx => .ts ( #46759 )
...
* chore: rename file .tsx => .ts
* fix: fix
* test: add test case
2024-01-03 08:45:11 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
JarvisArt
98639ba6a5
refactor: Result support css var ( #45822 )
2023-11-13 16:13:34 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning ( #44791 )
...
* refactor: deprecatedWraning
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter ( #44613 )
...
* feat: add warningContext
* refactor: part refactor
* chore: fix compile
* chore: part of it
* chore: part of it
* chore: part of it
* chore: fix lint
* chore: fix test
* chore: clean uo
* chore: hide warning def tmp
* chore: comment test
* chore: fix lint
* chore: refactor select icons
* chore: fix warning message
* test: update test
* chore: rm dead code
2023-09-11 17:28:04 +08:00
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode ( #44608 )
...
* feat: remove the hardcode of `use client`
* chore: update `@ant-design/tools`
* test: update
* fix: incorrect dictionary
* chore: update dep
* ci: check use client
* chore: update ci
* fix: should be LIB_DIR
* ci: should only run in dist
* chore: update check tsx files
2023-09-04 19:27:20 +08:00
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message ( #43947 )
...
* test: init of test
* test: update snapshot
* test: update snapshot
* chore: adjust size limit
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update snapshot
---------
Co-authored-by: lijianan <574980606@qq.com >
2023-08-02 14:20:13 +08:00