Commit Graph

17313 Commits

Author SHA1 Message Date
lijianan
58aa57b79b
feat: Divider support cssVar (#45810)
* feat: Divider support cssVar

* fix: fix

* fix: fix

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* Update components/divider/style/index.ts

Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-15 14:11:12 +08:00
JarvisArt
0de7f06023
refactor: FloatButton support css var (#45861)
* refactor: FloatButton support css var

* refactor: FloatButton support css var

* refactor: FloatButton support css var
2023-11-15 11:46:17 +08:00
MadCcc
67a3f1e9d8
fix: genCSSVarRegister unitless should work (#45885)
* fix: genCSSVarRegister unitless should work

* chore: update
2023-11-15 11:26:35 +08:00
yufamg
3831352c27
docs(📖): update tabs component docs (#45875)
* 📖docs: update tabs component docs

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: yufamg <99855951+yufamg@users.noreply.github.com>

* Update components/tabs/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: yufamg <99855951+yufamg@users.noreply.github.com>

---------

Signed-off-by: yufamg <99855951+yufamg@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-14 19:40:37 +08:00
kiner-tang(文辉)
8e32367fd5
feat: tree & treeSelect support cssVar (#45814)
* feat: tree support cssVar

* feat: treeSelect support cssVar

* feat: treeSelect support cssVar

* feat: optimize code

* feat: optimize code
2023-11-14 19:17:23 +08:00
kiner-tang(文辉)
2777d2c39f
fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container (#45864)
* fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* Update components/popconfirm/index.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-11-14 18:01:23 +08:00
JarvisArt
9554807ca3
refactor: Space support css var (#45869) 2023-11-14 16:28:11 +08:00
红果汁
b9d3941698
feat: Checkbox support cssvar (#45859)
* feat: checkbox support cssvar

* refactor: improve code

* fix: add rootCls in class
2023-11-14 16:10:23 +08:00
MadCcc
48402ca44f
refactor: Slider support css var (#45866) 2023-11-14 15:59:23 +08:00
MadCcc
b2300fa2d3
fix: global token in components with css var should work (#45860) 2023-11-14 11:59:14 +08:00
红果汁
625184a306
feat: Calendar support cssVar (#45835)
* feat: calendar support cssvar

* fix: calc  priority

* Update components/calendar/generateCalendar.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-14 11:37:07 +08:00
lijianan
b8e180ba41
feat: BackTop(V4) support cssVa (#45853) 2023-11-14 10:39:49 +08:00
lijianan
baf9a5251a
feat: QRCode support cssVa (#45854) 2023-11-14 10:34:01 +08:00
lijianan
b9f7238f78
feat: Tag support cssVar (#45823)
* feat: Tag support cssVar

* Update components/tag/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tag/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tag/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tag/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/tag/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-14 10:30:57 +08:00
MadCcc
c8db817133
refacor: form css var (#45849)
* refacor: form css var

* chore: code clean

* chore: update

* chore: use lineHeight
2023-11-14 10:08:34 +08:00
kiner-tang(文辉)
1d04efcb9d
feat: notification support cssVar (#45799)
* feat: notification support cssVar

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-14 10:06:18 +08:00
c0dedance
308d7cab49
refactor: popconfirm support css var (#45840)
* refactor: popconfirm support css var

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* fix: 补充遗漏的useStyle

---------

Signed-off-by: MadCcc <madccc@foxmail.com>
Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-14 09:43:45 +08:00
c0dedance
5224c05247
refactor: statistic support css var (#45841)
* refactor: statistic support css var

* chore: remove statistic from ignore list

---------

Signed-off-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-14 09:42:37 +08:00
lijianan
4266517ddd
chore: merge master into feature 2023-11-14 02:59:19 +08:00
lijianan
c8637cf03a
feat: Affix support cssVar (#45807)
* feat: Affix support cssVar

* fix: fix

* fix: fix

* fix: fix
2023-11-13 20:25:05 +08:00
c0dedance
a3320a1257
refactor: skeleton support css var (#45842) 2023-11-13 20:18:37 +08:00
红果汁
c9a1eac204
feat: Carousel support cssVar (#45837)
* feat: carousel support cssvar

* Update components/carousel/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 20:14:13 +08:00
kiner-tang(文辉)
49ffbe2c82
feat: Upload support cssVar (#45820)
* feat: Upload support cssVar

* feat: optimize code

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* feat: update size limit

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Signed-off-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 19:44:27 +08:00
afc163
cb8f709424
fix: QRCode style.padding should work (#45815)
* fix: QRCode style.padding should work

* refactor qrcode padding and size

* chore: fix test cases

* refactor: revert qrcode size

* refactor: remove !important

* chore: fix test case
2023-11-13 18:35:23 +08:00
MadCcc
86e3d37935
refactor: InputNumber support css var (#45839) 2023-11-13 17:45:45 +08:00
lijianan
2cd9362b17
feat: Alert support cssVar (#45825)
* feat: Alert support cssVar

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 17:12:17 +08:00
lijianan
b61d769d6d
feat: Avatar support cssVar (#45824)
* feat: Avatar support cssVar

* fix: fix

* fix: fix

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 17:10:39 +08:00
红果汁
f4443cc6c2
feat: card support cssvar (#45836) 2023-11-13 16:39:00 +08:00
JarvisArt
ca25149fd8
refactor: Timeline support css var (#45831) 2023-11-13 16:30:18 +08:00
JarvisArt
98639ba6a5
refactor: Result support css var (#45822) 2023-11-13 16:13:34 +08:00
lijianan
3787478790
feat: Spin support cssVar (#45819)
* feat: Spin support cssVa

* feat: Spin support cssVar

* feat: Spin support cssVar

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 16:09:35 +08:00
JarvisArt
9a61e98d19
refactor: Progress support css var (#45821) 2023-11-13 16:08:48 +08:00
kiner-tang(文辉)
1abbbe1bdc
feat: transfer support cssVar (#45804)
* feat: transfer support cssVar

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 15:35:39 +08:00
lijianan
684bb15258
feat: App support cssVar (#45806)
* feat: App support cssVar

* fix: fix

* fix: fix

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* Update components/app/style/index.ts

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 15:34:37 +08:00
JarvisArt
a53041f079
refactor: Rate support css var (#45786) 2023-11-13 15:33:55 +08:00
kiner-tang(文辉)
ad9763299c
feat: modal support cssVar (#45798)
* feat: modal support cssVar

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-11-13 15:31:49 +08:00
kiner-tang(文辉)
6c044c7f2d
feat: list support cssVar (#45795)
* feat: list support cssVar

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* Update components/list/style/index.ts

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 15:16:06 +08:00
lijianan
29a427f67d
feat: Flex support cssVar (#45805)
* feat: Flex support cssVar

* fix: fix

* fix: fix

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 15:07:04 +08:00
kiner-tang(文辉)
6c191ab70a
feat: Typography support cssVar (#45818)
* feat: Typography support cssVar

* feat: optimize code
2023-11-13 15:05:27 +08:00
kiner-tang(文辉)
a6cdf3c485
feat: mentions support cssVar (#45796)
* feat: mentions support cssVar

* feat: optimize code
2023-11-13 14:43:28 +08:00
kiner-tang(文辉)
fc62994a1e
feat: tabs support cssVar (#45803)
* feat: tabs support cssVar

* feat: optimize code

* Update components/tabs/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

* feat: optimize code

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 14:18:23 +08:00
c0dedance
149c89259f
refactor: empty support css var (#45802) 2023-11-13 14:13:17 +08:00
kiner-tang(文辉)
ca03c7c53f
feat: message support cssVar (#45797) 2023-11-13 11:47:07 +08:00
kiner-tang(文辉)
cb6d377f61
feat: layout support css variable theme (#45794)
* feat: layout support cssVar

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-11-13 11:24:37 +08:00
JarvisArt
df169cc4c9
refactor: Image support css var (#45783)
* refactor: Image support css var

* Update components/image/style/index.ts

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-13 10:16:35 +08:00
陈帅
496ac3326f
feat: support popupBg and darkPopupBg (#45826)
* feat: support popupBg and darkPopupBg

* fix test
2023-11-13 10:15:07 +08:00
lijianan
55bb516e9e
chore: add jsDoc for cssVar calculator (#45809)
* chore: add jsDoc for cssVar calculator

* fix: add prefix

* fix: add prefix

* fix: add prefix
2023-11-13 09:58:43 +08:00
afc163
abd73e0fd2
style: update carousel dots radius (#45817) 2023-11-13 09:43:47 +08:00
kiner-tang(文辉)
3128539211
feat: menu support css variable theme (#45750)
* feat: layout support cssVar

* feat: menu support cssVar

* feat: menu support cssVar

* feat: menu support cssVar

* feat: menu support cssVar

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-11-13 09:38:05 +08:00
afc163
9db3dc2a48
docs: add some commonly used props of react-slick to antd documentation (#45789) 2023-11-11 12:03:39 +08:00
Lansana Diomande
c73f56e4ea
refactor(list): improve grid gutter type (#45791) 2023-11-10 23:12:29 +08:00
4091164330
chore: addd unit case (#45781)
(cherry picked from commit b21741d7b9)
2023-11-10 18:33:01 +08:00
MadCcc
047bc53920
refactor: Input support css var (#45782)
* refactor: Input support css var

* chore: update type
2023-11-10 17:32:43 +08:00
MadCcc
bacaad0262
feat: calc support no unit (#45775)
* chore: calc support no unit

* test: add test case

* test: add test case
2023-11-10 14:54:16 +08:00
MadCcc
819998c472
Merge pull request #45773 from ant-design/feature-merge-master
chore: feature merge master
2023-11-10 11:23:39 +08:00
MadCcc
4e29e8d1ce
feat: ConfigProvider cssvar support boolean (#45760)
* feat: css var

* chore: fix type

* chore: fix type

* chore: update
2023-11-10 10:02:46 +08:00
kiner-tang(文辉)
5386b6204e Merge branch 'master' into feature-merge-master 2023-11-10 09:52:43 +08:00
二货爱吃白萝卜
f22f61db8a
test: update snapshot (#45770)
* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-11-09 21:58:16 +08:00
二货爱吃白萝卜
c31fc76443
fix: Dropdown with nest menu zIndex error (#45761)
* chore: fix zIndex logic

* chore: detect if needed

* docs: update bug version

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-11-09 19:07:22 +08:00
JarvisArt
5727ce00ef
demo: add tooltip disabled demo (#45748)
* demo: add disabled demo

* demo: Modify tooltip Disable demo Description

* demo: Modify tooltip Disable demo Description
2023-11-09 17:15:21 +08:00
MadCcc
9670a30281
refactor: DatePicker support css var (#45753)
* chore: add token

* refactor: arrow style

* chore: update style
2023-11-09 16:48:45 +08:00
afc163
c2ef52b9ba
fix: Upload should show remove icon when showRemoveIcon is true (#45752) 2023-11-09 16:44:50 +08:00
二货爱吃白萝卜
5261f1e365
fix: Description children missing key (#45757) 2023-11-09 16:37:10 +08:00
lijianan
9aac9415a5
chore(deps): bump @rc-component/tour from 1.10.0 to 1.11.0 (#45751)
* docs: update Tour docs

* chore(deps-dev): bump @rc-component/tour to 1.11.0
2023-11-09 14:50:01 +08:00
0da10b6cca
feat(switch): support for value and defaultValue props (#45747)
* feat(switch): support for `value` and `defaultValue` props

* docs: update docs

* chore: add unit case

(cherry picked from commit d25977cd16)

* chore: update case

* chore: remove skip test case
2023-11-09 13:42:25 +08:00
MadCcc
53b4235796
refactor: useCSSVarCls in Dropdown (#45746)
* chore: update snapshot

* chore: update snapshot

* chore: code clean

* chore: update snapshot
2023-11-09 13:38:00 +08:00
MadCcc
85eea4ff06 Merge branch 'master' into feature-merge-master 2023-11-09 10:27:56 +08:00
MadCcc
452bdcdb53
refactor: select support css var (#45727)
* refactor: select support css var

* chore: code clean

* chore: add useCSSVarCls

* chore: update style

* chore: perf code
2023-11-09 09:35:45 +08:00
vagusX
406e4aeb6f
docs: add Upload disabled demo for debug usage (#45723) 2023-11-08 20:43:18 +08:00
Mattis Abrahamsson
39a5d2b260
docs: Fix typo in Drawer documentation (#45726)
Signed-off-by: Mattis Abrahamsson <60041024+MattisAbrahamsson@users.noreply.github.com>
2023-11-08 19:13:00 +08:00
faruxue
261ba8fe1d
docs: fix TreeSelect demo onChange log (#45722)
Co-authored-by: 伐宿 <fasu@uni-ubi.com>
2023-11-08 16:40:25 +08:00
MadCcc
c3a63a9927
fix: component token should work (#45721) 2023-11-08 16:27:50 +08:00
MadCcc
66df407415
refactor: segmented support css var (#45716) 2023-11-08 15:30:56 +08:00
MadCcc
96fa23ea7c
refactor: Tooltip, Popover, Dropdown, Tour support css var (#45705)
* feat: Tooltip, Popover, Dropdown, Tour support css var

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add test
2023-11-08 14:56:15 +08:00
Kilig
b99902ab76
docs:(Tree): Parameter type repair (#45715) 2023-11-08 14:46:05 +08:00
@linhf2023
299592d9b7
fix(popConfirm): visible prop compatible (#45702)
* fix: visible compatible

* chore: add test

---------

Co-authored-by: linhf123 <wb-lhf780012@antgroup.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-08 13:34:54 +08:00
github-actions[bot]
236ac80adb
chore: auto merge branches (#45710)
chore: feature merge master
2023-11-08 04:12:57 +00:00
5ac3f57b7c
feat(modal): PureRender support custom footer callback (#44985)
* demo: update debug demo

* chore: improve typo

* Revert "chore: improve typo"

This reverts commit d5163f98ececa6266d34d68d9d4bc9f83cf06095.

* chore: update

* chore: update demo

* chore: update snapshots

* chore: update
2023-11-08 11:10:35 +08:00
kiner-tang(文辉)
b3cb6b30ed
fix: update tag default background (#45711) 2023-11-08 10:43:02 +08:00
kiner-tang(文辉)
380649ee76
fix: update tag default background (#45700)
* fix: update tag default background

* feat: remove unused code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-11-07 18:28:09 +08:00
MadCcc
6d11dacdcc Merge branch 'master' into feature-merge-master 2023-11-06 11:31:59 +08:00
MadCcc
3b5a915ddf
fix: notification style width (#45681)
* fix: notification style width

* chore: code clean

* chore: update size-limit
2023-11-06 11:29:41 +08:00
MadCcc
5f1dd427df
feat: css var (#45589)
* feat: css variables theme

* chore: temp

* chore temp

* chore: temp

* chore: temp

* chore: tmp

* chore: temp

* feat: full css variables

* feat: css var

* chore: code clean

* chore: code clean

* chore: bump cssinjs

* test: fix lint

* feat: better key logic

* feat: useStyle add param rootCls for cssVar scope

* chore: fix lint

* chore: code clean

* chore: fix lint

* perf: minimize component token size

* chore: make useId compatible

* chore: code clean

* chore: fix lint

* chore: code clean

* chore: update test case

* feat: genCSSVarRegister

* feat: RPN Calculator

* chore: add test for css var

* chore: code clean

* test: add test for calc

* feat: better calc type

* chore: code clean

* chore: update size limit

* feat: better useCSSVar

* chore: better useCSSVar

* test: add cov

* feat: better calc logic

* test: add test case

* chore: code clean

---------

Signed-off-by: MadCcc <madccc@foxmail.com>
2023-11-06 10:31:51 +08:00
lijianan
3f683d778c
fix: fix App error when component === false (#45671)
* fix: fix error when component === false

* fix: fix
2023-11-05 13:08:52 +08:00
Parsa Arvaneh
f693a6873a
fix(Image): using chinese language in image components API's table (#45673) 2023-11-05 10:30:29 +08:00
Jex
d1ed46938b
type: add generics to AppProps (#45669)
* type: add generics to AppProps

* type: add generics to rootProps
2023-11-04 01:35:40 +08:00
kiner-tang(文辉)
b888f69152
test: fix Slider test case in React 16 (#45664)
* docs: solve error about dropdown

* feat: update snap

* style: fix Upload border color when drag over (#45663)

* style: fix Upload border color when dragover

* Update components/upload/style/dragger.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>

* fix: test case error in React 16

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: Oceansdeep7 <14208796@qq.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-03 21:50:49 +08:00
Oceansdeep7
38c2002144
style: fix Upload border color when drag over (#45663)
* style: fix Upload border color when dragover

* Update components/upload/style/dragger.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-03 19:00:11 +08:00
kiner-tang(文辉)
13ae715c7f
docs: solve error about dropdown (#45662) 2023-11-03 18:59:59 +08:00
afc163
e0a6244303 test: fix test case 2023-11-03 17:59:31 +08:00
f3c37a3be4
refactor(color-picker): rename defaultCollapsed => defaultOpen (#45655) 2023-11-03 16:49:22 +08:00
afc163
321dfd8cc9
feat: show Slider tooltip when focus handler (#45653) 2023-11-03 16:30:04 +08:00
99138cb93e
feat(color-picker): preset colors support collapsing at initialization (#45607)
* feat(color-picker): preset colors support collapsing at initialization

(cherry picked from commit d8975b407f1d5a574cdefafd8be17374a4d5e8af)

* docs: update

(cherry picked from commit 74f6d70ebd22c752f57f559d4222c383fafea63a)

* test: add unit test

(cherry picked from commit 2ef2af49228d3fe672c1b24277f142f54f9b193a)

* chore: update

Co-authored-by: RedJue <RedJue@users.noreply.github.com>

* refactor: rename

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: RedJue <RedJue@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-03 11:47:52 +08:00
MadCcc
52d2439fae Merge branch 'master' into feature-merge-master 2023-11-03 10:18:19 +08:00
Simon He
56c2b56bf2
docs(input): add placeholder (#45643)
* docs(input): add placeholder

* chore: update input-number
2023-11-03 00:42:37 +08:00
MadCcc
95322eaad5
fix: InputNumber in Form with hasFeedback should not lose focus (#45632)
* fix: InputNumber in Form with hasFeedback should not lose focus

* chore: disable lint
2023-11-02 17:15:03 +08:00
叶枫
923aaba047
chore: add lodash eslint (#45627) 2023-11-02 15:10:56 +08:00
KotoriK
d8fbefcd36
feat(Modal): Modal static function accept 'styles' (#45558)
* feat(Modal): modal static function should accept 'styles'

* lint

* Update components/modal/interface.ts

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

* Update components/modal/ConfirmDialog.tsx

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

* Update components/modal/ConfirmDialog.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-02 10:12:41 +08:00
lijianan
b14faf04bf
feat: CP support Dropdown className and style (#45621)
* feat: CP support Dropdown className and style

* test: fix test case
2023-11-02 00:48:26 +08:00
lijianan
f02ce413da
demo: update tooltip demo (#45620)
* demo: update tooltip demo

* fix: fix
2023-11-01 22:27:37 +08:00
lijianan
99faed814a
demo: update Spin demo layout to Flex Component (#45577)
Signed-off-by: lijianan <574980606@qq.com>
2023-11-01 22:26:02 +08:00
leixd1994
46246268ac
docs: add example for autoInsertSpaceInButton (#45608)
* 增加autoInsertSpaceInButton属性的样例代码,防止加错位置

* 格式修改

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

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

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

Signed-off-by: lijianan <574980606@qq.com>

* Update components/button/index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update index.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update index.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-11-01 10:15:29 +08:00
afc163
c1891d8d3b
demo: update Popover demos (#45598)
Signed-off-by: afc163 <afc163@gmail.com>
2023-10-31 20:58:01 +08:00
红果汁
fc5610653e
feat: Implement optionRender API (#45529)
* feat: implement optionRender api

* chore: bump rc-cascader

* chore: bump rc-tree-select

* docs: update demo

* Update components/select/demo/option-render.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/select/demo/option-render.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/select/index.en-US.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* docs: fix doc

* test: update snap

* docs: rename prop

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-31 10:26:53 +08:00
afc163
67c8e8b259
demo: simplify demos (#45585) 2023-10-30 15:02:00 +08:00
MadCcc
31393135a0
fix: optimize TimePicker scrollbar style (#45586) 2023-10-30 14:48:15 +08:00
afc163
7e284736a8
demo: improve popconfirm/popover/tootlip placement demo code style (#45581) 2023-10-30 13:57:57 +08:00
afc163
2dbc6abce8
style: fix Typography code broken border when ellipsis (#45575) 2023-10-30 10:02:02 +08:00
栗嘉男
661f3e8323 Merge branch 'master' into feature-merge-master 2023-10-29 14:04:47 +08:00
lijianan
4b99c4ed31
demo: update Button demo layout to Flex Component (#45566) 2023-10-29 02:11:17 +08:00
George H
8c45c73222
style(data-picker): add time-picker scrollbar styles (#45478)
* style(data-picker): add time-picker scrollbar styles

Signed-off-by: George H <default_hyn@163.com>

* style(data-picker): add time-picker scrollbar styles

Signed-off-by: George H <default_hyn@163.com>

* style(time-picker) :Compatible with firefox

---------

Signed-off-by: George H <default_hyn@163.com>
2023-10-27 10:17:17 +08:00
afc163
670cdf4ed9
docs: Update Table sorter description (#45552)
* docs: Update Table sorter description

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

* Update index.zh-CN.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-10-26 22:32:10 +08:00
Leslie Wu
e9dcc4fea3
docs: update doc for table sorter (#45548)
Co-authored-by: leslie-home <wwwsuonggg@gmail.com>
2023-10-26 21:51:25 +08:00
lijianan
017c04c8a3
feat: BackTop ref support nativeElement (#45547) 2023-10-26 21:00:35 +08:00
MadCcc
62bb2faae9
fix: add default value for gap (#45537) 2023-10-26 15:49:15 +08:00
kyriewen
5a45276565
feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285)
* feat: add useMultipleSelect hooks

* docs: update README

* chore: update size limit

* refactor:  prevSelectedIndex ref to state、initial value

* refactor: useMultipleSelect

* refactor: reset last select key after deselect

* chore: useMultipleSelect params type

* refactor: should params key be in useMultipleSelect hooks

* feat: getKey must be required

* chore: useless code

* refactor: remove useless code

* feat: onItemSelect params event must be required

* feat: remove params event

* chore: remove onItemSelect params event; refactor transfer listBody onClick fnName

* revert(modal): revert modal demo dark

* refactor: props onItemSelect

* refactor: onItemSelect fn name

* refactor: transfer children type

* refactor: renderList props

* test: add test case

* chore: args -> arguments

* test(transfer): add test case

---------

Signed-off-by: kyriewen <64134946+zbw-zbw@users.noreply.github.com>
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-10-26 11:46:22 +08:00
Vyacheslav Sedykh
f3cf13a466
fix(Dropdown): Prevented closing if menu is in multiple mode (#45513)
* fix(Dropdown): Prevented closing if menu is in multiple mode

* Update components/dropdown/dropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Vyacheslav Sedykh <zlav24va@mail.ru>

* test: Added test for dropdown in multiple mode

---------

Signed-off-by: Vyacheslav Sedykh <zlav24va@mail.ru>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-26 10:21:54 +08:00
kiner-tang(文辉)
bceb2e2504 Merge branch 'feature' into refactor-z-index-context 2023-10-24 22:28:30 +08:00
kiner-tang(文辉)
de442ca964
feat: menu support z-index manager (#45498)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

* feat: DatePicker & TimePicker support z-index manager

* feat: menu support z-index manager

* feat: update snap

* feat: update snap

* feat: update snap

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 22:25:32 +08:00
kiner-tang(文辉)
3ec0ec23ee
feat: DatePicker & TimePicker support z-index manager (#45497)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

* feat: DatePicker & TimePicker support z-index manager

* feat: update snap

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 21:54:36 +08:00
kiner-tang(文辉)
e7109d31b0
feat: ColorPicker support z-index manager (#45496)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 21:17:16 +08:00
AlanQtten
41fabbc0be
chore: remove useless code in Form (#45295)
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:45 +08:00
Zhou Bill
a29a0796ae
feat: columnTitle render props (#41937)
* feat: columnTitle render props

* feat: 添加测试

* docs: 修改table rowSelection interface

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:29 +08:00
kiner-tang(文辉)
3cb273803b
feat: SelectLike components support z-index manager (#45494)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 11:49:30 +08:00
Chen_Z
d04e9efe16
feat: config-provider support rangePicker className and style (#45479)
* feat: config-provider support rangePicker className and style properties

* test: add rangepicker className & style test

* chore: change props  verison

* feat:RangePicker className and style properties

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-10-24 00:57:38 +08:00
github-actions[bot]
2940f626d4
chore: auto merge branches (#45501)
chore: merge master into feature
2023-10-23 16:26:10 +00:00
MadCcc
91f77ee6b7
fix: notification blur (#45500) 2023-10-23 23:30:42 +08:00
MadCcc
67165a78fc
docs: live demo (#45383)
* docs: live demo

* chore: bump dumi

* chore: fix lint

* chore: fix lint

* chore: update demo

* chore: bump dumi

* docs: enhance live demo

* docs: update text
2023-10-23 22:49:49 +08:00
kiner-tang(文辉)
6d9db9fd99
feat: dropdown support z-index manager (#45486)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code
2023-10-23 06:46:08 -05:00
kiner-tang(文辉)
e7402691c1
feat: z-index container opt (#45490)
* feat: container opt

* feat: container opt

* feat: container opt

* feat: container opt
2023-10-23 04:16:41 -05:00
kiner-tang(文辉)
a340566cd3
feat: update document about modal (#45483) 2023-10-23 11:19:46 +08:00
Minjie Sun
1fb889011a
type: useAppProps modal type definition (#45462) 2023-10-21 14:14:37 +08:00
yoyo837
77846177bc Merge branch 'master' into feature-merge-master 2023-10-21 09:16:54 +08:00
kiner-tang(文辉)
3627031098
feat: Drawer support z-index manager (#45417) 2023-10-20 06:22:55 -05:00
Gideon
cc0b7fdd8f
demo: keydown bug on custom dropdown menu example (#44983)
Prevent keydown bug when using custom dropdown render in multiple mode Select component. Example case: when pressing backspace on inner dropdown's Input component, the selected option in the Select component also getting triggered by backspace.

Signed-off-by: Gideon <106825924+gidgudgod@users.noreply.github.com>
2023-10-20 18:07:15 +08:00
lijianan
820f26fadf
fix: add React.forwardRef to fix warning (#45390)
* fix: add React.forwardRef to fix warning

* test: add test case

* Update components/float-button/interface.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: rename

* Update components/float-button/interface.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* update ref

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-10-20 17:19:17 +08:00
cheng87126
1203a12567
fix: ColorPicker does not support arbitrary data-* attributes (#45413)
* fix #44341

* update snapshot
2023-10-20 17:10:00 +08:00
vagusX
1c16788dfb
chore: remove useless disabled style in Upload (#45446) 2023-10-20 16:28:42 +08:00
lijianan
30c8e426c3
feat: add transition to spin fullscreen (#45436) 2023-10-20 16:28:24 +08:00
kiner-tang(文辉)
193c3b467e
feat: Tour support z-index manager (#45425) 2023-10-20 02:33:38 -05:00
kiner-tang(文辉)
bf1468a9cf
feat: Tooltip support z-index manager (#45422)
* feat: Tooltip support z-index manager

* feat: optimize code
2023-10-20 01:53:57 -05:00
kiner-tang(文辉)
8c49b38e94
feat: Popover support z-index manager (#45420)
* feat: Popover support z-index manager

* feat: update snap

* Update components/popover/__tests__/index.test.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-20 01:53:36 -05:00
kiner-tang(文辉)
0fd730a107
feat: Popconfirm support z-index manager (#45421)
* feat: Popconfirm support z-index manager

* Update components/popconfirm/__tests__/index.test.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-20 01:53:15 -05:00
kiner-tang(文辉)
bff04cdbfc Merge branch 'feature' into refactor-z-index-context 2023-10-20 14:02:22 +08:00
github-actions[bot]
f25fd3cac7
chore: auto merge branches (#45444)
chore: merge master into feature
2023-10-20 06:01:13 +00:00
kiner-tang(文辉)
d51de67bc8 Merge branch 'feature' into refactor-z-index-context 2023-10-20 10:16:32 +08:00
kiner-tang(文辉)
dde36511e6
feat: Modal & Select support z-index context to manage z-index (#45346)
* feat: z-index manager

* feat: z-index manager

* feat: update snap

* chore: update site-limit

* feat: optimize code

* feat: optimize code

* feat: add test case

* 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-10-19 02:03:20 -05:00
Rafael Martins
cc223a102c
feat(spin): Adds fullscreen property to <Spin /> component (#44986)
* feat: start the implementation of the fullscreen prop in Spin

* docs: change main spin demo

* docs: enhance demo

* test: update snapshot

* fix: address pr comments

* fix: use logical property on fullscreen class

* fix: address pr review

* feat: Added background color token

* fix: remove onClick and change demo

* feat: change spin to white when fullcreen

also use the bgmask as background, removing the bgColor token

* fix: unused import

* test: update snapshot

* Update components/spin/style/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* fix: use white color from token

* fix: not needed interpolation and version

* fix: address pr review

* fix: tip prop was not working

* test: cover tip & fullscreen case

* fix: addrress pr coments

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-10-19 13:47:48 +08:00
afc163
49ef16b5ff
fix: Table sorter tooltip cannot be open when showSorterTooltip is a object (#45403) 2023-10-19 10:08:10 +08:00
二货爱吃白萝卜
2e8e67fcea
feat: support changeOnBlur (#45395) 2023-10-18 13:50:46 +08:00
afc163
8c475a52ea
type: Table pagination.position support none as value (#45398) 2023-10-18 13:33:25 +08:00
二货爱吃白萝卜
3ab42ad0db
feat: support dirty (#45389) 2023-10-17 20:45:05 +08:00
MadCcc
7ceb1fb31c
fix: Notification RTL should have corrent margin (#45386) 2023-10-17 03:57:54 -05:00
JiaQi
fc5abff7d3
style: inline mode form overlap elements on the small screen (#45340) 2023-10-17 15:20:42 +08:00
二货爱吃白萝卜
a337fee815
fix: dropdown not trigger onOpenChange when click menu item (#45378)
* fix: dropdown not trigger onOpenChange when click menu item

* chore: add source

* docs: update

* test: update test
2023-10-17 14:50:54 +08:00
二货爱吃白萝卜
d8140e03b5
Merge pull request #45381 from ant-design/master
chore: feature merge master
2023-10-17 14:06:52 +08:00
二货爱吃白萝卜
11cdac4a02
chore: bump rc-tabs (#45370)
* chore: bump rc-tabs

* chore: update limit

* chore: fix lint
2023-10-17 10:50:12 +08:00
二货爱吃白萝卜
7f9aff2cfb
enhance: auto layout hasSider (#45361)
* enhance: auto layout hasSider

* test: update snapshot
2023-10-16 14:49:01 +08:00
二货爱吃白萝卜
98a8d30439
feat: Tabs items support destroyInactiveTabPane (#45359) 2023-10-16 13:40:47 +08:00
kiner-tang(文辉)
75d4d29ad3
site: update affix demo style (#45358) 2023-10-15 22:19:35 -05:00
kiner-tang(文辉)
442e175194 feat: update snap 2023-10-15 13:09:40 +08:00
lijianan
8b486f3d7f Merge branch master into master-merge-feature 2023-10-15 11:33:10 +08:00
kiner-tang(文辉)
5f000b89f5
docs: update docs about modal (#45345) 2023-10-15 10:36:32 +08:00
lijianan
406817a86a
demo: add border for demo (#45342)
* demo: update demo

* demo: update demo
2023-10-14 11:58:20 +08:00
lijianan
34e0a3e0cf
style: simplify code 2023-10-14 11:57:53 +08:00
mingming-ma
73c0cd7b49
fix: Affix target add listeners protect (#45291) (#45314)
* Fix: Affix target add listeners protect (#45291)

* Update components/affix/index.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-14 10:49:23 +08:00
Alexey Teterin
bce43064ff
fix: CSP nonce attribute should be set to all the style tags (#45326) (#45334)
Co-authored-by: Alexey Teterin <ateterin@naumen.ru>
2023-10-13 23:14:49 +08:00
afc163
e587a5ff68
chore: update select snapshot (#45333) 2023-10-13 20:56:06 +08:00
YDFlame13
da23a00dfa
fix: Button loading={delay: 0} did not show correctly (#45282)
* fix: Button loading={delay: 0} 不显示加载

* fix:add item test to bug 45273

---------

Co-authored-by: wswang9 <wswang9@iflytek.com>
Co-authored-by: YDFlame13 <ydflame@tom.com>
2023-10-13 18:52:47 +08:00
afc163
4650d74f16
style: fix Segmented text jump issue in Safari (#45310)
Co-authored-by: 红 <wxh1220@gmail.com>
2023-10-13 18:39:31 +08:00
二货爱吃白萝卜
44e1493db6
feat: Watermark support inherit to disable passing (#45319)
* docs: init

* feat: support inherit

* test: update snapshot
2023-10-13 15:16:08 +08:00
二货爱吃白萝卜
317dac6a8e
refactor: more cache (#45302)
* chore: cache

* chore: clean up

* chore: clean up

* refactor: part

* chore: bump

* chore: fix lint

* chore: fix lint

* chore: fix alt
2023-10-13 11:54:05 +08:00
MadCcc
bf1b73e902
feat: Input focus style (#45286)
* feat: input focus style

* chore: update

* feat: revert control outline back
2023-10-12 17:24:51 +08:00
JiaQi
7f134954b9
fix(watermark): can be hidden through the Hide Element feature in the browser (#45290)
* fix(watermark): can be hidden through the Hide Element feature in the browser

* chore: add emphasized style

* chore: update snapshot
2023-10-12 13:50:06 +08:00
MadCcc
53034b0e50
fix: Input background should not be transparent when hovered or focused (#45297) 2023-10-12 11:49:37 +08:00
二货爱吃白萝卜
eaf4949ef0
feat: App support component (#45292)
* feat: App support component

* test: update test case

* chore: update ts
2023-10-12 11:08:01 +08:00
二货爱吃白萝卜
012e8781c5
Merge pull request #45271 from ant-design/master
chore: feature merge master
2023-10-12 10:58:20 +08:00
二货爱吃白萝卜
70ce748d57
fix: options missing id (#45287) 2023-10-12 09:43:35 +08:00
梓安
80da4e5885
fix (DirectoryTree) : selectedNodes in onSelect method could not get a value when configuring fieldNames (#45036)
* fix🐛(DirectoryTree): fieldNames support

* fix🐛(DirectoryTree): fieldNames support

* test(DirectoryTree): Update  directoryTree test

* test(DirectoryTree): Update directoryTree test

* chore: simple code

* chore: align logic

---------

Co-authored-by: yuanzhian <yuanzhian@cai-inc.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-10-11 17:03:15 +08:00
MadCcc
e093b100d5
fix: Card head fit small size tabs (#45272)
* fix: Card tabs should fit small size

* chore: update snapshot
2023-10-11 15:43:59 +08:00
二货爱吃白萝卜
000589bf7d
docs: update Flex diff (#45270) 2023-10-11 14:45:09 +08:00
二货爱吃白萝卜
bef9539e22
feat: Table support scrollTo reference (#45245)
* feat: add ref

* feat: table support reference

* chore: rename

* chore: proxy

* test: add test case

* chore: fix lint

* docs: update desc

* docs: update desc

* docs: update desc

* chore: clean up

* chore: fix lint
2023-10-11 13:55:20 +08:00
JiaQi
dd4ef28239
docs: add description of the available components of Space.Compact (#45259) 2023-10-11 10:31:36 +08:00
二货爱吃白萝卜
6af1d95cf4
feat: Input & TextArea support count (#45140)
* docs: init

* chore: update example

* test: update test

* docs: update doc

* chore: fix lint

* chore: update limit
2023-10-10 16:22:23 +08:00
MadCcc
854db006c4
Merge pull request #45225 from ant-design/master
chore: merge master into feature
2023-10-09 14:20:11 +08:00
MadCcc
04c804eb2c
fix: Input addonBg should work (#45222) 2023-10-09 09:41:30 +08:00
afc163
cece6e27df
style: fix Modal.confirm description long text layout (#45212)
* style: fix Modal.confirm description long text layout

* demo: update Modal demos
2023-10-08 16:38:54 +08:00
JiaQi
b57dc7a4cc
fix(typography): menu item title cannot be centered vertically (#41146)
* fix(typography): menu item title cannot be centered vertically

* chore: add example
2023-10-08 09:57:58 +08:00
lijianan
be92498f15
refactor: rewrite Affix CC => FC (#42674)
* fix

* test

* Update index.ts

* fix

* fix

* fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* update docs

* Update components/affix/index.tsx

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix

* test: add test case

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

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

* update demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-07 18:53:14 +08:00
JiaQi
f42d0667c8
fix(Autocomplete): internal input cannot apply fontFamily (#45197) 2023-10-07 17:06:28 +08:00
JiaQi
2f063a26e6
style: inputNumber border unmerged (#45004)
* style: inputNumber border unmerged

* chore: update snapshot
2023-10-07 17:06:10 +08:00
lijianan
e1f3b795e5
Merge pull request #45198 from ant-design/master
chore: merge master into feature
2023-10-07 17:00:49 +08:00
Amumu
485e95236d
chore: update snapshot (#45196) 2023-10-07 03:03:54 -05:00
Adrián Salgado
fc2b4af8cf
fix(SliderTooltipProps): extends from SliderTooltipProps (#44656) 2023-10-07 12:14:30 +08:00
a2192281be
docs: improve document type description (#45189) 2023-10-06 21:27:41 +08:00
ajuner
9af09d56b6
docs(table): update pro-component link (#45118)
Signed-off-by: ajuner <106791576@qq.com>
2023-10-04 21:40:44 -05:00
栗嘉男
ad5efc0fc3 chore: merge master into feature 2023-10-05 03:13:04 +08:00
mingming-ma
a4939fabcf
fix: CheckableTag support ref (#45164)
* fix: CheckableTag support ref (#45070)

* optimize test code (#45070)
2023-10-03 22:59:54 +08:00
Antoni Sierakowski
c3ea21ab82
fix: add missing Tour pl_PL locale (#45166)
Co-authored-by: Antoni Sierakowski <antoni.sierakowski@alphamoon.ai>
2023-10-03 21:58:14 +08:00
栗嘉男
b972466de9 fix: fix 2023-10-03 10:52:04 +08:00
Sven
90d6377d65
fix: Avatar group responsive font not working (#34722)
* fix: Avatar group responsive font not working

* Update index.less

* chore: 兼容IE

* Update components/avatar/style/index.less

* Update avatar.tsx

---------

Co-authored-by: Sven <laishiwen@coding.net>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-10-03 06:56:51 +08:00
Rinku Chaudhari
c4040ec81b
chore: fix docs comments (#45156)
* refactor: convertLegacyProps function moved to buttonHelpers

* docs: spelling and grammar fixes

* docs: fix comments grammar
2023-10-03 05:44:09 +08:00
Jung Min O
3586a7d85f
fix: update ko_KR lang (#45150)
Signed-off-by: Jung Min O <owjs3901@naver.com>
2023-09-30 20:02:48 +08:00
kiner-tang(文辉)
780a50bed0
types: export notification's ArgsProps type as NotificationArgsProps (#45147) 2023-09-30 17:40:44 +08:00
github-actions[bot]
d4cdcefcfc
chore: auto merge branches (#45117)
chore: feature merge master
2023-09-27 12:55:52 +00:00
MadCcc
9f55e6c11a
fix: Button two Chinese chars (#45126) 2023-09-27 20:17:40 +08:00
kiner-tang(文辉)
051a038728
docs: update docs about filter and sorter in table (#45108)
* docs: update docs about Filter and sorter

* chore: trigger argos

* chore: trigger argos

---------

Co-authored-by: kiner-tang(文辉) <134478213+lke-twh@users.noreply.github.com>
2023-09-27 09:45:47 +08:00
二货爱吃白萝卜
7e692ad585
feat: Cascader.Panel support (#45089)
* chore: init

* chore: panel style

* docs: update demo

* chore: fill style

* test: update snapshot

* docs: update demo

* chore: push

* docs: update desc

* chore: fix icons

* chore: use shared hooks

* test: update snapshot

* chore: fix lint
2023-09-26 17:34:49 +08:00
MadCcc
a6c91c5064
fix: DatePicker fontFamily (#45088) 2023-09-26 13:42:56 +08:00
MadCcc
29be72bc38
fix: Tour step.type should work (#45086)
* fix: Tour step.type should work

* chore: code clean

* chore: update memo deps

* chore: code clean
2023-09-26 13:42:43 +08:00
Zhaolin Liang
ef7c500a8e
fix(Button): loading icon appearing when rendering (#45030) 2023-09-26 11:57:03 +08:00
kiner-tang(文辉)
69d048784f
feat: Drawer support classNames (#44935)
* feat: drawer support classNames

* docs: update docs

* feat: bump rc-drawer

* feat: bump rc-drawer

* feat: optimize style

* feat: optimize type

* feat: optimize type

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-25 20:37:37 +08:00
Zong-Ke Zhang
3e70e3175b
docs(Dropdown): Add Docs the pop-up menu position will follow the right-click position (#45076)
* docs(Dropdown): Add Docs the pop-up menu position will follow the right-click position

* Update components/dropdown/demo/context-menu.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Zong-Ke Zhang <65376724+Zzongke@users.noreply.github.com>

---------

Signed-off-by: Zong-Ke Zhang <65376724+Zzongke@users.noreply.github.com>
Co-authored-by: Heising <heising@travelconnect.cn>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-25 20:12:08 +08:00
github-actions[bot]
01a62798a6
chore: auto merge branches (#45067)
chore: feature merge master
2023-09-25 10:15:22 +00:00
二货爱吃白萝卜
ba4c9a1a66
docs: update (#45068) 2023-09-25 17:35:48 +08:00
Amumu
bfc5728ef5
docs: add faq (#45050)
* docs: add faq

* link

* fix docs

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

Co-authored-by: 红 <wxh1220@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>

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

Signed-off-by: Amumu <yoyo837@hotmail.com>

* Update components/upload/index.en-US.md

Signed-off-by: Amumu <yoyo837@hotmail.com>

---------

Signed-off-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 红 <wxh1220@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-25 16:58:04 +08:00
二货爱吃白萝卜
55190b6360
docs: reorder (#45065)
* docs: reorder

* docs: update
2023-09-25 16:48:53 +08:00
kiner-tang(文辉)
ceed98582c
feat(modal): support classNames (#44934)
* feat: modal support classNames

* docs: update docs

* feat: bump rc-dialog

* feat: bump rc-dialog

* feat: update rc-image

* feat: optimize style

* feat: optimize type

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-09-25 14:27:41 +08:00
Isaac Batista
966e5a770f
demo: fix typescript undefined error on search.tsx (#45027)
Without this typescript will not compile

Signed-off-by: Isaac Batista <isaacbatst@gmail.com>
2023-09-25 12:18:20 +08:00
dingkang
2a3815d4df
fix: Typography When setting fontSize to an odd number bug (#45031)
* fix: Typography When setting fontSize to an odd number bug

* chore: update .npmrc to resolve sharp install fail

* fix: retry CI

* chore: update .npmrc

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-25 11:44:59 +08:00
MadCcc
54a2df3f53
fix: input should have correct padding with controlHeight (#45048)
* fix: input should have correct padding with controlHeight

* chore: update snapshot

* chore: update snapshot
2023-09-25 11:44:17 +08:00
github-actions[bot]
db541f9907
chore: auto merge branches (#45047)
chore: merge master into feature
2023-09-25 03:36:55 +00:00
dingkang
3ffe70ae4e
fix: table cellPaddingBlock token bug (#45040)
* fix: table cellPaddingBlock token bug

* style: fix table cellPaddingBlock token bug

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-25 10:49:10 +08:00
二货爱吃白萝卜
3e325f4eed
feat: add fresh prop for tooltip (#45020)
* chore: init

* docs: add fresh

* docs: add faq

* docs: update
2023-09-22 15:45:22 +08:00
MadCcc
3928ce9fc1
fix: Popover shift (#45015)
* fix: Popover shift

* chore: update snapshot
2023-09-22 15:00:44 +08:00
二货爱吃白萝卜
05878dd300
feat: Slider support multiple points (#45000)
* feat: slider support multiple & classNames

* test: update snapshot

* chore: fix lint
2023-09-22 14:19:53 +08:00
MadCcc
431e00b1d0
feat: apply new input component border style (#45009)
* feat: apply new input component border style

* feat: ColorPicker & DatePicker

* chore: fix lint
2023-09-22 13:55:54 +08:00
二货爱吃白萝卜
7e1ecf9133
docs: add faq (#45016) 2023-09-22 13:41:36 +08:00
JiaQi
51fc8dcbcd
refactor(tootip): delete the logic related to the disabled children (#44895)
* refactor(tootip): delete the logic related to the disabled children

* chore: update test case

* chore: update snapshots
2023-09-22 10:11:31 +08:00
JiaQi
1745594d5d
doc: add alert token table (#45003) 2023-09-22 09:57:58 +08:00
github-actions[bot]
081b33d7b8
chore: auto merge branches (#44995)
chore: feature merge master
2023-09-21 09:30:12 +00:00
二货爱吃白萝卜
ef03563334
test: update snapshot (#44989)
* test: update snapshot

* test: update snapshot

* test: fix test logic
2023-09-21 16:37:54 +08:00
二货爱吃白萝卜
65564fccdc
refactor: rm radiusBase (#44980)
* refactor: rm radiusBase

* test: update test case

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-09-21 13:46:31 +08:00
kiner-tang(文辉)
6901513ff5
docs: timer-picker remove clearIcon from document (#44977)
* docs: timer-picker remove clearIcon from document

* docs: select remove clearIcon from document
2023-09-21 11:47:52 +08:00
二货爱吃白萝卜
2329880074
fix: Popover / Tooltip jump when height change (#44976)
* chore: use dynamicInset

* test: update snapshot

* test: update snapshot

* chore: bump rc-trigger

* chore: update snapshot
2023-09-20 19:59:26 +08:00
二货爱吃白萝卜
d03977b113
fix: dropdown should not block ref (#44971) 2023-09-20 16:30:13 +08:00
kiner-tang(文辉)
7d86965239 feat: conflict resolution 2023-09-20 15:00:36 +08:00
kiner-tang(文辉)
05896acbdb feat: remove unused code 2023-09-20 14:45:09 +08:00
kiner-tang(文辉)
768da7ff27 Merge branch 'feature' into feature-merge-master 2023-09-20 14:39:44 +08:00
kiner-tang(文辉)
3cd47b9a4e Merge branch 'master' into feature-merge-master 2023-09-20 14:37:33 +08:00
lijianan
95974ae9e4
docs: update feedbackIcons docs (#44966)
* docs: update feedbackIcons docs

* fix: fix
2023-09-20 14:23:32 +08:00
afc163
5c99a5ee49
type: fix type errors of React.Key (#44938)
* type: fix .dumi typing error

* type: fix React.Key type error

* type: fix React.Key type error

* type: fix React.Key type error

* type: fix React.Key type error

* Apply suggestions from code review

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

* fix: test case

* fix: test case

* chore: use @types/react latest version

* Apply suggestions from code review

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

* chore: update form def

* chore: more ts

* chore: revert demo ts

* chore: bump ver

* chore: fix more

* chore: fix demo

* chore: back of ci

* chore: fix ts

* chore: fix ts

* chore: part of it

* chore: fix ts

* chore: bump ver

* chore: fix lint

* chore: fix

* test: update test

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-09-20 11:01:49 +08:00
MadCcc
76eade855a
fix: Form hasFeedback should passed to children with noStyle (#44937) 2023-09-19 10:27:15 +08:00
3bb3485ac7
fix(Modal): custom footer render error (#44929)
* Revert "refactor: fix compiling (#44616)"

This reverts commit b284648f11.

* feat: modal purepanel support footer render

* demo: update debug demo

* test: update test case

* Revert "test: update test case"

This reverts commit 34d151f866.

* chore: add more unit test case

* Revert "Revert "refactor: fix compiling (#44616)""

This reverts commit 0e054de421.

* fix(Modal): custom footer render errors

* chore: fix TS error

* chore: improvement type

* chore: update

* chore: update

* Revert "chore: update"

This reverts commit c72bb07db9.

* Revert "chore: update"

This reverts commit 9a4276078c.

* Revert "chore: improvement type"

This reverts commit 159e3dc754.

* Revert "chore: fix TS error"

This reverts commit f1a9aa59b2.

* Revert "feat: modal purepanel support footer render"

This reverts commit 68de65e76a.

* Revert "demo: update debug demo"

This reverts commit 6741af239b.

* Update components/modal/__tests__/Modal.test.tsx

Co-authored-by: 红 <wxh16144@qq.com>
Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-18 18:33:25 +08:00
二货爱吃白萝卜
3215a7bb66
fix: extra pos logic (#44922) 2023-09-18 14:06:06 +08:00
afc163
faefc8f6dc
style: fix Select baseline align bug (#44927)
* style: fix Select baseline align bug

* test: update snapshot

* chore: remove unused code
2023-09-18 13:51:17 +08:00
daisy
b24a6465f1
fix(notification): placement bottom animation should be correct (#44918)
* fix(notification): placement bottom animation should be correct

* style: transform -> bottom

* fix: lint
2023-09-18 10:46:47 +08:00
JiaQi
042a2a4681
feat(watermark): support for setting text alignment direction through textAlign (#44888)
* feat(watermark): support for setting text alignment direction

* chore: update snapshot

* chore: change type & update demo

* chore: update font type
2023-09-18 09:56:32 +08:00
github-actions[bot]
f3a4b6c429
chore: auto merge branches (#44915)
chore: merge master into feature
2023-09-17 16:08:27 +00:00
b24cda1f97
docs: update FQA (#44902)
* docs: update FQA [skip ci]

* test(theme): supplement unit test case

* chore: update docs
2023-09-17 16:17:12 +08:00