Commit Graph

278 Commits

Author SHA1 Message Date
Benjy Cui
29e598a3f3 docs: add missing docs for Option[title] 2017-01-03 16:00:34 +08:00
Edd Hannay
ec2bec5417 Add tokenSeparators prop to Select TS definitions (#4441)
[The documentation](https://ant.design/components/select/) lists the `tokenSeparators` property on the `Select` component, but the TypeScript definition for the component does not contain the `tokenSeparators` property. The underlying `rc-select` component [defines tokenSeparators](https://github.com/react-component/select/blob/master/src/Select.jsx#L79) as `PropTypes.arrayOf(PropTypes.string)`, so I've added it as an optional TypeScript property of type `string[]`.

- Add tokenSeparators to SelectProps in Select Component
2017-01-02 19:11:13 +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
2583798cce Add demo for Case-insensitive search Select, close #4408 2016-12-30 14:05:27 +08:00
Benjy Cui
9f2e6c8baa docs: update demo for SSR 2016-12-19 17:54:25 +08:00
Pierre
827aa2f94c style: remove hardcoded inputs height (#4175)
* remove hardcoded inputs height

* revert pagination input height

* revert pagination input heights bis
2016-12-15 11:17:09 +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
afc163
a15d2c014a update labelInValue description 2016-12-13 11:44:59 +08:00
afc163
9dfe19f544 update labelInValue description 2016-12-13 11:43:31 +08:00
chchen
3382abde65 css: set dropdown's background color with @component-background (#4160) 2016-12-09 10:35:13 +08:00
afc163
37af26fbdf update select demo 2016-12-03 15:35:39 +08:00
afc163
3802f08191 Fix wrong description about Select[allowClear] (#4101) 2016-12-01 22:28:43 +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
Benjy Cui
932443099a css: use @component-background, ref: #4040 2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc Fix #4039. Replace background-color: #fff with background: @body-background (#4040) 2016-11-29 09:54:54 +08:00
afc163
c6c5a0c3a1 fix demo focus error 2016-11-24 16:16:27 +08:00
afc163
1c23189b1d update select style 2016-11-17 17:08:38 +08:00
afc163
5b3df08ade use @input-placeholder-color in select and mention, close #3858 2016-11-16 11:34:25 +08:00
afc163
0d63e5f6b5 Fix select[combobox] vertical align, close #3855 2016-11-15 21:54:22 +08:00
afc163
b0f366cb0f Fix TreeSelect[multiple] placeholder margin bug, close #3841 2016-11-14 20:15:51 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
5aea5b24ef update select demo code style 2016-11-08 21:23:29 +08:00
afc163
e4974ac72a use @font-size-base (#1752) 2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb use @text-color 2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
Meck
7d2328b910 docs: improve 2016-11-03 10:44:41 +08:00
Wei Zhu
5c711a275e deps: update rc-select (#3692)
* Update rc-select

* Add automatic tokenization demo
2016-11-02 17:35:05 +08:00
afc163
2026449976 fix some props missing documentation 2016-10-27 11:10:19 +08:00
Benjy Cui
08e21e0a2f refactor: close: #3490 2016-10-24 16:30:38 +08:00
afc163
ba227bbe54 fix Select[onSearch] overflow scroll 2016-10-24 11:34:50 +08:00
afc163
915f343de3 update select check style 2016-10-21 20:21:40 +08:00
afc163
355f82231c fix select style 2016-10-21 15:36:07 +08:00
afc163
97bc13426f fix overflow selected value in Select (#3481) 2016-10-20 14:18:07 +08:00
afc163
d38c5a43da fix about #3481 2016-10-20 11:59:38 +08:00
afc163
0b29ee6fee continue fix for #3481, also fix multiple select large and small size style 2016-10-19 20:32:14 +08:00
afc163
ff5d9f6029 Fix select vertical-align and refactor its style, close #3481 2016-10-19 14:27:38 +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
afc163
c196f37239 patch for fixing #3413 2016-10-14 15:47:08 +08:00
afc163
d92a24d477 Improve overlay border design 2016-10-14 15:40:39 +08:00
afc163
ea6537b47a improve select doc 2016-10-14 11:31:24 +08:00
afc163
00dd1d5f07 improve select doc 2016-10-14 11:29:45 +08:00
afc163
d217c72529 Fix Select onSearch width style bug, close #3413 2016-10-13 15:54:25 +08:00
afc163
b5446d632a Remove wrong dropdownStyle imported by #3344, close #3386 2016-10-12 11:19:01 +08:00
kvetoslavnovak
0eb080bf49 Select Basic usage - Eng. correction (#3383) 2016-10-12 11:04:45 +08:00
kvetoslavnovak
b700e7ea06 Three Select - Eng. correction (#3384) 2016-10-12 11:04:40 +08:00
kvetoslavnovak
ef2c2b114e Select Option Group - Eng. correction (#3385) 2016-10-12 11:04:32 +08:00
afc163
3ac6532577 Fix Select notFoundContent
close #3345

also close #3344
2016-10-09 22:55:50 +08:00
afc163
58d7741709 http => https, close #3303 2016-10-06 18:54:28 +08:00
Benjy Cui
0265cf0cb1 docs: update links 2016-09-30 10:34:27 +08:00
feng zhi hao
c0527f8b66 chore: complete declaration in Tabs and Select (#3183) 2016-09-28 16:58:14 +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
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +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
afc163
63789c3838 remove text overflow in select, close #2927 2016-09-13 18:46:45 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
Marius Ileana
a8cc57cd13 docs: select/demo/coordinate.md - English translation (#3011)
English translation of labels/data
2016-09-12 10:10:27 +08:00
Marius Ileana
bde1711597 docs: select/demo/combobox.md - English translation (#3010)
English translation of labels and comments
2016-09-12 10:10:07 +08:00
Marius Ileana
ced5c9a9ed docs: select/demo/search.md - English translation (#3009)
English translation of labels.
2016-09-12 10:09:22 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
e0eb9ae162 Merge branch "1.x-stable" 2016-08-29 21:02:59 +08:00
afc163
b6222f7c22 fix lints 2016-08-28 17:47:06 +08:00
detailyang
ff05904b54 append slash on URI (#2834)
[http://ant.design/components/cascader](http://ant.design/components/cascader) is 404 but [http://ant.design/components/cascader/](http://ant.design/components/cascader/) is good well
2016-08-25 10:52:51 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
Benjy Cui
e6280a7ea6 Merge branch '1.x-stable' 2016-08-22 17:05:37 +08:00
Benjy Cui
3411765ce9 Refactor ts (#2760)
* refactor: add interface form Calendar

* refactor: add interface for layout

* refactor: add interface for DatePicker

* refactor: add interface for Icon

* refactor: add interface for InputNumber

* refactor: add interface for Input
2016-08-19 17:11:06 +08:00
afc163
2ce9d94a66 Fix select input height in IE, close #2741 2016-08-17 13:57:42 +08:00
afc163
9645fdf3c4 use perfix varible in less 2016-08-17 13:47:23 +08:00
afc163
24d2973c32 Merge branch "1.x-stable" 2016-08-16 17:54:59 +08:00
afc163
8d439c48a5 Remove wrong placeholder cursor 2016-08-12 15:18:50 +08:00
Benjy Cui
77e47c5807 refactor: add interface (#2638) 2016-08-10 09:46:56 +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
陆离
552fa228ee feat: AutoComplete (#2490) 2016-07-25 17:46:45 +08:00
afc163
ca57794ae7 better implement for a2804cb 2016-07-25 14:03:56 +08:00
yeliex
f12bbdfdd0 修复了select组件placeholder溢出的问题 (#2480) 2016-07-24 15:15:13 +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
5eb52885d6 @background-color-base 2016-07-21 15:02:24 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
afc163
4954f5d733 Merge branch '1.x-stable' 2016-07-12 13:59:58 +08:00
afc163
cf978908e8 Fix overflow combobox, close #2353 2016-07-12 12:17:19 +08:00
Benjy Cui
0fccbd4b1d docs: fix format 2016-07-10 09:14:14 +08:00
陆离
b2ff1dcc75 docs: i18n of Select (#1899) 2016-07-10 08:55:43 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25: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
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
8f5dc9df23 update demo 2016-06-14 23:10:17 +08:00
afc163
138f751cee update style for readonly selected option, close #2034 2016-06-14 23:09:35 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
afc163
0e3dbc69a7 revert 16c4ce0 2016-06-01 11:23:14 +08:00
Benjy Cui
16c4ce09d7 refactor: fix select style in an elegant way 2016-05-28 07:23:51 +08:00
afc163
9cab6543ac Add pointer-events 2016-05-27 15:08:02 +08:00
Benjy Cui
13fc8c9a3a fix: hide mirror 2016-05-27 15:00:22 +08:00