Commit Graph

1812 Commits

Author SHA1 Message Date
github-actions[bot]
c07d61a2c9
chore: auto merge branches (#44448)
chore: merge master into feature
2023-08-27 07:56:32 +00:00
二货爱吃白萝卜
34054509d5
fix: Form xs breakpoint (#44388) 2023-08-24 23:37:31 +08:00
MadCcc
68ee32268b Merge branch 'master' into feature-merge-master 2023-08-24 21:04:48 +08:00
MadCcc
9312b0059e
chore: update icon snapshot (#44414) 2023-08-24 21:01:10 +08:00
二货爱吃白萝卜
0dd651c559
docs: Fix Form provider demo (#44391)
* docs: fix provider demo

* test: update snapshot
2023-08-24 13:27:59 +08:00
Amumu
a3bd7a797f
fix: rm useless form inline style (#44375) 2023-08-24 10:47:02 +08:00
二货爱吃白萝卜
f5fcb7010d
fix: rm useless form inline style (#44360) 2023-08-22 23:53:18 +08:00
dingkang
477b1ec2f3
feat: migrate less to token for Form (#42774)
* docs: migrate less to token for Form

* feat:  migrate less to token for Form

* feat: migrate less to token for Form

* test: update form snapshots

* feat: migrate less to token for Form

* chore: code clean

* chore: code clean

* feat: form token

* chore: add comment

* chore: update docs

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 17:05:56 +08:00
github-actions[bot]
0a4463e68a
chore: auto merge branches (#44202)
chore: feature merge master
2023-08-14 06:19:20 +00:00
二货爱吃白萝卜
72b449a1a4
docs: update faq (#44198)
* docs: update faq

* chore: update lint

* chore: update lint

* chore: use returnType
2023-08-14 13:32:57 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
da35a10f29
fix: update Modal defaultFooter Button disabled logic (#43055)
* test: add unit test

* fix: update disabled logic

* Revert "test: add unit test"

This reverts commit 7559a15af6.

* test: add unit case

* test: update snapshot

* chore: update logic

* Revert "chore: update logic"

This reverts commit 89e2233eda.
2023-08-10 16:48:28 +08:00
afc163
e283ebf2e3
test: update Select jest snapshot (#44140)
* chore: update snapshot

* test: fix test case of Form Select
2023-08-10 00:43:44 +08:00
二货爱吃白萝卜
1a86204053
feat: Form validateFields support recursive (#44130) 2023-08-09 16:35:19 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc (#44061)
* docs: update rootClassName description

* docs: update rootClassName description

* docs: update docs
2023-08-08 18:27:48 +08:00
github-actions[bot]
bd54d4e11a
chore: auto merge branches (#44085)
chore: feature merge master
2023-08-07 12:52:18 +00:00
二货爱吃白萝卜
5e9ef6803b
feat: Form requiredMark support renderProps (#44073)
* feat: Form requiredMark support renderProps

* test: add test case

* test: update snapshot
2023-08-07 15:11:06 +08:00
二货爱吃白萝卜
9427c264f4
docs: misc update (#44034)
* docs: misc update

* docs: update

* docs: update

* docs: update

* Update components/form/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-07 10:42:15 +08:00
二货爱吃白萝卜
6e3a9080bf
fix: Checkbox & Radio not support customize wave (#44014)
* chore: fix checkbox

* chore: checkbox support disabled

* chore: radio support wave

* test: update test case

* chore: fix lint

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update test case
2023-08-04 11:22:33 +08:00
二货爱吃白萝卜
92e36315c5
chore: adjust Form renderProps def (#43996)
* chore: adjust Form renderProps def

* chore: fix compile
2023-08-03 17:12:53 +08:00
MadCcc
c640cbcb53
chore: update snapshot (#43957)
* chore: update snapshot

* chore
2023-08-02 15:33:29 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message (#43947)
* test: init of test

* test: update snapshot

* test: update snapshot

* chore: adjust size limit

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update snapshot

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
lijianan
755e1227f4
test: update icon snap (#43942)
* test: update snap

* chore: bump icons

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-02 02:15:02 +08:00
thinkasany
23040aa25f
chore: remove useless any & add CSSProperties type (#43921) 2023-08-01 01:26:41 +08:00
叶枫
8a165947d0
refactor: Form support namePath type check (#43904)
* chore: up form

* chore: test
2023-07-31 11:18:02 +08:00
栗嘉男
674ff129ce Merge branch master into master-merge-feature 2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
二货爱吃白萝卜
b3ccc46ebe
feat: form support strict (#43828) 2023-07-27 09:56:05 +08:00
afc163
2d3c97979d
fix: Select aria-activedescendant wrong value (#43800) 2023-07-26 10:09:04 +08:00
thinkasany
f78f7bfef9
chore(form): code style optimization (#43793)
* chore(form): code style optimization

* fix: add type CSSMotionProps

* Update ErrorList.tsx

* Update FormItemLabel.tsx

* Update FormItemLabel.tsx
2023-07-25 19:47:05 +08:00
xliez
48becf9cb1
docs(form): update faq for scrollToFirstError (#43640)
* docs(form): update faq for scrollToFirstError

* Update components/form/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: xliez <xliez@foxmail.com>

---------

Signed-off-by: xliez <xliez@foxmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-19 11:23:13 +08:00
二货爱吃白萝卜
1c14a684fe
fix: label empty str line break (#43614)
* fix: label empty str line break

* chore: comment it
2023-07-18 14:41:43 +08:00
二货爱吃白萝卜
5bf08faeea
refactor: rename qrcode to qr-code (#43607)
* refactor: rename qrcode to qr-code

* test: patch test case

* chore: fix Form missing displayName

* chore: patch displayName

* chore: style path

* chore: fix compile
2023-07-17 23:43:32 +08:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router (#43573)
* fix: prepend use-client directive for with Next.js App Router

* Update components/affix/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/badge/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/cascader/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/list/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/mentions/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/qrcode/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/select/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/spin/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/steps/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/time-picker/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/transfer/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update components/tree-select/index.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
thinkasany
82e5555ff3
chore: code style optimization (#43497)
* chore: code style optimization

* revert: 直接解构, 不用 props

* chore: fix classNames useless boolean

* fix: remove classname useless boolean

* fix: revert delete progress classnames boolean
2023-07-13 01:46:56 +08:00
红果汁
3e5a392f73
docs: Form add ColorPicker demo (#42880)
* docs: form add color-picker demo

* test: update snapshot

* fix: color-picker support form

* perf: optimize code logic

* refactor: optimize code

* test: update snapshot

* test: update snap

* test: update snap

* chore: fix prettier

* chore: fix prettier
2023-07-12 10:15:04 +08:00
栗嘉男
6d547cac34 Merge branch master into feature-merge-master 2023-07-07 23:28:35 +08:00
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
github-actions[bot]
bf960bed60
chore: auto merge branches (#43420)
chore: merge master into feature
2023-07-06 15:26:20 +00:00
二货爱吃白萝卜
9fdf12ea47
docs: add getFieldsValue faq (#43405) 2023-07-06 17:51:38 +08:00
栗嘉男
60a2ae6319 chore: merge master into feature 2023-07-04 11:41:25 +08:00
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
muxin
67e32373fb
feat: config-provider support Form className and style properties (#43230)
* feat: config-provider support Input className and style properties

* Revert "feat: config-provider support Input className and style properties"

This reverts commit 46cd51e2b7.

* feat: config-provider support Form className and style properties
2023-06-28 14:13:14 +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