Commit Graph

22589 Commits

Author SHA1 Message Date
zombiej
8749c1ae04 chore: merge master 2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
afc163
15b8b85ce8
style: fix Button loading icon margin issue (#36168)
* style: fix Button loading icon margin issue

* test: update snapshot

* test: fix tsx demo error
2022-06-22 12:58:56 +08:00
lijianan
db58f19d8c
style: Remove methed of Array push (#36157)
* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization
2022-06-22 10:06:02 +08:00
二货机器人
58bbae7318
Merge pull request #36156 from ant-design/next-merge-master
chore: Next merge master
2022-06-21 22:11:25 +08:00
zombiej
257d648274 fix: test case 2022-06-21 21:27:41 +08:00
MadCcc
a649267905 chore: remove conflict 2022-06-21 19:49:54 +08:00
zombiej
91245c16ad chore: merge master 2022-06-21 19:40:22 +08:00
lijianan
8227a53791
style: Code style optimization (#36144)
* style: code style optimization

* style: code style optimization

* style: code style optimization
2022-06-21 19:17:20 +08:00
MadCcc
11833c275d chore: add dark theme 2022-06-21 17:17:19 +08:00
二货机器人
9ab8cc44a3
fix: Dropdown with group menu can not close (#36148)
* test: test driven

* fix: Dropdown with Menu list group
2022-06-21 15:48:29 +08:00
pfsu
092bfd7496
docs: update demo code (#36127) (#36143) 2022-06-21 14:09:31 +08:00
MadCcc
d5c23dc265
fix: more colorBgElevated (#36142) 2022-06-21 11:06:06 +08:00
slotDumpling
1d8d871c4b
style: enlarge draggable area for Slider handle (#36018)
* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

* bigger dragable area for slider handle

* Update components/slider/style/index.less

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

* Update index.less

6px

Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:52:03 +08:00
Dennis Chen
24a7da8ea8
docs(Input): add proper type for inputRef (#36135)
* docs(Input): add proper type for `inputRef`

* docs: use `InputRef` instead of `ElementRef`

Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:45:49 +08:00
dependabot[bot]
b7cf4e6850
chore(deps-dev): bump jsdom from 19.0.0 to 20.0.0 (#36133)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 19.0.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:35:17 +08:00
renovate[bot]
5120b38b46
chore(deps): update dependency inquirer to v9 (#36121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:35:00 +08:00
RainyLiao
7045aa7d7b
fix: repeat a css class in readOnly, which has been declared in rc-input-number (#36120)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:28:40 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment (#36126)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
MadCcc
b6bfdedc5d
fix: update token usage (#36137) 2022-06-21 00:35:05 +08:00
MadCcc
1bcfe0cce3
refactor: motion (#36136)
* fix: modal motion

* fix: image motion

* refactor: popover & tooltip motion

* chore: code clean

* refactor: move motion

* refactor

* chore: code clean

* refactor: dropdown support move motion
2022-06-21 00:34:51 +08:00
二货机器人
0ff19bb239
fix: Table multiple dropdown not closed (#36132)
* fix: Table dropdown can not close

* test: Test case

* test: cov

* chore: bump rc-util

* chore: reorder

* chore: bump rc-util

* chore: rm test

* chore: clean up
2022-06-20 23:28:46 +08:00
afc163
8d05774053
fix: Skeleton active style in dark theme (#36116)
close #36114
2022-06-19 14:22:52 +08:00
C. T. Lin
ef286d5eb4
fix: exporting UploadFile from upload (#34733) 2022-06-17 21:34:12 +08:00
MadCcc
5639e1a5ba
feat: update token (#36095)
* feat: update token

* feat: update token

* fix: override ts definition

* fix: rename token
2022-06-17 18:47:47 +08:00
MadCcc
711601e93e
feat: support custom token (#36057)
* feat: useCustomToken

* feat: simplify useCustomToken

* test: fix lint

* feat: genGenComponentStyle

* test: fix lint

* feat: use prefixCls

* feat: default genStyleHook

* test: fix lint

* test: fix lint

* docs: add jsdoc

* feat: remove  in useCustomToken params

* feat: useStyle

* feat: useStyel

* chore: code clean
2022-06-17 18:17:39 +08:00
afc163
4fe88a5577
docs: add locale link in Calender (#36108)
close https://github.com/ant-design/ant-design/issues/36107#issuecomment-1158630726
2022-06-17 17:41:01 +08:00
afc163
ad45f6c185
docs(): release 4.21.3 (#36105) 2022-06-17 15:44:37 +08:00
yykoypj
96ccdfedf1
test: change to fakeTimer when error happens sometimes (#36102) 2022-06-17 15:07:32 +08:00
二货机器人
63fc5055f9
fix: Table customize filterDropdown with Menu should not block default selectable (#36098)
* fix: Table customize Menu should be selectable

* test: Add test case

* test: Update snapshow
2022-06-17 14:37:18 +08:00
Jaylan
f19cf66c88
fix: Typescript - Tree component DirectoryTreeProps, missing Node Type (#36092)
* fix: edit DirectoryTreeProps

* test: add DirectoryTree type test

* fix: edit type

Co-authored-by: JaylanChen <JaylanChen@126.com>
2022-06-17 11:37:57 +08:00
C. T. Lin
89717f1b0f
fix: exporting RefSelectProps from select (#34732) 2022-06-17 09:52:56 +08:00
C. T. Lin
853a04ddce
fix: exporting Rule, FormListFieldData, FormListOperation from form (#34735) 2022-06-17 09:51:36 +08:00
yykoypj
83eb5e5a35
test: move test cases to @testing/library for Upload (#36024)
* test: move test cases to @testing/library for Upload

* refactor: use jest.fn to replace done logic

* test: sample of moving test to testing lib

* test: check for 17

* refactor: manual control timer for React18

* refactor: animateEnd for useless middle state snapshot for 'handle error'

Co-authored-by: zombiej <smith3816@gmail.com>
2022-06-16 23:29:04 +08:00
github-actions[bot]
a5149167d2
chore: auto merge branches (#36070)
chore: next merge master
2022-06-16 04:01:15 +00:00
MadCcc
abfee18ed4 test: fix lint 2022-06-16 11:16:11 +08:00
MadCcc
9dd5e9b5e9 Merge branch 'master' into next-merge-master 2022-06-16 10:46:55 +08:00
Humble
0e6e1c047d
fix:when props.value is not undefined, can't reset value and focus (#34728)
* fix: when props.value is not undefined, can't reset value and focus

* test: add test case

Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-15 14:51:30 +08:00
Yuki Zhang
6195376bd0
test: move test cases to testing lib for Badge (#36033) 2022-06-15 10:43:56 +08:00
Yuki Zhang
88858c7888
test: improve test cases for Statistic (#36034) 2022-06-15 10:38:11 +08:00
MadCcc
25e1d1bc77
docs: 4.21.2 (#36055) 2022-06-15 01:35:02 +08:00
MadCcc
147468a69c
fix: fix incorrect form status with noStyle (#36054)
* fix: form status

* test: update test case
2022-06-15 00:09:31 +08:00
kalykun
524c93642c
docs: fix demos (#36040)
* docs: fix demos

* ++
2022-06-14 14:58:06 +08:00
afc163
c72c70024e
docs: fix menu API table (#36043)
* docs: fix menu API table

* Update index.en-US.md
2022-06-14 11:08:16 +08:00
csr632
29565273cb
docs: title is no loger supported by SubMenuType (#36037) 2022-06-14 11:04:18 +08:00
vagusX
250497acd1
docs: add changelog 4.21.1 (#36022) 2022-06-13 19:30:45 +08:00
二货机器人
c720965d13
refactor: rename of _InternalPanelDoNotUseOrYouWillBeFired (#36028) 2022-06-13 17:55:00 +08:00
iamkun
9cab0f3322
docs: update Day.js doc (#35935)
* docs: update dayjs doc

* docs: update dayjs doc

* chore: update doc

* chore: update doc

* chore: update doc

* chore: update doc
2022-06-13 14:03:43 +08:00
dingkang
52b049d170
test: replace Table part test with test lib (#35989)
* test: replace Table part test with test lib

* test: replace table test with test library

* test: update snapshot

* test: replace last mount

* test: fix 18 testing

Co-authored-by: zombiej <smith3816@gmail.com>
2022-06-13 11:26:16 +08:00
Yuki Zhang
3f822ac43f
test: move test cases to testing lib for Statistic (#36019)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-13 09:05:49 +08:00