Commit Graph

324 Commits

Author SHA1 Message Date
Tyler
919cb22eb7 Use the prop-types package from npm instead of React.PropTypes (#6057)
* Use the prop-types package from npm instead of React.PropTypes

* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +08:00
afc163
c5059e5fb7 Fix steps tail style bug, close #5623 2017-04-05 11:55:16 +08:00
Graeme Yeates
18d0a4d1fb Add @steps-background and @process-icon-text-color variables for customizing step theme 2017-04-04 16:38:25 -04:00
afc163
a10704bc44 Tweak steps animation style 2017-03-18 15:32:29 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
afc163
bbfc131a85 Fix steps fixed width, close #5083 2017-02-28 15:13:23 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
afc163
f4e887b784 remove steps demo 2017-01-24 16:07:03 +08:00
afc163
720ea3690a expand dot responsive area 2017-01-23 16:18:49 +08:00
afc163
eb2a02618f update steps API 2017-01-23 16:09:34 +08:00
afc163
179f030d45 Remove labelPlacement 2017-01-23 16:04:05 +08:00
afc163
cd9c85c969 fix code demo type 2017-01-23 15:52:03 +08:00
ddcat1115
09397187ac Steps support progressDot and labelPlacement (#4659) 2017-01-23 14:37:40 +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
偏右
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
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
264f02d98f Fix steps icon size and some detail, close #3817 2016-12-04 15:50:54 +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
ddcat1115
228b7328d3 docs: Steps demo update (#3708)
* Steps demo update

* update
2016-11-09 14:45:10 +08:00
afc163
a91a7208a6 update steps demo 2016-11-08 21:51:28 +08:00
afc163
0ec4276eab @font-size-lg (#1752) 2016-11-08 21:07:01 +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
afc163
8dd48e0e26 adjust for #3760 2016-11-08 14:10:51 +08:00
afc163
6bf9ac4e04 Fix Steps vertical align style, close #3760 2016-11-08 13:46:11 +08:00
kvetoslavnovak
c8b741283e docs: Step Error status - Translation Correction (#3235) 2016-09-30 09:49:28 +08:00
kvetoslavnovak
2ecb039e09 docs: Step Vertical MiniVersion - Translation Correction (#3234) 2016-09-30 09:49:17 +08:00
kvetoslavnovak
b98b2d92bf docs: Step Vertical - Translation Correction (#3233) 2016-09-30 09:49:05 +08:00
kvetoslavnovak
fe59d8a7f3 docs: translation correction (#3232) 2016-09-30 09:48:54 +08:00
Benjy Cui
1e65cac784 feat: Steps.Step[icon] support React.ReactNode, close: #3159 2016-09-29 16:12:43 +08:00
Benjy Cui
545d4ff384 Merge branch '1.x-stable' 2016-09-27 13:46:44 +08:00
afc163
f0de230192 fix wrong type of Step[icon] 2016-09-26 10:41:08 +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
马斯特
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
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
Benjy Cui
77e47c5807 refactor: add interface (#2638) 2016-08-10 09:46:56 +08:00
afc163
db4cbabf0c Merge 2016-07-21 14:39:28 +08:00
afc163
42d34a5db3 Merge branch '1.x-stable' 2016-07-21 14:34:37 +08:00
afc163
54c7192d1e Update code style of Steps demos 2016-07-21 14:20:49 +08:00
ddcat1115
2b20ac0456 docs: steps translation (#2430) 2016-07-21 10:07: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
afc163
d68d42f69b Merge 1.x-stable 2016-07-07 17:26:16 +08:00
afc163
4b4a55b003 remove unused code 2016-07-07 15:42:00 +08:00
afc163
487b40815f Merge 1.x-stable 2016-07-07 15:13:01 +08:00
afc163
9dc47eeedb Fix steps tail overflow, close #2261 2016-07-05 17:49:48 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
d167738ddb fix steps (react-component/steps#14) 2016-05-17 15:10:54 +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
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
c6cba5a2a1 Make steps layout more flexible, close #1099 2016-04-15 23:04:06 +08:00
afc163
0220ab5522 update error step icon 2016-04-06 17:50:51 +08:00
afc163
93adb528ed Add error step, close #1098 2016-04-06 17:07:22 +08:00
afc163
51369ec82b upgrade steps demos 2016-04-06 16:16:46 +08:00
afc163
9f33b18336 update steps doc 2016-04-06 16:16:36 +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
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07: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
958a74e028 update docs 2016-03-04 11:46:24 +08:00
afc163
4bcbf6ba06 Merge branch 'master' of github.com:ant-design/ant-design 2016-02-25 15:41:02 +08:00
afc163
ed9fc679b8 Remove some demos 2016-02-25 15:32:59 +08:00
afc163
85afd74c35 Update icon.md 2016-02-25 15:12:17 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
d06935528e feat: customized size first 2016-01-27 12:00:27 +08:00
afc163
66b7ee81ad fix eslint problems, eslint-config-airbnb@4.x 2016-01-23 15:22:16 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
Benjy Cui
7f2957b23b style: unify demos' code style 2015-12-16 15:25:15 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
afc163
06dc2b9041 improve steps line css style 2015-11-08 15:42:33 +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
羽航
05e36a4018 fix little text 2015-09-17 16:16:53 +08:00
afc163
78d15aabbf Fix initial maxDescriptionWidth for vertical steps 2015-09-16 18:23:51 +08:00
afc163
e4577eb1bb update steps demos 2015-09-16 16:28:57 +08:00
羽航
f4372f3cbf update rc-steps v1.2.5 Steps组件增加current属性,可自动判断当前正在执行状态。 2015-09-16 14:44:03 +08:00
afc163
058199ed2c update steps 2015-09-01 17:43:08 +08:00
偏右
d60ffeeafe Merge pull request #233 from zhujun24/vertical-steps
restore vertical steps
2015-09-01 16:23:07 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
zhujun24
6f0ba9142e restore vertical steps 2015-09-01 15:30:51 +08:00
afc163
8b7a2a4dee update steps index.md 2015-09-01 11:16:08 +08:00
zhujun24
663d3d02fe remove useless style 2015-08-31 20:51:45 +08:00
zhujun24
9a7814396e vertical re-stpes 1.2.1 2015-08-31 20:24:47 +08:00
zhujun24
b875855652 modify style 2015-08-28 11:09:10 +08:00
zhujun24
3118ee32e3 optimize code 2015-08-27 14:36:02 +08:00
zhujun24
8a99d0bc5a add vertical steps 2015-08-27 13:20:31 +08:00
zhujun24
f664275a1e add big vertical steps 2015-08-26 18:28:29 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +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
羽航
8fc45043c7 fix conflict 2015-07-17 09:46:01 +08:00
羽航
493df4afb8 修改文案细节 2015-07-17 09:42:09 +08:00
jljsj
6c99ebb170 update radio 2015-07-16 18:26:17 +08:00
羽航
fa6e97364a 根据视觉review建议,删掉一些文字让demo看起来更好看些 2015-07-14 17:57:32 +08:00
羽航
74b4cad22f 进一步调整样式 2015-07-08 16:36:08 +08:00
羽航
943fbd3d34 调整steps的样式 2015-07-08 15:53:51 +08:00
羽航
fae077ce65 change steps style. add maxDescriptionWidth property 2015-07-07 19:36:42 +08:00
羽航
4cbc692382 fix conflict 2015-06-26 16:18:54 +08:00
羽航
0f58bd541b change default prefixCls to ant-steps 2015-06-26 16:13:40 +08:00
afc163
4002ab3d68 更新组件文案 2015-06-26 14:42:30 +08:00
afc163
a78efca3fb Merge branch 'master' of github.com:ant-design/ant-design 2015-06-26 10:48:45 +08:00
afc163
b94a5f7a61 update steps demos 2015-06-26 10:46:21 +08:00
羽航
1bad0062f9 support ant-design prefix class and prefixCls property 2015-06-26 10:43:01 +08:00
羽航
6e23ea7d85 update readme 2015-06-26 10:03:13 +08:00
afc163
1fea96ac42 update demos 2015-06-25 20:01:20 +08:00
羽航
49c5585590 update package.json 2015-06-25 19:32:06 +08:00
羽航
39e2d9a3d2 add demos 2015-06-25 18:12:42 +08:00
羽航
e8ec073adc add steps 2015-06-25 16:01:04 +08:00