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>
1 year ago
二货爱吃白萝卜
1c14a684fe
fix: label empty str line break ( #43614 )
* fix: label empty str line break
* chore: comment it
1 year ago
二货爱吃白萝卜
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
1 year ago
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>
1 year ago
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
1 year ago
红果汁
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
1 year ago
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
1 year ago
二货爱吃白萝卜
9fdf12ea47
docs: add getFieldsValue faq ( #43405 )
1 year ago
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>
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
kiner-tang(文辉)
5728abe94e
fix: solve form label offset not working in vertical layout issue ( #43155 )
1 year ago
二货爱吃白萝卜
96a93260d3
refactor: split form context ( #43023 )
1 year ago
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
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>
1 year ago
ZhuoYang Wu(阿离)
7c23f844ce
docs: fix error syntax ( #42824 )
Co-authored-by: Ali <ali.wu@miotech.com>
1 year ago
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
2 years ago
二货爱吃白萝卜
765cafb2cd
refactor: ConfigProvider form dependency inversion ( #42604 )
* refactor: dependency inversion
* chore: use rc-util
2 years ago
lijianan
993b9eb4e7
test: fix CI fail ( #42594 )
2 years ago
lijianan
9caba0919b
demo: update form demo when layout === inline ( #42476 )
2 years ago
lijianan
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2 years ago
二货爱吃白萝卜
0ead943e1e
feat: Form support `validateOnly` ( #42273 )
* feat: support validateOnly
* test: update snapshot
2 years ago
二货爱吃白萝卜
917e41ecc5
docs: update faq ( #42233 )
2 years ago
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point ( #42225 )
* chore: align motion follow popup point
* test: update snapshot
2 years ago
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
kiner-tang(文辉)
b31bec59af
fix: validated should be reset when trigger reset event ( #41976 )
2 years ago
GUAN MING
2aa80491b1
docs: modify the doc of Form.Item messageVariables ( #41959 )
2 years ago
afc163
107a28fa94
demo: fix Deprecated usage in form demo ( #41860 )
* demo: fix Deprecated usage in form demo
* test: update snapshot
* test: update snapshot
2 years ago
二货爱吃白萝卜
099b0fc52a
docs: adjust form diabled demo ( #41839 )
2 years ago
二货爱吃白萝卜
e2606d477d
fix: form item support comment ( #41771 )
* fix: form item support comment
* chore: clean up
* fix: lint
2 years ago
黑雨
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>
2 years ago
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2 years ago
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.
2 years ago
Wuxh
0e65dad8e9
chore: Form.Item should not support requiredMark ( #41725 )
* test: add case
* chore: Form.Item does not support requiredMark
2 years ago
Wxh16144
ef8b824ef1
chore: improve Form.Item on Require judgment logic ( #41623 )
* test: add case
* chore: improve `Form.Item` on Require judgment logic
2 years ago
JiaQi
f414abc96d
fix(Form): Feedback does not automatically deduce the correct state ( #41594 )
* fix(form): Feedback does not automatically deduce the correct state
* rerunning
2 years ago
JiaQi
6e29fdd319
Fix Form.Item not rendering correctly in Modal when it has help ( #40519 )
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2 years ago
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
2 years ago
二货机器人
d6a73f3c6b
chore: feature merge master
2 years ago
MadCcc
06035500d5
refactor: textarea showCount in suffix ( #41450 )
* refactor: textarea showCount in suffix
* test: update snapshot
* test: update
* chore: update rc-input
2 years ago
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
2 years ago
breeze
6a2cad277e
fix: fixed Form component layout exceptions when set props layout="inline" ( #41140 )
* fix: 修复form组件在行内布局下展示异常
* fix: 修复form组件在行内布局下展示异常
---------
Co-authored-by: 丁奎 <dingkui02@meituan.com>
2 years ago
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>
2 years ago
野迂迂
844905774a
docs: improve FieldData type on Form ( #41278 )
2 years ago
Rex Zeng
d6683d5503
docs(form): add docs for useForm preserve ( #41210 )
2 years ago
二货机器人
d90b475a86
test: update snapshot
2 years ago
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test ( #41242 )
* test: update snapshot
* test: use render
* test: fix skip
* test: fix skip
2 years ago
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 ( #41109 )
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1
Bumps [glob](https://github.com/isaacs/node-glob ) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1 )
---
updated-dependencies:
- dependency-name: glob
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update api
* fix
* fix
* fix path
* fix path
* update snap
* update snap
* update snap
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2 years ago