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
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
afc163
6a1e7278fa
Fix combobox Select optionLabelProp, close #1773
9 years ago
afc163
1864ab3175
Fix locale not found content ( #1604 )
* Add notFoundContent to LocaleProvider, close #1488
* Fix TreeSelect notFoundContent style
9 years ago
afc163
a5a79ceebf
update combobox optionLabelProp to value ( #1579 )
9 years ago
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
9 years ago
afc163
41182f5619
fix prefixCls
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
Bruce Mitchener
eaae43abdd
More ES2015 classes.
This covers Carousel, InputNumber, Select, Slider, Switch, TreeSelect
and Tree.
9 years ago
afc163
48433b5c93
upgrade rc-select
9 years ago
Benjy Cui
d06935528e
feat: customized size first
9 years ago
afc163
290b739cd1
improve select classname code
9 years ago
jljsj
1446e799c4
add select choice anim
9 years ago
血诺
0c3432fd35
fix className concat
9 years ago
afc163
415fa383e3
unify all size prop to: large default small
9 years ago
afc163
691b0147b1
update eslintrc and fix code
9 years ago
afc163
4a51421bfa
hide notFoundContent when combobox
9 years ago
afc163
583d885b40
Fix select className
9 years ago
afc163
7909033158
className in select
9 years ago
zhujun24
dee35bd833
optimize code style
9 years ago
zhujun24
ea3f38a58a
unify size api name
9 years ago
然则
fcd8a7fd3f
fix #99
9 years ago
yiminghe
ee10b7c7d8
fix ant-select
9 years ago