Commit Graph

474 Commits

Author SHA1 Message Date
Wei Zhu
9678d3fcfd
Focus && blur support ()
* 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
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports () 2017-11-17 14:38:54 +08:00
afc163
4999a60643 update form demo 2017-11-10 17:19:47 +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 ()
* 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
偏右
9053192ae9 Fix component style ()
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +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
偏右
2bced36f0c New component styles ()
* 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 ()
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
afc163
3d1914f45b Fix valid selector error of form, close 2017-09-21 21:07:21 +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 
2017-09-15 16:14:26 +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
bceed31da4 update form demo snap 2017-09-06 20:18:48 +08:00
afc163
668cec2f9e Fix FormItem focus behavious, close 2017-09-01 15:17:04 +08:00
Wei Zhu
145ed77c00 fix: form type () 2017-08-18 17:21:18 +08:00
afc163
f77c38bddf fix snap 2017-08-18 12:17:07 +08:00
Wei Zhu
bef7db465e Revert "Revert "Revert "feat: upgrade rc-slider, support keyboard accessibility"""
This reverts commit 0b8b0d2deb.
2017-07-30 16:07:41 +08:00
Wei Zhu
0b8b0d2deb Revert "Revert "feat: upgrade rc-slider, support keyboard accessibility""
This reverts commit 551807cd91.
2017-07-30 16:06:53 +08:00
Wei Zhu
551807cd91 Revert "feat: upgrade rc-slider, support keyboard accessibility"
This reverts commit ef339a32ac.
2017-07-30 16:05:37 +08:00
paranoidjk
ef339a32ac feat: upgrade rc-slider, support keyboard accessibility
https://github.com/react-component/slider/pull/282
2017-07-28 14:02:45 +08:00
Benjy Cui
8cfa61f46b test: update snapshot 2017-07-19 10:15:58 +08:00
Benjy Cui
2413c6af61 fix: make loading work with icon only button in button group, close: 2017-07-14 15:26:55 +08:00
afc163
ca89227568 test: fix snapshot 2017-07-12 21:44:46 +08:00
afc163
4f874c5065 improve demo code 2017-06-09 21:24:40 +08:00
Benjy Cui
4ee2194b45 deps: upgrade rc-notification 2017-06-09 10:17:30 +08:00
afc163
d086ee253e update snapshots for 2017-06-03 01:38:26 +08:00
afc163
9bb7ec0b87 update form demo snapshot 2017-06-01 17:58:06 +08:00
slientcloud
e43c8012ad chore: support slider aira () 2017-06-01 12:08:39 +08:00
afc163
2cde334cd5 update snapshot 2017-05-28 15:30:43 +08:00
Benjy Cui
4b8a291684 fix: broken style of Cascader in Input.Group ()
* fix: broken hover style of Cascader, close: 

* test: update snapshot
2017-05-22 10:09:17 +08:00
afc163
8703145d70 Fix prop-types and createClass warning, 2017-05-18 14:22:47 +08:00
Benjy Cui
a9a8f68578 docs: update demo 2017-05-15 17:33:47 +08:00
ddcat1115
0b9ff23661 docs: add dynamic-rule form demo () 2017-05-15 17:25:50 +08:00
Benjy Cui
0d672d5c2d test: fix CI 2017-05-05 14:47:37 +08:00
乐仪
5dfe86e891 fix snap 2017-04-24 17:08:56 +08:00
afc163
0dc2c1771f fix snapshot 2017-04-05 14:59:56 +08:00
Benjy Cui
36a7ffc0d6 fix: Switch should not warning with size=large, close: 2017-03-20 16:08:24 +08:00
Qingrong Ke
8afc2e9e95 Fix 5322 ()
* Input: fix 

* Refactor preSuffix to affix

* Update tests and demos

* Refactor preSuffix to affix
2017-03-18 21:26:42 +08:00
Wei Zhu
f6b1e942e3 Jest 19 ()
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
be13831d92 Fix upload ()
* docs: add demo to re-produce bug

* fix: dragger should work with form decorator, close: 

* test: update snapshot
2017-03-17 11:47:05 +08:00
Benjy Cui
aa4606cd9f feat: make Form.Item work with responsive layout, ref: () 2017-03-15 11:25:58 +08:00
afc163
a0cdce4d00 fix test case 2017-03-10 19:22:18 +08:00
Benjy Cui
228e9c0747 fix: remove Form auto-responsive layout ()
* fix: remove Form auto-responsive layout

* test: update snapshot
2017-03-10 19:19:36 +08:00
afc163
a7a4d672f5 update form login demo, close 2017-03-06 15:15:50 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
afc163
06d351f968 fix warning in test case 2017-03-02 14:14:34 +08:00
Benjy Cui
fb8f90c102 feat: form ()
* feat: support Form[layout], close: 

* feat: Form should be responsive, close: 

* test: update snapshot

* fix: resolve conflict betwen layout defaultValue and inline & vertical
2017-03-02 10:49:06 +08:00
afc163
a7a2c54fa8 fix snap 2017-03-01 14:46:44 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
afc163
cf4ad5ddb8 fix test case 2017-02-26 00:23:46 +08:00
afc163
7181e3c9e8 revert d9ec4bf and ef0b708, close 2017-02-22 16:50:24 +08:00
Benjy Cui
e4d9e5af54 test: update snapshot 2017-02-22 15:52:43 +08:00
afc163
3308bce9b9 fix snapshot test 2017-02-20 11:36:57 +08:00
afc163
28dbdd17ed fix for 2017-02-17 14:11:10 +08:00
Benjy Cui
56995e2089 test: update snapshot 2017-02-17 13:59:13 +08:00
zilong
597e020a45 chore: add class ant-form-item-control-wrapper for formItem wrapper () 2017-02-14 10:46:54 +08:00
afc163
35523be6e9 Merge from master 2017-01-20 18:28:09 +08:00
afc163
8f57451d8c fix snap test for cascader upgrade 2017-01-17 13:45:26 +08:00
afc163
abd264ebf0 fix test case name 2017-01-15 14:37:22 +08:00
偏右
6e3565b983 Add Form[hideRequiredMark] ()
* Add Form[hideRequiredMark]

* omit hideRequiredMark

* Add test case for Form[hideRequiredMark]
2017-01-13 21:52:48 +08:00
Hans Chan
3d58a3f608 docs: add property colon for Form.Item ()
* docs: 修改错别字

* docs: add property `colon` for Form.Item

`colon` is available since 2.0.0-beta.1
2017-01-13 19:03:59 +08:00
afc163
e2b8aee202 fix snapshot 2017-01-05 17:24:14 +08:00
偏右
e4bee3425a Upgrade rc form ()
* support nested form item name by upgrade rc-form



* Fix dynamic form demo
2016-12-31 23:47:07 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00