Bryan Berger
c3df0bc688
Fix <Switch /> small margin ( #9602 )
* should be 13px. Size of the circle (12px) + desired spacing (1px).
* add single responsibility var
7 years ago
MuYu
1d1ea1ac59
fix switch doc error ( #9338 )
7 years ago
John Johnson III
3ffe718476
fix typo in less good ( #9315 )
Fix `background` property value by changing it from `transprent` to `transparent`
7 years ago
Graeme Yeates
b9b5abab33
Add @switch-color to control switch colors ( #8940 )
7 years ago
Wei Zhu
999d6184ad
docs: Sort api table
7 years ago
afc163
f54d73617f
Fix switch demo
7 years ago
afc163
61ab3a4a9e
update switch demo
7 years ago
Wei Zhu
44b529b0d5
Omit loading for Switch
7 years ago
afc163
554d27e725
Improve switch style
7 years ago
afc163
f26261de31
Support Switch[loading]
7 years ago
Wei Zhu
d2dc88c470
Add focus() and blur() document
Close #3790
7 years ago
Wei Zhu
b647078baa
Fix implicit any for Select Slider Spin Switch
7 years ago
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
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
afc163
825e088d45
Fix switch text font size
7 years ago
afc163
475e4ff23d
upgrade eslint-config-airbnb
7 years ago
Ffloriel
873c85cec8
Add missing disabled property ( #7805 )
- add missing disabled property on the switch documentation page
7 years ago
偏右
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 👻
7 years ago
偏右
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
7 years ago
afc163
f6a1eca7e0
Tweak switch style
7 years ago
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
8 years ago
afc163
1be0936cb8
fix snapshots
8 years ago
Benjy Cui
36a7ffc0d6
fix: Switch should not warning with size=large, close : #5368
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
afc163
d576abc7b0
rewrite Switch demos to es6 component, #4878
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
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
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
8 years ago
偏右
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
8 years ago
afc163
d9b6ff5c8f
revert switch height
8 years ago
Pierre
827aa2f94c
style: remove hardcoded inputs height ( #4175 )
* remove hardcoded inputs height
* revert pagination input height
* revert pagination input heights bis
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago
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
8 years ago
Benjy Cui
932443099a
css: use @component-background , ref: #4040
8 years ago
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
8 years ago
afc163
b54d0ccc31
Fix active Switch style, close #3838
8 years ago
afc163
3bdfe5bb88
adjust switch style
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
afc163
e4974ac72a
use @font-size-base ( #1752 )
8 years ago
Benjy Cui
08e21e0a2f
refactor: close : #3490
8 years ago
afc163
af3c1aac96
update switch animation ease
8 years ago
afc163
7a115c6c4b
fix switch line-height
8 years ago
ddcat1115
7483254df6
Switch 宽度自适应 inner 内容 ( #3516 )
8 years ago
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
8 years ago
Benjy Cui
76d43e8d1b
docs: update demo
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
Benjy Cui
3f67fd3f9f
docs: update docs details
8 years ago