Commit Graph

15524 Commits

Author SHA1 Message Date
azro352
328a800132
test: add test cases for breakpoints customize (#39697)
Rename useResponsiveObserve to useResponsiveObserver. Add validation of breakpoints values and test
2022-12-22 10:11:08 +08:00
JarvisArt
78592a5596
fix: card extra add padding (#39646)
* fix: card extra add padding

* fix: Correct the cardHeadHeight variable name

* chore: minHeight instead of padding

* fix: Alignment between title and extra in card tablist
2022-12-21 16:14:09 +08:00
MadCcc
527c71d207
docs: table demo in dark mode (#39703)
* docs: table demo in dark mode

* chore: update snaptshot

* chore: update
2022-12-21 15:01:52 +08:00
lijianan
b35fbcf7ac
fix: type definition optimization & add key for useModal (#39701)
* fix: add key for useModal

* fix

* fix

* fix lint

* revert
2022-12-21 14:39:12 +08:00
ChenXiao
e5c60c89b4
fix(grid): justify and align properties are not reactive for Row (#39704)
Co-authored-by: 陈小祥 <xiaoxiang930601@163.com>
2022-12-21 14:16:41 +08:00
afc163
b5f27c8982
fix: upgrade rc-table for a11y issue (#39700)
* fix: upgrade rc-table for a11y issue

* test: add test case for a11y
2022-12-21 14:01:05 +08:00
Martin Litvaj
d93bca1c44
#39694 Fix "two children with the same key" warning when using <App /> (#39695) 2022-12-21 09:09:28 +08:00
xrkffgg
d43b8e71b9
docs: add table rowScope (#39686)
* Update index.zh-CN.md

* Update index.en-US.md
2022-12-20 21:18:05 +08:00
Justin Sun
fdf7ad8d49
type: add hover action type (#39665)
* fix(float-button): add hover action type

* fix(float-button): make oClick ref judgment optional
2022-12-20 00:33:25 +08:00
元凛
5912c0d7b2 chore: fix merge 2022-12-19 20:55:33 +08:00
二货爱吃白萝卜
862231d07b
fix: Tabs inkBar in StrictMode (#39653)
* fix: tabs inkBar in StrictMode

* test: update snapshot

* test: update snapshot
2022-12-19 16:56:32 +08:00
Ayden
e60a7f711a
fix(component): badge auto width (#39605) 2022-12-19 16:54:13 +08:00
MadCcc
64edc6ddb5
chore: update control icon token (#39644) 2022-12-19 15:21:38 +08:00
JarvisArt
1ce7d3a13d
fix: Optimize the custom-dropdown demo style (#39626)
* fix: Optimize the custom-dropdown demo style

* chore: Using the token variable
2022-12-19 14:10:20 +08:00
黑雨
1eaf125528
fix: Fix tour step type (#39382)
* feat: fix-step-type

* feat: fix-step-type

* feat: add test

* feat: update test

* feat: update test snapshots

* feat: update test snapshots

* feat: update test snapshots

* fix: PurePanel style

* test: update snapshot

* feat: update package

* feat: fix-step-type

* feat: fix-step-type

* feat: add test

* feat: update test

* feat: update test snapshots

* feat: update test snapshots

* feat: update test snapshots

* feat: update package

* fix: PurePanel style

* test: update snapshot

* feat: update for checks

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-19 11:34:36 +08:00
lijianan
a0b713c98b
site: cc => fc (#39635) 2022-12-19 11:25:21 +08:00
lijianan
97cfc17278
chore: use const replace var (#39632) 2022-12-19 10:07:52 +08:00
MadCcc
26925bc01a chore: update snap 2022-12-18 15:13:06 +08:00
MadCcc
a5324e8204 Merge branch 'feature' into feature-merge-master 2022-12-18 14:30:52 +08:00
MadCcc
bd15aaedd6 Merge branch 'master' into feature-merge-master 2022-12-18 14:28:58 +08:00
f3231bc375
fix: disabled style miss when has href on Button (#39456)
* fix: disabled style miss when has href on Button

* fix: Space lead to change hover color

* style: format

* fix: use &&& solve type style effect

* fix: replace &&& with .ant-btn&:hover

* chore: add demo

* 更新文档Snapshot

* 更新ci快照
2022-12-17 15:48:29 +08:00
Noel Kim (김민혁)
a14b53b4c2
chore(date-picker): remove non-null assertion (#39514) 2022-12-16 15:52:00 +08:00
lijianan
1f5ab2d6a7
chore: remove lodash/debounce (#39602)
* chore: remove lodash/debounce

* fix test case
2022-12-16 15:02:32 +08:00
lijianan
b82c4bf205
chore: remove lodash/isEqual (#39599) 2022-12-16 11:52:46 +08:00
Chuns Chen
359eaa697b
fix: Table should not warn DefaultProps (#39571)
* fix: Table should not warn DefaultProps

* chore: update table snapshot

* fix: table test fail

* Revert "chore: update table snapshot"

This reverts commit 1afc95b5bda83c109999ff83f505676b4c623202.

* chore: update table snapshot
2022-12-15 20:45:58 +08:00
lijianan
120db80c25
type: Button type optimization (#39533)
* type: type optimization

* fix type

* fix type

* fix type

* update docs
2022-12-15 17:48:29 +08:00
二货机器人
fc3c2f19e6 docs: Fix App typo 2022-12-15 16:03:18 +08:00
二货爱吃白萝卜
b04b759597
docs: Add Form prefix demo (#39580)
* docs: Add prefix demo

* test: update snapshot
2022-12-15 16:01:52 +08:00
azro352
18400fbdee
Make breakpoints use the token feature (#39105)
* Add XXXL size

* Update index.zh-CN.md

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

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Try to use `useToken` for building responsiveMap

* Try useResponsiveObserve

* Fix useResponsiveObserve

* Some try

* Some try

* Some try

* Remove impossible test

* Remove impossible test

* Fix token.screenXSMax

* Try to put test back as token.screenXSMax is fixed

* Remove impossible test now

* Subscribers, subuid and screen are no longer static

* reorganize def

* chore: not affect no-related file

* chore: not affect no-related file

* test: update test case

* chore: adjust memo logic

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-15 14:14:07 +08:00
lijianan
33f81aa01d
demo: update demo (#39576) 2022-12-15 12:06:17 +08:00
黑雨
01ae089b70
doc: Update app (#39572)
* feat: update doc

* Update basic.md

Co-authored-by: lijianan <574980606@qq.com>
2022-12-15 11:40:25 +08:00
MadCcc
dd03795c52
fix: segmented icon margin (#39575) 2022-12-15 11:38:08 +08:00
lijianan
ea43d23489
type: add FloatButtonGroupProps (#39553) 2022-12-15 10:19:22 +08:00
黑雨
49e8c13c24
feat: update app demo (#39347)
* feat: update demo

* feat: update app

* feat: update app

* feat: update app

* feat: update app

* Update index.tsx

* feat: update doc

* feat: update doc

* feat: reset doc

* feat: update doc

* feat: merge feature

* feat: update doc

* feat: update cover img

* feat: update doc

* feat: update doc

* feat: update doc

* feat: update snapshots

* feat: update doc

Co-authored-by: lijianan <574980606@qq.com>
2022-12-14 21:49:41 +08:00
yoyo837
0424ca14cd Merge branch 'master' into mergeMaster 2022-12-14 17:30:07 +08:00
二货爱吃白萝卜
0fffe06bd9
chore: Select virtual=false will bind to real element for a11y (#39550)
* chore: bump rc-select

* docs: update doc

* test: Update snapshot

* test: Update snapshot
2022-12-14 17:16:13 +08:00
e65a18899b
feat[float-button]: add clickOutAutoClose feature (#39501)
* feat[float-button]: add clickOutAutoClose feature

* feat: change sourcecode

* fix: lint ts error

* test: add clickOutAutoClose test

* chore: function rename

* fix: bug

* fix: add dep

* fix: solve lint

* remove clickOutAutoClose api

* chore:format

* 还原md

* Update group-menu.md

* Update FloatButtonGroup.tsx

Co-authored-by: lijianan <574980606@qq.com>
2022-12-14 13:51:57 +08:00
dongfang
bcd32305bb
feat: ConfigProvider support select.showSearch (#39531) 2022-12-14 10:22:17 +08:00
lijianan
1a09cfeb2f
docs: update API (#39539) 2022-12-13 22:18:43 +08:00
dongfang
3039d62a72
fix: Slider tooltip missing animation (#38492) (#39463)
* fix: change duration for zoom-big-fast to token.motionDurationFast

* fix: Slider tooltip missing animation (#38492)
2022-12-13 22:01:25 +08:00
Zhongjan
a44aa120e1
fix(Table): unexpected horizontal scroll bar (#39455) 2022-12-13 21:59:35 +08:00
MadCcc
3daa5a9212
docs: add vite locale docs (#39527) 2022-12-13 18:07:28 +08:00
二货爱吃白萝卜
b4b156f76c
docs: update Transfer demo (#39526)
* docs: update transfer demo

* test: Update snapshot
2022-12-13 17:35:48 +08:00
二货爱吃白萝卜
153a24aa53
docs: update Table asnyc demo (#39524) 2022-12-13 17:04:12 +08:00
Amumu
ca5b9a6ae0
docs: CN it. (#39519) 2022-12-13 15:49:05 +08:00
JarvisArt
ec76041584
feat: The watermark is staggered by default (#39464)
* chore: watermark add utils

* feat: Support watermark interleaved layout

* docs: add watermark docs

* docs: add watermark demo

* test: add watermark test

* test: add watermark snapshot

* feat: The watermark is staggered by default
2022-12-13 15:47:57 +08:00
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf (#39478)
* type: remove tuple

* type: remove tuple

* type: remove tuple

* fix

* fix

* fix type

* fix type

* fix type

* fix type

* fix type

* Update ColorPicker.tsx

* Update components/badge/utils.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* fix type

* fix type

* fix type

* fix

* fix

* fix type

* fix type

* fix type

* update snap

* update snap

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-13 14:57:40 +08:00
MadCcc
a99175db8f
fix: popover arrow bg with custom color (#39517) 2022-12-13 14:41:24 +08:00
二货爱吃白萝卜
fe8d59754e
fix: Modal hooks not pass CP (#39513)
* fix: CP pass not override

* test: Update test case

* docs: missing demo
2022-12-13 13:57:17 +08:00
二货机器人
e2f386ea25 chore: rm conch block 2022-12-13 11:37:01 +08:00
MadCcc
6e2a7e47b6 Merge branch 'master' into feature-merge-master 2022-12-13 11:36:27 +08:00
MadCcc
2d5c8fe408
fix: radio align (#39476)
* fix: radio align

* chore: code clean

* fix: align-self center

* chore: code clean

* chore: code clean
2022-12-12 20:36:35 +08:00
二货爱吃白萝卜
de31c90b08
docs: Adjust Anchor demo (#39488) 2022-12-12 19:44:32 +08:00
Yuki Zhang
977a9a92ff
Fix the issue where the clear icon does not show when hovering over the Select series component under the Space component. (#39468)
* fix: Fix the problem that the clear icon is not displayed when the Select series component hovers under the Space component

* refactor: 修改 Space.Compact css 优先级以及简化调用

* refactor: 修改 Space.Compact 垂直方向 css 优先级以及简化调用

* docs: 添加注释

* fix: lint

* test: update snapshot

* test: update snapshot
2022-12-12 16:36:46 +08:00
lijianan
f820cb257c
docs: update demo (#39475)
* docs: update demo

* update

* update
2022-12-12 11:40:18 +08:00
zqran
cd46d860fd
docs: update links to cn docs (#39469) 2022-12-11 22:02:42 +08:00
MadCcc
3aec05c607
style: change active menu item background and font color (#39439) 2022-12-09 22:04:26 +08:00
lijianan
72ec0cb1f4
chore: code style optimization (#39435) 2022-12-09 18:23:59 +08:00
github-actions[bot]
5d376aefb1
chore: auto merge branches (#39441)
chore: merge master into feature
2022-12-09 10:13:56 +00:00
MadCcc
91f9fc2ff9
perf: token update (#39428)
* fix: token update

* refactor: font map token

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: menu style
2022-12-09 17:52:34 +08:00
ZN1996
e4c81f2716
fix(Cascader): reset margin (#39436)
Co-authored-by: 周楠 <15261864836@163.com>
2022-12-09 17:10:31 +08:00
azro352
a50b4dc189
feat: Update fr_BE internationalization (#39415)
* Add missing fr_BE internationalization

* Fix snapshot due to correction
2022-12-09 15:13:21 +08:00
Amumu
d689c7b855
feat: Remove locale-provider (#39373)
* feat: remove locale-provider

* chore: fix lint

* Empty-Commit

* test: remove test

* Revert "test: remove test"

This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.

* chore: 阶段性兼容

* fix lint

* fix: fix lint

* fix: add index

* docs: update docs

* docs: update

* docs: update

* docs: update
2022-12-09 15:04:08 +08:00
lijianan
dd50c59c9d
fix: floatButton tooltip should support number 0 (#39425)
* fix: tooltip should support number 0

* fix

* update snap
2022-12-09 14:54:21 +08:00
azro352
221e8bd804
feat: add missing fr_CA internationalization (#39416) 2022-12-09 12:47:44 +08:00
JarvisArt
d684b52abf
test: Optimize test cases (#39414) 2022-12-09 10:08:11 +08:00
lijianan
7e821bc8f6
chore: code style optimization (#39405)
* chore: code style optimization

* fix lint

* add size-limit
2022-12-08 22:32:37 +08:00
JarvisArt
6f83c63d74
feat: New Component Watermark (#39064)
* feat: New Component Watermark

* docs: add watermark docs

* docs: add watermark demo

* test: add watermark test

* test: add watermark snapshot

* chore: add jest-canvas-mock

* feat: Watermark calculates the width and height of content by default

* docs: update docs

* docs: update demo

* test: update snapshot

* docs: update docs

* chore: update bundlesize

* chore: Optimize code logic

* chore: update size-limit

* test: update watermark snapshot
2022-12-08 18:06:36 +08:00
xhh0223
451d2f6ee2
feat(Popconfirm): make title bold and add description prop (#39250)
* feat(popconfirm): make title bold and add description prop

* feat(popconfirm): make title bold and add description prop(update demos)

* feat(popconfirm): make title bold and add description prop(the update of demos translation)

* feat(popconfirm): make title bold and add description prop(the update of snapshot)

* feat(popconfirm): make title bold and add description prop(the update of popconfirm md)

* feat(popconfirm): make title bold and add description prop(the update of popconfirm md)2

* feat(popconfirm): make title bold and add description prop(run all test.ts.snaps and update popconfirm)
2022-12-08 16:39:42 +08:00
Ian-Inizias
c2afa97ca1
feat: Basque (eu-ES) translation (#39371)
* Added basque (eu-ES) translation

* Update components/locale/eu_ES.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update docs/react/i18n.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* added test cases

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-12-08 11:04:12 +08:00
afc163
f38178940e
docs: fix components api table (#39380) 2022-12-08 10:18:53 +08:00
afc163
d9d2faf849
docs: improve Radio API table format (#39381)
* docs: fix Radio API table

* docs: fix Radio API table

* docs: fix Radio API table

* docs: fix Radio API table

* docs: fix Radio API table
2022-12-08 10:17:51 +08:00
lijianan
816cf10524
fix: update demo (#39366)
* fix: update demo

* Update components/qrcode/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* Update index.test.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-07 23:32:04 +08:00
Jung Min O
a836a3a3fe
feat: Modal.xxx supports footer (#39048)
https://github.com/ant-design/ant-design/issues/16644
2022-12-07 21:33:44 +08:00
MadCcc
e5a8e035de
docs: update theme editor (#39363)
* docs: update theme editor

* chore: code clean

* chore: code clean

* chore: fix lint
2022-12-07 20:22:15 +08:00
South
7fac457e66
docs: fix Table size default value (#39351)
* docs: Table文档size参数不正确

* docs: table size
2022-12-07 18:39:10 +08:00
lijianan
f75cd075ec
style: code style optimization (#39331)
* style: code optimization

* fix

* add type
2022-12-07 18:27:02 +08:00
afc163
d534575463 Merge branch 'master' into master-merge-feature 2022-12-07 17:14:32 +08:00
Yuki Zhang
cccbab7c6d
fix: disable button focus style in Space.Compact (#39157)
* fix: button hover style in Space.Compact

* fix: button hover style in Space.Compact

* style: disable button focus effect when in compact-item

* chore: update comments

* fix: improve key name

* fix: remove focus style
2022-12-07 17:11:25 +08:00
二货爱吃白萝卜
37c83beeca
fix: Divider horizontal line align (#39339)
* fix: divider hor align

* test: Update snapshot
2022-12-07 14:25:26 +08:00
renovate[bot]
a2305aa291
chore(deps): update dependency scroll-into-view-if-needed to v3 (#39230)
* chore(deps): update dependency scroll-into-view-if-needed to v3

* fix: ts error

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-12-07 13:56:18 +08:00
afc163
a87e68c797 chore: resolve conflict 2022-12-07 12:15:17 +08:00
lijianan
6b44b33eae
test: update snap to fix ci fail (#39336) 2022-12-07 12:05:30 +08:00
afc163
a8dd587971
style: fix Popover width in rtl mode (#39311)
close #39195
2022-12-06 23:29:38 +08:00
MadCcc
7b3adcb5ae
fix: wireframe style for popconfirm (#39313)
* fix: wireframe style for popconfirm

* chore: add demos
2022-12-06 23:14:30 +08:00
wangxingkang
2ad7a98368
chore: unify useContext usage (#39314)
* feat: replace useContext to React.useContext

* docs(checkbox): update defaultValue、value type
2022-12-06 21:09:59 +08:00
huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs (#39290)
* docs: remove v3 to v4 migration docs

* update

Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2022-12-06 20:11:22 +08:00
lijianan
a59058f0b2
type: optimization (#39305) 2022-12-06 18:18:38 +08:00
黑雨
db4ee53ffa
feat : new components app (#39046)
* feat : new components app

* feat: update app

* feat: update app

* feat: update app

* feat: update app

* feat: update app

* feat: update app

* feat: update app

* feat: update style

* feat: update style

* feat: update style

* feat: add style

* chore: code clean

* feat: add prefixCls

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* test: image test

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

Co-authored-by: afc163 <afc163@gmail.com>

* feat : update for reviewer

* feat: update

* feat: update

* feat: update snap

Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-12-06 17:45:10 +08:00
MadCcc
df9154e8ac
fix: Select search style (#39299) 2022-12-06 17:35:01 +08:00
kalykun
88d4b014e2
docs: correct types (#39297) 2022-12-06 17:19:27 +08:00
二货爱吃白萝卜
1dca4eba98
fix: Tree selection style missing (#39292)
* fix: Tree missing selection style

* test: add snapshot

* test: update snapshot

* docs: Update demo
2022-12-06 17:18:05 +08:00
github-actions[bot]
cd8840bf56
chore: auto merge branches (#39295)
chore: feature merge master
2022-12-06 08:55:00 +00:00
Nghiệp
cadab499e1
chore: fix vietnamese typos (#39279)
* chore: fix vietnamese typos

* Update snapshots
2022-12-06 15:32:20 +08:00
lijianan
d17d98f81a
fix: fix style error (#39282)
* fix: fix style error

* fix
2022-12-06 15:17:34 +08:00
Ran Sagy
cfc3aae452
fixed he-il mistakes (#39280) 2022-12-06 10:20:27 +08:00
PisecesPeng
25d9ee096b
docs: fix Grid demo slider tooltip (#39275)
* docs: fix Grid demo slider tooltip

* docs: fix Grid demo slider tooltip

* docs: fix Grid demo slider tooltip
2022-12-06 00:23:29 +08:00
afc163
943df6ac75 chore: resolve conflict 2022-12-05 22:54:40 +08:00
糊涂
c9d8b89e25
docs: improve property description (#39273)
按钮失效状态 》 设置按钮失效状态
2022-12-05 21:01:30 +08:00
afc163
8296b72585
style: fix RangePicker hover range style (#39266)
* style: fix DatePicker hover range style

close #39219

* chore: fix lint
2022-12-05 17:47:12 +08:00