Commit Graph

259 Commits

Author SHA1 Message Date
二货机器人
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
afc163
0bfd5ee14d Fix notFoundContent not working, close #8809 2018-01-04 20:43:56 +08:00
Wang Jun
d825e27667 fix loading (#8571) 2017-12-13 18:49:00 +08:00
afc163
8f1fd4d68b Fix notFoundContent not working in AutoComplete, close #8553 2017-12-13 17:05:36 +08:00
afc163
ef443ad047 Merge branch 'master' into antd-3.0 2017-10-20 15:47:42 +08:00
Stephen Esser
88ed97b63d doc: Fix spelling mistake in Select demo (#7932) 2017-10-20 14:54:57 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
afc163
f0c6350e0e update select demo 2017-08-16 10:38:03 +08:00
afc163
c79592cf05 Fix select demo 2017-08-11 10:44:13 +08:00
Troy Thompson
18c6860296 Adds onFocus and onBlur to Select properties. (#7082) 2017-08-06 16:45:10 +08:00
Aaron Planell López
de030a0333 update document, ref #6392 (#6420) 2017-06-09 15:21:01 +08:00
Erwann Mest
73d7e816b1 Destructuring for the win. 2017-04-13 17:27:03 +02:00
Benjy Cui
50f46d0919 feat: merge Select[multiple|tags|combobox] to Select[mode], close: #5471 (#5534) 2017-03-28 21:27:58 +08:00
Benjy Cui
d6d62f6754 docs: update demo for Select[size] 2017-03-24 12:14:00 +08:00
afc163
4442f71d31 Add select users demo, close #2765 2017-03-22 14:21:24 +08:00
afc163
3884ee3c5a rewrite Select demos to es6 component, #4878 2017-02-20 21:54:23 +08:00
afc163
c296d1a918 remove unused ant-select-show-search className, close #4859 2017-02-14 20:29:00 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
26d3c506b3 simplify select combobox demo 2017-01-05 15:47:19 +08:00
Benjy Cui
29e598a3f3 docs: add missing docs for Option[title] 2017-01-03 16:00:34 +08:00
afc163
2583798cce Add demo for Case-insensitive search Select, close #4408 2016-12-30 14:05:27 +08:00
Benjy Cui
9f2e6c8baa docs: update demo for SSR 2016-12-19 17:54:25 +08:00
afc163
37af26fbdf update select demo 2016-12-03 15:35:39 +08:00
afc163
c6c5a0c3a1 fix demo focus error 2016-11-24 16:16:27 +08:00
afc163
5aea5b24ef update select demo code style 2016-11-08 21:23:29 +08:00
Meck
7d2328b910 docs: improve 2016-11-03 10:44:41 +08:00
Wei Zhu
5c711a275e deps: update rc-select (#3692)
* Update rc-select

* Add automatic tokenization demo
2016-11-02 17:35:05 +08:00
kvetoslavnovak
0eb080bf49 Select Basic usage - Eng. correction (#3383) 2016-10-12 11:04:45 +08:00
kvetoslavnovak
b700e7ea06 Three Select - Eng. correction (#3384) 2016-10-12 11:04:40 +08:00
kvetoslavnovak
ef2c2b114e Select Option Group - Eng. correction (#3385) 2016-10-12 11:04:32 +08:00
afc163
3ac6532577 Fix Select notFoundContent
close #3345

also close #3344
2016-10-09 22:55:50 +08:00
afc163
58d7741709 http => https, close #3303 2016-10-06 18:54:28 +08:00
Benjy Cui
0265cf0cb1 docs: update links 2016-09-30 10:34:27 +08:00
Benjy Cui
87753482bf style: update code style to please lint, close: #2811 2016-09-27 10:06:34 +08:00
Marius Ileana
a8cc57cd13 docs: select/demo/coordinate.md - English translation (#3011)
English translation of labels/data
2016-09-12 10:10:27 +08:00
Marius Ileana
bde1711597 docs: select/demo/combobox.md - English translation (#3010)
English translation of labels and comments
2016-09-12 10:10:07 +08:00
Marius Ileana
ced5c9a9ed docs: select/demo/search.md - English translation (#3009)
English translation of labels.
2016-09-12 10:09:22 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
e0eb9ae162 Merge branch "1.x-stable" 2016-08-29 21:02:59 +08:00
afc163
b6222f7c22 fix lints 2016-08-28 17:47:06 +08:00
detailyang
ff05904b54 append slash on URI (#2834)
[http://ant.design/components/cascader](http://ant.design/components/cascader) is 404 but [http://ant.design/components/cascader/](http://ant.design/components/cascader/) is good well
2016-08-25 10:52:51 +08:00
陆离
552fa228ee feat: AutoComplete (#2490) 2016-07-25 17:46:45 +08:00
陆离
b2ff1dcc75 docs: i18n of Select (#1899) 2016-07-10 08:55:43 +08:00
afc163
8f5dc9df23 update demo 2016-06-14 23:10:17 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
afc163
5c9b4b4296 update select demo 2016-05-19 18:05:35 +08:00
Eric
8ba9f0be54 docs : set select width to fit its container (#1775) 2016-05-19 16:32:41 +08:00
ddcat1115
02ce67d44c fix #1695 add demo & doc 2016-05-19 13:45:18 +08:00
afc163
13f86edbdb fix link 2016-05-13 23:10:05 +08:00
afc163
ca849c8ee3 Fix search-input with Select 2016-05-13 11:45:09 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
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
2016-04-27 20:44:36 +08:00
afc163
cfcbc75190 Fix select demo 2016-04-27 18:07:48 +08:00
Leon Shi
6acb9ce400 upgrade rc-select to 6.2.3 (#1527) 2016-04-27 17:57:35 +08:00
Benjy Cui
e767edcb73 css: clear should be hidden if Select is disabled #1480 2016-04-22 15:41:52 +08:00
Benjy Cui
59cb0a8fbb site: fix parse errors.. 2016-04-08 09:33:09 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
baed8ba9ae Fix select docs 2016-03-04 21:42:38 +08:00
afc163
ad07fd923b Merge pull request #1075 from ant-design/css-search-box
Css search box
2016-02-24 20:00:34 +08:00
afc163
8467ebe7fa update search box demo 2016-02-24 19:55:23 +08:00
afc163
8fb56286fb use placeholder in select combobox demo 2016-02-24 18:22:54 +08:00
Benjy Cui
48900ed7f8 css: add search box style for Select #1067 2016-02-24 15:11:50 +08:00
afc163
1ef95ec1ec improve demo for select optionFilterProp 2016-02-23 11:16:58 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
415a3d995b style: update code style to please lint 2016-02-16 14:07:09 +08:00
afc163
48433b5c93 upgrade rc-select 2016-01-28 12:16:18 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
afc163
66b7ee81ad fix eslint problems, eslint-config-airbnb@4.x 2016-01-23 15:22:16 +08:00
afc163
cf92a79529 merge master 2016-01-12 11:44:02 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
Benjy Cui
02bcdee3c3 docs: update Select's doc #799 2016-01-05 17:50:25 +08:00
afc163
461495d46d update cascader document 2016-01-01 22:59:09 +08:00
afc163
d79562075a update select demo 2015-12-31 17:36:37 +08:00
afc163
4d8e008927 update demo code 2015-12-30 19:34:05 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
Benjy Cui
4e4273ec5b docs: update Select's documentation 2015-12-02 16:28:41 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
b520982f22 update demo code style 2015-11-19 17:12:16 +08:00
afc163
eb7568c8a6 update select style 2015-11-05 17:49:47 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
3b6c92045c update demo style 2015-10-22 21:12:13 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
afc163
f26bbc1cd5 Add document version switch in footer, #406 2015-10-19 17:58:56 +08:00
yiminghe
7b4bdc8482 fix placeholder 2015-09-17 19:31:52 +08:00
yiminghe
0435ca60e3 update filterOption 2015-09-16 19:52:09 +08:00
yiminghe
fbad793d3d upgrade select 2015-08-31 19:41:58 +08:00
afc163
35f64c436e Fix demo, #196 2015-08-26 11:02:13 +08:00
yiminghe
c4b5b186ae render to body 2015-08-21 14:54:37 +08:00
yiminghe
0a1cfccd22 upgrade select. Fixes #170 2015-08-20 17:46:12 +08:00
afc163
ea298befa5 update optionGroup Demo 2015-08-19 13:50:57 +08:00
zhujun24
dee35bd833 optimize code style 2015-08-10 15:39:50 +08:00
zhujun24
ea3f38a58a unify size api name 2015-08-10 13:22:50 +08:00
zhujun24
e3e17376f0 selece size 2015-08-08 19:11:10 +08:00
afc163
67a200ee30 添加联动的选择框, fix #115 2015-08-06 12:06:05 +08:00
然则
fcd8a7fd3f fix #99 2015-08-01 17:51:55 +08:00
afc163
fe0ead041a update combobox demo 2015-07-23 11:13:20 +08:00
afc163
59869fa42d display label in select defaultly, fix #50 2015-07-22 12:37:20 +08:00
afc163
3b6ea9846d Add placeholder 2015-07-21 11:05:11 +08:00
yiminghe
3777933020 fix select style 2015-07-15 19:59:54 +08:00
yiminghe
46b0685364 upgrade select 2015-07-08 22:07:15 +08:00
yiminghe
0a7410973e clean warning 2015-07-08 20:53:11 +08:00
然则
65ac43f175 up demo 2015-06-19 18:00:39 +08:00
然则
64465d7230 up select style 2015-06-19 17:35:32 +08:00
afc163
bd7bbd0cd5 update demos 2015-06-18 12:02:38 +08:00
afc163
8ab58d6fce update rc-select and demos 2015-06-18 11:57:31 +08:00