Benjy Cui
a0a6b4610b
chore: simplify code, close : #6030
8 years ago
Benjy Cui
0d672d5c2d
test: fix CI
8 years ago
kossel
169e0f9762
fix: issue 5834, autocomplete is not being decorated ( #6018 )
8 years ago
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
8 years ago
Graeme Yeates
0bc8284c46
[ #5964 ] add @background-color-active rule
8 years ago
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
8 years ago
afc163
c6efc4db27
Adjust dropdown item padding, close #5088
8 years ago
afc163
ebd66d0082
fix missing less variable
8 years ago
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
8 years ago
Graeme Yeates
ede77a8aa7
Consistently use @background-color-base for disabled states
8 years ago
Erwann Mest
73d7e816b1
Destructuring for the win.
8 years ago
afc163
8a1c875123
update select doc
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
Benjy Cui
cb555fc30d
fix: Select[multiple|tags] should support allowClear, close : #4843 ( #5478 )
8 years ago
Benjy Cui
9b8ef5a0b7
docs: update demo for Select[size]
8 years ago
Wei Zhu
4ff6eafe12
Add new select demo snapshot
8 years ago
afc163
0c58fda707
Add select users demo, close #2765
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
Benjy Cui
d6d62f6754
docs: update demo for Select[size]
8 years ago
Wei Zhu
21ee247253
Add new select demo snapshot
8 years ago
afc163
4442f71d31
Add select users demo, close #2765
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
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
afc163
a0cdce4d00
fix test case
8 years ago
Benjy Cui
7c564af6e4
Revert "css: adjust alignment in Select & AutoComplete, close: #5088"
This reverts commit c01f24750a
.
8 years ago
Benjy Cui
c01f24750a
css: adjust alignment in Select & AutoComplete, close : #5088
8 years ago
afc163
f0a4afd388
Fix slight difference placeholder between Input and Select
close #4987
8 years ago
afc163
3884ee3c5a
rewrite Select demos to es6 component, #4878
8 years ago
afc163
c296d1a918
remove unused ant-select-show-search className, close #4859
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
8 years ago
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
8 years ago
afc163
f3b2e155b5
style: Select height should flex with @input-height variable, close #4694
8 years ago
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
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
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
afc163
4654db312f
Fix some lesshint problems
8 years ago
afc163
9e4885d959
update select doc
8 years ago
afc163
1a8f000e35
update doc
8 years ago
afc163
e2b8aee202
fix snapshot
8 years ago
afc163
26d3c506b3
simplify select combobox demo
8 years ago
Wei Zhu
4305ca7ab0
docs: Docment Select.defaultActiveFirstOption
8 years ago
Benjy Cui
29e598a3f3
docs: add missing docs for Option[title]
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