Commit Graph

1155 Commits

Author SHA1 Message Date
afc163
0bfd5ee14d Fix notFoundContent not working, close #8809 2018-01-04 20:43:56 +08:00
afc163
c14b13d4ac Fix broken link, close #8797 2018-01-02 18:12:10 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
Wei Zhu
2026b80ae2 Merge branch 'master' into feature-3.1 2017-12-28 16:31:25 +08:00
afc163
abf9717eab Large component should has larger font size
14px => 16px
2017-12-28 15:41:48 +08:00
afc163
6efebb5bfa patch for 8494d460 2017-12-22 19:28:22 +08:00
afc163
8494d46038 Fix select align issue in chrome 2017-12-22 18:11:29 +08:00
nikogu
5252de9209 Merge branch 'master' into feature-3.1 2017-12-22 11:43:54 +08:00
afc163
13c6e8ec1e update getPopcontainer demo link 2017-12-21 21:50:41 +08:00
Wang Jun
d825e27667 fix loading (#8571) 2017-12-13 18:49:00 +08:00
Dane David
5a94236c30 Version fix for rc-select. Update docs to add onInputKeyDown (#8552) 2017-12-13 04:34:54 -06:00
afc163
8f1fd4d68b Fix notFoundContent not working in AutoComplete, close #8553 2017-12-13 17:05:36 +08:00
Wei Zhu
18723a37ee Update snapshot 2017-12-08 11:36:43 +08:00
Nidhi Agarwal
6d0b488d7f Select - Moving defaultActiveFirstOption to AbstractSelectProps (#8383)
defaultActiveFirstOption Prop should be exposed to components which are extending AbstractSelectProps, even according the documentation of auto-complete.
2017-12-06 15:37:12 +08:00
Wei Zhu
4aeb811b72
Remove deprecations (#8351) 2017-11-30 09:53:32 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
Wei Zhu
c8a49c45fc Upgrade rc-select 2017-11-28 09:51:29 +08:00
Wei Zhu
b647078baa Fix implicit any for Select Slider Spin Switch 2017-11-21 14:58:08 +08:00
Wei Zhu
6837aedf69 Imporve tree and tree-select type definitions 2017-11-20 17:11:13 +08:00
Wei Zhu
bf4ad93f2c Update rc-select 2017-11-19 20:14:53 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support (#8204)
* 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
afc163
8ca9c9513d Merge branch 'master' into antd-3.0 2017-11-18 14:29:56 +08:00
David Tsai
b3b3ee043e Update Select component documentation (#8229)
Providing clarity through reworking the description(s) on usage.
2017-11-18 13:13:55 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
afc163
856ecd4ae3 Merge branch 'master' into antd-3.0 2017-11-09 19:45:06 +08:00
Wei Zhu
e5a57ff60a Improve Select type definition
Close #8128
2017-11-07 17:33:09 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
b61cb8f99e update select group title style 2017-10-29 14:21:00 +08:00
afc163
099d5a0822 Tweak select arrow style 2017-10-26 19:39:04 +08:00
Benjy Cui
e5699aff68 fix: should not import moment while useless, close: #8013 2017-10-26 10:50:18 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
afc163
ef443ad047 Merge branch 'master' into antd-3.0 2017-10-20 15:47:42 +08:00
Stephen Esser
88ed97b63d doc: Fix spelling mistake in Select demo (#7932) 2017-10-20 14:54:57 +08:00
Benjy Cui
7ea572bfc8 refactor: extract common locale logic (#7915) 2017-10-20 14:54:38 +08:00
afc163
1ef4cc277b Fix select item padding 2017-10-11 16:56:52 +08:00
afc163
d3b98d311a Merge branch 'master' into antd-3.0 2017-10-10 14:09:03 +08:00
afc163
712451acf7 Fix codepen demo 2017-10-10 11:35:50 +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
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
afc163
95c72958ca Fix AutoCompelete layout, close #7800 2017-10-08 15:22:24 +08:00
afc163
7a8a1a8ee3 Merge branch 'master' into antd-3.0 2017-09-30 21:31:29 +08:00
Graeme Yeates
47e3cedf86 Minor fixes for select and form en docs (#7769)
* Fix headers on form validateFields [ci skip]

* Include default as an option for select sizes [ci skip]
2017-09-29 10:54:37 +08:00
偏右
2bced36f0c New component styles (#7731)
* 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 (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
afc163
c9069dfdf6 Merge branch 'master' into antd-3.0 2017-09-23 16:50:14 +08:00
afc163
8b1a4f80a9 Fix TreeSelect extra input text, close #7703 2017-09-23 12:11:17 +08:00
afc163
af7f0c3777 Merge branch 'master' into antd-3.0 2017-09-22 20:36:13 +08:00
afc163
776beaee05 Fix cursor height in safari 2017-09-22 20:17:04 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +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 #5522
2017-09-15 16:14:26 +08:00
Wei Zhu
579becd894 Update snapshot 2017-09-15 10:03:46 +08:00
afc163
9e319990d2 update snapshot 2017-09-14 18:09:30 +08:00
afc163
b24483545c Merge branch 'master' into antd-3.0 2017-09-12 09:41:51 +08:00
Wei Zhu
c2031f701c Document Select[firstActiveValue] 2017-09-11 12:00:15 +08:00
Benjy Cui
070b2696ba chore: remove hacks for IE8-, close: #7447 (#7512) 2017-09-08 13:08:46 +08:00
afc163
94283b730f Fix validateStatus styles of some Form Controls, close #7498 2017-09-06 20:17:20 +08:00
Leo
fc8f533e67 fix ts checking (#7355)
* add title prop to Option component(for ts checking)

* fix Checkbox onChange type
2017-08-29 08:58:51 +08:00
afc163
44319bec11 active the selected item should be highlighted 2017-08-23 18:16:52 +08:00
afc163
ac5bdc6983 doc: update select description 2017-08-23 13:17:43 +08:00
afc163
988e12f54b tweak some font weight 2017-08-17 22:10:40 +08:00
afc163
fe3af14273 Remove exported SelectPropTypes and fix undefined exports, close #7222 2017-08-17 09:57:23 +08:00
afc163
f0c6350e0e update select demo 2017-08-16 10:38:03 +08:00
afc163
57e3be2c32 Fix select popupContainer in site header 2017-08-14 22:57:45 +08:00
afc163
c79592cf05 Fix select demo 2017-08-11 10:44:13 +08:00
afc163
3570458c31 Fix undefined SelectPropTypes 2017-08-07 11:35:22 +08:00
Troy Thompson
18c6860296 Adds onFocus and onBlur to Select properties. (#7082) 2017-08-06 16:45:10 +08:00
Graeme Yeates
0e22ae62bb Document select placeholder supporting ReactNode 2017-07-04 13:07:05 -04:00
afc163
3816778b6b Fix select overflow bug, close #6621 2017-06-27 11:01:11 +08:00
Aaron Planell López
de030a0333 update document, ref #6392 (#6420) 2017-06-09 15:21:01 +08:00
afc163
41f157e596 Fix Select search input width, close #6382 2017-06-06 20:38:44 +08:00
afc163
551b17203c Fix showSearch doc, close #6253 2017-05-25 11:57:45 +08:00
afc163
4d645a256f tweak select placeholder text align 2017-05-24 16:48:45 +08:00
偏右
516317e78a Merge pull request #6005 from megawac/multiselect-tag-bg
Use @tag-default-bg for multiselect tags
2017-05-22 16:35:03 +08:00
Graeme Yeates
adfca8ae78 Use @tag-default-bg for multiselect tags 2017-05-19 11:52:31 -04:00
Mitchell Demler
fa44de3faa refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps (#6205) 2017-05-19 11:29:16 +08:00
afc163
b887ad8e54 Fix selected background 2017-05-18 15:08:30 +08:00
Benjy Cui
a0a6b4610b chore: simplify code, close: #6030 2017-05-05 18:06:43 +08:00
Benjy Cui
0d672d5c2d test: fix CI 2017-05-05 14:47:37 +08:00
kossel
169e0f9762 fix: issue 5834, autocomplete is not being decorated (#6018) 2017-05-05 14:40:57 +08:00
Graeme Yeates
d8d17a6401 Seperate @active-item-bg into 2 variables 2017-05-03 10:57:14 -04:00
Graeme Yeates
0bc8284c46 [#5964] add @background-color-active rule 2017-05-02 11:06:01 -04:00
Graeme Yeates
4eb2855871 Add @active-item-bg to control hover and active states 2017-05-02 11:05:28 -04:00
afc163
c6efc4db27 Adjust dropdown item padding, close #5088 2017-05-02 16:07:16 +08:00
afc163
ebd66d0082 fix missing less variable 2017-05-01 14:18:16 +08:00
Graeme Yeates
5841746ec9 Decompose @background-color-base into several variables 2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7 Consistently use @background-color-base for disabled states 2017-04-28 15:43:02 -04:00
Erwann Mest
73d7e816b1 Destructuring for the win. 2017-04-13 17:27:03 +02:00
afc163
8a1c875123 update select doc 2017-04-13 16:46:46 +08:00
Manjit Kumar
4e055ed5d0 use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
 - Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
 - Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
LeeHarlan
d8ebd398df fix Select component notFoundContent locale. (#5661)
* fix Select component notFoundContent locale.

* Update index.tsx
2017-04-07 19:21:18 +08:00
Benjy Cui
50f46d0919 feat: merge Select[multiple|tags|combobox] to Select[mode], close: #5471 (#5534) 2017-03-28 21:27:58 +08:00
Benjy Cui
84d65b3f66 refactor: simplify Select relative components' code 2017-03-28 15:11:14 +08:00
HJin.me
47589ba92c fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type (#5528) 2017-03-28 13:20:05 +08:00
Benjy Cui
cb555fc30d fix: Select[multiple|tags] should support allowClear, close: #4843 (#5478) 2017-03-27 17:37:39 +08:00
Benjy Cui
d6d62f6754 docs: update demo for Select[size] 2017-03-24 12:14:00 +08:00
Wei Zhu
21ee247253 Add new select demo snapshot 2017-03-23 13:48:19 +08:00
afc163
4442f71d31 Add select users demo, close #2765 2017-03-22 14:21:24 +08:00
afc163
322e9efdc9 Fix getPopupContainer ts type 2017-03-21 16:35:31 +08:00
Mitchell Demler
e968b575a2 fix: move filterOption to AbstractSelectProps so that AutoComplete component types do not break. (#5393) 2017-03-20 16:13:53 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
a0cdce4d00 fix test case 2017-03-10 19:22:18 +08:00
Benjy Cui
7c564af6e4 Revert "css: adjust alignment in Select & AutoComplete, close: #5088"
This reverts commit c01f24750a.
2017-02-28 15:46:45 +08:00
Benjy Cui
c01f24750a css: adjust alignment in Select & AutoComplete, close: #5088 2017-02-28 14:30:00 +08:00
afc163
f0a4afd388 Fix slight difference placeholder between Input and Select
close #4987
2017-02-21 22:45:56 +08:00
afc163
3884ee3c5a rewrite Select demos to es6 component, #4878 2017-02-20 21:54:23 +08:00
afc163
c296d1a918 remove unused ant-select-show-search className, close #4859 2017-02-14 20:29:00 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
偏右
75a4b06e44 Unified border radius, close #4772 (#4773) 2017-02-08 14:21:29 +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
afc163
f3b2e155b5 style: Select height should flex with @input-height variable, close #4694 2017-01-24 15:20:06 +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
陆离
46c200896f Customize Input Component of AutoComplete (#4483)
* cherry-pick

* remove useless files

* remove useless files

* Group ts

* update interface

* ReactElement
2017-01-13 21:19:23 +08:00
wallverb
c01ee02758 chore: Change AutoCompleteProps to extend SelectProps (#4565)
* Change AutoCompleteProps to extend SelectProps

* Extract common props into AbstractSelectProps
2017-01-12 09:23:56 +08:00
afc163
4654db312f Fix some lesshint problems 2017-01-11 21:45:09 +08:00
afc163
9e4885d959 update select doc 2017-01-07 22:15:22 +08:00
afc163
1a8f000e35 update doc 2017-01-07 21:28:44 +08:00
afc163
e2b8aee202 fix snapshot 2017-01-05 17:24:14 +08:00
afc163
26d3c506b3 simplify select combobox demo 2017-01-05 15:47:19 +08:00
Wei Zhu
4305ca7ab0 docs: Docment Select.defaultActiveFirstOption 2017-01-04 18:46:39 +08:00
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
afc163
f920e4a9d0 Fix clear icon of Select, close #1861 2016-05-26 16:00:55 +08:00
Leon Shi
f15a28c9f0 docs: update Select's documentation (#1780) 2016-05-19 23:37:22 +08:00
afc163
5c9b4b4296 update select demo 2016-05-19 18:05:35 +08:00
Eric
8ba9f0be54 docs : set select width to fit its container (#1775) 2016-05-19 16:32:41 +08:00
afc163
57e5b4f382 Merge branch 'master' of github.com:ant-design/ant-design 2016-05-19 15:38:37 +08:00
afc163
6a1e7278fa Fix combobox Select optionLabelProp, close #1773 2016-05-19 15:37:33 +08:00
afc163
568e79d878 fix select placeholder position 2016-05-19 15:08:02 +08:00
ddcat1115
02ce67d44c fix #1695 add demo & doc 2016-05-19 13:45:18 +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
13f86edbdb fix link 2016-05-13 23:10:05 +08:00
afc163
ca849c8ee3 Fix search-input with Select 2016-05-13 11:45:09 +08:00
afc163
41a0245f6e Fix TreeSelect placeholder, close #1657 2016-05-12 12:10:26 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
5077873ae0 fix codepen links 2016-05-11 02:02:23 +08:00
afc163
1864ab3175 Fix locale not found content (#1604)
* Add notFoundContent to LocaleProvider, close #1488

* Fix TreeSelect notFoundContent style
2016-05-08 16:05:36 +08:00
afc163
a5a79ceebf update combobox optionLabelProp to value (#1579) 2016-05-04 20:31:12 +08:00
afc163
324c5383fe update docs 2016-05-03 14:57:58 +08:00
Benjy Cui
73715d810b css: add focused style for Select 2016-04-28 16:28:08 +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
cfcbc75190 Fix select demo 2016-04-27 18:07:48 +08:00
Leon Shi
6acb9ce400 upgrade rc-select to 6.2.3 (#1527) 2016-04-27 17:57:35 +08:00
Benjy Cui
e767edcb73 css: clear should be hidden if Select is disabled #1480 2016-04-22 15:41:52 +08:00
afc163
540644826f Merge branch master into develop-1.0.0 2016-04-21 15:14:13 +08:00
afc163
8d3bfae8ee fix doc (#1455) 2016-04-21 12:17:37 +08:00
Benjy Cui
59cb0a8fbb site: fix parse errors.. 2016-04-08 09:33:09 +08:00
afc163
41182f5619 fix prefixCls 2016-04-06 15:50:58 +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
c47fdeaf8f Merge branch 'master' into develop-1.0.0 2016-03-30 11:17:39 +08:00
afc163
74f462e8a8 update docs 2016-03-29 18:21:57 +08:00
afc163
376d1efc04 Add some api in docs 2016-03-29 18:05:08 +08:00
afc163
b6de2765bf Add some api in docs 2016-03-29 18:02:01 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Benjy Cui
8b58cdd137 docs: update docs for select 2016-03-28 15:13:18 +08:00
Bruce Mitchener
eaae43abdd More ES2015 classes.
This covers Carousel, InputNumber, Select, Slider, Switch, TreeSelect
and Tree.
2016-03-21 08:26:05 +07:00
afc163
baed8ba9ae Fix select docs 2016-03-04 21:42:38 +08:00
afc163
ad07fd923b Merge pull request #1075 from ant-design/css-search-box
Css search box
2016-02-24 20:00:34 +08:00
afc163
8467ebe7fa update search box demo 2016-02-24 19:55:23 +08:00
afc163
8fb56286fb use placeholder in select combobox demo 2016-02-24 18:22:54 +08:00
Benjy Cui
48900ed7f8 css: add search box style for Select #1067 2016-02-24 15:11:50 +08:00
afc163
1ef95ec1ec improve demo for select optionFilterProp 2016-02-23 11:16:58 +08:00
yiminghe
d3122af409 support select clear 2016-02-19 16:16:49 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
415a3d995b style: update code style to please lint 2016-02-16 14:07:09 +08:00
afc163
48433b5c93 upgrade rc-select 2016-01-28 12:16:18 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
Benjy Cui
d06935528e feat: customized size first 2016-01-27 12:00:27 +08:00
afc163
66b7ee81ad fix eslint problems, eslint-config-airbnb@4.x 2016-01-23 15:22:16 +08:00
afc163
a16903009e merge from master 2016-01-13 22:22:33 +08:00
Benjy Cui
f58ac72a88 docs: update Select's documentation 2016-01-13 17:35:48 +08:00
afc163
cf92a79529 merge master 2016-01-12 11:44:02 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
Benjy Cui
02bcdee3c3 docs: update Select's doc #799 2016-01-05 17:50:25 +08:00
afc163
461495d46d update cascader document 2016-01-01 22:59:09 +08:00
afc163
d79562075a update select demo 2015-12-31 17:36:37 +08:00
afc163
4d8e008927 update demo code 2015-12-30 19:34:05 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
029890a5ab fix default prop doc 2015-12-16 11:56:30 +08:00
afc163
290b739cd1 improve select classname code 2015-12-06 17:13:06 +08:00
afc163
52c26872cb update docs 2015-12-05 01:08:33 +08:00
jljsj
1446e799c4 add select choice anim 2015-12-03 19:21:49 +08:00
Benjy Cui
4e4273ec5b docs: update Select's documentation 2015-12-02 16:28:41 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
b520982f22 update demo code style 2015-11-19 17:12:16 +08:00
血诺
0c3432fd35 fix className concat 2015-11-12 21:28:02 +08:00
yiminghe
f41409f319 update docs 2015-11-12 14:16:17 +08:00
afc163
7a5bea24d2 update select api 2015-11-05 18:18:21 +08:00
afc163
eb7568c8a6 update select style 2015-11-05 17:49:47 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
偏右
83664dbd28 Merge pull request #422 from ant-design/unify-size-prop
unify all size prop to: large default small
2015-10-22 21:13:14 +08:00
afc163
3b6c92045c update demo style 2015-10-22 21:12:13 +08:00
afc163
415fa383e3 unify all size prop to: large default small 2015-10-22 21:01:52 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
afc163
f26bbc1cd5 Add document version switch in footer, #406 2015-10-19 17:58:56 +08:00
yiminghe
7b4bdc8482 fix placeholder 2015-09-17 19:31:52 +08:00
yiminghe
0435ca60e3 update filterOption 2015-09-16 19:52:09 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
yiminghe
af30f55e7a optimize 2015-09-01 11:26:33 +08:00
yiminghe
fbad793d3d upgrade select 2015-08-31 19:41:58 +08:00
afc163
35f64c436e Fix demo, #196 2015-08-26 11:02:13 +08:00
afc163
4a51421bfa hide notFoundContent when combobox 2015-08-23 16:00:05 +08:00
afc163
583d885b40 Fix select className 2015-08-23 15:13:21 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
7909033158 className in select 2015-08-22 14:23:58 +08:00
yiminghe
c4b5b186ae render to body 2015-08-21 14:54:37 +08:00
yiminghe
0a1cfccd22 upgrade select. Fixes #170 2015-08-20 17:46:12 +08:00
afc163
ea298befa5 update optionGroup Demo 2015-08-19 13:50:57 +08:00
zhujun24
dee35bd833 optimize code style 2015-08-10 15:39:50 +08:00
zhujun24
ea3f38a58a unify size api name 2015-08-10 13:22:50 +08:00
zhujun24
e3e17376f0 selece size 2015-08-08 19:11:10 +08:00
afc163
67a200ee30 添加联动的选择框, fix #115 2015-08-06 12:06:05 +08:00
然则
fcd8a7fd3f fix #99 2015-08-01 17:51:55 +08:00
yiminghe
ee10b7c7d8 fix ant-select 2015-07-29 12:50:41 +08:00
afc163
ba21f3531b fix select components 2015-07-24 16:06:27 +08:00
ustccjw
b34269a6b1 use es6 module import/export
convert var to const

fix bug

fix bug

fix for jshint

fix import
2015-07-24 11:22:49 +08:00
ustccjw
41c35903a4 remove use strict 2015-07-23 21:36:34 +08:00
afc163
fe0ead041a update combobox demo 2015-07-23 11:13:20 +08:00
afc163
59869fa42d display label in select defaultly, fix #50 2015-07-22 12:37:20 +08:00
afc163
3b6ea9846d Add placeholder 2015-07-21 11:05:11 +08:00
afc163
fa9914f34a components order 2015-07-20 12:28:36 +08:00
yiminghe
3777933020 fix select style 2015-07-15 19:59:54 +08:00
yiminghe
46b0685364 upgrade select 2015-07-08 22:07:15 +08:00
yiminghe
0a7410973e clean warning 2015-07-08 20:53:11 +08:00
然则
65ac43f175 up demo 2015-06-19 18:00:39 +08:00
然则
64465d7230 up select style 2015-06-19 17:35:32 +08:00
afc163
bd7bbd0cd5 update demos 2015-06-18 12:02:38 +08:00
afc163
8ab58d6fce update rc-select and demos 2015-06-18 11:57:31 +08:00
afc163
9021cd8145 update select api 2015-06-16 20:07:43 +08:00
afc163
5ac56461a1 update select combobox demo 2015-06-16 19:59:07 +08:00
afc163
48700296b8 update select demos 2015-06-16 14:54:31 +08:00
yiminghe
73d89f46af update motion 2015-06-15 21:18:08 +08:00
afc163
16afacea79 adjust select demo 2015-06-15 17:54:34 +08:00
然则
d73b1e5cec up 2015-06-15 17:17:23 +08:00
afc163
737ef1167d Add info for components 2015-06-14 17:54:08 +08:00
afc163
5e61c60661 update selet demo 2015-06-14 17:26:31 +08:00
afc163
b9b6cd33d0 components order 2015-06-12 17:49:30 +08:00
然则
58938d38e7 up select component 2015-06-11 19:23:35 +08:00
afc163
55041219f2 Add eslint, close #14 2015-06-10 17:59:32 +08:00
然则
34e0fa4b8d add select component 2015-06-09 21:16:59 +08:00
afc163
6842c03762 select demo update 2015-06-02 18:15:32 +08:00
afc163
5651c402a5 update layout 2015-06-02 12:11:49 +08:00
afc163
43ef2dccd3 挖坑 2015-05-27 15:43:29 +08:00
afc163
d08d510f96 components name 2015-05-21 22:24:19 +08:00
afc163
d83608dff4 read demo from demo folder 2015-05-16 15:03:33 +08:00
afc163
c4023c813f aside 2015-05-12 18:12:48 +08:00