Commit Graph

15261 Commits

Author SHA1 Message Date
Yuki Zhang
b7557751fe
chore: remove useless code for Space.Compact (#38243) 2022-10-28 15:06:19 +08:00
afc163
444a8e3c75
style: enlarge Carousel dots hover area (#38257) 2022-10-28 11:17:01 +08:00
MadCcc
5a218d0c4d Merge branch 'master' into feature-merge-master 2022-10-27 21:57:59 +08:00
MadCcc
d4b7fb504f Merge branch 'master' into next-merge-master 2022-10-27 21:55:12 +08:00
MadCcc
28396d6b9c
fix: skeleton node should have bg color (#38248)
* fix: skeleton node should have bg color

* chore: code clean
2022-10-27 17:03:02 +08:00
ZH-seven
d4a5c76d04
fix: Tabs get getPopupContainer from ConfigProvider(#25844) (#38238)
Co-authored-by: seven <zhu.hui93@iwhalecloud.com>
2022-10-27 11:23:39 +08:00
lijianan
0f63c5d6bc
fix: eslint error (#38233) 2022-10-26 23:50:13 +08:00
二货机器人
f311793e71 docs: Fix mistake of select listItemHeight. close #38228 2022-10-26 22:04:26 +08:00
MESSAOUDI Oussama
1da8ef619f
fix: Tabs active style in compact mode (#38223) 2022-10-26 16:07:05 +08:00
MadCcc
242b1713f5 Merge branch 'master' into next-merge-master 2022-10-26 14:56:44 +08:00
MadCcc
51b69283a4
test: update test case (#38217)
* test: update test case

* chore: udpate snapshot
2022-10-26 14:47:33 +08:00
Chuns Chen
cc5c4fed51
refactor: locale files reference path (#38194)
* chore: add locale files to npm pkg

* docs: locale files reference path

* docs: fix locale path

* chore: bump @ant-design/tools

* refactor: default locale file

* chore: add site wepack alias

* chore: bump @ant-design/tools

* fix: site theme locale reference path

* chore: add locale files to eslint ignore

* fix: markdown demo unable to resolve path to module antd/locale
2022-10-26 14:38:54 +08:00
行冥
3390290c26
chore: remove redundant state (#38208)
Co-authored-by: xingming <xingjiang.gxj@antgroup.com>
2022-10-25 23:24:18 +08:00
MadCcc
ffc09a2a0d
feat: compact theme (#38105)
* feat: compact theme

* chore: code clean

* chore: code clean

* chore: show dynamic theme in preview

* chore: code clean

* feat: compact algorithm
2022-10-25 17:04:36 +08:00
kiner-tang(文辉)
ca97b05661
fix: Remove redundant warnings (#38190)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-25 00:07:18 +08:00
二货爱吃白萝卜
d08deeeb8a
feat: FloatButton PurePanel (#38199)
* refactor: Popout FloatButton component

* test: Update snapshot

* docs: add BackTop

* test: Update snapshot

* chore: fix compile

* chore: fix ts

* chore: pure panel size
2022-10-24 23:15:39 +08:00
MadCcc
458cb84a89
fix: safari slider (#38193) 2022-10-24 15:59:56 +08:00
zz
9d9447e54f
refactor(DirectoryTree): simplify code (#38184) 2022-10-23 18:33:47 +08:00
kiner-tang(文辉)
2a1f2836f4
fix: Transfer throw error whentitles is undefined (#38182)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 16:06:50 +08:00
zz
072fda0f15
refactor(Typography.Link): simplify code (#38181) 2022-10-23 16:05:31 +08:00
kiner-tang(文辉)
21c4bcf40a
fix(table): aria-label should be use the first text content in element when column title is ReactElement in table (#38160)
* fix: aria-lable should be use the first text content in element when title is ReactElement

* fix: aria-label should be use the first text content in element when title is ReactElement

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update snapshots

* feat: update snapshots

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 15:28:26 +08:00
kiner-tang(文辉)
80ad128aeb
fix: add titles for transer in locale (#38168)
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2022-10-23 15:23:16 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender (#37885) 2022-10-23 00:33:45 +08:00
二货机器人
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