Commit Graph

54 Commits

Author SHA1 Message Date
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
ezpub
dce99bc259 fix cascader input value error (#2338)
`value` prop on `input` should not be null. Consider using the empty string to clear the component or `undefined` for uncontrolled components.
2016-07-11 14:58:15 +08:00
afc163
6dad2b2987 Merge branch '1.x-stable' 2016-07-11 14:57:38 +08:00
Benjy Cui
0058c80e98 fix: the bgc of cascader should be white 2016-07-11 11:36:02 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
yiminghe
38d4031987 Merge pull request #2246 from GrayChoi/master
rewrite in typescript
2016-07-07 20:09:09 +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
b0c05e3f29 tweak style (#2234) 2016-07-06 17:54:05 +08:00
afc163
c0a3485ac2 Merge branch 'fix-2234' of https://github.com/ddcat1115/ant-design into ddcat1115-fix-2234 2016-07-06 17:42:53 +08:00
afc163
7ba362f03c Fix react-unknown-prop warnings for Cascader,Input
ref #2258
2016-07-06 12:21:49 +08:00
ddcat1115
d93da30da2 fix #2234
1. 修复small size下沉1px的问题
2. 修复左右阴影被截断的问题
3. 修复有值时hover及focus样式丢失的问题
2016-07-06 11:34:50 +08:00
Gray Choi
fb9a6963a3 rewrite in typescript
#1846

- [x] Carousel
- [x] Cascader
- [x] Transfer
- [x] Tree

-Tree
 -checkable is boolean type, instead of assigning a ReactElement to it,
I use Ternary Operators.
2016-07-01 21:52:17 +09: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
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
afc163
159b28a7a2 Support custom label node render in Cascader, close #1726 2016-05-18 15:34:30 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
5bcb23dd27 Fix feedback in form control, close #1619 2016-05-10 11:55:58 +08:00
afc163
67aa04eb14 fix Cascader defaultValue 2016-05-09 11:59:30 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
fa85bfb161 Merge branch master into develop-1.0.0 2016-04-19 16:16:04 +08:00
afc163
0a121bd175 fix doc 2016-04-19 16:03:45 +08:00
Benjy Cui
9d95313d03 chore: suppress warning 2016-04-14 11:22:53 +08:00
afc163
0f3c3c7e5a Fix cascader placeholder, close #1312 2016-04-01 13:51:26 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
fbee9d9dd9 update code style 2016-03-30 19:36:29 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Bruce Mitchener
71594b0e5c Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.

This makes all existing ES2015 class usages in components use the
same mechanism for binding.
2016-03-28 20:36:11 +07:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
afc163
8b5e2ce1e0 Add API docs 2016-03-15 17:22:39 +08:00
afc163
d10d92c455 Fix cascader onChange bug in IE 2016-03-03 14:57:26 +08:00
afc163
d68f36a422 fix props pass, ref #927 2016-03-02 22:04:54 +08:00
yiminghe
58a32455d3 fix cascader 2016-03-02 21:44:38 +08:00
afc163
6d7f571c1d Add allowClear and Fix clear button in disabled mode 2016-02-25 12:04:58 +08:00
afc163
15473fbc99 support set cascader popupPlacement 2016-02-19 11:33:08 +08:00
Benjy Cui
d06935528e feat: customized size first 2016-01-27 12:00:27 +08:00
afc163
0c7feaaa1f Allow finish selection on Cascader parent option, close #896 2016-01-26 16:41:41 +08:00
afc163
5b3eb0e5f7 fix cascader props pass bug, close #927 2016-01-25 20:52:43 +08:00
afc163
0cd7acb59d Feature: disabled option of Cascader 2016-01-25 15:31:08 +08:00
afc163
1e001d2d82 upgrade eslint-config-airbnb 2016-01-11 09:48:29 +08:00
yiminghe
68443b61c0 fix cascader value 2016-01-06 11:46:06 +08:00
afc163
105130ddb8 Add cascader prop disabled 2016-01-05 11:32:36 +08:00
yiminghe
c8038fde32 move cascade style up 2016-01-04 19:23:19 +08:00
afc163
7051b2c786 Add arrow style 2015-12-30 17:53:44 +08:00
afc163
aa27737d24 Add clear icon 2015-12-30 17:53:43 +08:00