Commit Graph

22411 Commits

Author SHA1 Message Date
lijianan
8010cd19b6
test: migrate part of DatePicker tests (#37115)
* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* fix: update snap

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: migrate part of DatePicker tests

* test: remove useless methods

* test: add test ignore
2022-08-18 17:40:47 +08:00
afc163
24f9556134
style: use @checkbox-border-radius (#37131) 2022-08-18 11:36:09 +08:00
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
nuintun
ade858c16a
fix: Move @testing-library/user-event to devDependencies (#37098) 2022-08-17 13:20:04 +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
MadCcc
03dcaf740c
docs: 4.22.6 changelog (#37101)
* docs: 4.22.6

* chore: changelog version

* chore: update
2022-08-17 12:00:23 +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
MadCcc
0a13a407ac
docs: update 4.0 sketch file link (#37085)
* docs: update 4.0 sketch file link

* docs: add dark theme sketh
2022-08-17 10:14:01 +08:00
MadCcc
0124f24595 Revert "fix(Table): onChange sorter param types (#36710)"
This reverts commit 9e7e32b60c.
2022-08-17 10:13:25 +08:00
Yuki Zhang
81aac069ac
test: move test cases to testing-library for Grid (#37057)
* test: move test cases to testing-library for Grid

* fix: test when typeof gutter is object array in large screen
2022-08-16 10:14:41 +08:00
黑雨
1182f782c0
feat: replace testing-lib(replace .js to .ts) (#37042) 2022-08-16 10:03:04 +08:00
二货爱吃白萝卜
53a971a62e
chore: post script includes current info (#37056)
* chore: release script includes current info

* chore: more issue
2022-08-15 18:15:14 +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
afc163
4a826bb25f
chore: fix rtl cannot revert in Safari (#37052)
close #37035
2022-08-15 15:25:18 +08:00
陈帅
cbb8b28430
docs: add 4.22.5 changelog (#37049)
* add 4.22.5 changelog

* fix
2022-08-15 14:26:24 +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
dependabot[bot]
089c73d4ff
chore(deps-dev): bump stylelint-config-standard from 26.0.0 to 27.0.0 (#37022)
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 26.0.0 to 27.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/26.0.0...27.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 18:09:00 +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
956d332c01 chore: update image demo snapshot 2022-08-10 17:17:37 +08:00
lijianan
32bb2fe61b
fix: eslint error fix (#36976) 2022-08-10 14:26:59 +08:00
lijianan
d6aa3aaf10
test: migrate part of Descriptions tests (#36970)
* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* refactor: use typescript refactor javascript

* fix: remove string

* fix: fix eslint

* test: migrate part of Descriptions tests

* test: migrate part of Descriptions tests

* test: migrate part of Descriptions tests
2022-08-09 19:32:40 +08:00
YMiemie-cy
0fb3bc29f2
feat: Form add defaultValidateMessages.i18n az_AZ language #23369 (#36967) 2022-08-09 19:22:57 +08:00
hydraZty
baf84e849f
style(Select): error border exclueds pagination (#36972)
Co-authored-by: hydraZty <hydra_zty@163.com>
2022-08-09 19:19:21 +08:00
二货机器人
bc7a32d257 chore: update release-helper workflow 2022-08-09 16:30:55 +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
MadCcc
74d76038ad
chore: fix riddle demo (#36965) 2022-08-09 15:19:55 +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
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
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
afc163
87d138ba56
docs: upgrade codesandbox to react 18 (#36951) 2022-08-08 17:52:39 +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
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
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
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