Ell Bradshaw
5a61762681
chore: clarify error about children of Form.Item with `name` ( #38038 )
* Clarify error about children of Form.Item with `name`
This is a common error and the message as written was not very clear.
This should be more helpful pointing people in the right direction
* Update error message in test
* Clarify more error messages
Referring to "render props" is confusing because the docs don't explain what that is, and it's not really a prop.
* Update tests for new error messages
Also improve the test names for some
* Further test message updates
Missed a couple messages
* Add short URLs
* Update test error messages
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Ell Bradshaw <joelbr@tailormed.co>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货爱吃白萝卜
4a1622cd66
docs: unique id ( #38422 )
* docs: unique id
* test: Update snapshot
2 years ago
叶枫
b36ddace4c
docs: add doc ( #38345 )
* feat: done
* feat: done
2 years ago
MadCcc
9f88c1238a
feat: token update ( #38314 )
* feat: token update
* chore: update test
* chore: lint
* chore: code clean
* test: update test case
* feat: radius token update
* fix: form size
* chore: fix steps style
* chore: code clean
* chore: update test case
2 years ago
二货爱吃白萝卜
ea2d5b4482
test: trigger form test ( #38305 )
2 years ago
afc163
9893efeb51
test: fix form test case ( #38276 )
2 years ago
二货爱吃白萝卜
752d671acb
feat: DatePicker support `presets` ( #38249 )
* chore: basic style
* chore: all of token spread
* chore: default presets style
* docs: update presets
* chore: fix style
* chore: fix ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* test: update snapshot
* chore: bump bundle size
* test: update snapshot
* chore: update picker style
* chore: rm useless content
2 years ago
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
2 years ago
hms181231
be1a51e5fc
test: Update form test case ( #38143 )
2 years ago
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
* chore: use includes instead indexOf
* fix: fix
2 years ago
二货爱吃白萝卜
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
2 years ago
二货爱吃白萝卜
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
2 years ago
MadCcc
0a0f96798d
chore: snapshot
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
二货机器人
20404ae03c
test: Update snapshot
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
lijianan
09570f511f
refactor: delete defaultprops ( #37853 )
* refactor: delete defaultprops
* fix: update snap
* fix: update snap
* fix: fix
* fix: fix
* fix: fix
* fix: fix
2 years ago
lijianan
480cb3cbc3
fix: remove defaultProps ( #37815 )
* fix: remove defaultProps
* fix: remove defaultProps
* fix: update snap
* fix: fix
* fix: fix
2 years ago
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2 years ago
二货机器人
7dbc5b735a
test: Update snapshot
2 years ago
二货机器人
940bff85d1
chore: fix lint
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
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>
2 years ago
二货爱吃白萝卜
f90296b2b3
test: Refactor Affix related test case ( #37715 )
* test: refactor
* test: Refactor Affix test case
* test: refactor more test case
* test: fix lint
2 years ago
二货机器人
9ff3ba2bd8
test: Clean up useless debug code
2 years ago
二货爱吃白萝卜
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
2 years ago
MadCcc
c61f283487
feat: switch motion ( #37658 )
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2 years ago
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>
2 years ago
MadCcc
7a73035f82
chore: fix snapshot
2 years ago
黑雨
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>
2 years ago
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
2 years ago
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
2 years ago
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>
2 years ago
yykoypj
766748a501
feat: change visible to open for drawer ( #36750 )
* feat: change visible to open for Drawer
* refactor: use open internal either
* feat: add warning when use visible
* test: Fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
yykoypj
1919b5f7d9
feat: switch visible to open for Drawer ( #37047 )
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
ZhiHao Li
9c01aff437
docs: fix useWatch type error ( #37013 )
2 years ago
Qiuhang817385
fdaa946f24
do'c's):add onChange props for useFormItemStatus description code ( #36929 )
* fix(docs):fix useFormItemStatus description code
* fix():修复CR意见
2 years ago
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>
2 years ago
MadCcc
ec3444a407
refactor: token udpate ( #36892 )
2 years ago
二货机器人
468e2dea19
chore: (merge master) cleanup less style
2 years ago
二货机器人
ffb3a4da90
fix: Form vertical with span row ( #36800 )
* fix: form vertical with span
* test: update snapshot
2 years ago
二货机器人
3e33697352
chore: update snapshot
2 years ago
MadCcc
c5668a7e34
docs: Form disabled version ( #36760 )
* docs: Form disabled version
* test: update snapshot
2 years ago
MadCcc
1ad0553249
refactor: token update ( #36637 )
* refactor: token update
* refactor: token
* chore: error color
* fix: menu danger
2 years ago
MadCcc
357750e081
refactor: collapse motion ( #36597 )
* chore: v5.0.0-experimental.5
* refactor: collapse motion
2 years ago
二货机器人
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
2 years ago
fairyland
8c9ad9b1b6
fix: form disabeld support Upload ( #36573 )
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
2 years ago
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
2 years ago
二货机器人
6599c2780e
fix: Select with percent width leaves unexpected height in Form ( #36484 )
2 years ago
bobo
7dfc80504a
docs: update index.zh-CN.md ( #36471 )
去掉文案描述中多的标点
2 years ago