Commit Graph

683 Commits

Author SHA1 Message Date
TsesamLi
6301c20f6c fix: fix type of OptionProps
rc-select#Option could accept "label" props, but it was lose in type def OptionProps
9ad3b02c82/src/interface/index.ts (L11)
2019-12-11 16:00:29 +08:00
Theo Satloff
721d8cb4a0 improve dropdown/cascader/select customization 2019-12-10 13:21:36 +08:00
ycjcl868
4e45bee68f feat: add @select-clear-background 2019-12-04 12:28:37 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
zombiej
b37b317b69 chore: merge master 2019-11-25 15:16:59 +08:00
骗你是小猫咪
667883ceb0 fix: Select doc edit icon margin (#19907) 2019-11-24 18:39:27 +08:00
chen wen jun
3906f4fc00 Update index.en-US.md (#19868)
correct `maxTagTextLength` description
2019-11-21 17:49:36 +08:00
wangxingkang
336fb41ec2 docs: Removed version column in 4.0 (#19821)
Issue #19815
2019-11-20 14:55:34 +08:00
ycjcl868
79ae060e6e fix: hover and active background color 2019-11-18 22:06:49 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
骗你是小猫咪
4079f36340
Revert "fix: update Select type interface (#19730)" (#19733)
This reverts commit 8b705e3224.
2019-11-14 21:34:13 +08:00
cnjs
8b705e3224 fix: update Select type interface (#19730)
* fix: update Select type interface

* format: Select type interface
2019-11-14 16:21:20 +08:00
zombiej
93f7d780b8 chore: Fix style lint 2019-11-06 11:23:40 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +08:00
信鑫-King
696f5600ec feat: input,select less vars (#19546) 2019-11-04 11:23:29 +08:00
Jack
82aa3cdc13 fix: remove the selected padding right when use allow clear (#19510) 2019-10-31 21:27:27 +08:00
wleven
63feb6860a Fix Select Mode Type 2019-10-18 16:28:48 +08:00
wleven
9cfc151813 Fix Select Mode Type 2019-10-18 16:28:48 +08:00
wleven
53c55ceaad Fix Select Mode Type 2019-10-18 16:28:48 +08:00
zombiej
e129e8dc7e merge master 2019-10-08 15:04:00 +08:00
信鑫-King
1e3317f5d9 fix: select hover active bg less vars (#19114) 2019-10-08 14:48:47 +08:00
afc163
47dee4c7d7 fix eslint problems 2019-10-05 18:02:16 +08:00
二货机器人
1c5f1cb7a6
docs: Update demo (#19059)
* docs: Update demo

* fix lint
2019-09-29 07:58:37 -05:00
二货机器人
4907996b97
feat: TreeSelect use virtual scroll (#19040)
* use new rc-tree-select

* support not found

* add switch icon support

* support function

* support selection motion

* show search icon if open

* clean up

* fix lint

* fix lint
2019-09-27 22:31:28 -05:00
zombiej
911867622e merge master 2019-09-26 22:28:08 +08:00
偏右
7961bb335c 🗑 Remove useless prop searchValue (#19003)
from typescript and documentation

close #18847
2019-09-25 05:03:41 -05:00
afc163
6d7a87e7e0 update select test snapshot 2019-09-25 11:16:10 +08:00
afc163
2de1a15da9
📝 Add instruction for dropdownRender 2019-09-24 22:37:55 +08:00
zombiej
fa8ddb4104 merge master 2019-09-16 11:23:26 +08:00
二货机器人
2ea28af6ed
Virtual select component (#18658)
* init

* fix firefox

* add active style

* adjust arrow style

* update select

* update icon logic

* render empty

* init multiple

* fix ff display style

* sync font size

* adjust padding style

* add padding

* padding it

* hotfix of chrome

* single sm

* multiple size

* update option group style

* update snapshot

* clean up transition

* rm combobox in ts define

* auto complete init

* fix auto option def

* update demo

* update demo

* update uncertain demo

* update demo

* warning if user set `size` on AutoComplete

* add debug demo

* updat demo

* update demo of disabled

* update snapshot

* rm useless test

* fix pagination test

* fix Table test

* fix calendar test case

* fix calendar test case

* adjust style

* add big data demo

* support clean up

* fix ts define

* fix lint

* fix demo lint

* fix style lint fix

* rm useless deps

* update snapshot

* stop mock

* add space
2019-09-12 20:15:17 +08:00
yoyo837
e13a87053c chore(docs): add dropdownMenuStyle props for AutoComplete and Select 2019-09-11 21:43:31 +08:00
zombiej
43b3da9eae Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-04 16:20:28 +08:00
zombiej
aa9b9db4e1 add jsdoc 2019-09-03 15:01:42 +08:00
zombiej
4cac0a9822 warning if user use inputValue 2019-09-03 15:01:42 +08:00
zombiej
c0105aa48f merge master 2019-09-03 14:35:58 +08:00
Daphne Won
9dc0378b3f Add missing typescript inputValue to Select to enable placeholder to display for type string
Reason: RC-Select has this parameter to accept string value and it will
        be a quick-fix to enable Typescript to acept inputValue.

Note:
- Added parameter in Documentation
2019-09-03 11:15:58 +08:00
chisus
3b2b3a0074 fix option-label-prop.md typo error 2019-09-02 16:56:32 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
信鑫-King
021e9af227 feat: less vars for select and anchor (#18444) 2019-08-23 22:19:04 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
afc163
29a47b0c7d 🎬 fix Select search demo
close #18222
2019-08-12 18:09:38 +08:00
orzyyyy
28f39739df test: update snapshots 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
unknown
13e80463b5 change variables 2019-08-02 11:54:15 +08:00
unknown
09ac5adfa5 fix duplicate selector 2019-08-02 00:28:43 +08:00
unknown
bcab1c180b fix: select-search-box broken style 2019-08-01 23:10:12 +08:00
afc163
55fc417fd2 🐛 Fix broken style by #17760
https://github.com/ant-design/ant-design/pull/17760#issuecomment-516341021
2019-07-31 11:48:24 +08:00
unknown
8b533c0635 solve the duplicate of selector 2019-07-25 10:44:07 +08:00
unknown
98bafca7da fix: Optimize select with search field style 2019-07-25 10:44:07 +08:00
蒋璇
20237b4033
Update index.zh-CN.md 2019-07-23 13:37:08 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
zombiej
12c577d386 docs: Update menuItemSelectedIcon desc of Select
close #17360
2019-06-29 22:53:16 +08:00
afc163
57c28def68
revert unknown to any 2019-06-24 11:29:58 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
zombieJ
6853402e00
fix: Select ts define (#16817) 2019-05-27 16:17:43 +08:00
damon.chen
f5f32f651f update getPopupContainer (#16778)
since select/index.d.ts requires getPopupContainer={triggerNode => HTMLElement} but parentNode actually is not HTMLElement.
2019-05-26 10:35:59 +08:00
afc163
42376c7d78
💄 fix emoji lint problem
https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md
2019-05-22 19:41:59 +08:00
afc163
44bce091a2
update snapshots 2019-05-22 19:34:32 +08:00
afc163
3c22f86823
🎬 Add example for Select `optionLabelProp prop, #16709 2019-05-22 19:33:03 +08:00
zytjs
e5d64b14e6
Update index.zh-CN.md 2019-05-16 16:03:15 +08:00
SylvanasGone
6eacfd7ebc fix[Select]: add missing type definition (#16504)
* fix[Select]: add missing type definition

* update docs
2019-05-10 22:51:06 +08:00
nailuoGG
681c6a5151 fix doc (#16506) 2019-05-09 20:43:12 +08:00
afc163
a4fb429a19
🐛 Fix disabled Option wrong hover color 2019-05-08 16:00:43 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
Mathieu Anderson
6947d1bbaf fix: TypeScript definitions for Select component's onSelect / onDeselect props, update inaccurate docs (#16344)
* Fix value param type for onSelect, onDeselect prop

* Fix docs for Select props (value, defaultValue, onSelect, onDeselect)
2019-05-03 22:10:45 +08:00
陈帅
30508b0124 fix error types (#16043) 2019-04-28 11:47:22 +08:00
Eden Wang
9fd27e0ceb fix: Select active item hover color is wrong (#16238) 2019-04-22 22:00:32 +08:00
zombieJ
d1fa21155d
fix: Select should trigger onSearch when search input is empty (#16235)
* update rc-select

* update demo
2019-04-22 21:42:09 +08:00
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
偏右
7c7c61976a 🐛 Fix Select notFound align issue (#15570)
close #15567

close #14422 again
2019-03-22 11:35:40 +08:00
William Cai
15781d706a refactor: add @select-item-selected-font-weight 2019-03-19 18:09:11 +08:00
zombiej
cb3a372b3b rm input style from select 2019-03-13 12:12:07 +08:00
zombiej
96a95e65d3 update deps lint 2019-03-11 11:48:17 +08:00
陈帅
5e298dba51
3.14.0 Changelog (#15145)
* add responsive property to carousel (#15071)

* add responsive property to carousel #15065

* extend carousel props from Slick type definitions #15065

* rm key in OptionProps (#15104)

* update doc

* fix cascader should tab twice to exist (#15117)

* fix cascader should tab twice to exist

* update snapshot

* Drawer Body padding should be variable

* fix DatePicker to support an array of formats (#15116)

ref #13148

* table reader mobile friendly

* up

* up

* doc: add 3.14.0 changelog

* doc: fix ci warning

* doc: fix ci warning

* doc: fix typo

* doc: fix ci warning

* doc: fix ci warning

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* doc: fix cr warring

* -m

* -m

* doc: fix cr warning
2019-03-04 10:45:15 +08:00
zombieJ
acd06e9cb5
Select multiple mode support showArrow (#15091)
* support showArrow

* fix rc-select version

* update snapshot
2019-02-28 12:26:43 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
afc163
efafa6346d Fix lint problems 2019-02-23 16:58:22 +08:00
afc163
f665554080 🐛 Fix arrow style of Select selected item 2019-02-23 16:58:22 +08:00
zombieJ
1d75725369
update snapshot (#14880) 2019-02-18 11:04:45 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
* master: (45 commits)
  Add type definitions for Steps.Step (#14468)
  add select check to fix edge wave issue (#14469)
  Fix for Pagination ellipsis misalignment (#14473)
  change sentry id
   Add sentry in ant.design
  💄 New Sketch resources!
  fix transfer ref (#14441)
  Add onMouseEnter and onMouseLeave for Menu Item (#14454)
  update snapshot (#14467)
  📝 beautify code style in documentation (#14457)
  Updating type: TreeSelectProps.getPopupContainer (#14443)
  change error version
  3.12.4 changelog (#14436)
  Format
  Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364)
  docs: updated doc for create-react-app
  fix prefixCls of empty go to div (#14404)
  update snapshot (#14406)
  add radius on table-placeholder to fix table small size border clip (#14398)
  fix style of Input.Search with enterButton (#14397)
  ...
2019-01-22 17:34:10 +08:00
TomIsion
44005529db getPopupContainer callback param should be optional 2019-01-17 00:44:07 +08:00
信鑫-King
8896f7b4af feat: select border less param (#14348) 2019-01-15 18:03:17 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
ztplz
0b8fadd24c Update 2019-01-13 01:36:25 +08:00
ztplz
ab2dd31087 Add types for warning 2019-01-13 01:36:25 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
诸岳
470a4e03a2 docs: Add version description about Select[onDropdownVisibleChange] 2019-01-09 19:33:01 +08:00
zombieJ
b826ecf849
add miss style deps (#14214)
close #14204
2019-01-09 15:05:41 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
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
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +08:00
Sergey Volynkin
d554fa82a4 snapshots update 2018-12-11 19:25:26 +08:00
Sergey Volynkin
cc9b09df13 improved description on Chinese, small refactor at the map func 2018-12-11 19:25:26 +08:00
Sergey Volynkin
0d246d38bc Add "Hide Already Selected" example for Select component 2018-12-11 19:25:26 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
49f227be9b
📝 fix duplicated dropdownRender in doc 2018-12-06 16:53:02 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
ycjcl868
dc8ebef321 📝 Changelog and select docs 2018-12-02 15:52:07 +08:00
zombiej
9ed04cb0e7 fix eslint 2018-12-01 00:24:16 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +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
zombiej
72d08b3828 Select support dropdownRender
close #10831
2018-11-26 11:50:12 +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
zombiej
b28b7a72a8 update test case 2018-11-20 17:26:08 +08:00
afc163
6f98969dc0 🐛 Fix case sensitive module path 2018-11-15 14:43:54 +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
afc163
cd8502a864 Add test case 2018-11-12 12:18:21 +08:00
Cheng Liu
c79d69275b update test demo snapshots 2018-11-12 10:58:45 +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
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +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
hengkx
e1db20c25b fix #12758 2018-10-25 00:40:55 +08:00
hengkx
78f6bb769d Revert "fix #12758 multiple Select drop-down bug when set dropdownMatchSelectWidth"
This reverts commit 6fcdce97f2.
2018-10-25 00:40:55 +08:00
hengkx
795370d0ea fix #12758 multiple Select drop-down bug when set dropdownMatchSelectWidth 2018-10-25 00:40:55 +08:00
Dimitri Mitropoulos
8eaf66be0e adds missing Select.Option type for style (#12609) 2018-10-11 23:47:53 +08:00
afc163
c4b3e7e58e deme: improve demo code style 2018-10-06 18:58:25 +08:00
afc163
996ee9c0a2 demo: make select demo width adapted 2018-10-06 18:47:18 +08:00
Ilan
b447ab0a26 🌐 update select zh-CN.md 2018-10-06 15:35:29 +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