Commit Graph

1584 Commits

Author SHA1 Message Date
叶枫
b36ddace4c
docs: add doc (#38345)
* feat: done

* feat: done
2022-11-02 17:50:50 +08:00
二货爱吃白萝卜
ea2d5b4482
test: trigger form test (#38305) 2022-10-31 21:23:59 +08:00
afc163
59b97b98bf Merge branch 'master' into master-merge-feature 2022-10-30 16:15:08 +08:00
afc163
9893efeb51
test: fix form test case (#38276) 2022-10-30 15:20:39 +08:00
二货机器人
94b688ff8c chore: feature merge master 2022-10-22 22:53:41 +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
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
github-actions[bot]
f8629ac588
chore: auto merge branches (#38093)
chore: sync master into feature
2022-10-18 14:32:45 +00: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
二货机器人
20404ae03c test: Update snapshot 2022-10-11 15:44:49 +08:00
二货机器人
5f28b2e5a4 chore: merge maaster 2022-10-11 14:54:30 +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
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
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
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups (#37816) 2022-09-30 14:26:41 +08:00
二货机器人
7dbc5b735a test: Update snapshot 2022-09-28 17:29:47 +08:00
二货机器人
940bff85d1 chore: fix lint 2022-09-28 15:00:27 +08:00
二货机器人
069e44bcc3 chore: merge master 2022-09-28 12:01:20 +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
二货爱吃白萝卜
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
二货机器人
9ff3ba2bd8 test: Clean up useless debug code 2022-09-23 10:48:47 +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
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
黑雨
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
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
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
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
1919b5f7d9
feat: switch visible to open for Drawer (#37047)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 14:52:37 +08:00
ZhiHao Li
9c01aff437
docs: fix useWatch type error (#37013) 2022-08-12 18:06:26 +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
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
二货机器人
ffb3a4da90
fix: Form vertical with span row (#36800)
* fix: form vertical with span

* test: update snapshot
2022-07-30 21:00:00 +08:00
MadCcc
c5668a7e34
docs: Form disabled version (#36760)
* docs: Form disabled version

* test: update snapshot
2022-07-29 15:54:36 +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
MadCcc
aca2c3d4e7
feat: add Form.Item.useStatus (#36486)
* feat: add useFormItemStatus

* chore: code clean

* docs: update example

* refactor: api change

* docs: fix typo

* docs: update docs

* docs: udpate

* chore: add warning

* test: add test case

* chore: update warning

* chore: code clean

* test: fix test case
2022-07-14 11:01:39 +08:00
二货机器人
6599c2780e
fix: Select with percent width leaves unexpected height in Form (#36484) 2022-07-12 18:01:05 +08:00
github-actions[bot]
e46dedd90c
chore: auto merge branches (#36478)
chore: feature merge master
2022-07-12 08:21:41 +00:00
bobo
7dfc80504a
docs: update index.zh-CN.md (#36471)
去掉文案描述中多的标点
2022-07-12 11:35:13 +08:00
Sg
6ada28cce2
docs: fix typo (#36457)
fix typo in useWatch.md
2022-07-11 14:40:35 +08:00
NinJa
4e03961b91
feat: Update Doc (#36437)
Co-authored-by: meng.jia <meng.jia@ly.com>
2022-07-08 19:12:03 +08:00
Kirill Barsukov
2e04982882
Update index.en-US.md (#36400)
Fixed a typo
2022-07-06 23:28:27 +08:00
afc163
80e7f7087d chore: merge feature to master, resolve conflict 2022-07-05 11:23:35 +08:00
二货机器人
9bc30d1ed1
fix: ErrorList shaking (#36358)
* fix: ErrorList shaking

* fix: React 18 test case
2022-07-04 13:32:48 +08:00
MadCcc
0a7b4d331d
fix: checkbox should be disabled by form (#36345)
* fix: checkbox should be disabled by form

* chore: code clean

* test: update snapshot

* chore: snapshot
2022-07-01 21:29:31 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
C. T. Lin
853a04ddce
fix: exporting Rule, FormListFieldData, FormListOperation from form (#34735) 2022-06-17 09:51:36 +08:00