Commit Graph

1770 Commits

Author SHA1 Message Date
Zhou Fang
78714e01c4
demo: translate chinese to english (#43234)
* Updated language in layout-can-wrap.tsx

* Updated language in draggable.tsx

* Updated language in drag-debug.tsx

* Updated language in tree/demo/draggable.tsx

* Updated jest snapshots for form

---------

Co-authored-by: Zhou Fang <zhfaxb@syntronic.com>
2023-06-29 23:57:39 +08:00
JiaQi
c3225c0720
fix: error reported when the name of Form.List is 0 (#43199)
* fix: error reported when the name of Form.List is 0

* chore: add test case
2023-06-28 09:46:20 +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
kiner-tang(文辉)
5728abe94e
fix: solve form label offset not working in vertical layout issue (#43155) 2023-06-24 13:59:33 +08:00
二货爱吃白萝卜
96a93260d3
refactor: split form context (#43023) 2023-06-15 10:26: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
MadCcc
8ebb7be7b0 Merge branch 'feature' into master-merge-feature 2023-06-06 16:31:22 +08:00
ZhuoYang Wu(阿离)
7c23f844ce
docs: fix error syntax (#42824)
Co-authored-by: Ali <ali.wu@miotech.com>
2023-06-05 12:30:50 +08:00
afc163
636eeeb565
feat: Rate support more html attributes (#42676)
* feat: upgrade rc-rate

* test: update snapshot

* test: update snapshot

* Update package.json

* Update package.json
2023-05-28 01:47:07 +08:00
二货爱吃白萝卜
765cafb2cd
refactor: ConfigProvider form dependency inversion (#42604)
* refactor: dependency inversion

* chore: use rc-util
2023-05-25 19:58:07 +08:00
lijianan
993b9eb4e7
test: fix CI fail (#42594) 2023-05-25 11:10:23 +08:00
lijianan
9caba0919b
demo: update form demo when layout === inline (#42476) 2023-05-18 19:40:35 +08:00
github-actions[bot]
59c9119be1
chore: auto merge branches (#42276)
chore: master merge feature
2023-05-12 15:14:26 +00:00
lijianan
9d1854763d
refactor: add useSize replace React.useContext (#42282)
* refactor: add useSize

* fix

* fix

* fix

* fix

* fix
2023-05-12 14:53:47 +08:00
二货爱吃白萝卜
0ead943e1e
feat: Form support validateOnly (#42273)
* feat: support validateOnly

* test: update snapshot
2023-05-11 15:43:00 +08:00
二货爱吃白萝卜
917e41ecc5
docs: update faq (#42233) 2023-05-09 19:09:21 +08:00
二货机器人
4e311f0d95 test: update snapshot 2023-05-08 23:47:41 +08:00
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point (#42225)
* chore: align motion follow popup point

* test: update snapshot
2023-05-08 23:28:13 +08:00
yoyo837
7f5042c4fe Merge branch 'master' into feature-merge-master 2023-05-06 19:03:11 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
二货机器人
252f516a5e chore: merge master 2023-05-06 11:40:31 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
MadCcc
9e1934248b Merge branch 'master' into feature-merge-master 2023-04-27 10:16:07 +08:00
kiner-tang(文辉)
b31bec59af
fix: validated should be reset when trigger reset event (#41976) 2023-04-25 09:58:57 +08:00
GUAN MING
2aa80491b1
docs: modify the doc of Form.Item messageVariables (#41959) 2023-04-24 10:16:19 +08:00
afc163
107a28fa94
demo: fix Deprecated usage in form demo (#41860)
* demo: fix Deprecated usage in form demo

* test: update snapshot

* test: update snapshot
2023-04-19 11:56:15 +08:00
MadCcc
1babfef998 Merge branch 'master' into feature-merge-master 2023-04-17 19:38:12 +08:00
二货爱吃白萝卜
099b0fc52a
docs: adjust form diabled demo (#41839) 2023-04-17 14:33:11 +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
黑雨
41ed9bd430
feat: Button semantic dom (#41456)
* feat: add semantic doc

* 🔀 feat: rebase feature

* feat: update for code reviewer

* feat: update snap

* feat: update snap

* 🐛 bug: update for cov

* Message

* bug: update snap

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* ♻️ feat: ref code

* 🩺 feat: update for review

* 💄 style: update style

* 📝 doc: update doc

* 💄  style: update style

* 💄  style: update style

* 💄 style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 📸 feat:update snap

* 🚧 feat: clean up

* 🚧 feat: clean up

* feat: icon wrapper

* test: update snapshot

* chore: code clean

* fix: icon only font size

* chore: rollback unexpected commit

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-04-11 11:37:31 +08:00
黑雨
cef58664e8
📝doc: add design token table (#41717)
* feat: add token

* 📝doc: update lint

* 📝doc: update doc
2023-04-11 10:25:24 +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
二货机器人
d6a73f3c6b chore: feature merge master 2023-03-29 14:44:41 +08:00
栗嘉男
de2dde6613 Merge branch master into master-merge-feature 2023-03-28 22:01:23 +08:00
MadCcc
06035500d5
refactor: textarea showCount in suffix (#41450)
* refactor: textarea showCount in suffix

* test: update snapshot

* test: update

* chore: update rc-input
2023-03-27 10:33:52 +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
breeze
6a2cad277e
fix: fixed Form component layout exceptions when set props layout="inline" (#41140)
* fix: 修复form组件在行内布局下展示异常

* fix: 修复form组件在行内布局下展示异常

---------

Co-authored-by: 丁奎 <dingkui02@meituan.com>
2023-03-23 11:36:21 +08:00
lijianan
f6c235462e
chore: Remove locale-provider (#41289)
* chore: rm locale-receiver

* chore: export useLocale in locale

* chore: comment

* chore: rm locale-provider dir

* docs: rm locale-provider in migration document

* chore: fix regexp

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-21 13:08:43 +08:00
github-actions[bot]
de28d09854
chore: auto merge branches (#41292)
chore: merge feature into master
2023-03-16 18:27:38 +00:00
野迂迂
844905774a
docs: improve FieldData type on Form (#41278) 2023-03-16 20:15:00 +08:00
Rex Zeng
d6683d5503
docs(form): add docs for useForm preserve (#41210) 2023-03-15 17:17:51 +08:00
二货机器人
d90b475a86 test: update snapshot 2023-03-15 14:42:24 +08:00
二货机器人
7c2bca223e Merge branch 'master' into feature-merge-master 2023-03-15 11:12:57 +08:00