Commit Graph

168 Commits

Author SHA1 Message Date
zombiej
3f8d6cd4f0 merge feature 2020-02-24 13:10:29 +08:00
Florian Guitton
0e34ca6076
feat: Adding custom renderer for select with demos (#21064)
* Adding a custom renderer for tags

* Adding edit experience example

* react-component/select#445 as been released in rc-select:10.0.0-rc.5 this becomes a minimum for this feature

* Fixing ci/circleci: lint error on unused value variable

* Adding test snapshots for the new demos snippets

* Fix Missing trailing comma in demo component

* Revert unrelated changes

* Updating readme description with added chinese translation

* Removing second demo, cleaning up first demo code, test snapshot update

* Fixing bits of language

* Addressing comments and simplifying custom rendering logic

* Moving to mode "multiple" instead of "tags"
2020-02-11 20:00:56 +08:00
偏右
06ba40e860
🆕 Add bordered prop (#21242)
close #19859
2020-02-06 10:02:02 +08:00
二货机器人
849746b361
fix: Select use value width instead of default fixed width (#20538)
* init using content width

* auto width

* tmp magic number

* clean useless style
2019-12-30 22:49:19 +08:00
二货机器人
d4d79bbe13
fix: Adjust Select style (#20387)
* fix: Select style sync with v3

* update demo

* update test case
2019-12-23 16:22:59 +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
骗你是小猫咪
667883ceb0 fix: Select doc edit icon margin (#19907) 2019-11-24 18:39:27 +08:00
zombiej
e129e8dc7e merge master 2019-10-08 15:04:00 +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
zombiej
911867622e merge master 2019-09-26 22:28:08 +08:00
afc163
2de1a15da9
📝 Add instruction for dropdownRender 2019-09-24 22:37:55 +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
zombiej
c0105aa48f merge master 2019-09-03 14:35: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
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
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +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
3c22f86823
🎬 Add example for Select `optionLabelProp prop, #16709 2019-05-22 19:33:03 +08:00
nailuoGG
681c6a5151 fix doc (#16506) 2019-05-09 20:43:12 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57: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
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
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
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
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
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
Ilan Hasanov
86398d910a 💬 misc typos and blank spaces fixes 2018-07-29 01:15:02 +08:00
afc163
782abe7bb6 demo: fix select showSearch demo placeholder, close #11325 2018-07-18 15:57:34 +08:00
afc163
56020cda39 Merge branch 'master' into feature-3.7.0 2018-06-27 16:14:14 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +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
afc163
00d710cef0 demo: fix select demo order 2018-05-21 17:07:39 +08:00
afc163
e86f17186b Fix select test snapshot 2018-05-06 14:58:05 +08:00
afc163
6d91a3eb4a Fix select arrow overlap bug, close #10383
introduced by #10092, this commit also fix #10092
2018-05-06 14:54:27 +08:00
afc163
81dd432e31 update select demo 2018-04-28 23:56:38 +08:00
afc163
4535e9d4f1 Fix Select extra space taken up when arrow disabled
close #10092
2018-04-28 23:38:05 +08:00
afc163
e071002fae use lodash 2018-03-08 14:46:47 +08:00
隋鑫磊
9ccd2aeba8 doc: fix select multiple doc children (#8904) 2018-01-10 14:09:23 +08:00