Commit Graph

463 Commits

Author SHA1 Message Date
Benjy Cui
3c49a90980 docs: update demo, ref: #3594 2016-10-26 16:42:57 +08:00
Benjy Cui
f599a24228 docs: update demo style 2016-10-26 15:33:45 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
Benjy Cui
6343e6b763 docs: update demo 2016-10-21 15:18:13 +08:00
Benjy Cui
1ed434a695 fix: should support Input[addon] in Form[inline], close: #3524 2016-10-21 15:04:55 +08:00
Benjy Cui
0aca663092 fix: should throw warning only once, ref: #3491 2016-10-21 11:17:59 +08:00
Benjy Cui
d5edcb9ef0 feat: support deep-level form control, close: #3212 (#3491) 2016-10-20 16:24:48 +08:00
Benjy Cui
3c99097bc8 fix: allow override fileNameProp, close: #3497 2016-10-20 11:28:05 +08:00
yiminghe
8afe3965c1 upgrade ts 2.0 2016-10-19 17:52:23 +08:00
afc163
9fe859a31f typo #3473 2016-10-19 11:29:14 +08:00
afc163
55c2223366 update form docs, #3473 2016-10-18 21:12:52 +08:00
yiminghe
58e0228e86 optimize getFieldProps warning 2016-10-18 12:22:26 +08:00
Albert Zheng
23dd825afd 【Please review】Fixes for supporting TypeScript 2.0.3 (#3439)
* Fixes for supporting TypeScript 2.0.3

* Fixes for supporting TypeScript 2.0.3. Issue is #3358
2016-10-18 11:55:00 +08:00
偏右
62a53e75b8 refactor: Downsize some style code (#3421)
* remove fieldset disabled style

* improve button style mixins
2016-10-14 09:12:10 +08:00
kvetoslavnovak
c9258fc483 Form controls - Eng. correction (#3381) 2016-10-12 11:04:59 +08:00
kvetoslavnovak
1dad6653c4 Mix - Eng. correction (#3382) 2016-10-12 11:04:52 +08:00
kvetoslavnovak
125331a023 Form validation - Translazion correction (#3387) 2016-10-12 11:03:49 +08:00
afc163
fd76b0cc6c fix long label overflow style 2016-10-07 14:34:25 +08:00
afc163
847e40eac0 Adjust site layout 2016-10-07 14:33:08 +08:00
Shawn Sit
4548b9521f update customized validation demo (#3242) 2016-09-30 12:11:13 +08:00
Benjy Cui
949907231b docs: udpate demo detail, close: #3111 2016-09-22 10:09:22 +08:00
afc163
44372760a1 update form demo style 2016-09-21 22:27:26 +08:00
afc163
1bd39692e9 adjust error message margin style in FormItem 2016-09-21 22:26:53 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
feng zhi hao
a4be70334d chore: fix some error declaration (#3099) 2016-09-21 09:27:58 +08:00
ddcat1115
3958eb4771 fix #3076 (#3086)
fix demolint
2016-09-20 13:49:38 +08:00
feng zhi hao
2cf5dc0046 chore: improve declaration (#3078) 2016-09-19 17:35:17 +08:00
Shawn Sit
7ce12fe36a doc: demo translation enhancement (#3033)
* doc enhancement

* keep chinese simplified demo
2016-09-18 14:30:37 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
afc163
9e5061acdc Merge branch "1.x-stable" 2016-09-15 01:25:28 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
feng zhi hao
7a7395329b chore: 完善Form组件的声明 (#3043) 2016-09-14 16:07:28 +08:00
Benjy Cui
37e8474714 fix: withRef should work, close: #2843 (#2992) 2016-09-14 10:25:44 +08:00
afc163
be81b360fd Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-09-13 18:27:49 +08:00
afc163
0f986c07a2 update form index.md 2016-09-13 18:26:52 +08:00
ddcat1115
e19a0d500c fix: time-picker style, close #2973 (#3028) 2016-09-13 17:06:11 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
Benjy Cui
1dac1370de deps: replace obejct.omit with omit.js, close: #2988 (#2994) 2016-09-10 17:17:55 +08:00
Benjy Cui
44d5fc6fd2 fix: both of undefined and null means no input, close: #2959 2016-09-10 14:28:40 +08:00
Benjy Cui
090fb16c77 docs: update the doc of Form, ref: #2985 2016-09-10 10:05:26 +08:00
Benjy Cui
14fb2c78ba chore: remove deprecated code (#2920)
* chore: remove deprecated code

* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
Benjy Cui
4026221d45 deps: hello moment (#2887)
* deps: upgrade TimePicker

* deps: upgrade DatePicker

* deps: upgrade Calendar

* fix: moment should work with LocaleProvider

* feat: update API of TimePicker

* feat: update Calendar's APIs

* feat: update DatePicker's APIs

* doc: update demo

* revert: add dateString and timeString and so on

* feat: add Calendar[defaultValue]

* feat: add defaultPickerValue

* docs: update docs about date picker

* feat: set moment locale to zh-cn automatically
2016-09-09 13:55:21 +08:00
afc163
bab669d17d Merge branch "1.x-stable" 2016-09-08 15:17:39 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
7c99d5fb9e fix selector order, close #2916 2016-09-01 16:48:22 +08:00
Benjy Cui
5a4ebe535f deps: update rc-form and form's docs (#2873) 2016-09-01 11:48:38 +08:00
afc163
b798a228e6 Add less variables about outline 2016-08-31 17:04:24 +08:00
Benjy Cui
50c4367a15 docs: update docs for Form.Item, close: #2835 2016-08-25 13:54:53 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
Benjy Cui
4e0ae95e1e chore: export form's interface 2016-08-19 16:53:27 +08:00
陆离
ff765002fa refactor: rewrite form and dropdown in ts (#2683) 2016-08-19 16:43:32 +08:00
afc163
da6b65f7f0 Merge 1.x-stable 2016-08-12 14:47:01 +08:00
afc163
8ae2936342 Fix nested Forms style 2016-08-10 14:38:35 +08:00
Marius Ileana
725ca31939 docs: Small correction (#2637) 2016-08-08 15:43:21 +08:00
ddcat1115
c9e26ecab9 docs: treeSelect translation (#2582) 2016-08-05 11:47:31 +08:00
Benjy Cui
4cf04c5799 docs: update form demo 2016-08-05 11:28:34 +08:00
Marius Ileana
6bb29a1774 docs: Review of form / demo / advanced-search-form.md (#2574) 2016-08-05 11:25:39 +08:00
Benjy Cui
7d9585377e feat: Form[vertical], close: #2449 2016-08-04 17:45:15 +08:00
afc163
d140108656 Fix typo
close #2602
2016-08-03 19:56:27 +08:00
Benjy Cui
5b5439208c docs: update docs for Form, ref: #2591 2016-08-03 10:55:15 +08:00
Benjy Cui
eaebebf425 docs: fix docs 2016-08-02 09:34:04 +08:00
Marius Ileana
23e5912384 docs: Review (#2573)
Please excuse any mistake. I just discovered this library the other day, I felt in love with it and I really like to contribute. :-)
2016-08-02 09:32:50 +08:00
Marius Ileana
be181a7cc7 docs: review of form / demo / form-in-modal.md (#2575) 2016-08-02 09:25:14 +08:00
Marius Ileana
40498e7f01 chore: small typo to form / Form.tsx (#2576) 2016-08-02 09:24:15 +08:00
Benjy Cui
e5e7a9ac33 docs: update documentation of form 2016-07-31 10:01:58 +08:00
Gray Choi
d07b73fec0 docs: translation of form (#2555) 2016-07-31 09:53:51 +08:00
afc163
57f08259db Merge 1.x-stable 2016-07-30 14:36:49 +08:00
Benjy Cui
1d2111db02 chore: add warning 2016-07-29 14:02:24 +08:00
afc163
71d74c30c1 Merge 1.x-stable 2016-07-29 13:57:54 +08:00
Benjy Cui
d1364ac038 feat: pass this.props.form as context automatically (#2534) 2016-07-29 11:18:31 +08:00
yeliex
14d6bd80da fix: label should align left when it occupy the whole line (#2517) 2016-07-28 08:39:03 +08:00
afc163
b8c64f8b6c Merge branch 'master' of github.com:ant-design/ant-design 2016-07-26 22:30:40 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
Benjy Cui
11660c128b docs: update demo, close: #1872 2016-07-25 16:08:18 +08:00
afc163
ca57794ae7 better implement for a2804cb 2016-07-25 14:03:56 +08:00
afc163
32ab285886 Merge branch '1.x-stable' 2016-07-24 13:49:42 +08:00
afc163
a2804cbff5 Make clear icon more clear 2016-07-21 20:57:44 +08:00
afc163
497cc1f65a improve FormItem colon (#2311) 2016-07-21 15:51:37 +08:00
afc163
1138b69c6d Merge branch 'master' of github.com:ant-design/ant-design 2016-07-21 14:40:11 +08:00
afc163
42d34a5db3 Merge branch '1.x-stable' 2016-07-21 14:34:37 +08:00
RaoHai
1ccfad13f7 Mention Component fix
- 现在只输入一个 @ 符号,dropdown 也会弹出。
 - 输入框失去焦点后,dropdown 会消失。
 - 添加受控模式示例
 - 添加 `getMentions(editorState: EditorState): Array<String>` Api,
   可以获取当前提到的人。
 - 添加了校验样式
 - 其他样式修正
2016-07-20 19:01:11 +08:00
afc163
e2cc2838fd Fix lesshint 2016-07-18 22:24:53 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
afc163
6dad2b2987 Merge branch '1.x-stable' 2016-07-11 14:57:38 +08:00
afc163
8e9768fb4a Fix form button align 2016-07-10 17:04:03 +08:00
afc163
5856bb1b30 Fix key warning 2016-07-10 15:16:24 +08:00
afc163
158b594526 Merge branch '1.x-stable' 2016-07-09 17:46:11 +08:00
Benjy Cui
4a6ff6f053 fix: Form.Item should support responsive layout, close: #2305 (#2313) 2016-07-09 17:44:28 +08:00
yeliex
147e06a837 Add colon props to Form (#2311) 2016-07-09 15:10:07 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
d68d42f69b Merge 1.x-stable 2016-07-07 17:26:16 +08:00
yiminghe
c667144943 fix form warning
Conflicts:
	components/cascader/index.jsx
	components/form/index.jsx
2016-07-07 17:23:51 +08:00
yiminghe
3d9ae9833e fix form warning 2016-07-07 16:59:47 +08:00
afc163
487b40815f Merge 1.x-stable 2016-07-07 15:13:01 +08:00
afc163
e27d6c3097 Form react-unknown-prop (#2258) 2016-07-07 12:06:05 +08:00
afc163
b0c05e3f29 tweak style (#2234) 2016-07-06 17:54:05 +08:00
afc163
d280cba481 Merge 1.x-stable 2016-07-04 15:19:35 +08:00
Benjy Cui
d9b4eb4aa3 fix: add missing ant-row 2016-07-04 15:18:05 +08:00
Benjy Cui
766988735b docs: update demo 2016-07-04 15:17:42 +08:00
afc163
1f0c26b25a Fix label colon with whitespace: label="xx: " 2016-07-04 14:39:20 +08:00
Benjy Cui
0a73886a9c docs: update demo 2016-07-04 12:13:29 +08:00
Benjy Cui
df2f672dd9 fix: add missing ant-row 2016-07-04 11:29:56 +08:00
afc163
21fb73d4f2 Merge branch '1.x-stable' 2016-06-28 18:46:23 +08:00
afc163
4a40399522 fix feedback position 2016-06-28 18:32:03 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
afc163
ef4c1a4749 Merge branch '1.x-stable' 2016-06-27 17:58:16 +08:00
afc163
0eaf940672 Fix Radio & Checkbox margin again 2016-06-27 17:22:03 +08:00
afc163
cc4cab5b1e Merge 1.x-stable 2016-06-23 23:11:14 +08:00
afc163
e50953390e update docs 2016-06-23 16:17:00 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
5a4805d691 style: update code style to please lint 2016-06-19 10:57:28 +08:00
Benjy Cui
49b944617c style: update code style to please lint 2016-06-19 09:55:03 +08:00
afc163
ff8d855cc6 fix lints 2016-06-17 15:16:45 +08:00
afc163
2be1577b32 Improve demo code style 2016-06-16 22:18:00 +08:00
afc163
81276e43ea upgrade deps 2016-06-16 22:16:17 +08:00
偏右
09db9f2436 Revert "Remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead" (#2074) 2016-06-16 22:06:06 +08:00
ddcat1115
fade8d7017 fix #1927 addon support Select (#2070) 2016-06-16 21:15:59 +08:00
afc163
06f472a728 improve auto colon of FormItem 2016-06-15 18:15:47 +08:00
Leon Shi
0f8855dff7 remove react-addons-pure-render-mixin, use rc-util's PureRenderMixin instead (#2055) 2016-06-15 16:57:06 +08:00
Benjy Cui
6c6496fae4 refactor: improve Form re-render performance 2016-06-12 10:15:59 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
ddcat1115
4af2731f0c fix #1672 (#1936) 2016-06-06 11:40:54 +08:00
afc163
d4570fd6c3 fix missing ant-advanced-search-form styles 2016-06-06 11:34:38 +08:00
afc163
7d131a3b64 Remove colon and add it via FormItem, close #1877 2016-06-02 20:51:49 +08:00
afc163
7a72f4ad4e update form doc 2016-05-27 14:57:53 +08:00
afc163
9c28420468 Add TimePicker to Form demo (#1515) 2016-05-27 14:47:40 +08:00
ddcat1115
c4454dea04 fix #1771 2016-05-25 18:34:36 +08:00
afc163
15bb865037 Fix form detail style 2016-05-24 20:08:13 +08:00
afc163
dd33cb8f60 Move InputGroup style from Form into Input, close #1812 2016-05-23 20:09:25 +08:00
afc163
41a8c17b2b remove search-input from Form 2016-05-23 19:53:07 +08:00
afc163
b15ae59101 Fix lots of Form style 2016-05-19 15:21:48 +08:00
afc163
05c67d6f01 update input demo 2016-05-19 14:43:10 +08:00
Leon Shi
87e8cb7f5c Merge pull request #1722 from kagawagao/master
fix Form style bug
2016-05-18 21:00:25 +08:00
Benjy Cui
f15110e7c1 fix: Input[size] should be configurable, close: #1732 2016-05-18 11:41:57 +08:00
kagawagao
88d148ac98 fix Form style bug 2016-05-17 15:46:21 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
5b921b6960 Fix combobox focus style, close #1684 2016-05-13 23:16:59 +08:00
afc163
7b7f846161 Fix search input margin bug 2016-05-12 11:38:49 +08:00
yiminghe
2f81cc8111 update docs 2016-05-11 11:33:46 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
68b06eb688 update docs 2016-05-10 18:41:10 +08:00
afc163
5bcb23dd27 Fix feedback in form control, close #1619 2016-05-10 11:55:58 +08:00
afc163
72a1144c7e Fix input width, close #1559 2016-05-03 11:34:10 +08:00
afc163
c68f95c211 Merge branch master into develop-1.0.0 2016-04-29 17:26:21 +08:00
afc163
e9f083015e fix form demo (#1550) 2016-04-29 15:19:46 +08:00