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
Zheeeng
7b3220fb49
chore: refine getScroll internal signature and some assertion ( #36695 )
...
* chore: refine getScroll internal signature and some assertion
* fix: for mock scenario to passing tests
2022-07-26 16:12:36 +08:00
二货机器人
84c0498d64
fix: Upload item removed should keep status className ( #36706 )
...
* fix: not blink of remove file
* test: test case of remove
2022-07-26 15:17:41 +08:00
hoho2017
f3db1f2dab
docs: fix Menu api layout ( #36697 )
...
Co-authored-by: zhanghaoqiang <zhanghq7458@joyowo.com>
2022-07-26 14:34:21 +08:00
Zheeeng
b89ed86698
chore: prefer using type-compatible-assigning over using type-assertion ( #36694 )
2022-07-26 11:25:45 +08:00
xrkffgg
16d2c5def3
Merge pull request #36685 from ant-design/feature
...
branch: merge feature into master
2022-07-26 00:09:16 +08:00
二货机器人
d422d71c1e
refactor: Drawer refactor ( #36672 )
...
* chore: back part of styl
* chore: all basic
* test: part test case
* test: part test case
* test: more test case
* test: update snapshot
* test: demo test support
* test: update snapshot
* chore: adjust mock logic to inject on rc-drawer instead
* test: more snapshot
* chore: adjust pos
* chore: back of render
* test: drawer demo extends test
2022-07-25 21:04:43 +08:00
github-actions[bot]
b5302f404a
chore: auto merge branches ( #36684 )
...
branch: merge feature into master
2022-07-25 11:59:51 +00:00
zombiej
46d146d692
chore: resolve conflict of feature merge master
2022-07-25 17:39:38 +08:00
afc163
80114d62c7
Revert "fix: Upload item removed should keep status className ( #36439 )" ( #36682 )
...
This reverts commit cebbe23393
.
2022-07-25 17:38:28 +08:00
zombiej
2b46b3e6e1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2022-07-25 17:37:47 +08:00
叶枫
00c891ac05
feat: Typography ellipsis.tooltip
could be a object ( #36099 )
...
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
2022-07-25 13:09:39 +08:00
fairyland
3675ad5a3f
test: move-test-cases-to-testing-lib-for-Radio ( #36664 )
...
* test: move-test-cases-to-testing-lib-for-Radio
* update toMatchSnapshot
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2022-07-24 12:33:05 +08:00
afc163
1e88248903
docs: renew Select dropdownRender demo and FAQ ( #36665 )
...
* docs: renew Select dropdownRender FAQ and demo
* chore: update snapshot
* chore: fix Select demo tsc
* chore: fix Select demo tsc
2022-07-23 17:00:19 +08:00
Alan Deng
3920a724cc
feat: Tree/TreeSelect switcherIcon
support more parameter in argument ( #36651 )
2022-07-23 16:54:36 +08:00
Zheeeng
fd5d463213
chore: write React.ChangeEvent<E> once ( #36644 )
2022-07-23 16:37:32 +08:00
Wuxh
16ecdbb58d
fix(modal): Modal.xxx onCancel close argument is not a function ( #36600 )
...
* fix(modal): fix the error of `onCancel` parameter of modal returned by `useModal`
resolve: 36581
ref: https://github.com/ant-design/ant-design/issues/36581#issuecomment-1189396007
* test(confirm): 补充 modal 测试用例
* test(modal): 添加测试用例
* Revert "fix(modal): fix the error of `onCancel` parameter of modal returned by `useModal`"
This reverts commit e4fcb3e62add63193ec9081b2c21e657379bebfb.
* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter
closed : #36581
* chore: cancel the introduction of `noop` from third-party library
2022-07-23 16:04:23 +08:00
Tianyuan Zhang
09de419253
fix(Tree): DraggableFn params type ( #36648 )
...
* fix(Tree): DraggableFn params type
* chore: add blank line
* test: add typ test for draggable Fn
* test: add typ test for draggable Fn
Co-authored-by: tianyuan233 <zty.dev@outlook.com>
2022-07-22 20:26:52 +08:00
二货机器人
0b9f1db072
Revert "feat: Space support align stretch ( #36310 )" ( #36650 )
...
This reverts commit bfa8aaec5e
.
2022-07-22 14:14:01 +08:00
Tianyuan Zhang
1180b61131
docs: tabpane add disabled
( #36634 )
...
close #36610
2022-07-21 18:45:48 +08:00
Yuki Zhang
817773e015
test: move test cases to testing lib for Collapse ( #36227 )
...
* test: move test cases to testing lib for Collapse
* chore: remove useless file
* fix: react 18 concurrent
* chore: remove useless file
2022-07-21 11:18:14 +08:00
黑雨
8c34cb793f
feat: Replace input-number part test with testing lib ( #36080 )
...
* feat: Replace input-number part test with testing lib
* feat: update rc-input-number version
2022-07-20 20:47:09 +08:00
dashaowang
cff762cf3d
style: fix Table extra shadow and scrollbar when all columns are fixed
...
Co-authored-by: weiwang <wren@xuncetech.com>
2022-07-20 13:30:57 +08:00
afc163
2146d18045
style: fix Table tree data ellipsis style problem ( #36608 )
...
close #36583
2022-07-20 13:30:34 +08:00
二货机器人
31eef3a956
docs: menu faq ( #36604 )
...
* docs: menu faq
* docs: patch codesandbox
2022-07-20 10:58:47 +08:00
二货机器人
03ea767cad
fix: Form validate message shaking ( #36575 )
...
* refactor: move component out
* refactor: clean up code
* chore: stable it
* chore: back of container
* chore: adjust leave motion
* test: update snapshot
* chore: update motion logic
* fix: list start motion
* test: update snapshot
* test: update snapshot
* test: test for marginBottom
2022-07-19 16:01:31 +08:00
二货机器人
3301b4d6fc
Merge pull request #36576 from ant-design/master
...
chore: feature merge master
2022-07-18 20:59:32 +08:00
fairyland
8c9ad9b1b6
fix: form disabeld support Upload ( #36573 )
...
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2022-07-18 14:21:52 +08:00
Neil
9989a2d751
add Modal @modal-border-radius less variable ( #36527 )
...
* add Modal @modal-border-radius less variable
* fix: add less variable
2022-07-15 14:50:07 +08:00
zombiej
ed5f4c3626
test: update snapshot
2022-07-15 11:47:57 +08:00
二货机器人
006c055cf8
refactor: move popconfirm content out ( #36530 )
...
* refactor: move popconfirm content out
* fix: lint
2022-07-15 11:11:50 +08:00
afc163
2255dbada6
docs: update select documentation
2022-07-14 19:27:37 +08:00
Wuxh
14c7c63bbf
fix: fixed the non draggable element did not hide the draggable icon ( #36511 )
...
fix #33708
2022-07-14 18:03:11 +08:00
Jon
92c8bdc88f
fix: SVG Upload Preview Error ( #36402 )
...
* Update utils.tsx
* style: unify img styling
Unify the styling of img attribute setting.
* test: add previewImage test for svg file
Add previewImage test for SVG upload
* fix: remove charset
Remove charset in data url for text content.
* test: fix test
* fix: typo
* fix: correct patching for svg upload error
* fix: correct patching for svg upload error
* test: update test
2022-07-14 11:25:57 +08:00
MadCcc
aca2c3d4e7
feat: add Form.Item.useStatus ( #36486 )
...
* feat: add useFormItemStatus
* chore: code clean
* docs: update example
* refactor: api change
* docs: fix typo
* docs: update docs
* docs: udpate
* chore: add warning
* test: add test case
* chore: update warning
* chore: code clean
* test: fix test case
2022-07-14 11:01:39 +08:00
Wuxh
c86d02e03f
docs: simplified Layout
component sample code ( #36497 )
...
the component example code expands to take up the entire monitor screen and is not well read
2022-07-13 16:57:18 +08:00
afc163
008681c1bf
style: Table expandIcon style when column is fixed and ellipsis ( #36496 )
...
close #36485
2022-07-13 14:40:43 +08:00
MadCcc
4f7ac9f6bc
fix: tooltip cannot close on disabled Radio ( #36483 )
...
* fix: tooltip cannot close on disabled Radio
* test: add test
2022-07-12 19:31:45 +08:00
二货机器人
6599c2780e
fix: Select with percent width leaves unexpected height in Form ( #36484 )
2022-07-12 18:01:05 +08:00
二货机器人
41464e7068
chore: bump mentions ( #36479 )
2022-07-12 16:49:44 +08:00
github-actions[bot]
e46dedd90c
chore: auto merge branches ( #36478 )
...
chore: feature merge master
2022-07-12 08:21:41 +00:00
afc163
6497d0dfef
docs: moment version mismatched issue ( #36473 )
...
https://github.com/ant-design/ant-design/issues/36465#issuecomment-1181275538
2022-07-12 13:10:20 +08:00
bobo
7dfc80504a
docs: update index.zh-CN.md ( #36471 )
...
去掉文案描述中多的标点
2022-07-12 11:35:13 +08:00
Sg
6ada28cce2
docs: fix typo ( #36457 )
...
fix typo in useWatch.md
2022-07-11 14:40:35 +08:00
Dawnlck
1643acf0d0
feat: Add support to Skeleton, which allow deployer use custom node as prop. ( #36441 )
...
* feat: Skeleton component supports for custom node
* fix: Clear redundant code
* refactor: Remove changes in package.json
* test: Update the snapshot of Skeleton demo
* Update components/skeleton/demo/element.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-07-11 12:04:18 +08:00
afc163
91ff1dcce2
style: fix Skeleton active lost border-radius in Safari ( #36445 )
...
* style: fix Skeleton active lost border-radius in Safari
* perf: reduce skeleton css bundle size
* chore: fix bundle size limit
* chore: fix active typing
2022-07-10 12:05:35 +08:00
Leon Kattendick
46be23a5db
fix: breadcrumb seperators hidden when used in list ( #36448 )
2022-07-10 12:05:16 +08:00
afc163
cebbe23393
fix: Upload item removed should keep status className ( #36439 )
...
* fix: Upload item removed should keep status className
* add test case
* test: fix act warning
* revert act test
* test: update snapshot
2022-07-08 22:41:58 +08:00
Alan Deng
1d0ae5712d
docs(Typography): fix editable.onChange
parameter ( #36443 )
2022-07-08 22:10:24 +08:00
NinJa
4e03961b91
feat: Update Doc ( #36437 )
...
Co-authored-by: meng.jia <meng.jia@ly.com>
2022-07-08 19:12:03 +08:00
simplejason
1a8edd992c
fix: fix wrong color of date picker with status set ( #35685 )
...
* fix: fix wrong color of date picker with status set
* Update status.less
Co-authored-by: afc163 <afc163@gmail.com>
2022-07-08 11:59:32 +08:00
舜岳
47f68d0e5c
fix: fix table container z-index ( #36420 )
2022-07-08 10:31:53 +08:00
Alan Deng
3fc4ff2dc6
docs(Typography): translate docs from English to Chinese ( #36417 )
2022-07-07 18:38:23 +08:00
hsk-kr
e262ae8133
docs: fix customize calendar example ( #36356 )
...
* docs: fix customize calendar example
* test: changed calendar snapshot
Co-authored-by: lico <lico@licoui-MacBookPro.local>
2022-07-06 23:29:57 +08:00
Kirill Barsukov
2e04982882
Update index.en-US.md ( #36400 )
...
Fixed a typo
2022-07-06 23:28:27 +08:00
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
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
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
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
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
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
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
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
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
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
Amumu
ebc7527de3
fix: fix snapshot after si_LK locale is merged ( #36181 )
2022-06-22 20:05:11 +08:00
සයුරි | Sayuri
d692a88ed7
feat: add si_LK locale ( #36149 )
...
* දින තේරුම සකස් කිරීම
* චීන ප්රලේඛනය යාවත්කාල කිරීම
* ඉංග්රීසි ප්රලේඛනය යාවත්කාල කිරීම
* තවත් දත්ත ඇතුල් කිරීම
* දින දසුනට භාෂාව යෙදීම
* ප්රධාන දේශීයකරණ සංරචකය යෙදීම
* සැපයුම්කරු සඳහා ගොනුව යෙදීම
* කාලය තේරීමට අදාළ සංරචකය යෙදීම
* යෝජනාව ඇතුළු කෙරිණි
Co-authored-by: Amumu <yoyo837@hotmail.com>
* නව ඇසුරුමට වෙනස් කළා
* ගොනුව යාවත්කාල කෙරිණි
Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-06-22 19:38:21 +08:00
dingkang
8c172a0d64
test: replace pagination test with test-library ( #36178 )
2022-06-22 17:12:04 +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
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
二货机器人
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
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
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
二货机器人
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
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
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
二货机器人
34dfb808ad
feat: Form support setFieldValue
( #36058 )
2022-06-15 17:30:10 +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
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
MadCcc
e3974850fa
fix: Radio.Group focus and blur should work ( #36041 )
2022-06-14 14:00:33 +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
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