afc163
2e759e2bea
Add initial prop for TypeScript, ref #11180
2018-08-22 13:54:51 +08:00
afc163
db736843ff
Add Steps[initial], close #11180
2018-08-22 13:53:57 +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
3baec95628
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-13 09:26:33 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
HeskeyBaozi
b2ab727c89
resolve conflicts
2018-08-06 15:06:06 +08:00
Thibault Derousseaux
43abea3212
Use tabular-nums font variant instead of switching to Tahoma for figures
...
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422 .
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures ).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals ).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric ) that can be set to `tabular-nums`.
This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/ ).
2018-08-04 11:28:14 +08:00
HeskeyBaozi
6c42d711e8
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-07-31 15:36:23 +08:00
yoyo837
5ca7d75c0d
fix doc
2018-07-28 02:04:49 +08:00
yoyo837
ce24f278cf
docs
2018-07-28 02:04:49 +08:00
yoyo837
6ae02a9ab7
progress-dot
2018-07-28 02:04:49 +08:00
yoyo837
a0a0d88b78
Fix content without vertical alignment icon when using vertical label mode; And description text-align: center;
2018-07-28 02:04:49 +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
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Thomas Billicsich
ff70654ffe
Removed redundant dot accesses in example
...
The `current` variable is defined on the top of the method.
2018-06-22 10:27:27 +08:00
afc163
68a110afa3
should use primary color for steps
2018-06-20 20:51:24 +08:00
潘晓升
e4d7e5e510
Update index.tsx ( #9126 )
...
add the “style” property for declare file
2018-01-26 10:38:28 +08:00
afc163
5f35a69858
update steps demo
2017-12-04 14:51:51 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
Graeme Yeates
b46cb4b740
Add a variable to control processing colors ( #8166 )
2017-11-11 14:15:16 +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
296dfc7375
vertical progressDot Steps style
2017-10-31 15:15:51 +08:00
afc163
2a14b4667d
Fix progress dot step style
2017-10-31 14:04:07 +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
ca3835bf58
Tweak progress dot step style
2017-10-19 14:52:11 +08:00
afc163
91a64d0567
Tweak styles
2017-10-16 21:12:49 +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
偏右
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
ca06211494
Fix small steps font size
2017-09-25 11:27:49 +08:00
afc163
306a5699a7
Better responsive Steps
2017-09-25 11:25:57 +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
afc163
3195cc182c
Fix steps styles
2017-09-07 11:00:36 +08:00
afc163
78c1bebd7a
Merge branch 'master' into antd-3.0
2017-09-06 13:43:00 +08:00
afc163
68ff1b6ff0
fix progressDot Steps style
2017-09-06 13:15:47 +08:00
偏右
a933961aae
upgrade rc-steps to 3.0 ( #7473 )
...
* upgrade rc-steps to 3.0
* update snapshot
2017-09-05 19:57:59 +08:00
Khalifa Lame
f48cf1df90
docs: update Steps English doc ( #7463 )
...
Added code tags to string values.
2017-09-05 16:50:27 +08:00
afc163
c28c2f6b1e
Merge branch 'master' into antd-3.0
2017-08-18 19:18:26 +08:00
afc163
187e9dd85c
tweak step number font
2017-08-17 21:51:25 +08:00
偏右
2dedc5ec7f
Upgrade grid break points ( #7230 )
...
close #5122
2017-08-16 20:19:41 +08:00
afc163
b0da6adf8c
Improve responsive of Steps
2017-08-16 16:07:57 +08:00
afc163
29b5f433f8
Fix step title background
2017-08-07 16:11:43 +08:00
afc163
4962d19462
tweak steps style
2017-08-01 21:50:38 +08:00
afc163
0cf3600e25
refactor step title style again
2017-08-01 18:34:02 +08:00
afc163
0eefa85b04
refactor step title style
2017-08-01 18:08:08 +08:00
afc163
c67d9b2935
Fix nested steps style, close #6754
2017-07-07 11:46:05 +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
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