Commit Graph

17539 Commits

Author SHA1 Message Date
MadCcc
1cb644d476
fix: color picker controlled value (#47816)
* fix: fix control value not show in dom

* chore: update title

* add test case

* change test title

* fix: cleared color should change after controlled value changed

* chore: code clean

* test: change test

* comment

* fix: should respect empty string

* test: add test case

* chore: update demo

---------

Co-authored-by: tanghui <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-03-25 20:10:47 +08:00
kiner-tang
6310bf2840
feat: optimize code (#48072) 2024-03-25 19:22:04 +08:00
Meetacoo
dc9e4572ff
demo: Update demo with Space.Compact wrap (#48067)
* demo: App demo update

* test: Update test snapshots
2024-03-25 14:42:15 +08:00
叶枫
0177a7079e
docs: 修复 menu openKeys 计算问题 (#47859)
* fix: 修复 menu openKeys 计算问题

* feat: keys

* feat: 优化代码,避免 eslint

* feat: 优化代码,避免 eslint

* feat: 3级增加为3条数据,为了换行,便于代码查看

* feat: 删除受控 selectedKeys

* feat: 优化代码

* feat: snap

* feat: 优化代码去掉lint

* feat: 代码优化

* feat: 删除 as 因为 onOpenChange 不是 React.Key 了

* feat: 优化代码

* feat: 添加删移除所有子集逻辑
2024-03-25 14:10:34 +08:00
lijianan
739362345c
fix: adjust the order of QRCode style prop (#48053)
* fix: adjust the order of style prop

* test: update snap

* test: add test case
2024-03-25 10:59:44 +08:00
Cooper
a4bf443c01
docs: Add FAQ to popconfirm (#48055) 2024-03-24 23:06:04 +08:00
lijianan
87debac578
chore: rename variables merge => merged (#48048) 2024-03-24 10:56:28 +08:00
lijianan
611993b0a8
type: fix master CI fail again (#48045)
* TEST: DO NOT MERGE

* fix: fix type
2024-03-23 23:27:59 +08:00
lijianan
212b1eef12
type: fix master CI fail (#48044) 2024-03-23 21:59:55 +08:00
Githubkuankuan
72a7d86b6f
docs: fix twoToneColor description (#48011)
* fix: icon twoToneColor 传递值的类型,标注不清楚问题

Signed-off-by: Githubkuankuan <82639318+Githubkuankuan@users.noreply.github.com>

* Update components/icon/index.zh-CN.md

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

---------

Signed-off-by: Githubkuankuan <82639318+Githubkuankuan@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-22 23:11:33 +08:00
Christine Tang
a3077e449e
test: rm unnecessary async (#48033)
* chore: rm unnecessary React.useMemo

* Revert "chore: reset commit"

This reverts commit 2fa5df5185.

* test: rm unnecessary async
2024-03-22 21:29:19 +08:00
叶枫
e17cd4ae27
test: keep spaces (#47024)
* feat: snap

* feat: up snap
2024-03-22 20:49:55 +08:00
afc163
0a67b32443
docs: update Upload FAQ about Mac Chrome bug (#48021) 2024-03-22 16:38:59 +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
Cooper
be1d14d4cb
docs: text optimize (#48012) 2024-03-22 11:57:58 +08:00
Roxannej
d8982a6def
docs: colorpicker text optimize (#48008) 2024-03-22 08:10:56 +08:00
owenchen1004
b3728baf3c
docs: more info about valuePropName (#48003) 2024-03-21 17:47:23 +08:00
lijianan
a17b98aa69
type: export AffixRef interface (#47982) 2024-03-21 16:30:47 +08:00
二货爱吃白萝卜
bd995468aa
chore: fix GetRef for some case (#47983)
* chore: fix GetRef for some case

* test: add type test

* docs: add util doc

* fix: en

* chore: add logo
2024-03-21 15:55:40 +08:00
章鱼怪
cd317fb718
fix: Radio hover style (#47972) 2024-03-20 18:17:05 +08:00
lijianan
ec4591b64a
docs: add JSDoc to cssVar props (#47965) 2024-03-20 10:50:36 +08:00
David Dobryakov
ecc82589e3
docs: fix typo "fille" -> "filled" (#47950) 2024-03-18 22:52:01 +08:00
栗康
889135ea98
docs: fix react-sticky-box link (#47942) 2024-03-18 18:50:05 +08:00
二货爱吃白萝卜
de8657bf3b
fix: WaterMark blink when scale of window (#47895)
* fix: WaterMark blink when scale of window

* chore: fix mutation

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-18 15:39:06 +08:00
afc163
e8839ae48b
style: unify Modal and Drawer close icon style (#47909)
* style: unify Modal and Drawer close icon style

* style: fix Drawer close icon style

* style: add focus style

* style: unify close btn style

* test: update snapshots

* style: tweak drawer close icon size
2024-03-16 23:21:09 +08:00
afc163
96bade2dad
chore: update token descriptions (#47918)
* fix: Modify button token annotation error

fix: Modify button token annotation error

Signed-off-by: 孙术 <18046567175@163.com>

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update token.ts

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

* Update token.ts

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

* Update token.ts

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

---------

Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 孙术 <18046567175@163.com>
2024-03-16 22:17:56 +08:00
孙术
67b890af26
chore: Modify button token annotation error (#46914)
* fix: Modify button token annotation error

fix: Modify button token annotation error

Signed-off-by: 孙术 <18046567175@163.com>

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update token.ts

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

* Update token.ts

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

---------

Signed-off-by: 孙术 <18046567175@163.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 22:13:58 +08:00
evgmol
13ed05fa14
style: Use description color instead of disabled in Empty (#47268)
Signed-off-by: evgmol <146968816+evgmol@users.noreply.github.com>
2024-03-16 22:05:59 +08:00
renovate[bot]
bcc5d113bc
chore(deps): update dependency @types/react to v18.2.66 (#47798)
* chore(deps): update dependency @types/react to v18.2.66

* Update package.json

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

* fix: React LegacyRef

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* type: fix ref type

* chore: fix lint errors

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-16 21:41:25 +08:00
afc163
8ba9900c56
docs: fix Statistic.Countdown value type (#47907) 2024-03-16 17:48:34 +08:00
afc163
862f5da5ba
test: update snapshot (#47911) 2024-03-16 17:46:44 +08:00
afc163
a8fb31cbd5
style: Badge align style with text under Space (#47908) 2024-03-16 17:45:50 +08:00
afc163
5574f31576
style: Upload actions should not wrap (#47898)
* style: Upload actions should not wrap

* Update components/upload/style/list.ts

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

* Update components/upload/style/list.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-15 19:06:39 +08:00
二货爱吃白萝卜
31ff625d8f
fix: Typography symbol height exceed line should also support ellipsis (#47889)
* fix: Typography with ellipsis of symbol height

* test: update snapshot
2024-03-15 13:56:03 +08:00
二货爱吃白萝卜
7884eba28e
fix: DatePicker itemHeight calculation (#47874)
* chore: init

* chore: clean up

* chore: clean up
2024-03-15 10:54:54 +08:00
xliez
1491b0c624
docs(Select): Update docs for Select new API: labelRender (#47811)
* docs: 添加 labelRender API 文档

Signed-off-by: xliez <xliez@foxmail.com>

* docs: supplement 5.15.0 changelog

* test: update snapshots

---------

Signed-off-by: xliez <xliez@foxmail.com>
2024-03-14 22:04:14 +08:00
二货爱吃白萝卜
2323e95c41
fix: legacy onSelect of TimePicker (#47878)
* chore: update ts

* docs: update
2024-03-14 21:06:08 +08:00
Gogi H
5330fb61cd
docs: Add extra comment for locale implementation (#47882)
* docs(datePicker): add comment for extra info

* docs(datePicker): add simplified chinese translation
2024-03-14 21:04:29 +08:00
宋红凯
f9e9b8b8ed
docs(Button): change paddingBlock type def desc (#47856) 2024-03-14 11:42:14 +08:00
yexiaolong
bdc382bbe4
chore: code optimization (#47852)
* perf: 代码优化: 1.Skeleton组件children null判断; 2.Paragraph组件内部getWidth方法抽离;

* perf: 代码优化: 1.Skeleton组件children null判断; 2.Paragraph组件内部getWidth方法抽离;

---------

Co-authored-by: 叶晓龙 <evermore.ye@quectel.com>
2024-03-13 11:38:40 +08:00
二货爱吃白萝卜
7f87f912b0
fix: picker multiple selection lines collpase (#47821)
* fix: DatePicker multiple padding

* docs: update demo

* chore: clean up
2024-03-11 16:57:09 +08:00
Rin
bb567f6831
docs: fix DOM typo (#47815) 2024-03-11 13:40:29 +08:00
Cuvii
387c36aa30
docs: fix more typo (#47807) 2024-03-11 13:37:38 +08:00
winches
3818c10912
fix(anchor): active anchor error (#47795) 2024-03-11 10:42:45 +08:00
winches
3fbb280d14
chore: ellipsis typo (#47804) 2024-03-11 10:33:05 +08:00
二货爱吃白萝卜
54c5721f48
chore: bump trigger to move click to mouseDown (#47775)
* chore: bump trigger

* chore: bump trigger

* chore: bump trigger

* chore: bump trigger

* chore: fix logic

* fix: context tour config

* test: coverage
2024-03-08 21:31:27 +08:00
lijianan
630f4d9cfb
demo: Tag demo update (#47751)
* demo: Tag demo update

* fix: fix

* fix: fix
2024-03-08 10:51:31 +08:00
afc163
7d9bc97c9b
style: add ColorPicker clear icon hover style (#47761) 2024-03-08 10:19:23 +08:00
ChuYang
ade622e8f4
demo: a wrong word (#47746)
* fix: a wrong word

* fix: update snapshot
2024-03-08 07:17:46 +08:00
xiejiahe
998eaf1849
test: remove null check (#47759)
`querySelectorAll` always returns an array without the need for null check.

Signed-off-by: xiejiahe <xjh22222228@gmail.com>
2024-03-08 07:12:03 +08:00