Commit Graph

22741 Commits

Author SHA1 Message Date
lijianan
480cb3cbc3
fix: remove defaultProps (#37815)
* fix: remove defaultProps

* fix: remove defaultProps

* fix: update snap

* fix: fix

* fix: fix
2022-09-30 15:58:34 +08:00
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups (#37816) 2022-09-30 14:26:41 +08:00
Zheeeng
f5a5077d80
fix: Typography ellipsis percision bug (#37802)
* fix:ellopsis默认fontsize调整为12px

* fix: issue 37791

* test: update snapshot

Co-authored-by: zonghao.jiang <1587315093@qq.com>
2022-09-30 10:58:11 +08:00
lijianan
08188f72ce
style: Code optimization (#37804)
* style: Code optimization

* style: Code optimization

* style: Code optimization
2022-09-30 10:17:49 +08:00
lijianan
3588ae82c1
type: strong type (#37805) 2022-09-30 09:49:28 +08:00
MadCcc
c8f9b31168
fix: password should not have value prop during inputing (#37801)
ref #20544
2022-09-29 23:40:24 +08:00
lijianan
e9ba37917b
type: strong type (#37799) 2022-09-29 21:38:14 +08:00
lijianan
cfdadbf7b5
Merge pull request #37798 from li-jia-nan/dev1
fix: delete useless library
2022-09-29 19:13:35 +08:00
huangkairan
96194e7738
docs(Tabs): wrong size type (#37796) 2022-09-29 19:11:33 +08:00
“konghai”
42ca13d7c3 fix: delete node_modules 2022-09-29 18:53:38 +08:00
afc163
18aca39b9b
docs: fix demo code tsx copy (#37789) 2022-09-29 15:13:32 +08:00
Zheeeng
06e0ae53b8
chore: remove unnecessary type assertsion (#37762) 2022-09-27 21:51:11 +08:00
Zheeeng
844c066d8e
fix: refine type (#37763) 2022-09-27 21:50:35 +08:00
二货爱吃白萝卜
6f1e67d9b8
test: Refactor Spin part test case with fakeTimer (#37759)
* test: Update test case

* chore: fix lint
2022-09-27 17:39:02 +08:00
vagusX
c06a721c61
docs: update changelog for 4.23.3 (#37756) 2022-09-27 16:37:17 +08:00
二货爱吃白萝卜
356715f4a6
fix: Typography tooltip bug (#37754)
* chore: basic

* fix: diff icon logic

* fix: Tooltip logic

* chore: fix lint
2022-09-27 15:56:09 +08:00
vagusX
4293dfa24c
docs: update changelog for 4.23.3 (#37749) 2022-09-27 13:32:21 +08:00
lijianan
a8e59e88f5
fix: fix cicd to update snap (#37748) 2022-09-27 13:06:48 +08:00
William Bergeron-Drouin
24d165ab9b
feat: [Tree] Custom leaf icon (#37144)
* Add ability to customize leafIcon

* Adapt docs

* Update test snapshots

* Update to single prop & adapt demo

* Update tests

* Rename icon type

* Fix docs

* Rename to .tsx and fix types

* Remove useless id properties in test
2022-09-27 12:07:30 +08:00
vagusX
668aa3a862
docs: changelog for 4.23.3 (#37741) 2022-09-27 11:50:20 +08:00
lijianan
f79f4cf05b
style: code optimization (#37743) 2022-09-27 09:57:36 +08:00
vagusX
e862d2422f
fix: use inquirer (#37740) 2022-09-26 20:56:23 +08:00
lijianan
1885860e30
test: migrate part of form tests (#37727)
* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: migrate part of form tests

* test: Fix Form test case

* test: clean up

* test: add className describe

* test: add className describe

* test: add className describe

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-26 09:54:52 +08:00
Wuxh
a70ef1b8da
fix(Badge): fix accidentally rendering an empty element when text props is empty (#37681)
* test(badge): add case

* fix(badge): fix accidentally rendering an empty element when text props is empty

* chore(badge): update demo

* test(badge): update snapshot

* docs: beautify docs

Add several supported ways to describe colors

* test(badge): update snapshot

* chore: update snapshot

* test: update snapshots

* Revert "test: update snapshots"

This reverts commit 2bd11650aea3b3a447a891f09708032f9c41cb3d.

* test: update snapshot
2022-09-24 23:15:22 +08:00
afc163
3ae7703303
chore: improve Input Intl.NumberFormat usage (#37726) 2022-09-24 23:13:24 +08:00
clean99
04c6d622e9
test: refactor card test with user event and testing lib (#37116)
* Card(test): refactor card tab with new lib

* Card(test): refactor card action is number with new lib

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-09-24 19:53:15 +08:00
Zheeeng
e9fd8e3672
fix: Ellipsis row counting (#37700)
* fix: Ellipsis row counting

When the base font-size causes measurement elements with floating offsetHeight, we can only get the rounded number, causes the rows counting incorrect.

* fix: Ellipsis row counting

* chore: update snapshot

* chore: update snapshot
2022-09-24 19:30:51 +08:00
lijianan
802ecf6e9e
style: code optimization (#37718) 2022-09-23 16:11:52 +08:00
二货爱吃白萝卜
f90296b2b3
test: Refactor Affix related test case (#37715)
* test: refactor

* test: Refactor Affix test case

* test: refactor more test case

* test: fix lint
2022-09-23 13:59:21 +08:00
二货机器人
9ff3ba2bd8 test: Clean up useless debug code 2022-09-23 10:48:47 +08:00
Johnny-young
944f69c6a0
fix: Upload image type support heic & heif (#37651)
support apple image format: heic, heif
2022-09-23 10:44:55 +08:00
Vishal Jagtap
e8959e52cd
Docs: Removed react-contextmenu from recommendation (#37656)
* Removed react-contextmenu from recommendation

This repository has been archived by the owner. It is now read-only.

* Update recommendation.zh-CN.md
2022-09-23 09:56:36 +08:00
二货爱吃白萝卜
35f2234fc3
test: Refactor Form part test with jest fakeTimer to avoid CI failed (#37705)
* test: rename form test file to tsx

* test: All in ts

* test: Use fake timer instead

* test: for react 18
2022-09-22 21:24:28 +08:00
hugobarragon
86865f6013
fix PT typo from last mr on transfer locale (#37701)
fix PT typo from last mr on transfer locale
2022-09-22 18:35:39 +08:00
二货爱吃白萝卜
af32d24b5f
chore: warning divider not support text (#37697) 2022-09-22 16:15:00 +08:00
TangLL
a6e620c975
docs: defaultExpandedAll is not exist, should be defaultExpandAll (#37689)
Co-authored-by: nocodeempire <tioy102@gmail.com>
2022-09-22 11:38:17 +08:00
kiner-tang(文辉)
51e47bdbb4
fix: update FilterSearchType type definition (#37610)
* fix: 更新 FilterSearchType 类型描述

* fix: 更新 FilterSearchType 类型描述

* fix: 更新 FilterSearchType 类型描述

* fix: 更新 FilterSearchType 类型描述

* feat: 优化类型

* feat: update snapshots

* feat: add type test case

* feat: remove unused type declared

* feat: lint

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-09-22 10:13:07 +08:00
Dreamcreative
b39130f4f7
feat: Add pt_PT Transfer selectAll/selectInvert (#37682) 2022-09-22 10:11:09 +08:00
binyellow
047432c4ea
docs: modify Tooltip document (#37683) 2022-09-22 10:10:29 +08:00
二货爱吃白萝卜
d9b6bc7539
fix: In shadow root inject style logic (#37677) 2022-09-21 17:43:07 +08:00
二货爱吃白萝卜
c77ae2e4de
docs: Add desc about Text ellipsis (#37670) 2022-09-21 14:11:56 +08:00
afc163
a1d86cbd09
fix: Anchor current not changed (#37644)
close #37627
2022-09-20 11:06:51 +08:00
MadCcc
45585b9478
docs: remove react17 demo (#37641)
* docs: remove react17 demo

* test: fix lint
2022-09-20 10:15:57 +08:00
dependabot[bot]
04cea3cf0d
chore(deps-dev): bump inquirer from 8.2.4 to 9.1.2 (#37636)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.2.4 to 9.1.2.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.2.4...inquirer@9.1.2)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 10:00:05 +08:00
二货爱吃白萝卜
f7782a05a9
fix: Animated default set (#37642)
* fix: Animated default set

* test: Update test case
2022-09-19 23:37:12 +08:00
MadCcc
c15bdcf1dd
style: set tabpane outline to none (#37638) 2022-09-19 21:56:05 +08:00
lijianan
c1ee787c68
fix: eslint error fix (#37630)
* fix: eslint error fix

* chore: update rc-input-number
2022-09-19 16:30:44 +08:00
二货爱吃白萝卜
09b6032ec4
fix: Table column.title missing filters prop (#37629)
* fix: Table title missing filter data

* test: add test case
2022-09-19 15:29:26 +08:00
clean99
82a971a433
test: refactor alert tests (#36954)
* add userEvent dependence

* Alert(test): refactor closable test with userEvent and more precise expect api

* Alert(test): remove duplicate test of closable

* Alert(test): remove duplicate test of closable

* Alert(test): refactor attributes setting tests

* Alert(test): refactor ErrorBoundary tests

* Alert(test): refactor ErrorBoundary tests

* Alert(test): refactor ErrorBoundary tests

* Alert(test): refactor Popconfirm tests

* Alert(test): refactor icon test

* Alert(test): refactor tooltip test

* Alert(test): remove useless descible for perventing nesting

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-09-19 13:41:00 +08:00
lijianan
583d08b473
test: add mockRestore (#37618) 2022-09-19 09:54:55 +08:00