Commit Graph

144 Commits

Author SHA1 Message Date
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
偏右
6550ddd545 🐛 Fix Switch disabled cursor style, close #14764 (#14767) 2019-02-10 22:20:09 +08:00
何乐
99eeefc25d correct type in Switch (#14727) 2019-02-05 11:01:36 +08:00
zombieJ
633c3aeb25
update rc-switch (#14560)
close #7181
2019-01-26 01:26:48 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
frezc
1a76a8ec21 add style to SwitchProps 2018-11-24 17:39:15 +08:00
jojoLockLock
171e36680f fix(switch):set disabled for loading status & set cursor as not-allowed (#13219) 2018-11-21 11:01:18 +08:00
afc163
233f1891d1 Add test case for wave 2018-11-12 13:59:34 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
Ilan
3d76e49592 ✏️ update switch types and docs 2018-10-06 15:35:45 +08:00
zombiej
2b22d6b19c bump rc-switch & update test case 2018-09-13 19:47:28 +08:00
HeskeyBaozi
c76a90b2b7 fix tweak icon 2018-09-07 14:14:23 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
afc163
6b0244a3bd update switch snap 2018-09-03 17:45:34 +08:00
afc163
3cbb5da6c2 tweak icons size 2018-09-03 17:11:20 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
359191abeb update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
e91aa112bf remove svgClassName 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
43e6621fb7 use correct icon 2018-08-24 18:11:02 +08:00
HeskeyBaozi
65600c8a95 upgrade to 3.8.2 2018-08-20 14:00:51 +08:00
HeskeyBaozi
8c4f98572b update tab snapshot 2018-08-16 16:15:25 +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
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
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
HeskeyBaozi
9657f4f3a5 update Switch test snapshot 2018-08-07 16:36:38 +08:00
HeskeyBaozi
4afd19ef5f use svg loading icon in Switch component 2018-08-07 16:35:56 +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
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
2cacfe78ea Fix switch overflow in certain situation, close #9928 2018-07-16 19:47:28 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +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
MuYu
1d1ea1ac59 fix switch doc error (#9338) 2018-02-12 12:10:07 +08:00
John Johnson III
3ffe718476 fix typo in less good (#9315)
Fix `background` property value by changing it from `transprent` to `transparent`
2018-02-09 10:05:56 +08:00
Graeme Yeates
b9b5abab33 Add @switch-color to control switch colors (#8940) 2018-01-12 10:02:34 +08:00