Commit Graph

15807 Commits

Author SHA1 Message Date
MadCcc
c5dc6a4b92
fix: steps custom icon size (#40672) 2023-02-10 17:31:30 +08:00
Sunny-117
3cd756a514
chore(test): replace toEqual with toBe for boolean results (#40673) 2023-02-10 16:15:16 +08:00
afc163
e11ef765a1
feat: Image support flip function and fix fallback (#40660)
* bump rc-image 5.15.1

* add flix support

* chore: update snapshot
2023-02-10 00:12:18 +08:00
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00
Eldar Mirzabekov
31cbbce825
fix: add missing translations for ru_RU and uk_UA (#40656) 2023-02-09 16:41:22 +08:00
Wuxh
654897e151
docs(date-pciker): update demo docs (#40653) 2023-02-09 12:59:30 +08:00
lijianan
8ecb4cdc60
docs: update 5.2.0 changelog (#40649)
* update changelog

* update changelog

* update changelog

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

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

* Update CHANGELOG.en-US.md

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

* Update CHANGELOG.zh-CN.md

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

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

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

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-02-09 11:37:40 +08:00
lijianan
9ad1a8e091
docs: fix docs error (#40645) 2023-02-09 00:19:08 +08:00
Riyad Elberkawy
21da39ae33
type: update upload UploadFile type (#40634) 2023-02-08 19:00:25 +08:00
lijianan
9fd6159772
lint: fix eslint error (#40629) 2023-02-08 15:04:32 +08:00
lijianan
57d0fdde8e
fix: deleted margin of the last indicator (#40624) 2023-02-08 10:46:38 +08:00
xrkffgg
c325474047
style: rename fontFamilyCode (#40622)
* style: rename fontFamilyCode

* Update seed.ts

* Update mixins.ts
2023-02-08 10:34:06 +08:00
lijianan
66885f6f5c
docs: adjust the order of Alert (#40623) 2023-02-08 10:27:07 +08:00
github-actions[bot]
e4e94b9144
chore: auto merge branches (#40614)
chore: merge feature into master
2023-02-08 01:11:48 +00:00
Amumu
c412894eba
docs: revert docs (#40615)
* docs: revert docs

* docs: update

* docs: update

* docs: update

* docs: update

* docs: update
2023-02-08 00:32:58 +08:00
Alan
1dded7fd4b
fix(Spin): not close Spin immediately when using delay (#40475)
* fix(Spin): close Spin immediately when using delay

* test(Spin): add delay close test case
2023-02-07 23:46:10 +08:00
lijianan
47d5fd5c93
feat: support indicatorsRender (#40613) 2023-02-07 23:36:52 +08:00
MadCcc
9d4216e565
fix: disabled DataPicker should not have status style (#40608) 2023-02-07 20:58:40 +08:00
黑雨
751bf40f60
feat: Time line data (#40424)
* feat: update timeline to data driven
2023-02-07 16:16:48 +08:00
github-actions[bot]
4ee51e2c2b
chore: auto merge branches (#40583)
chore: master merge feature again
2023-02-07 07:40:42 +00:00
lijianan
2b29093c52
type: update upload fileList type (#40585) 2023-02-07 14:09:45 +08:00
muxin
e5c4bbc693
style(Empty): fix text color in dark theme (#40584) 2023-02-07 12:22:44 +08:00
RamonEspinosa
6b55a32eef
demo: Remove immutability helper (#40556) 2023-02-07 10:13:29 +08:00
David
5b978a2052
feat: Add support for railStyle prop (#40579) 2023-02-07 09:55:20 +08:00
xrkffgg
2a168b1a8c
branch: merge master into feature #40575
branch: merge master into feature
2023-02-06 22:08:19 +08:00
MadCcc
37b1de9091
chore: bump rc-segmented to 2.1.2 (#40567)
* chore: bump rc-segmented

* chore: skip

* chore: not skip
2023-02-06 21:15:43 +08:00
MadCcc
8e5c31413a Merge branch 'master' into feature-merge-master 2023-02-06 10:56:07 +08:00
Alina Andrieieva
ad707df22e
Accessibility fix: aria-label cannot be used with role="presentation". (#40413)
* Acessibility fix: aria-label cannot be used with role="presentation".

* Acessibility fix: added aria-hidden to the wrapper

---------

Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
2023-02-05 20:06:24 +08:00
Yanlin Jiang
8a5cbf330c
fix(space): fix ant-space-item selector (#40554) 2023-02-05 19:58:29 +08:00
lijianan
cffd1e63d4
fix site style (#40550)
* fix site style

* fix md style

* update

* fix
2023-02-05 19:03:59 +08:00
Wuxh
aa918fc552
fix: fix DatePicker input style error (#40549) 2023-02-05 12:23:08 +08:00
lijianan
2ec869132b
docs: update api (#40544) 2023-02-05 11:13:38 +08:00
lijianan
0a75cfe9e2
refactoring: use React.createRef replace ref function (#40538)
* style: use React.createRef replace ref function

* style: use React.createRef replace ref function

* add useRef

* fix

* rename
2023-02-05 10:51:51 +08:00
lijianan
e45a43e6a2
fix: fix site style (#40539) 2023-02-04 21:26:12 +08:00
lijianan
e26e34f301
demo: update demo (#40540) 2023-02-04 21:25:12 +08:00
Martin Litvaj
ec190c454a
Export Breakpoint, ThemeConfig, GlobalToken types (#40508) 2023-02-04 21:12:10 +08:00
JiaQi
121036348a
docs(select): Make size demo check the default value (#40536)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-02-04 13:12:30 +08:00
Amumu
b84497cae2
feat: slider add support for disable keyboard events (#40526)
* feat: add support disable keyboard events

* docs: add docs and types
2023-02-03 15:16:27 +08:00
MadCcc
12596a06f2
fix: optimize arrow style (#40521)
* perf: optimize arrow style

* chore: code clean

* chore: code clean
2023-02-03 14:36:46 +08:00
MadCcc
421ae105ad
refactor: adjust boxShadow token (#40516)
* refactor: adjust boxShadow token

* chore: code clean
2023-02-03 11:20:21 +08:00
Roman Soroka
619814c005
fix: Table filter does not work if column has grouped header #40203 (#40463)
* fix: Table filter does not work if column has grouped header #40203

* fix: Table filter does not work if column has grouped header #40203

* fix: Add test case

* fix: Fix test 18

* fix: Fix tests
2023-02-02 19:52:10 +08:00
afc163
def02d74dc
chore: remove Select hover undefined line width (#40446)
* fix: Select hover undefined line width

* Apply suggestions from code review

* Update components/select/style/index.tsx
2023-02-02 19:47:08 +08:00
linxianxi
590b084565
demo: add table drag sorting handler demo (#40346)
* demo: add table drag sorting handler demo

* update snapshot
2023-02-02 10:54:13 +08:00
@linhf2023
83cfad4714
fix: Add ref to Collapse and Panel component (#40443)
* chore: update rc-collapse to 3.5.x

* feat: Add ref to Collapse and Panel component

* test(collapse): add ref case

* update snapshot

* Revert "update snapshot"

This reverts commit 1d4710a8db4dd2dec552e5b8d0599f3a1c3cc7d0.

* chore(deps): bump rc-collapse

* chore: update
2023-02-01 22:55:41 +08:00
MadCcc
9b25e1bd15
fix: tabs overflow unexpected height (#40488)
* fix: tabs overflow unexpected height

* chore: code clean
2023-02-01 15:59:42 +08:00
MadCcc
e060da33fd
fix: Progress success should have animation (#40487) 2023-02-01 12:43:18 +08:00
Rinku Chaudhari
8fc56256e7
ts(Tree.tsx): translated chinese ts defintions to english (#40445) 2023-02-01 11:22:29 +08:00
Wuxh
218d8f441c
chore: Fix word spelling errors (#40472)
* chore: Fix word spelling errors

* chore: update

* chore: Argument name of useMessage (#1)

---------

Co-authored-by: luo3house <96865086+luo3house@users.noreply.github.com>
2023-02-01 10:14:21 +08:00
lyn
0ab8419d6b
docs: update Button/Segmented docs (#40461) 2023-02-01 10:11:53 +08:00
Wuxh
d93bf3c544
fix: fix Select component placeholder style issue (#40477) 2023-01-31 16:53:49 +08:00
Wuxh
926bf87af9
fix: fix Message component icon style (#40471)
* fix: fix Message component icon style

* chore: update
2023-01-31 14:33:59 +08:00
Danial Soheili
6ff094efba
Feat/upload list shape (#40134)
* 💄 STYLE: add **picture-circle** to `listType`

* 📖 DOC: update API table

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

Co-authored-by: lijianan <574980606@qq.com>

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

Co-authored-by: lijianan <574980606@qq.com>

* Update components/upload/Upload.tsx

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

* 👌 IMPROVE: classNames

* 👌 IMPROVE: add missing className

* 📖 DOC: update Upload demo for icons

* 👌 IMPROVE: classNames order

* 🧪 TEST: update snapshots

* 👌 IMPROVE: Upload list classNames & snapshots

* 📖 DOC: add new demo & revert previous ones

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

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

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

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

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

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

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-01-31 14:31:34 +08:00
MadCcc
0dad66c0fb
feat: recover v4 table style (#40469)
* Revert "fix: when table filter, the border will be black (#39938)"

This reverts commit 401ef66111.

* feat: revert v5 table style
2023-01-31 14:24:12 +08:00
二货机器人
d2aa0f8b5d chore: fix lint 2023-01-31 10:33:56 +08:00
二货机器人
b02b7aeadb chore: merge master 2023-01-31 10:21:17 +08:00
luo3house
bb0f4d02ee
docs(App): translate (#40460) 2023-01-31 09:53:11 +08:00
MadCcc
217d1a1e03
fix: Input should hide webkit cancel button (#40457) 2023-01-30 17:31:10 +08:00
fish yu
550334ff92
fix(Switch): fixed text layout problem (#40453)
Co-authored-by: yupengfei <yupengfei@xiaomi.com>
2023-01-30 16:31:54 +08:00
二货爱吃白萝卜
846135216a
chore: adjust Empty default color in dark theme (#40447)
* chore: adjust color

* chore: adjust color

* test: patch test case

* chore: clean up
2023-01-30 10:09:35 +08:00
Danial Soheili
cac6d5c42f
fix: Table scroll shadow in rtl mode (#40441)
* 💄 STYLE: fix Table's scroll shadow in rtl mode

* Revert "💄 STYLE: fix Table's scroll shadow in rtl mode"

This reverts commit 06c9249f70.

* 💄 STYLE: use logical properties
2023-01-29 20:46:13 +08:00
weited
45b65f7991
fix: address mock data city spelling error (#40431) 2023-01-29 12:46:00 +08:00
JiaQi
62d6c713df
docs(tabs-en): fix tabPosition description (#40434)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-29 12:31:34 +08:00
lijianan
758a28c93e
test: remove useless branch (#40367) 2023-01-29 12:30:46 +08:00
lijianan
08a457c60e
fix: should not throw error when percent is null (#40378)
* fix: should not throw error when percent in null

* fix

* fix

* fix
2023-01-29 11:50:30 +08:00
lijianan
cb95c8a3b9
fix: avatar and title are misplaced (#40395)
* fix: avatar and title are misplaced

* fix

* fix

* fix
2023-01-29 02:26:28 +08:00
lijianan
ba8e646346
docs: adjust the sample code to React 18 (#40372)
* docs: Adjust the sample code to React 18

* fix
2023-01-29 00:28:59 +08:00
二货爱吃白萝卜
1898c5b3c7
test: fix test failed (#40427)
* chore: bump jest

* test: fix table filter test

* test: fix table basic test
2023-01-28 22:44:37 +08:00
Martin Litvaj
ba99c27003
Export GlobalToken type (#40384) 2023-01-24 17:42:42 +08:00
Martin Litvaj
0bf4a3e15b
Export ThemeConfig type (#40370) 2023-01-23 19:24:05 +08:00
lijianan
b6899877c3
demo: update Skeleton demo (#40360) 2023-01-22 00:50:19 +08:00
JiaQi
9d51345f90
feat(Collapse): Collapse support for setting size (#40286)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-21 18:45:09 +08:00
JiaQi
de44c4c9cd
chore(Typography): Introduce AutoSizeType correctly (#40361)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-21 17:33:20 +08:00
lijianan
ff0f0704e7
demo: update Card demo (#40357) 2023-01-21 12:39:02 +08:00
lijianan
b6c32f6a58
demo: update Avatar demo (#40356)
* demo: update Avatar demo

* ci

* ci

* add margin
2023-01-21 12:38:47 +08:00
afc163
467741f558
fix: Dropdown submenu wrong position (#40349) 2023-01-21 12:35:52 +08:00
lijianan
174b389b00
demo: update CP demo (#40358) 2023-01-21 12:35:21 +08:00
JiaQi
79c33e474e
fix(Input): Fixed suffix not changing color with status (#40344)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-20 21:15:11 +08:00
二货爱吃白萝卜
e9273abe3d
fix: Badge findDOMNode warning (#40347)
* fix: findDOMNode warning

* test: add test case
2023-01-20 21:06:13 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName (#40217)
* chore: init test

* test: rootClassName inject

* test: part of test

* chore: patch qrcode rootCls

* chore: part rootClassName

* chore: part rootClassName

* test: more test

* test: more test

* test: more test

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* test: more test

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: fix lint

* chore: fix lint

* chore: ignore part of lint

* test: update snapshot

* test: fix test case

* chore: fix node test

* chore: adjust render logic

* fix: test

* test: update snapshot

* test: update

* refactor

* chore: fix require module logic
2023-01-20 11:03:50 +08:00
MadCcc
662f78ac01
fix: motionEaseInQuint value (#40133) 2023-01-20 10:48:33 +08:00
MadCcc
40944a1c02
perf: only one parent selector in style (#40325)
* chore: add parent selector

* chore: update lint script

* chore: code clean

* perf: style

* chore: remove demo test cssinjs

* fix: input group
2023-01-20 10:31:27 +08:00
lijianan
c054a2bb80
chore: update demo style (#40336)
* fix: update demo style

* update snap
2023-01-19 22:36:27 +08:00
lijianan
4cace761da
fix: delete useless keys to prevent page jitter caused by remounting component (#40327)
* fix: remove useless key

* fix
2023-01-19 18:05:54 +08:00
二货机器人
56f76c79ec chore: feature merge master 2023-01-19 17:21:02 +08:00
二货爱吃白萝卜
1bcb25166b
test: update snapshot (#40328) 2023-01-19 17:14:49 +08:00
lijianan
b9a6b7b578
demo: update demo (#40318)
* demo: update demo

* add form

* clear

* add Select

* add

* fix style

* fix style

* fix

* revert
2023-01-19 15:37:54 +08:00
Simón Posada Fishman
73a71967c5
Focus outline: lineWidth -> lineWidthBold (#40291)
Instead of multiplying by 4 lineWidth, simply use lineWidthBold.

This makes it possible to customize the focus outline line width with the theme config.
2023-01-19 11:51:46 +08:00
luo3house
98cf6b582e
fix(wave): validate detached dom node's wave style (#40307) 2023-01-19 11:50:12 +08:00
kiner-tang(文辉)
8b3868ac63
feat(tooltip): tooltip support arrow prop (#40234)
* feat: tooltip support arrow props

* docs: update docs

* chore: update rc-tooltip version

* feat: update snapshots

* feat: update snapshots

* style: format code

* Update components/tooltip/index.tsx

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

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

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

* Update components/tooltip/demo/arrow.md

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

* Update components/tooltip/demo/arrow.md

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

* feat: code optimize

* docs: update docs

* feat: code optimize

* feat: del doc

* feat: update snapshots

* feat: update snapshots

* feat: update snapshots

* feat: refactor dropdown arrow style

* feat: comment

* Update components/tooltip/demo/arrow.tsx

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

* feat: popover support arrow prop

* feat: tour arrow style optimize

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update test case

* feat: update test case

* feat: update test case

* Update components/popover/index.tsx

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

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

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

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-19 11:21:05 +08:00
lijianan
d549964493
demo: update demo (#40313)
* demo: update demo

* add

* fix lint
2023-01-18 19:20:40 +08:00
lijianan
ba38ef6804
demo: update demo (#40306) 2023-01-18 15:57:50 +08:00
ChenXiao
0e9623ccb0
fix(Breadcrumb): fix wrong overlay deprecation warning in Dropdown when use Breadcrumb with menu props (#40211)
* fix(Breadcrumb): wrong overlay deprecation warning in Dropdown when use Breadcrumb with menu props

* fix(Breadcrumb): fix wrong overlay deprecation warning in Dropdown when use Breadcrumb with menu props
2023-01-18 15:39:00 +08:00
lijianan
3892ce3c6d
chore: remove useless code (#40303) 2023-01-18 14:46:01 +08:00
lijianan
26ec8fcdc9
demo: update demo (#40295)
* demo: update demo

* update demo

* update demo
2023-01-18 14:19:59 +08:00
Rinku Chaudhari
055624f85b
reformat/typo: removed useless ts-ignore and 'ignore' typo fix (#40298)
* reformat/typo: removed useless ts-ignore and 'ignore' typo fix

* fix: components/version/index.ts typescript error

Co-authored-by: rinku.chaudhary <rinku.chaudhary@amniltech.com>
2023-01-18 13:37:44 +08:00
René Wang
a2980e3d57
lint: remove useless ts-ignore comment (#40289) 2023-01-18 10:07:16 +08:00
二货爱吃白萝卜
cc1870d8bd
chore: add linter of not selector (#40264)
* chore: add linter of not selector

* chore: update tree style

* fix: DatePicker

* fix: compact

* fix: compact vertical

* perf: style

* fix: vertical compact

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-17 17:51:59 +08:00
Danial Soheili
164ea65250
Bugfix/modal destroy all with context (#40281)
* 🐞 FIX: destroyAll not working with useModal

* 🧪 TEST: add test

* Update components/modal/useModal/index.tsx

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

Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-01-17 14:54:34 +08:00
JiaQi
a713bf7978
fix(Message): Message global static method 'config' setting duration is invalid (#40232)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-17 11:15:14 +08:00
Danial Soheili
a91ef95184
💄 STYLE: Button's color should override child anchor's color (#40269) 2023-01-17 10:04:12 +08:00