396 Commits

Author SHA1 Message Date
Guo Yunhe
f44ec04609 feat(Grid): add xxxl (1920px) breakpoint for FHD screen (#56825)
* feat(Grid): add xxxl (1840px) breakpoint for FHD screen

* feat: update xxxl breakpoint from 1840px to 1920px for layout and list components

* feat(Grid): update xxxl breakpoint from 2000px to 1920px for responsive layout

* fix(Grid): 修正栅格间隔描述中的拼写错误

* feat(Grid): reverse

* test(Form): update grid

* size limit

---------

Co-authored-by: thinkasany <480968828@qq.com>
2026-02-04 00:01:55 +08:00
lijianan
5df2c59516 refactor(Grid): use genCssVar hook to generate CSS variables (#56635) 2026-01-17 10:44:40 +08:00
lijianan
a863062f7b Merge branch master into master-merge-feature 2026-01-09 22:54:46 +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
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
aojunhao123
ca5817ac33 feat: ConfigProvider support customize trigger for Tooltip/Popover/Popconfirm (#55932)
* CP support customize trigger

* add faq

* update doc

* update deps

* update snapshot

* adjust logic

* chore: adjust

---------

Signed-off-by: aojunhao123 <1844749591@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-12-01 17:51:42 +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
2827a68ff8 test: update test case (#55546)
* test: update test

* update

* update

* update

* update

* update
2025-11-01 11:41:14 +08:00
lijianan
90d1282b2b Merge branch feature into next-merge-feature 2025-10-31 16:29:38 +08:00
lijianan
6fc67a0fdd Merge branch feature into next-merge-feature 2025-10-31 16:18:08 +08:00
lijianan
352f6c6c78 test: simplify style test case (#55538)
* test: simplify test case

* update

* update

* update

* test: simplify style test case

* update

* update

* update

* update
2025-10-31 12:46:16 +08:00
lijianan
6cc19c10fc chore: merge feature into next 2025-10-26 18:20:12 +08:00
github-actions[bot]
8a81accfaf chore: auto merge branches (#55479)
chore: merge master into feature
2025-10-26 09:47:24 +00:00
lijianan
41b5dce953 perf: try to reduce bundle size (#55478)
* refactor: reuse useForceUpdate hook

* update

* perf: try to reduce bundle size

* update
2025-10-26 17:18:36 +08:00
lijianan
40531626c1 refactor: remove useState, reuse useForceUpdate hook (#55476)
* refactor: reuse useForceUpdate hook

* update
2025-10-26 16:38:18 +08:00
lijianan
5361c467bf refactor: rm addEventListener compatible code (#55396)
* refactor: rm addEventListener compatible code

* update

* update test

* update

* update

* test: update snap
2025-10-22 08:10:04 +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
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
二货爱吃白萝卜
6c955c5a30 feat: ConfigProvider support unique Tooltip (#55154)
* docs: update doc

* refactor: tooltip structure

* chore: support arrow style

* chore: legacy props

* chore: part

* chore: use transition

* chore: tmp of it

* docs: update demo

* docs: update demo

* chore: code back

* chore: fix ts

* chore: fix root css var

* chore: fix loop deps

* chore: ts defs

* chore: fix ts def

* test: fix setup

* test: update snapshot

* chore: adjust ver

* chore: use new structrue

* chore: fix deps

* test: fix test

* test: update snapshot

* test: update snapshot

* test: fix test

* test: fix test

* test: update snapshot

* chore: adjust

* chore: adjust

* test: coverage

* chore: adjust style

* test: update snapshot

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-09-29 10:15:16 +08:00
thinkasany
cf698fc6e0 chore: sync feature into next 2025-08-29 14:27:18 +08:00
thinkasany
8838b8f178 chore: improve code style (#54799)
* chore: improve code style

* clean memo
2025-08-29 11:20:30 +08:00
ug
9244e8039e Docs(Grid): Improve the Grid document. (#54793)
* update

* update

* update

---------

Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
2025-08-28 19:53:31 +08:00
thinkasany
aae75cb1e6 test: fix ci failed 2025-08-28 17:43:30 +08:00
thinkasany
a26828b6f9 chore: sync feature into next 2025-08-28 16:44:47 +08:00
thinkasany
4d4b2b953a chore: update snap (#54771) 2025-08-27 17:08:24 +08:00
github-actions[bot]
9bf6ba06c8 chore: auto merge branches (#54765)
chore: merge master into feature
2025-08-27 08:28:08 +00: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
ug
6a302f1133 feat(Row): The "gutter" parameter supports the string type. (#54628)
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
2025-08-25 14:04:34 +08:00
thinkasany
f1afc710c3 test: Adapting to jest v30 2025-08-07 12:01:07 +08:00
afc163
46c9c93773 test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +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
Guo Yunhe
b47db12738 feat(Tag): custom color support 3 variants (#53097)
* feat(Tag): custom color support 3 variants

* chore: use hooks

* chore: update size limit

* test: coverage

* test: coverage

* fix: variant name

* fix: solid default color

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* demo: cov

* test: coverage

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-03-25 23:33:22 +08:00
thinkasany
8790680dba fix: ci failed 2025-03-24 13:12:33 +08:00
thinkasany
4fbd71a4f0 chore: sync feature into next 2025-03-24 12:18:34 +08: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
lijianan
8be1967f7b Revert "refactor: update deprecated api addListener => addEventListener (…" (#53106)
This reverts commit 4c1a552469.
2025-03-10 11:17:18 +08:00
lijianan
4c1a552469 refactor: update deprecated api addListener => addEventListener (#53099)
* refactor: update deprecated api

* refactor: update deprecated api

* refactor: update deprecated api
2025-03-09 21:35: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
二货机器人
f45cd8bfc4 chore: merge master 2025-02-18 19:56:12 +08:00
二货爱吃白萝卜
dd20460886 refactor: use breakpoint by Copilot AI (#52870)
* refactor: use breakpoint

* refactor: add hooks

* chore: clean up

* chore: fix logic

* chore: fix logic

* chore: fix ts

* chore: fix ts
2025-02-18 19:49:29 +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
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
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
二货机器人
67b6b26529 chore: merge feature 2025-01-26 17:22:53 +08:00
lijianan
960ea3f23b feat: orientation prop support start & end (#52567)
* feat: orientation support start & end

* docs: update api docs

* fix: update docs

* test: update snap

* test: update snap

* test: update snap

* fix: fix

* fix: fix style
2025-01-26 12:36:58 +08:00