Commit Graph

14935 Commits

Author SHA1 Message Date
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
二货爱吃白萝卜
24d2074ca4
fix: PurePanel width measure (#37624)
* fix: PurePanel width measure

* test: Update snapshot
2022-09-19 11:37:44 +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
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
二货爱吃白萝卜
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