Commit Graph

229 Commits

Author SHA1 Message Date
偏右
0308138974 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-27 10:09:38 +08:00
afc163
849c5fbf75 Fix getPopupContainer ts type 2017-03-27 10:09:06 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
322e9efdc9 Fix getPopupContainer ts type 2017-03-21 16:35:31 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
c06db5ce60 docs: update cascader 2017-03-09 20:19:18 +08:00
afc163
d0f31f39a3 fix cascader style selector priority, close #5078 2017-02-28 11:28:49 +08:00
afc163
3818f59a97 fix test case 2017-02-26 17:52:26 +08:00
afc163
30f2a1ed94 Add popup node snapshot test for Cascader 2017-02-26 16:48:42 +08:00
feng zhi hao
0d2da7ad3b docs: Rewrite Cascader demos to ES6 component (#4943) 2017-02-20 09:45:23 +08:00
Benjy Cui
1f223d8e4c fix: disabled option are not selectable, close: #4699 2017-02-13 11:55:12 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
afc163
35523be6e9 Merge from master 2017-01-20 18:28:09 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
9189d3cc5d Fix Cascader[disabled] style with defaultValue, close #4648 2017-01-19 14:25:44 +08:00
afc163
8f57451d8c fix snap test for cascader upgrade 2017-01-17 13:45:26 +08:00
afc163
3a5d08383a upgrade rc-cascader and support keyboard, close #4411 2017-01-17 12:10:17 +08:00
afc163
1fbebd4ecf Fix a Cascader align bug 2017-01-06 16:55:38 +08:00
偏右
d811ebee5c New color system (#4426)
* Add new color patterns algorithm

* Add color palettes

* update other colors

* fix gray color

* update more tint/shade to colorPalette

* new font color

* Update doc for new color system

* improve doc style
2017-01-01 22:20:06 +08:00
afc163
fb6858c3cc Fix hasFeedback and Select style detail for #4436 2017-01-01 17:39:27 +08:00
afc163
c0a44adb56 Fix Cascader[disabled] background, close #4434 2016-12-31 16:08:58 +08:00
Benjy Cui
588f0c3d1c chore: expose loadData for Cascader, close: #4215 2016-12-22 16:35:37 +08:00
Benjy Cui
4967d36d2a docs: update demos order for Cascader 2016-12-22 16:23:33 +08:00
HJin.me
0e92fa3f23 chore: improve Cascader and Tooltip's get(Popup|Tooltip)Container declaration (#4303) 2016-12-20 14:37:33 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +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
764cd9439d fix(Cascader): onChange's first parameter should be string Array #4231 (#4232) 2016-12-13 21:28:39 +07:00
Benjy Cui
4afb7b4b33 fix: unify selected options format, close: #4096 (#4134) 2016-12-07 10:43:06 +08:00
Andrey G
a307a7acf7 refactor: remove unnecessary computed props for classNames (#4055)
* remove unnecessary computed props for classNames

* rollback autocomplete optimization for possible css style order issue

* update snapshots

* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Will Chen
6b774a1343 docs: improve docs' detail (#4050) 2016-11-29 17:13:24 +08:00
Wei Zhu
bd55d21f83 style: Fix jsx-no-multiline-js (#3994)
* Fix jsx-no-multiline-js

* TimePicker addon test

* Transfer search test
2016-11-25 12:03:39 +08:00
Wei Zhu
ccbebe60cc style: Fix jsx alignment, #3966 (#3967) 2016-11-23 17:53:10 +08:00
afc163
5d2a2cc39b Add @highlight-color less variables 2016-11-09 21:30:02 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
e4974ac72a use @font-size-base (#1752) 2016-11-08 20:57:07 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
afc163
58d98a7802 add Cascader[getPopupContainer] to document, #1503 2016-10-20 12:18:53 +08:00
afc163
d0a6fa47a9 Fix cascader defaultValue typo, close #3470 2016-10-18 18:19:13 +08:00
afc163
6f8f7de69e update code style 2016-10-18 18:10:41 +08:00
afc163
d92a24d477 Improve overlay border design 2016-10-14 15:40:39 +08:00
afc163
4936bc3735 close autoComplete in Cascader, close #3350 2016-10-12 11:49:55 +08:00
Benjy Cui
1e0c034353 Fix cascader (#3243)
* docs: update demo

* fix: should show input value
2016-09-30 13:37:36 +08:00
Benjy Cui
87753482bf style: update code style to please lint, close: #2811 2016-09-27 10:06:34 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +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
Benjy Cui
59093a6586 fix: should pass prefixCls correctly 2016-09-14 16:59:45 +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
Benjy Cui
58745edecf docs: update 2016-09-13 11:51:34 +08:00
afc163
472821013c Fix Cascader hover style, close #3015 2016-09-12 14:31:29 +08:00
Shawn Sit
57cdbe1a6b docs: translated cascader demo (#2997) 2016-09-10 18:23:24 +08:00
Benjy Cui
1dac1370de deps: replace obejct.omit with omit.js, close: #2988 (#2994) 2016-09-10 17:17:55 +08:00
Shawn Sit
280698f793 docs: translated cascade custom trigger demo (#2991) 2016-09-10 14:16:13 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Benjy Cui
92ab804815 feat: Cascader[showSearch] (#2776)
* feat: implement Cascader[showSearch] basicly

* feat: optimize Cascader[showSearch]

* feat: clear for input value

* feat: complete Cascader[showSearchf]

* docs: add docs for Cascader[search]

* fix: review

* fix: add key

* style: update code style to please lint

* refactor: update according to review

* docs: update docs
2016-09-01 11:08:41 +08:00
afc163
77fa03240b Merge branch '1.x-stable' 2016-08-03 11:43:43 +08:00
afc163
8b0766937f Fix cascader disabled style 2016-08-02 17:19:54 +08:00
afc163
9ffdbc5c26 update cascader demo 2016-08-02 17:06:14 +08:00
afc163
71d74c30c1 Merge 1.x-stable 2016-07-29 13:57:54 +08:00
afc163
c451a865d1 Fix Cascader item overflow style, close #2515 2016-07-27 13:37:20 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
afc163
ca57794ae7 better implement for a2804cb 2016-07-25 14:03:56 +08:00
afc163
5eb52885d6 @background-color-base 2016-07-21 15:02:24 +08:00
afc163
db4cbabf0c Merge 2016-07-21 14:39:28 +08:00
afc163
42d34a5db3 Merge branch '1.x-stable' 2016-07-21 14:34:37 +08:00
Leon Shi
3d070b8d85 docs: translate Cascader's documentation to English (#2433) 2016-07-21 10:09:01 +08:00
afc163
765150f17d fix cascader props warning (#2258) 2016-07-16 15:50:27 +08:00
afc163
f0995bd1e3 Merge 1.x-stable 2016-07-15 16:42:58 +08:00
afc163
a535238d68 fix cascader input style 2016-07-15 12:46:49 +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
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
afc163
5f0aecfd5e Add prop size for cascader 2015-12-30 17:53:43 +08:00
afc163
fcba79f070 update cascader api 2015-12-30 17:53:43 +08:00
afc163
a1743d7e58 update cascader document 2015-12-30 17:53:43 +08:00
afc163
20ce55933e Add cascade 2015-12-30 17:53:43 +08:00