Commit Graph

587 Commits

Author SHA1 Message Date
马斯特
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