Commit Graph

431 Commits

Author SHA1 Message Date
zombieJ
9b49fb60d9
Config provider (#12991)
close #12985
2018-11-26 12:06:42 +08:00
zombiej
5ef2e23bcf Merge remote-tracking branch 'origin/master' into feature 2018-11-20 16:36:18 +08:00
afc163
b265692478
🐛 Fix Dropdown font-size affected Avatar
close #13091
2018-11-16 18:20:08 +08:00
Ardo Kusuma
ad130fbfbf [doc] add more entries to dropdown doc API 2018-11-09 11:31:21 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
zombiej
b30ba9561f add transform-origin on dropdown as menu 2018-10-31 22:25:21 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
Rick Zhou
461984a45f 修正dropdown右键菜单示例文档 2018-09-07 14:09:36 +08:00
zombiej
15293eb7d5 fix #12078. add ButtonHTMLType on dropdownButton 2018-09-05 20:09:38 +08:00
afc163
30dbd310f2 Fix some icon detail in new svg icons 2018-09-03 00:26:04 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
b4e6f756a7 use svg icon in dropdown 2018-08-24 11:51:52 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
62aff06067 remove dropdown submenu css font icon 2018-07-25 11:43:37 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022 update test cases 2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +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
b374297ca6 Merge branch 'master' into feature-3.7.0 2018-06-25 11:44:35 +08:00
afc163
71846acaa1 Fix Dropdown non-boolean attribute warning
ref #7798
2018-06-22 23:33:06 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
zombiej
16e42601d6 auto position mode when contextMenu 2018-06-12 22:07:02 +08:00
zombiej
8f449861cf fix progress test case & dropdown support alignPoint 2018-06-06 17:36:24 +08:00
picodoth
8e60a591fd feat: provide default margin for dropdown menu item icon 2018-06-06 15:14:07 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 (#10748) 2018-06-02 20:12:09 +08:00
afc163
251d882101 fix dropdown any type 2018-05-21 21:02:03 +08:00
afc163
8e2f72ffe0 tweak dropdown menu item padding 2018-05-19 20:34:19 +08:00
afc163
be31f17bca Change Dropdown.Button default icon to ellipsis 2018-05-09 18:01:07 +08:00
Wu Haotian
6019245365 fix(button): use React.HTMLProps for button's props (#10229) 2018-05-04 14:48:41 +08:00
afc163
726f0466bc menu should be unfocusable defaultly 2018-05-01 18:53:44 +08:00
afc163
5accd6367a Fix submenu z-index, close #9218 2018-02-09 15:56:34 +08:00
Zheeeng
24e373a812 Remove span.ant-tag-text in Tag, and remove type casting in Dropdown (#9055)
* Remove span.ant-tag-text

Warp React.ReactNode with span element is not suggested. It may cause anti-specification problem: `<span><span>I'm spec breaker</span></span>`. span is not a general tags container.
Another benefit from this change is keeping the same structure with CheckableTag.
After inspecting the removing of the style of .ant-tag-text, seems bringing no problems. The old example employeed this css class has gone long long time ago. See: 0635877a51

* Use React.Children.only api to supress type casting

By codes, the children and the overlay of Dropdown must be **single** and **valid React.ReactElement**. React.Children.only takes it and report more friendly React internal built error messages.

* Revert hack CSS styles: filling .ant-tag's block area with orphan child anchor
2018-02-04 01:29:56 -06:00
sallen450
e0fb5b8866 Fix: Dropdown.Button not fully disabled (#9013)
* fix(Dropdown): dropdown won't be fully disabled

* test(Dropdown): check  props pass to Dropdown
2018-01-18 09:39:34 -06:00
afc163
5dfb114842 fix dropdown transitionName 2018-01-13 17:25:08 +08:00
cjahv
557f7a02f6 DropDownProps trigger add contentMenu (#8793)
* 下拉菜单的trigger添加contentMenu
DropDownProps trigger add contentMenu

* fix spelling mistakes
2017-12-31 18:21:06 +08:00
afc163
2690c4dd86 Fix typo 2017-12-31 18:20:24 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
Claudio Restifo
f17ac47547 Minor typo in dropdown API - [contentMenu] (#8767)
I suspect there's a typo in the page:

in the `trigger` API description is listed as 3rd option:
```
contentMenu
```
I suspect you meant
```
contextMenu
```

If so this PR is just fixing this minor overlook.
2017-12-28 14:09:39 +08:00
Wei Zhu
427be4cff5 Remove unused style property 2017-12-05 15:16:14 +08:00
afc163
81472aaf3b Fix custom filter dropdown focus issue, close #8411 2017-12-03 19:09:39 +08:00
afc163
1662710acd contextMenu Dropdown, close #7232 2017-11-26 14:02:38 +08:00
Benjy Cui
00ff041d16 fix: submenu should work fine in dropdown, close: #8248 2017-11-21 10:06:26 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
afc163
a9073988ec Merge branch 'master' into antd-3.0 2017-10-18 14:07:53 +08:00
Nekron
5017234381 doc: fix spelling mistakes in dropdown demo (#7912) 2017-10-17 11:20:33 -05:00
afc163
efe0f3480a Merge branch 'master' into antd-3.0 2017-10-11 18:13:39 +08:00
afc163
3f54dbd3d2 document dropdown menu 2017-10-11 17:42:36 +08:00
afc163
d3b98d311a Merge branch 'master' into antd-3.0 2017-10-10 14:09:03 +08:00
afc163
712451acf7 Fix codepen demo 2017-10-10 11:35:50 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
942ea41b02 update snapshot for new jest 2017-10-09 13:32:11 +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
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
afc163
b7aee09758 Fix dropdown menu group title style 2017-09-25 21:35:56 +08:00
afc163
f545e52ec5 Fix dropdown menu group title style 2017-09-25 21:28:00 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
Wei Zhu
250c7a9c68 Revert "Mock rc-trigger"
This reverts commit 9d2c91598b.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b Mock rc-trigger
Ref #5522
2017-09-15 16:14:26 +08:00
jiang
2570ba8fe6 Menu anim (#7567)
* update menu icon animate

* add padding !important, restore menu retraction animate

* update dropdown arrow
2017-09-12 16:46:33 +08:00
Khalifa Lame
a2eb54b1ae docs: update Dropdown English doc (#7442)
Fixed typos
2017-09-08 10:09:11 +08:00
afc163
96dd7132e8 Merge branch 'master' into feature-2.13 2017-08-30 13:22:38 +08:00
afc163
3ceda311b6 menu cannot be selectable in dropdown defaultly 2017-08-29 19:55:09 +08:00
afc163
7fed87f835 doc: fix undocumented selectable prop of Menu 2017-08-29 19:45:13 +08:00
John Nguyen
3b6ea67115 adds className to DropDown component" (#7378) 2017-08-29 13:27:38 +08:00
afc163
7e2d456453 Fix ci 2017-08-27 14:43:23 +08:00
afc163
d4171badfd Merge from master 2017-08-19 12:40:40 +08:00
lihqi
6624805ad4 Update index.en-US.md (#7259) 2017-08-18 19:19:10 +08:00
lihqi
5bf94956e4 Update index.zh-CN.md (#7258) 2017-08-18 19:19:02 +08:00
Benjy Cui
e0bf1cefe7 fix: disabled of Dropdown, ref: #7102 2017-08-16 17:56:07 +08:00
nikogu
7d49cc18a9 Merge branch 'master' into feature-2.13 2017-08-12 11:16:33 +08:00
Eden Wang
e633f91c27 Disabled Dropdown is showing Menu on hover (#7102)
* disabled dropdown is showing menu on hover

* fix cr error

* update snap

* update document
2017-08-11 23:55:36 +08:00
afc163
4c52ccaff9 Fix Dropdown menu width, close #7124 2017-08-07 21:27:08 +08:00
Xiaohan Lee
bb195ee95f Docs: update docs for Dropdown.Button (#7071)
* add "size" api document
2017-08-04 09:42:32 +08:00
afc163
acc0c5a216 Add instruction about dropdown menu item highlighted style 2017-07-25 18:00:33 +08:00
afc163
144c67f054 Fix dropdown menu position bug 2017-07-25 17:56:45 +08:00
Benjy Cui
2413c6af61 fix: make loading work with icon only button in button group, close: #6822 2017-07-14 15:26:55 +08:00
Benjy Cui
7ff0573046 fix: broken style of disabled submenu in dropdown, close: #6548 2017-06-22 14:41:18 +08:00
Benjy Cui
39cc78685d style: update code style 2017-06-20 09:46:23 +08:00
blankzust
3c700cd1b7 fix: Dropdown.Button should support getPopupContainer (#6527) 2017-06-20 09:33:15 +08:00
newraina
dde8df5612 fix Dropdown.Button Props (#6482)
* fix DropdownButton Props

* let DropdownButtonProps extends ButtonGroupProps

* remove duplicated props
2017-06-16 20:28:42 +08:00
newraina
1d63de1106 fix Dropdown.Button's type definition 2017-06-09 18:37:05 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00
afc163
0c88ec2f38 Fix warning path 2017-05-11 16:50:22 +08:00
afc163
62e9c21e47 fix demo 2017-05-11 16:49:01 +08:00
afc163
10a2d82731 Fixed mode of Menu inside Dropdown, close #6101 2017-05-11 14:57:29 +08:00
Graeme Yeates
d8d17a6401 Seperate @active-item-bg into 2 variables 2017-05-03 10:57:14 -04:00
Graeme Yeates
4eb2855871 Add @active-item-bg to control hover and active states 2017-05-02 11:05:28 -04:00
afc163
c6efc4db27 Adjust dropdown item padding, close #5088 2017-05-02 16:07:16 +08:00
afc163
b9851f84c8 fix link focus style 2017-04-15 15:12:41 +08:00
afc163
3f1714bb0c Fix placement not working in Dropdown.Button, close #5594 2017-04-05 11:17:07 +08:00
afc163
ec87110482 Fix Unknown prop placement warning of Dropdown.Button, close #5594 2017-04-01 18:06:40 +08:00
HJin.me
47589ba92c fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type (#5528) 2017-03-28 13:20:05 +08:00
afc163
322e9efdc9 Fix getPopupContainer ts type 2017-03-21 16:35:31 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
4e51fd942b fix disabled dropdown menu item pointer events 2017-03-07 15:59:04 +08:00
afc163
6fdb39038b Fix selected style of Dropdown menu, close #5013 2017-02-23 13:48:38 +08:00
feng zhi hao
e85c8a25f6 docs: rewrite Dropdown demos to ES6 component (#4946) 2017-02-20 10:35:47 +08:00
afc163
ddcc284b43 Fix dark theme menu style of Dropdown, close #4903 2017-02-18 15:24:25 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
乐仪
1306c4656d - version -> 2.7.1
- rc-pagination -> ~1.7.0
- fix site bug
2017-02-10 20:32:55 +08:00
afc163
d1b91bcc99 Fix direction of pop animation for Dropdown, ref #4811 2017-02-09 15:45:51 +08:00
afc163
5a643418d2 docs: Add missing demo and document fo Dropdown[placement], close #4811 2017-02-09 15:09:32 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
afc163
edf9ebb0ef Fix Button font size inside Dropdown, close #4705 2017-01-24 17:59:17 +08:00
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
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
1042681bcd Fix Table filter dropdown style 2017-01-10 13:46:52 +08:00
偏右
d811ebee5c New color system (#4426)
* Add new color patterns algorithm

* Add color palettes

* update other colors

* fix gray color

* update more tint/shade to colorPalette

* new font color

* Update doc for new color system

* improve doc style
2017-01-01 22:20:06 +08:00
Alexandre Kirszenberg
517720895d Dropdown.Button as a single non-wrappable element (#4355) 2016-12-24 23:12:37 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +08:00
80ea247fa9 fix(Dropdown): onVisibleChange param. (#4252)
* fix(Dropdown): onVisibleChange param.

* doc(Dropdown): update onVisibleChange argument
2016-12-14 20:33:13 +07:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00
afc163
89cf3a88e6 only icon down under Dropdown has smaller size, close #4023 2016-12-03 17:48:10 +08:00
Andrey G
a307a7acf7 refactor: remove unnecessary computed props for classNames (#4055)
* remove unnecessary computed props for classNames

* rollback autocomplete optimization for possible css style order issue

* update snapshots

* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Benjy Cui
932443099a css: use @component-background, ref: #4040 2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc Fix #4039. Replace background-color: #fff with background: @body-background (#4040) 2016-11-29 09:54:54 +08:00
Bruce Mitchener
36508ffabd Typo fixes. 2016-11-16 20:33:37 +07:00
Wei Zhu
b0c7a714ad Don't pass visible to Dropdown if it's not exits. (#3821)
fix #3815
2016-11-13 15:53:02 +08:00
Wei Zhu
926425d8ec Pass visible and onVisibleChange to Dropdown, fix #3779 (#3782) 2016-11-11 15:26:57 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
e4974ac72a use @font-size-base (#1752) 2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb use @text-color 2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
Benjy Cui
6bd75f2666 fix: dropdown menu should not show while disabled, close: #3535 2016-10-28 14:07:46 +08:00
yiminghe
8afe3965c1 upgrade ts 2.0 2016-10-19 17:52:23 +08:00
afc163
d92a24d477 Improve overlay border design 2016-10-14 15:40:39 +08:00
Shawn Sit
8b46cfaf99 docs: translated dropdown demos (#3208) 2016-09-29 11:51:24 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
Benjy Cui
469d24599f fix: should support Dropdown.Button[disabled], close: #3070 2016-09-19 11:42:03 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
afc163
9e5061acdc Merge branch "1.x-stable" 2016-09-15 01:25:28 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
afc163
d518e485b1 Improve Dropdown Button examples 2016-09-13 18:27:39 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
Benjy Cui
e6280a7ea6 Merge branch '1.x-stable' 2016-08-22 17:05:37 +08:00
陆离
ff765002fa refactor: rewrite form and dropdown in ts (#2683) 2016-08-19 16:43:32 +08:00
Jerry Bendy
3a12cad07a 链接 404 啦 (#2753)
有些链接没写最后面的 "/" 导致打不开
2016-08-17 18:09:24 +08:00
Benjy Cui
978b9f98e7 refactor: table ts (#2664)
* refactor: table ts

* fix: should pass context to onChange correctly
2016-08-11 15:38:03 +08:00
afc163
877239bfe5 fix Unused import 2016-07-29 14:06:27 +08:00
afc163
71d74c30c1 Merge 1.x-stable 2016-07-29 13:57:54 +08:00
afc163
fec500698e fix unknown props in Table dropdown 2016-07-26 17:02:30 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
ddcat1115
1cec962d74 docs: Dropdown-translation (#2136) 2016-07-04 10:48:21 +08:00
afc163
21fb73d4f2 Merge branch '1.x-stable' 2016-06-28 18:46:23 +08:00
Shawn Sit
78ec439675 bugfixs: should use className's value not 'className'. (#2202) 2016-06-28 17:18:20 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Wei Zhu
0e68738fc7 docs: correct DropdownButton trigger type (#2072) 2016-06-16 21:16:25 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
afc163
73eeec6236 update dropdown doc 2016-05-26 21:45:38 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
5077873ae0 fix codepen links 2016-05-11 02:02:23 +08:00
afc163
8939458069 fix demo format 2016-04-28 10:59:52 +08:00
zack
8287bac62e Dropdown中增加菜单隐藏方式示例和文档 2016-04-28 00:13:51 +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
07ea8ff323 Merge branch master into develop-1.0.0 2016-04-18 17:24:51 +08:00
afc163
d0b2bdad84 Fix DropdownButton onClick behavious, should respond left button only 2016-04-18 17:23:22 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
c47fdeaf8f Merge branch 'master' into develop-1.0.0 2016-03-30 11:17:39 +08:00
afc163
74f462e8a8 update docs 2016-03-29 18:21:57 +08:00
afc163
376d1efc04 Add some api in docs 2016-03-29 18:05:08 +08:00
afc163
b6de2765bf Add some api in docs 2016-03-29 18:02:01 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Benjy Cui
a760e74734 Merge branch 'spa-new-design-language' into develop-1.0.0 2016-03-18 12:08:19 +08:00
Bruce Mitchener
63c06e8652 Use ES2015 classes instead of React.createClass.
Make Breadcrumb, Checkbox, Dropdown, Steps and Timeline
components use ES2015 classes rather than React.createClass.

This includes:

* getDefaultProps method becomes a defaultProps value on the
  constructor.
* propTypes becomes a value on the constructor.
2016-03-18 09:35:15 +07:00
afc163
e17b5f599f Add hover delay for Dropdown 2016-03-10 12:30:49 +08:00
afc163
0edd5ada9a Fix onClick in dropdown button, close #1097 2016-02-29 18:02:05 +08:00
afc163
d62c87d036 update dropdown offset 2016-02-24 21:53:14 +08:00
afc163
33dd8b971d update dropdown doc 2016-02-24 21:45:09 +08:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
68b51e298d style: update code style for space-before-function-paren 2016-01-27 17:00:58 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
afc163
1e001d2d82 upgrade eslint-config-airbnb 2016-01-11 09:48:29 +08:00
afc163
ba51e65c3d Add animation for dropdown submenu, ref #797 2015-12-31 17:55:45 +08:00
afc163
dc1455ecc4 Add dropdown submenu demo and style, close #797 2015-12-31 17:34:04 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
2923cd8799 Add dropdown button 2015-12-02 15:18:15 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
afc163
ffcf55d241 Fix dropdown click usecase, ref #535 2015-11-20 14:26:59 +08:00
yiminghe
052e8ee0f4 upgrade 2015-11-03 13:52:41 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
Benjy Cui
5b86a4be1d refactor: replace button tag with Button component 2015-10-08 15:13:04 +08:00
elrrrrrrr
d89cc5610b chore: 迁移 dropdown iconfont 组件 2015-10-02 15:12:07 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
be1716d83a update dropdown demo 2015-08-21 15:22:09 +08:00
yiminghe
c4b5b186ae render to body 2015-08-21 14:54:37 +08:00
yiminghe
eef1da7ed6 upgrade menu 2015-08-10 17:57:28 +08:00
ustccjw
b34269a6b1 use es6 module import/export
convert var to const

fix bug

fix bug

fix for jshint

fix import
2015-07-24 11:22:49 +08:00
ustccjw
41c35903a4 remove use strict 2015-07-23 21:36:34 +08:00
afc163
fa9914f34a components order 2015-07-20 12:28:36 +08:00
yiminghe
d1ad214d73 update dropdown 2015-07-17 23:08:30 +08:00
afc163
4f0eb44fb3 allow not to set key on menuitem, react-component/menu#9 2015-06-17 20:05:27 +08:00
afc163
d80fc6d7d6 update trigger button in dropdown demo 2015-06-17 14:44:24 +08:00
yiminghe
73d89f46af update motion 2015-06-15 21:18:08 +08:00
afc163
f40fe75abb dropdown button arrow 2015-06-15 17:36:10 +08:00
afc163
737ef1167d Add info for components 2015-06-14 17:54:08 +08:00
afc163
b9b6cd33d0 components order 2015-06-12 17:49:30 +08:00
yiminghe
90241a7efe fix prefixCls 2015-06-12 12:01:02 +08:00
afc163
55041219f2 Add eslint, close #14 2015-06-10 17:59:32 +08:00
afc163
e7c90a5124 update dropdown demos 2015-06-10 17:12:03 +08:00
afc163
03ca066b5d update dropdown demo 2015-06-10 16:04:48 +08:00
afc163
351385622c update demo style 2015-06-09 18:28:53 +08:00
afc163
7e142a7aa5 update Dropdown demo code style 2015-06-09 18:08:56 +08:00
afc163
e278f63d2b update dropdown 2015-06-09 14:46:51 +08:00
afc163
cc702a3ef9 update dropdown demos 2015-06-09 13:46:47 +08:00
yiminghe
3267c220aa add hover demo 2015-06-08 19:21:17 +08:00
yiminghe
ac2899efbb add dropdown 2015-06-08 19:10:47 +08:00