thinkasany
f566e3b24b
type: supplementary React.FC type ( #43410 )
...
* type: supplementary React.FC type
* fix: remove useless code
* revert: remove useStyle
* revert: card-top
* Update card-top.tsx
2023-07-06 23:54:03 +08:00
Starpuccino
5c350a80e2
fix: Slider disabled status in form ( #43142 )
...
* fix slider component disabled status in form
* add test case & update demo
* fix related test cases
2023-06-24 14:20:56 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
二货爱吃白萝卜
917e41ecc5
docs: update faq ( #42233 )
2023-05-09 19:09:21 +08:00
二货爱吃白萝卜
e2606d477d
fix: form item support comment ( #41771 )
...
* fix: form item support comment
* chore: clean up
* fix: lint
2023-04-12 16:15:04 +08:00
Wuxh
32f8134f4f
feat: improve noStyle
validation message display logic ( #41698 )
...
* test: add case
* feat: improve `noStyle` validation message display logic
When `noStyle=true` and `help=false`, the error message is blocked from being passed up
* test: update test case
* Revert "test: update test case"
This reverts commit a3e5d84ea620becb9e72b6b71766c01114add9ae.
* chore(type): update typo
* Revert "chore(type): update typo"
This reverts commit e13ec3ba5267394e8112fb742ec9bc9d4afdef5b.
* test(deps): DO NOT MERGE
* test: DO NOT MERGE
* Revert "test: DO NOT MERGE"
This reverts commit 2f4ea8e0ce64f88ab690c6e54b86034a92bcb55f.
* Revert "test(deps): DO NOT MERGE"
This reverts commit 48e700ef4aaa4675f29d3fbd23156bd8f692949e.
2023-04-10 12:03:11 +08:00
Wuxh
0e65dad8e9
chore: Form.Item should not support requiredMark ( #41725 )
...
* test: add case
* chore: Form.Item does not support requiredMark
2023-04-10 12:02:06 +08:00
Wxh16144
ef8b824ef1
chore: improve Form.Item on Require judgment logic ( #41623 )
...
* test: add case
* chore: improve `Form.Item` on Require judgment logic
2023-04-04 15:23:43 +08:00
JiaQi
f414abc96d
fix(Form): Feedback does not automatically deduce the correct state ( #41594 )
...
* fix(form): Feedback does not automatically deduce the correct state
* rerunning
2023-04-02 17:53:29 +08:00
afc163
468f806e03
Merge branch 'feature' into master-merge-feature
2023-04-01 21:17:17 +08:00
JiaQi
6e29fdd319
Fix Form.Item not rendering correctly in Modal when it has help ( #40519 )
...
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-03-31 14:27:55 +08:00
JiaQi
b73b37eee9
feat(Form.Item): useStatus supports get error messages and warning messages ( #41554 )
...
* feat: useStatus supports get error messages
* feat: useStatus supports get warning messages
* chore: update example
* chore: add test case
2023-03-31 11:42:34 +08:00
kiner-tang(文辉)
bf8a36be8f
fix(form): resolve the problem of validation states changing out of sequence ( #41412 )
...
* fix: reolve FormItem's validate status trigger unexpected issue
* feat: add test case
* feat: optimize code
* feat: optimize code
* feat: optimize code
* style: format code
* git
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: react version
* style: format code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
2023-03-23 16:40:53 +08:00
kiner-tang(文辉)
c3f8424c98
fix(form): success feedback should display when pass hasFeedback prop and current value is valid value ( #41116 )
...
* fix: success feedback should display when pass hasFeedback prop and type valid value
* feat: optimize code
* feat: update test case
* feat: optimize code
* feat: optimize code
* feat: update demo
* feat: update test case
* feat: update demo
* feat: update test case
* feat: reset demo
2023-03-09 21:28:54 +08:00
MadCcc
386588dd2b
chore: update test ( #39824 )
...
* chore: update test
* chore: code clean
2022-12-27 11:49:09 +08:00
MadCcc
663d1454f2
chore: fix ci ( #39811 )
...
* chore: fix ci
* chore: code clean
* chore: update form test
* chore: test
2022-12-26 15:48:50 +08:00
MadCcc
ab4bcc4463
Merge branch 'master' into next-merge-master
2022-11-17 14:04:31 +08:00
Wuxh
4bc23b3ca6
chore: fix the wrong link address ( #38543 )
...
* chore: fix the wrong link address
repo: https://github.com/ant-design/u.ant.design
* Revert "chore: fix the wrong link address"
This reverts commit 63e50f426a
.
* one more time
2022-11-14 16:32:34 +08:00
二货机器人
d5cfd195dd
chore: merge master
2022-11-07 23:32:46 +08:00
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>
2022-11-07 17:32:58 +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
MadCcc
5c72d04b10
Merge branch 'feature' into next-merge-feature
2022-10-19 17:46:21 +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
MadCcc
7a38804f95
Merge branch 'master' into next-merge-master
2022-10-18 21:33:51 +08: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
MadCcc
2471bf88aa
test: fix test
2022-10-11 21:33:29 +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