Commit Graph

22512 Commits

Author SHA1 Message Date
Chang Wei
345cbcef0d
style: fix size of close icon on Modal header (#36309)
* fix: update default.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update variable.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update compact.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>
2022-07-06 10:36:04 +08:00
Yunwoo Ji
e503f9d5ae
fix: correct border radius when table has title (#36384) 2022-07-05 17:27:49 +08:00
二货机器人
cff413eb6c
fix: Table hover perf (#36383) 2022-07-05 16:56:29 +08:00
Chang Wei
bfa8aaec5e
feat: Space support align stretch (#36310)
* feat/Space-component-support-align-stretch: support align to stretch

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update document of zh-CN and en-US

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update demo

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update snapshot by command `npm test -- components/space -u`

Signed-off-by: Chang Wei <changwei1006@gmail.com>
2022-07-05 16:37:50 +08:00
github-actions[bot]
e7bc2e2181
chore: auto merge branches (#36379)
chore: merge master into feature
2022-07-05 03:53:24 +00:00
afc163
80e7f7087d chore: merge feature to master, resolve conflict 2022-07-05 11:23:35 +08:00
MadCcc
ab19033876
docs: replace lib with es (#36367) 2022-07-04 22:09:54 +08:00
二货机器人
9bc30d1ed1
fix: ErrorList shaking (#36358)
* fix: ErrorList shaking

* fix: React 18 test case
2022-07-04 13:32:48 +08:00
afc163
b69f2895d9
style: Radio focus shadow should be transparency (#36335) 2022-07-04 13:13:09 +08:00
renovate[bot]
b2c31ae908
chore(deps): update dependency eslint-plugin-unicorn to v43 (#36350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-04 09:47:15 +08:00
MadCcc
62313099bc
docs: v4.21.5 (#36353)
* docs: v4.21.5

* chore: add try time

* chore: update changelog
2022-07-03 12:21:40 +08:00
dingkang
40728fb4dc
test: replace layout test case with test lib (#36323)
* test: replace layout test case with test lib

* test: fix react 18

* test: clean up

Co-authored-by: zombiej <smith3816@gmail.com>
2022-07-02 16:31:38 +08:00
yykoypj
1d82f221b6
test: move test cases to @testing/library for Carousel (#35926)
* test: move test cases to @testing/library for Carousel

* fix: wait for animation
2022-07-02 16:31:13 +08:00
MadCcc
0a7b4d331d
fix: checkbox should be disabled by form (#36345)
* fix: checkbox should be disabled by form

* chore: code clean

* test: update snapshot

* chore: snapshot
2022-07-01 21:29:31 +08:00
MadCcc
8ab7851870
test: update snapshot (#36344)
* test: update snapshot

* test: update snapshot
2022-07-01 20:00:25 +08:00
Yuki Zhang
efe6d7c8a1
test: move test cases to testing lib for Switch (#36326)
* add

* test: wave

* fix: type
2022-07-01 11:55:03 +08:00
Yuki Zhang
201a66793f
test: move test cases to testing lib for Spin (#36317)
* test: move test cases to testing lib for Spin

* fix: types

* fix: lint
2022-07-01 11:53:49 +08:00
Jamki
5f933ebd2b
fix: Fixed an error when the loading property of the Button component… (#36288)
* fix: Fixed an error when the loading property of the Button component was passed into null

* Update components/button/button.tsx

Obviously, this suggestion is more concise , thanks a lot

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

* Update components/button/button.tsx

* Update components/button/button.tsx

Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-30 13:25:47 +08:00
MadCcc
42e030edd9
fix: arrow compatibility (#36266)
* fix: arrow campatibility

* chore: code clean

* chore: rm useless style

* chore: code clean

* fix: use inset

* chore: bundlesize optimization

* chore: rm useless style

* chore: rm useless style
2022-06-30 11:11:01 +08:00
afc163
33400eee8f
chore: reduce css bundle size (#36307) 2022-06-30 10:21:31 +08:00
二货机器人
d24f67f66b
test: Fix table empty test (#36290) 2022-06-29 12:07:28 +08:00
afc163
fe52f2c8dc
style: fix Table shadow bug in nested situation (#36277)
close #36203
2022-06-29 10:10:55 +08:00
dingkang
a2c7ea4ab6
test: replace test case with test lib (#36276) 2022-06-28 18:47:21 +08:00
Alan Deng
bf924df874
style(Divider): replace fixed class name with variable (#36271) 2022-06-28 16:11:19 +08:00
afc163
f4e5e8ddb5
docs: update English sketch file link (#36269)
* docs: English sketch file links from communicatity

* Update resources.en-US.md
2022-06-28 13:06:28 +08:00
afc163
3ee6c47da2
chore: update Belarusian locale (#36265)
* Edited Belarusian locale:
 - Added missed entries
 - Fixed some mistakes

* test: update snapshot

Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>
2022-06-28 12:03:35 +08:00
dependabot[bot]
4439891ced
chore(deps-dev): bump cheerio from 1.0.0-rc.10 to 1.0.0-rc.12 (#36255)
Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.10 to 1.0.0-rc.12.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Changelog](https://github.com/cheeriojs/cheerio/blob/main/History.md)
- [Commits](https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.10...v1.0.0-rc.12)

---
updated-dependencies:
- dependency-name: cheerio
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 21:56:06 +08:00
陈帅
2d233fb147
docs: add 4.21.4 changelog (#36246)
* docs: add 4.21.4 changelog

* fix

* reset
2022-06-27 18:05:48 +08:00
MadCcc
483c8d39bd
refactor: wrap Wave with FC (#36248)
* refactor: wrap Wave with FC

* test: update test case
2022-06-27 16:57:34 +08:00
MadCcc
db62ade5f6
fix: popover arrow support custom color (#36241) 2022-06-27 10:57:42 +08:00
MadCcc
c0411d70d8
chore: dev config (#36240) 2022-06-27 10:43:39 +08:00
renovate[bot]
a613a2643b
chore(deps): update dependency remark-cli to v11 (#36237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-27 01:16:52 +08:00
dependabot[bot]
ee28570b2b
chore(deps-dev): bump @types/jest-image-snapshot from 4.3.2 to 5.1.0 (#36229)
Bumps [@types/jest-image-snapshot](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest-image-snapshot) from 4.3.2 to 5.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest-image-snapshot)

---
updated-dependencies:
- dependency-name: "@types/jest-image-snapshot"
  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>
2022-06-25 16:04:13 +08:00
Tianyuan Zhang
93400e25ec
docs: update Tabs demo code (#36217)
* docs:update demo code

* docs: update Tabs demo code

* docs: update Tabs demo code
2022-06-24 18:08:17 +08:00
afc163
eeedb876c0
chore: fix eslint warning and bisheng terminal log (#36220)
* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md
2022-06-24 16:40:48 +08:00
afc163
d733de8f14
docs: update valueStyle description (#36226)
close #36219
2022-06-24 16:39:21 +08:00
社长长
295f1ee819
docs: fix English FAQ title (#36222) 2022-06-24 15:56:43 +08:00
Alan Deng
02a0e6f160
style: Skeleton.Button square shape style (#36123)
* refactor: Skeleton.Button square shape style

the Button's square shape style is same as Avator's that its width is equal to height,
and the old square shape become the default shape that its width is double size to height.

* fix: `ButtonShapeType` type annotation
2022-06-24 12:30:47 +08:00
afc163
326978e736
style: fix Table expand icon align issue (#36215) 2022-06-24 12:04:28 +08:00
afc163
f8a9cb3498
fix: nested Table margin style (#36209)
* fix: nested Table margin style

* fix: tsx demo

* test: update snapshot
2022-06-24 10:49:59 +08:00
二货机器人
5e8280de88
chore: bump rc-util (#36210) 2022-06-24 01:13:16 +08:00
社长长
478bd6781e
Docs: FAQ add explanation of null in controlled components. (#36082)
* docs: fix Chinese language grammar mistake in FAQ

* docs: FAQ add explanation of null in controlled components

* docs: update null in controlled components FAQ

* docs: update null in controlled components FAQ (add lost word)

* docs: null in controlled components FAQ optimization

* docs: FAQ add explanation of null in controlled components (English)

* docs: update faq docs

* docs: update faq docs(chinese)

* docs: optimize faq docs

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.zh-CN.md

* Update faq.en-US.md

Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-24 00:34:09 +08:00
afc163
7c4e6c4fd3
perf: unify regeneratorRuntime import path for bundle size (#36200)
* perf: unify regeneratorRuntime import path for bundle size

close #36198

* Update package.json
2022-06-23 16:54:20 +08:00
afc163
7357f55d52
fix: Upload listType="picture-card" select button when children is empty (#36196)
* fix: Upload listType="picture-card" select button should be hidden when children is empty

close #36183

* test: fix test case
2022-06-23 16:45:24 +08:00
Dunqing
2971e3b081
fix: Reset the last selection key (#34705)
* fix: reset last selection key

* reset last selection key when deselect

* fix: add test case

* fix: remove unused code

* fix: enzyme bug

* fix: update test

* styles: remove empty line

* fix: lint error

* test: migrate to testing-libary

* fix: xxx.simulate is not a function

* fix: lint error

* fix: use wrong

* fix: solved test not work

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
2022-06-23 16:04:55 +08:00
Dunqing
3ea2817549
fix: type incompatibility in strict mode (#36189)
* fix: type incompatibility

* fix: type
2022-06-23 12:17:05 +08:00
afc163
88415f45e1
chore: fix Menu deprecated warning when item={undefined} (#36190) 2022-06-23 11:25:21 +08:00
Ryan Cavanaugh
726dd859a8
Fix breaks (#36186)
* Added type assertion so function no longer returns any/unknown

* Add type constraint since Object.keys is called on this value
2022-06-23 10:39:05 +08:00
Andrew Horn
1c8415c494
Corrected grammar in comment in hooks.md (#36185) 2022-06-23 10:33:12 +08:00
lijianan
4401c74a16
refactor: performance optimization (#36177)
* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* fix: Code style optimization

* style: format
2022-06-22 21:01:00 +08:00