Commit Graph

102 Commits

Author SHA1 Message Date
zombieJ
2164c58198
New Component: Empty (#13651) 2018-12-26 16:01:00 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
afc163
c29daf952a
🔨 Merge master into feature 2018-12-22 18:02:10 +08:00
afc163
3a25ef8d14
💄 Fix lgtm alerts
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2018-12-22 17:40:25 +08:00
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
偏右
a127ba6789 Update index.tsx 2018-12-20 17:19:10 +08:00
sylvanasGone
b71301b65f fix: add missing parameter 2018-12-20 17:19:10 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
e1d3d2b3e1
Add dropdownRender loading for Select
close #10831

close #7988

close #13151

close #11225

close #9888
2018-11-27 12:01:30 +08:00
afc163
18f705fcf6
Merge branch 'master' into feature
* master: (28 commits)
  remove overflowY on TextArea autoSize since height transition has been removed for a long time fix #10151
  💄 tweak form control margin, close #13183
  Update Crowdin configuration file
  Correct date-picker demo
  📝 upgrade ts comment
  💄 tweak tree switcher icon size
  Fix regular error in firefox and safri
  add change log
  add checkbox-border-width
  add style to SwitchProps
  update rc-tree-select
  Snapshot fixed.
  tabIndex prop added to DatePicker
  Improve form demo
  prefer logical AND over ternary (#13254)
  fix form demo
  format (#13252)
  📝 improve document images
  migrate locale provider to new lifecycle method
  types: add generic type for Select[value]
  ...
2018-11-27 11:26:16 +08:00
zombieJ
9b49fb60d9
Config provider (#12991)
close #12985
2018-11-26 12:06:42 +08:00
Wei Zhu
ab6c44dd1f types: add generic type for Select[value]
usage:

const handleChange = (value: string) => {}

<Select<string> onChange={handleChange} >
2018-11-22 17:53:44 +08:00
Joao Rabelo
4f51ff5277 Adding rcselect 'showAction' to AbstractSelectProps to avoid linting errors when used through antd Select component
The usage of this prop was discussed over #6873
2018-11-14 21:11:32 +08:00
Cheng Liu
b979c34420 💄 pass the specified class to custom icon as well 2018-11-12 10:58:45 +08:00
Cheng Liu
0d7963236c feat(select): customize remove/clear/menuItemSelected icons 2018-11-12 10:58:45 +08:00
zombiej
301c97d61c fix onPopupScroll def. ref #12913 2018-11-02 15:38:04 +08:00
LLinFan-
bbd9556801 update select props :onPopupScroll
update select props type:onPopupScroll
2018-11-01 10:30:22 +08:00
MuYu
72a6febcc4 fix: select type definition (#12865)
* fix: select type definition

* fix: wrapPicker type definition

* fix: select type definition
2018-10-30 10:52:27 +08:00
Dimitri Mitropoulos
8eaf66be0e adds missing Select.Option type for style (#12609) 2018-10-11 23:47:53 +08:00
Ilan
bd2a58f745 ✏️ updating select option types 2018-10-06 15:35:29 +08:00
Wei Zhu
1c1a67fe1d Merge branch 'feature' 2018-09-30 16:53:28 +08:00
Johannes Loewe
0126c63b2d fix #11312: add autoClearSearchValue to AbstractSelectProps (#12473)
- extends the interface with an optional prop that can be provided to the RcSelect

First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [ x ] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [ x ] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [ x ] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [ x ] Rebase before creating a PR to keep commit history clear.
* [ x ] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [ ] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.

This fix is related to Issue #11312 and adds the optional `autoClearSearchValue` prop which can be supplied to `RcSelect` to the Select´s props. This is not really a new feature and a relatively unsubstantial one a that, so I didn´t add a demo for it, but I could do so if that´s desirable.

I updated the English API docs, but I´m not a Chinese speaker so there is no addition to the Chinese documentation. Maybe someone speaking Chinese would be willing to help out.
2018-09-30 15:04:03 +08:00
afc163
7c6299e12e Merge branch 'master' into feature 2018-09-21 14:03:04 +08:00
HeskeyBaozi
a2520b02c9 select: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
a01450debb add suffix interface to select 2018-09-21 13:40:27 +08:00
Yang
a3c1444a20 doc: add dropdown control props (#12323) 2018-09-19 22:50:53 +08:00
包子熊
4eb7d8f693 Hotfix(Select) add select clear icon (#12196)
close #12181
2018-09-11 20:45:40 +08:00
HeskeyBaozi
ace857d8bf add check icon in multi select 2018-09-07 14:14:23 +08:00
afc163
7396948c96 support controlled open for Select, close #10482 2018-08-25 23:41:30 +08:00
HeskeyBaozi
abfd50a7bf use component 2018-08-24 19:47:07 +08:00
HeskeyBaozi
c0e365c488 use cascader expand icon 2018-08-13 11:44:25 +08:00
HeskeyBaozi
3baec95628 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-13 09:26:33 +08:00
Havin
2c4c5fc6e3 move getPopupContainer from SelectProps to AbstractSelectProps (#11690) 2018-08-09 20:48:37 +08:00
HeskeyBaozi
4945d66084 update select 2018-08-09 12:07:27 +08:00
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
This JJ
2e7d08e98f Add id to Select props (#11189)
* Can set id to props on Select

* Update index.tsx
2018-07-27 16:47:07 +08:00
Daniel Zhang
308cb046e4 Add onMouseEnter and onMouseLeave to SelectProps (#11314) 2018-07-18 00:06:27 +08:00
afc163
0c4d356e54 Merge branch 'master' into feature-3.7.0 2018-07-03 19:54:48 +08:00
Yury Kozyrev
cde2a6b6f0 Add missing showArrow option in types 2018-06-28 22:50:07 +08:00
Wei Zhu
6de4b00815 Rename mode name 2018-06-25 16:52:51 +08:00
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