Wei Zhu
5eaa03b4ea
Update snapshot
2018-06-25 16:52:51 +08:00
Wei Zhu
53046a454a
Deprecate combobox mode of Select
2018-06-25 16:52:51 +08:00
zombiej
78adc05973
close #10745 , move dropdownMatchSelectWidth into AbstractSelectProps
2018-06-07 10:24:12 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
2018-06-02 20:12:09 +08:00
Dmitry Snegirev
fd96b4a784
Added missing prop firstActiveValue in Select component ( #10636 )
2018-05-23 19:13:11 +08:00
paranoidjk
8e166915a9
fix(Select): value tsd ( #10336 )
2018-05-03 11:28:30 +08:00
Thiebaud Thomas
a1e186b8a3
Fix type for placeholder in select component ( #10282 )
2018-04-27 18:22:10 +08:00
twobin
d816879e78
fix: add props of onPopupScroll in Select ( #9475 )
2018-03-02 10:15:01 +08:00
Dimitri Mitropoulos
c92cf5b778
adds missing argument in Select onChange prop ( #9332 )
...
* adds missing argument in Select onChange prop
from the docs:
`function(value, option:Option/Array<Option>)`
also, (from reality) the callback really does send an option or options array.
* updates type to use ReactElement instead of Object
2018-02-13 07:33:25 -06:00
Yury Kozyrev
76c7ce669a
add tabIndex to select ( #9144 )
2018-01-27 14:27:27 +08:00
Yury Kozyrev
ecd4177638
Update index.tsx ( #8922 )
2018-01-11 10:03:10 +08:00
Yury Kozyrev
67e956dddd
[Select] fix Typescript Props ( #8920 )
...
* Update button.tsx
* update ts types
Fixes #8895
* omitted values should be an array
2018-01-10 23:37:23 +08:00
afc163
0bfd5ee14d
Fix notFoundContent not working, close #8809
2018-01-04 20:43:56 +08:00
nikogu
5252de9209
Merge branch 'master' into feature-3.1
2017-12-22 11:43:54 +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
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
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
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
Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
2017-10-26 10:50:18 +08:00
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
2017-10-20 14:54:38 +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
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
fe3af14273
Remove exported SelectPropTypes and fix undefined exports, close #7222
2017-08-17 09:57:23 +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
Mitchell Demler
fa44de3faa
refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps ( #6205 )
2017-05-19 11:29:16 +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
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
afc163
c296d1a918
remove unused ant-select-show-search className, close #4859
2017-02-14 20:29:00 +08:00
afc163
35523be6e9
Merge from master
2017-01-20 18:28:09 +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
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
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
08e21e0a2f
refactor: close : #3490
2016-10-24 16:30: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
b5446d632a
Remove wrong dropdownStyle imported by #3344 , close #3386
2016-10-12 11:19:01 +08:00
afc163
3ac6532577
Fix Select notFoundContent
...
close #3345
also close #3344
2016-10-09 22:55:50 +08:00
feng zhi hao
c0527f8b66
chore: complete declaration in Tabs and Select ( #3183 )
2016-09-28 16:58:14 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +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
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
2016-08-22 17:26:14 +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
Benjy Cui
77e47c5807
refactor: add interface ( #2638 )
2016-08-10 09:46:56 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00