Commit Graph

714 Commits

Author SHA1 Message Date
afc163
cd5761ffe6 update form doc 2017-12-13 10:50:03 +08:00
ddcat1115
f780759f91 fix large size formItem vertical align (#8495)
* - fix large size input with prefix/suffix vertical align
- fix large size button vertical align

* use large size for formItem default line-height

* improve
2017-12-08 20:57:30 +08:00
Taylor Sabell
0589b23693 docs: fixed grammatical error (#8484) 2017-12-07 09:24:09 +08:00
ddcat1115
1f0ee08574 Form item vertical align (#8415)
* fix formItem vertical align

* fix formItem vertical align

* rebase master
2017-12-04 14:00:15 +08:00
afc163
cc43bd3f12 Improve advanced form style, close #8339 2017-12-04 10:47:01 +08:00
Wei Zhu
01f4b4e713 Merge branch 'master' into antd-3.0 2017-12-01 11:50:07 +08:00
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker (#8345) 2017-11-30 09:54:31 +08:00
Wei Zhu
4aeb811b72
Remove deprecations (#8351) 2017-11-30 09:53:32 +08:00
afc163
05200385ee improve form demo 2017-11-29 21:04:45 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
ddcat1115
91fc059c9d fix input with addon(in form) vertical align issue (#8325) 2017-11-29 11:20:38 +08:00
Wei Zhu
6f312a716b Update snapshot 2017-11-28 11:12:51 +08:00
afc163
72741db902 Fix margin of nested FormItem, close #8320 2017-11-27 22:14:15 +08:00
afc163
bf70d30a60 no prevent label click default behavior 2017-11-27 11:02:47 +08:00
afc163
9a49a5c775 revert 61968b91 2017-11-27 11:01:06 +08:00
afc163
539cca5cc4 update snapshot 2017-11-27 10:53:54 +08:00
afc163
61968b91cf Fix link in form item label 2017-11-27 10:43:35 +08:00
Wei Zhu
ad21c9837f Fix implicit any error for Form 2017-11-21 20:45:24 +08:00
Wei Zhu
09aaa56243 Update snapshot 2017-11-19 21:07:08 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support (#8204)
* Add test for select

* Add focus() and blur() for AutoComplete

* Add focus() and blur() to Cascader

* Add focus test for input

* Add focus() and blur() for Checkbox

* Add focus() and blur() for Radio

* Add focus() and blur() for Switch

* Add blur() for TimePicker

* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00
Benjy Cui
ac463a10f2 deps: upgrade form to 2.0.0 (#8207) 2017-11-17 21:19:10 +08:00
Wei Zhu
4f1da98045 Merge branch 'master' into antd-3.0 2017-11-17 14:39:53 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
afc163
b77e7ed554 Fix extra 0.5px height in chrome
close #8220
2017-11-17 12:13:07 +08:00
afc163
bf36ebdf5e Merge branch 'master' into antd-3.0 2017-11-13 21:24:32 +08:00
Benjy Cui
16133aac65 docs: add validateMessage for createForm, close: #965 2017-11-13 10:36:16 +08:00
afc163
4999a60643 update form demo 2017-11-10 17:19:47 +08:00
afc163
58e3743c6d Tweak cascader arrow style 2017-11-10 17:15:02 +08:00
afc163
2e126c1323 Fix Rate style under form item 2017-11-10 17:09:35 +08:00
Wei Zhu
67fee48c6a Run test against multiple react versions 2017-11-07 10:51:25 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
Wei Zhu
8c904de7d4 Add form wrappedComponentRef test 2017-10-31 01:33:56 -05:00
Benjy Cui
7ff7519207 fix: upgrade rc-form and refactor to be compatible with react@16 2017-10-31 01:33:56 -05:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
afc163
ef443ad047 Merge branch 'master' into antd-3.0 2017-10-20 15:47:42 +08:00
syssam
f8b7aad53d less variable @form-vertical-label-padding, @form-vertical-label-margin, @input-padding-horizontal-base, @input-padding-horizontal-sm, @input-padding-horizontal-lg (#7886) (#7919) 2017-10-20 15:11:44 +08:00
afc163
3bc8f1ce5a Tweak form nested form style 2017-10-20 11:35:05 +08:00
ddcat1115
712637907d fix #7930 2017-10-18 23:52:54 +08:00
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00
afc163
b0381a6ce4 fix icons, ref #7854 2017-10-11 10:44:26 +08:00
afc163
b174331be4 Fix hasFeedback icon overlap
close #7854
2017-10-11 10:44:26 +08:00
afc163
43659752d2 Fix hasFeedback icon overlap
close #7854
2017-10-11 10:37:45 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
9c3c88d3cc Fix focused cascader error style 2017-10-09 13:47:24 +08:00
afc163
73a4873e78 Fix focused cascader error style 2017-10-09 13:46:56 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
942ea41b02 update snapshot for new jest 2017-10-09 13:32:11 +08:00
afc163
8c0875239e update form demo 2017-10-09 11:13:03 +08:00
afc163
c9768e1099 tweak form item margin 2017-10-09 11:09:25 +08:00
afc163
054444f619 Merge branch 'master' into antd-3.0 2017-10-07 15:34:19 +08:00
Ffloriel
6d4e531775 form typo (#7794)
- remove to from 'shouldn't to use' and 'shouldn't to call'
2017-10-01 19:37:37 +08:00
afc163
185b3b1e9a Fix FormItem error with react-hot-loader, close #7775 2017-10-01 13:29:17 +08:00
afc163
7a8a1a8ee3 Merge branch 'master' into antd-3.0 2017-09-30 21:31:29 +08:00
Graeme Yeates
47e3cedf86 Minor fixes for select and form en docs (#7769)
* Fix headers on form validateFields [ci skip]

* Include default as an option for select sizes [ci skip]
2017-09-29 10:54:37 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
afc163
8127d3b579 Fix Duplicated Animate 2017-09-25 23:12:16 +08:00
afc163
f9754c8a25 Merge branch 'master' into antd-3.0 2017-09-25 23:10:42 +08:00
afc163
9f017bc5ae Fix mention error style 2017-09-25 22:53:11 +08:00
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
afc163
f111855b8c fix tslint 2017-09-23 15:21:11 +08:00
afc163
6ad3fe5200 fix rc-animate 2017-09-23 15:11:02 +08:00
afc163
3bd0b94228 Merge branch 'master' into antd-3.0 2017-09-22 21:53:39 +08:00
afc163
2170b401bf fix form animation 2017-09-22 21:50:14 +08:00
afc163
31ca08c2b4 Remove extra update 2017-09-22 21:48:31 +08:00
afc163
7cfd9b2bcb Remove extra update 2017-09-22 21:47:28 +08:00
afc163
412d7eebba Merge branch 'master' into antd-3.0 2017-09-22 18:37:08 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
afc163
3d1914f45b Fix valid selector error of form, close #7693 2017-09-21 21:07:21 +08:00
nikogu
abf18b9ec4 merge master 2017-09-18 10:13:48 +08:00
afc163
43d14f8517 upgrade rc-slider, improve accessibility 2017-09-17 17:42:24 +08:00
Wei Zhu
250c7a9c68 Revert "Mock rc-trigger"
This reverts commit 9d2c91598b.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b Mock rc-trigger
Ref #5522
2017-09-15 16:14:26 +08:00
afc163
ea5ccce90d Merge branch 'master' into antd-3.0 2017-09-15 11:16:19 +08:00
Wei Zhu
579becd894 Update snapshot 2017-09-15 10:03:46 +08:00
afc163
9e319990d2 update snapshot 2017-09-14 18:09:30 +08:00
afc163
461470ebc6 fix demo snapshot 2017-09-13 19:43:05 +08:00
afc163
9b715f0b90 Fix form demo, close #7547 2017-09-13 18:03:56 +08:00
Mitchell Demler
298a60f13b chore: add validateFirst to fieldDecorator options (#7573) 2017-09-13 14:49:59 +08:00
afc163
b24483545c Merge branch 'master' into antd-3.0 2017-09-12 09:41:51 +08:00
Bilal Sirazitdinov
5bb45279bb chore: GetFieldDecoratorOptions missing property - normalize (#7562) 2017-09-12 09:08:47 +08:00
afc163
5724a55c7b Merge branch 'master' into antd-3.0 2017-09-06 20:22:55 +08:00
afc163
bceed31da4 update form demo snap 2017-09-06 20:18:48 +08:00
afc163
94283b730f Fix validateStatus styles of some Form Controls, close #7498 2017-09-06 20:17:20 +08:00
afc163
16b2cc044e validating status should has feedback icon always, #7498 2017-09-06 19:58:04 +08:00
afc163
0f778d2a4a Merge from master 2017-09-05 16:19:34 +08:00
afc163
668cec2f9e Fix FormItem focus behavious, close #7351 2017-09-01 15:17:04 +08:00
LeezQ
6954c3506c docs: add typescript demo (#7330)
* feat: add typescript demo

add form typescript demo code

* Update index.zh-CN.md

* add TypeScript demo code

add TypeScript demo code

* Update index.en-US.md

* Update index.zh-CN.md

* Update index.en-US.md
2017-09-01 10:36:31 +08:00
ddcat1115
b10f7726c3 Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-23 23:12:38 +08:00
Tao
62b72d6c51 modify 参数 to 方法 (#7294)
* modify `参数` to `方法`

* modify `Property` to `Method`

* dummy copy-paste
2017-08-23 13:25:44 +08:00
Benjy Cui
2268418a97 docs: add docs for validateFields, close: ##7287 2017-08-23 11:13:01 +08:00
afc163
dc7dfd38c6 Merge from master 2017-08-21 21:02:57 +08:00
afc163
fcb935b101 improve form doc 2017-08-19 12:12:57 +08:00
afc163
c28c2f6b1e Merge branch 'master' into antd-3.0 2017-08-18 19:18:26 +08:00
Wei Zhu
145ed77c00 fix: form type (#7245) 2017-08-18 17:21:18 +08:00
afc163
f77c38bddf fix snap 2017-08-18 12:17:07 +08:00
偏右
2dedc5ec7f Upgrade grid break points (#7230)
close #5122
2017-08-16 20:19:41 +08:00
jiang
22ef7d1147 add form explain animate (#7172) 2017-08-11 17:05:25 +08:00
afc163
9bcde59001 Add @form-feedback-icon-size 2017-08-10 11:34:08 +08:00