Commit Graph

14588 Commits

Author SHA1 Message Date
lijianan
3e2e12e98e
fix: delete defaultprops (#37827) 2022-10-01 21:58:46 +08:00
Nikita Dmitrienko
5132acfd7e
Fix a typo (#37826) 2022-10-01 09:31:26 +08:00
lijianan
ddaead6777
fix: delete defaultprops (#37822)
* fix: delete defaultprops

* fix: delete defaultprops
2022-09-30 17:44:24 +08:00
Zheeeng
c569631f51
chore: fix typo customer (#37820)
* chore: prefer using @internal annotation over other markups

* fix: typo
2022-09-30 16:59:29 +08:00
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
huangkairan
96194e7738
docs(Tabs): wrong size type (#37796) 2022-09-29 19:11:33 +08:00
二货爱吃白萝卜
f39a861c07
refactor: Use new rc-dialog (#37790)
* refactor: Use new rc-dialog

* chore: bump rc-image also

* fix: timeout order

* test: Update snapshot
2022-09-29 16:23:38 +08:00
kiner-tang(文辉)
f6a3f40308
feat(table): support close fn to close filter dropdown only (#37745)
* feat: support close fn to close filter dropdown only

* feat: update demo

* feat: reset change

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-09-29 14:15:11 +08:00
二货爱吃白萝卜
f4859202f5
fix: Nest Drawer default open show order (#37767)
* chore: bump drawer

* docs: Drawer test demo

* test: Update snapshot

* docs: Update demo

* chore: fix nest style

* chore: trigger CI

* chore: modify bundle size
2022-09-29 00:05:37 +08:00
二货机器人
7dbc5b735a test: Update snapshot 2022-09-28 17:29:47 +08:00
二货机器人
437182b2e6 test: Update snapshot 2022-09-28 15:12:47 +08:00
二货机器人
940bff85d1 chore: fix lint 2022-09-28 15:00:27 +08:00
二货机器人
7b0b00a26b chore: fix lint 2022-09-28 14:37:04 +08:00
二货机器人
069e44bcc3 chore: merge master 2022-09-28 12:01:20 +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
二货爱吃白萝卜
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
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
lijianan
f79f4cf05b
style: code optimization (#37743) 2022-09-27 09:57:36 +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
Haniel Cui
1e2946ac3e
feat: bump rc-image version, Image add preview.scaleStep prop (#37340)
* feat: bump rc-image version, Image add preview.scaleStep prop

* test(image): update test demos

* fix(image): fix image demo lint error
2022-09-24 19:51:26 +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
二货爱吃白萝卜
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
杨腿_
0054ff9dfd
feat: add icon to collapsible (#37566)
* feat: add icon to collapsible in collapse

* fix: typo

* Apply suggestions from code review

* test: update snapshot of collapsible.md

* feat: edit api support version

* feat: edit api support version

* fix: reinstall modules and update snapshots

Co-authored-by: yangchen7 <yangchen7@360.cn>
Co-authored-by: afc163 <afc163@gmail.com>
2022-09-20 19:32:18 +08:00
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form (#37628)
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态

* Update components/checkbox/Checkbox.tsx

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

* feat: reset mergedSize change

* feat: reset mergedSize change

* Update components/checkbox/Checkbox.tsx

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

* feat: 优化 Checkbox 组件 disabled 逻辑判断

* Update components/switch/index.tsx

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

* feat: remove upload default value

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-20 16:48:59 +08:00
afc163
a1d86cbd09
fix: Anchor current not changed (#37644)
close #37627
2022-09-20 11:06:51 +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
黑雨
91821d4d3a
feat: select edit demo to data driven (#37601)
* feat: select edit demo to data driven

* feat: edit demo to data driven

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-19 18:01:16 +08:00
二货机器人
cdc20027b5 chore: merge master 2022-09-19 17:09:36 +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
kiner-tang(文辉)
2415c0f636
feat: Badge support colorful custom count style (#37609)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-09-19 11:52:17 +08:00
黑雨
87aad19fc8
feat: AutoComplete edit demo to data driven (#37592)
* feat: edit demo to data driven

* feat: update lint

* feat: update lint
2022-09-19 11:28:36 +08:00
黑雨
8404db403a
docs: Tree select data driven (#37622)
* feat: tree-select edit demo to data driven

* feat: update for lint
2022-09-19 11:00:17 +08:00
lijianan
583d08b473
test: add mockRestore (#37618) 2022-09-19 09:54:55 +08:00
二货爱吃白萝卜
b4898946ea
fix: visible follow up of confirm back to true (#37613) 2022-09-18 11:22:05 +08:00
edc-hui
e3f0c5992d
fix(Card): with tabList props still warning deprecated TabPane and update jest snapshot (#37537) 2022-09-17 14:45:05 +08:00
edc-hui
ff6fd118de
fix(Table): filterSearch function does not execute when filterMode is tree (#37587) 2022-09-17 14:22:26 +08:00
二货爱吃白萝卜
646b71b418
fix: Tooltip not override children className when it's not a string type (#37598)
* fix: Tooltip not override children className when it's not a string type

* chore: bump rc-select
2022-09-17 13:06:24 +08:00
黑雨
65f067eb13
feat: Steps supports items (#37531)
* feat: support items

* feat: update demo

* test: update package

* test: update use type

* test: update for test

* test: update for lint

* feat: update doc

* test: update for lint

* test: update for lint

* test: update for lint

* test: add deprecated dome

* test: add deprecated dome

* doc: update doc

* feat: update package

* test: add test case
2022-09-16 15:52:14 +08:00
bowen-wu
3619caf1b4
refactor: delete deprecated React.ReactChild (#37551)
use React.ReactElement | string | number to replace the deprecated React.ReactChild
2022-09-16 09:59:38 +08:00
binyellow
130b7c222b
docs: modify the onChange description of the Upload document (#37553) 2022-09-15 10:51:09 +08:00
huisiyu
711ed90141
docs: fix table filterSearch function doesn't work demo (#37536) 2022-09-14 10:09:59 +08:00
MadCcc
851a61a3e3
fix: TreeNode not aligned when disabled and draggable (#37534)
* fix: hide draggable icon when disabled

* chore: code clean

* chore: bump version
2022-09-13 21:24:37 +08:00
二货爱吃白萝卜
c3ebf4b9b4
chore: Use new Argos CLI (#37496)
* chore(ci): use new argos cli

* chore: fix lint

* chore(ci): simplify ui-upload process

* chore(ci): fix argos-upload permission

* chore(ci): use cp instead mv

* chore(ci): fix fetch-depth

* chore: force failed

* chore: clean up

* test: update demo snapshot

Co-authored-by: Greg Bergé <berge.greg@gmail.com>
2022-09-09 18:21:50 +08:00
lijianan
1bb58174c3
test: delete icon.svg (#37499) 2022-09-09 16:54:18 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib (#37381)
* test: replace testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: update snap

* test: replace testing-lib

* test: replace testing-lib

* test: update for lint

* merge: merge

* test: testing-lib

* test: replace testing-lib

* test: testing-lib

* test: testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: Replace test aria replacment logic

* test: Update snapshot

* chore: hack for id

* test: clean up

* test: clean demo

* chore: update

* test: snapshot update

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* chore: update demo

* test: fix snapshot rep logic

* test: Update snapshot

* test: rest snapshot

* test: update snapshot

* test: Update test case

* test: config env

* chore: clean up

* chore: Use renderServer instead

* test: adjust testing logic

* test: modify test logic

* test: split ssr test

* test: skip if need skip

* chore: ignore test file covv

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
lijianan
1922ad3512
type: strong type (#37481) 2022-09-09 10:03:49 +08:00
lijianan
370c37cb30
test: js => ts (#37485) 2022-09-08 23:47:22 +08:00
lijianan
9f28e517dd
test: js => ts (#37484) 2022-09-08 22:03:58 +08:00
lihao
e20314c8b2
test: move test cases to testing lib for Transfer (#37029)
* Transfer Test

* 修复遗漏的测试

* 修复测试  should check correctly when there is a search text

* 与之前的行为保持一致

* test:should uncheck checkbox when click on checked item
2022-09-08 21:55:23 +08:00
afc163
b5ab2a944f
docs: Update fileList.md (#37480) 2022-09-08 19:28:56 +08:00
Aaron674092290
87f39244e1
fix: unable to close modal when using visible in Modal.confirm().update (#37471)
* fix: unable to close modal when using visible in Modal.confirm().update

* chore: test case update

Co-authored-by: yangguangte <yangguangte@bytedance.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-08 17:30:49 +08:00
二货爱吃白萝卜
7c087deded
chore: Add theme=null export for vite build error (#37462)
* fix: Vite build error

* test: Update snapshot

* chore: Update snapshot
2022-09-08 15:21:42 +08:00
afc163
986bd02d6d
revert: fix Switch background flush bug (#37458)
revert #35103

close #37453
2022-09-08 13:35:44 +08:00
lijianan
f47535a153
test: migrate part of rtlTest tests (#37315)
* test: migrate part of rtlTest tests

* style: performance optimize

* fix: add type

* fix: fallback
2022-09-07 14:18:32 +08:00
huisiyu
4692733ca9
fix(Popconfirm): the title element does not have padding when icon is not set and update jest snapshot (#37384) 2022-09-07 13:28:35 +08:00
二货爱吃白萝卜
6c9a022ea7
test: Update test case (#37436) 2022-09-07 13:27:46 +08:00
afc163
133d899097
docs: fix Table ajax demo (#37431)
* docs: fix Table ajax demo

* Update ajax.md

* Update ajax.md
2022-09-06 22:57:46 +08:00
vagusX
0e1281926a
test: move test cases to testing lib for Tag (#35783)
* test: move test cases to testing lib for Tag

* chore: improve code

* fix: use react-dom/test-utils to make asserts working for click event

* chore: udpate

* chore: remove useless file

* test: diff

* chore: rename to .tsx
2022-09-06 18:51:28 +08:00
lijianan
7ca136230d
type: add type null (#37421)
* type: add type null

* fix: type fix
2022-09-06 17:00:17 +08:00
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open (#37420) 2022-09-06 14:03:39 +08:00
Rex Zeng
df98cbb3e9
test(affix): fix query selector error (#37414) 2022-09-06 08:57:39 +08:00
lijianan
175e0d1ff4
refactor: performance optimize (#37408)
* style: performance optimize

* style: rename
2022-09-06 08:55:38 +08:00
lijianan
c34caad24c
test: js => ts (#37392)
* test: js => ts

* test: add test

* fix: fix eslint error

* test: add test case

* fix: fix test error

* fix: fix eslint error

* fix: fix eslint error

* fix: eslint error fix

* fix: fallback eslint config & add test case

* test: add all test case

* fix: bugfix

* fix: bugFix

* fix: bugFix

* fix: bugFix

* fix: lint

* fix: add React.createRef

* fix: add breadcrumbName in Routes

* fix: any commit for restart ci/cd

* fix: remove type

* fix: test fix

* fix: test fix

* fix: add ts-ignore for id

* test: add Icon test case

* test: remove ts-ignore

* test: add Icon test case
2022-09-05 19:41:32 +08:00
Rex Zeng
f212b339c7
test(affix): split the last checkpoint (#37386) 2022-09-05 09:49:22 +08:00
afc163
e8a02e703c
chore: fix locale snapshot (#37394) 2022-09-04 18:20:51 +08:00
ZdenekKrcal
235c3064f7
Add missing translations for czech language (cs_CZ) (#37388) 2022-09-04 17:35:23 +08:00
MadCcc
e5e2159882 Merge branch 'feature' into master-merge-feature 2022-09-04 14:46:28 +08:00
Rex Zeng
77b9607ba7
test(affix): migrate test to testing-library (#37299) 2022-09-03 17:50:25 +08:00
yykoypj
bcb0b4dff1
feat: switch visible to open for Dropdown (#37232)
* feat: switch visible to open for Dropdown

* fix: merge state

* fix: props pass

* test: fix coverage
2022-09-02 17:22:23 +08:00
lijianan
319f7731e8
test: Cascader js => ts (#37364) 2022-09-02 15:05:21 +08:00
TrickyPi
96759a1113
fix: align with the less algorithm for generating css variable value (#37064) 2022-09-01 11:34:32 +08:00
afc163
f8b5fc3aae
style: fix Menu disabled item focus style (#37332)
close #37325
2022-08-31 19:08:23 +08:00
Nick
d3b134e9bd
chore: adding filterCheckall to the components/locale/ru_RU.tsx (#37311) 2022-08-30 17:26:56 +08:00
afc163
749e29d81a
style: @border-radius-sm should not follow @border-radius-base (#37309) 2022-08-30 15:29:07 +08:00
Peritot Chan
2910313a47
fix: config provider theme active color not same in variable.less (#37304) 2022-08-30 11:42:52 +08:00
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 (#37291)
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: fix eslint errors in test files

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-08-30 10:57:13 +08:00
lijianan
3c72aa0855
test: migrate part of Menu tests (#37274)
* test: migrate part of Menu tests

* test: migrate part of Menu tests

* test: migrate part of Menu tests

* fix: add Layout.Sider

* fix: add Layout.Sider

* fix: remove Layout.Sider

* fix: remove Layout.Sider

* fix: strong type
2022-08-30 10:06:38 +08:00
lijianan
6546b8287c
test: migrate part of Avatar tests (#37266)
* test: migrate part of Avatar tests

* test: migrate part of Avatar tests

* test: migrate part of Avatar tests
2022-08-28 22:41:44 +08:00
lijianan
58a1268356
type: strong type (#37258) 2022-08-28 22:29:14 +08:00
yykoypj
6b658dab76
feat: switch visible to open for Tooltip (#37241)
* feat: switch visible to open for Tooltip & Popover & Popconfirm

* fix lint

* fix: merge state

* chore: Update ts part

* test: add legacy test

* test: fix test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-26 17:17:13 +08:00
lijianan
6bc36b26a3
test: migrate part of Message tests (#37256)
* test: migrate part of Message tests

* test: migrate part of Message tests
2022-08-26 16:50:01 +08:00
lijianan
e2a927ee52
test: migrate part of Notification tests (#37253)
* test: migrate part of Notification tests

* test: migrate part of Notification tests

* test: migrate part of Notification tests

* test: migrate part of Notification tests
2022-08-26 16:00:38 +08:00
lijianan
60da9bfc61
test: remove Array.from() (#37252) 2022-08-26 15:25:01 +08:00
二货机器人
76eec57ddc chore: Update snapshot 2022-08-26 14:12:42 +08:00
二货机器人
1164c46f26 Merge branch 'master' into feature-merge-master 2022-08-26 11:47:08 +08:00
Marco Heinrich
92a19adf6b
Adding filterCheckall to the below mentioned files. (#37246)
This will ensure a proper translation in the table filter checkbox.
when filterMode is set to 'tree'

Changes to be committed:
	modified:   components/locale/de_DE.tsx
	modified:   components/locale/fr_BE.tsx
	modified:   components/locale/fr_CA.tsx
	modified:   components/locale/fr_FR.tsx
2022-08-26 10:39:14 +08:00
lijianan
c8d1b370e4
test: migrate part of page-header tests (#37218)
* test: test: migrate part of page-header tests

* test: test: migrate part of page-header tests

* test: test: migrate part of page-header tests

* test: test: migrate part of page-header tests

* test: test: migrate part of page-header tests

* test: test: migrate part of page-header tests

* test: test: migrate part of page-header tests
2022-08-26 10:23:11 +08:00
江麻妞
4299c15139
style: Optimize Spacing Strategy (#37183) 2022-08-24 21:25:52 +08:00
Uladzimir Atroshchanka
c9fd7fb8f1
feat: Input fields in error are missing multiple ARIA attributes (#36762)
* feat: add implementation and update snapshots

* test: update snapshot

* test: update snapshots

* test: update snapshots

* test: update snapshots
2022-08-24 17:07:50 +08:00
lijianan
1b0e5af599
test: test: migrate part of Button tests (#37214) 2022-08-24 17:00:40 +08:00
二货机器人
b794248c43 chore: merge master 2022-08-24 15:52:24 +08:00
二货机器人
9b99c815fa Merge branch 'master' into feature-merge-master 2022-08-24 15:46:36 +08:00
moderate
7dbd6cee27
test: removed the comment component's enzyme (#37196)
* test: removed the comment component's enzyme

* feat: removed the comment component's enzyme

Co-authored-by: qanglee <545540710@qq.com>
2022-08-24 15:05:01 +08:00
Dalton Craven
4758d561c5
fix: export individual menu type declarations (#36681) 2022-08-23 23:40:44 +08:00
lijianan
9f57b26009
test: rewrite locale-provider test case with ts (#37205) 2022-08-23 22:34:02 +08:00
lijianan
908b9de345
test: migrate part of locale-provider tests (#37198)
* test: migrate part of locale-provider tests

* test: migrate part of locale-provider tests

* test: migrate part of locale-provider tests

* test: migrate part of locale-provider tests
2022-08-23 21:50:45 +08:00
yykoypj
3d8cd0b451
feat: switch visible to open for Modal (#37084)
* feat: switch visible to open for Modal

* test: depcated check

* docs: site api update

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:55:57 +08:00
lijianan
5c61ea7f57
test: config-provider case rewrite js => ts (#37194) 2022-08-23 15:40:32 +08:00
yykoypj
1919b5f7d9
feat: switch visible to open for Drawer (#37047)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 14:52:37 +08:00
二货机器人
91d32ea258 test: merge missing test case 2022-08-23 14:14:30 +08:00
lijianan
7f49d221a0
test: migrate part of Tree-Select tests (#37190) 2022-08-23 11:57:50 +08:00
二货机器人
cf49149ce7 chore: merge master 2022-08-23 11:53:24 +08:00
lijianan
db0344c85f
test: migrate part of ConfigProvider tests (#37142)
* test: migrate part of ConfigProvider tests

* test: migrate part of ConfigProvider tests

* test: update snap

* test: update snap

* test: migrate part of ConfigProvider tests

* fix: commented error case

* chore: update snapshot name

* test: csp test case

* test: revert test case

* test: Update snapshot

* test: Update ser logic

* test: more cov

* test: cascader snapshit

* test: update match

* test: more detact

* test: more handler

* chore: Update snapshot

* test: Table test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 22:54:38 +08:00
yykoypj
f0e4963187
feat: switch filterDropdownVisible to filterDropdownOpen for Table (#37026)
* feat: table filterDropdownVisible to filterDropdownOpen

* chore: adjust prosp pass

* test: Update test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 11:19:53 +08:00
lijianan
dd31d7775a
test: migrate part of utils tests (#37155)
* test: migrate part of utils tests

* test: migrate part of utils tests

* test: migrate part of utils tests
2022-08-21 23:25:00 +08:00
眼圈发黑
0a5b995e9c
fix: duplicate attribute definition (#37170) 2022-08-21 20:30:51 +08:00
Dmitry Artamonov
a34c9cef7f
Fix: sortable columns are not indicated as such for screen readers (#37167) 2022-08-21 16:39:54 +08:00
二货爱吃白萝卜
15e4b93e43
fix: Visible change not show Tooltip of Typography (#37147)
* test: Update snapshot

* test: Add test case

* test: fix react 18
2022-08-19 01:31:16 +08:00
lijianan
8010cd19b6
test: migrate part of DatePicker tests (#37115)
* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* fix: update snap

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: remove useless methods

* test: add test ignore
2022-08-18 17:40:47 +08:00
afc163
24f9556134
style: use @checkbox-border-radius (#37131) 2022-08-18 11:36:09 +08:00
二货机器人
baedb702d0 chore: fix test ts 2022-08-18 11:06:13 +08:00
二货机器人
bf8a7ace41 Merge remote-tracking branch 'origin/master' into feature 2022-08-18 10:57:17 +08:00
yykoypj
aa97494625
feat: change slide tooltip api (#37000)
* feat: change slide tooltip api

* fix: deprecated warning

* refactor: remove boolean type support for Slider tooltip

* feat: update warning text

* chore: fix typo

* chore: save prod perf

* test: back of test case

* chore: clean up

* chore: fix test require

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-17 15:47:22 +08:00
Haniel Cui
16492a2090
fix: InputNumber border-radius and handle color style (#37070) 2022-08-17 14:51:20 +08:00
MadCcc
ab4d656b7b
test: add table multi-sort case (#37109)
* test: add table multi-sort case

* chore: code clean
2022-08-17 13:21:44 +08:00
Dmitry Artamonov
5c62731b11
fix: Accordions are missing expand and collapse states (#37065)
* UIEN-1399 - Accordions are missing expand and collapse states

* update tests

* updated snapshots
2022-08-17 12:28:37 +08:00
二货爱吃白萝卜
73b3c7828d
fix: Drawer add motion deadline (#37100)
* fix: Drawer add motion deadline

* test: Update snapshot

* test: ignore motion in snapshot render
2022-08-17 11:16:01 +08:00
yykoypj
38aaec1156
chore: save prod perf (#37088) 2022-08-17 10:29:16 +08:00
MadCcc
0124f24595 Revert "fix(Table): onChange sorter param types (#36710)"
This reverts commit 9e7e32b60c.
2022-08-17 10:13:25 +08:00
Yuki Zhang
81aac069ac
test: move test cases to testing-library for Grid (#37057)
* test: move test cases to testing-library for Grid

* fix: test when typeof gutter is object array in large screen
2022-08-16 10:14:41 +08:00
黑雨
1182f782c0
feat: replace testing-lib(replace .js to .ts) (#37042) 2022-08-16 10:03:04 +08:00
Kyrielin
c435eaad3f
feat(Tooltip): support React.Fragment as children (#37045) 2022-08-16 09:59:27 +08:00
Alan Deng
4b1b0e3d00
feat: custom slider handle margin left in the vertical direction (#37001) 2022-08-15 21:46:08 +08:00
Yuki Zhang
969925653c
test: move test cases to testing-library for DropDown (#37003)
* temp

* fix: mock esmodule default for Dropdown

* test: move test cases to testing-library for DropDown

* chore: remove console

* fix: snapshot test

* refactor: jest mock improvement
2022-08-15 17:47:10 +08:00
lijianan
19ab86e67a
test: migrate part of TimePicker tests (#37055)
* test: migrate part of TimePicker tests

* test: test clearIcon

* test: migrate part of TimePicker tests

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-15 17:44:43 +08:00
dingkang
82ba5eac40
test: replace Menu test case with test lib (#37046)
* test: replace test case with test lib

* test: Update test case to make more sense

* chore: trigger ci

* test: rm firstChild

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-15 16:43:41 +08:00
yykoypj
ca73f6e3f1
chore: Remove visible usage for tag (#36934)
* feat: remove visible for Tag

* chore: adjust warning info

* test: back of doc

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-15 14:39:02 +08:00
lijianan
de78a22130
test: migrate part of Popover tests (#36997) 2022-08-12 18:09:51 +08:00
lijianan
37b9c7f192
test: migrate part of Mentions tests (#36998) 2022-08-12 18:09:25 +08:00
ZhiHao Li
9c01aff437
docs: fix useWatch type error (#37013) 2022-08-12 18:06:26 +08:00
jinrui
b63e49e9e8
style(Popover): remove incorrect box-shadow (#37030) 2022-08-12 18:05:47 +08:00
afc163
b9295e3010
style: fix Progress tail position (#36996) 2022-08-12 17:36:47 +08:00
afc163
9230196cf0 Merge branch 'feature' into master-merge-feature 2022-08-10 17:18:29 +08:00
afc163
956d332c01 chore: update image demo snapshot 2022-08-10 17:17:37 +08:00
lijianan
32bb2fe61b
fix: eslint error fix (#36976) 2022-08-10 14:26:59 +08:00
lijianan
d6aa3aaf10
test: migrate part of Descriptions tests (#36970)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* refactor: use typescript refactor javascript

* fix: remove string

* fix: fix eslint

* test: migrate part of Descriptions tests

* test: migrate part of Descriptions tests

* test: migrate part of Descriptions tests
2022-08-09 19:32:40 +08:00
YMiemie-cy
0fb3bc29f2
feat: Form add defaultValidateMessages.i18n az_AZ language #23369 (#36967) 2022-08-09 19:22:57 +08:00
hydraZty
baf84e849f
style(Select): error border exclueds pagination (#36972)
Co-authored-by: hydraZty <hydra_zty@163.com>
2022-08-09 19:19:21 +08:00
二货爱吃白萝卜
ad312b23a2
fix: Upload in React 18 sync problem (#36968)
* fix: sync flush

* test: test case

* test: fix deps
2022-08-09 16:29:48 +08:00
二货爱吃白萝卜
dcc114e042
test: Adjust Drawer test case (#36964) 2022-08-09 14:31:53 +08:00
尾宿君
e51cd35143
test: replace message part test with testing lib (#36923) 2022-08-09 09:58:55 +08:00
尾宿君
1a3635c0fc
test: replace Calendar part test with testing lib (#36927) 2022-08-08 22:43:57 +08:00
尾宿君
7bbdd0d282
test: replace notification part test with testing lib (#36924) 2022-08-08 22:43:39 +08:00
clean99
8129bfee8b
test: refactor autocomplete test with screen and userEvent (#36953)
* AutoComplete(test): refactor custom input autocomplete with userEvent and screen

* AutoComplete(test): refactor dataSource is object array with screen and userEvent

* AutoComplete(test): update file name to tsx and refactor with screen

* AutoComplete(test): option test refactor

* AutoComplete(test): className test refactor

* remove fireEvent

* ignore ts error

* disable no-console

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-08 22:42:57 +08:00
二货爱吃白萝卜
3012c77482
fix: Drawer zIndex (#36958) 2022-08-08 22:09:51 +08:00
Qiuhang817385
fdaa946f24
do'c's):add onChange props for useFormItemStatus description code (#36929)
* fix(docs):fix useFormItemStatus description code

* fix():修复CR意见
2022-08-08 22:08:28 +08:00
二货爱吃白萝卜
304b36a5bf
refactor: Replace Tabs motion (#36943)
* chore: bump rc-tabs

* refactor: use internal motion

* test: Update snapshot

* chore: clean up

* test: Update snapshot

* test: coverage

* test: resolve conflict
2022-08-08 17:01:25 +08:00
github-actions[bot]
3115657010
chore: auto merge branches (#36944)
chore: feature merge master
2022-08-08 07:17:41 +00:00
clean99
1239910f66
test: change act import from utils use act wrap timer and not wrap fireEvent (#36921)
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-08 13:31:55 +08:00
kalykun
c8262525e0
feat(Avatar): add onClick prop (#36940) 2022-08-08 13:30:49 +08:00
clean99
20a2bb3374
fix: testing act error (#36915)
* test: switch act from react-dom/test-utils to testing-library/react

* test: fix jest.runAllTimers usage with act

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
2022-08-05 18:27:08 +08:00
github-actions[bot]
2fc754eeaf
chore: auto merge branches (#36906)
chore: feature merge master
2022-08-05 04:52:57 +00:00
gaokaifeis
8ee6044ee2
test: move test cases to testing lib for Progress (#36826)
Co-authored-by: gaokaifei <gaokaifei@maxtropy.com>
2022-08-05 12:17:05 +08:00
afc163
8ed18fc239
style: reduce some css code (#36904) 2022-08-05 11:37:55 +08:00
黑雨
8b05546367
feat: Replace dropdownClassName to popupClassName (#36880) 2022-08-05 11:21:07 +08:00
afc163
30d60fc05c
style: button focus style should not stay after click (#36902)
:focus => :focus-visible

close #36896
2022-08-05 10:58:07 +08:00
二货爱吃白萝卜
628968f460
feat: Tabs support items (#36889)
* refactor: Using items

* docs: replace with items

* docs: deprecated demo

* test: Update snapshot

* docs: simple basic demo

* test: coverage
2022-08-05 10:49:08 +08:00
github-actions[bot]
37cc36ac7e
chore: auto merge branches (#36883)
chore: feature merge master
2022-08-04 09:35:42 +00:00
他不是牛马
dce76afd93
test: Replace slider part test with testing lib (#36888) 2022-08-04 17:09:54 +08:00
kalykun
9e7e32b60c
fix(Table): onChange sorter param types (#36710)
* fix(types): fixes `sorter` param types

* chore: add test case

* Update type.test.tsx

* Update type.test.tsx
2022-08-04 11:16:24 +08:00
nuintun
dd6e93d4ae
feat: Dropdown button add danger status support (#36810)
* feat: Dropdown button add danger status support

* fix: Dropdown button danger test

* fix: Dropdown button danger test

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

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

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

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

Co-authored-by: afc163 <afc163@gmail.com>
2022-08-04 10:49:55 +08:00
yifanwww
8dfef70868
chore: Make data-${string} undefinable (#36858) 2022-08-04 10:03:58 +08:00
Yuki Zhang
4d7ef8d5c6
test: move test cases to testing-library for Skeleton (#36856) 2022-08-03 11:02:45 +08:00
yanm1ng
5b45a8fa87
style(drawer): fix drawer nesting style pollution (#36845)
Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>
2022-08-02 14:54:13 +08:00
JarvisArt
549a2f956f
feat: add value parameter to textarea showCount.formatter (#36793) 2022-08-01 17:39:57 +08:00
二货机器人
ab0b6b2c9a
chore: clean Drawer ts def (#36823) 2022-08-01 17:06:19 +08:00
zhengjitf
ae43c269c3
fix: upload list item flashes after being removed in react18 (#36801) 2022-07-31 18:04:09 +08:00
二货机器人
ffb3a4da90
fix: Form vertical with span row (#36800)
* fix: form vertical with span

* test: update snapshot
2022-07-30 21:00:00 +08:00
losgif
aa648d2cd8
feat(table): add column title attribute in expandable props. (#36794)
* chore: rc-table's version up to 7.26.0

* docs(table): add column title attribute in expandable

* docs(table): add column title attribute in expandable
2022-07-30 17:13:20 +08:00
MadCcc
c5668a7e34
docs: Form disabled version (#36760)
* docs: Form disabled version

* test: update snapshot
2022-07-29 15:54:36 +08:00
二货机器人
51954aa470
fix: fix row in flex layout size cal (#36770) 2022-07-28 23:15:08 +08:00
二货机器人
ddb97b22ba
chore: collapse title text auto width (#36761)
* chore: collapse title text auto width

* test: fix mock snapshot
2022-07-28 20:30:41 +08:00
二货机器人
24be945ea8
fix: Not work in old browser (#36748)
* fix: Drawer contentWrapperStyle logic

* fix: Update style

* test: Update snapshot

* test: More test case
2022-07-27 23:44:45 +08:00
二货机器人
740d9f4111
fix: Drawer width with ptg (#36729)
* fix: Drawer width with ptg

* test:Update snapshot
2022-07-27 16:50:55 +08:00
dingkang
1ef45439d6
test: replace Cascader test case with test library (#36475)
* test: relpace test case with test library

* test: fix test case

* test: replace snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-07-26 22:27:42 +08:00