Commit Graph

471 Commits

Author SHA1 Message Date
Wei Zhu
1c1a67fe1d Merge branch 'feature' 2018-09-30 16:53:28 +08:00
Wei Zhu
eb4255a39c Update snapshot 2018-09-29 18:13:53 +08:00
zombiej
2b22d6b19c bump rc-switch & update test case 2018-09-13 19:47:28 +08:00
包子熊
4eb7d8f693 Hotfix(Select) add select clear icon ()
close 
2018-09-11 20:45:40 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
zombiej
0ea5d6af70 adjust time picker default width since font number to be laregr 2018-09-06 19:16:37 +08:00
包子熊
67024893ce Hotfix/icon issue ()
* fix progress icon

* remove IconDisplay fields.js

* update progress test snapshot

* fix form item circle filled

* update form-item test snapshot

* fix close icon in upload item list

* fix alert icon theme

* update alert test snapshot

* fix time picker clear icon

* fix test snapshot

* fix rotate icon in the header

* update test snapshot

* update new tree test snapshot

* fix icon position

* fix old icon and new icon both display

* fix card actions icon position
2018-09-03 19:29:27 +08:00
HeskeyBaozi
24568f61ff use the whole svg icons 2018-09-02 23:39:58 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
049ce5c307 use time-picker with svg icon 2018-08-14 14:45:04 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
0a8f964935 update test snap shot 2018-08-13 14:46:55 +08:00
HeskeyBaozi
6c42d711e8 Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-07-31 15:36:23 +08:00
afc163
51d32baa62 fix tabs test snapshots 2018-07-29 15:19:59 +08:00
HeskeyBaozi
ee16585b6d update test cases 2018-07-25 11:51:19 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022 update test cases 2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00
zombiej
11dba9c305 update snapshot 2018-06-28 17:12:16 +08:00
afc163
33c5d3b330 fix test 2018-06-27 20:33:32 +08:00
afc163
0ea8047546 test: update table snapshots 2018-06-27 19:49:58 +08:00
afc163
713a0bcdc5 update snapshot 2018-06-13 20:21:52 +08:00
konakona
6c0d6d302a Add feature: can use type ReactNode for message of rules () ()
* Add feature: can use type ReactNode for message of rules ()

* fix: Replace React.Fragment to span

* Add unit test for Form (Not passed)

* fix: unit test of Form

* fix: unit test of Form & remove demo

* fix: update unit test for Form

* Refine code for Form

* Add error check for getHelpMessage
2018-05-08 14:00:00 +08:00
Junbin Huang
3a3d550b54 chore: upgrade menu ()
* chore: upgrade menu and select

* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
ddcat1115
a402fdd8b3 fix ()
* fix 

* update snapshot
2018-04-04 15:29:59 +08:00
Wei Zhu
aa9b7a4e4d Update snapshot 2018-02-27 18:07:39 +08:00
valleykid
eab4fdfe95 Update snapshot 2018-02-25 07:57:23 +08:00
Wei Zhu
dc439bd7c3 Remove generic type from ComponentDecorator, fix 2018-02-22 15:52:35 +08:00
afc163
e3f115dd3d update snapshot 2018-02-11 11:48:59 +08:00
Wei Zhu
5afb1a28b6 Merge branch 'master' into feature-3.2 2018-01-26 17:14:44 +08:00
niko
f2ba99978d
upgrade snapshots () 2018-01-25 18:24:59 +08:00
mgrdevport
cfdb1cab4b Pass id prop to DatePicker input field () 2018-01-24 10:48:34 +08:00
Wei Zhu
4332613633 Revert "Pass id prop to DatePicker input field ()"
This reverts commit 38bf0be4ab.
2018-01-24 10:48:03 +08:00
mgrdevport
38bf0be4ab Pass id prop to DatePicker input field () 2018-01-23 20:45:46 -06:00
afc163
84a177af43 remove extra space in classname 2018-01-12 16:33:04 +08:00
afc163
cc43bd3f12 Improve advanced form style, close 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 () 2017-11-30 09:54:31 +08:00
ddcat1115
91fc059c9d fix input with addon(in form) vertical align issue () 2017-11-29 11:20:38 +08:00
Wei Zhu
6f312a716b Update snapshot 2017-11-28 11:12:51 +08:00
afc163
539cca5cc4 update snapshot 2017-11-27 10:53:54 +08:00
Wei Zhu
09aaa56243 Update snapshot 2017-11-19 21:07:08 +08:00
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