@varlet/ui 1.27.20 → 2.0.0-alpha.1663742071515
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/LICENCE +1 -1
- package/README.md +27 -33
- package/README.zh-CN.md +92 -0
- 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.js +5 -0
- package/es/lazy/index.js +1 -1
- package/es/loading/loading.css +1 -1
- package/es/loading/props.js +1 -2
- package/es/locale/index.js +7 -2
- 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/snackbar/style/index.js +1 -1
- package/es/space/Space.js +6 -2
- package/es/style-provider/StyleProvider.js +5 -1
- package/es/style-provider/index.js +1 -5
- 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.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 +0 -19
- package/es/varlet.esm.js +12805 -13960
- package/highlight/attributes.json +41 -9
- package/highlight/tags.json +14 -6
- package/highlight/web-types.json +83 -11
- 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 +1 -1
- package/lib/date-picker/props.js +1 -1
- package/lib/date-picker/src/day-picker-panel.js +1 -1
- package/lib/date-picker/src/month-picker-panel.js +1 -1
- 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.js +3 -0
- package/lib/lazy/index.js +1 -1
- package/lib/loading/loading.css +1 -1
- package/lib/loading/props.js +1 -2
- package/lib/locale/index.js +11 -1
- 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/space/Space.js +6 -2
- package/lib/style-provider/StyleProvider.js +5 -1
- package/lib/style-provider/index.js +1 -5
- 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.js +4 -2
- package/lib/themes/dark/menu.js +8 -0
- package/lib/themes/index.js +13 -0
- package/lib/time-picker/TimePicker.js +1 -1
- package/lib/time-picker/props.js +1 -1
- package/lib/utils/components.js +3 -3
- package/lib/utils/jest.js +0 -21
- package/package.json +10 -7
- package/types/actionSheet.d.ts +1 -2
- package/types/appBar.d.ts +4 -3
- package/types/backTop.d.ts +1 -2
- package/types/badge.d.ts +5 -4
- package/types/bottomNavigation.d.ts +1 -2
- package/types/bottomNavigationItem.d.ts +1 -2
- package/types/button.d.ts +7 -6
- package/types/card.d.ts +7 -8
- package/types/cell.d.ts +3 -4
- package/types/checkbox.d.ts +1 -2
- package/types/checkboxGroup.d.ts +4 -5
- package/types/chip.d.ts +3 -4
- package/types/col.d.ts +1 -2
- package/types/collapse.d.ts +1 -2
- package/types/collapseItem.d.ts +1 -2
- package/types/countdown.d.ts +1 -2
- package/types/counter.d.ts +3 -4
- package/types/datePicker.d.ts +5 -4
- package/types/dialog.d.ts +4 -3
- package/types/divider.d.ts +1 -2
- package/types/form.d.ts +1 -2
- package/types/icon.d.ts +1 -2
- package/types/image.d.ts +4 -3
- package/types/imagePreview.d.ts +2 -3
- package/types/index.d.ts +67 -0
- package/types/indexAnchor.d.ts +1 -2
- package/types/indexBar.d.ts +1 -2
- package/types/input.d.ts +6 -5
- package/types/list.d.ts +1 -2
- package/types/loading.d.ts +5 -4
- package/types/locale.d.ts +3 -0
- package/types/menu.d.ts +27 -3
- package/types/option.d.ts +1 -2
- package/types/pagination.d.ts +1 -2
- package/types/picker.d.ts +1 -2
- package/types/popup.d.ts +4 -3
- package/types/progress.d.ts +4 -3
- package/types/pullRefresh.d.ts +1 -2
- package/types/radio.d.ts +3 -4
- package/types/radioGroup.d.ts +4 -5
- package/types/rate.d.ts +1 -2
- package/types/row.d.ts +7 -4
- package/types/select.d.ts +6 -5
- package/types/skeleton.d.ts +1 -2
- package/types/slider.d.ts +4 -3
- package/types/snackbar.d.ts +9 -9
- package/types/space.d.ts +1 -2
- package/types/step.d.ts +1 -2
- package/types/steps.d.ts +2 -3
- package/types/sticky.d.ts +1 -2
- package/types/styleProvider.d.ts +2 -2
- package/types/swipe.d.ts +1 -2
- package/types/swipeItem.d.ts +1 -2
- package/types/switch.d.ts +1 -2
- package/types/tab.d.ts +1 -2
- package/types/tabItem.d.ts +1 -2
- package/types/table.d.ts +1 -2
- package/types/tabs.d.ts +3 -4
- package/types/tabsItems.d.ts +4 -2
- package/types/timePicker.d.ts +5 -4
- package/types/uploader.d.ts +12 -7
- package/types/varComponent.d.ts +6 -0
- package/umd/varlet.js +16 -4
- package/README.en-US.md +0 -93
- 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
|
@@ -183,6 +183,10 @@
|
|
|
183
183
|
"type": "string",
|
|
184
184
|
"description": "loading 的尺寸,可选值为 `large` `normal` `small` `mini` 不作用于 `loading-type=\"circle\"` 时 默认值:normal"
|
|
185
185
|
},
|
|
186
|
+
"var-button/loading-color": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"description": "loading 的颜色 默认值:currentColor"
|
|
189
|
+
},
|
|
186
190
|
"var-button/auto-loading": {
|
|
187
191
|
"type": "boolean",
|
|
188
192
|
"description": "自动 loading 模式,方便处理异步任务 默认值:false"
|
|
@@ -279,7 +283,7 @@
|
|
|
279
283
|
"type": "string",
|
|
280
284
|
"description": "左侧图标名称 默认值:-"
|
|
281
285
|
},
|
|
282
|
-
"var-cell/
|
|
286
|
+
"var-cell/description": {
|
|
283
287
|
"type": "string",
|
|
284
288
|
"description": "单元格描述 默认值:-"
|
|
285
289
|
},
|
|
@@ -295,7 +299,7 @@
|
|
|
295
299
|
"type": "string",
|
|
296
300
|
"description": "标题额外类名 默认值:-"
|
|
297
301
|
},
|
|
298
|
-
"var-cell/
|
|
302
|
+
"var-cell/description-class": {
|
|
299
303
|
"type": "string",
|
|
300
304
|
"description": "描述额外类名 默认值:-"
|
|
301
305
|
},
|
|
@@ -563,7 +567,7 @@
|
|
|
563
567
|
"type": "string",
|
|
564
568
|
"description": "标题背景色。如果未指定,将使用由 color 属性或默认颜色。 默认值:#2979ff"
|
|
565
569
|
},
|
|
566
|
-
"var-date-picker/
|
|
570
|
+
"var-date-picker/elevation": {
|
|
567
571
|
"type": "boolean",
|
|
568
572
|
"description": "是否添加阴影 默认值:false"
|
|
569
573
|
},
|
|
@@ -945,7 +949,7 @@
|
|
|
945
949
|
},
|
|
946
950
|
"var-loading/color": {
|
|
947
951
|
"type": "string",
|
|
948
|
-
"description": "loading 的颜色
|
|
952
|
+
"description": "loading 的颜色 默认值:-"
|
|
949
953
|
},
|
|
950
954
|
"var-loading/type": {
|
|
951
955
|
"type": "string",
|
|
@@ -953,7 +957,7 @@
|
|
|
953
957
|
},
|
|
954
958
|
"var-loading/size": {
|
|
955
959
|
"type": "string",
|
|
956
|
-
"description": "loading
|
|
960
|
+
"description": "loading 的大小,可选值为 `large` `normal` `small` `mini` 默认值:normal"
|
|
957
961
|
},
|
|
958
962
|
"var-loading/description": {
|
|
959
963
|
"type": "string",
|
|
@@ -987,6 +991,22 @@
|
|
|
987
991
|
"type": "TeleportProps['to']",
|
|
988
992
|
"description": "菜单挂载的位置 默认值:body"
|
|
989
993
|
},
|
|
994
|
+
"var-menu/disabled": {
|
|
995
|
+
"type": "boolean",
|
|
996
|
+
"description": "是否禁用菜单 默认值:false"
|
|
997
|
+
},
|
|
998
|
+
"var-menu/trigger": {
|
|
999
|
+
"type": "string",
|
|
1000
|
+
"description": "菜单触发方式,可选值为`click` `hover`,`click`为点击时触发,`hover`为悬停时触发 默认值:click"
|
|
1001
|
+
},
|
|
1002
|
+
"var-menu/placement": {
|
|
1003
|
+
"type": "string: cover-top | cover-top-start | cover-top-end | cover-bottom | cover-bottom-start | cover-bottom-end | cover-left | cover-right | ...",
|
|
1004
|
+
"description": "菜单显示位置,具体可参考 [popper文档](https://popper.js.org/docs/v2/) 默认值:cover-top-start"
|
|
1005
|
+
},
|
|
1006
|
+
"var-menu/defaultStyle": {
|
|
1007
|
+
"type": "boolean",
|
|
1008
|
+
"description": "是否启用默认样式 默认值:true"
|
|
1009
|
+
},
|
|
990
1010
|
"var-option/label": {
|
|
991
1011
|
"type": "any",
|
|
992
1012
|
"description": "选项显示的文本 默认值:-"
|
|
@@ -1497,11 +1517,19 @@
|
|
|
1497
1517
|
},
|
|
1498
1518
|
"var-snackbar/loading-type": {
|
|
1499
1519
|
"type": "string",
|
|
1500
|
-
"description": "
|
|
1520
|
+
"description": "Loading类型(见 `Loading` 组件) 默认值:circle"
|
|
1501
1521
|
},
|
|
1502
1522
|
"var-snackbar/loading-size": {
|
|
1503
1523
|
"type": "string",
|
|
1504
|
-
"description": "
|
|
1524
|
+
"description": "Loading大小(见 `Loading` 组件) 默认值:normal"
|
|
1525
|
+
},
|
|
1526
|
+
"var-snackbar/loading-color": {
|
|
1527
|
+
"type": "string",
|
|
1528
|
+
"description": "loading颜色(见`_loading`组件) 默认值:current_color"
|
|
1529
|
+
},
|
|
1530
|
+
"var-snackbar/loading-radius": {
|
|
1531
|
+
"type": "string | number",
|
|
1532
|
+
"description": "Loading半径大小(见 `Loading` 组件) 默认值:-"
|
|
1505
1533
|
},
|
|
1506
1534
|
"var-snackbar/lock-scroll": {
|
|
1507
1535
|
"type": "boolean",
|
|
@@ -1585,7 +1613,11 @@
|
|
|
1585
1613
|
},
|
|
1586
1614
|
"var-style-provider/style-vars": {
|
|
1587
1615
|
"type": "Record<string, string>",
|
|
1588
|
-
"description": "
|
|
1616
|
+
"description": "CSS 变量 默认值:{}"
|
|
1617
|
+
},
|
|
1618
|
+
"var-style-provider/tag": {
|
|
1619
|
+
"type": "string",
|
|
1620
|
+
"description": "自定义标签名 默认值:div"
|
|
1589
1621
|
},
|
|
1590
1622
|
"var-swipe/loop": {
|
|
1591
1623
|
"type": "boolean",
|
|
@@ -1767,7 +1799,7 @@
|
|
|
1767
1799
|
"type": "string",
|
|
1768
1800
|
"description": "标题背景色。如果未指定,将使用由 color 属性或默认颜色。 默认值:#2979ff"
|
|
1769
1801
|
},
|
|
1770
|
-
"var-time-picker/
|
|
1802
|
+
"var-time-picker/elevation": {
|
|
1771
1803
|
"type": "boolean",
|
|
1772
1804
|
"description": "是否添加阴影 默认值:false"
|
|
1773
1805
|
},
|
package/highlight/tags.json
CHANGED
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"loading-radius",
|
|
72
72
|
"loading-type",
|
|
73
73
|
"loading-size",
|
|
74
|
+
"loading-color",
|
|
74
75
|
"auto-loading",
|
|
75
76
|
"round",
|
|
76
77
|
"block",
|
|
@@ -103,11 +104,11 @@
|
|
|
103
104
|
"attributes": [
|
|
104
105
|
"title",
|
|
105
106
|
"icon",
|
|
106
|
-
"
|
|
107
|
+
"description",
|
|
107
108
|
"border",
|
|
108
109
|
"icon-class",
|
|
109
110
|
"title-class",
|
|
110
|
-
"
|
|
111
|
+
"description-class",
|
|
111
112
|
"extra-class"
|
|
112
113
|
]
|
|
113
114
|
},
|
|
@@ -210,7 +211,7 @@
|
|
|
210
211
|
"allowed-dates",
|
|
211
212
|
"color",
|
|
212
213
|
"header-color",
|
|
213
|
-
"
|
|
214
|
+
"elevation",
|
|
214
215
|
"first-day-of-week",
|
|
215
216
|
"min",
|
|
216
217
|
"max",
|
|
@@ -372,7 +373,11 @@
|
|
|
372
373
|
"alignment",
|
|
373
374
|
"offset-x",
|
|
374
375
|
"offset-y",
|
|
375
|
-
"teleport"
|
|
376
|
+
"teleport",
|
|
377
|
+
"disabled",
|
|
378
|
+
"trigger",
|
|
379
|
+
"placement",
|
|
380
|
+
"defaultStyle"
|
|
376
381
|
]
|
|
377
382
|
},
|
|
378
383
|
"var-option": {
|
|
@@ -561,6 +566,8 @@
|
|
|
561
566
|
"vertical",
|
|
562
567
|
"loading-type",
|
|
563
568
|
"loading-size",
|
|
569
|
+
"loading-color",
|
|
570
|
+
"loading-radius",
|
|
564
571
|
"lock-scroll",
|
|
565
572
|
"forbid-click",
|
|
566
573
|
"teleport"
|
|
@@ -601,7 +608,8 @@
|
|
|
601
608
|
},
|
|
602
609
|
"var-style-provider": {
|
|
603
610
|
"attributes": [
|
|
604
|
-
"style-vars"
|
|
611
|
+
"style-vars",
|
|
612
|
+
"tag"
|
|
605
613
|
]
|
|
606
614
|
},
|
|
607
615
|
"var-styles": {
|
|
@@ -688,7 +696,7 @@
|
|
|
688
696
|
"format",
|
|
689
697
|
"color",
|
|
690
698
|
"header-color",
|
|
691
|
-
"
|
|
699
|
+
"elevation",
|
|
692
700
|
"min",
|
|
693
701
|
"max",
|
|
694
702
|
"allowed-time",
|
package/highlight/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
|
-
"version": "1.27.
|
|
4
|
+
"version": "1.27.20",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -559,6 +559,15 @@
|
|
|
559
559
|
"kind": "expression"
|
|
560
560
|
}
|
|
561
561
|
},
|
|
562
|
+
{
|
|
563
|
+
"name": "loading-color",
|
|
564
|
+
"description": "loading 的颜色",
|
|
565
|
+
"default": "currentColor",
|
|
566
|
+
"value": {
|
|
567
|
+
"type": "string",
|
|
568
|
+
"kind": "expression"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
562
571
|
{
|
|
563
572
|
"name": "auto-loading",
|
|
564
573
|
"description": "自动 loading 模式,方便处理异步任务",
|
|
@@ -838,7 +847,7 @@
|
|
|
838
847
|
}
|
|
839
848
|
},
|
|
840
849
|
{
|
|
841
|
-
"name": "
|
|
850
|
+
"name": "description",
|
|
842
851
|
"description": "单元格描述",
|
|
843
852
|
"default": "-",
|
|
844
853
|
"value": {
|
|
@@ -874,7 +883,7 @@
|
|
|
874
883
|
}
|
|
875
884
|
},
|
|
876
885
|
{
|
|
877
|
-
"name": "
|
|
886
|
+
"name": "description-class",
|
|
878
887
|
"description": "描述额外类名",
|
|
879
888
|
"default": "-",
|
|
880
889
|
"value": {
|
|
@@ -903,7 +912,7 @@
|
|
|
903
912
|
"description": "自定义左侧 icon 区域"
|
|
904
913
|
},
|
|
905
914
|
{
|
|
906
|
-
"name": "
|
|
915
|
+
"name": "description",
|
|
907
916
|
"description": "描述的内容"
|
|
908
917
|
},
|
|
909
918
|
{
|
|
@@ -1679,7 +1688,7 @@
|
|
|
1679
1688
|
}
|
|
1680
1689
|
},
|
|
1681
1690
|
{
|
|
1682
|
-
"name": "
|
|
1691
|
+
"name": "elevation",
|
|
1683
1692
|
"description": "是否添加阴影",
|
|
1684
1693
|
"default": "false",
|
|
1685
1694
|
"value": {
|
|
@@ -2834,7 +2843,7 @@
|
|
|
2834
2843
|
{
|
|
2835
2844
|
"name": "color",
|
|
2836
2845
|
"description": "loading 的颜色",
|
|
2837
|
-
"default": "
|
|
2846
|
+
"default": "-",
|
|
2838
2847
|
"value": {
|
|
2839
2848
|
"type": "string",
|
|
2840
2849
|
"kind": "expression"
|
|
@@ -2851,7 +2860,7 @@
|
|
|
2851
2860
|
},
|
|
2852
2861
|
{
|
|
2853
2862
|
"name": "size",
|
|
2854
|
-
"description": "loading
|
|
2863
|
+
"description": "loading 的大小,可选值为 `large` `normal` `small` `mini`",
|
|
2855
2864
|
"default": "normal",
|
|
2856
2865
|
"value": {
|
|
2857
2866
|
"type": "string",
|
|
@@ -2951,6 +2960,42 @@
|
|
|
2951
2960
|
"type": "TeleportProps['to']",
|
|
2952
2961
|
"kind": "expression"
|
|
2953
2962
|
}
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"name": "disabled",
|
|
2966
|
+
"description": "是否禁用菜单",
|
|
2967
|
+
"default": "false",
|
|
2968
|
+
"value": {
|
|
2969
|
+
"type": "boolean",
|
|
2970
|
+
"kind": "expression"
|
|
2971
|
+
}
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"name": "trigger",
|
|
2975
|
+
"description": "菜单触发方式,可选值为`click` `hover`,`click`为点击时触发,`hover`为悬停时触发",
|
|
2976
|
+
"default": "click",
|
|
2977
|
+
"value": {
|
|
2978
|
+
"type": "string",
|
|
2979
|
+
"kind": "expression"
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "placement",
|
|
2984
|
+
"description": "菜单显示位置,具体可参考 [popper文档](https://popper.js.org/docs/v2/)",
|
|
2985
|
+
"default": "cover-top-start",
|
|
2986
|
+
"value": {
|
|
2987
|
+
"type": "string: cover-top | cover-top-start | cover-top-end | cover-bottom | cover-bottom-start | cover-bottom-end | cover-left | cover-right | ...",
|
|
2988
|
+
"kind": "expression"
|
|
2989
|
+
}
|
|
2990
|
+
},
|
|
2991
|
+
{
|
|
2992
|
+
"name": "defaultStyle",
|
|
2993
|
+
"description": "是否启用默认样式",
|
|
2994
|
+
"default": "true",
|
|
2995
|
+
"value": {
|
|
2996
|
+
"type": "boolean",
|
|
2997
|
+
"kind": "expression"
|
|
2998
|
+
}
|
|
2954
2999
|
}
|
|
2955
3000
|
],
|
|
2956
3001
|
"events": [
|
|
@@ -4417,7 +4462,7 @@
|
|
|
4417
4462
|
},
|
|
4418
4463
|
{
|
|
4419
4464
|
"name": "loading-type",
|
|
4420
|
-
"description": "
|
|
4465
|
+
"description": "Loading类型(见 `Loading` 组件)",
|
|
4421
4466
|
"default": "circle",
|
|
4422
4467
|
"value": {
|
|
4423
4468
|
"type": "string",
|
|
@@ -4426,13 +4471,31 @@
|
|
|
4426
4471
|
},
|
|
4427
4472
|
{
|
|
4428
4473
|
"name": "loading-size",
|
|
4429
|
-
"description": "
|
|
4474
|
+
"description": "Loading大小(见 `Loading` 组件)",
|
|
4430
4475
|
"default": "normal",
|
|
4431
4476
|
"value": {
|
|
4432
4477
|
"type": "string",
|
|
4433
4478
|
"kind": "expression"
|
|
4434
4479
|
}
|
|
4435
4480
|
},
|
|
4481
|
+
{
|
|
4482
|
+
"name": "loading-color",
|
|
4483
|
+
"description": "loading颜色(见`_loading`组件)",
|
|
4484
|
+
"default": "current_color",
|
|
4485
|
+
"value": {
|
|
4486
|
+
"type": "string",
|
|
4487
|
+
"kind": "expression"
|
|
4488
|
+
}
|
|
4489
|
+
},
|
|
4490
|
+
{
|
|
4491
|
+
"name": "loading-radius",
|
|
4492
|
+
"description": "Loading半径大小(见 `Loading` 组件)",
|
|
4493
|
+
"default": "-",
|
|
4494
|
+
"value": {
|
|
4495
|
+
"type": "string | number",
|
|
4496
|
+
"kind": "expression"
|
|
4497
|
+
}
|
|
4498
|
+
},
|
|
4436
4499
|
{
|
|
4437
4500
|
"name": "lock-scroll",
|
|
4438
4501
|
"description": "是否禁止滚动穿透",
|
|
@@ -4706,12 +4769,21 @@
|
|
|
4706
4769
|
"attributes": [
|
|
4707
4770
|
{
|
|
4708
4771
|
"name": "style-vars",
|
|
4709
|
-
"description": "
|
|
4772
|
+
"description": "CSS 变量",
|
|
4710
4773
|
"default": "{}",
|
|
4711
4774
|
"value": {
|
|
4712
4775
|
"type": "Record<string, string>",
|
|
4713
4776
|
"kind": "expression"
|
|
4714
4777
|
}
|
|
4778
|
+
},
|
|
4779
|
+
{
|
|
4780
|
+
"name": "tag",
|
|
4781
|
+
"description": "自定义标签名",
|
|
4782
|
+
"default": "div",
|
|
4783
|
+
"value": {
|
|
4784
|
+
"type": "string",
|
|
4785
|
+
"kind": "expression"
|
|
4786
|
+
}
|
|
4715
4787
|
}
|
|
4716
4788
|
],
|
|
4717
4789
|
"events": [],
|
|
@@ -5264,7 +5336,7 @@
|
|
|
5264
5336
|
}
|
|
5265
5337
|
},
|
|
5266
5338
|
{
|
|
5267
|
-
"name": "
|
|
5339
|
+
"name": "elevation",
|
|
5268
5340
|
"description": "是否添加阴影",
|
|
5269
5341
|
"default": "false",
|
|
5270
5342
|
"value": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --action-sheet-border-radius: 2px; --action-sheet-title-color: #888; --action-sheet-title-padding: 10px 16px; --action-sheet-title-font-size: 14px; --action-sheet-action-item-height: 48px; --action-sheet-action-item-padding:
|
|
1
|
+
:root { --action-sheet-border-radius: 2px; --action-sheet-title-color: #888; --action-sheet-title-padding: 10px 16px; --action-sheet-title-font-size: 14px; --action-sheet-action-item-height: 48px; --action-sheet-action-item-padding: 0 18px; --action-sheet-action-item-color: #333; --action-sheet-action-item-disabled-color: var(--color-text-disabled); --action-sheet-icon-margin: 0 20px 0 0; --action-sheet-icon-size: 24px; --action-sheet-background: #fff;}.var-action-sheet { padding: 10px 0; max-height: 80%; background: var(--action-sheet-background); transition: background-color 0.25s;}.var-action-sheet__popup-radius { border-radius: var(--action-sheet-border-radius);}.var-action-sheet__title { padding: var(--action-sheet-title-padding); color: var(--action-sheet-title-color); font-size: var(--action-sheet-title-font-size);}.var-action-sheet__action-item { display: flex; align-items: center; height: var(--action-sheet-action-item-height); padding: var(--action-sheet-action-item-padding); color: var(--action-sheet-action-item-color); cursor: pointer;}.var-action-sheet__action-name { overflow: auto; max-height: var(--action-sheet-action-item-height);}.var-action-sheet__action-icon[var-action-sheet-cover] { margin: var(--action-sheet-icon-margin); width: var(--action-sheet-icon-size); height: var(--action-sheet-icon-size); font-size: var(--action-sheet-icon-size);}.var-action-sheet--disabled { color: var(--action-sheet-action-item-disabled-color) !important; cursor: not-allowed;}
|
|
@@ -7,7 +7,7 @@ var _components = require("../utils/components");
|
|
|
7
7
|
|
|
8
8
|
var _props = require("../popup/props");
|
|
9
9
|
|
|
10
|
-
function _extends() { _extends = Object.assign
|
|
10
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
11
|
|
|
12
12
|
var props = _extends({
|
|
13
13
|
show: {
|
|
@@ -18,7 +18,7 @@ var _shared = require("@varlet/shared");
|
|
|
18
18
|
|
|
19
19
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
20
|
|
|
21
|
-
function _extends() { _extends = Object.assign
|
|
21
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
22
22
|
|
|
23
23
|
var {
|
|
24
24
|
n,
|
package/lib/button/Button.js
CHANGED
|
@@ -47,12 +47,13 @@ function render(_ctx, _cache) {
|
|
|
47
47
|
key: 0,
|
|
48
48
|
class: (0, _vue.normalizeClass)(_ctx.n('loading')),
|
|
49
49
|
"var-button-cover": "",
|
|
50
|
+
color: _ctx.loadingColor,
|
|
50
51
|
type: _ctx.loadingType,
|
|
51
52
|
size: _ctx.loadingSize,
|
|
52
53
|
radius: _ctx.loadingRadius
|
|
53
54
|
}, null, 8
|
|
54
55
|
/* PROPS */
|
|
55
|
-
, ["class", "type", "size", "radius"])) : (0, _vue.createCommentVNode)("v-if", true), (0, _vue.createElementVNode)("div", {
|
|
56
|
+
, ["class", "color", "type", "size", "radius"])) : (0, _vue.createCommentVNode)("v-if", true), (0, _vue.createElementVNode)("div", {
|
|
56
57
|
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('content'), [_ctx.loading || _ctx.pending, _ctx.n('--hidden')]))
|
|
57
58
|
}, [(0, _vue.renderSlot)(_ctx.$slots, "default")], 2
|
|
58
59
|
/* CLASS */
|
package/lib/button/button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --button-default-color: #f5f5f5; --button-primary-color: var(--color-primary); --button-danger-color: var(--color-danger); --button-success-color: var(--color-success); --button-warning-color: var(--color-warning); --button-info-color: var(--color-info); --button-disabled-color: var(--color-disabled); --button-disabled-text-color: var(--color-text-disabled); --button-border-radius: 4px; --button-mini-padding: 0 9px; --button-small-padding: 0 11px; --button-normal-padding: 0 15px; --button-large-padding: 0 22px; --button-round-padding: 6px; --button-mini-height: 20px; --button-small-height: 28px; --button-normal-height: 36px; --button-large-height: 44px;}.var-button { position: relative; justify-content: center; align-items: center; outline: none; border: none; border-radius: var(--button-border-radius); user-select: none; cursor: pointer; font-family: inherit; transition: box-shadow 0.2s, background-color 0.25s; will-change: box-shadow; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); white-space: nowrap;
|
|
1
|
+
:root { --button-default-color: #f5f5f5; --button-primary-color: var(--color-primary); --button-danger-color: var(--color-danger); --button-success-color: var(--color-success); --button-warning-color: var(--color-warning); --button-info-color: var(--color-info); --button-disabled-color: var(--color-disabled); --button-disabled-text-color: var(--color-text-disabled); --button-border-radius: 4px; --button-mini-padding: 0 9px; --button-small-padding: 0 11px; --button-normal-padding: 0 15px; --button-large-padding: 0 22px; --button-round-padding: 6px; --button-mini-height: 20px; --button-small-height: 28px; --button-normal-height: 36px; --button-large-height: 44px;}.var-button { position: relative; justify-content: center; align-items: center; outline: none; border: none; border-radius: var(--button-border-radius); user-select: none; cursor: pointer; font-family: inherit; transition: box-shadow 0.2s, background-color 0.25s; will-change: box-shadow; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); white-space: nowrap;}.var-button:active { box-shadow: 0 3px 5px -1px var(--shadow-key-umbra-opacity), 0 5px 8px 0 var(--shadow-key-penumbra-opacity), 0 1px 14px 0 var(--shadow-key-ambient-opacity);}.var-button__content { display: flex; align-items: center; flex-wrap: wrap;}.var-button__loading[var-button-cover] { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}.var-button--default { color: inherit; background-color: var(--button-default-color);}.var-button--primary { color: #fff; background-color: var(--button-primary-color);}.var-button--info { color: #fff; background-color: var(--button-info-color);}.var-button--success { color: #fff; background-color: var(--button-success-color);}.var-button--warning { color: #fff; background-color: var(--button-warning-color);}.var-button--danger { color: #fff; background-color: var(--button-danger-color);}.var-button--disabled { background-color: var(--button-disabled-color); color: var(--button-disabled-text-color); cursor: not-allowed; box-shadow: none !important;}.var-button--block { width: 100%;}.var-button--text { background-color: transparent;}.var-button--text:active { box-shadow: none;}.var-button--text-default { color: inherit;}.var-button--text-primary { color: var(--button-primary-color);}.var-button--text-info { color: var(--button-info-color);}.var-button--text-success { color: var(--button-success-color);}.var-button--text-warning { color: var(--button-warning-color);}.var-button--text-danger { color: var(--button-danger-color);}.var-button--text-disabled { color: var(--button-disabled-text-color);}.var-button--normal { height: var(--button-normal-height); padding: var(--button-normal-padding); font-size: var(--font-size-md);}.var-button--large { height: var(--button-large-height); padding: var(--button-large-padding); font-size: var(--font-size-lg);}.var-button--small { height: var(--button-small-height); padding: var(--button-small-padding); font-size: var(--font-size-sm);}.var-button--mini { height: var(--button-mini-height); padding: var(--button-mini-padding); font-size: var(--font-size-xs);}.var-button--round { padding: var(--button-round-padding); border-radius: 50%; height: auto;}.var-button--outline { border: thin solid currentColor;}.var-button--hidden { opacity: 0;}
|
package/lib/button/props.js
CHANGED
|
@@ -7,6 +7,8 @@ var _props = require("../loading/props");
|
|
|
7
7
|
|
|
8
8
|
var _components = require("../utils/components");
|
|
9
9
|
|
|
10
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
+
|
|
10
12
|
function typeValidator(type) {
|
|
11
13
|
return ['default', 'primary', 'info', 'success', 'warning', 'danger'].includes(type);
|
|
12
14
|
}
|
|
@@ -70,6 +72,9 @@ var props = {
|
|
|
70
72
|
},
|
|
71
73
|
loadingType: (0, _components.pickProps)(_props.props, 'type'),
|
|
72
74
|
loadingSize: (0, _components.pickProps)(_props.props, 'size'),
|
|
75
|
+
loadingColor: _extends({}, (0, _components.pickProps)(_props.props, 'color'), {
|
|
76
|
+
default: 'currentColor'
|
|
77
|
+
}),
|
|
73
78
|
onClick: {
|
|
74
79
|
type: Function
|
|
75
80
|
},
|
package/lib/card/Card.js
CHANGED
|
@@ -64,25 +64,21 @@ function render(_ctx, _cache) {
|
|
|
64
64
|
left: _ctx.floaterLeft,
|
|
65
65
|
overflow: _ctx.floaterOverflow,
|
|
66
66
|
position: _ctx.floaterPosition,
|
|
67
|
-
transition: _ctx.floated ? "background-color " + _ctx.floatingDuration + "ms, width " + _ctx.floatingDuration + "ms, height " + _ctx.floatingDuration + "ms, top " + _ctx.floatingDuration + "ms, left " + _ctx.floatingDuration + "ms" : undefined
|
|
67
|
+
transition: _ctx.floated ? "background-color " + _ctx.floatingDuration + "ms, color " + _ctx.floatingDuration + "ms, width " + _ctx.floatingDuration + "ms, height " + _ctx.floatingDuration + "ms, top " + _ctx.floatingDuration + "ms, left " + _ctx.floatingDuration + "ms" : undefined
|
|
68
68
|
})
|
|
69
|
-
}, [(0, _vue.renderSlot)(_ctx.$slots, "image", {}, () => {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}, null, 14
|
|
83
|
-
/* CLASS, STYLE, PROPS */
|
|
84
|
-
, _hoisted_1)) : (0, _vue.createCommentVNode)("v-if", true)];
|
|
85
|
-
}), (0, _vue.createElementVNode)("div", {
|
|
69
|
+
}, [(0, _vue.renderSlot)(_ctx.$slots, "image", {}, () => [_ctx.src ? ((0, _vue.openBlock)(), (0, _vue.createElementBlock)("img", {
|
|
70
|
+
key: 0,
|
|
71
|
+
class: (0, _vue.normalizeClass)(_ctx.n('image')),
|
|
72
|
+
style: (0, _vue.normalizeStyle)({
|
|
73
|
+
objectFit: _ctx.fit,
|
|
74
|
+
height: _ctx.toSizeUnit(_ctx.imageHeight),
|
|
75
|
+
width: _ctx.toSizeUnit(_ctx.imageWidth)
|
|
76
|
+
}),
|
|
77
|
+
src: _ctx.src,
|
|
78
|
+
alt: _ctx.alt
|
|
79
|
+
}, null, 14
|
|
80
|
+
/* CLASS, STYLE, PROPS */
|
|
81
|
+
, _hoisted_1)) : (0, _vue.createCommentVNode)("v-if", true)]), (0, _vue.createElementVNode)("div", {
|
|
86
82
|
class: (0, _vue.normalizeClass)(_ctx.n('container'))
|
|
87
83
|
}, [(0, _vue.renderSlot)(_ctx.$slots, "title", {}, () => [_ctx.title ? ((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
88
84
|
key: 0,
|
|
@@ -186,13 +182,13 @@ var _default = (0, _vue.defineComponent)({
|
|
|
186
182
|
var floaterOverflow = (0, _vue.ref)('hidden');
|
|
187
183
|
var contentHeight = (0, _vue.ref)('0px');
|
|
188
184
|
var opacity = (0, _vue.ref)('0');
|
|
189
|
-
var {
|
|
190
|
-
zIndex
|
|
191
|
-
} = (0, _zIndex.useZIndex)(() => props.floating, 1);
|
|
192
185
|
var isRow = (0, _vue.computed)(() => props.layout === 'row');
|
|
193
186
|
var showFloatingButtons = (0, _vue.ref)(false);
|
|
194
187
|
var floated = (0, _vue.ref)(false);
|
|
195
|
-
|
|
188
|
+
var {
|
|
189
|
+
zIndex
|
|
190
|
+
} = (0, _zIndex.useZIndex)(() => props.floating, 1);
|
|
191
|
+
(0, _lock.useLock)(() => props.floating, () => !isRow.value);
|
|
196
192
|
var dropdownFloaterTop = 'auto';
|
|
197
193
|
var dropdownFloaterLeft = 'auto';
|
|
198
194
|
var dropper = null;
|
package/lib/card/card.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --card-padding: 0 0 15px 0; --card-background: #fff; --card-border-radius: 4px; --card-image-width: 100%; --card-row-image-width: 140px; --card-image-height: 200px; --card-row-height: 140px; --card-title-color: #333; --card-title-font-size: 20px; --card-title-padding: 0 12px; --card-title-margin: 15px 0 0 0; --card-title-row-margin: 12px 0; --card-subtitle-color: rgba(0, 0, 0, 0.6); --card-subtitle-font-size: 14px; --card-subtitle-padding: 0 12px; --card-subtitle-margin: 10px 0 0 0; --card-subtitle-row-margin: -8px 0 0 0; --card-description-color: rgba(0, 0, 0, 0.6); --card-description-font-size: 14px; --card-description-margin: 20px 0 0 0; --card-description-padding: 0 13px; --card-footer-padding: 0 12px; --card-footer-right: 13px; --card-footer-bottom: 9px; --card-footer-margin: 30px 0
|
|
1
|
+
:root { --card-padding: 0 0 15px 0; --card-background: #fff; --card-border-radius: 4px; --card-image-width: 100%; --card-row-image-width: 140px; --card-image-height: 200px; --card-row-height: 140px; --card-title-color: #333; --card-title-font-size: 20px; --card-title-padding: 0 12px; --card-title-margin: 15px 0 0 0; --card-title-row-margin: 12px 0; --card-subtitle-color: rgba(0, 0, 0, 0.6); --card-subtitle-font-size: 14px; --card-subtitle-padding: 0 12px; --card-subtitle-margin: 10px 0 0 0; --card-subtitle-row-margin: -8px 0 0 0; --card-description-color: rgba(0, 0, 0, 0.6); --card-description-font-size: 14px; --card-description-margin: 20px 0 0 0; --card-description-padding: 0 13px; --card-footer-padding: 0 12px; --card-footer-right: 13px; --card-footer-bottom: 9px; --card-footer-margin: 30px 0 0 0; --card-line-height: 22px; --card-row-line-height: 1.5; --card-floating-buttons-bottom: 16px; --card-floating-buttons-right: 16px; --card-floating-buttons-color: #fff; --card-close-button-icon-size: 24px; --card-close-button-size: 56px; --card-close-button-primary-color: #212121;}.var-card { border-radius: var(--card-border-radius); overflow: hidden; width: 100%;}.var-card__floater { display: flex; flex-direction: column; position: static; line-height: var(--card-line-height); background: var(--card-background); transition: background-color 0.25s, color 0.25s; transition-timing-function: cubic-bezier(0.45, 0.19, 0.06, 0.89);}.var-card__container { padding: var(--card-padding); flex-grow: 1; min-width: 0;}.var-card--layout-row .var-card__floater { min-height: var(--card-row-height); height: 100%; flex-direction: row; position: relative; line-height: var(--card-row-line-height);}.var-card__image { width: var(--card-image-width); height: var(--card-image-height); display: block;}.var-card--layout-row .var-card__image { width: var(--card-row-image-width); height: auto; display: block; flex-shrink: 0;}.var-card__title { font-size: var(--card-title-font-size); padding: var(--card-title-padding); margin: var(--card-title-margin); color: var(--card-title-color); word-break: break-word;}.var-card--layout-row .var-card__title { max-width: 100%; overflow: hidden; margin: var(--card-title-row-margin); text-overflow: ellipsis; white-space: nowrap;}.var-card__subtitle { font-size: var(--card-subtitle-font-size); color: var(--card-subtitle-color); padding: var(--card-subtitle-padding); margin: var(--card-subtitle-margin); word-break: break-word;}.var-card--layout-row .var-card__subtitle { margin: var(--card-subtitle-row-margin); text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;}.var-card__description { font-size: var(--card-description-font-size); color: var(--card-description-color); margin: var(--card-description-margin); padding: var(--card-description-padding); word-break: break-all;}.var-card__footer { display: flex; justify-content: flex-end; padding: var(--card-footer-padding); margin: var(--card-footer-margin);}.var-card--layout-row .var-card__footer { position: absolute; padding: 0; right: var(--card-footer-right); bottom: var(--card-footer-bottom);}.var-card__content { overflow: hidden; transition-timing-function: cubic-bezier(0.45, 0.19, 0.06, 0.89);}.var-card__floating-buttons { position: fixed; bottom: var(--card-floating-buttons-bottom); right: var(--card-floating-buttons-right); color: var(--card-floating-buttons-color);}.var-card__close-button[var-card-cover] { padding: var(--card-close-button-padding); width: var(--card-close-button-size); height: var(--card-close-button-size); background-color: var(--card-close-button-primary-color);}.var-card__close-button-icon[var-card-cover] { font-size: var(--card-close-button-icon-size);}
|
package/lib/card/props.js
CHANGED
package/lib/cell/Cell.js
CHANGED
|
@@ -42,10 +42,10 @@ function render(_ctx, _cache) {
|
|
|
42
42
|
/* TEXT */
|
|
43
43
|
)])], 2
|
|
44
44
|
/* CLASS */
|
|
45
|
-
), _ctx.$slots.
|
|
45
|
+
), _ctx.$slots.description || _ctx.description ? ((0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
46
46
|
key: 0,
|
|
47
|
-
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('
|
|
48
|
-
}, [(0, _vue.renderSlot)(_ctx.$slots, "
|
|
47
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n('description'), [_ctx.descriptionClass, _ctx.descriptionClass]))
|
|
48
|
+
}, [(0, _vue.renderSlot)(_ctx.$slots, "description", {}, () => [(0, _vue.createTextVNode)((0, _vue.toDisplayString)(_ctx.description), 1
|
|
49
49
|
/* TEXT */
|
|
50
50
|
)])], 2
|
|
51
51
|
/* CLASS */
|
package/lib/cell/cell.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --cell-color: var(--color-text); --cell-font-size: var(--font-size-md); --cell-
|
|
1
|
+
:root { --cell-color: var(--color-text); --cell-font-size: var(--font-size-md); --cell-description-font-size: var(--font-size-sm); --cell-description-color: rgba(0, 0, 0, 0.6); --cell-padding: 10px 12px; --cell-min-height: 40px; --cell-border-color: #bcc2cb; --cell-border-left: 12px; --cell-border-right: 12px; --cell-icon-right: 8px; --cell-extra-left: 8px;}.var-cell { align-items: center; display: flex; min-height: var(--cell-min-height); outline: none; width: 100%; padding: var(--cell-padding); position: relative; box-sizing: border-box; font-size: var(--cell-font-size); color: var(--cell-color);}.var-cell--border::after { position: absolute; box-sizing: border-box; content: ' '; pointer-events: none; right: var(--cell-border-right); bottom: 0; left: var(--cell-border-left); border-bottom: 1px solid var(--cell-border-color); transform: scaleY(0.5);}.var-cell__icon { margin-right: var(--cell-icon-right); flex: 0;}.var-cell__content { flex: 1; overflow: hidden;}.var-cell__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}.var-cell__description { font-size: var(--cell-description-font-size); color: var(--cell-description-color);}.var-cell__extra { flex: 0; margin-left: var(--cell-extra-left);}
|
package/lib/cell/props.js
CHANGED
|
@@ -9,7 +9,7 @@ var props = {
|
|
|
9
9
|
icon: {
|
|
10
10
|
type: String
|
|
11
11
|
},
|
|
12
|
-
|
|
12
|
+
description: {
|
|
13
13
|
type: String
|
|
14
14
|
},
|
|
15
15
|
border: {
|
|
@@ -22,7 +22,7 @@ var props = {
|
|
|
22
22
|
titleClass: {
|
|
23
23
|
type: String
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
descriptionClass: {
|
|
26
26
|
type: String
|
|
27
27
|
},
|
|
28
28
|
extraClass: {
|
package/lib/chip/chip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --chip-default-color: #e0e0e0; --chip-primary-color: var(--color-primary); --chip-danger-color: var(--color-danger); --chip-success-color: var(--color-success); --chip-warning-color: var(--color-warning); --chip-info-color: var(--color-info); --chip-border-radius: 2px; --chip-normal-height: 32px; --chip-large-height: 40px; --chip-small-height: 24px; --chip-mini-height: 16px; --chip-round-radius: 100px; --chip-normal-padding:
|
|
1
|
+
:root { --chip-default-color: #e0e0e0; --chip-primary-color: var(--color-primary); --chip-danger-color: var(--color-danger); --chip-success-color: var(--color-success); --chip-warning-color: var(--color-warning); --chip-info-color: var(--color-info); --chip-border-radius: 2px; --chip-normal-height: 32px; --chip-large-height: 40px; --chip-small-height: 24px; --chip-mini-height: 16px; --chip-round-radius: 100px; --chip-normal-padding: 0 10px; --chip-large-padding: 0 17px; --chip-small-padding: 0 6px; --chip-mini-padding: 0 4px; --chip-text-normal-margin: 0 5px; --chip-text-large-margin: 0 5px; --chip-text-small-margin: 0 3px; --chip-text-mini-margin: 0 2px;}.var-fade-leave-to { opacity: 0;}.var-fade-leave-active { transition: opacity 0.3s;}.var-chip { justify-content: center; align-items: center; font-family: Roboto, sans-serif; border-radius: var(--chip-border-radius); cursor: default; border: thin solid transparent; vertical-align: middle; transition: background-color 0.25s;}.var-chip--default { color: inherit; background: var(--chip-default-color);}.var-chip--primary { color: #fff; background-color: var(--chip-primary-color);}.var-chip--info { color: #fff; background-color: var(--chip-info-color);}.var-chip--success { color: #fff; background-color: var(--chip-success-color);}.var-chip--warning { color: #fff; background-color: var(--chip-warning-color);}.var-chip--danger { color: #fff; background-color: var(--chip-danger-color);}.var-chip__plain { background-color: transparent;}.var-chip__plain:active { box-shadow: none;}.var-chip__plain-default { color: inherit; border-color: currentColor;}.var-chip__plain-primary { color: var(--chip-primary-color); border-color: currentColor;}.var-chip__plain-info { color: var(--chip-info-color); border-color: currentColor;}.var-chip__plain-success { color: var(--chip-success-color); border-color: currentColor;}.var-chip__plain-warning { color: var(--chip-warning-color); border-color: currentColor;}.var-chip__plain-danger { color: var(--chip-danger-color); border-color: currentColor;}.var-chip--round { border-radius: var(--chip-round-radius);}.var-chip--normal { font-size: var(--font-size-md); padding: var(--chip-normal-padding); height: var(--chip-normal-height);}.var-chip--large { padding: var(--chip-large-padding); font-size: var(--font-size-lg); height: var(--chip-large-height);}.var-chip--small { padding: var(--chip-small-padding); font-size: var(--font-size-sm); height: var(--chip-small-height);}.var-chip--mini { padding: var(--chip-mini-padding); font-size: var(--font-size-xs); height: var(--chip-mini-height);}.var-chip--close { cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.var-chip__text-large { margin: var(--chip-text-large-margin);}.var-chip__text-normal { margin: var(--chip-text-normal-margin);}.var-chip__text-small { margin: var(--chip-text-small-margin);}.var-chip__text-mini { margin: var(--chip-text-mini-margin);}
|
|
@@ -39,7 +39,7 @@ function render(_ctx, _cache) {
|
|
|
39
39
|
var _component_day_picker_panel = (0, _vue.resolveComponent)("day-picker-panel");
|
|
40
40
|
|
|
41
41
|
return (0, _vue.openBlock)(), (0, _vue.createElementBlock)("div", {
|
|
42
|
-
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n(), [_ctx.
|
|
42
|
+
class: (0, _vue.normalizeClass)(_ctx.classes(_ctx.n(), [_ctx.elevation, 'var-elevation--2']))
|
|
43
43
|
}, [(0, _vue.createElementVNode)("div", {
|
|
44
44
|
class: (0, _vue.normalizeClass)(_ctx.n('title')),
|
|
45
45
|
style: (0, _vue.normalizeStyle)({
|
package/lib/date-picker/props.js
CHANGED
|
@@ -26,7 +26,7 @@ var _locale = require("../../locale");
|
|
|
26
26
|
|
|
27
27
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
28
28
|
|
|
29
|
-
function _extends() { _extends = Object.assign
|
|
29
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
30
30
|
|
|
31
31
|
_dayjs.default.extend(_isSameOrBefore.default);
|
|
32
32
|
|