Commit Graph

468 Commits

Author SHA1 Message Date
zombiej
8f449861cf fix progress test case & dropdown support alignPoint 2018-06-06 17:36:24 +08:00
afc163
68b207e186 support Progress[strokeColor], close #10725 2018-06-06 16:18:00 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 (#10748) 2018-06-02 20:12:09 +08:00
Junbin Huang
3a3d550b54 chore: upgrade menu (#10305)
* chore: upgrade menu and select

* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
愚道
b45146486a merge feature-3.5.0 2018-04-28 11:04:10 +08:00
afc163
b9d94971e4 Add successPercent as Progress[format] argument, close #10096 2018-04-22 14:00:49 +08:00
afc163
2604623b7e fix showInfo when precent is out of range 2018-04-18 11:10:32 +08:00
afc163
0eb835772d Fix invalid progress like <Progress precent={120} /> 2018-04-18 10:45:07 +08:00
Ed Moore
31e50e50b6 Fix types (#10063)
* Fix types

Fix https://github.com/ant-design/ant-design/issues/8796

* Fix exported types
2018-04-16 10:58:17 +08:00
诸岳
40e7e0c193
Fix: successPercent should decide the progress status when it exists, close #9382 (#9614)
* fix: successPercent should decide the progress status when it exists, close #9382

* Add test for e361df0 that successPercent should decide the progress status when it exists
2018-03-11 00:11:52 +08:00
afc163
49a53bf8df Add successPercent for progress 2018-01-19 15:22:37 +08:00
Wei Zhu
c4c3e74149 Fix implicit any error for Pagination PopConfirm Popover Progress 2017-11-21 15:37:39 +08:00
afc163
81fc6d613c Merge branch 'master' into antd-3.0 2017-11-21 10:19:39 +08:00
Wei Zhu
814f9a72de Set work-break explicitly form progress text 2017-11-20 14:59:13 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
2f0197599f Merge branch 'master' into antd-3.0 2017-11-06 21:19:44 +08:00
afc163
ac96bad478 Improve demo details and update snapshot 2017-11-06 21:14:40 +08:00
afc163
714b4ae06a Merge branch 'master' into antd-3.0 2017-11-06 10:35:41 +08:00
Kyle Kelley
43864988e3 correct spelling of progress (#8101)
`@process-default-color` --> `@progress-default-color`
2017-11-03 09:43:02 +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
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +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
偏右
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
偏右
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
Khalifa Lame
643b32d0d3 Update Progress English doc (#7540)
Fixed minor typos.
2017-09-11 10:13:21 +08:00
afc163
1f6bcf963f tweak progress initial style 2017-08-15 16:48:49 +08:00
ddcat1115
7cb5d68211 update Progress doc (#6752) 2017-07-07 14:18:57 +08:00
afc163
45f5d6cdfe Tweak progress text width, close #6354 2017-06-05 14:13:15 +08:00
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
Graeme Yeates
5841746ec9 Decompose @background-color-base into several variables 2017-04-28 16:04:41 -04:00
afc163
e70bd5320d fix snapshot 2017-04-01 13:17:02 +08:00
afc163
21763c5da9 update progress demo 2017-04-01 11:30:44 +08:00
Benjy Cui
22f5f6a18b test: update snapshot 2017-03-20 11:40:24 +08:00
Benjy Cui
c097d5a9f5 Merge branch 'master' into feature-2.9 2017-03-20 11:29:36 +08:00
Joe
6e8e8db248 Upgrade rc-progress to 2.1.0. Support dashboard. (#5372)
* Upgrade `rc-progress` to `2.1.0`. Support dashboard.

Progress dashboard type (half circle)[#5225]

* restore removed code, it is for compatibility

* format code
2017-03-17 23:57:34 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Graeme Yeates
10b99eead8 Remove inconsisent progress-bar-font (#5081) 2017-02-27 23:23:54 +08:00
afc163
9228e7a01b update snap 2017-02-22 19:34:44 +08:00
afc163
39fd6b6a36 Define circle progress theme by css, close #5002 2017-02-22 19:33:15 +08:00
afc163
ff2d69ad21 update progress demo 2017-02-22 19:31:50 +08:00
afc163
176b9f9083 fix typo 2017-02-20 22:11:39 +08:00
afc163
a6547a392b rewrite Progress demos to es6 component, #4878 2017-02-20 22:07:45 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +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
e66604cab3 optimize progress active style 2017-01-09 23:05:18 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +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
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
Wei Zhu
52f6f992b3 style: Fix jsx self close, #3966 (#3968) 2016-11-24 14:09:43 +08:00
Wei Zhu
ccbebe60cc style: Fix jsx alignment, #3966 (#3967) 2016-11-23 17:53:10 +08:00
afc163
ca9ed27445 upgrade demo primary-color 2016-11-18 14:24:50 +08:00
afc163
2c9339039c change @primary-color and default border-radius 2016-11-18 14:24:50 +08:00
afc163
fc79d6f967 stronger active Progress 2016-11-16 21:01:09 +08:00
afc163
d8516ee8df adjust progress vertical align 2016-11-14 22:06:07 +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
Benjy Cui
06e4eaa7d5 fix: progress demo and trailWidth 2016-09-30 15:21:03 +08:00
Benjy Cui
949907231b docs: udpate demo detail, close: #3111 2016-09-22 10:09:22 +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
Marius Ileana
837ec0cb07 docs: Spin, Progress - demos - english translation (#3051)
* spin demos translation

* Progress demo translation
2016-09-18 09:24:49 +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
Benjy Cui
14fb2c78ba chore: remove deprecated code (#2920)
* chore: remove deprecated code

* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
ddcat1115
e0d02b1990 refactor: ts Progress (#2640) 2016-08-09 15:04:02 +08:00
ddcat1115
479c15bb58 docs: progress-translation (#2499) 2016-07-26 15:42:04 +08:00
afc163
42d34a5db3 Merge branch '1.x-stable' 2016-07-21 14:34:37 +08:00
afc163
7aad78c508 improve progress style 2016-07-21 14:27:54 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +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
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
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +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
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +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
611665fa6d button contains icon only should has smaller padding 2016-04-06 15:43:50 +08:00
afc163
aa6a1762b7 rename Progress files 2016-04-05 17:13:09 +08:00
afc163
befe1fc521 Merge circle into line component 2016-04-05 17:13:09 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
794783d1c2 style: enable react/no-multi-comp 2016-03-31 17:46:35 +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
0acce38f08 Convert more createClass over to extending Component. 2016-03-29 16:33:37 +07:00
afc163
1df8bccf26 Remove deperated progress form usage 2016-03-28 18:51:30 +08:00
afc163
0677108ffb Merge branch 'master' into develop-1.0.0 2016-03-28 17:39:34 +08:00
afc163
436b6d8c3a fix progress style in some detail 2016-03-28 16:52:00 +08:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +08:00
afc163
973c13c245 Fix progress color 2016-03-04 17:18:57 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
afc163
f559dfbbb7 fix progress format 2016-01-26 17:34:45 +08:00
afc163
afabf00b5d Add progress prop style, fix #895 2016-01-20 20:21:51 +08:00
afc163
73596f0ba8 fix progress format, ref #894 2016-01-20 20:20:24 +08:00
afc163
4d228baa57 Progress support custom format, #893 2016-01-20 19:52:23 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +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
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
e058e67cb4 fix iconfont 2015-11-20 11:05:34 +08:00
afc163
9aaeb14fba Add props format for progress 2015-11-19 13:42:10 +08:00
yiminghe
d37370c144 fix lint 2015-11-09 11:13:31 +08:00
Benjy Cui
5fd6999866 feat: make Button easy to use 2015-11-03 14:25:36 +08:00
afc163
753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00
xiaoshuai
25a3a3c7b9 fix progressbar worning 2015-10-26 20:14:41 +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
b9fa8d1a45 chore: 迁移 progress iconfont 2015-10-02 15:58:37 +08:00
afc163
67735552bb update progress index.md 2015-09-22 20:14:56 +08:00
afc163
73c1d3f595 update progress demo 2015-09-22 20:11:28 +08:00
afc163
691b0147b1 update eslintrc and fix code 2015-09-01 16:19:39 +08:00
Neverland
574b6992c4 percent拼写错误 2015-08-27 16:41:30 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
7a670887d8 update progress demo 2015-07-30 18:42:11 +08:00
夏奈
bbac575112 showInfo 是否显示数值配置 2015-07-30 17:27:41 +08:00
夏奈
1bb6711a00 颜色修改 2015-07-30 15:54:08 +08:00
夏奈
5f1fad2a18 progress bar active 2015-07-30 15:14:00 +08:00
夏奈
df16cc2118 progress bar active 2015-07-30 15:07:38 +08:00
夏奈
3299740968 progress bar 和 progress circle api分开 2015-07-30 14:26:41 +08:00
夏奈
fc69971f99 progress bar 和 progress circle api分开 2015-07-29 23:36:27 +08:00
夏奈
ef3f753470 progress bar style 2015-07-29 23:32:24 +08:00
夏奈
a85586844c progress bar style 2015-07-29 22:20:05 +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
afc163
68b9e6125b update iconfont 2015-07-09 18:24:41 +08:00
yiminghe
0a7410973e clean warning 2015-07-08 20:53:11 +08:00
afc163
d39b222b47 code style 2015-07-06 10:58:34 +08:00
afc163
937e19245f 精简文案 2015-06-19 10:42:49 +08:00
夏奈
0b460e564d 交互文案 2015-06-18 11:25:38 +08:00
夏奈
e52164f35f 文字样式 2015-06-18 10:43:35 +08:00
afc163
3c32f0c6c0 update progress demo 2015-06-17 17:19:34 +08:00
afc163
4bb09c2181 update progress demo 2015-06-16 21:24:09 +08:00
afc163
4cfcf29a5f update progress size 2015-06-15 17:30:24 +08:00
afc163
0c56f44d21 update progress demo 2015-06-15 16:49:37 +08:00
夏奈
e59a6b2430 dynamic demo 2015-06-15 16:31:51 +08:00
夏奈
e0dfb9d51e confilct 2015-06-15 16:26:44 +08:00
夏奈
2bb0992334 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	components/progress/demo/circle.md
#	components/progress/demo/line.md
2015-06-15 16:20:30 +08:00
夏奈
331443419c 样式调整 2015-06-15 16:16:51 +08:00
afc163
f5835eec78 update element tagName 2015-06-15 15:11:02 +08:00
afc163
39bf1d09e7 update progress demo 2015-06-15 14:43:27 +08:00
afc163
61b7297ce4 update progress demo 2015-06-15 14:07:20 +08:00
夏奈
9b5c224234 m 2015-06-15 11:58:46 +08:00
夏奈
a100bc0de3 m 2015-06-15 11:55:54 +08:00
夏奈
2c58d5e1ce mini demo 2015-06-15 11:48:30 +08:00
afc163
e86755efbd update progress demo 2015-06-15 11:00:27 +08:00
夏奈
489ef17919 progress circle demo 2015-06-14 23:04:43 +08:00
夏奈
4ed91c35e1 progress circle demo 2015-06-14 20:07:21 +08:00
夏奈
61d947dbfa progress line demo 2015-06-14 19:50:23 +08:00
夏奈
c467790b15 progress demo 2015-06-14 14:01:10 +08:00
夏奈
d2702bf92e Merge branch 'master' of github.com:ant-design/ant-design 2015-06-14 13:28:36 +08:00
夏奈
3e2026efca progress demo 2015-06-14 12:55:44 +08:00
afc163
b9b6cd33d0 components order 2015-06-12 17:49:30 +08:00
夏奈
67265d49e3 progress 2015-06-09 16:54:11 +08:00
afc163
5651c402a5 update layout 2015-06-02 12:11:49 +08:00
afc163
43ef2dccd3 挖坑 2015-05-27 15:43:29 +08:00