@varlet/ui 1.27.20 → 2.0.0-alpha.1663499244572
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1885 -1885
- package/LICENCE +21 -21
- package/README.en-US.md +86 -93
- package/README.md +93 -93
- package/es/action-sheet/actionSheet.css +1 -1
- package/es/action-sheet/props.js +1 -1
- package/es/bottom-navigation/BottomNavigation.js +1 -1
- package/es/button/Button.js +2 -1
- package/es/button/button.css +1 -1
- package/es/button/props.js +5 -0
- package/es/card/Card.js +18 -22
- package/es/card/card.css +1 -1
- package/es/card/props.js +0 -7
- package/es/cell/Cell.js +3 -3
- package/es/cell/cell.css +1 -1
- package/es/cell/props.js +2 -2
- package/es/chip/chip.css +1 -1
- package/es/date-picker/DatePicker.js +1 -1
- package/es/date-picker/props.js +1 -1
- package/es/date-picker/src/day-picker-panel.js +1 -1
- package/es/date-picker/src/month-picker-panel.js +1 -1
- package/es/dialog/props.js +1 -1
- package/es/divider/Divider.js +1 -1
- package/es/image-preview/props.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +5 -0
- package/es/input/Input.js +1 -1
- package/es/lazy/index.js +1 -1
- package/es/loading/loading.css +1 -1
- package/es/loading/props.js +1 -2
- package/es/locale/en-US.d.ts +5 -5
- package/es/locale/index.js +7 -2
- package/es/locale/zh-CN.d.ts +5 -5
- package/es/menu/Menu.js +318 -94
- package/es/{action-sheet/ActionSheetSfc.less → menu/MenuSfc.css} +0 -0
- package/es/menu/index.js +1 -1
- package/es/menu/menu.css +1 -1
- package/es/menu/props.js +23 -6
- package/es/menu/style/index.js +3 -2
- package/es/pagination/Pagination.js +7 -3
- package/es/pagination/pagination.css +1 -1
- package/es/picker/props.js +1 -1
- package/es/popup/Popup.js +3 -3
- package/es/rate/Rate.js +20 -36
- package/es/rate/rate.css +1 -1
- package/es/ripple/index.js +2 -2
- package/es/select/Select.js +18 -46
- package/es/select/select.css +1 -1
- package/es/slider/Slider.js +1 -1
- package/es/snackbar/core.js +4 -2
- package/es/snackbar/index.js +1 -1
- package/es/snackbar/props.js +6 -2
- package/es/style-provider/StyleProvider.js +5 -1
- package/es/style.css +1 -1
- package/es/style.js +1 -0
- package/es/switch/Switch.js +6 -5
- package/es/tabs/tabs.css +1 -1
- package/es/tabs-items/TabsItems.js +8 -2
- package/es/themes/dark/cell.js +1 -1
- package/es/themes/dark/index.d.ts +5 -5
- package/es/themes/dark/index.js +3 -2
- package/es/themes/dark/menu.js +3 -0
- package/es/themes/index.js +4 -0
- package/es/time-picker/TimePicker.js +1 -1
- package/es/time-picker/props.js +1 -1
- package/es/umdIndex.js +5 -0
- package/es/utils/components.js +2 -2
- package/es/utils/{jest.js → test.js} +0 -19
- package/es/varlet.esm.js +12805 -13960
- package/highlight/attributes.json +1 -1850
- package/highlight/tags.json +58 -578
- package/highlight/web-types.json +152 -5241
- package/json/area.json +10706 -10706
- package/lib/action-sheet/actionSheet.css +1 -1
- package/lib/action-sheet/props.js +1 -1
- package/lib/bottom-navigation/BottomNavigation.js +1 -1
- package/lib/button/Button.js +2 -1
- package/lib/button/button.css +1 -1
- package/lib/button/props.js +5 -0
- package/lib/card/Card.js +18 -22
- package/lib/card/card.css +1 -1
- package/lib/card/props.js +0 -7
- package/lib/cell/Cell.js +3 -3
- package/lib/cell/cell.css +1 -1
- package/lib/cell/props.js +2 -2
- package/lib/chip/chip.css +1 -1
- package/lib/date-picker/DatePicker.js +14 -14
- package/lib/date-picker/props.js +1 -1
- package/lib/date-picker/src/day-picker-panel.js +14 -14
- package/lib/date-picker/src/month-picker-panel.js +12 -12
- package/lib/date-picker/src/year-picker-panel.js +3 -3
- package/lib/dialog/props.js +1 -1
- package/lib/divider/Divider.js +1 -1
- package/lib/image-preview/props.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -0
- package/lib/input/Input.js +1 -1
- package/lib/lazy/index.js +1 -1
- package/lib/loading/loading.css +1 -1
- package/lib/loading/props.js +1 -2
- package/lib/locale/en-US.d.ts +5 -5
- package/lib/locale/index.js +11 -1
- package/lib/locale/zh-CN.d.ts +5 -5
- package/lib/menu/Menu.js +321 -91
- package/{es/app-bar/AppBarSfc.less → lib/menu/MenuSfc.css} +0 -0
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu.css +1 -1
- package/lib/menu/props.js +23 -6
- package/lib/menu/style/index.js +3 -2
- package/lib/pagination/Pagination.js +6 -2
- package/lib/pagination/pagination.css +1 -1
- package/lib/picker/props.js +1 -1
- package/lib/popup/Popup.js +2 -2
- package/lib/rate/Rate.js +20 -36
- package/lib/rate/rate.css +1 -1
- package/lib/ripple/index.js +2 -2
- package/lib/select/Select.js +17 -45
- package/lib/select/select.css +1 -1
- package/lib/slider/Slider.js +1 -1
- package/lib/snackbar/core.js +4 -2
- package/lib/snackbar/index.js +1 -1
- package/lib/snackbar/props.js +6 -2
- package/lib/style-provider/StyleProvider.js +5 -1
- package/lib/style.css +1 -1
- package/lib/style.js +1 -0
- package/lib/switch/Switch.js +6 -5
- package/lib/tabs/tabs.css +1 -1
- package/lib/tabs-items/TabsItems.js +9 -3
- package/lib/themes/dark/cell.js +1 -1
- package/lib/themes/dark/index.d.ts +5 -5
- package/lib/themes/dark/index.js +4 -2
- package/lib/themes/dark/menu.js +8 -0
- package/lib/themes/index.js +13 -0
- package/lib/time-picker/TimePicker.js +9 -9
- package/lib/time-picker/clock.js +3 -3
- package/lib/time-picker/props.js +1 -1
- package/lib/utils/components.js +3 -3
- package/lib/utils/{jest.js → test.js} +0 -21
- package/package.json +14 -10
- package/types/actionSheet.d.ts +68 -69
- package/types/appBar.d.ts +17 -16
- package/types/backTop.d.ts +16 -17
- package/types/badge.d.ts +20 -19
- package/types/bottomNavigation.d.ts +23 -24
- package/types/bottomNavigationItem.d.ts +17 -18
- package/types/button.d.ts +29 -28
- package/types/card.d.ts +29 -30
- package/types/cell.d.ts +18 -19
- package/types/checkbox.d.ts +34 -35
- package/types/checkboxGroup.d.ts +29 -30
- package/types/chip.d.ts +20 -21
- package/types/col.d.ts +23 -24
- package/types/collapse.d.ts +17 -18
- package/types/collapseItem.d.ts +14 -15
- package/types/countdown.d.ts +29 -30
- package/types/counter.d.ts +44 -45
- package/types/datePicker.d.ts +29 -28
- package/types/dialog.d.ts +84 -83
- package/types/divider.d.ts +15 -16
- package/types/form.d.ts +18 -19
- package/types/icon.d.ts +16 -17
- package/types/image.d.ts +26 -25
- package/types/imagePreview.d.ts +51 -52
- package/types/index.d.ts +67 -0
- package/types/indexAnchor.d.ts +11 -12
- package/types/indexBar.d.ts +21 -22
- package/types/input.d.ts +48 -47
- package/types/lazy.d.ts +5 -5
- package/types/list.d.ts +21 -22
- package/types/loading.d.ts +18 -17
- package/types/locale.d.ts +52 -49
- package/types/menu.d.ts +46 -22
- package/types/option.d.ts +12 -13
- package/types/pagination.d.ts +25 -26
- package/types/picker.d.ts +85 -86
- package/types/popup.d.ts +27 -26
- package/types/progress.d.ts +22 -21
- package/types/pullRefresh.d.ts +20 -21
- package/types/radio.d.ts +34 -35
- package/types/radioGroup.d.ts +24 -25
- package/types/rate.d.ts +28 -29
- package/types/ripple.d.ts +5 -5
- package/types/row.d.ts +18 -15
- package/types/select.d.ts +48 -47
- package/types/skeleton.d.ts +21 -22
- package/types/slider.d.ts +30 -29
- package/types/snackbar.d.ts +82 -82
- package/types/space.d.ts +26 -27
- package/types/step.d.ts +13 -14
- package/types/steps.d.ts +15 -16
- package/types/sticky.d.ts +15 -16
- package/types/styleProvider.d.ts +24 -24
- package/types/swipe.d.ts +27 -28
- package/types/swipeItem.d.ts +9 -10
- package/types/switch.d.ts +25 -26
- package/types/tab.d.ts +13 -14
- package/types/tabItem.d.ts +11 -12
- package/types/table.d.ts +11 -12
- package/types/tabs.d.ts +29 -30
- package/types/tabsItems.d.ts +15 -13
- package/types/timePicker.d.ts +30 -29
- package/types/uploader.d.ts +65 -60
- package/types/varComponent.d.ts +18 -12
- package/types/varDirective.d.ts +12 -12
- package/umd/varlet.js +16 -4
- package/es/action-sheet/actionSheet.less +0 -68
- package/es/action-sheet/style/less.js +0 -6
- package/es/app-bar/appBar.less +0 -57
- package/es/app-bar/style/less.js +0 -4
- package/es/back-top/BackTopSfc.less +0 -0
- package/es/back-top/backTop.less +0 -27
- package/es/back-top/style/less.js +0 -5
- package/es/badge/BadgeSfc.less +0 -0
- package/es/badge/badge.less +0 -119
- package/es/badge/style/less.js +0 -4
- package/es/bottom-navigation/BottomNavigationSfc.less +0 -0
- package/es/bottom-navigation/bottomNavigation.less +0 -56
- package/es/bottom-navigation/style/less.js +0 -4
- package/es/bottom-navigation-item/BottomNavigationItemSfc.less +0 -0
- package/es/bottom-navigation-item/bottomNavigationItem.less +0 -78
- package/es/bottom-navigation-item/style/less.js +0 -6
- package/es/button/ButtonSfc.less +0 -0
- package/es/button/button.less +0 -183
- package/es/button/style/less.js +0 -6
- package/es/card/CardSfc.less +0 -0
- package/es/card/card.less +0 -189
- package/es/card/style/less.js +0 -5
- package/es/cell/CellSfc.less +0 -0
- package/es/cell/cell.less +0 -78
- package/es/cell/style/less.js +0 -4
- package/es/checkbox/CheckboxSfc.less +0 -0
- package/es/checkbox/checkbox.less +0 -78
- package/es/checkbox/style/less.js +0 -6
- package/es/checkbox-group/CheckboxGroupSfc.less +0 -0
- package/es/checkbox-group/checkboxGroup.less +0 -12
- package/es/checkbox-group/style/less.js +0 -4
- package/es/chip/ChipSfc.less +0 -0
- package/es/chip/chip.less +0 -182
- package/es/chip/style/less.js +0 -4
- package/es/col/ColSfc.less +0 -0
- package/es/col/col.less +0 -74
- package/es/col/style/less.js +0 -3
- package/es/collapse/CollapseSfc.less +0 -1
- package/es/collapse/style/less.js +0 -3
- package/es/collapse-item/CollapseItemSfc.less +0 -0
- package/es/collapse-item/collapseItem.less +0 -105
- package/es/collapse-item/style/less.js +0 -4
- package/es/context/style/less.js +0 -0
- package/es/countdown/CountdownSfc.less +0 -0
- package/es/countdown/style/less.js +0 -2
- package/es/counter/CounterSfc.less +0 -0
- package/es/counter/counter.less +0 -89
- package/es/counter/style/less.js +0 -7
- package/es/date-picker/DatePickerSfc.less +0 -0
- package/es/date-picker/date-picker.less +0 -354
- package/es/date-picker/style/less.js +0 -7
- package/es/dialog/DialogSfc.less +0 -0
- package/es/dialog/dialog.less +0 -77
- package/es/dialog/style/less.js +0 -5
- package/es/divider/DividerSfc.less +0 -0
- package/es/divider/divider.less +0 -78
- package/es/divider/style/less.js +0 -3
- package/es/form/FormSfc.less +0 -0
- package/es/form/style/less.js +0 -2
- package/es/form-details/FormDetailsSfc.less +0 -0
- package/es/form-details/formDetails.less +0 -48
- package/es/form-details/style/less.js +0 -3
- package/es/icon/IconSfc.less +0 -0
- package/es/icon/icon.less +0 -26
- package/es/icon/style/less.js +0 -3
- package/es/image/ImageSfc.less +0 -0
- package/es/image/image.less +0 -9
- package/es/image/style/less.js +0 -4
- package/es/image-preview/ImagePreviewSfc.less +0 -0
- package/es/image-preview/imagePreview.less +0 -76
- package/es/image-preview/style/less.js +0 -7
- package/es/index-anchor/IndexAnchorSfc.less +0 -1
- package/es/index-anchor/style/less.js +0 -3
- package/es/index-bar/IndexBarSfc.less +0 -0
- package/es/index-bar/indexBar.less +0 -43
- package/es/index-bar/style/less.js +0 -3
- package/es/input/InputSfc.less +0 -0
- package/es/input/input.less +0 -187
- package/es/input/style/less.js +0 -5
- package/es/lazy/style/less.js +0 -0
- package/es/less.js +0 -64
- package/es/list/ListSfc.less +0 -0
- package/es/list/list.less +0 -63
- package/es/list/style/less.js +0 -5
- package/es/loading/LoadingSfc.less +0 -0
- package/es/loading/loading.less +0 -500
- package/es/loading/style/less.js +0 -3
- package/es/locale/style/less.js +0 -0
- package/es/menu/menu.less +0 -21
- package/es/menu/style/less.js +0 -3
- package/es/option/OptionSfc.less +0 -0
- package/es/option/option.less +0 -37
- package/es/option/style/less.js +0 -6
- package/es/pagination/PaginationSfc.less +0 -0
- package/es/pagination/pagination.less +0 -188
- package/es/pagination/style/less.js +0 -8
- package/es/picker/PickerSfc.less +0 -0
- package/es/picker/picker.less +0 -106
- package/es/picker/style/less.js +0 -5
- package/es/popup/popup.less +0 -125
- package/es/popup/style/less.js +0 -2
- package/es/progress/ProgressSfc.less +0 -0
- package/es/progress/progress.less +0 -101
- package/es/progress/style/less.js +0 -3
- package/es/pull-refresh/PullRefreshSfc.less +0 -0
- package/es/pull-refresh/pullRefresh.less +0 -56
- package/es/pull-refresh/style/less.js +0 -5
- package/es/radio/RadioSfc.less +0 -0
- package/es/radio/radio.less +0 -78
- package/es/radio/style/less.js +0 -6
- package/es/radio-group/RadioGroupSfc.less +0 -0
- package/es/radio-group/radioGroup.less +0 -12
- package/es/radio-group/style/less.js +0 -4
- package/es/rate/RateSfc.less +0 -0
- package/es/rate/rate.less +0 -48
- package/es/rate/style/less.js +0 -6
- package/es/ripple/ripple.less +0 -20
- package/es/ripple/style/less.js +0 -2
- package/es/row/RowSfc.less +0 -0
- package/es/row/row.less +0 -4
- package/es/row/style/less.js +0 -3
- package/es/select/SelectSfc.less +0 -0
- package/es/select/select.less +0 -184
- package/es/select/style/less.js +0 -7
- package/es/skeleton/SkeletonSfc.less +0 -0
- package/es/skeleton/skeleton.less +0 -138
- package/es/skeleton/style/less.js +0 -3
- package/es/slider/SliderSfc.less +0 -0
- package/es/slider/slider.less +0 -147
- package/es/slider/style/less.js +0 -4
- package/es/snackbar/SnackbarSfc.less +0 -0
- package/es/snackbar/coreSfc.less +0 -0
- package/es/snackbar/snackbar.less +0 -129
- package/es/snackbar/style/less.js +0 -8
- package/es/space/space.less +0 -6
- package/es/space/style/less.js +0 -2
- package/es/step/StepSfc.less +0 -0
- package/es/step/step.less +0 -145
- package/es/step/style/less.js +0 -4
- package/es/steps/StepsSfc.less +0 -1
- package/es/steps/style/less.js +0 -2
- package/es/sticky/StickySfc.less +0 -0
- package/es/sticky/sticky.less +0 -8
- package/es/sticky/style/less.js +0 -3
- package/es/style-provider/StyleProviderSfc.less +0 -0
- package/es/style-provider/style/less.js +0 -2
- package/es/styles/common.less +0 -73
- package/es/styles/elevation.less +0 -128
- package/es/styles/style/less.js +0 -0
- package/es/styles/var.css +0 -0
- package/es/styles/var.less +0 -30
- package/es/swipe/SwipeSfc.less +0 -0
- package/es/swipe/style/less.js +0 -3
- package/es/swipe/swipe.less +0 -60
- package/es/swipe-item/SwipeItemSfc.less +0 -0
- package/es/swipe-item/style/less.js +0 -3
- package/es/swipe-item/swipeItem.less +0 -5
- package/es/switch/SwitchSfc.less +0 -0
- package/es/switch/style/less.js +0 -7
- package/es/switch/switch.less +0 -94
- package/es/tab/TabSfc.less +0 -0
- package/es/tab/style/less.js +0 -4
- package/es/tab/tab.less +0 -46
- package/es/tab-item/TabItemSfc.less +0 -0
- package/es/tab-item/style/less.js +0 -4
- package/es/tab-item/tabItem.less +0 -6
- package/es/table/TableSfc.less +0 -0
- package/es/table/style/less.js +0 -4
- package/es/table/table.less +0 -110
- package/es/tabs/TabsSfc.less +0 -0
- package/es/tabs/style/less.js +0 -5
- package/es/tabs/tabs.less +0 -99
- package/es/tabs-items/TabsItemsSfc.less +0 -0
- package/es/tabs-items/style/less.js +0 -3
- package/es/themes/style/less.js +0 -0
- package/es/time-picker/TimePickerSfc.less +0 -0
- package/es/time-picker/style/less.js +0 -4
- package/es/time-picker/timePicker.less +0 -237
- package/es/uploader/UploaderSfc.less +0 -0
- package/es/uploader/style/less.js +0 -8
- package/es/uploader/uploader.less +0 -216
- package/es/utils/style/less.js +0 -0
- package/lib/action-sheet/ActionSheetSfc.less +0 -0
- package/lib/action-sheet/actionSheet.less +0 -68
- package/lib/action-sheet/style/less.js +0 -6
- package/lib/app-bar/AppBarSfc.less +0 -0
- package/lib/app-bar/appBar.less +0 -57
- package/lib/app-bar/style/less.js +0 -4
- package/lib/back-top/BackTopSfc.less +0 -0
- package/lib/back-top/backTop.less +0 -27
- package/lib/back-top/style/less.js +0 -5
- package/lib/badge/BadgeSfc.less +0 -0
- package/lib/badge/badge.less +0 -119
- package/lib/badge/style/less.js +0 -4
- package/lib/bottom-navigation/BottomNavigationSfc.less +0 -0
- package/lib/bottom-navigation/bottomNavigation.less +0 -56
- package/lib/bottom-navigation/style/less.js +0 -4
- package/lib/bottom-navigation-item/BottomNavigationItemSfc.less +0 -0
- package/lib/bottom-navigation-item/bottomNavigationItem.less +0 -78
- package/lib/bottom-navigation-item/style/less.js +0 -6
- package/lib/button/ButtonSfc.less +0 -0
- package/lib/button/button.less +0 -183
- package/lib/button/style/less.js +0 -6
- package/lib/card/CardSfc.less +0 -0
- package/lib/card/card.less +0 -189
- package/lib/card/style/less.js +0 -5
- package/lib/cell/CellSfc.less +0 -0
- package/lib/cell/cell.less +0 -78
- package/lib/cell/style/less.js +0 -4
- package/lib/checkbox/CheckboxSfc.less +0 -0
- package/lib/checkbox/checkbox.less +0 -78
- package/lib/checkbox/style/less.js +0 -6
- package/lib/checkbox-group/CheckboxGroupSfc.less +0 -0
- package/lib/checkbox-group/checkboxGroup.less +0 -12
- package/lib/checkbox-group/style/less.js +0 -4
- package/lib/chip/ChipSfc.less +0 -0
- package/lib/chip/chip.less +0 -182
- package/lib/chip/style/less.js +0 -4
- package/lib/col/ColSfc.less +0 -0
- package/lib/col/col.less +0 -74
- package/lib/col/style/less.js +0 -3
- package/lib/collapse/CollapseSfc.less +0 -1
- package/lib/collapse/style/less.js +0 -3
- package/lib/collapse-item/CollapseItemSfc.less +0 -0
- package/lib/collapse-item/collapseItem.less +0 -105
- package/lib/collapse-item/style/less.js +0 -4
- package/lib/context/style/less.js +0 -0
- package/lib/countdown/CountdownSfc.less +0 -0
- package/lib/countdown/style/less.js +0 -2
- package/lib/counter/CounterSfc.less +0 -0
- package/lib/counter/counter.less +0 -89
- package/lib/counter/style/less.js +0 -7
- package/lib/date-picker/DatePickerSfc.less +0 -0
- package/lib/date-picker/date-picker.less +0 -354
- package/lib/date-picker/style/less.js +0 -7
- package/lib/dialog/DialogSfc.less +0 -0
- package/lib/dialog/dialog.less +0 -77
- package/lib/dialog/style/less.js +0 -5
- package/lib/divider/DividerSfc.less +0 -0
- package/lib/divider/divider.less +0 -78
- package/lib/divider/style/less.js +0 -3
- package/lib/form/FormSfc.less +0 -0
- package/lib/form/style/less.js +0 -2
- package/lib/form-details/FormDetailsSfc.less +0 -0
- package/lib/form-details/formDetails.less +0 -48
- package/lib/form-details/style/less.js +0 -3
- package/lib/icon/IconSfc.less +0 -0
- package/lib/icon/icon.less +0 -26
- package/lib/icon/style/less.js +0 -3
- package/lib/image/ImageSfc.less +0 -0
- package/lib/image/image.less +0 -9
- package/lib/image/style/less.js +0 -4
- package/lib/image-preview/ImagePreviewSfc.less +0 -0
- package/lib/image-preview/imagePreview.less +0 -76
- package/lib/image-preview/style/less.js +0 -7
- package/lib/index-anchor/IndexAnchorSfc.less +0 -1
- package/lib/index-anchor/style/less.js +0 -3
- package/lib/index-bar/IndexBarSfc.less +0 -0
- package/lib/index-bar/indexBar.less +0 -43
- package/lib/index-bar/style/less.js +0 -3
- package/lib/input/InputSfc.less +0 -0
- package/lib/input/input.less +0 -187
- package/lib/input/style/less.js +0 -5
- package/lib/lazy/style/less.js +0 -0
- package/lib/less.js +0 -64
- package/lib/list/ListSfc.less +0 -0
- package/lib/list/list.less +0 -63
- package/lib/list/style/less.js +0 -5
- package/lib/loading/LoadingSfc.less +0 -0
- package/lib/loading/loading.less +0 -500
- package/lib/loading/style/less.js +0 -3
- package/lib/locale/style/less.js +0 -0
- package/lib/menu/menu.less +0 -21
- package/lib/menu/style/less.js +0 -3
- package/lib/option/OptionSfc.less +0 -0
- package/lib/option/option.less +0 -37
- package/lib/option/style/less.js +0 -6
- package/lib/pagination/PaginationSfc.less +0 -0
- package/lib/pagination/pagination.less +0 -188
- package/lib/pagination/style/less.js +0 -8
- package/lib/picker/PickerSfc.less +0 -0
- package/lib/picker/picker.less +0 -106
- package/lib/picker/style/less.js +0 -5
- package/lib/popup/popup.less +0 -125
- package/lib/popup/style/less.js +0 -2
- package/lib/progress/ProgressSfc.less +0 -0
- package/lib/progress/progress.less +0 -101
- package/lib/progress/style/less.js +0 -3
- package/lib/pull-refresh/PullRefreshSfc.less +0 -0
- package/lib/pull-refresh/pullRefresh.less +0 -56
- package/lib/pull-refresh/style/less.js +0 -5
- package/lib/radio/RadioSfc.less +0 -0
- package/lib/radio/radio.less +0 -78
- package/lib/radio/style/less.js +0 -6
- package/lib/radio-group/RadioGroupSfc.less +0 -0
- package/lib/radio-group/radioGroup.less +0 -12
- package/lib/radio-group/style/less.js +0 -4
- package/lib/rate/RateSfc.less +0 -0
- package/lib/rate/rate.less +0 -48
- package/lib/rate/style/less.js +0 -6
- package/lib/ripple/ripple.less +0 -20
- package/lib/ripple/style/less.js +0 -2
- package/lib/row/RowSfc.less +0 -0
- package/lib/row/row.less +0 -4
- package/lib/row/style/less.js +0 -3
- package/lib/select/SelectSfc.less +0 -0
- package/lib/select/select.less +0 -184
- package/lib/select/style/less.js +0 -7
- package/lib/skeleton/SkeletonSfc.less +0 -0
- package/lib/skeleton/skeleton.less +0 -138
- package/lib/skeleton/style/less.js +0 -3
- package/lib/slider/SliderSfc.less +0 -0
- package/lib/slider/slider.less +0 -147
- package/lib/slider/style/less.js +0 -4
- package/lib/snackbar/SnackbarSfc.less +0 -0
- package/lib/snackbar/coreSfc.less +0 -0
- package/lib/snackbar/snackbar.less +0 -129
- package/lib/snackbar/style/less.js +0 -8
- package/lib/space/space.less +0 -6
- package/lib/space/style/less.js +0 -2
- package/lib/step/StepSfc.less +0 -0
- package/lib/step/step.less +0 -145
- package/lib/step/style/less.js +0 -4
- package/lib/steps/StepsSfc.less +0 -1
- package/lib/steps/style/less.js +0 -2
- package/lib/sticky/StickySfc.less +0 -0
- package/lib/sticky/sticky.less +0 -8
- package/lib/sticky/style/less.js +0 -3
- package/lib/style-provider/StyleProviderSfc.less +0 -0
- package/lib/style-provider/style/less.js +0 -2
- package/lib/styles/common.less +0 -73
- package/lib/styles/elevation.less +0 -128
- package/lib/styles/style/less.js +0 -0
- package/lib/styles/var.css +0 -0
- package/lib/styles/var.less +0 -30
- package/lib/swipe/SwipeSfc.less +0 -0
- package/lib/swipe/style/less.js +0 -3
- package/lib/swipe/swipe.less +0 -60
- package/lib/swipe-item/SwipeItemSfc.less +0 -0
- package/lib/swipe-item/style/less.js +0 -3
- package/lib/swipe-item/swipeItem.less +0 -5
- package/lib/switch/SwitchSfc.less +0 -0
- package/lib/switch/style/less.js +0 -7
- package/lib/switch/switch.less +0 -94
- package/lib/tab/TabSfc.less +0 -0
- package/lib/tab/style/less.js +0 -4
- package/lib/tab/tab.less +0 -46
- package/lib/tab-item/TabItemSfc.less +0 -0
- package/lib/tab-item/style/less.js +0 -4
- package/lib/tab-item/tabItem.less +0 -6
- package/lib/table/TableSfc.less +0 -0
- package/lib/table/style/less.js +0 -4
- package/lib/table/table.less +0 -110
- package/lib/tabs/TabsSfc.less +0 -0
- package/lib/tabs/style/less.js +0 -5
- package/lib/tabs/tabs.less +0 -99
- package/lib/tabs-items/TabsItemsSfc.less +0 -0
- package/lib/tabs-items/style/less.js +0 -3
- package/lib/themes/style/less.js +0 -0
- package/lib/time-picker/TimePickerSfc.less +0 -0
- package/lib/time-picker/style/less.js +0 -4
- package/lib/time-picker/timePicker.less +0 -237
- package/lib/uploader/UploaderSfc.less +0 -0
- package/lib/uploader/style/less.js +0 -8
- package/lib/uploader/uploader.less +0 -216
- package/lib/utils/style/less.js +0 -0
- package/types/global.d.ts +0 -68
package/es/switch/switch.less
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
@switch-track-background: #fff;
|
|
2
|
-
@switch-track-active-background: var(--color-primary);
|
|
3
|
-
@switch-track-error-background: var(--color-danger);
|
|
4
|
-
@switch-ripple-color: var(--color-primary);
|
|
5
|
-
@switch-handle-background: #fff;
|
|
6
|
-
@switch-handle-color: #fff;
|
|
7
|
-
@switch-handle-active-background: var(--color-primary);
|
|
8
|
-
@switch-handle-error-background: var(--color-danger);
|
|
9
|
-
|
|
10
|
-
:root {
|
|
11
|
-
--switch-track-background: @switch-track-background;
|
|
12
|
-
--switch-track-active-background: @switch-track-active-background;
|
|
13
|
-
--switch-track-error-background: @switch-track-error-background;
|
|
14
|
-
--switch-ripple-color: @switch-ripple-color;
|
|
15
|
-
--switch-handle-background: @switch-handle-background;
|
|
16
|
-
--switch-handle-color: @switch-handle-color;
|
|
17
|
-
--switch-handle-active-background: @switch-handle-active-background;
|
|
18
|
-
--switch-handle-error-background: @switch-handle-error-background;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.var-switch {
|
|
22
|
-
display: inline-block;
|
|
23
|
-
|
|
24
|
-
&__block {
|
|
25
|
-
position: relative;
|
|
26
|
-
display: flex;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
29
|
-
align-items: center;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
height: 24px;
|
|
32
|
-
width: 40px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&--disable {
|
|
36
|
-
filter: opacity(0.6);
|
|
37
|
-
cursor: not-allowed;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&__track {
|
|
41
|
-
background: var(--switch-track-background);
|
|
42
|
-
transition: background-color 0.25s;
|
|
43
|
-
filter: opacity(0.6);
|
|
44
|
-
height: 14.4px;
|
|
45
|
-
width: 38px;
|
|
46
|
-
border-radius: calc(20px * 2 / 3);
|
|
47
|
-
|
|
48
|
-
&--active {
|
|
49
|
-
background-color: var(--switch-track-active-background);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&--error {
|
|
53
|
-
background-color: var(--switch-track-error-background) !important;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&__ripple {
|
|
58
|
-
position: absolute;
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
color: var(--switch-ripple-color);
|
|
63
|
-
border-radius: 50%;
|
|
64
|
-
overflow: hidden;
|
|
65
|
-
transition: 0.3s var(--cubic-bezier);
|
|
66
|
-
width: 40px;
|
|
67
|
-
height: 40px;
|
|
68
|
-
left: -10px;
|
|
69
|
-
|
|
70
|
-
&--active {
|
|
71
|
-
left: 10px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&__handle {
|
|
76
|
-
border-radius: 50%;
|
|
77
|
-
background-color: var(--switch-handle-background);
|
|
78
|
-
display: flex;
|
|
79
|
-
align-items: center;
|
|
80
|
-
justify-content: center;
|
|
81
|
-
color: var(--switch-handle-color);
|
|
82
|
-
transition: background-color 0.25s;
|
|
83
|
-
width: 20px;
|
|
84
|
-
height: 20px;
|
|
85
|
-
|
|
86
|
-
&--active {
|
|
87
|
-
background-color: var(--switch-handle-active-background);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&--error {
|
|
91
|
-
background-color: var(--switch-handle-error-background) !important;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
package/es/tab/TabSfc.less
DELETED
|
File without changes
|
package/es/tab/style/less.js
DELETED
package/es/tab/tab.less
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
@tab-padding: 12px;
|
|
2
|
-
@tab-active-color: var(--color-primary);
|
|
3
|
-
@tab-inactive-color: #646566;
|
|
4
|
-
@tab-disabled-color: var(--color-text-disabled);
|
|
5
|
-
@tab-font-size: var(--font-size-md);
|
|
6
|
-
|
|
7
|
-
:root {
|
|
8
|
-
--tab-padding: @tab-padding;
|
|
9
|
-
--tab-active-color: @tab-active-color;
|
|
10
|
-
--tab-inactive-color: @tab-inactive-color;
|
|
11
|
-
--tab-disabled-color: @tab-disabled-color;
|
|
12
|
-
--tab-font-size: @tab-font-size;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.var-tab {
|
|
16
|
-
display: flex;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
align-items: center;
|
|
19
|
-
flex: 1 0 auto;
|
|
20
|
-
padding: 0 var(--tab-padding);
|
|
21
|
-
font-size: var(--tab-font-size);
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
user-select: none;
|
|
24
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
25
|
-
|
|
26
|
-
&--active {
|
|
27
|
-
color: var(--tab-active-color);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&--inactive {
|
|
31
|
-
color: var(--tab-inactive-color);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&--disabled {
|
|
35
|
-
color: var(--tab-disabled-color);
|
|
36
|
-
cursor: not-allowed;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&--horizontal {
|
|
40
|
-
flex-direction: row;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&--vertical {
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
File without changes
|
package/es/tab-item/tabItem.less
DELETED
package/es/table/TableSfc.less
DELETED
|
File without changes
|
package/es/table/style/less.js
DELETED
package/es/table/table.less
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
@table-background: #fff;
|
|
2
|
-
@table-border-radius: 2px;
|
|
3
|
-
@table-thead-border-bottom: thin solid rgba(0, 0, 0, 0.12);
|
|
4
|
-
@table-thead-th-text-color: rgba(0, 0, 0, 0.6);
|
|
5
|
-
@table-thead-th-font-size: 14px;
|
|
6
|
-
@table-thead-tr-border-bottom: thin solid rgba(0, 0, 0, 0.12);
|
|
7
|
-
@table-tbody-tr-hover-background: #eee;
|
|
8
|
-
@table-tbody-tr-border-bottom: thin solid rgba(0, 0, 0, 0.12);
|
|
9
|
-
@table-tbody-td-font-size: 16px;
|
|
10
|
-
@table-row-height: 46px;
|
|
11
|
-
@table-row-padding: 0 16px;
|
|
12
|
-
@table-footer-border-top: thin solid rgba(0, 0, 0, 0.12);
|
|
13
|
-
|
|
14
|
-
:root {
|
|
15
|
-
--table-background: @table-background;
|
|
16
|
-
--table-border-radius: @table-border-radius;
|
|
17
|
-
--table-thead-border-bottom: @table-thead-border-bottom;
|
|
18
|
-
--table-thead-th-text-color: @table-thead-th-text-color;
|
|
19
|
-
--table-thead-th-font-size: @table-thead-th-font-size;
|
|
20
|
-
--table-thead-tr-border-bottom: @table-thead-tr-border-bottom;
|
|
21
|
-
--table-tbody-tr-hover-background: @table-tbody-tr-hover-background;
|
|
22
|
-
--table-tbody-tr-border-bottom: @table-tbody-tr-border-bottom;
|
|
23
|
-
--table-tbody-td-font-size: @table-tbody-td-font-size;
|
|
24
|
-
--table-row-height: @table-row-height;
|
|
25
|
-
--table-row-padding: @table-row-padding;
|
|
26
|
-
--table-footer-border-top: @table-footer-border-top;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.var-table {
|
|
30
|
-
width: 100%;
|
|
31
|
-
background: var(--table-background);
|
|
32
|
-
border-radius: var(--table-border-radius);
|
|
33
|
-
transition: 0.25s background-color;
|
|
34
|
-
|
|
35
|
-
* {
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&__main {
|
|
40
|
-
width: 100%;
|
|
41
|
-
overflow-x: auto;
|
|
42
|
-
|
|
43
|
-
> table {
|
|
44
|
-
min-width: 100%;
|
|
45
|
-
display: table;
|
|
46
|
-
border-spacing: 0;
|
|
47
|
-
border-collapse: collapse;
|
|
48
|
-
line-height: normal;
|
|
49
|
-
|
|
50
|
-
thead {
|
|
51
|
-
display: table-header-group;
|
|
52
|
-
border-bottom: var(--table-thead-border-bottom);
|
|
53
|
-
|
|
54
|
-
tr {
|
|
55
|
-
th {
|
|
56
|
-
color: var(--table-thead-th-text-color);
|
|
57
|
-
font-size: var(--table-thead-th-font-size);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:not(:last-child) {
|
|
61
|
-
border-bottom: var(--table-thead-tr-border-bottom);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
tbody {
|
|
67
|
-
display: table-row-group;
|
|
68
|
-
|
|
69
|
-
tr {
|
|
70
|
-
display: table-row;
|
|
71
|
-
outline: 0;
|
|
72
|
-
vertical-align: middle;
|
|
73
|
-
|
|
74
|
-
&:hover {
|
|
75
|
-
background: var(--table-tbody-tr-hover-background);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&:not(:last-child) {
|
|
79
|
-
border-bottom: var(--table-tbody-tr-border-bottom);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
td {
|
|
84
|
-
font-size: var(--table-tbody-td-font-size);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
th {
|
|
89
|
-
display: table-cell;
|
|
90
|
-
height: var(--table-row-height);
|
|
91
|
-
padding: var(--table-row-padding);
|
|
92
|
-
font-weight: 500;
|
|
93
|
-
text-align: left;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
td {
|
|
97
|
-
display: table-cell;
|
|
98
|
-
padding: var(--table-row-padding);
|
|
99
|
-
height: var(--table-row-height);
|
|
100
|
-
text-align: left;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&__footer {
|
|
106
|
-
width: 100%;
|
|
107
|
-
min-height: var(--table-row-height);
|
|
108
|
-
border-top: var(--table-footer-border-top);
|
|
109
|
-
}
|
|
110
|
-
}
|
package/es/tabs/TabsSfc.less
DELETED
|
File without changes
|
package/es/tabs/style/less.js
DELETED
package/es/tabs/tabs.less
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
@tabs-item-horizontal-height: 44px;
|
|
2
|
-
@tabs-item-vertical-height: 66px;
|
|
3
|
-
@tabs-radius: 2px;
|
|
4
|
-
@tabs-padding: 12px;
|
|
5
|
-
@tabs-indicator-size: 2px;
|
|
6
|
-
@tabs-indicator-background: var(--color-primary);
|
|
7
|
-
@tabs-background: #fff;
|
|
8
|
-
|
|
9
|
-
:root {
|
|
10
|
-
--tabs-item-horizontal-height: @tabs-item-horizontal-height;
|
|
11
|
-
--tabs-item-vertical-height: @tabs-item-vertical-height;
|
|
12
|
-
--tabs-radius: @tabs-radius;
|
|
13
|
-
--tabs-padding: @tabs-padding;
|
|
14
|
-
--tabs-indicator-size: @tabs-indicator-size;
|
|
15
|
-
--tabs-indicator-background: @tabs-indicator-background;
|
|
16
|
-
--tabs-background: @tabs-background;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.var-tabs {
|
|
20
|
-
border-radius: var(--tabs-radius);
|
|
21
|
-
background: var(--tabs-background);
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
transition: background-color 0.25s;
|
|
24
|
-
|
|
25
|
-
&__tab-wrap {
|
|
26
|
-
position: relative;
|
|
27
|
-
display: flex;
|
|
28
|
-
height: 100%;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&__indicator {
|
|
32
|
-
position: absolute;
|
|
33
|
-
z-index: 10;
|
|
34
|
-
transition-property: width, transform;
|
|
35
|
-
transition-duration: 0.3s;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&--layout-horizontal {
|
|
39
|
-
flex-direction: row;
|
|
40
|
-
|
|
41
|
-
&-scrollable {
|
|
42
|
-
overflow-x: auto;
|
|
43
|
-
overflow-y: hidden;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&-padding {
|
|
47
|
-
padding: 0 var(--tabs-padding);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&-indicator {
|
|
51
|
-
left: 0;
|
|
52
|
-
bottom: 0;
|
|
53
|
-
height: var(--tabs-indicator-size);
|
|
54
|
-
background: var(--tabs-indicator-background);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&--layout-vertical {
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
|
|
61
|
-
&-scrollable {
|
|
62
|
-
overflow-x: hidden;
|
|
63
|
-
overflow-y: auto;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&-padding {
|
|
67
|
-
padding: 0;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&-indicator {
|
|
71
|
-
left: 0;
|
|
72
|
-
top: 0;
|
|
73
|
-
width: var(--tabs-indicator-size);
|
|
74
|
-
background: var(--tabs-indicator-background);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&--item-horizontal {
|
|
79
|
-
height: var(--tabs-item-horizontal-height);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&--item-vertical {
|
|
83
|
-
height: var(--tabs-item-vertical-height);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&--fixed-bottom {
|
|
87
|
-
position: fixed;
|
|
88
|
-
width: 100%;
|
|
89
|
-
left: 0;
|
|
90
|
-
bottom: 0;
|
|
91
|
-
z-index: 99;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&--safe-area {
|
|
95
|
-
padding-bottom: constant(safe-area-inset-bottom); // iOS < 11.2
|
|
96
|
-
padding-bottom: env(safe-area-inset-bottom); // iOS >= 11.2
|
|
97
|
-
box-sizing: content-box !important;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
File without changes
|
package/es/themes/style/less.js
DELETED
|
File without changes
|
|
File without changes
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
@time-picker-border-radius: 4px;
|
|
2
|
-
@time-picker-font-size: var(--font-size-md);
|
|
3
|
-
@time-picker-min-width: 290px;
|
|
4
|
-
@time-picker-height: 385px;
|
|
5
|
-
@time-picker-title-padding: 16px;
|
|
6
|
-
@time-picker-title-color: #fff;
|
|
7
|
-
@time-picker-title-background: var(--color-primary);
|
|
8
|
-
@time-picker-title-time-font-size: 50px;
|
|
9
|
-
@time-picker-title-time-margin: 0 5px;
|
|
10
|
-
@time-picker-title-ampm-margin-left: 5px;
|
|
11
|
-
@time-picker-clock-left: 27px;
|
|
12
|
-
@time-picker-clock-right: 27px;
|
|
13
|
-
@time-picker-clock-top: 27px;
|
|
14
|
-
@time-picker-clock-bottom: 27px;
|
|
15
|
-
@time-picker-clock-container-width: 270px;
|
|
16
|
-
@time-picker-clock-container-height: 270px;
|
|
17
|
-
@time-picker-clock-container-background: #e0e0e0;
|
|
18
|
-
@time-picker-clock-hand-height: calc(50% - 4px);
|
|
19
|
-
@time-picker-clock-hand-width: 2px;
|
|
20
|
-
@time-picker-clock-hand-bottom: 50%;
|
|
21
|
-
@time-picker-clock-hand-left: calc(50% - 1px);
|
|
22
|
-
@time-picker-clock-hand-background: var(--color-primary);
|
|
23
|
-
@time-picker-clock-hand-border-color: var(--color-primary);
|
|
24
|
-
@time-picker-clock-hand-before-width: 10px;
|
|
25
|
-
@time-picker-clock-hand-before-height: 10px;
|
|
26
|
-
@time-picker-clock-hand-before-border-width: 2px;
|
|
27
|
-
@time-picker-clock-hand-after-width: 4px;
|
|
28
|
-
@time-picker-clock-hand-after-height: 4px;
|
|
29
|
-
@time-picker-clock-item-height: 32px;
|
|
30
|
-
@time-picker-clock-item-width: 32px;
|
|
31
|
-
@time-picker-clock-item-active-background: var(--color-primary);
|
|
32
|
-
@time-picker-clock-item-active-color: #fff;
|
|
33
|
-
@time-picker-clock-item-disable-color: rgba(0, 0, 0, 0.26);
|
|
34
|
-
@time-picker-body-background: transparent;
|
|
35
|
-
@time-picker-inner-left: 36px;
|
|
36
|
-
@time-picker-inner-right: 36px;
|
|
37
|
-
@time-picker-inner-top: 36px;
|
|
38
|
-
@time-picker-inner-bottom: 36px;
|
|
39
|
-
|
|
40
|
-
:root {
|
|
41
|
-
--time-picker-border-radius: @time-picker-border-radius;
|
|
42
|
-
--time-picker-font-size: @time-picker-font-size;
|
|
43
|
-
--time-picker-min-width: @time-picker-min-width;
|
|
44
|
-
--time-picker-height: @time-picker-height;
|
|
45
|
-
--time-picker-title-padding: @time-picker-title-padding;
|
|
46
|
-
--time-picker-title-color: @time-picker-title-color;
|
|
47
|
-
--time-picker-title-background: @time-picker-title-background;
|
|
48
|
-
--time-picker-title-time-font-size: @time-picker-title-time-font-size;
|
|
49
|
-
--time-picker-title-time-margin: @time-picker-title-time-margin;
|
|
50
|
-
--time-picker-title-ampm-margin-left: @time-picker-title-ampm-margin-left;
|
|
51
|
-
--time-picker-clock-left: @time-picker-clock-left;
|
|
52
|
-
--time-picker-clock-right: @time-picker-clock-right;
|
|
53
|
-
--time-picker-clock-top: @time-picker-clock-top;
|
|
54
|
-
--time-picker-clock-bottom: @time-picker-clock-bottom;
|
|
55
|
-
--time-picker-clock-container-width: @time-picker-clock-container-width;
|
|
56
|
-
--time-picker-clock-container-height: @time-picker-clock-container-height;
|
|
57
|
-
--time-picker-clock-container-background: @time-picker-clock-container-background;
|
|
58
|
-
--time-picker-clock-hand-height: @time-picker-clock-hand-height;
|
|
59
|
-
--time-picker-clock-hand-width: @time-picker-clock-hand-width;
|
|
60
|
-
--time-picker-clock-hand-bottom: @time-picker-clock-hand-bottom;
|
|
61
|
-
--time-picker-clock-hand-left: @time-picker-clock-hand-left;
|
|
62
|
-
--time-picker-clock-hand-background: @time-picker-clock-hand-background;
|
|
63
|
-
--time-picker-clock-hand-border-color: @time-picker-clock-hand-border-color;
|
|
64
|
-
--time-picker-clock-hand-before-width: @time-picker-clock-hand-before-width;
|
|
65
|
-
--time-picker-clock-hand-before-height: @time-picker-clock-hand-before-height;
|
|
66
|
-
--time-picker-clock-hand-before-border-width: @time-picker-clock-hand-before-border-width;
|
|
67
|
-
--time-picker-clock-hand-after-width: @time-picker-clock-hand-after-width;
|
|
68
|
-
--time-picker-clock-hand-after-height: @time-picker-clock-hand-after-height;
|
|
69
|
-
--time-picker-clock-item-height: @time-picker-clock-item-height;
|
|
70
|
-
--time-picker-clock-item-width: @time-picker-clock-item-width;
|
|
71
|
-
--time-picker-clock-item-active-background: @time-picker-clock-item-active-background;
|
|
72
|
-
--time-picker-clock-item-active-color: @time-picker-clock-item-active-color;
|
|
73
|
-
--time-picker-clock-item-disable-color: @time-picker-clock-item-disable-color;
|
|
74
|
-
--time-picker-inner-left: @time-picker-inner-left;
|
|
75
|
-
--time-picker-inner-right: @time-picker-inner-right;
|
|
76
|
-
--time-picker-inner-top: @time-picker-inner-top;
|
|
77
|
-
--time-picker-inner-bottom: @time-picker-inner-bottom;
|
|
78
|
-
--time-picker-body-background: @time-picker-body-background;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// Mixins
|
|
82
|
-
.after-before-basic {
|
|
83
|
-
content: '';
|
|
84
|
-
position: absolute;
|
|
85
|
-
border-radius: 100%;
|
|
86
|
-
left: 50%;
|
|
87
|
-
transform: translate(-50%, -50%);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.var-time-picker {
|
|
91
|
-
border-radius: var(--time-picker-border-radius);
|
|
92
|
-
contain: layout style;
|
|
93
|
-
display: flex;
|
|
94
|
-
width: 100%;
|
|
95
|
-
flex-direction: column;
|
|
96
|
-
font-size: var(--time-picker-font-size);
|
|
97
|
-
position: relative;
|
|
98
|
-
min-width: var(--time-picker-min-width);
|
|
99
|
-
height: var(--time-picker-height);
|
|
100
|
-
overflow: hidden;
|
|
101
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
102
|
-
|
|
103
|
-
&__title {
|
|
104
|
-
padding: var(--time-picker-title-padding);
|
|
105
|
-
color: var(--time-picker-title-color);
|
|
106
|
-
background: var(--time-picker-title-background);
|
|
107
|
-
display: flex;
|
|
108
|
-
align-items: flex-end;
|
|
109
|
-
justify-content: flex-end;
|
|
110
|
-
|
|
111
|
-
&-btn {
|
|
112
|
-
opacity: 0.6;
|
|
113
|
-
cursor: pointer;
|
|
114
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
115
|
-
transition: 0.3s var(--cubic-bezier);
|
|
116
|
-
white-space: nowrap;
|
|
117
|
-
|
|
118
|
-
&--active {
|
|
119
|
-
opacity: 1;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&-time {
|
|
124
|
-
display: flex;
|
|
125
|
-
justify-content: flex-end;
|
|
126
|
-
font-size: var(--time-picker-title-time-font-size);
|
|
127
|
-
|
|
128
|
-
.var-time-picker__title-btn {
|
|
129
|
-
align-items: center;
|
|
130
|
-
margin: var(--time-picker-title-time-margin);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&-ampm {
|
|
135
|
-
margin-left: var(--time-picker-title-ampm-margin-left);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&__body {
|
|
140
|
-
flex: 1;
|
|
141
|
-
display: flex;
|
|
142
|
-
align-items: center;
|
|
143
|
-
justify-content: center;
|
|
144
|
-
background-color: var(--time-picker-body-background);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&__clock {
|
|
148
|
-
position: absolute;
|
|
149
|
-
bottom: var(--time-picker-clock-bottom);
|
|
150
|
-
left: var(--time-picker-clock-left);
|
|
151
|
-
right: var(--time-picker-clock-right);
|
|
152
|
-
top: var(--time-picker-clock-top);
|
|
153
|
-
|
|
154
|
-
&-container {
|
|
155
|
-
width: var(--time-picker-clock-container-width);
|
|
156
|
-
height: var(--time-picker-clock-container-height);
|
|
157
|
-
background: var(--time-picker-clock-container-background);
|
|
158
|
-
border-radius: 50%;
|
|
159
|
-
position: relative;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&-hand {
|
|
163
|
-
height: var(--time-picker-clock-hand-height);
|
|
164
|
-
width: var(--time-picker-clock-hand-width);
|
|
165
|
-
bottom: var(--time-picker-clock-hand-bottom);
|
|
166
|
-
left: var(--time-picker-clock-hand-left);
|
|
167
|
-
transform-origin: center bottom;
|
|
168
|
-
position: absolute;
|
|
169
|
-
will-change: transform;
|
|
170
|
-
z-index: 1;
|
|
171
|
-
background-color: var(--time-picker-clock-hand-background);
|
|
172
|
-
border-color: var(--time-picker-clock-hand-border-color);
|
|
173
|
-
|
|
174
|
-
&::before {
|
|
175
|
-
.after-before-basic();
|
|
176
|
-
|
|
177
|
-
background: transparent;
|
|
178
|
-
border: var(--time-picker-clock-hand-before-border-width) solid;
|
|
179
|
-
width: var(--time-picker-clock-hand-before-width);
|
|
180
|
-
height: var(--time-picker-clock-hand-before-height);
|
|
181
|
-
top: -5px;
|
|
182
|
-
border-color: inherit;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&::after {
|
|
186
|
-
.after-before-basic();
|
|
187
|
-
|
|
188
|
-
border-color: inherit;
|
|
189
|
-
height: var(--time-picker-clock-hand-after-height);
|
|
190
|
-
width: var(--time-picker-clock-hand-after-width);
|
|
191
|
-
top: 100%;
|
|
192
|
-
border-style: solid;
|
|
193
|
-
background-color: inherit;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&-item {
|
|
198
|
-
align-items: center;
|
|
199
|
-
border-radius: 100%;
|
|
200
|
-
display: flex;
|
|
201
|
-
justify-content: center;
|
|
202
|
-
height: var(--time-picker-clock-item-height);
|
|
203
|
-
position: absolute;
|
|
204
|
-
width: var(--time-picker-clock-item-width);
|
|
205
|
-
user-select: none;
|
|
206
|
-
transform: translate(-50%, -50%);
|
|
207
|
-
|
|
208
|
-
&--active {
|
|
209
|
-
background: var(--time-picker-clock-item-active-background);
|
|
210
|
-
z-index: 2;
|
|
211
|
-
color: var(--time-picker-clock-item-active-color);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
&--disable {
|
|
215
|
-
color: var(--time-picker-clock-item-disable-color);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
&-inner {
|
|
220
|
-
position: absolute;
|
|
221
|
-
bottom: var(--time-picker-inner-bottom);
|
|
222
|
-
left: var(--time-picker-inner-left);
|
|
223
|
-
right: var(--time-picker-inner-right);
|
|
224
|
-
top: var(--time-picker-inner-top);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
&-panel-fade-enter-from,
|
|
229
|
-
&-panel-fade-leave-to {
|
|
230
|
-
transition: 0.3s var(--cubic-bezier);
|
|
231
|
-
opacity: 0;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
&-panel-fade-leave-active {
|
|
235
|
-
position: absolute;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
File without changes
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import '../../styles/common.less'
|
|
2
|
-
import '../../styles/elevation.less'
|
|
3
|
-
import '../../form-details/formDetails.less'
|
|
4
|
-
import '../../icon/icon.less'
|
|
5
|
-
import '../../popup/popup.less'
|
|
6
|
-
import '../../image-preview/imagePreview.less'
|
|
7
|
-
import '../uploader.less'
|
|
8
|
-
import '../UploaderSfc.less'
|