Commit Graph

883 Commits

Author SHA1 Message Date
Minwei Xu
32f9458b54 docs: Add space between eng and chinese for #15876 2019-04-07 14:28:50 +08:00
Minwei Xu
98bc178a36 update mapPropsToFields demo 2019-04-04 12:51:14 -04:00
Minwei Xu
10196718e4 update doc for mapPropsToFields 2019-04-04 12:39:03 -04:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
偏右
fc8977b627
Merge pull request #15808 from liaoyinglong/master
Update dynamic-form-item.md
2019-04-03 14:25:09 +08:00
zombiej
30b3fcdc18 update demo of dynamic form 2019-04-02 17:40:50 +08:00
廖应龙
065896f53b
Update dynamic-form-item.md
delete unnecessary props
2019-04-02 14:33:47 +08:00
afc163
95bd4d6903
🐛 Fix col element missing relative style
close #15626
2019-03-31 20:25:41 +08:00
afc163
f486c4e7e0
📝 Optimize Form TypeScript usage, #15642 2019-03-26 12:27:49 +08:00
Hsuan Lee
baa5a7971f refactor(form-item): move ant-form-item-no-colon selector position (#15592)
* refactor(form-item): better `ant-form-item-no-colon` selector position

fix: fix lint

close #15585

* chore: update snap
2019-03-24 17:03:52 +08:00
DiamondYuan
4eb33eb149 fix: set min-width instead of width (#15547)
* fix: set min-width instead of width

* test: updte snapshots
2019-03-21 11:31:58 +08:00
willc001
3a2e1abfa7 refector: add @form-explain-font-size (#15488) 2019-03-18 18:44:08 +08:00
Wei Zhu
d1f64b1bc9 Add generic type to form values 2019-03-12 22:59:27 +08:00
愚道
e3a2c38e67 Merge branch 'master' into chore/mergem 2019-03-08 16:32:40 +08:00
偏右
71440a218b
Update components/form/style/index.less
Co-Authored-By: jinxin0112 <m18508218948@163.com>
2019-03-08 15:53:27 +08:00
JinXin
7ccf6855c6
fix: appear two colons
If the label attribute of the component Form.Item is a ReactNode and the same label tag exists inside the ReactNode, two colons will appear.
2019-03-08 15:31:46 +08:00
愚道
a4f73ff64e chore: sync master to feature 2019-03-08 15:21:36 +08:00
偏右
ee65a2d8de
Merge branch 'feature' into form-prop 2019-03-08 14:10:07 +08:00
DiamondYuan
c8ba4da309 docs: add since comment for FormProps 2019-03-08 13:03:29 +08:00
DiamondYuan
5b162897a8 feat: support props colon of Form 2019-03-08 11:25:37 +08:00
yoyo837
0b1410a710 don't disclose some props define in doc 2019-03-07 15:34:11 +08:00
yoyo837
5281d7b7f2 add labelAlign for Form and FormItem 2019-03-07 15:14:27 +08:00
wanli
fdc8a1b458 [doc]remove misleading content 2019-03-05 20:51:32 +08:00
zombieJ
2f6b367137
fix form warning (#15160)
* fix form warning

* update snapshot
2019-03-04 14:51:40 +08:00
陈帅
5e298dba51
3.14.0 Changelog (#15145)
* add responsive property to carousel (#15071)

* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065

* rm key in OptionProps (#15104)

* update doc

* fix cascader should tab twice to exist (#15117)

* fix cascader should tab twice to exist

* update snapshot

* Drawer Body padding should be variable

* fix DatePicker to support an array of formats (#15116)

ref #13148

* table reader mobile friendly

* up

* up

* doc: add 3.14.0 changelog

* doc: fix ci warning

* doc: fix ci warning

* doc: fix typo

* doc: fix ci warning

* doc: fix ci warning

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* -m

* -m

* doc: fix cr warning
2019-03-04 10:45:15 +08:00
zombieJ
3a16708765
update snapshot (#15108) 2019-02-28 14:42:11 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
zombieJ
70046f782d
update doc about customize form item component (#15088)
* update doc

* rm test code

* update doc
2019-02-27 18:34:47 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
zombieJ
1fc8dd3042
Form support labelCol & wrapperCol props. (#15038)
* use context

* update doc

* update doc

* not pass context if nest

* update snapshot

* update doc

* update doc
2019-02-25 19:04:09 +08:00
afc163
efafa6346d Fix lint problems 2019-02-23 16:58:22 +08:00
afc163
924e8e4b83 🐛 should not print warning for not generating help and validateStatus automatically when help or validateStatus is specified
close #14911
2019-02-23 16:35:52 +08:00
zombiej
e94ce11bd9 update form item css 2019-02-20 19:38:09 +08:00
zombieJ
c29323b448
Revert to remove FormItem explain-holder (#14937)
* Revert "Adjust style to be similar with origin (#14886)"

This reverts commit 735175e3cf.

* Revert "sync form item (#14778)"

This reverts commit 5ac674e698.
2019-02-19 23:24:07 +08:00
zombieJ
735175e3cf
Adjust style to be similar with origin (#14886)
* adjust style to be similar with origin

* update snapshot

* add missing extra logic

* adjust tiny

* fix margin

* use element to keep the place

* update snapshot
2019-02-18 16:42:02 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
zombieJ
5ac674e698
sync form item (#14778)
* sync form item

* update snapshot

* use before
2019-02-13 21:45:47 +08:00
zy410419243
bf4560cf37 docs: fix wrong usage of comma 2019-02-07 13:59:32 +08:00
zombieJ
2b558af960
update silder snapshot (#14732) 2019-02-05 21:25:40 +08:00
ycjcl868
6f040b6c40 fix: strict check input 2019-02-04 22:55:00 +08:00
zombiej
777c56a515 mock test 2019-02-04 22:02:46 +08:00
RunningCoderLee
86e0431f9b fix: make all the properties in the ValidateFieldsOptions typing optional 2019-02-02 11:50:44 +08:00
RunningCoderLee
71503751a2 add ValidateFieldsOptions typing for validateFields 2019-02-02 11:30:11 +08:00
afc163
d3e16b2dc6
🐛 Remove upload control if there is no trigger
in case of upload control triggered by label in some situations

close #14298
2019-01-29 15:31:39 +08:00
ycjcl868
89653d2e89 📝 fix site demo, dynamic form firstItem undefined 2019-01-29 11:50:43 +08:00
afc163
3fcb8fa0b3 💄 Fix stylelint errors 2019-01-28 19:06:38 +08:00
Bora Ikizoglu
3e85e51b58 Fixed Form.create missing type (#14584) 2019-01-28 12:35:57 +08:00
zombiej
b835110f79 merge master 2019-01-26 12:02:56 +08:00
zombiej
f5cbf0f9f1 update getFieldsValue types 2019-01-25 16:01:21 +08:00
Michael Salaverry
18dc2c2743 Documentation: fixed typos and grammar (#14518) 2019-01-24 10:51:47 +08:00