HeskeyBaozi
43e6621fb7
use correct icon
6 years ago
HeskeyBaozi
8c4f98572b
update tab snapshot
6 years ago
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
HeskeyBaozi
9657f4f3a5
update Switch test snapshot
6 years ago
HeskeyBaozi
4afd19ef5f
use svg loading icon in Switch component
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
HeskeyBaozi
8df086f022
update test cases
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
afc163
2cacfe78ea
Fix switch overflow in certain situation, close #9928
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
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