zombieJ
796b56dbc4
New Component Skeleton ( #11226 )
...
* Add new component Skeleton
* Add related doc
* Add sample
* Add test case
ref: https://github.com/ant-design/ant-design/issues/10308
2018-08-22 23:34:36 +08:00
陈帅
958e8ebc4b
Fix drawer ( #11702 )
...
* fix #11583 #11443 remove pointer-events
* update snap fix ci
* @ease change to @drawer-easing
* add @ease-base-out and @ease-base-in
* fix drawer
2018-08-18 12:34:40 +08:00
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
...
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +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
Bryan Berger
1d924300e7
add @message-notice-content-padding var to <Message />
2018-07-18 22:17:12 +08:00
afc163
0c4d356e54
Merge branch 'master' into feature-3.7.0
2018-07-03 19:54:48 +08:00
afc163
553901dfb8
Fix card background overflow when zoom in chrome, close #9085
2018-06-30 21:13:22 +08:00
afc163
e7fa6ca7eb
Merge branch 'master' into feature-3.7.0
2018-06-19 15:31:53 +08:00
afc163
7fe027bfcf
fix stylelint problem
2018-06-19 15:30:20 +08:00
afc163
99d6e4c96c
Merge branch 'master' into feature-3.7.0
2018-06-12 15:34:51 +08:00
Yuxuan Huo
9aea9ddf58
expose input box-shadow h and v offset in theme variables
2018-06-11 20:20:24 +08:00
陈帅
789b54905c
fix #10842 Badge status does not change with themes
2018-06-08 17:59:31 +08:00
zombieJ
a825ed4e66
Directory Tree ( #10139 )
...
Support DirTree. close #7749
2018-06-04 11:20:17 +08:00
picodoth
e25323882a
Merge branch 'feature-3.6.0'
2018-06-02 13:36:05 +08:00
afc163
814ee7365a
tweak popover arrow style detail
2018-05-28 23:29:04 +08:00
Rongjian Zhang
f3869270ae
Fix #10142 : Add theme
props to Layout.Sider
( #10631 )
...
* Fix #10142 : Add `theme` props to `Layout.Sider`
* Update documentation of Layout.Sider for new theme props
* Fix snapshot tests
* Add unit test for sider theme
2018-05-23 23:46:28 +08:00
afc163
eb17aae25c
Fix less import error again
2018-05-17 15:21:31 +08:00
afc163
593435ce65
fix import path
2018-05-17 14:39:33 +08:00
afc163
c4f58e7027
fix import path
2018-05-17 11:04:14 +08:00
afc163
b76910f63f
fix typo
2018-05-16 11:49:35 +08:00
afc163
12d3046687
style: unify the less vars naming
2018-05-15 17:02:01 +08:00
愚道
b45146486a
merge feature-3.5.0
2018-04-28 11:04:10 +08:00
afc163
1f6107e94a
Fix naming convention, close #10275
2018-04-27 13:21:51 +08:00
davidhatten
74d1c5e6b6
Add collapse styles to default.less ( #9943 )
...
* push collapse styling into overridable defaults
* Changes to ensure backwards compatibiliy, switch bg-color to be based on default style
* change background-color to bg in style names
* simplify and consolodate content-padding
* I figured out why the styling is split across content and box like that
The collapse/show animation doesn't work right without the padding set up across the two elements like this. From an end-user point of view, I think this is the easiest thing.
* pushing all padding styling on to the box instead of the content, keeping var name the same because the end user doesn't need to know the difference
* Pushing header-bg-color back up to the top of the component heirarchy
* shorten content padding
2018-04-19 11:36:53 +08:00
afc163
99e030cc4c
Merge branch 'master' into feature-3.4.0
2018-03-25 01:39:27 +08:00
Bryan Berger
c3df0bc688
Fix <Switch /> small margin ( #9602 )
...
* should be 13px. Size of the circle (12px) + desired spacing (1px).
* add single responsibility var
2018-03-24 21:52:47 +08:00
meesvandongen
2c5231f0ed
Made expanded row background (table) a less variable. ( #9789 )
2018-03-24 13:18:38 +08:00
afc163
ba7b7d0d6b
link colors should be related with @link-color
2018-03-23 18:04:02 +08:00
Bryan Berger
a0e161ccdd
Add variable for Pagination font-weight when active ( #9603 )
2018-03-18 13:06:00 +08:00
afc163
c7dd7cbbc4
Fix large tabs font size, close #9509
2018-03-05 18:35:33 +08:00
afc163
8a6b76acde
support less vars for tabs title font size
2018-02-28 11:07:26 +08:00
George Gray
053396810b
add @badge-font-weight var ( #9352 )
2018-02-14 12:35:52 +08:00
George Gray
676635abde
var to theme pagination font ( #9351 )
2018-02-13 21:38:34 +08:00
afc163
c04377e541
Add more icons, #9092
2018-02-11 17:10:18 +08:00
George Gray
22c3097d79
Vars to theme Tabs ( #9172 )
2018-02-04 02:42:13 -06:00
afc163
506f97640e
Fix font family name, close ant-design/ant-design-pro#813
2018-01-26 10:24:41 +08:00
George Gray
7d9a93e7ed
vars to theme Menu ( #9115 )
2018-01-25 10:59:49 +08:00
George Gray
72a5b1fef7
Vars to theme slider ( #9065 )
...
* vars to theme slider
* add @slider-margin back
2018-01-23 21:03:22 +08:00
George Gray
aa9e335145
add vars to theme Breadcrumb component ( #9022 )
2018-01-20 16:04:49 +08:00
afc163
32023c24e5
Add aliyun icon
2018-01-19 12:04:50 +08:00
George Gray
a9abe14122
Vars for checkbox and radio ( #9003 )
...
* vars for radio component
* add @checkbox-color var
2018-01-18 10:22:03 +08:00
afc163
f88a405c32
Fix text font family unexpected change in chrome, close #8636
2018-01-12 21:53:34 +08:00
Graeme Yeates
b9b5abab33
Add @switch-color to control switch colors ( #8940 )
2018-01-12 10:02:34 +08:00
afc163
c6fcc31217
More readable font family for chinese quote
2018-01-05 10:26:22 +08:00
afc163
abf9717eab
Large component should has larger font size
...
14px => 16px
2017-12-28 15:41:48 +08:00
ddcat1115
f780759f91
fix large size formItem vertical align ( #8495 )
...
* - fix large size input with prefix/suffix vertical align
- fix large size button vertical align
* use large size for formItem default line-height
* improve
2017-12-08 20:57:30 +08:00
afc163
f26261de31
Support Switch[loading]
2017-12-02 16:00:27 +08:00
ddcat1115
da14cba722
add 3 icons
2017-11-22 18:11:24 +08:00
Wei Zhu
5970dbb1ec
Fix table row selected className
...
Close #8074 #8075
2017-11-18 00:03:30 +08:00
Graeme Yeates
b46cb4b740
Add a variable to control processing colors ( #8166 )
2017-11-11 14:15:16 +08:00