paranoidjk
8e166915a9
fix(Select): value tsd ( #10336 )
7 years ago
Thiebaud Thomas
a1e186b8a3
Fix type for placeholder in select component ( #10282 )
7 years ago
twobin
d816879e78
fix: add props of onPopupScroll in Select ( #9475 )
7 years ago
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
7 years ago
Yury Kozyrev
76c7ce669a
add tabIndex to select ( #9144 )
7 years ago
Yury Kozyrev
ecd4177638
Update index.tsx ( #8922 )
7 years ago
Yury Kozyrev
67e956dddd
[Select] fix Typescript Props ( #8920 )
* Update button.tsx
* update ts types
Fixes #8895
* omitted values should be an array
7 years ago
afc163
0bfd5ee14d
Fix notFoundContent not working, close #8809
7 years ago
Dane David
5a94236c30
Version fix for rc-select. Update docs to add onInputKeyDown ( #8552 )
7 years ago
afc163
8f1fd4d68b
Fix notFoundContent not working in AutoComplete, close #8553
7 years ago
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.
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
Wei Zhu
b647078baa
Fix implicit any for Select Slider Spin Switch
7 years ago
Wei Zhu
6837aedf69
Imporve tree and tree-select type definitions
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
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
7 years ago
Wei Zhu
e5a57ff60a
Improve Select type definition
Close #8128
7 years ago
Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
7 years ago
Leo
fc8f533e67
fix ts checking ( #7355 )
* add title prop to Option component(for ts checking)
* fix Checkbox onChange type
7 years ago
afc163
fe3af14273
Remove exported SelectPropTypes and fix undefined exports, close #7222
7 years ago
afc163
3570458c31
Fix undefined SelectPropTypes
7 years ago
Troy Thompson
18c6860296
Adds onFocus and onBlur to Select properties. ( #7082 )
7 years ago
Mitchell Demler
fa44de3faa
refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps ( #6205 )
8 years ago
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
8 years ago
LeeHarlan
d8ebd398df
fix Select component notFoundContent locale. ( #5661 )
* fix Select component notFoundContent locale.
* Update index.tsx
8 years ago
Benjy Cui
50f46d0919
feat: merge Select[multiple|tags|combobox] to Select[mode], close : #5471 ( #5534 )
8 years ago
Benjy Cui
84d65b3f66
refactor: simplify Select relative components' code
8 years ago
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
Mitchell Demler
e968b575a2
fix: move filterOption to AbstractSelectProps so that AutoComplete component types do not break. ( #5393 )
8 years ago
afc163
c296d1a918
remove unused ant-select-show-search className, close #4859
8 years ago
陆离
46c200896f
Customize Input Component of AutoComplete ( #4483 )
* cherry-pick
* remove useless files
* remove useless files
* Group ts
* update interface
* ReactElement
8 years ago
wallverb
c01ee02758
chore: Change AutoCompleteProps to extend SelectProps ( #4565 )
* Change AutoCompleteProps to extend SelectProps
* Extract common props into AbstractSelectProps
8 years ago
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
8 years ago
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
8 years ago
Benjy Cui
08e21e0a2f
refactor: close : #3490
8 years ago
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
8 years ago
afc163
b5446d632a
Remove wrong dropdownStyle imported by #3344 , close #3386
8 years ago
afc163
3ac6532577
Fix Select notFoundContent
close #3345
also close #3344
8 years ago
feng zhi hao
c0527f8b66
chore: complete declaration in Tabs and Select ( #3183 )
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
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
8 years ago
Benjy Cui
77e47c5807
refactor: add interface ( #2638 )
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago