Sebastian Busch
5ce2f89adc
Form onFieldsChange(): document third parameter "allFields", remove non-existent fourth parameter "add" from TypeScript definition ( #16343 )
...
* there is no fourth parameter, added by mistake in 619b0ed628
* Form onFieldsChange(): document third parameter 'allFields', introduced in 619b0ed628
2019-04-28 15:29:18 +08:00
zombieJ
da9cef91b8
fix: Form with forwardRef typescript ( #16242 )
...
* update form typescript define with forawardRef
* add ts test
2019-04-23 11:23:20 +08:00
zombieJ
a530be1eab
adjust hoist-non-react-statics ts import ( #16224 )
2019-04-22 15:47:07 +08:00
偏右
6e2c2baaae
Merge pull request #16114 from ant-design/create-react-context
...
chore: use @ant-design/create-react-context of MIT
2019-04-18 11:08:57 +08:00
zombieJ
fdcfabfa78
fix: form typescript definition ( #16126 )
...
* use redux-react ts define
* update doc
* follow origin rule
2019-04-17 13:51:52 +08:00
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT
2019-04-16 12:18:39 +08:00
偏右
76b3f76033
Merge pull request #16071 from ant-design/up-dev-deps
...
chore: 🆙 upgrade devDependencies
2019-04-15 13:15:44 +08:00
zombieJ
ae101a2056
fix: labelAlign should work in Form.Item ( #16072 )
...
* labelAlign should work in Form.Item
* add Form & Form.Item
* rename type
2019-04-15 12:10:04 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
afc163
60f4930348
📝 Optimize table and form documentation
2019-04-14 14:32:16 +08:00
啸生
32bc6995d6
update snapshot ( #16059 )
...
<!--
First of all, thank you for your contribution! 😄
New feature please send pull request to feature branch, and rest to master branch.
Pull request will be merged after one of collaborators approve.
Please makes sure that these form are filled before submitting your pull request, thank you!
[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md )]
-->
### 🤔 This is a ...
- [ ] New feature
- [ ] Bug fix
- [ ] Site / document update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Branch merge
- [x] Other (about what?)
2019-04-13 21:48:05 +08:00
zombieJ
41316e69e8
update snapshot ( #16017 )
2019-04-11 12:48:36 +08:00
zombiej
b54157a395
update doc
2019-04-09 22:52:25 +08:00
afc163
69140e7d59
bug(Form): switch should be trigger by form label
...
close #15549
2019-04-08 11:11:34 +08:00
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
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
Ran Byron
4a5e681627
Allow vertical form labels to break line
2019-01-06 17:39:01 +02:00
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
...
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
2019-01-06 13:25:59 +08:00
afc163
e6bdd3d656
✅ fix snapshot and defaultValue warning
2018-12-28 23:00:34 +08:00
zombiej
192e188fe8
rate support 'tooltips'
...
close #13973
2018-12-28 16:04:05 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
...
* master: (23 commits)
✅ fix snapshots
Add docs for the List rowKey prop
💄 don't reset font-family in each component
💄 chore card less variable
Remove classNames from custom-typing file
add collapsed faq ref: #13953
feat: support define card border radius
Fix dateRender not supported at WeekPicker
📝 Add links in Home Page
📝 Fix site responsive interaction, close #13954
💄 chore Steps[labelPlacement="vertical"] style
✅ fix warning in test case
📝 update tech antfin cases
🐛 site menu open bug
🐛 fix site defaultOpenKeys
Correct docs
💄 chore button code style
fix spaces in curly brackets
fix two more code style issues
Fix method argument name
...
2018-12-28 12:11:18 +08:00
afc163
b2c7c53b4c
✅ fix warning in test case
2018-12-27 11:48:42 +08:00
zombiej
b5fc19632b
merge master
2018-12-26 14:23:40 +08:00
zombieJ
bf087e29bd
Add remark lint ( #13906 )
...
support remark-lint check
2018-12-26 14:14:00 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
...
* master:
📝 Add bodyStyle and style of Drawer in documentation, #13850
🐛 Fix Drawer style not working
🐛 fix markStyle affset style
Update Santa.jsx
update changelog
bump 3.11.6
revert Christmas egg
[type] make type of components compatible with ComponentType<P>
bump 3.11.5
✨ site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
2018-12-25 01:10:00 +08:00
afc163
801fb77299
🔨 Merge master into feature
2018-12-23 18:11:04 +08:00
j3l11234
95cf9f3e48
Update rc-form requirement from ~2.2.7 to ~2.4.0 ( #13788 )
...
& and preserve option
2018-12-23 00:07:43 +08:00
afc163
24bcace0ce
🔨 Merge master into feature
2018-12-22 19:30:50 +08:00
afc163
fe47f01796
📝 Fix documentation
2018-12-22 18:13:30 +08:00
afc163
22daf9e6af
Merge branch 'feature' of github.com:ant-design/ant-design into feature
2018-12-22 18:03:56 +08:00
afc163
c29daf952a
🔨 Merge master into feature
2018-12-22 18:02:10 +08:00
afc163
1350c87ab1
🎨 Improve form demo code style
2018-12-22 16:48:30 +08:00
afc163
d78d0de36c
💄 Fix extra margin of nested form item
...
close #13748
2018-12-22 16:44:10 +08:00
zombiej
f65fb2867f
add options.preserve of form
2018-12-21 23:58:31 +08:00
afc163
7fe6dec9b8
Merge branch 'master' into feature
...
* master:
feat(table): support table border-radius define in theme
add form-tutorial.md
📝 Put gitter flags in badges in README (#13744 )
update deps of rc-select
skip show-tooltip.md test when is dist test
💄 update slider demo
Fix a regular expression
Improvements to badges in README (#13743 )
2018-12-21 16:12:14 +08:00
Alfred Qiu
b24d5a65a5
add form-tutorial.md
2018-12-21 11:03:54 +08:00
afc163
b1a67de35e
Merge branch 'master' into feature
...
* master:
📝 fix demo order
Fixes #10576 (#13703 )
doc: update form & layout docs (#13701 )
update doc close #11802
🐛 Fix Badge offset not working when count is ReactNode
2018-12-19 12:09:12 +08:00
huishiyi
dd30678033
doc: update form & layout docs ( #13701 )
...
* doc: remove duplicate setFields in form doc-US
* doc: fix layout doc collapsedWidth default
2018-12-19 10:56:44 +08:00
zombieJ
684d15c054
formItem support error message with reactNode ( #13046 )
...
close #13014
2018-12-18 22:20:52 +08:00
zombiej
0d05ceda08
update snapshot
2018-12-18 19:19:45 +08:00
zombiej
cdf4c1e6b8
merge origin/master
2018-12-18 19:18:08 +08:00
Teng YANG
c2d1d72675
Fix #13529 input group compact border color issues ( #13550 )
...
fix #13529
2018-12-18 16:53:45 +08:00
Julia Passynkova
7b643d2aaa
Added CheckBox.Group to Form demo ( #13680 )
2018-12-18 13:33:57 +08:00
zombiej
83b449b1ff
set form id on demo
...
fix #10218
2018-12-17 10:02:08 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
df356a586c
Merge branch 'master' into feature
2018-12-07 18:52:13 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
yangxiaolin
6bc311123c
fix syntax error
2018-12-06 16:48:48 +08:00