二货机器人
7a3bf8287f
feat: Form rule
support warningOnly
that not block form submit ( #30829 )
...
* chore: bump rc-field-form
* docs: Demo driven
* refactor: Use event instead
* chore: collection logic update
* chore: clean up
* chore: show warning
* chore: warning no need required mark
* feat: warning example
* docs: mix error
* chore: tmp list
* chore: magic code
* chore: fix motion
* chore: fix style
* chore: clean up useless code
* chore: RM useless import
* chore: RM useless file
* test: Update snapshot
* chore: Should reset
* fix: Memo logic
* fix: Form basic test case
* fix: lint
* chore: back of ref
* test: Update snapshot
* test: RM ueseless test case
* chore: RM useless code
2021-06-04 14:44:41 +08:00
afc163
25549cd388
fix: Form Input prefix style in error status ( #30640 )
...
close https://github.com/ant-design/ant-design/issues/30629
2021-05-24 18:18:44 +08:00
afc163
077443696b
docs: fix Form requiredMark demo
...
close #29921
2021-03-28 16:22:00 +08:00
afc163
165477175d
chore: update Form and TreeSelect demo ( #29656 )
...
* chore: update Form and TreeSelect demo
* fix eslint
2021-03-08 18:06:49 +08:00
mumiao
4ad6a55474
fix: form.item is not type safe due to not forwarding their type para… ( #29397 )
...
* fix: form.item is not type safe due to not forwarding their type parameters to the rcForm components
* test: add test cases
2021-02-27 23:51:35 +08:00
二货机器人
bec5a08368
feat: InputNumber support stringMode ( #29373 )
...
* add input-number demo
* update snapshot
* update demo
* docs: Update desc
* update doc
* clean up React useLayoutEffect warning
* fix ts definition
* re-trigger
* update rc-uitl version
* bump rc-input-number
* update
* update
* fix ts
* update demo snapshot
* update doc
* update demo
2021-02-22 22:07:19 +08:00
Homyee King
20c49b7bbb
docs: fix demo-focus layout ( #29028 )
...
* fix: demo-focus layout
* fix: update snap
* fix: form noStyle test case
* fix: update snap
Co-authored-by: wanghongye <wanghongye@kuaishou.com>
2021-01-26 09:36:20 +08:00
zombiej
687b68b256
test: test driven
2021-01-19 11:51:13 +08:00
二货机器人
6ecfa74e7d
feat: Select support responsive maxTagCount
( #28520 )
...
* feat: init select overflow
* chore: use inline-xxx instead of rtl
* docs: Add demo
* test: Update snapshot
* fix: style lint
* test: Update snapshot
* chore: Update rc-tree-select version
* test: Update snapshot
* test: Update snapshot
* chore: bump all rc-resize-observer version
* bump bundle size
2020-12-25 13:13:07 +08:00
vouis
6426dbdfa4
feat: Form scrollToFirstError support ScrollLogicalPosition ( #28272 )
...
* feat: Form scrollToFirstError support ScrollOptions type
* feat: Form scrollToFirstError add boolean type
* Apply suggestions from code review
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-12-11 14:35:46 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
陈帅
95ce54ca79
feat: FormItem support _internalItemRender ( #27881 )
...
* feat: formitem support _internalItemRender
* add mark
* up rc-field-form
* fix ts error
* Update components/form/FormItemInput.tsx
Co-authored-by: 二货机器人 <smith3816@gmail.com>
* update notes
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-20 21:43:43 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf ( #27864 )
2020-11-20 12:11:50 +08:00
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
...
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
偏右
39e37bf1b4
fix: Input[allowClear] className ( #27462 )
...
* fix: Input[allowClear] className missing
close #27444
* fix snapshot
2020-10-30 15:27:37 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
...
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
2020-10-23 18:50:46 +08:00
二货机器人
06b25b4d07
refactor: Update rc-field-form version ( #27319 )
...
* refactor: Update rc-field-form version
* update snapshot
2020-10-23 15:20:48 +08:00
偏右
27e9926438
fix: duplicated className on Search[allowClear] ( #27261 )
...
* fix: duplicated className on Search[allowClear]
close #27258
* fix snapshot
2020-10-20 21:44:37 +08:00
afc163
f80828bfd6
docs: 🎬 refactor Form demo code
2020-10-20 13:29:04 +08:00
二货机器人
8ea1e52d4d
fix: TextArea wrapper with div when !showCount
( #27216 )
...
* fix: TextArea layout
* test: Update snapshot
* fix: value logic
* fix: className & style logic
* chore: rm uesless code
* chore: Clean up
2020-10-19 14:03:19 +08:00
偏右
4bf062c2a8
test: fix test cov ( #27065 )
...
* test: ✅ upload and form
* refactor: tooltip always evaluates to true
2020-10-10 13:32:27 +08:00
zhangchen
138b953afd
feat: TextArea showCount ( #26952 )
...
* feat: TextArea showCount
* update: TextArea showCount test
* update: TextArea showCount test
* update: test
* update: test
* update: test
* update: interface
* revert: interface change
2020-10-10 11:30:58 +08:00
zombiej
40c8fb8363
chore: merge master
2020-09-24 15:26:37 +08:00
Dmytro Gorelik
efc304c55a
style: fix RadioGroup validation error highlight ( #26849 )
2020-09-22 17:04:48 +08:00
zombiej
b696579cd4
fix test case
2020-09-22 11:36:15 +08:00
zombiej
358c7fa4c4
chore: feature merge master
2020-09-22 10:56:04 +08:00
Tom Xu
dcdb8f5587
docs: improve from list ( #26813 )
2020-09-19 23:21:25 +08:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
二货机器人
b08b759ff4
feat: Form.Item support tooltip
( #26780 )
...
* feat: Support tooltip
* update test case
* update snapshot
* update doc
* fix lint
* support icon
* tmp use @text-color-secondary
2020-09-17 17:11:45 +08:00
二货机器人
1da6016cc2
feat: FormItem support generate for renderProps ( #26791 )
2020-09-17 16:51:19 +08:00
二货机器人
1faabb219d
feat: Form.List support rules ( #26676 )
...
* Add ErrorList component
* move class to ErrorList
* support cache of status
* update doc
* update snapshot
* patch test case
* clean up
* docs: add faq
2020-09-11 21:27:51 +08:00
Tom Xu
faa534c1c0
feat: form support messageVariables ( #26597 )
...
* feat: form support labelInMessage
* add doc
* change to messageVariables
* Update demo.test.js.snap
* feat: form support labelInMessage
* add doc
* change to messageVariables
* Update FormItem.tsx
* docs: add messageVariables use
2020-09-10 21:00:21 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome ( #26590 )
...
* fix: 🆙 upgrade rc-select to 11.2.x
* style: fix input search clear button
* test: update snapshot
2020-09-05 00:38:39 +08:00
偏右
24a86df257
style: 💄 fix Upload picture-card button style ( #26367 )
...
* style: fix Upload picture-card button style
close https://github.com/ant-design/ant-design/issues/26317
close #23339
* style: tweak Upload list animation
close #22386
* fix snapshot change
* docs: update Upload demos
* add test case
* update form demo
* fix test case
2020-08-24 16:33:24 +08:00
二货机器人
60771a0f61
feat: Support requiredMarkType ( #26309 )
...
* feat: support requreidMarkType
* docs: Update doc desc
* fix lint
* use requiredMark instead
* not change className
* fix ts
* update test case
* rtl style
* fix rtl
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-21 12:58:14 +08:00
zoomdong
39f1126315
feat: Form.List add() support index param ( #26081 )
...
* feat: Form.List add() support index param
* update test case
* update
2020-08-12 19:13:44 +08:00
afc163
45cbbd6034
merge feature into master-to-merge-feature
2020-08-05 14:49:10 +08:00
二货机器人
c345580ea2
fix: hidden should higher than noStyle ( #26020 )
2020-08-05 10:08:57 +08:00
二货机器人
98050358f1
feat: Form support generic type ( #25937 )
...
* feat: Form support generic
* test: add test case of compile
* clean up
2020-07-31 16:53:39 +08:00
偏右
8eb4e83535
test: ✅ increase test covarage ( #25857 )
...
* test: ✅ increase test covarage
* fix test case
2020-07-28 17:54:46 +08:00
07akioni
21e5fff467
chore: update rc-input-number 6.0.0 ( #25843 )
2020-07-27 22:32:21 +08:00
偏右
af27b029ad
Merge pull request #25743 from ant-design/master
...
chore: merge master into feature
2020-07-22 14:42:35 +08:00
Albert Zhang
26f1d201c0
feat: using alert role in form-item-explain ( #25735 )
2020-07-21 22:29:31 +08:00
二货机器人
356812627f
fix: Collect FormItem errors should be sync with state ( #25737 )
...
* passing error logic
* fix: Collect FormItem errors should be sync with stat
2020-07-21 20:51:36 +08:00
二货机器人
9728b9cc15
fix: FormItem with noStyle passing error logic ( #25734 )
2020-07-21 17:49:10 +08:00
afc163
508cecd0a7
merge feature into master-to-merge-feature
2020-07-21 16:23:13 +08:00
偏右
5ac3313b7f
fix: Form control clear icon position ( #25728 )
...
* fix: Form control clear icon position
close #23430
* 🆙 eslint-plugin-unicorn
2020-07-21 16:18:31 +08:00
二货机器人
870138b088
Merge pull request #25604 from ant-design/master
...
chore: Feature merge master
2020-07-13 21:13:23 +08:00
zhangchen
fb869021aa
fix: Form.Item with help
should display error style when validate failed ( #25582 )
...
* fix: Form.Item does not display validation message when set help
* fix: Form.Item does not display validation message when set help
* update: code style
2020-07-13 12:02:15 +08:00
偏右
d5cb860347
Merge pull request #25541 from ant-design/master
...
chore: merge master into feature
2020-07-09 16:43:45 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md ( #25540 )
...
* Update customize-theme.zh-CN.md
* test: ✅ update snapshot
2020-07-09 15:16:49 +08:00
07akioni
4c2acbda7d
Merge pull request #25528 from ant-design/master
...
chore: merge master into feature
2020-07-09 11:39:48 +08:00
二货机器人
24abadd994
fix: preserve warning in Gorm.Item ( #25518 )
2020-07-08 23:43:26 +08:00
xrkffgg
22d4dbbe99
docs: reduce demo cascader/checkbox/form/inputno ( #25484 )
2020-07-07 22:06:00 +08:00
偏右
36d7985d85
Merge pull request #25470 from ant-design/master
...
chore: merge master into feature
2020-07-07 16:00:26 +08:00
07akioni
0ba2f830ac
test: update snapshots ( #25469 )
2020-07-07 15:38:09 +08:00
07akioni
27b6ba6947
feat: form item dep ( #25408 )
...
* feat: warnings
* feat: deps work on FormItem with render props
* chore: add details warning info
* chore
* chore: rerun ci
* chore: revert
* docs
* docs
2020-07-03 16:25:29 +08:00
afc163
d2d8c67e5a
chore: update form demo
2020-07-03 11:25:34 +08:00
07akioni
7348baa6fb
fix: shouldn't set input-bg inside a error form item ( #25385 )
...
* fix: fix: shouldn't set input-bg inside a error form item
* chore
* test: update snapshots
* Update disabled-input-debug.md
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-07-02 22:16:15 +08:00
偏右
5b7104cc9d
fix: Form.Item hidden no working ( #25336 )
...
close #25335
2020-07-01 14:12:35 +08:00
07akioni
5c72186899
fix: InputNumber max prop has no default value ( #25243 )
...
* fix: InputNumber max prop has no default value
* docs: enUS ref links
* docs: typo fix
* test: snapshots
2020-06-29 11:07:56 +08:00
07akioni
cefcaac37d
Merge branch 'feature' into resolved-master-for-feature
2020-06-28 20:06:37 +08:00
二货机器人
67513cc71b
fix: Select icon interactive ( #25212 )
...
* fix: Select icon interactive
* updat snasphot
2020-06-24 23:28:54 +08:00
偏右
da353e8199
docs: 📝 Add Form.Item hidden in doc ( #25108 )
...
close #25101
2020-06-19 14:03:16 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
...
chore: merge master into feature
2020-06-14 23:29:07 +08:00
二货机器人
0f46173410
fix: Form.validateTrigger not work ( #24979 )
...
* fix: Merged validateTrigger
* test case
2020-06-14 14:15:17 +08:00
二货机器人
ada59b9d37
fix: Field id ( #24929 )
2020-06-11 22:25:58 +08:00
zombiej
cbeecdc41f
merge master
2020-06-11 10:38:50 +08:00
二货机器人
a9a651ffd5
fix: Form List warning ( #24867 )
...
* fix: Form List warning
* clean reaf
2020-06-09 18:10:43 +08:00
二货机器人
e46d414b11
feat: form instance support getFieldInstance ( #24711 )
...
* support getFieldInstance
* update doc
* fix lint
* move func
* move into hooks
* update ref logic
* fix lint
* rm only
* fix docs
2020-06-05 18:06:52 +08:00
afc163
d6d485b72d
merge feature into master-to-merge-feature
2020-05-19 18:25:51 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion ( #24254 )
...
* init fix
* fix rtl
* clean up
* update snapshot
* fix style lint
* add motion of inner
* update un-checked focus style
2020-05-18 17:31:46 +08:00
afc163
53d7a20939
merge feature into master-to-merge-feature
2020-05-13 16:16:16 +08:00
afc163
50e33768a9
✅ fix DatePicker snapshot
2020-05-13 16:10:48 +08:00
afc163
fdcbfc909d
✅ fix snapshot
...
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip ( #24056 )
...
* feat: add transformFile optionfor transform file before request
* feat: bump rc-upload 2.7.0
* feat(Upload): optimize doc
* feat: support custom cell ellipsis tooltip
* tests: update snapshots
* docs: update table ellipsis demo
* tests: update snap
2020-05-12 12:44:49 +08:00
二货机器人
72a846681a
chore: Fix Form.List render logic ( #24009 )
...
* update snapshot
* update nest logic
* clean up
2020-05-10 10:39:30 +08:00
二货机器人
2a0df4f465
fix: FormItem getValueProps warning ( #23875 )
2020-05-05 16:15:36 +08:00
二货机器人
e15773e25b
fix: Form.Item warning for initialValue ( #23846 )
...
* fix: Form.Item warning for initialValue
* Update index.test.js
* Update index.test.js
2020-05-04 12:13:44 +08:00
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined ( #23818 )
...
* fix placeholder
* add test case
* update snapshot
2020-05-02 21:55:23 +08:00
偏右
0b61b13e56
docs: 🆙 Upgrade input number ( #23742 )
...
* 🆙 upgrade to rc-input-number@4.6.0
* 🆙 upgrade to rc-input-number@4.6.1
* ✅ update snapshot
* fix version
2020-04-29 14:18:19 +08:00
二货机器人
02d7292576
fix: Input inline allowClear style ( #23259 )
...
* fix: Input allow clear icon
* update test case
* update snapshot
2020-04-14 23:04:23 +08:00
Eric Wang
436d4b1be5
improvement: Fix types in form item ( #22962 )
...
* Fix types in form item
* use jsx.element
2020-04-13 21:30:55 +08:00
afc163
3f4f5864fe
✅ fix test case which fails a lot
2020-04-13 20:38:31 +08:00
afc163
b5dd56611b
test: fix form test case
2020-04-10 17:05:24 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style ( #23074 )
...
* adjust range color
* fix lint
* update color
* update dark logic
* adjust little of arrow
* use icon
* update font size
* update snashot
2020-04-09 13:18:13 +08:00
二货机器人
70eaea6978
clean up when field reset removed ( #23041 )
2020-04-08 18:47:59 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style ( #22847 )
...
* adjust rangepicker style
* update snapshot
* fix lint
* add aria label
2020-04-02 15:05:31 +08:00
xrkffgg
fd7e7d3695
style: optimization form rtl and demo ( #22621 )
2020-03-30 21:23:05 +08:00
zombiej
73562d878c
merge master
2020-03-27 13:12:37 +08:00
afc163
43de6f3db9
✅ fix test case
2020-03-27 12:26:57 +08:00
二货机器人
d0e182ea70
chore: Warning with defaultValue ( #22571 )
...
* add faq
* chore: Warning if Field with defaultValue
2020-03-24 22:23:40 +08:00
afc163
77d3a993fa
🔨 Merge master into feature
2020-03-09 17:18:32 +08:00
二货机器人
9fdb82b7df
refactor: Form.Item with pure children will only render once ( #21991 )
...
* refactor: Form.Item with pure children will only render once
* not skip for real render
2020-03-08 16:28:33 +08:00
zombiej
bde335c761
merge master
2020-03-06 18:12:39 +08:00
二货机器人
5fcdbe152e
chore: Form.useForm return same instance now ( #21927 )
...
* add test case
* memo of useForm
2020-03-06 12:07:55 +08:00
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin ( #21925 )
...
* fix: MenuItem with icon only will still have additional margin
* update snapshot
* fix snapshot
2020-03-06 11:53:09 +08:00
afc163
c5e5a8c895
✅ update snapshots
2020-03-05 20:32:38 +08:00