thinkasany
3796a7f597
feat: ConfigProvider support classNames and styles for form ( #53226 )
...
* feat: ConfigProvider support classNames and styles for form
* update
2025-03-21 11:06:29 +08:00
thinkasany
8b097a248a
chore: sync feature into next
2025-03-06 15:43:03 +08:00
𝑾𝒖𝒙𝒉
7e4216795b
fix(Form): requiredMark not working when component is false ( #52950 )
...
* fix(Form): requiredMark not working when component is false
* comment
* chore: update snap
* chore: Update style to fix lint
* refactor: update logic
2025-03-05 21:26:12 +08:00
MadCcc
1ac0bcaa60
feat: use cssVar by default ( #52671 )
...
Publish Any Commit / build (push) Waiting to run
✅ test v6 / lint (push) Waiting to run
✅ test v6 / test-react-legacy (18, 1/2) (push) Waiting to run
✅ test v6 / test-react-legacy (18, 2/2) (push) Waiting to run
✅ test v6 / test-node (push) Waiting to run
✅ test v6 / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test v6 / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test v6 / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test v6 / test-coverage (push) Blocked by required conditions
✅ test v6 / build (push) Waiting to run
✅ test v6 / test lib/es module (es, 1/2) (push) Waiting to run
✅ test v6 / test lib/es module (es, 2/2) (push) Waiting to run
✅ test v6 / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test v6 / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* feat: use cssVar by default
* chore: update deps
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* chore: test
* chore: update
* chore: update scripts
* chore: UPDATE TEST
* feat: add root
* chore: update snapshot
* chore: fix test case
* chore: fix cycle deps
* feat: rm legacy css variables configuration
* chore: update test case
* chore: update
* chore: fix test
* chore: update overrides
* chore: bump cssinjs
* chore: add test case
2025-02-24 15:35:29 +08:00
thinkasany
b6662ef19f
chore: sync master into next
2025-02-13 16:35:02 +08:00
𝑾𝒖𝒙𝒉
61d4a3c18b
fix(Form.focusField): improve focus logic ( #52726 )
...
(cherry picked from commit c4de3540e8b36b7a7ed29ac686dcf9fc7d1db1e9)
fix(Form.focusField): improve focus logic
# Conflicts:
# components/form/Form.tsx
(cherry picked from commit d1613c3f25179e7ca105e43d328630eb1bfbe9e7)
docs: update
(cherry picked from commit d4d28b34de
)
(cherry picked from commit 84e788555c241bdb4a0a044fac8e0541f119b503)
chore: update docs
(cherry picked from commit ae3444b64eb9d2a25c8eeddb535ccb9d11d7d8a3)
test: add unit test
(cherry picked from commit 1e794f9d46fc6e45940ebc6b5f8407a8a4d49f7a)
chore: update
docs: update
chore: fix
chore: update
2025-02-11 10:20:26 +08:00
二货机器人
67b6b26529
chore: merge feature
2025-01-26 17:22:53 +08:00
二货爱吃白萝卜
5381fabec4
refactor: hooks of context ( #52575 )
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
2025-01-25 17:30:56 +08:00
lijianan
dde18127e4
refactor: [v6] use rc-component/form ( #52510 )
Publish Any Commit / build (push) Waiting to run
✅ test v6 / lint (push) Waiting to run
✅ test v6 / test-react-legacy (18, 1/2) (push) Waiting to run
✅ test v6 / test-react-legacy (18, 2/2) (push) Waiting to run
✅ test v6 / test-node (push) Waiting to run
✅ test v6 / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test v6 / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test v6 / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test v6 / test-coverage (push) Blocked by required conditions
✅ test v6 / build (push) Waiting to run
✅ test v6 / test lib/es module (es, 1/2) (push) Waiting to run
✅ test v6 / test lib/es module (es, 2/2) (push) Waiting to run
✅ test v6 / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test v6 / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
2025-01-21 15:38:01 +08:00
kiner-tang(星河)
50bee02aa0
feat: [v6] Retire deprecated api for form ( #52235 )
...
* feat: Retire deprecated api for form
* feat: Retire deprecated api for form
* feat: Retire deprecated api for form
* feat: Retire deprecated api for form
* feat: opt code
* feat: opt code
* feat: opt code
* feat: opt code
2025-01-13 17:40:27 +08:00
이선재
93ec292961
chore(import): ensure code convention compliance by importing React ( #52021 )
...
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
Issue Check Inactive / issue-check-inactive (push) Has been cancelled
* fix(import): ensure code convention compliance by importing React
* fix(type): add generic type for useMemo
2024-12-15 15:53:51 +08:00
NathanLao
1d76fe94fa
feat: focus on the first field with error in form validation ( #51231 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2024-10-15 16:24:27 +08:00
MadCcc
010f82bd1a
feat: ConfigProvider support variant ( #49535 )
...
* feat: ConfigProvider support variant
* docs: add docs for variant
* feat: support config all components variant
* chore: fix lint
* chore: add test
* test: add test
2024-06-21 17:47:09 +08:00
叶枫
5932005ce4
Form.Item support layout ( #49119 )
...
* feat: FormItem support layout
* feat: doc
* feat: test
* feat: test
* feat: test
* feat: test
* feat: itemPrefixCls
2024-05-31 10:50:47 +08:00
Wanpan
1d138e999c
feat: Form ref adding nativeElement ( #48841 )
...
* feat: ref adding nativeForm
* feat: optimized code
* feat: optimized code
* fix: update type
* feat: optimized code
* feat: update rc-field-form
* feat: update
* feat: update
* feat: update
---------
Signed-off-by: Wanpan <wanpan96@163.com>
2024-05-15 15:19:27 +08:00
叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
lijianan
aa137e96af
type: TS define optimal ( #47153 )
2024-01-26 13:53:52 +08:00
叶枫
81ab20be35
feat: merge master
2023-12-27 14:42:51 +08:00
lijianan
5c52512467
type: update ref type from Ref
to React.RefAttributes<T>
2023-12-27 11:53:19 +08:00
MadCcc
924f46fd88
feat: form support variant ( #46573 )
2023-12-22 10:05:15 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
vagusX
8d7e0bc922
feat: new visual regression implements ( #46127 )
2023-12-09 21:49:47 +08:00
@linhf2023
cca77e61b9
fix(form): legacy hideRequiredMark
props priority ( #46299 )
...
* fix(form): Reduce global requireMark priority
* chore: add test
---------
Co-authored-by: linhf123 <wb-lhf780012@antgroup.com>
2023-12-07 11:22:31 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
MadCcc
80e46b7662
chore: enable cssVar in imageTest ( #45985 )
...
* chore: enable cssVar in imageTest
* fix: tree select style
* chore: fix avatar group style
* fix: cascader panel style
* fix: form style
* fix: slider disabled style
* fix: mentions style
* fix: tag style
* fix: tabs style
* fix: Rate style
* fix: table custom token
* chore: update snapshot
* fix: menu style
* fix: InputNumber style
* chore: recover image test
* chore: add css var image test
2023-11-22 20:53:48 +08:00
MadCcc
c8db817133
refacor: form css var ( #45849 )
...
* refacor: form css var
* chore: code clean
* chore: update
* chore: use lineHeight
2023-11-14 10:08:34 +08:00
AlanQtten
41fabbc0be
chore: remove useless code in Form ( #45295 )
...
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:45 +08:00
Gunay
46341b115c
feat: custom feedback icons ( #43894 )
...
* custom feedback icons initial
(cherry picked from commit 22e43ad0357ea5294baf6eda659c900b1ab170f1)
* tests added and snaps updated
* Revert "tests added and snaps updated"
This reverts commit 13b57be30c
.
* unittest and documentation changes
* feedback items could be turn off
* documentation fix
* move feedback icons object into the hasFeedback prop
* feedbackIcons added to the form element
* test: commit trigger
* fix: failed form test
* snaps updated
* Update components/form/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>
* Update components/form/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>
* Update components/form/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>
* Update components/form/demo/custom-feedback-icons.md
Signed-off-by: afc163 <afc163@gmail.com>
* Update components/form/demo/custom-feedback-icons.md
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: Gunay <gladio@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-04 20:36:45 +08: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
二货爱吃白萝卜
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
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
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
二货爱吃白萝卜
96a93260d3
refactor: split form context ( #43023 )
2023-06-15 10:26:56 +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
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
...
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2023-05-12 14:53:47 +08:00
二货爱吃白萝卜
917e41ecc5
docs: update faq ( #42233 )
2023-05-09 19:09:21 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
linxianxi
532da4c77a
feat(ConfigProvider): add form scrollToFirstError ( #39509 )
...
* feat(ConfigProvider): add form scrollToFirstError
* modify
* format code
* 修改 md
* 解决文件名大小写问题
* 解决文件名大小写问题
2023-01-03 09:56:47 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
...
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
zombiej
c86e8fa0a2
chore: next merge feature
2022-04-15 15:54:13 +08:00
二货机器人
beeaf2d221
docs: More info about useWatch ( #35039 )
...
* docs: more about useWatch
* test: Update test case
* docs: more info
* docs: more & more
* feat: add useFormInstance
* chore: add version info
2022-04-15 15:51:09 +08:00
二货机器人
b62e409ad5
feat: Form support useWatch ( #35036 )
...
* feat: Support useWatch
* test: update test case
* chore: update snapshot
2022-04-14 20:46:57 +08:00