Commit Graph

23048 Commits

Author SHA1 Message Date
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
afc163
019666e57c docs: add changelog for #36958 2022-08-08 22:11:35 +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
github-actions[bot]
68adf248b2
chore: auto merge branches (#36955)
chore: Next merge feature
2022-08-08 13:50:04 +00:00
afc163
3b176a9493 docs: update changelog date 2022-08-08 21:42:03 +08:00
afc163
f8cb6eb05e
docs(): release 4.22.4 (#36952) 2022-08-08 20:05:42 +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
afc163
87d138ba56
docs: upgrade codesandbox to react 18 (#36951) 2022-08-08 17:52:39 +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
4439dff739 chore: 5.0.0-experimental.15 2022-08-08 16:49:05 +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]
0cbd73fa8a
chore: auto merge branches (#36945)
chore: next merge master
2022-08-08 07:27:05 +00: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
MadCcc
f521805955
chore: disable jest/no-standalone-expect (#36942) 2022-08-08 14:24:26 +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
MadCcc
adcdd3bf37 chore: v5-note 2022-08-05 20:04:11 +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
MadCcc
fd1f2ebcd8 chore: v5.0.0-experimental.14 2022-08-05 16:25:44 +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
lijianan
73e541911b
refactor: use typescript refactor javascript (#36907)
* 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
2022-08-05 13:45:46 +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
lijianan
212802bc09
pref: add useCallback/useMemo (#36877)
* 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
2022-08-05 10:22:55 +08:00
JarvisArt
d88e9fe866
chore: upgrade rc-mentions to v1.9.1 (#36898) 2022-08-04 19:14:56 +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
e85eb69934 chore: 5.0.0-experimental.13 2022-08-04 16:19:21 +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
afc163
772c251ec5
Create disscustion-open-check.yml 2022-08-04 11:00:42 +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
lijianan
a9f0123966
refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent (#36876)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting
2022-08-04 10:04:37 +08:00
yifanwww
8dfef70868
chore: Make data-${string} undefinable (#36858) 2022-08-04 10:03:58 +08:00
MadCcc
3ffd58b2ae chore: v5.0.0-experimental.12 2022-08-03 20:05:54 +08:00
MadCcc
f1ba08fd0c
fix: token update (#36871)
* fix: token update

* refactor: map token update
2022-08-03 20:04:58 +08:00