Commit Graph

29424 Commits

Author SHA1 Message Date
lijianan
e120b70ed3
site: rm custom use, replace with React.use (#53339) 2025-03-29 22:22:17 +08:00
lijianan
eb842527b5
type: optimization ResponsiveObserver type (#53314)
* fix: fix

* fix: fix

* Update components/_util/responsiveObserver.ts

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-03-29 21:53:45 +08:00
afc163
e7f816b0e4
site: move theme swither to Header (#53331)
* docs: move theme swither to Header

* update

* update

* update

* update

* update

* update

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-03-28 23:03:45 +08:00
Jony J
c358dc6aa5
feat(cascader): deprecate old props and add semantic DOM support for popup (#53311)
* refactor(cascader): deprecate old props and introduce semantic DOM support

* docs: update Cascader and ConfigProvider documentation to include new classNames and styles props

* Update components/config-provider/index.zh-CN.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: Jony J <1844749591@qq.com>

* Update components/config-provider/index.en-US.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: Jony J <1844749591@qq.com>

* feat: add root support

* Update components/cascader/demo/_semantic.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: Jony J <1844749591@qq.com>

* fix: merge root

---------

Signed-off-by: Jony J <1844749591@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-03-28 21:27:06 +08:00
github-actions[bot]
3d70185b93
chore: auto merge branches (#53332)
chore: sync master into feature
2025-03-28 10:51:29 +00:00
Jony J
ff4d871241
chore: lock nwsapi version (#53330)
* chore: add pnpm overrides and resolutions for nwsapi version 2.2.16 in package.json

* chore: bump to 2.2.19
2025-03-28 18:27:56 +08:00
𝑾𝒖𝒙𝒉
91d6095b88
docs(theme): cover dumi-theme (#53320)
* docs(theme): cover dumi-theme

* chore: update
2025-03-28 15:01:17 +08:00
github-actions[bot]
78fd4a44f3
chore: auto merge branches (#53313)
chore: sync master into feature
2025-03-26 14:22:04 +00:00
afc163
2e38d55bde
Merge pull request #53304 from caijf/docs-update-colorPicker
docs: update ColorPicker defaultFormat default value
2025-03-26 21:14:09 +08:00
𝑾𝒖𝒙𝒉
e97d51d955
chore(site): token value preview (#53306)
* chore(site): color preview

* chore: bezier view

* chore: fix lint
2025-03-26 11:51:43 +00:00
afc163
6dde8935d7
docs: fix iframe demo url with right theme (#53305) 2025-03-26 08:57:20 +00:00
xiangcai
ae7ac53230
fix: Not close modal when confirmLoading is loading (#53227)
* fix: moadl

* fix: moadl

* fix: modal

* fix: modal

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: modal

* aci

* fix: test

---------

Co-authored-by: WB01676250 <jl01676250@antgroup.com>
2025-03-26 16:51:11 +08:00
caijf
da5aaeda18 docs: update ColorPicker defaultFormat default value 2025-03-26 15:23:13 +08:00
Can-Chen
9260e2d80d
fix: table pagination theme color broken with small size (#52829)
* fix: table pagination theme color broken with small size

* Update components/pagination/style/index.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-03-26 04:43:32 +00:00
Ryan
419a0dc379
feat: ConfigProvider support button variant and color (#53165)
* feat: ConfigProvider support button variant property

* feat: ConfigProvider support button color

* docs: update config-provider api docs

* test: add test case

* Update components/config-provider/index.en-US.md

docs update

Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com>

* Update components/config-provider/index.zh-CN.md

docs update

Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com>

* test: add test case

* fix: logic

* fix(button): improve button color and variant handling logic

---------

Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com>
Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: ice <1597834867@qq.com>
2025-03-26 10:56:27 +08:00
EmilyyyLiu
7e25343c98
change closeButton style (#53292)
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-03-26 02:12:57 +00:00
lijianan
daa61971ab
chore: try to reduce bundle size (#53298) 2025-03-25 14:47:34 +00:00
Jony J
c073d2cb6c
feat(tree-select): popup support semantic dom and deprecated some api (#53285)
* feat(tree-select): popup support semantic dom and deprecated some api

* chore: update demo

* chore: update demo

* fix(compact): update dropdownStyle to styles for better semantic structure

* docs: add space
2025-03-25 20:34:26 +08:00
EmilyyyLiu
4a21011901
icon版本使用提示 (#53284)
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-03-25 11:25:54 +08:00
MadCcc
d2b1f878c2
docs: changelog 5.24.5 (#53278)
* docs: changelog 5.24.4

* docs: add TextArea into Input keywords

* docs: update

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: MadCcc <1075746765@qq.com>

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: MadCcc <1075746765@qq.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-03-24 14:35:10 +00:00
Ryan
1a10ecf98f
fix: suffix of InputNumber moves left after the mouse enters when it is disabled (#53184)
* fix: input-number in disabled state shows control buttons

* test: add test case

* chore: style update

* chore:remove redundant code

* chore:remove console.log

* chore: add judgment conditions

* test: update test case

* chore: update snapshot

* chore(style): update style

---------

Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
2025-03-24 12:24:14 +00:00
Jony J
45fcb4ba14
refactor(dropdown): rename dropdown api to popup (#53263)
* refactor(dropdown): rename dropdown api to popup

* fix: test error

* fix: lint error

* fix(dropdown): update deprecation warning for 'Center' placement
2025-03-24 17:17:46 +08:00
afc163
91cfcd00f9
chore: remove log of react-scan (#53273)
Signed-off-by: afc163 <afc163@gmail.com>
2025-03-24 09:06:03 +00:00
afc163
8e909263c2
chore: replace sylvanas to ts/prettier (#53271)
* chore: replace sylvanas to ts

* add
2025-03-24 07:46:46 +00:00
github-actions[bot]
c79a3e7ddd
chore: auto merge branches (#53267)
chore: sync master into feature
2025-03-24 04:41:02 +00:00
Jony J
94e500bd1a
fix: lint error (#53266) 2025-03-24 04:17:37 +00:00
lijianan
b340b3ad0d
refactor: optimization compatible logic (#53107)
* refactor: optimization compatible logic

* test: fix test case

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-03-24 10:24:12 +08:00
github-actions[bot]
103f82b6db
chore: auto merge branches (#53249)
chore: sync master into feature
2025-03-22 06:34:57 +00:00
lijianan
bff4872b19
chore: code optimization (#53254)
* chore: code optimization

* chore: code optimization

* chore: code optimization

* chore: code optimization
2025-03-22 05:45:11 +00: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
AliReza Kamkar
9b6714d554
fix: add missing translations and fix typos for Farsi language (fa_IR) (#53251) 2025-03-22 01:39:16 +00:00
Jony J
33fa456979
feat(select): popup supports Semantic DOM and retire some api (#53243)
* feat(select):popup support Semantic DOM and retire some api

* chore: adjust logic

* chore: adjust semantic preview demo

* style: set popup zIndex for better visibility
2025-03-21 22:01:18 +08:00
二货爱吃白萝卜
a1eb00bb9b
refactor: TextArea resize with React life cycle (#53235)
* chore: move style

* refactor: use react life cycle

* chore: adjust style

* test: fix test logic

* test: update snapshot

* test: coverage
2025-03-21 14:56:10 +08:00
afc163
79425c5dc1
chore: more cursor rules (#53224)
* feat: add cursor rules in .cursor/rules

* docs: add non-component changelog rule

* docs: update cursor rules format

* feat: update cursor rules

* refactor: remove duplicated styles.mdc

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Delete .cursor/rules/component.mdc

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

* Apply suggestions from code review

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

* Delete pr_template.txt

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

* Delete .cursorrules

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

* Apply suggestions from code review

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

* Update .cursor/rules/project.mdc

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

* Update project.mdc

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

* Delete .cursor/rules/implementation.mdc

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

* Update project.mdc

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

* Apply suggestions from code review

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>

* feat: add server-side rendering guidelines

* update

* update

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-03-21 06:37:25 +00:00
𝑾𝒖𝒙𝒉
1596b96163
deps: bump dumi-plugin-color-chunk to 2.1.0 (#53215)
* Revert "docs: fix color (#52459)"

This reverts commit 3639d949be.

* deps: bump dumi-plugin-color-chunk to 2.1.0
2025-03-20 02:17:05 +00:00
二货爱吃白萝卜
78a7ff7670
docs: update layer ref (#53212) 2025-03-19 11:35:11 +08:00
github-actions[bot]
246df3bc65
chore: auto merge branches (#53208)
chore: merge master into feature
2025-03-19 02:47:43 +00:00
thinkasany
93f05eaaae
docs: improve for config-provider api (#53209) 2025-03-19 10:28:12 +08:00
thinkasany
44e1a772ef
chore: unlock nwsapi (#53206) 2025-03-19 10:17:47 +08:00
ice
9ca6c8fa71
docs: the api uses a code format (#53207) 2025-03-19 10:17:13 +08:00
renovate[bot]
16e7b1831a
chore(deps): update dependency nwsapi to v2.2.19 (#53192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 08:30:21 +08:00
thinkasany
c434048f20
ci: skip Verify Files modify for renovate bot (#53196)
* ci: skip Verify Files modify for renovate bot

* fix
2025-03-18 14:13:57 +08:00
renovate[bot]
36dc6e0b56
chore(deps): update softprops/action-gh-release action to v2.2.1 (#53193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 14:00:32 +08:00
github-actions[bot]
d92db72dad
chore: upgrade deps (#53187)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2025-03-18 06:33:41 +08:00
afc163
a410cfc17f
docs: update changelog of 5.24.4 (#53185) 2025-03-17 18:19:13 +08:00
陈帅
b9f391ff75
chore: 更新版本至 5.24.4,并添加变更日志 (#53180) 2025-03-17 14:21:55 +08:00
Wanpan
b6bac7dcae
chore: react-scan default not run (#53161)
* chore: react-scan default noy run

* Update package.json

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

* feat: update

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-03-17 13:11:04 +08:00
lijianan
d1ae2aacaf
chore: replace native raf to rc-util/lib/raf (#53168)
* chore: replace native raf to rc-util/lib/raf

* fix: fix
2025-03-17 11:39:27 +08:00
lijianan
4cce649c86
chore: bump eslint-plugin-react-hooks from Canary to Stable (#53177) 2025-03-16 22:07:27 +08:00
renovate[bot]
3c79063ccd
chore(deps): update dependency typedoc to ^0.28.0 (#53173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-16 08:44:53 +08:00