Commit Graph

17377 Commits

Author SHA1 Message Date
afc163
c656d8baf7
chore: improve select demo description (#46184)
* chore: upgrade select demo description

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

* Update coordinate.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-11-30 14:27:36 +08:00
MadCcc
0f7f0cc6e4
feat: deprecate onAfterChange for onChangeComplete (#46182) 2023-11-30 13:37:46 +08:00
lijianan
55183fa304
type: update FloatButtonProps type with React.DOMAttributes (#46175)
* type: update FloatButtonProps type with React.DOMAttributes

* test: add test
2023-11-30 11:06:41 +08:00
afc163
7488c58e1f
fix: Form label tooltip icon trigger Switch (#46155)
* fix: Form label tooltip icon trigger Switch

close https://github.com/ant-design/ant-design/issues/46154

* chore: fix test case
2023-11-30 09:53:23 +08:00
afc163
005fc972cc
chore: fix form demo style (#46156) 2023-11-29 20:19:49 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks (#46038)
* refactor: genStyleHooks

* chore: update sciprt

* refactor: affix

* refactor: select

* chore: update

* refactor: update

* refactor: update

* refactor: done

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: decrease size limit

* chore: code clean

* chore: code clean

* chore: remove export
2023-11-29 17:23:45 +08:00
MadCcc
bf2d70c7e2
fix: notification icon line-height (#46148) 2023-11-29 11:09:33 +08:00
lijianan
fee85c5fa1
Merge branch master into master-merge-feature 2023-11-29 03:32:56 +08:00
MadCcc
082975e9c4
fix: InputNumber addon in compact (#46130)
* fix: InputNumber addon in compact

* chore: code clean
2023-11-28 17:11:23 +08:00
lijianan
1eee6d90ce
feat: Tab Item support icon prop (#46096)
* feat: Tab Item support icon prop

* Update package.json

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

* fix: fix

* fix: fix

* fix: fix style

* Update components/tabs/style/index.ts

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

* Update components/tabs/style/index.ts

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-28 11:49:10 +08:00
lijianan
bb40c380da
demo: update segmented demo from Space to Flex (#46114) 2023-11-28 11:03:22 +08:00
lijianan
cc5724481c
Merge branch master into master-merge-feature 2023-11-28 07:58:49 +08:00
叶枫
2938a8c828
fix(DatePicker): fix datePicker disabled hover style (#45940)
* fix(DatePicker): fix datePicker hover style

* feat: remove hover css

* fix: lint

* fix: lint

* feat: remove comoponentCls

* feat: 恢复

* feat: use [disabled]

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-11-27 13:56:43 +08:00
lijianan
244339d16e
chore: merge master into feature 2023-11-25 05:25:29 +08:00
xrkffgg
3fbed04e4b
test: update useZIndex test time (#46078)
Signed-off-by: xrkffgg <xrkffgg@gmail.com>
2023-11-24 21:22:16 +08:00
kiner-tang(文辉)
953fe6fa7e
fix: Fix image group preview z index in nested modal (#46035)
* fix: Fixed Image.PreviewGroup preview in a nested modal where z-index Settings did not meet expectations

* fix: Fixed Image.PreviewGroup preview in a nested modal where z-index Settings did not meet expectations

* fix: Fixed Image.PreviewGroup preview in a nested modal where z-index Settings did not meet expectations

* test: update test case

* test: update test case

* bump: rc-menu@7.5.1

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-11-24 16:17:52 +08:00
lijianan
57b5ec4dd6
chore: merge master into feature 2023-11-23 20:43:11 +08:00
max
bb5dd4d3cc
fix(Radio, Checkbox): export required prop type (#46028) 2023-11-23 20:27:22 +08:00
afc163
9f9f64eebd
demo: remove form ref usage from demo (#46046) 2023-11-23 20:21:10 +08:00
lijianan
ea569703e5
refactor: rewrite getAction function to FC (#46032) 2023-11-23 10:19:57 +08:00
lijianan
17dff7c630
chore: merge master into feature 2023-11-23 03:09:24 +08:00
lijianan
d335f856c9
test: remove useless parameter (#46023)
* chore: remove useless parameter

* fix: clear
2023-11-23 02:48:53 +08:00
二货爱吃白萝卜
110e1b3ba8
fix: rollup warning (#46024) 2023-11-22 22:00:59 +08:00
MadCcc
08a85d284c
fix: disabled link button should not have navigate when right click (#46021)
* fix: disabled link button should not have navigate when right click

* chore: update snapshot
2023-11-22 21:09:02 +08:00
MadCcc
80e46b7662
chore: enable cssVar in imageTest (#45985)
* chore: enable cssVar in imageTest

* fix: tree select style

* chore: fix avatar group style

* fix: cascader panel style

* fix: form style

* fix: slider disabled style

* fix: mentions style

* fix: tag style

* fix: tabs style

* fix: Rate style

* fix: table custom token

* chore: update snapshot

* fix: menu style

* fix: InputNumber style

* chore: recover image test

* chore: add css var image test
2023-11-22 20:53:48 +08:00
afc163
b0efed9fd0
style: fix Select search input appearance (#46008) 2023-11-22 19:10:44 +08:00
二货爱吃白萝卜
6aff196c90
fix: Static method provides wrong zIndex context (#46012)
* fix: static confirm should has correct zIndex

* test: update test case

* chore: reorder

* fix: bump logic
2023-11-22 18:02:32 +08:00
二货爱吃白萝卜
e5a69664c3
docs: update demo (#46006) 2023-11-22 14:07:48 +08:00
MadCcc
4203208af5
feat: cssVar could be disabled by set to false (#45987)
* feat: cssVar could be disabled by set to false

* chore: update test case
2023-11-22 09:46:18 +08:00
kiner-tang(文辉)
f67abe4105
feat: pagination support cssVar (#45800)
* feat: pagination support cssVar

* feat: optimize code

* Update check-cssinjs.tsx

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

* feat: pagination css var

* chore: code clean

* chore: update snapshot

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-22 09:43:20 +08:00
MadCcc
b533996d2c
chore: warning for rsc (#45992)
* chore: warning for rsc

* chore: code clean
2023-11-21 19:21:25 +08:00
afc163
37f6d43f17
style: fix Collapse cursor style (#45994) 2023-11-21 19:20:33 +08:00
kiner-tang(文辉)
ef9971c8ee
fix: Fixed image preview in a nested modal where z-index Settings did not meet expectations (#45979) 2023-11-21 15:53:39 +08:00
MadCcc
682904a9ec
feat: preserve breakpoint tokens value (#45981) 2023-11-21 15:26:41 +08:00
红果汁
4baef311f8
fix: color-picker not support form disabled (#45978) 2023-11-21 14:28:50 +08:00
MadCcc
1f61c28bb1
fix: Calender css var NaN (#45973) 2023-11-21 10:58:08 +08:00
Ion Lizarazu
aee10c89b6
improve eu_ES language (#45928)
* improve eu_ES language

* update locale test snapshots
2023-11-20 16:39:41 +08:00
afc163
cb56ddddd1
fix: code ellipsis broken under Layout (#45962)
close #45953
2023-11-20 12:22:29 +08:00
JarvisArt
d8d53f14cf
chore: Delete the rate useless css (#45927)
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-20 10:18:05 +08:00
nanwy
a308dcfa63
docs: update Modal.method docs (#45948)
* docs: update Modal.method docs

* docs: update Modal.method US docs
2023-11-17 18:30:43 +08:00
lijianan
2954c3f60e
feat: Grid support cssVar (#45855)
* feat: Grid support cssVar

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-11-17 16:25:47 +08:00
cc heart
3871763950
refactor: steps support css var (#45878)
* feat: steps support cssVars

* fix: fix style

* Update check-cssinjs.tsx

* fix: fix bug

* style: code format

* fix: fix bug

* refactor: wireframe & tailTop

* wip: fix taiTop

* fix: remove tailTop and use token calc top

fix: remove tailTop and use token calc top

perf: add annotation

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-11-17 15:33:28 +08:00
MadCcc
ff462adfa7 Merge branch 'master' into feature-merge-master 2023-11-17 14:21:30 +08:00
MadCcc
6cfbace3cd
revert: menu token (#45939)
* chore: migrate to webpack@5

* Revert "feat: support popupBg and darkPopupBg (#45826)"

This reverts commit 496ac3326f.

* chore: update
2023-11-17 14:09:58 +08:00
lijianan
a1f77f3694
feat: Table support cssVar (#45856)
* feat: Table support cssVar

* fix: fix

* fix: fix

* Update check-cssinjs.tsx

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

* Update components/table/style/fixed.ts

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

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* feat: optimize token

* chore: update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-11-17 13:46:41 +08:00
二货爱吃白萝卜
dc25579c20
fix: zIndex miss of message (#45911)
* fix: zIndex miss of message

* fix: modal static index

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix zIndex test

* test: update test case

* chore: clean up

* test: coverage
2023-11-17 10:54:19 +08:00
Peach
9078b2b211
feat: export sider context from layout (#45916)
* feat: export sider context from layout

* refactor: use internal naming
2023-11-17 10:44:56 +08:00
JarvisArt
427d1a3eef
refactor: Radio support css var (#45897)
* refactor: Radio support css var

* refactor: Radio support css var

* refactor: Radio support css var

* refactor: Radio support css var

* refactor: Radio support css var
2023-11-16 21:24:26 +08:00
lijianan
4f028874a5
feat: Breadcrumb support cssVar (#45899)
* feat: Breadcrumb support cssVar

* fix: fix

* Update components/breadcrumb/style/index.ts

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

* Update components/breadcrumb/style/index.ts

Co-authored-by: MadCcc <madccc@foxmail.com>
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-16 16:18:43 +08:00
MadCcc
4236abb28c
refactor: wireframe token for Notification and Tour (#45915) 2023-11-16 15:34:24 +08:00
lijianan
b9531997a8
feat: Drawer support cssVar (#45905)
Signed-off-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-16 15:07:32 +08:00
lijianan
43e9785f37
feat: Badge support cssVar (#45906)
* feat: Badge support cssVar

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-11-16 14:49:13 +08:00
JarvisArt
9c29461739
refactor: Switch support css var (#45867)
* refactor: Switch support css var

* refactor: Switch support css var

* refactor: Switch support css var

* chore: delete motion judgment
2023-11-16 14:18:32 +08:00
红果汁
ffe73ac23f
feat: ColorPicker support cssVar (#45868)
* feat: color-picker support cssvar

* fix: replace rootCls

* fix: popover add mergeRootCls

* fix: lint issue
2023-11-16 11:57:10 +08:00
lijianan
e0f8be820a
feat: Descriptions support cssVar (#45900) 2023-11-16 11:48:50 +08:00
MadCcc
2dda417e29
fix: disabled btn with link should not be focused (#45910)
* fix: disabled btn with link should not be focused

* chore: update snapshot

* chore: update snapshot
2023-11-16 11:36:51 +08:00
lijianan
194dbcedfa
feat: Anchor support cssVar (#45808)
* feat: Anchor support cssVar

* fix: fix

* fix: fix

* Update components/anchor/style/index.ts

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

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-16 10:45:15 +08:00
MadCcc
411ca7ab5e
refactor: modal wireframe tokens (#45901) 2023-11-15 21:19:50 +08:00
github-actions[bot]
9e92c73df1
chore: auto merge branches (#45892)
chore: feature merge master
2023-11-15 09:49:13 +00:00
MadCcc
93dcadbae1
refactor: refactor Popover wireframe token (#45891) 2023-11-15 16:22:46 +08:00
MadCcc
78a95cffbb Merge branch 'master' into feature-merge-master 2023-11-15 16:16:20 +08:00
红果汁
038323441c
feat: Cascader support cssVar (#45858)
* feat: cascader support cssvar

* fix: replace rootCls

* fix: add rootCls

* fix: panel add rootCls

* fix: add cascaderRootCls
2023-11-15 16:12:57 +08:00
MadCcc
e3fcec43c6
fix: zIndexPopup should not united (#45889) 2023-11-15 14:31:59 +08:00
红果汁
ec288bc39c
feat: Collapse support cssVar (#45862)
* feat: collapse support cssVar

* Update components/collapse/style/index.ts

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

* chore: clean code

* Update components/collapse/style/index.ts

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

* fix: add missing fontHeightLG

* fix: lineHeight to lineHeightLG

* fix: css

* fix: css

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-15 14:24:05 +08:00
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