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
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
afc163
f54d73617f
Fix switch demo
2017-12-15 13:47:46 +08:00
afc163
61ab3a4a9e
update switch demo
2017-12-06 20:20:32 +08:00
Wei Zhu
44b529b0d5
Omit loading for Switch
2017-12-04 20:45:09 +08:00
afc163
554d27e725
Improve switch style
2017-12-03 23:36:19 +08:00
afc163
f26261de31
Support Switch[loading]
2017-12-02 16:00:27 +08:00
Wei Zhu
d2dc88c470
Add focus() and blur() document
...
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
b647078baa
Fix implicit any for Select Slider Spin Switch
2017-11-21 14:58:08 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
...
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +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
825e088d45
Fix switch text font size
2017-10-17 15:22:53 +08:00
afc163
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
afc163
054444f619
Merge branch 'master' into antd-3.0
2017-10-07 15:34:19 +08:00
Ffloriel
873c85cec8
Add missing disabled property ( #7805 )
...
- add missing disabled property on the switch documentation page
2017-10-06 16:09:19 +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
偏右
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
afc163
f6a1eca7e0
Tweak switch style
2017-07-12 14:51:13 +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
1be0936cb8
fix snapshots
2017-04-12 20:44:57 +08:00
Benjy Cui
36a7ffc0d6
fix: Switch should not warning with size=large, close : #5368
2017-03-20 16:08:24 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
d576abc7b0
rewrite Switch demos to es6 component, #4878
2017-02-20 22:15:52 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +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
afc163
d9b6ff5c8f
revert switch height
2016-12-15 12:06:38 +08:00
Pierre
827aa2f94c
style: remove hardcoded inputs height ( #4175 )
...
* remove hardcoded inputs height
* revert pagination input height
* revert pagination input heights bis
2016-12-15 11:17:09 +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
afc163
b54d0ccc31
Fix active Switch style, close #3838
2016-11-14 18:52:50 +08:00
afc163
3bdfe5bb88
adjust switch style
2016-11-13 18:22:47 +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
08e21e0a2f
refactor: close : #3490
2016-10-24 16:30:38 +08:00
afc163
af3c1aac96
update switch animation ease
2016-10-21 13:09:29 +08:00
afc163
7a115c6c4b
fix switch line-height
2016-10-21 12:22:20 +08:00
ddcat1115
7483254df6
Switch 宽度自适应 inner 内容 ( #3516 )
2016-10-21 11:09:24 +08:00
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
...
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
2016-10-18 11:55:00 +08:00
Benjy Cui
76d43e8d1b
docs: update demo
2016-09-29 14:36:18 +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
Shawn Sit
7ce12fe36a
doc: demo translation enhancement ( #3033 )
...
* doc enhancement
* keep chinese simplified demo
2016-09-18 14:30:37 +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
77e47c5807
refactor: add interface ( #2638 )
2016-08-10 09:46:56 +08:00
ddcat1115
87a159b18f
docs: Switch-translation ( #2489 )
2016-07-26 09:17:46 +08:00
afc163
32ab285886
Merge branch '1.x-stable'
2016-07-24 13:49:42 +08:00
afc163
1a1ed29717
Add switch :active style
2016-07-22 14:23:59 +08:00