Commit Graph

15538 Commits

Author SHA1 Message Date
二货机器人
94b688ff8c chore: feature merge master 2022-10-22 22:53:41 +08:00
Marcia Sun
ba3ab898d2
fix: incorrect transform-origin of tooltips (#38159)
For tooltips with a placement value like 'topRight' or 'bottomLeft', the previous code would calculate an incorrect transform-origin, which is fixed here.
2022-10-22 19:11:31 +08:00
lijianan
a302d128e2
refactor: delete defaultprops (#38164)
* refactor: delete defaultprops

* fix: fix eslint

* fix: fix eslint

* fix: fix eslint
2022-10-22 18:43:36 +08:00
lijianan
8054769307
refactor: delete defaultprops (#38154)
* refactor: delete defaultprops

* test: add test

* fix: fix
2022-10-22 15:00:26 +08:00
github-actions[bot]
55b98fa8ef
chore: auto merge branches (#38114)
chore: next merge feature
2022-10-22 05:57:45 +00:00
MadCcc
e382802f76 chore: update snapshot 2022-10-22 13:23:16 +08:00
MadCcc
ca72c10feb Merge branch 'feature' into next-merge-feature 2022-10-22 13:14:19 +08:00
hms181231
2e389d73ab
test: Update back-top test case (#38147) 2022-10-21 15:10:20 +08:00
hms181231
5159bb9084
test: Update Carousel test case (#38146) 2022-10-21 15:09:48 +08:00
hms181231
dae4b67320
test: Update Collapse test case (#38145) 2022-10-21 15:09:21 +08:00
hms181231
30d2a24898
test: Update Dropdown test case (#38144) 2022-10-21 15:07:44 +08:00
hms181231
be1a51e5fc
test: Update form test case (#38143) 2022-10-21 15:06:11 +08:00
lijianan
3d33c34010
chore: use includes instead indexOf (#38139)
* chore: use includes instead indexOf

* fix: fix
2022-10-21 11:45:55 +08:00
MadCcc
2453e21744
fix: modal footer should be hidden if null (#38138) 2022-10-21 10:16:03 +08:00
lijianan
769cb3c79a
style: remove repeate method (#38133)
* style: remove repeate method

* fix: del break
2022-10-20 16:37:35 +08:00
chrismorison-wt
7503caeb18
docs: fix docs for Alert closeIcon prop. Fixes #38123 (#38124) 2022-10-20 09:52:58 +08:00
Yuki Zhang
9721ebe331
refactor: use Space.Compact for Dropdown.Button (#38090)
* feat: use Space.Compact for Dropdown.Button

* test: update button demo tests

* test: update config-provider demo tests

* fix: deps-lint-skip for dropdown

* fix: lint issue
2022-10-19 23:36:41 +08:00
MadCcc
df76df1ccb chore: fixl int 2022-10-19 20:24:00 +08:00
MadCcc
5c72d04b10 Merge branch 'feature' into next-merge-feature 2022-10-19 17:46:21 +08:00
github-actions[bot]
f71ee5384f
chore: auto merge branches (#38111)
chore: sync master to feature
2022-10-19 09:28:49 +00:00
二货爱吃白萝卜
d30618ca5d
test: Update Form related test case with fake timer (#38109)
* test: Part test case

* test: Part test case

* test: More and More

* test: More and More

* test: all of index
2022-10-19 16:34:24 +08:00
Ernest Folch
09ab844a3a
feat: add missing it_IT translations (#38108)
Co-authored-by: Ernest Folch <efolch@ctaima.com>
2022-10-19 16:33:11 +08:00
afc163
379e99d42e
chore: update Carousel demo image (#38102) 2022-10-19 14:27:30 +08:00
黑雨
d9bb472487
Merge pull request #38101 from ant-design/fix/input-textarea-border
style: fix TextArea custom border style not working when allowClear is enable
2022-10-19 14:03:31 +08:00
黑雨
c6ddb0a692
Merge pull request #38100 from ant-design/style/Carousel-reset
style: fix Carousel dots reset style
2022-10-19 14:02:48 +08:00
afc163
06b0bf014f test: update snapshot 2022-10-19 12:07:40 +08:00
afc163
58fdfc0f62 style: fix TextArea custom border style not working
when allowClear is enable

close #38068
2022-10-19 12:05:24 +08:00
Zheeeng
e91d25622b
chore: signatures for tests (#37949)
* fix: signatures for tests

* fix: remove unused

* fix: test cases

* fix: test cases
2022-10-19 11:50:18 +08:00
afc163
b5299ef6e2
style: fix Carousel dots reset style 2022-10-19 11:47:45 +08:00
二货爱吃白萝卜
a48bc3c466
fix: input-number & mention text color not follow theme change (#38087) 2022-10-19 10:30:22 +08:00
Simon
51662df37d
fix(mentions): align type MentionsRef with rc-mentions (#38028) 2022-10-19 00:22:39 +08:00
github-actions[bot]
0108d10eb2
chore: auto merge branches (#38096)
chore: next merge master
2022-10-18 15:28:07 +00:00
MadCcc
659b89d5e6
fix: inherit default config (#38089)
* fix: inherit default config

* test: add test case
2022-10-18 23:18:11 +08:00
github-actions[bot]
f8629ac588
chore: auto merge branches (#38093)
chore: sync master into feature
2022-10-18 14:32:45 +00:00
MadCcc
ecb3188b55 chore: code clean 2022-10-18 21:39:24 +08:00
MadCcc
7a38804f95 Merge branch 'master' into next-merge-master 2022-10-18 21:33:51 +08:00
Zheeeng
66e932fd8f
fix(Tree): typo (#38079)
* fix: typo for tree component

* fix: restore typo less var for compatibility
2022-10-18 20:02:09 +08:00
MadCcc
ba5a7b8d1b
feat: v5 menu style (#38009)
* feat: v5 menu style

* chore: code clean

* feat: more component token

* docs: add v4 demo

* test: fix lint

* docs: update docs
2022-10-18 17:04:06 +08:00
Yuki Zhang
c3e51506cc
feat: add Space.Compact (#37652)
* feat: add Space.Compact

* feat: update input style

* feat: add CompactItem for context memoize

* feat: add demo

* feat: update button style

* feat: update input style

* feat: 提取 getCompactClassNames 公用方法

* feat: update button style

* feat: update picker

* feat: add block prop for Space.Compact

* feat: use Space.Compact for Input#addonBefore/After

* feat: update addon

* refactor: compact

* feat: update

* feat: update

* feat: migrate styles to compact for new Input/Input.Search

* feat: organize input demo

* feat: add more button compact demo

* feat: resolve select border collapse

* feat: fix input addon select style

* feat: add input addon demo in Space

* feat: add  useCompactItemContext hook

* feat: update compact-item style

* feat: rollback input#addon implements

* feat: rollback input#addon and input.search style

* feat: select border collapse

* feat: add Space.Compact demo

* feat: Space.Compact vertical for Button

* refactor: useCompactItemContext

* feat: update Button vertical demo

* feat: rtl for compact mixin

* feat: rtl for compact button

* feat: input rtl

* feat: add docs for Space.Compact

* test: add some tests for Space.Compact

* test: add tests

* feat: select style

* feat: handle select focus style

* feat: add useCompactItemContext for Picker and Cascader

* style: add compact-item style for cascader

* feat: support nested Space.Compact

* style: Input.Search in Space.Compact

* chore: clean

* feat: add useCompactItemContext for TreeSelect

* fix: lint issues

* fix: style lint

* docs: update demos for Space.Compact

* docs: update demo

* fix: add deps-lint-skip for space

* fix: add deps-lint-skip for space

* fix: handle edge case for useCompactItemContext

* test: add search test case

* chore: + bundlesize

* style: merge button compact style into one file

* style: improve style for nested compact

* fix: stylelint

* docs: update Space.Compact docs

* test: update demo snapshot

* test: update input debug test snapshot

* docs: update doccs for Space.Compact

* test: improve test cases for Compact

* docs: clean demos for Compact

* refactor: improve Space.Compact

* fix: add useCompactItemContext for Input.Search

* style: improve compact border-radius implementation

* refactor: use context to make nested compact works

* fix: input-number focused style

* refactor: remove useless style

* refactor: improve style for vertical compact

* test: update snapshot

* test: update snapshot for input

* refactor: improve compact-item-border-radius

* fix: search group in RTL

* style: improve style for button compact

* style: use after

* fix: stylelint

* chore: update snapshot

* style: improve button compact

* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
MadCcc
ee6657409b test: update test case 2022-10-18 14:15:41 +08:00
Zheeeng
29a15e2a5d
refactor: refines types and fix to use prop direction over context direction (#37716)
* refactor: use enum instead of multiple constants and refines types

* fix: siganture and direction prop passing

* Update Editable.tsx

* refine types

* test: update snap

* style: prefer literal constants over enum

* fix: refine types for typography

* fix: restore ellipsis const

* fix: restore ellipsis const

* fix: restore textare importing
2022-10-18 11:45:43 +08:00
MadCcc
90937a75cf chore: code clean 2022-10-18 10:46:35 +08:00
Ju/Smwhr
3ba31acf2e
add missing french translation + improve it (#38072) 2022-10-18 00:45:00 +08:00
二货爱吃白萝卜
67d86a2e50
test: try to fix test timer break (#38071)
* test: try to fix test timer break

* test: update more

* test: compare more

* test: compare more
2022-10-17 23:14:44 +08:00
lijianan
b3a37b7ca9
refactor: Anchor.Link with FC (#37957)
* fix: fix

* fix: fix

* fix: revert

* fix: fix

* test: fix test case

* test: fix

* test: fix

* fix: fix

* fix: fix
2022-10-17 21:36:56 +08:00
MadCcc
accf0d2856
chore: move common style to components (#38063)
* chore: move common style to components

* chore: update selector

* chore: rename
2022-10-17 21:08:44 +08:00
MadCcc
b4fed31884 chore: udpate snapshot 2022-10-17 21:07:47 +08:00
Wesley
e3abd1e77f
docs: Table Documentation interface description error (#38065)
Co-authored-by: YONGWEI PENG <yongweipeng@YONGWEIdeMacBook-Pro.local>
2022-10-17 18:06:38 +08:00
MadCcc
442176627f Merge branch 'master' into feature-merge-master 2022-10-17 17:55:50 +08:00
MadCcc
14ace2805a
chore: remove experimental warning (#38061)
* chore: remove experimental warning

* chore: code clean
2022-10-17 17:30:29 +08:00
Zheeeng
d96ec8aa06
feat: add text config for editable (#37761) 2022-10-17 17:00:33 +08:00
lijianan
a2de8f7b2e
chore: add isValidElement for isFragment (#38056) 2022-10-17 16:23:45 +08:00
MadCcc
a431983aad Merge branch 'master' into next-merge-master 2022-10-17 15:54:11 +08:00
Alan Deng
e246f00899
docs(Table): fix log value of selected row keys (#38051) 2022-10-17 13:32:00 +08:00
liuycy
5442fc2412
fix: table header shadow issue (#28096) (#38023) 2022-10-17 09:47:16 +08:00
lijianan
6fc4513017
fix: use undefined (#38046)
* fix: use undefined

* fix: use undefined
2022-10-16 11:01:19 +08:00
二货爱吃白萝卜
f85698f70e
fix: Layout missing use colorBgLayout (#38041) 2022-10-16 00:10:35 +08:00
lijianan
9cec008e1a
refactor: CC => FC (#37969)
* refactor: CC => FC

* refactor: CC => FC

* refactor: CC => FC

* test: add test

* test: remove test

* test: add test

* fix: fix

* fix: fix

* test: del

* fix: fix debounce
2022-10-14 22:07:02 +08:00
MadCcc
f4e3a923ed Merge branch 'next' into next-merge-master 2022-10-14 20:03:06 +08:00
MadCcc
630c24aa79
test: raise test covarage (#38027)
* test: raise test covarage

* chore: code clean

* chore: lock jest-dom to v28

* chore: lock jest-dom

* test: update setup
2022-10-14 20:01:50 +08:00
MadCcc
1c16888d43 Merge branch 'master' into next-merge-master 2022-10-14 15:55:31 +08:00
lijianan
2ef701be75
test: add test coverage (#37993)
* test: add test coverage

* fix: fix

* test: del test

* fix: fix

* fix: fix

* chore: update test

* chore: code clean

* chore: code clean

* test: update test case

Co-authored-by: MadCcc <1075746765@qq.com>
2022-10-14 15:53:29 +08:00
lijianan
82de4942d5
test: add case for coverage (#38018) 2022-10-14 14:03:01 +08:00
MadCcc
0a0f96798d chore: snapshot 2022-10-14 12:11:43 +08:00
lijianan
71cfa31728
test: add test case (#38015) 2022-10-14 12:05:58 +08:00
lijianan
19eabb0819
fix: should support number 0 (#38006)
* fix: should support number `0`

* fix: should support number `0`

* test: add snap

* test: add snap

* test: add snap

* test: add snap
2022-10-14 11:37:48 +08:00
MadCcc
4490d9dbdc Merge branch 'master' into next-merge-master 2022-10-14 11:35:18 +08:00
afc163
d667d1948f
chore: fix lint (#38005) 2022-10-13 18:22:00 +08:00
afc163
416c61f08e fix: Table ellipsis title missing
close #37977
2022-10-13 17:44:19 +08:00
linxianxi
23285382f1
fix(Input): should not have value prop on input after click toggle icon (#37900)
* fix(Input): should not have value prop on input when click toggle icon

* fix: 修改参数名

* fix: 修改传参
2022-10-13 15:07:43 +08:00
kiner-tang(文辉)
2559b2fb1b
feat(grid): row's 'align' and 'justify' support reponsive value (#37860)
* feat: row's 'align' and 'justify' support reponsive value

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code

* docs: 更新文档

* docs: 更新文档

* docs: 更新文档

* docs: 更新文档

* feat: remove other

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

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

* docs: update support version

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-12 23:52:29 +08:00
Yuki Zhang
4774497258
fix: Input.Search style in RTL (#37980) 2022-10-12 23:51:31 +08:00
hms181231
3f8962ec3e
test: Update Message test case sleep -> useFakeTimers (#37983) 2022-10-12 22:47:21 +08:00
hms181231
7709970d81
test: Update util test case sleep to useFakeTimers and deprecated HTMLDocument, use Document instead (#37984)
* test: Update util test case sleep to useFakeTimers and deprecated HTMLDocument, use Document instead

* test: Update util test case sleep to useFakeTimers
2022-10-12 22:46:16 +08:00
hms181231
56fe1ceeaa
test: Update Notification test case sleep -> useFakeTimers (#37985)
* test: Update Notification test case sleep -> useFakeTimers

* test: Update Notification test case sleep -> useFakeTimers
2022-10-12 22:44:28 +08:00
MadCcc
0d7c87421a
chore: remove babel-plugin-import warning (#37975)
* chore: remove babel-plugin-import warning

* chore: update test case

* chore: code clean
2022-10-12 19:52:39 +08:00
Hencky
1d89a9b2e6
docs: fix Dropdown.Button default placement (#37971) 2022-10-12 19:28:47 +08:00
黑雨
7387b2c443
feat: fix dropdownClassName (#37974) 2022-10-12 18:02:04 +08:00
MadCcc
2a9bb7c80e
fix: fix checkbox checked hover style (#37973)
* fix: fix checkbox checked hover style

* fix: radio
2022-10-12 17:43:22 +08:00
lijianan
768ab54426
fix: delete defaultprops (#37966) 2022-10-12 11:39:06 +08:00
MadCcc
50a7e0ce51 chore: skip virtual-list 2022-10-12 11:33:36 +08:00
Zack Chang
e13dd21a9a
fix: correct a wrong title in demo of Datepicker (#37964)
* Update placement.md

* Update placement.md
2022-10-12 10:13:52 +08:00
lijianan
a76d07e0b2
test: add coverage (#37958) 2022-10-12 09:49:49 +08:00
hms181231
f2a6c07a67
test:Update Affix test case sleep -> useFakeTimers (#37956) 2022-10-11 22:51:59 +08:00
lijianan
7b285ea4c1
refactor: CC => FC (#37938)
* fix: f

* refactor: CC => FC

* fix: add ignore

* fix: fix

* fix: fix

* fix: remove onChange

* fix: remove onFinish

* fix: remove onFinish

* fix: remove useCallback

* fix: eslint error
2022-10-11 22:35:50 +08:00
MadCcc
514cb4fd23 chore: update snapshot 2022-10-11 22:24:16 +08:00
hms181231
c04bdd0928
test: Update Anchor test case sleep -> useFakeTimers (#37955) 2022-10-11 22:22:36 +08:00
MadCcc
5b745d0bda Merge branch 'next' into next-merge-feature 2022-10-11 21:47:41 +08:00
MadCcc
2471bf88aa test: fix test 2022-10-11 21:33:29 +08:00
二货爱吃白萝卜
2b15bdafac
fix: Drawer PurePanel style missing (#37946)
* fix: Drawer PurePanel style missing

* docs: clean up useless demo code
2022-10-11 20:59:40 +08:00
MadCcc
03a1ae427d Merge branch 'feature' into next-merge-feature 2022-10-11 20:29:55 +08:00
二货机器人
20404ae03c test: Update snapshot 2022-10-11 15:44:49 +08:00
二货机器人
c376464329 fix: Upload disabled logic 2022-10-11 15:31:16 +08:00
Zheeeng
5325e19ba9
fix: remove unnecessary type assertion (#37930)
* fix: remove uncessary type assertion

* fix: remove as const
2022-10-11 15:20:37 +08:00
Zheeeng
8fc5af0d87
fix: the computed fontSize style may be empty string (#37928) 2022-10-11 15:20:06 +08:00
二货机器人
5f28b2e5a4 chore: merge maaster 2022-10-11 14:54:30 +08:00
vagusX
760cb38dbf
fix: tsc error (#37932)
* fix: tsc issue

* fix: typo
2022-10-11 14:03:17 +08:00
hms181231
1928f10b69
test: Update table test sleep -> useFakeTimers (#37914)
* feat:update table test sleep -> useFakeTimers

* test: tabel test case waitFakeTimer(500) -> waitFakeTimer()
2022-10-10 15:04:19 +08:00
lijianan
e084de38e8
refactor: CC => FC (#37886)
* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: fix test

* fix: fix

* fix: fix

* fix: fix

* test: add test

* fix: fix test
2022-10-10 14:15:08 +08:00
binyellow
77a75c37cd
docs: add image.preview.forceRender props (#37808)
* docs: add image.preview.forceRender props

* feat: add test case

* feat: edit test case

* feat: edit test case

* feat: edit test case
2022-10-10 12:08:42 +08:00
iamkun
9dbceb2846
docs: update doc using custom date time lib text (#37901)
* chore: update doc text

* chore: update doc text
2022-10-10 09:52:54 +08:00
二货爱吃白萝卜
91586f5dcd
docs: FAQ about dropdownRender (#37906) 2022-10-09 17:47:43 +08:00
afc163
f7d9398d0b
style: Input.Password support style={{ fontSize }} (#37898)
close #37766
2022-10-09 11:04:55 +08:00
KangXinzhi
e5c1e84a7e
docs: sync english docs (#37892) 2022-10-08 17:20:46 +08:00
renovate[bot]
1a0823a908
chore(deps): update dependency eslint-plugin-react to v7.31.8 (#37887)
* chore(deps): update dependency eslint-plugin-react to v7.31.8

* Update custom.md

* Apply suggestions from code review

* test: update snapshot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-10-08 17:04:47 +08:00
lijianan
1bea99562f
test: rename cascader test case name (#37891) 2022-10-08 16:51:26 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo (#37890)
* test: Use SSR for testing demo

* chore: fix lint

* test: align with react 18
2022-10-08 16:17:20 +08:00
Santiago Vallejo
de76c7f311
feat: Performance improvement on React useState (#37875) 2022-10-07 11:39:16 +08:00
kiner-tang(文辉)
6d253369d4
fix: when we apply style resize: none, TextArea should be not resizable when showCount is applied (#37855)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-06 19:19:16 +08:00
Martin Cermak
a922b26ffc
feat: Notification support for data-testid (#37710) 2022-10-06 19:16:57 +08:00
Zheeeng
dcac4f66a4
fix: signatures for Upload (#37861) 2022-10-06 18:53:06 +08:00
Yuki Zhang
d7204f4aca
fix: input search border style in RTL (#37865) 2022-10-06 18:51:58 +08:00
lijianan
c2d7fe4f0d
chore: delete Enzyme (#37854)
* chore: delete Enzyme

* fix: fix
2022-10-06 13:51:02 +08:00
Svyatoslav
bfcf826beb
fix: Fix Russain translation for Transfer.selectInvert (#37858)
Co-authored-by: Svyatoslav Solopchenko <svyatoslav@svtslav.com>
2022-10-05 23:47:51 +08:00
Ernest Folch
c5b34e9b77
feat: add missing pt_PT translations (#37857)
* Added missing pt_PT translations

* Added eslint-disable no-template-curly-in-string on pt_PT.tsx file

Co-authored-by: Ernest Folch <efolch@ctaima.com>
2022-10-05 21:31:45 +08:00
lijianan
09570f511f
refactor: delete defaultprops (#37853)
* refactor: delete defaultprops

* fix: update snap

* fix: update snap

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2022-10-05 00:04:29 +08:00
二货爱吃白萝卜
c436bd6f4f
fix: Textarea blink on first mount (#37847)
* fix: Textarea blink on first mount

* chore: Update ts def

* test: Update test case

* chore: bump rc-mentions

* test: Update snapshot

* test: Update test case
2022-10-04 23:31:32 +08:00
miracles1919
3a89998cdb
docs(Tabs): replace TabItem with TabItemType (#37846) 2022-10-03 22:27:26 +08:00
尾宿君
b110ff0293
test: replace Calendar part test with testing lib (#37704) 2022-10-03 20:31:37 +08:00
尾宿君
80034250b5
test: replace Popconfirm part test with testing lib (#37703)
* test: replace Popconfirm part test with testing lib

* test: Update test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-10-02 23:58:00 +08:00
lijianan
c639b2f2ab
refactor: delete defaultprops (#37834)
* refactor: delete defaultprops

* fix: fix

* fix: fix
2022-10-02 16:50:34 +08:00
Zheeeng
ea9b013bb1
refactor(locale): refine signature (#37824)
* chore: prefer using @internal annotation over other markups

* fix: typo

* fix: locale types
2022-10-01 22:17:14 +08:00
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
MadCcc
514dedac92
feat: add common style to rootPrefixCls (#37810)
* feat: add common style to rootPrefixCls

* test: fix lint
2022-09-30 15:30:20 +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
MadCcc
6b2f561841 test: update snapshot 2022-09-29 11:02:07 +08:00
MadCcc
150da4a2cb Merge branch 'master' into next-merge-master 2022-09-29 10:59:03 +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
MadCcc
7f951021bf
docs: v5 docs completion (#37757)
* docs: v5 docs completion

* chore: code clean
2022-09-27 16:56:56 +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
MadCcc
3a7c1e0061
fix: ghost button style (#37505)
* fix: ghost button style

* chore: code clean
2022-09-27 14:40:31 +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
MadCcc
06d2c48c31
fix: getAlphaColor should ignore alpha color (#37720) 2022-09-23 17:31:21 +08:00
lijianan
802ecf6e9e
style: code optimization (#37718) 2022-09-23 16:11:52 +08:00
github-actions[bot]
5d37e6264d
chore: auto merge branches (#37711)
chore: Next merge master
2022-09-23 06:57:01 +00:00
lijianan
a05b9d92c5
feat: Float Button (#37520)
* feat: add FloatButton

* feat: add FloatButton

* feat: FloatButton

* feat: FloatButton

* fix: fix

* feat: FloatButton

* feat: FloatButton

* feat: FloatButton

* feat: FloatButton

* feat: FloatButton

* fix: add groupShape

* feat: mergeShape

* fix: fix

* fix: fix style

* fix: style fix

* fix: fix

* fix: style fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix style

* fix: fix style

* fix: fix style

* fix: style fix

* feat: back-top

* fix: style bug fix

* fix: fix erroe

* fix: add tiggerElement

* fix: add tiggerElement

* fix: add tiggerElement

* fix: add tiggerElement

* feat: add useMemo

* docs: add docs

* fix: bugFix

* fix: bugFix

* fix: bugfix

* fix: style fix

* fix: bugfix

* test: add test case

* fix: style fix

* fix: style fix

* fix: fix style

* fix: fix style

* fix: fix trigger action

* fix: fix style

* feat: add demo

* fix: add demo

* feat: add docs

* fix: style ifx

* feat: update maxSize of bundlesize

* feat: add animation for group

* fix: fix

* fix: fix style

* fix: fix test case

* fix: fix test case

* fix: fix type

* fix: fix type

* fix: update bundlesize

* fix: fix

* fix: fix style

* fix: fix style

* fix: updata snap

* fix: fix CI

* fix: fix style

* fix: rename float button motion

* fix: fix style

* fix: bugFix

* fix: fix style

* fix: bugFix

* fix: update docs

* refactor: float button trigger

* test: fix test case & update snapshot

* fix: delete rest

* docs: update demo

* test: update snapshot

* fix: fix eslint error

* test: update snapshot

* style: update icon fontSize to 18

* fix: fix style

* fix: style fix

* fix: test case fix

* test: add test case

* fix: style fix

* test: update snap

* fix: style fix

* fix: style fix

* fix: style fix

* docs: demo update

* fix: style fix

* docs: update demo

* test: update snapshot

Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-23 14:31:16 +08:00
二货机器人
2a754bd5ca chore: merge maste 2022-09-23 14:15:19 +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
二货机器人
ba26b4c196 chore: next merge master 2022-09-23 10:49:38 +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
二货爱吃白萝卜
538d15a094
fix: Tooltip pure panel not support color prop (#37698)
* refactor: extract color func

* fix: Tooltip render panel color

* test: Update snapshot
2022-09-22 16:55:55 +08:00
二货爱吃白萝卜
af32d24b5f
chore: warning divider not support text (#37697) 2022-09-22 16:15:00 +08:00
二货爱吃白萝卜
a407715dc2
chor: Modal panel support height (#37696)
* chore: Modal purePanel support height

* test: Update snapshot
2022-09-22 15:14:53 +08:00
二货爱吃白萝卜
9c78386f31
fix: InputNumber purepanel cmp with new override token (#37695)
* fix: override of components

* test: Update snapshot
2022-09-22 14:34:59 +08:00
github-actions[bot]
86891775dd
chore: auto merge branches (#37692)
chore: next merge master
2022-09-22 04:05:01 +00:00
二货爱吃白萝卜
9818c71eb7
feat: InputNumber support pure panel (#37526)
* feat: InputNumber support purePanel

* test: Update snapshot

* chore: simplify code
2022-09-22 11:54:05 +08:00
MadCcc
eb9179464b Merge branch 'master' into next-merge-master 2022-09-22 11:47:05 +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
MadCcc
1cf076ffc8
fix: divider dashed style (#37679) 2022-09-21 18:03:52 +08:00
二货爱吃白萝卜
d9b6bc7539
fix: In shadow root inject style logic (#37677) 2022-09-21 17:43:07 +08:00
二货爱吃白萝卜
5a68bad59d
refactor: Drawer PurePanel only need Drawer panel part (#37676)
* refactor: Drawer Panel component extrac

* chore: PurePanel

* chore: PurePanel styled

* test: Update snapshot
2022-09-21 16:35:01 +08:00
二货爱吃白萝卜
c77ae2e4de
docs: Add desc about Text ellipsis (#37670) 2022-09-21 14:11:56 +08:00
MadCcc
5966ee19d1
fix: segmented sm style (#37666) 2022-09-21 10:35:14 +08:00
MadCcc
c61f283487
feat: switch motion (#37658)
* feat: switch motion

* chore: code clean

* feat: active text offset

* chore: update snapshot
2022-09-20 21:51:28 +08:00
MadCcc
c60fc82ab3
style: v5 style optimization (#37634)
* style: ui update

* style: v5 style optimization

* chore: code clean

* style: modal close btn style

* style: notification close button style

* chore: code clean
2022-09-20 21:50:36 +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
415c22bc8c
refactor: menu theme style (#37640) 2022-09-19 22:17:26 +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
MadCcc
bcfb3c9fc6
fix: should not override map token with seed token (#37582)
* fix: fix steps color

* fix: should not override maptoken with seedtoken
2022-09-19 15:08:09 +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
二货爱吃白萝卜
24d2074ca4
fix: PurePanel width measure (#37624)
* fix: PurePanel width measure

* test: Update snapshot
2022-09-19 11:37:44 +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
cce5f00b5b
fix: performance optimization (#37615) 2022-09-19 09:56:45 +08:00
lijianan
aa914cb198
chore: add deprecated warning message (#37617) 2022-09-19 09:55:11 +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
github-actions[bot]
87f9cf362b
chore: auto merge branches (#37579)
chore: next merge master
2022-09-16 07:41:16 +00:00
MadCcc
607ad0dfdd
feat: alpha color (#37574)
* feat: alpha color

* chore: update
2022-09-16 14:58:05 +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
MadCcc
3515a40706
refactor: ConfigProvider theme API update (#37568)
* refactor: ConfigProvider theme support component alias

* test: fix test case

* chore: code clean

* test: fix lint

* test: fix tsx-demo
2022-09-15 21:26:04 +08:00
二货爱吃白萝卜
b24e9ef846
fix: ant- prefix default set font family & size (#37541)
* fix: missing global font size

* chore: patch fontsize

* chore: clean up
2022-09-15 11:37:10 +08:00
binyellow
130b7c222b
docs: modify the onChange description of the Upload document (#37553) 2022-09-15 10:51:09 +08:00
MadCcc
da767991b2 chore: code clean 2022-09-14 15:01:47 +08:00
MadCcc
1a051dcc5e test: fix lint 2022-09-14 14:41:20 +08:00
MadCcc
7a73035f82 chore: fix snapshot 2022-09-14 14:29:05 +08:00
MadCcc
b7fe2078e8 chore: update test 2022-09-14 11:34:49 +08:00
MadCcc
d1be33f224 Merge branch 'master' into next-merge-master 2022-09-14 10:31:17 +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
二货爱吃白萝卜
a8fc6e893a
fix: Fix icon set null not hide icon (#37532)
* fix: Modal confirm can set icon to null

* test: add test case
2022-09-13 18:09:58 +08:00
MadCcc
02f41204e7
fix: radio and checkbox box-sizing (#37529) 2022-09-13 17:21:59 +08:00
MadCcc
83447e5b2c
feat: arrow offset (#37527)
* feat: arrow margin

* feat: dropdown arrow offset

* chore: code clean
2022-09-13 17:07:16 +08:00
MadCcc
0b8c112193
feat: token wireframe (#37507)
* feat: wireframe token

* feat: token wireframe

* feat: wireframe steps

* feat: wireframe table

* feat: wireframe modal

* feat: wireframe popover

* chore: update token collect
2022-09-13 11:52:56 +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
MadCcc
0a0f0e8a41
feat: v5 dropdown style (#37491)
* feat: v5 dropdown style

* feat: TimePicer item radius
2022-09-09 17:47:17 +08:00
MadCcc
68bd866187
fix: segmented hover style (#37498)
* fix: segmented hover

* chore: optimization

* chore: fix logical prop
2022-09-09 17:04:15 +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
MadCcc
8e328d0ae2
feat: focus outline (#37483)
* feat: focus outline

* feat: add tree focus
2022-09-09 10:53:03 +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
MadCcc
7e2eeb3b6e
feat: v5 steps (#37473) 2022-09-08 17:20:51 +08:00
MadCcc
42953246f3
feat: v5 radio disabled dot size (#37469) 2022-09-08 16:05:26 +08:00
MadCcc
6c06792bfd
feat: v5 timeline (#37465) 2022-09-08 15:53:00 +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
二货爱吃白萝卜
3623f2b901
chore: dropdownClassName support with legacy warning (#37460)
* chore: select legacy

* chore: auto complete tips

* chore: cascader warning

* chore: picker & treeselect
2022-09-08 14:33:11 +08:00
afc163
986bd02d6d
revert: fix Switch background flush bug (#37458)
revert #35103

close #37453
2022-09-08 13:35:44 +08:00
MadCcc
42d8d95327
feat: radio dot size (#37452) 2022-09-08 11:43:04 +08:00
MadCcc
39d155bfff
feat: v5 radio (#37449) 2022-09-08 09:55:10 +08:00
MadCcc
b4f4873d54
feat: use filled icon by default (#37450)
* feat: use filled icon by default

* test: update snapshot
2022-09-08 09:51:32 +08:00
MadCcc
a9028777d4
feat: borderless pagination (#37441) 2022-09-07 17:00:21 +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
MadCcc
2cf245969b
feat: v5 motion duration adjustment (#37438) 2022-09-07 14:08:14 +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
MadCcc
229d0d81b7
feat: v5 hover (#37433)
* feat: v5 hover

* feat: breadcrumb margin

* feat: badge hover

* feat: v5 error

* fix: badge ribbon corner
2022-09-07 12:00:00 +08:00
二货机器人
f3a26d170f test: Fix test case 2022-09-07 10:55:07 +08:00
二货机器人
1cad665d15 chore: merge master 2022-09-07 10:35:16 +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
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this (#37422)
* chore: tags deprecated support

* chore: Slider Tooltip test

* chore: Table dropdown visible legacy

* chore: drawer warning of legacy

* chore: Modal legacy prop

* chore: dropdown open legacy prop

* chore: Tooltiop visible legacy info

* fix: format logic

* test: Update test for 18

* chore: fix lint
2022-09-06 21:46:49 +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
MadCcc
870f9e504d
fix: v5 component style (#37413)
* fix: v5 component style

* chore: fix csp
2022-09-06 10:13:18 +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
MadCcc
5174024561 test: fix test 2022-09-05 22:02:23 +08:00
MadCcc
d5c17a9a7c Merge branch 'master' into next-merge-master 2022-09-05 21:26:04 +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
MadCcc
2d880c9714
feat: table hover radius (#37370)
* feat: table hover radius

* feat/table-hover

* chore: style fix

* fix: sticky header
2022-09-02 20:57:53 +08:00
MadCcc
d519acb3e6
fix: radius algorithm (#37369) 2022-09-02 17:53:57 +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
MadCcc
46a861afff
feat: radius token algorithm (#37341)
* feat: radius token

* test: add test case

* feat: linear after 16

* test: more test case
2022-09-01 20:09:32 +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
MadCcc
70b5c2a63e
fix: fill color (#37302) 2022-08-30 16:24:03 +08:00
MadCcc
942fd0b22c test: fix lint 2022-08-30 15:35:48 +08:00
MadCcc
0f553997a2 test: fix snapshot 2022-08-30 15:30:14 +08:00
afc163
749e29d81a
style: @border-radius-sm should not follow @border-radius-base (#37309) 2022-08-30 15:29:07 +08:00
MadCcc
6206ba4637 test: fix test case 2022-08-30 14:52:21 +08:00
MadCcc
c818c89bac test: fix lint 2022-08-30 14:22:15 +08:00
MadCcc
3a5a9385b6 test: fix lint 2022-08-30 14:14:26 +08:00
MadCcc
0d50767aa8 Merge branch 'master' into next-merge-master 2022-08-30 13:05:50 +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
MadCcc
2eecd90ed3
fix: button link color (#37292)
* fix: button link color

* chore: code clean
2022-08-29 20:03:09 +08:00
MadCcc
ffef094c9c
fix: set icon line height 0 (#37287) 2022-08-29 19:06:55 +08:00
MadCcc
2686a126ce
feat: update token colorFill (#37286) 2022-08-29 17:49:44 +08:00
MadCcc
c0653c8a3c
feat: v5 margin (#37283)
* feat: v5 margin

* fix: alert icon line-height
2022-08-29 17:09:41 +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
MadCcc
d2b219dbf8
fix: iconPrefixCls should affect cssinjs (#37259) 2022-08-26 19:31:53 +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
MadCcc
ec13e824be
feat: v5 shadow & colorPrimary (#37254)
* feat: v5 shadow

* chore: color lint

* test: fix test case
2022-08-26 16:05:16 +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
MadCcc
e3a2c68236
feat: better round arrow (#37236) 2022-08-25 19:39:26 +08:00
二货爱吃白萝卜
137af11d19
feat: AutoComplete PurePanel (#37225)
* feat: AutoComplete PurePanel

* test: update snapshot

* test: Update snapshot
2022-08-25 11:50:24 +08:00
黑雨
ed1bb649ba
feat: replace date-picker,time-picker dropdownClassName to popupClassName (#37207) 2022-08-25 10:33:16 +08:00
二货机器人
428665827b chore: clean up useless ts def 2022-08-25 10:17:29 +08:00
yykoypj
43d45330c5
feat: switch visible to open for Tooltip & Popover & Popconfirm (#36807)
* feat: switch visible to open for Tooltip

* feat: switch visible to open for Popover

* feat: switch visible to open for Popconfirm

* fix

* chore: resolve conflict

* test: fix test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 21:34:17 +08:00
江麻妞
4299c15139
style: Optimize Spacing Strategy (#37183) 2022-08-24 21:25:52 +08:00
yykoypj
41a8003241
feat: switch visible to open for Dropdown (#36799)
* feat: switch visible to open for Dropdown

* feat: add warning when use visible

* fix: visible in dropdown-button

* chore: merge conflict

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 17:46:44 +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
yykoypj
771c7a6f2d
feat: change visible to open for Modal (#36774)
* feat: change visible to open for Modal

* feat: add warning when use visible

* test: fix lint

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 11:15:25 +08:00
二货机器人
aa00b93ab8 test: force clean up 2022-08-23 23:50:33 +08:00
Dalton Craven
4758d561c5
fix: export individual menu type declarations (#36681) 2022-08-23 23:40:44 +08:00
二货机器人
acc80d8916 test: update test case 2022-08-23 23:05:02 +08:00
二货机器人
f64c6ca2f3 test: Update warning 2022-08-23 22:41:01 +08:00
二货机器人
83eda31e73 test: fix warning check 2022-08-23 22:38:53 +08:00
lijianan
9f57b26009
test: rewrite locale-provider test case with ts (#37205) 2022-08-23 22:34:02 +08:00
二货机器人
4ca73c67bc fix: drawer rootStyle 2022-08-23 21:57:11 +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
二货机器人
2b38025710 chore: resolve dayjs conflict 2022-08-23 18:00:20 +08:00
二货机器人
d9a9fdc509 chore: merge next 2022-08-23 17:48:00 +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
yykoypj
766748a501
feat: change visible to open for drawer (#36750)
* feat: change visible to open for Drawer

* refactor: use open internal either

* feat: add warning when use visible

* test: Fix test

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:22:00 +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
黑雨
15c82b6f7e
feat: replace dropdownClassName to popupClassName (#37092) 2022-08-22 17:02:37 +08:00
黑雨
fc2b64e6ab
feat: replace dropdownClassName to popupClassName (#37091) 2022-08-22 15:54:34 +08:00
yykoypj
a2605f757d
feat: switch filterDropdownVisible to filterDropdownOpen for Table (#36747)
* feat: change filterDropdownVisible to filterDropdownOpen for Table

* docs: resolve conflict

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 15:37:51 +08:00
github-actions[bot]
19acac6f80
chore: auto merge branches (#37173)
chore: next merge feature
2022-08-22 04:14:58 +00: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
黑雨
07be7c986e
feat: replace cascader dropdownClassName to popupClassName (#37089) 2022-08-21 15:32:49 +08:00
二货爱吃白萝卜
78cca16779
chore: default hashed (#37154)
* chore: default hashed

* test: try for clean default hashed

* chore: clean up

* chore: fix dist

* chore: es inject

* chore: no hashed in test env

* chore: update comment

* chore: hack in jest env

* chore: try unique entry
2022-08-19 17:45:03 +08:00
黑雨
9b3a4dab70
feat: replace dropdownClassName to popupClassName (#37122) 2022-08-19 17:40:22 +08:00
黑雨
d9ab3ee4b5
feat: replace dropdownClassName to popupClassName (#37087)
Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2022-08-19 17:26:22 +08:00
二货爱吃白萝卜
61f2ef6d6b
fix: Ghost should be the top of collapse (#37158) 2022-08-19 16:53:08 +08:00
MadCcc
f27cfe54d4
feat: v4 algorithm (#37152)
* feat: v4 theme

* feat: v4 dark theme

* feat: algorithm

* refactor: rename
2022-08-19 13:57:19 +08:00
二货爱吃白萝卜
af42c491bd
chore: compatible for babel-import (#37151)
* chore: compatible for babel-import

* chore: comment
2022-08-19 10:51:41 +08:00
MadCcc
93908debec
feat: v5 radius (#37146)
* feat: v5 radius

* test: fix test
2022-08-19 10:10:51 +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
yykoypj
42bbd9e24f
feat: change slide tooltip api (#37043)
* feat: change slide tooltip api

* fix

* fix

* fix: Slider test in config-provider

* fix: Slider test

* chore: adjust prosp pass

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-18 20:26:19 +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
二货机器人
25e001f8b5 chore: next merge feature 2022-08-18 17:24:39 +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
二货爱吃白萝卜
94edd8e917
refactor: Select like PurePanel remove motion and support auto width (#37117)
* refactor: Pure support open

* chore: fit content size

* test: Update snapshot

* test: back of snapshot

* test: ignore purePanel
2022-08-17 19:57:10 +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
MadCcc
8c50cc135b
feat: algorithm array (#37082)
* feat: algorithm array

* chore: update deps

* chore: add default
2022-08-16 21:06:25 +08:00
yykoypj
0f2cddbbe9
refactor: remove visible prop for Tag (#36671)
* feat: remove visible props for Tag

* fix: remove relate snap

* feat: add warning when use visible in Tag

* Update components/tag/index.tsx

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

* doc: add v5-note

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-16 16:51:18 +08:00
二货机器人
2490c4cb7f chore: next merge feature 2022-08-16 15:52:28 +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
MadCcc
a4324aeef8 chore: recover dayjs test case 2022-08-15 15:57:19 +08:00
MadCcc
c367c51307 chore: recover test 2022-08-15 15:36:00 +08:00
MadCcc
e6335e233c Merge branch 'master' into next-merge-master 2022-08-15 15:20:39 +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
cl1107
00f59d32f0
🐞 fix: .ant-select-selector是content-box导致宽度不正常 (#36971)
* 🐞 fix: .ant-select-selector是content-box导致宽度不正常

* 🐞 fix: add resetComponent

* 🐞 fix: genItemStyle add box-sizing:border-box
2022-08-10 17:16:46 +08:00
lijianan
32bb2fe61b
fix: eslint error fix (#36976) 2022-08-10 14:26:59 +08:00
MadCcc
af6d58fb5b
refactor: token update (#36973)
* refactor: token update

* chore: code update

* chore: token update

* chore: token
2022-08-09 20:29:12 +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
二货机器人
f7e7a7e373 chore: clean up 2022-08-08 19:22:47 +08:00
二货机器人
6c4a25a1e9 chore: merge feature 2022-08-08 19:08:43 +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
MadCcc
c32eafbcd1 Revert "feat: enable hash by default"
This reverts commit 86c8f945db.
2022-08-08 17:01:23 +08:00
MadCcc
86c8f945db feat: enable hash by default 2022-08-08 16:48:22 +08:00
MadCcc
de4914880e
fix: Menu horizontal border (#36947) 2022-08-08 15:57:18 +08:00
MadCcc
a5588f631e
fix: Input replace '.ant' with antCls (#36937)
* fix: Input replace '.ant' with antCls

* chore: update eslint rules
2022-08-08 15:50:49 +08:00
github-actions[bot]
3115657010
chore: auto merge branches (#36944)
chore: feature merge master
2022-08-08 07:17:41 +00:00
MadCcc
dbff63666a Merge branch 'master' into next-merge-master 2022-08-08 15:12:31 +08: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]
c9ea74299a
chore: auto merge branches (#36910)
chore: Next merge feature
2022-08-05 08:24:44 +00:00
MadCcc
9e3d704ebf
refacot: token update (#36912) 2022-08-05 16:15:24 +08:00
二货机器人
c91af108d6 test: Update snapshot 2022-08-05 16:02:27 +08:00
二货机器人
d8af28cb83 chore: resolve conflict 2022-08-05 15:37:03 +08:00
二货机器人
d970d80fa0 chore: next merge feature 2022-08-05 15:23:36 +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
MadCcc
ec3444a407
refactor: token udpate (#36892) 2022-08-04 16:16:50 +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
MadCcc
f1ba08fd0c
fix: token update (#36871)
* fix: token update

* refactor: map token update
2022-08-03 20:04: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
二货机器人
0dc7c99e7d
feat: PurePanel and refactor naming (#36834)
* docs: PurePanel

* docs: Update API

* docs: Update doc

* chore: correct style naming

* test: Update snapshot
2022-08-01 23:20:04 +08:00
JarvisArt
549a2f956f
feat: add value parameter to textarea showCount.formatter (#36793) 2022-08-01 17:39:57 +08:00
二货机器人
468e2dea19 chore: (merge master) cleanup less style 2022-08-01 17:30:14 +08:00
二货机器人
fa4f7f089d chore: merge master 2022-08-01 17:12:27 +08:00
二货机器人
ab0b6b2c9a
chore: clean Drawer ts def (#36823) 2022-08-01 17:06:19 +08:00
陈帅
dcca3d25f2
feat: add menu token and adjust style (#36777)
* fix: menu add margin token

* Update components/menu/style/index.tsx

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

* fix ci

Co-authored-by: MadCcc <1075746765@qq.com>
2022-08-01 11:19:32 +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
二货机器人
7fb7391cba test: fix test case 2022-07-29 19:26:48 +08:00
二货机器人
3e33697352 chore: update snapshot 2022-07-29 18:00:37 +08:00
二货机器人
74ae7f68f0 chore: back motion style 2022-07-29 16:19:01 +08:00
二货机器人
394aba4afe chore: merge master 2022-07-29 15:56:11 +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
MadCcc
d7c2f5f5d3
feat: menu theme implemented by design token (#36738)
* feat: menu theme implemented by design token

* test: fix test

* fix: lint

* fix: menu motion

* 偷偷加了几个token

Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2022-07-28 20:33:10 +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
MadCcc
e6349a759a
fix: dark fill token (#36656)
* fix: dark fill token

* fix: mention bg

* feat: update color palettes
2022-07-22 20:09:26 +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
MadCcc
1ad0553249
refactor: token update (#36637)
* refactor: token update

* refactor: token

* chore: error color

* fix: menu danger
2022-07-21 17:00:42 +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
MadCcc
fafaa26797
refactor: colorBrand to colorPrimary (#36616)
* refactor: colorBrand to colorPrimary

* refactor: colorBgBase and colorTextBase
2022-07-20 18:35: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
MadCcc
357750e081
refactor: collapse motion (#36597)
* chore: v5.0.0-experimental.5

* refactor: collapse motion
2022-07-19 22:53:38 +08:00
zombiej
c71ce67e14 chore: next merge feature 2022-07-19 17:51:35 +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
二货机器人
b8a2f0a0c7
feat: Modal PureRender type support type (#36544)
* feat: Modal type support PurePanel

* feat: Modal PurePanel support type

* chore: do fix

* chore: do fix

* fix: Static logic locale
2022-07-15 20:51:07 +08:00
MadCcc
dc017f5141
feat: dark color algorithm (#36546)
* feat: dark color algorithm

* test: fix lint

* chore: update colorError

* chore: color update
2022-07-15 19:27:29 +08:00
二货机器人
f654b6cce0
feat: Popconfirm support PurePanel (#36538)
* refactor: move popconfirm content out

* fix: lint

* chore: use locale
2022-07-15 15:28:09 +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
22857b4d93 Merge remote-tracking branch 'origin/master' into next-merge-master 2022-07-15 11:48:11 +08:00
zombiej
ed5f4c3626 test: update snapshot 2022-07-15 11:47:57 +08:00
zombiej
3ffd0d8a46 chore: next merge master 2022-07-15 11:23:50 +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
二货机器人
2c3ad833f1
feat: Popover Pure Panel (#36514)
* feat: Popver shadow

* test: Update snapshot

* chore: clean up
2022-07-14 12:06:18 +08:00