Commit Graph

15582 Commits

Author SHA1 Message Date
JarvisArt
2f623fe553
fix: submenu arrow transition (#39945) 2023-01-01 00:26:54 +08:00
lijianan
5d3381334c
chore: remove useless tsx support (#39934)
* chore: remove useless tsx support

* add

* revert

* add

* fix

* fix

* add test case

* fix
2022-12-31 22:12:30 +08:00
kiner-tang(文辉)
a1a7ef933a
fix: solve selection column cover by other cell when fixed (#39940) 2022-12-31 19:38:47 +08:00
JarvisArt
06e0b35b6e
fix: when table filter, the border will be black (#39938) 2022-12-31 19:28:29 +08:00
Kirubashankar K
d66b2f5a65
feat: add missing ta_IN translations (#39936)
Co-authored-by: kirubashankar <kirubashankar@ghoshak.com>
2022-12-31 19:14:48 +08:00
afc163
fc033aca8c
chore: update table drag demo (#39929) 2022-12-30 21:28:33 +08:00
lijianan
54d7f30018
type: remove ForwardRefRenderFunction (#39924)
* type

* fix
2022-12-30 17:23:39 +08:00
afc163
7db31a1959
docs: clarify Transfer filterOption description (#39916)
close #39907
close #39906
2022-12-30 17:21:21 +08:00
lijianan
a80b39d34d
chore: remove rc-util/addEventListener (#39923)
* chore: remove rc-utils/addEventListener

* fix

* fix
2022-12-30 17:15:54 +08:00
二货爱吃白萝卜
da03c1eb56
fix: tailwindcss reset Image style (#39914)
* fix: tailwindcss reset

* docs: more info

* chore: comment
2022-12-30 11:52:56 +08:00
Wuxh
5f40fe874b
fix: dropdown menu style issue (#39904)
* fix: dropdown menu item in danger

Disable dropdown menu item when type is equal to danger

increase disabled CSS specificity

remove unnecessary changes

fix: remove reordering functions

Remove reordering functions by increasing `disable` class on line 350 CSS specificity

Revert "fix: remove reordering functions "

This reverts commit bd94daaddf973f5f8ef1641ea3081f5aab2fc3a2.

* chore: update style

* chore: update demo

ref: https://github.com/ant-design/ant-design/issues/39322

* test: update snapshot

Co-authored-by: samyar <75088294+samyarkd@users.noreply.github.com>
2022-12-29 21:08:45 +08:00
afc163
cf41f81dc7
chore: replace react-sticky to react-sticky-box in Tabs demo (#39898)
* docs: replace react-sticky to react-sticky-box in Tabs demo

* test: fix test case
2022-12-29 18:37:06 +08:00
lijianan
9aec72c395
chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-29 18:33:13 +08:00
dc77959e7c
fix: useModal default okText (#39884) 2022-12-29 17:05:50 +08:00
李瀚
80f19614be
fix: filtered word error (#39887)
* fix: filtered word error

* Optimize the code
2022-12-29 15:39:41 +08:00
JarvisArt
fbeddb572e
chore: dropdown context-menu demo supports dark mode (#39859) 2022-12-29 14:25:57 +08:00
Amumu
54101c8066
fix: fix filtered update not working (#39883) 2022-12-29 14:14:45 +08:00
lijianan
d55d39b811
type: LiteralUnion optimization (#39871) 2022-12-28 23:59:55 +08:00
lijianan
4e45276c4e
refactor[Wave]: CC => FC (#39705)
* fix

* refactor[Wave]: CC => FC

* fix lint

* fix

* fix

* fix

* add test case

* add test case

* fix test

* fix test

* test case

* add test case

* fix

* fix

* fix

* fix

* raname

* fix

* test case

* test case

* test case

* fix test

* test case

* refactor: Use React way

* test: coverage

* chore: clean up

* rerun fail ci

* fix: React 17 error

* test: fix test case

* test: fix test case

* fix borderRadius

* test: fix test case

* chore: clean up

* chore: clean up

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-28 23:20:22 +08:00
黑雨
bc0930fc57
style: fix input addon misplace when zoom up (#39842) 2022-12-28 18:12:16 +08:00
kiner-tang(文辉)
4f3577976c
fix(table): Sorted/Filtered table fixed column transparent background unreadable (#39012)
* fix: Sorted/Filtered table fixed column transparent background unreadable

* feat: remove redundant code

* Update components/table/style/index.tsx

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

* feat: code optimize

* style: reset format doc

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-28 18:10:11 +08:00
Wibus
ef602f06d9
fix: remove useless tsx support (#39853) 2022-12-28 14:20:52 +08:00
kiner-tang(文辉)
ffdc5c35fd
docs: remove notification.warn(config) (#39852) 2022-12-28 10:25:30 +08:00
二货爱吃白萝卜
809252b431
fix: Slider Tooltip appear motion not working (#39857)
* fix: use native tooltip

* chore: clean up

* test: Update snapshot

* test: Update snapshot
2022-12-28 00:01:45 +08:00
lijianan
0a0291b3fd
fix: fix QRCode style (#39849)
* fix: fix style

* snap

* Update components/qrcode/style/index.ts

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

* rename className

* use token

Co-authored-by: afc163 <afc163@gmail.com>
2022-12-27 19:22:59 +08:00
kiner-tang(文辉)
7cb8b79a6a
fix: tree switcher's background display unexpected in dark theme (#39838)
* fix: tree switcher's background display unexpected in drak theme

* fix: tree switcher's background display unexpected in drak theme

* feat: remove demo
2022-12-27 15:52:32 +08:00
Amumu
7329ac7fc7
refactor: remove shallowequal (#39662) 2022-12-27 15:46:51 +08:00
MadCcc
386588dd2b
chore: update test (#39824)
* chore: update test

* chore: code clean
2022-12-27 11:49:09 +08:00
MadCcc
3a03c7abde
fix: menu slide bar style (#39819) 2022-12-27 10:29:51 +08:00
二货爱吃白萝卜
ff9237064d
fix: Checkbox disabled should support Tooltip (#39829)
* docs: update demo

* test: Update snapshot
2022-12-26 23:35:18 +08:00
JarvisArt
838b08e761
chore: Image preview interactive optimization (#39812) 2022-12-26 16:19:54 +08:00
MadCcc
c1390b20a9
fix: font-family for components (#39806)
* fix: font-family for components

* chore: code clean
2022-12-26 16:08:42 +08:00
MadCcc
663d1454f2
chore: fix ci (#39811)
* chore: fix ci

* chore: code clean

* chore: update form test

* chore: test
2022-12-26 15:48:50 +08:00
lijianan
8180bb983b
docs: use en link in EN_US (#39808) 2022-12-26 11:55:18 +08:00
afc163
e44f11b0f4
style: fix Table filter dropdown broken style (#39805)
close #39799
2022-12-26 11:35:29 +08:00
MadCcc
9fbf80aa8b
type: remove useless internal tag (#39754)
* chore: remove useless internal tag

* docs: add desc
2022-12-26 10:54:53 +08:00
黑雨
74262023ea
docs: update doc (#39753)
* feat: update doc

* feat: update doc

* feat: update doc

* feat: update doc
2022-12-26 10:08:15 +08:00
JarvisArt
a16e2a7bb2
fix: menu inline transition (#39800) 2022-12-25 22:55:47 +08:00
lijianan
fa6c9c15f4
refactor: delete legacy function withConfigConsumer (#39798)
* chore: delete legacy function withConfigConsumer

* fix

* fix
2022-12-25 22:54:56 +08:00
JarvisArt
7be364f3d9
fix: The image preview operation bar is covered during the animation (#39788) 2022-12-25 18:39:19 +08:00
afc163
06bd9d1852
perf: Remove IE11 from browserslist and babel targets (#38779)
* Update package.json

* chore: bump antd-tools

* Update package.json

* fix: browserslist in codesandbox

* chore: upgrade antd tools

* chore: upgrade antd tools

* test: fix Cannot access mockCanUseDom before initialization

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* Update package.json

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-25 18:37:57 +08:00
lijianan
7f89d9a7c9
refactor: use React.useContext() replace <ConfigConsumer /> (#39793)
* feat: use React.useContext() replace <ConfigConsumer />

* fix

* fix

* add
2022-12-25 18:34:42 +08:00
sea、lucky
f488cb871b
fix(antd/transfer): transfer performance optimization while dataSourc… (#39465)
* fix(antd/transfer): transfer performance optimization while dataSource is large

* fix(antd/transfer): unified function format of transKeys util file

* fix(antd/transfer): transKeys Map Structure Adjustment
2022-12-25 15:21:21 +08:00
afc163
c7feef28f2 Update render-in-current.md 2022-12-24 16:06:08 +08:00
Wuxh
951e0e2c79
fix(list): fix error reported due to incorrect paginator parameters (#39681)
* fix(list): fix pagination parameter error

* test: add case

* test: update snapshot

* chore: update case

* feat(util): add mergeProps

ref: 3c87f1c5b1/src/utils/with-default-props.tsx (L5)

* chore: replace method

* chore: rename
2022-12-24 15:05:33 +08:00
Chuns Chen
9d671ed939
fix: table expandable row header has no top left border radius (#39781)
* fix: expandable row table header is rendered as td and has no top left border radius #39769

* test: update expandIconColumnIndex
2022-12-24 14:14:07 +08:00
afc163
47c5f3963c
chore: improve table demo (#39733) 2022-12-23 14:39:07 +08:00
Gabriel Schneider
753172b0df
fix(QRCode): improve en_US locale (#39751) 2022-12-23 12:22:47 +08:00
Wuxh
76241f5d0b
chore(tabs): update demo (#39731)
* 做重复了

* Revert "做重复了"

This reverts commit 79c59e79ea66c6592df9dca0e41e10399044ec7a.

* site(theme): demo block supports no inner margin configuration

ref: https://d.umijs.org/guide/write-demo#%E4%B8%8D%E9%9C%80%E8%A6%81%E5%86%85%E8%BE%B9%E8%B7%9D

* docs(tabs): update demo styles

* chore: update style

* test: update snapshot

* Revert "site(theme): demo block supports no inner margin configuration"

This reverts commit ee2ff25796.

* chore: update

* Revert "chore: update"

This reverts commit bbe449cb3f.

* Revert "Revert "site(theme): demo block supports no inner margin configuration""

This reverts commit 5eac19e7f2.

* chore: convert to debug demo

* chore: use emotion

* test: update snapshot
2022-12-23 12:12:24 +08:00
ChenXiao
70115e75c8
update components/space/style/index.tsx, change flex-baseline to baseline (#39748) 2022-12-23 10:47:26 +08:00
kiner-tang(文辉)
b91bab09b2
fix(table): reset aria-label in table column (#39738)
* feat: reset aria-label in table column

* feat: reset aria-label in table column
2022-12-22 20:47:46 +08:00
afc163
0e98cb572c
style: fix Table header radius when has fixed columns (#39723)
close https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574
2022-12-22 16:51:09 +08:00
MadCcc
3307a8b2a8
fix: table border issue (#39729)
* fix: table border issue

* chore: code clean

* docs: update demo

* fix: table borderRadius

* chore: add comment
2022-12-22 16:03:55 +08:00
azro352
117175ccb2
docs: add documentation in grid about changing the breakpoints values (#39689)
* Add documentation in grid about changing the breakpoints values

* Add sandbox demo

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

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

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-12-22 16:00:21 +08:00
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
二货爱吃白萝卜
52f484d88e
fix: text add btn color in dark mode (#39724) 2022-12-22 11:17:16 +08:00
roottool
9f18f76619
docs: Fix typo (#39722) 2022-12-22 10:29:55 +08:00
JarvisArt
8c61261381
fix: table border adds transition animation (#39713) 2022-12-22 10:11:16 +08:00
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