Commit Graph

443 Commits

Author SHA1 Message Date
afc163
1649980c2e
💄 improve slider ui, missing active dot 2018-12-06 21:13:20 +08:00
afc163
f28b637c0f
💄 improve slider ui 2018-12-06 21:11:31 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
amedora
1f3e5f5817 add new color definitions 2018-12-05 19:45:22 +08:00
afc163
18f705fcf6
Merge branch 'master' into feature
* master: (28 commits)
  remove overflowY on TextArea autoSize since height transition has been removed for a long time fix #10151
  💄 tweak form control margin, close #13183
  Update Crowdin configuration file
  Correct date-picker demo
  📝 upgrade ts comment
  💄 tweak tree switcher icon size
  Fix regular error in firefox and safri
  add change log
  add checkbox-border-width
  add style to SwitchProps
  update rc-tree-select
  Snapshot fixed.
  tabIndex prop added to DatePicker
  Improve form demo
  prefer logical AND over ternary (#13254)
  fix form demo
  format (#13252)
  📝 improve document images
  migrate locale provider to new lifecycle method
  types: add generic type for Select[value]
  ...
2018-11-27 11:26:16 +08:00
frezc
e732bffde3 add checkbox-border-width 2018-11-24 17:39:31 +08:00
zombiej
24a548a1ae Merge remote-tracking branch 'origin/master' into feature 2018-11-14 20:46:10 +08:00
afc163
5abbe3ba23 🐛 revert menu background 2018-11-14 18:00:34 +08:00
zombiej
b75486fe85 merge master 2018-11-14 15:28:27 +08:00
afc163
03d3b08315 🐛 Fix popup menu background transparent bug 2018-11-12 15:34:10 +08:00
afc163
cdafee70f2 Merge branch 'master' into feature
* master:
  🔥 update less code style
  ⬆️ upgrade react-dnd version
  update
  Remove unused dependencies
  3.10.7 changelog
  🐛 Fix typo, #12978
  update changelog
   Release 3.10.6
  🚑 Fix Button[href] 1px align bug in another way
  tweak style
  💄 tweak button style
2018-11-12 12:06:24 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
zombiej
bc380a7d31 Merge remote-tracking branch 'origin/master' into feature 2018-11-06 23:48:29 +08:00
afc163
fe2b348a5a rm default.deperated.less 2018-11-05 14:08:06 +08:00
afc163
d05c0c19a2 Merge branch 'master' into feature
* master:
  revert deleting @font-variant-base by accident
  update default menu background
  site: update header responsive ui
  update FAQ doc
  add test case for month picker
2018-11-05 13:56:19 +08:00
afc163
799c26a13b revert deleting @font-variant-base by accident 2018-11-05 13:53:38 +08:00
afc163
f41b1db572 update default menu background 2018-11-05 12:01:17 +08:00
ilanus
88a3737e61 🎉 cleanup comment 2018-11-03 00:17:58 +08:00
ilanus
11e6fec65a updating comment api, docs and demos 2018-11-03 00:17:58 +08:00
Ilan
3b01ed3b53 👌 update code after pr review 2018-11-03 00:17:58 +08:00
Ilan
30db3f2a05 nested comment with demo 2018-11-03 00:17:58 +08:00
Ilan
53dd4731f1 initial comment component 2018-11-03 00:17:58 +08:00
afc163
a264c6f345 Add less variable @modal-header-bg, close #12914 2018-11-01 14:57:10 +08:00
afc163
af2e76d64c Add less variable @modal-header-bg, close #12914 2018-11-01 14:42:17 +08:00
Nima Dehnashi
54b944e8ee Allow font-variant to be customized 2018-10-17 14:43:43 +08:00
Wei Zhu
4ce3800de7 Merge branch 'master' into feature 2018-09-29 16:27:07 +08:00
Wei Zhu
4aa2bf804a Merge branch 'list-item-style-config' 2018-09-29 15:44:35 +08:00
Wei Zhu
cfdf06213b fix style lint errors 2018-09-28 19:20:31 +08:00
afc163
bcb06ec174 Add active style of filtered state 2018-09-21 13:41:08 +08:00
afc163
c65d6f6f36 Merge branch 'master' into feature 2018-09-17 15:01:53 +08:00
afc163
c935d53b71 Fix sorter icon align of Table 2018-09-17 14:53:21 +08:00
afc163
cd9b8b20b5 Merge branch 'master' into feature 2018-09-16 17:29:04 +08:00
zombieJ
f9dd709e2f Transfer support disabled (#12084) 2018-09-15 15:18:59 +08:00
afc163
0698c82173 adjust icon svg align 2018-09-14 10:58:03 +08:00
George Gray
c94eda04c6 add vars for Alert types (#12057) 2018-09-13 17:56:54 +08:00
afc163
bdcf4342fe tweak icon size and design 2018-09-08 15:46:26 +08:00
HeskeyBaozi
c76a90b2b7 fix tweak icon 2018-09-07 14:14:23 +08:00
包子熊
67024893ce Hotfix/icon issue (#12016)
* fix progress icon

* remove IconDisplay fields.js

* update progress test snapshot

* fix form item circle filled

* update form-item test snapshot

* fix close icon in upload item list

* fix alert icon theme

* update alert test snapshot

* fix time picker clear icon

* fix test snapshot

* fix rotate icon in the header

* update test snapshot

* update new tree test snapshot

* fix icon position

* fix old icon and new icon both display

* fix card actions icon position
2018-09-03 19:29:27 +08:00
afc163
3cbb5da6c2 tweak icons size 2018-09-03 17:11:20 +08:00
HeskeyBaozi
ff44129e6e remove less vars @icon-url 2018-09-03 11:28:52 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
Tom Xu
8ff9dc6bab Table added a new less variable @table-header-color 2018-08-31 10:42:50 +08:00
陈帅
c73ad8021d
Merge pull request #11894 from ant-design/feature/svg-icon
Hotfix(Icon) fix SVG element style
2018-08-29 18:40:04 +08:00
Chandler Moisen
ce4a4bacaa add @menu-item-active-border-width to Menu.Item (#11934) 2018-08-29 11:20:13 +08:00
afc163
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +08:00
Chandler Moisen
badfac83b0 add @progress-text-color var to <Progress /> (#11771) 2018-08-28 11:36:00 +08:00
HeskeyBaozi
2e85c74898 svg should display block 2018-08-27 20:41:02 +08:00
afc163
1707abb48d Fix switch click error, close #11891 2018-08-27 11:43:54 +08:00
afc163
be78706364 Merge branch 'master' into feature-3.9.0 2018-08-25 18:55:32 +08:00
afc163
98c3d8b1d7 tweak wave style 2018-08-25 14:25:21 +08:00
HeskeyBaozi
d9b38aee4b Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	package.json
2018-08-25 13:24:44 +08:00
afc163
1ba99510cd Fix @shadow-1-up, close #11873 2018-08-24 20:26:27 +08:00
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
afc163
60cff5de40 tweak wave effect detail 2018-08-20 23:55:35 +08:00
afc163
041173f059 tweak animation arguments 2018-08-20 21:02:51 +08:00
afc163
5e37710ecb improve click effect 2018-08-20 20:59:48 +08:00
HeskeyBaozi
65600c8a95 upgrade to 3.8.2 2018-08-20 14:00:51 +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
HeskeyBaozi
b9a9c308c9 [breaking] remove iconfont-font class helper 2018-08-14 15:31:20 +08:00
HeskeyBaozi
049ce5c307 use time-picker with svg icon 2018-08-14 14:45:04 +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
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
HeskeyBaozi
4945d66084 update select 2018-08-09 12:07:27 +08:00
afc163
45fb83d64c simplify style code 2018-08-08 16:18:45 +08:00
David Hatten
f237effc2a list padding and margin defaults added 2018-08-07 13:54:03 -04: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
cc180e2605 resolve conflict. 2018-08-02 18:02:31 +08:00
Ooi Yee Wei
c849a73f4e First commit 2018-07-30 21:29:26 +08:00
HeskeyBaozi
bab50e6bed Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
#	components/transfer/__tests__/__snapshots__/demo.test.js.snap
#	components/transfer/__tests__/__snapshots__/index.test.js.snap
2018-07-23 09:58:55 +08:00
HeskeyBaozi
768f871176 align svg to text 2018-07-19 15:07:31 +08:00
Bryan Berger
1d924300e7 add @message-notice-content-padding var to <Message /> 2018-07-18 22:17:12 +08:00
HeskeyBaozi
7503a0c827 use antd-icons 2018-07-18 10:07:10 +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
Jamie.LiuMJ
2955600642 fix clearfix (#10563) 2018-05-21 21:52:15 +08:00
方剑成
96d53aefb8 Remove redundant icons (#10583) 2018-05-20 00:49:48 +08:00
afc163
6e0865f691 fix less compile error 2018-05-17 17:20:47 +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
afc163
20495dd5ba Fix monospaced number font weight issue
http://codesandbox.io/s/w705jk5wz7
2018-05-07 21:19:16 +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
afc163
a7513bfac1 fix stylelint 2018-04-19 11:40:58 +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
Wei Zhu
c4698154b4 Merge branch 'master' into feature-3.4.0 2018-03-30 15:09:38 +08:00
jojoLockLock
7915e58f1f fix base.less @at-root syntax error (#9832) 2018-03-28 10:41:54 +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
Wei Zhu
9634bea391 Complicate with less 3
Fix #7850
2018-02-28 14:35:02 +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
a0c189f800 Fix Chinese single quotes font family 2018-01-10 21:27:54 +08:00
EcmaProSrc.P/ka
534b69be21 Update base.less (#8912)
Repair spelling mistakes
2018-01-10 18:45:30 +08:00
afc163
7694a52374 Fix input look in iOS 2018-01-09 14:22:00 +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
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +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
偏右
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
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
afc163
3072aff31f Merge branch 'master' into antd-3.0 2017-10-31 18:47:39 +08:00
afc163
7cc3e2c1cd Fix input checkbox or radio disappeared, ref #7974 2017-10-31 13:57:45 +08:00
afc163
7c3a483190 Fix input checkbox or radio disappeared, ref #7974 2017-10-30 13:19:53 +08:00
afc163
7537aa11d0 Fix input shadow in iOS safari, ref #7974 2017-10-28 15:08:39 +08:00
朮厃
8e1cb081db Remove the inner shadow on iOS inputs. (#7974) 2017-10-23 10:05:53 +08:00
afc163
ef443ad047 Merge branch 'master' into antd-3.0 2017-10-20 15:47:42 +08:00
syssam
f8b7aad53d less variable @form-vertical-label-padding, @form-vertical-label-margin, @input-padding-horizontal-base, @input-padding-horizontal-sm, @input-padding-horizontal-lg (#7886) (#7919) 2017-10-20 15:11:44 +08:00
afc163
43bf7c5595 update dark menu color 2017-10-19 16:07:39 +08:00
afc163
7c8702ec61 Tweak popover arrow style 2017-10-19 16:00:24 +08:00
afc163
a68dd71cff Tweak card background 2017-10-19 10:01:59 +08:00
afc163
009ba523d7 update @layout-body-background 2017-10-18 20:59:48 +08:00
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +08:00
afc163
26e416c364 Tweak style 2017-10-16 19:56:04 +08:00
afc163
fe44e33689 Tweak tag styles 2017-10-16 16:13:35 +08:00
afc163
14a58c9960 Tweak input addon background 2017-10-16 14:49:32 +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