Commit Graph

281 Commits

Author SHA1 Message Date
lijianan
8def94703b refactor(Select): use genCssVar hook to generate CSS variables (#56559)
* refactor(Select): use genCssVar hook to generate CSS variables

* Update components/select/style/select-input-multiple.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: update

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-10 22:26:06 +08:00
lijianan
3f5129ac44 refactor(Mentions): use genCssVar hook to generate CSS variables (#56550)
* update

* update

* update

* update

* update

* update
2026-01-10 11:58:32 +08:00
lijianan
75ddcdfd00 refactor: 🛠 use genCssVar hook to generate CSS variables (#56546)
* refactor: 🛠 use genCssVar hook to generate CSS variables

* update

* update

* update

* update

* update

* Update components/tooltip/style/index.ts

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* update

* fix: update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2026-01-09 22:24:19 +08:00
lijianan
ba47850fa0 refactor: 🛠 use genCssVar hook to generate CSS variables (#56529) 2026-01-09 13:40:44 +08:00
gaoyanbing
d4c12a14b4 fix: respect empty string cssVar prefix and key (#56146) 2025-12-10 10:33:52 +08:00
ug
1d9d977936 fix(token): The colorBgMask does not take effect. (#56031)
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
2025-12-02 16:56:21 +08:00
二货爱吃白萝卜
a26733f44f fix: cssinjs should be hashed defaultly (#55880)
* chore: default hashed

* chore: fix layout
2025-11-25 15:54:35 +08:00
lijianan
706c010671 chore: reset deprecated BackTop (#55668)
* chore: reset deprecated BackTop

* chore: adjust import

* chore: update deps

* update

* update

* update

* update

* update snap

* update

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-11 11:21:39 +08:00
lijianan
cad56756e2 docs: update api description (#55576)
* docs: update api description

* update

* update
2025-11-03 12:06:24 +08:00
lijianan
37966dbdf0 test: update test case (#55557)
* test: update test case

* Update components/alert/__tests__/semantic.test.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: lijianan <574980606@qq.com>

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-01 17:00:26 +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
thinkasany
588f4a3518 chore: sync feature into next 2025-09-28 13:30:33 +08:00
thinkasany
5db1e6f449 chore: turn on perfectionist/sort-exports (#55172) 2025-09-28 11:46:21 +08:00
thinkasany
dbe6140226 chore: sync feature into next 2025-09-06 14:47:29 +08:00
ug
b2ad4f59a7 fix: The "customize theme" page "motionBase" description is empty. (#54874)
* fix:The "customize theme" page "motionBase" description is empty.

* Update components/theme/interface/seeds.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: ug <62086147+765477020@users.noreply.github.com>

---------

Signed-off-by: ug <62086147+765477020@users.noreply.github.com>
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-04 22:49:23 +08:00
thinkasany
35ae471955 chore: sync feature into next 2025-08-19 10:44:34 +08:00
ug
0653add28f docs(theme): Add "size" series variables description (#54703)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-16 23:21:09 +08:00
thinkasany
998d8f008f chore: sync feature into next 2025-08-08 12:01:41 +08:00
github-actions[bot]
70f79ec0ad chore: auto merge branches (#54625)
chore: sync master into feature
2025-08-08 02:14:00 +00: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
ug
3fbcd6d080 feat(theme): Add new CSS variables for the "size" series (#54621) 2025-08-07 22:50:06 +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
二货爱吃白萝卜
9115c60baa feat: FloatButton support semantic structure & ConfigProvider support passing related props (#54145)
* chore: init

* chore: badge

* test: update test case

* chore: clean up part

* chore: fix lint

* docs: update doc

* docs: api in

* test: coverage

* docs: update doc

* chore: simplify

* test: fix test case

* chore: fix lint

* chore: fix lint

* chore: simplify

* chore: update comment
2025-06-20 16:18:46 +08:00
thinkasany
3ac1e9cc82 chore: sync feature into next 2025-06-19 09:41:18 +08:00
dependabot[bot]
fe28d002e4 chore: migrate @biomejs/biome from 1.9.4 to 2.0.0 (#54118)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-06-18 18:55:45 +08:00
thinkasany
c88741924f chore: sync feature into next 2025-05-31 22:39:48 +08:00
afc163
330d13af70 style: tweak Select selected item background in dark theme (#53956) 2025-05-31 14:12:22 +08:00
lijianan
23b97f2922 chore: merge feature into next 2025-04-01 01:41:07 +08:00
renovate[bot]
edd3dea7a3 chore(deps): update dependency nwsapi to v2.2.20 (#53343)
* chore(deps): update dependency nwsapi to v2.2.20

* test: update test case

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-03-30 17:29:29 +08:00
MadCcc
f0ed87ff0c feat: return cssVar in useToken (#53195) 2025-03-18 14:07:07 +08:00
Oyster Lee
3fa9a51c48 feat: [v6] new component Masonry (#52162)
* feat(masonry): new component

* refactor(masonry): housekeeping

* refactor(masonry): update props and use transform

* refactor(masonry): update calculation logic

* refactor(masonry): rename file and add keepAspectRatio props

* refactor(masonry): rename file

* refactor(masonry): rename file

* refactor(masonry): rename file

* chore(masonry): update docs

* refactor(masonry): change to transform style

* feat(masonry): update demo and test

* chore(masonry): escape brackets

* test(masonry): update snapshots

* fix(masonry): handle rtl

* chore(masonry): update snapshots

* refactor(masonry): remove redundant condition

* refactor(masonry): update dependencies

* refactor(masonry): use token in transition

* refactor: add scope

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

* chore: tmp moving

* chore: abstract hooks

* chore: back of sequential

* chore: refactor type

* chore: split logic

* chore: tmp of it

* feat: support sort

* chore: support sort logic

* chore: clean up

* test: simplify test case

* test: fix test case

* chore: fix lint

* docs: update docs

* chore: update limit

* test: update snapshot

* test: fix test case

* test: update snapshot

* chore: support fresh

* test: coverage

* chore: ssr render nothing

* test: update snapshot

* docs: update docs

* docs: add SemanticPreview

* chore: adjust calc logic

* docs: add more info

* test: add test case

* docs: fix lint

* test: update snapshot

* test: update snapshot

* Update components/masonry/Masonry.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

* chore: rename

* chore: fix lint

---------

Signed-off-by: Oyster Lee <oysterd3@gmail.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.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>
2025-03-05 17:15:14 +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
github-actions[bot]
b078ee2c88 chore: auto merge branches (#52906)
chore: merge master into next
2025-02-20 19:17:13 +00:00
DDDDD12138
8ecdc728b3 fix: update genStyleUtils to correct linkStyle (#52888)
* fix: update genStyleUtils to correct linkStyle

* feat: compatible with the "a" tag inside the element

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-02-20 10:31:12 +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
thinkasany
1118d06a29 chore: sync feature into next 2025-01-21 19:11:51 +08:00
Jony J
c2e4f23f4c feat(design): [v6] add colorBorderDisabled token (#52421)
* feat(design-token): add colorBorderDisabled token

* fix: add token in dark mode

* fix: compatible with legacy token

* docs: improve demo

* fix: compatible with legacy token

* docs: update demo

* test: update snapshot

* docs: adjust demo & logic

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-01-21 18:12:24 +08:00
Guo Yunhe
f19c3859a3 refactor(theme): move default theme into separate file (#49419) 2025-01-21 14:50:50 +08:00
lijianan
8b2cc4a088 chore: [v6] rm legacy BackTop component (#52206)
* chore: rm legacy BackTop component

* fix: fix

* fix: fix
2025-01-06 17:49:17 +08:00
Jony J
39d9c1c6bf chore: replace TinyColor with FastColor across the codebase (#52157)
* chore: replace TinyColor with FastColor across the codebase

* test: update snapshot
2024-12-30 10:02:44 +08:00
🏎️ Yumo
eb28df8430 chore: fix circular dependency 2024-12-06 17:48:03 +08:00
🏎️ Yumo
807cca1997 chore: fix circular dependency 2024-12-06 14:13:34 +08:00
🏎️ Yumo
6ee4ea5b89 chore: reverted unnecessary changes. 2024-12-06 01:31:54 +08:00
🏎️ Yumo
f9301952f2 refactor: use defaultIconPrefixCls instead of string 2024-12-06 01:30:34 +08:00
🏎️ Yumo
8a82e55197 refactor: fixed the issue of icon styles being duplicated. 2024-12-06 01:24:12 +08:00
🏎️ Yumo
db551189b7 fix: useResetIconStyle is being called repeatedly 2024-12-04 21:02:22 +08:00
afc163
cce261263f style: tweak lineWidthFocus to 3px (#51069) 2024-09-29 15:55:49 +08:00
renovate[bot]
863f61d908 chore(deps): update dependency eslint to v9 (#50690)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
Wanpan
742ce37887 feat:🔥New Component: Splitter (#50038)
* feat: SplitPanel init

* feat: SplitPanel update

* feat: SplitPanel update

* feat: splitPanel update useResize

* feat: SplitPanel update

* feat: splitPanel update useResize

* feat: SplitPanel update

* feat: splitPanel demo

* feat: splitPanel update

* feat: splitPanel support complicated combination

* feat: SplitPanel rename to Splitter

* feat: Splitter support onRize

* feat: support collapsible

* feat: support token and collapsible

* feat: update docs

* feat: size defaultSize support string

* feat: min max support string

* feat: update

* feat: support DOM structure

* feat: Optimize UI

* feat: Optimize Code

* fix: Add a default size during initialization to prevent failure to obtain container size

* feat: optimized code

* feat: optimized code

* feat: Optimize Code

* Update components/splitter/demo/layout.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* Update components/splitter/demo/multiple.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* docs: update

* feat: Modify the style and optimize the interface

* feat: use PropsWithChildren

* feat: support rtl

* feat: collapsible supports object types

* fix: when collapsible is boolean not work

* feat: Splitter add test

* feat: update

* test: update snapshots

* docs: update

* test: update snapshots

* test: update

* test: update

* test: update

* test: update

* fix: Removed invalid min and max restrictions when collapsible exists

* test: update

* test: update

* test: update

* test: test coverage

* Revert "test: test coverage"

This reverts commit d247193722.

* test: test coverage

* feat: rename

* feat: optimized code

* ci: lint

* feat: optimized code

* feat: add useag tips

* feat: optimized code

* feat: Modify splitbar layout

* feat: optimized code

* feat: numerical precision

* feat: optimized code

* feat: Optimized trigger region

* feat: Support configuration animation

* fix: Fix Collapsible exception when using multiple panels

* fix: Fixed the issue of drag area overlapping when multiple panels are folded

* feat: optimized code

* feat: annotation

* feAt: optimized code

* fix: bgcolor

* fix: Modify the initial value calculation method

* test: update

* feat: add cover image

* chore: adjust logic

* chore: use items size

* chore: rtl

* chore: limit

* chore: controlled

* docs: update demo

* docs: adjust style

* chore: add split style

* chore: hor collapisble style

* chore: collapse icon

* chore: update warning

* chore: clean up

* chore: collapse logic

* chore: adjust demo

* chore: clean up

* test: adjust logic

* docs: update demo

* docs: rm useless demo

* docs: demo

* test: add demo test

* test: test of them

* test: 100% coverage

* chore: fix lint

* docs: update demo

* refactor: unique resize config

* docs: add demo

* fix: support virtual resiable

* chore: add cursor mask

* test: update snapshot

* test: add test case

* test: update snapshot

* chore: use px base

* chore: rm useless code

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
2024-09-09 19:23:25 +08:00