DiamondYuan
6b7ad105c6
fix: fix type of SwitchProps
5 years ago
zombieJ
a5f495692e
fix: Tooltip not work correctly on disabled Switch ( #17372 )
* add tooltip of Switch
* clean up
* updat snapshot
5 years ago
Meck Zhu
87afda5623
Extract SwitchChangeEventHandler and SwitchSize
With this change, we can define change handler more convenience:
Before:
```javascript
const handleChange = (checked: boolean, event: MouseEvent) => {
...
}
```
After:
```javascript
const handleChange: SwitchChangeEventHandler = (checked, event) => {
...
}
```
5 years ago
afc163
795e6a5e0a
✅ fix eslint errors
5 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
afc163
b780070351
💄 prittier all files
6 years ago
陈帅
785c132262
meger feature to master ( #16421 )
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
6 years ago
Sebastian Busch
4af2b62cb5
fix: Add some missing TypeScript prop definititions and clean up date-picker definitions ( #16342 )
* Add some missing TypeScript prop definitition, clean up date-picker definitions
* use DatePickerMode instead of redundant enumeration of modes
* decade was missing from the list of modes
See https://codesandbox.io/s/388xplj646
- activate DatePicker
- click on year in header
- click on years in header
- "decade" is printed on footer as mode for renderExtraFooter()
* add decade as possible value for mode prop
6 years ago
atomoo
b5291f01a0
remove active style from disabled Switch
6 years ago
zombieJ
98fc8a14e0
feat: Support append theme less file with less-variable ( #16118 )
* add override
* add override support
* update doc
6 years ago
afc163
a2a9831abb
💄 Fix less code style
6 years ago
zombieJ
41316e69e8
update snapshot ( #16017 )
6 years ago
米老朱
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
6 years ago
偏右
6550ddd545
🐛 Fix Switch disabled cursor style, close #14764 ( #14767 )
6 years ago
何乐
99eeefc25d
correct type in Switch ( #14727 )
6 years ago
zombieJ
633c3aeb25
update rc-switch ( #14560 )
close #7181
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
amedora
0aeb9a356b
use color definitions insted of numbers
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
frezc
1a76a8ec21
add style to SwitchProps
6 years ago
jojoLockLock
171e36680f
fix(switch):set disabled for loading status & set cursor as not-allowed ( #13219 )
6 years ago
afc163
233f1891d1
✅ Add test case for wave
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
Ilan
3d76e49592
✏️ update switch types and docs
6 years ago
zombiej
2b22d6b19c
bump rc-switch & update test case
6 years ago
HeskeyBaozi
c76a90b2b7
fix tweak icon
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
afc163
6b0244a3bd
update switch snap
6 years ago
afc163
3cbb5da6c2
tweak icons size
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago
HeskeyBaozi
74798b8911
upgdate test snapshot
6 years ago
HeskeyBaozi
359191abeb
update test snapshot
6 years ago
HeskeyBaozi
e91aa112bf
remove svgClassName
6 years ago
HeskeyBaozi
d6131fe18d
update test snapshot
6 years ago
HeskeyBaozi
0c9465aaf9
upgrade icons library
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
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