zartui 3.1.8 → 3.1.10
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/README.md +23 -25
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +1 -0
- package/es/action-sheet/types.d.ts +14 -0
- package/es/action-sheet/types.mjs +0 -0
- package/es/avatar/index.css +1 -1
- package/es/avatar/index.d.ts +1 -1
- package/es/avatar/types.d.ts +10 -0
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +1 -0
- package/es/badge/types.d.ts +15 -0
- package/es/badge/types.mjs +0 -0
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +1 -1
- package/es/button/types.d.ts +35 -0
- package/es/calendar/CalendarDay.mjs +8 -1
- package/es/calendar/CalendarHeader.mjs +2 -2
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +1 -1
- package/es/calendar/types.d.ts +25 -0
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/types.d.ts +21 -0
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +1 -1
- package/es/cell/types.d.ts +24 -0
- package/es/cell-group/index.css +1 -1
- package/es/checkbox/Checker.mjs +6 -0
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +1 -1
- package/es/checkbox/types.d.ts +19 -0
- package/es/checkbox-group/index.css +1 -1
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/types.d.ts +8 -0
- package/es/config-provider/index.d.ts +2 -1
- package/es/config-provider/types.d.ts +138 -0
- package/es/config-provider/types.mjs +0 -0
- package/es/date-time-picker/DateTimePicker.d.ts +2 -2
- package/es/date-time-picker/DateTimePickerWrapper.d.ts +2 -2
- package/es/date-time-picker/index.css +1 -1
- package/es/date-time-picker/index.d.ts +2 -2
- package/es/date-time-picker/utils.d.ts +1 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +2 -2
- package/es/dialog/types.d.ts +18 -0
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +1 -0
- package/es/divider/types.d.ts +8 -0
- package/es/divider/types.mjs +0 -0
- package/es/dropdown-item/DropdownItem.mjs +1 -0
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +1 -1
- package/es/dropdown-item/types.d.ts +3 -0
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +1 -1
- package/es/dropdown-menu/types.d.ts +12 -0
- package/es/empty/Empty.mjs +5 -3
- package/es/empty/Images.d.ts +20 -9
- package/es/empty/Images.mjs +755 -563
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +1 -0
- package/es/empty/types.d.ts +8 -0
- package/es/empty/types.mjs +0 -0
- package/es/field/Field.mjs +2 -0
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +1 -1
- package/es/field/types.d.ts +22 -0
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +1 -0
- package/es/grid-item/types.d.ts +7 -0
- package/es/grid-item/types.mjs +0 -0
- package/es/hierarchy-select/Breadcrumb.mjs +1 -1
- package/es/hierarchy-select/HierarchySelect.d.ts +29 -1
- package/es/hierarchy-select/HierarchySelect.mjs +140 -26
- package/es/hierarchy-select/index.css +1 -1
- package/es/hierarchy-select/index.d.ts +21 -2
- package/es/hierarchy-select/svg/SubIcon.d.ts +2 -1
- package/es/hierarchy-select/svg/SubIcon.mjs +10 -29
- package/es/hierarchy-select/types.d.ts +21 -0
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +1 -0
- package/es/image/types.d.ts +5 -0
- package/es/image/types.mjs +0 -0
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.d.ts +2 -2
- package/es/image-preview/types.d.ts +10 -0
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/types.d.ts +1 -3
- package/es/index-bar/IndexBar.d.ts +42 -1
- package/es/index-bar/IndexBar.mjs +189 -52
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +30 -1
- package/es/index-bar/types.d.ts +4 -3
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/lazyload/vue-lazyload/index.d.ts +55 -55
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/list/types.d.ts +5 -0
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +1 -0
- package/es/loading/types.d.ts +6 -0
- package/es/loading/types.mjs +0 -0
- package/es/media-picker/index.css +1 -1
- package/es/media-picker/index.d.ts +1 -1
- package/es/media-picker/type.d.ts +12 -0
- package/es/media-player/index.css +1 -1
- package/es/multiple-picker/MultiplePicker.d.ts +3 -3
- package/es/multiple-picker/index.css +1 -1
- package/es/multiple-picker/index.d.ts +4 -3
- package/es/multiple-picker/types.d.ts +17 -0
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +1 -0
- package/es/nav-bar/types.d.ts +16 -0
- package/es/nav-bar/types.mjs +0 -0
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notice-bar/types.d.ts +10 -0
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +1 -1
- package/es/notify/types.d.ts +8 -0
- package/es/number-keyboard/NumberKeyboard.mjs +5 -20
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +1 -0
- package/es/number-keyboard/style/index.mjs +0 -1
- package/es/number-keyboard/types.d.ts +14 -0
- package/es/number-keyboard/types.mjs +0 -0
- package/es/overlay/index.d.ts +1 -0
- package/es/overlay/types.d.ts +4 -0
- package/es/overlay/types.mjs +0 -0
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +1 -0
- package/es/password-input/types.d.ts +15 -0
- package/es/password-input/types.mjs +0 -0
- package/es/picker/Picker.d.ts +6 -6
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +7 -7
- package/es/picker/types.d.ts +17 -0
- package/es/popover/Popover.mjs +1 -1
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +1 -1
- package/es/popover/types.d.ts +12 -0
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +1 -1
- package/es/popup/types.d.ts +8 -0
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +1 -0
- package/es/pull-refresh/types.d.ts +6 -0
- package/es/pull-refresh/types.mjs +0 -0
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +1 -0
- package/es/radio/types.d.ts +18 -0
- package/es/radio/types.mjs +0 -0
- package/es/radio-group/index.css +1 -1
- package/es/radio-picker/RadioPicker.d.ts +3 -3
- package/es/radio-picker/index.css +1 -1
- package/es/radio-picker/index.d.ts +4 -4
- package/es/radio-picker/types.d.ts +24 -0
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +1 -0
- package/es/rate/types.d.ts +6 -0
- package/es/rate/types.mjs +0 -0
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +1 -1
- package/es/search/types.d.ts +12 -0
- package/es/signature/index.css +1 -1
- package/es/signature/index.d.ts +1 -1
- package/es/signature/types.d.ts +9 -0
- package/es/skeleton/index.d.ts +1 -0
- package/es/skeleton/types.d.ts +9 -0
- package/es/skeleton/types.mjs +0 -0
- package/es/step/Step.mjs +2 -2
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +1 -0
- package/es/step/types.d.ts +6 -0
- package/es/step/types.mjs +0 -0
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +1 -0
- package/es/stepper/types.d.ts +17 -0
- package/es/stepper/types.mjs +0 -0
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +1 -0
- package/es/steps/types.d.ts +5 -0
- package/es/steps/types.mjs +0 -0
- package/es/sticky/index.d.ts +1 -0
- package/es/sticky/types.d.ts +3 -0
- package/es/sticky/types.mjs +0 -0
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +1 -1
- package/es/swipe/types.d.ts +10 -0
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +1 -0
- package/es/switch/types.d.ts +18 -0
- package/es/switch/types.mjs +0 -0
- package/es/tabbar/index.d.ts +1 -0
- package/es/tabbar/types.d.ts +5 -0
- package/es/tabbar/types.mjs +0 -0
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +1 -0
- package/es/tabbar-item/types.d.ts +14 -0
- package/es/tabbar-item/types.mjs +0 -0
- package/es/table/index.css +1 -1
- package/es/table/index.d.ts +1 -0
- package/es/table/types.d.ts +10 -0
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +1 -1
- package/es/tabs/types.d.ts +17 -0
- package/es/tag/Tag.mjs +5 -4
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +1 -0
- package/es/tag/types.d.ts +17 -0
- package/es/tag/types.mjs +0 -0
- package/es/text-ellipsis/index.css +1 -1
- package/es/text-ellipsis/types.d.ts +1 -0
- package/es/time-picker/TimePicker.d.ts +2 -2
- package/es/time-picker/index.css +1 -1
- package/es/time-picker/index.d.ts +3 -2
- package/es/time-picker/types.d.ts +23 -0
- package/es/time-picker/types.mjs +0 -0
- package/es/timeline/index.css +1 -1
- package/es/timeline/index.d.ts +1 -0
- package/es/timeline/types.d.ts +9 -0
- package/es/timeline/types.mjs +0 -0
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +1 -1
- package/es/toast/types.d.ts +15 -0
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +1 -1
- package/es/uploader/types.d.ts +21 -0
- package/es/vue-sfc-shim.d.ts +6 -6
- package/es/vue-tsx-shim.d.ts +23 -23
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +1 -0
- package/lib/action-sheet/types.d.ts +14 -0
- package/lib/action-sheet/types.js +15 -0
- package/lib/avatar/index.css +1 -1
- package/lib/avatar/index.d.ts +1 -1
- package/lib/avatar/types.d.ts +10 -0
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +1 -0
- package/lib/badge/types.d.ts +15 -0
- package/lib/badge/types.js +15 -0
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +1 -1
- package/lib/button/types.d.ts +35 -0
- package/lib/calendar/CalendarDay.js +8 -1
- package/lib/calendar/CalendarHeader.js +2 -2
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +1 -1
- package/lib/calendar/types.d.ts +25 -0
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/types.d.ts +21 -0
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +1 -1
- package/lib/cell/types.d.ts +24 -0
- package/lib/cell-group/index.css +1 -1
- package/lib/checkbox/Checker.js +6 -0
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/types.d.ts +19 -0
- package/lib/checkbox-group/index.css +1 -1
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/types.d.ts +8 -0
- package/lib/config-provider/index.d.ts +2 -1
- package/lib/config-provider/types.d.ts +138 -0
- package/lib/config-provider/types.js +15 -0
- package/lib/date-time-picker/DateTimePicker.d.ts +2 -2
- package/lib/date-time-picker/DateTimePickerWrapper.d.ts +2 -2
- package/lib/date-time-picker/index.css +1 -1
- package/lib/date-time-picker/index.d.ts +2 -2
- package/lib/date-time-picker/utils.d.ts +1 -1
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +2 -2
- package/lib/dialog/types.d.ts +18 -0
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +1 -0
- package/lib/divider/types.d.ts +8 -0
- package/lib/divider/types.js +15 -0
- package/lib/dropdown-item/DropdownItem.js +1 -0
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +1 -1
- package/lib/dropdown-item/types.d.ts +3 -0
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/types.d.ts +12 -0
- package/lib/empty/Empty.js +4 -2
- package/lib/empty/Images.d.ts +20 -9
- package/lib/empty/Images.js +755 -563
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +1 -0
- package/lib/empty/types.d.ts +8 -0
- package/lib/empty/types.js +15 -0
- package/lib/field/Field.js +2 -0
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +1 -1
- package/lib/field/types.d.ts +22 -0
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +1 -0
- package/lib/grid-item/types.d.ts +7 -0
- package/lib/grid-item/types.js +15 -0
- package/lib/hierarchy-select/Breadcrumb.js +1 -1
- package/lib/hierarchy-select/HierarchySelect.d.ts +29 -1
- package/lib/hierarchy-select/HierarchySelect.js +138 -24
- package/lib/hierarchy-select/index.css +1 -1
- package/lib/hierarchy-select/index.d.ts +21 -2
- package/lib/hierarchy-select/svg/SubIcon.d.ts +2 -1
- package/lib/hierarchy-select/svg/SubIcon.js +9 -28
- package/lib/hierarchy-select/types.d.ts +21 -0
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +1 -0
- package/lib/image/types.d.ts +5 -0
- package/lib/image/types.js +15 -0
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.d.ts +2 -2
- package/lib/image-preview/types.d.ts +10 -0
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/types.d.ts +1 -3
- package/lib/index-bar/IndexBar.d.ts +42 -1
- package/lib/index-bar/IndexBar.js +188 -51
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +30 -1
- package/lib/index-bar/types.d.ts +4 -3
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/list/types.d.ts +5 -0
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +1 -0
- package/lib/loading/types.d.ts +6 -0
- package/lib/loading/types.js +15 -0
- package/lib/media-picker/index.css +1 -1
- package/lib/media-picker/index.d.ts +1 -1
- package/lib/media-picker/type.d.ts +12 -0
- package/lib/media-player/index.css +1 -1
- package/lib/multiple-picker/MultiplePicker.d.ts +3 -3
- package/lib/multiple-picker/index.css +1 -1
- package/lib/multiple-picker/index.d.ts +4 -3
- package/lib/multiple-picker/types.d.ts +17 -0
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +1 -0
- package/lib/nav-bar/types.d.ts +16 -0
- package/lib/nav-bar/types.js +15 -0
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notice-bar/types.d.ts +10 -0
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +1 -1
- package/lib/notify/types.d.ts +8 -0
- package/lib/number-keyboard/NumberKeyboard.js +4 -19
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +1 -0
- package/lib/number-keyboard/style/index.js +0 -1
- package/lib/number-keyboard/types.d.ts +14 -0
- package/lib/number-keyboard/types.js +15 -0
- package/lib/overlay/index.d.ts +1 -0
- package/lib/overlay/types.d.ts +4 -0
- package/lib/overlay/types.js +15 -0
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +1 -0
- package/lib/password-input/types.d.ts +15 -0
- package/lib/password-input/types.js +15 -0
- package/lib/picker/Picker.d.ts +6 -6
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +7 -7
- package/lib/picker/types.d.ts +17 -0
- package/lib/popover/Popover.js +1 -1
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/types.d.ts +12 -0
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +1 -1
- package/lib/popup/types.d.ts +8 -0
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +1 -0
- package/lib/pull-refresh/types.d.ts +6 -0
- package/lib/pull-refresh/types.js +15 -0
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/types.d.ts +18 -0
- package/lib/radio/types.js +15 -0
- package/lib/radio-group/index.css +1 -1
- package/lib/radio-picker/RadioPicker.d.ts +3 -3
- package/lib/radio-picker/index.css +1 -1
- package/lib/radio-picker/index.d.ts +4 -4
- package/lib/radio-picker/types.d.ts +24 -0
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +1 -0
- package/lib/rate/types.d.ts +6 -0
- package/lib/rate/types.js +15 -0
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +1 -1
- package/lib/search/types.d.ts +12 -0
- package/lib/signature/index.css +1 -1
- package/lib/signature/index.d.ts +1 -1
- package/lib/signature/types.d.ts +9 -0
- package/lib/skeleton/index.d.ts +1 -0
- package/lib/skeleton/types.d.ts +9 -0
- package/lib/skeleton/types.js +15 -0
- package/lib/step/Step.js +2 -2
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +1 -0
- package/lib/step/types.d.ts +6 -0
- package/lib/step/types.js +15 -0
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +1 -0
- package/lib/stepper/types.d.ts +17 -0
- package/lib/stepper/types.js +15 -0
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +1 -0
- package/lib/steps/types.d.ts +5 -0
- package/lib/steps/types.js +15 -0
- package/lib/sticky/index.d.ts +1 -0
- package/lib/sticky/types.d.ts +3 -0
- package/lib/sticky/types.js +15 -0
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +1 -1
- package/lib/swipe/types.d.ts +10 -0
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/types.d.ts +18 -0
- package/lib/switch/types.js +15 -0
- package/lib/tabbar/index.d.ts +1 -0
- package/lib/tabbar/types.d.ts +5 -0
- package/lib/tabbar/types.js +15 -0
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +1 -0
- package/lib/tabbar-item/types.d.ts +14 -0
- package/lib/tabbar-item/types.js +15 -0
- package/lib/table/index.css +1 -1
- package/lib/table/index.d.ts +1 -0
- package/lib/table/types.d.ts +10 -0
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/types.d.ts +17 -0
- package/lib/tag/Tag.js +5 -4
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +1 -0
- package/lib/tag/types.d.ts +17 -0
- package/lib/tag/types.js +15 -0
- package/lib/text-ellipsis/index.css +1 -1
- package/lib/text-ellipsis/types.d.ts +1 -0
- package/lib/time-picker/TimePicker.d.ts +2 -2
- package/lib/time-picker/index.css +1 -1
- package/lib/time-picker/index.d.ts +3 -2
- package/lib/time-picker/types.d.ts +23 -0
- package/lib/time-picker/types.js +15 -0
- package/lib/timeline/index.css +1 -1
- package/lib/timeline/index.d.ts +1 -0
- package/lib/timeline/types.d.ts +9 -0
- package/lib/timeline/types.js +15 -0
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +1 -1
- package/lib/toast/types.d.ts +15 -0
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +1 -1
- package/lib/uploader/types.d.ts +21 -0
- package/lib/vue-sfc-shim.d.ts +6 -6
- package/lib/vue-tsx-shim.d.ts +23 -23
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +1148 -726
- package/lib/zartui.es.js +1148 -726
- package/lib/zartui.js +1152 -730
- package/lib/zartui.min.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type NumberKeyboardThemeVars = {
|
|
2
|
+
numberKeyboardBackground?: string;
|
|
3
|
+
numberKeyboardKeyBackground?: string;
|
|
4
|
+
numberKeyboardTitleColor?: string;
|
|
5
|
+
numberKeyboardButtonTextColor?: string;
|
|
6
|
+
numberKeyboardButtonBackground?: string;
|
|
7
|
+
numberKeyboardZIndex?: number;
|
|
8
|
+
numberKeyboardKeySpacing?: string;
|
|
9
|
+
numberKeyboardRadius?: string;
|
|
10
|
+
numberKeyboardKeyFontSize?: string;
|
|
11
|
+
numberKeyboardHeaderHeight?: string;
|
|
12
|
+
numberKeyboardButtonHeight?: string;
|
|
13
|
+
numberKeyboardKeyHeight?: string;
|
|
14
|
+
};
|
|
File without changes
|
package/es/overlay/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export declare const Overlay: import("../utils").WithInstall<import("vue").Defin
|
|
|
33
33
|
}, {}>>;
|
|
34
34
|
export default Overlay;
|
|
35
35
|
export type { OverlayProps } from './Overlay';
|
|
36
|
+
export type { OverlayThemeVars } from './types';
|
|
36
37
|
declare module 'vue' {
|
|
37
38
|
interface GlobalComponents {
|
|
38
39
|
ZtOverlay: typeof Overlay;
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-password-input-height: 48px;--zt-password-input-margin: 0 var(--zt-padding-md);--zt-password-input-
|
|
1
|
+
:root{--zt-password-input-height: 48px;--zt-password-input-margin: 0 var(--zt-padding-md);--zt-password-input-radius: 6px;--zt-password-input-background: var(--zt-background-2);--zt-password-input-info-color: var(--zt-text-color-2);--zt-password-input-error-info-color: var(--zt-danger-color);--zt-password-input-dot-size: 8px;--zt-password-input-dot-color: var(--zt-text-color);--zt-password-input-text-color: var(--zt-text-color);--zt-password-input-cursor-color: var(--zt-primary-color);--zt-password-input-cursor-width: 1px;--zt-password-input-cursor-height: 40%;--zt-password-input-cursor-duration: 1s}.zt-password-input{position:relative;margin:var(--zt-password-input-margin);-webkit-user-select:none;user-select:none}.zt-password-input__info,.zt-password-input__error-info{margin-top:var(--zt-padding-md);font-size:var(--zt-font-size-md);text-align:center}.zt-password-input__info{color:var(--zt-password-input-info-color)}.zt-password-input__error-info{color:var(--zt-password-input-error-info-color)}.zt-password-input__security{display:flex;width:100%;height:var(--zt-password-input-height);cursor:pointer}.zt-password-input__security:after{border-radius:var(--zt-password-input-radius)}.zt-password-input__security li:last-child{border-radius:0 4px 4px 0}.zt-password-input__security li:first-child{border-radius:0 4px 4px 0}.zt-password-input__security li{position:relative;display:flex;flex:1;align-items:center;justify-content:center;height:100%;color:var(--zt-password-input-text-color);font-size:var(--zt-font-size-xxl);background:var(--zt-password-input-background);border:0 solid rgba(45,75,115,.2)}.zt-password-input__security i{position:absolute;top:50%;left:50%;width:var(--zt-password-input-dot-size);height:var(--zt-password-input-dot-size);background:var(--zt-password-input-dot-color);border-radius:100%;transform:translate(-50%,-50%);visibility:hidden}.zt-password-input__cursor{position:absolute;top:50%;left:50%;width:var(--zt-password-input-cursor-width);height:var(--zt-password-input-cursor-height);background:var(--zt-password-input-cursor-color);width:1px;height:24px;transform:translate(-50%,-50%);animation:var(--zt-password-input-cursor-duration) zt-cursor-flicker infinite}@keyframes zt-cursor-flicker{0%{opacity:0}50%{opacity:1}to{opacity:0}}
|
|
@@ -42,6 +42,7 @@ export declare const PasswordInput: import("../utils").WithInstall<import("vue")
|
|
|
42
42
|
}, {}>>;
|
|
43
43
|
export default PasswordInput;
|
|
44
44
|
export type { PasswordInputProps } from './PasswordInput';
|
|
45
|
+
export type { PasswordInputThemeVars } from './types';
|
|
45
46
|
declare module 'vue' {
|
|
46
47
|
interface GlobalComponents {
|
|
47
48
|
ZtPasswordInput: typeof PasswordInput;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type PasswordInputThemeVars = {
|
|
2
|
+
passwordInputHeight?: string;
|
|
3
|
+
passwordInputMargin?: string;
|
|
4
|
+
passwordInputRadius?: string;
|
|
5
|
+
passwordInputBackground?: string;
|
|
6
|
+
passwordInputInfoColor?: string;
|
|
7
|
+
passwordInputErrorInfoColor?: string;
|
|
8
|
+
passwordInputDotSize?: string;
|
|
9
|
+
passwordInputDotColor?: string;
|
|
10
|
+
passwordInputTextColor?: string;
|
|
11
|
+
passwordInputCursorColor?: string;
|
|
12
|
+
passwordInputCursorWidth?: string;
|
|
13
|
+
passwordInputCursorHeight?: string;
|
|
14
|
+
passwordInputCursorDuration?: string;
|
|
15
|
+
};
|
|
File without changes
|
package/es/picker/Picker.d.ts
CHANGED
|
@@ -143,7 +143,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
143
|
type: BooleanConstructor;
|
|
144
144
|
default: true;
|
|
145
145
|
};
|
|
146
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "
|
|
146
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "update:showPicker" | "clickOption")[], "update:modelValue" | "cancel" | "change" | "confirm" | "update:showPicker" | "clickOption", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
147
147
|
loading: BooleanConstructor;
|
|
148
148
|
readonly: BooleanConstructor;
|
|
149
149
|
allowHtml: BooleanConstructor;
|
|
@@ -202,8 +202,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
202
202
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
203
203
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
204
204
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
205
|
-
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
206
205
|
"onUpdate:showPicker"?: ((...args: any[]) => any) | undefined;
|
|
206
|
+
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
207
207
|
}, {
|
|
208
208
|
title: string;
|
|
209
209
|
modelValue: Numeric[];
|
|
@@ -213,12 +213,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
213
|
showTitle: boolean;
|
|
214
214
|
columns: (PickerColumn | PickerOption)[];
|
|
215
215
|
allowHtml: boolean;
|
|
216
|
-
optionHeight: string | number;
|
|
217
|
-
showToolbar: boolean;
|
|
218
216
|
swipeDuration: string | number;
|
|
217
|
+
showPicker: boolean;
|
|
218
|
+
showToolbar: boolean;
|
|
219
|
+
toolbarPosition: PickerToolbarPosition;
|
|
220
|
+
optionHeight: string | number;
|
|
219
221
|
visibleOptionNum: string | number;
|
|
220
222
|
columnsUnit: string[];
|
|
221
|
-
toolbarPosition: PickerToolbarPosition;
|
|
222
|
-
showPicker: boolean;
|
|
223
223
|
}, {}>;
|
|
224
224
|
export default _default;
|
package/es/picker/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-picker-cancel-margin: 8px 4px 8px 16px;--zt-picker-confirm-margin: 8px 16px 8px 4px;--zt-picker-title-height: 44px;--zt-picker-title-border-radius: 16px 16px 0 0;--zt-picker-frame-background-color: var(--zt-gray-
|
|
1
|
+
:root{--zt-picker-cancel-margin: 8px 4px 8px 16px;--zt-picker-confirm-margin: 8px 16px 8px 4px;--zt-picker-title-height: 44px;--zt-picker-title-border-radius: 16px 16px 0 0;--zt-picker-frame-background-color: var(--zt-gray-a06);--zt-picker-title-text-color: var(--zt-gray-a4);--zt-picker-background: var(--zt-background-2);--zt-picker-toolbar-height: 60px;--zt-picker-title-background: var(--zt-background-2);--zt-picker-option-padding: 0 var(--zt-padding-base);--zt-picker-option-text-color: var(--zt-text-color);--zt-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-picker-loading-icon-color: var(--zt-primary-color);--zt-picker-loading-mask-color: rgba(255, 255, 255, .9);--zt-picker-mask-color: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4)), linear-gradient(0deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .4))}.zt-theme-dark{--zt-picker-loading-mask-color: rgba(0, 0, 0, .6);--zt-picker-mask-color: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1)), linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .1))}.zt-picker{position:relative;background:var(--zt-picker-background);-webkit-user-select:none;user-select:none}.zt-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--zt-picker-toolbar-height)}.zt-picker__cancel,.zt-picker__confirm{width:50%}.zt-picker__cancel{background:var(--zt-button-default-background);margin:var(--zt-picker-cancel-margin)}.zt-picker__confirm{margin:var(--zt-picker-confirm-margin)}.zt-picker__title{display:flex;justify-content:center;align-items:center;width:100%;height:var(--zt-picker-title-height);border-radius:var(--zt-picker-title-border-radius);font-size:var(--zt-font-size-md);background:var(--zt-picker-title-background);color:var(--zt-picker-title-text-color)}.zt-picker__columns{position:relative;display:flex;cursor:-webkit-grab;cursor:grab}.zt-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-picker-loading-icon-color);background:var(--zt-picker-loading-mask-color)}.zt-picker__frame{position:absolute;top:50%;z-index:2;transform:translateY(-50%);pointer-events:none;width:100%;background:var(--zt-picker-frame-background-color)}.zt-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--zt-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.zt-picker-column{position:relative;flex:1;overflow:hidden;font-size:var(--zt-font-size-lg);background:var(--zt-picker-background)}.zt-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.zt-picker-column__item{display:flex;align-items:center;justify-content:center;padding:var(--zt-picker-option-padding);color:var(--zt-picker-option-text-color)}.zt-picker-column__item--disabled{cursor:not-allowed;opacity:var(--zt-picker-option-disabled-opacity)}.zt-picker-column__item--selected{font-weight:700}.zt-picker-column__unit{background:var(--zt-picker-title-background);position:absolute;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--zt-picker-option-text-color);font-size:var(--zt-font-size-lg);width:100%;height:100%}.zt-picker-column__unit-text{margin:0 4px;font-size:var(--zt-font-size-md)}
|
package/es/picker/index.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
|
53
53
|
type: BooleanConstructor;
|
|
54
54
|
default: true;
|
|
55
55
|
};
|
|
56
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "
|
|
56
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "update:showPicker" | "clickOption")[], "update:modelValue" | "cancel" | "change" | "confirm" | "update:showPicker" | "clickOption", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
57
|
loading: BooleanConstructor;
|
|
58
58
|
readonly: BooleanConstructor;
|
|
59
59
|
allowHtml: BooleanConstructor;
|
|
@@ -112,8 +112,8 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
|
112
112
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
113
113
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
114
114
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
116
115
|
"onUpdate:showPicker"?: ((...args: any[]) => any) | undefined;
|
|
116
|
+
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
117
117
|
}, {
|
|
118
118
|
title: string;
|
|
119
119
|
modelValue: import("../utils").Numeric[];
|
|
@@ -123,18 +123,18 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
|
|
|
123
123
|
showTitle: boolean;
|
|
124
124
|
columns: (import("./types").PickerColumn | import("./types").PickerOption)[];
|
|
125
125
|
allowHtml: boolean;
|
|
126
|
-
optionHeight: string | number;
|
|
127
|
-
showToolbar: boolean;
|
|
128
126
|
swipeDuration: string | number;
|
|
127
|
+
showPicker: boolean;
|
|
128
|
+
showToolbar: boolean;
|
|
129
|
+
toolbarPosition: import("./types").PickerToolbarPosition;
|
|
130
|
+
optionHeight: string | number;
|
|
129
131
|
visibleOptionNum: string | number;
|
|
130
132
|
columnsUnit: string[];
|
|
131
|
-
toolbarPosition: import("./types").PickerToolbarPosition;
|
|
132
|
-
showPicker: boolean;
|
|
133
133
|
}, {}>>;
|
|
134
134
|
export default Picker;
|
|
135
135
|
export { pickerProps } from './Picker';
|
|
136
136
|
export type { PickerProps };
|
|
137
|
-
export type { PickerColumn, PickerOption, PickerInstance, PickerFieldNames, PickerToolbarPosition, PickerCancelEventParams, PickerChangeEventParams, PickerConfirmEventParams, } from './types';
|
|
137
|
+
export type { PickerColumn, PickerOption, PickerInstance, PickerFieldNames, PickerToolbarPosition, PickerCancelEventParams, PickerChangeEventParams, PickerConfirmEventParams, PickerThemeVars, } from './types';
|
|
138
138
|
declare module 'vue' {
|
|
139
139
|
interface GlobalComponents {
|
|
140
140
|
ZtPicker: typeof Picker;
|
package/es/picker/types.d.ts
CHANGED
|
@@ -42,3 +42,20 @@ export type PickerCancelEventParams = PickerConfirmEventParams;
|
|
|
42
42
|
export type PickerChangeEventParams = PickerConfirmEventParams & {
|
|
43
43
|
columnIndex: number;
|
|
44
44
|
};
|
|
45
|
+
export type PickerThemeVars = {
|
|
46
|
+
pickerCancelMargin?: string;
|
|
47
|
+
pickerConfirmMargin?: string;
|
|
48
|
+
pickerTitleHeight?: string;
|
|
49
|
+
pickerTitleBorderRadius?: string;
|
|
50
|
+
pickerFrameBackgroundColor?: string;
|
|
51
|
+
pickerTitleTextColor?: string;
|
|
52
|
+
pickerBackground?: string;
|
|
53
|
+
pickerToolbarHeight?: string;
|
|
54
|
+
pickerTitleBackground?: string;
|
|
55
|
+
pickerOptionPadding?: string;
|
|
56
|
+
pickerOptionTextColor?: string;
|
|
57
|
+
pickerOptionDisabledOpacity?: string;
|
|
58
|
+
pickerLoadingIconColor?: string;
|
|
59
|
+
pickerLoadingMaskColor?: string;
|
|
60
|
+
pickerMaskColor?: string;
|
|
61
|
+
};
|
package/es/popover/Popover.mjs
CHANGED
package/es/popover/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-popover-arrow-size: 6px;--zt-popover-radius: var(--zt-radius-lg);--zt-popover-action-width: 120px;--zt-popover-action-height: 40px;--zt-popover-
|
|
1
|
+
:root{--zt-popover-arrow-size: 6px;--zt-popover-radius: var(--zt-radius-lg);--zt-popover-action-width: 120px;--zt-popover-action-height: 40px;--zt-popover-light-text-color: var(--zt-text-color);--zt-popover-light-background: var(--zt-background-2);--zt-popover-light-action-disabled-text-color: var(--zt-text-color-3);--zt-popover-dark-text-color: var(--zt-white);--zt-popover-dark-background: #4a4a4a;--zt-popover-dark-action-disabled-text-color: var(--zt-text-color-2)}.zt-popover{position:absolute;overflow:visible;background-color:transparent;transition:opacity .15s,transform .15s}.zt-popover__wrapper{display:inline-block}.zt-popover__arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;border-width:var(--zt-popover-arrow-size)}.zt-popover__content{overflow:hidden;border-radius:var(--zt-popover-radius)}.zt-popover__action{position:relative;display:flex;align-items:center;box-sizing:border-box;width:var(--zt-popover-action-width);height:var(--zt-popover-action-height);padding:0 var(--zt-padding-md);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);cursor:pointer}.zt-popover__action:last-child .zt-popover__action-text:after{display:none}.zt-popover__action-text{display:flex;flex:1;align-items:center;justify-content:center;height:100%}.zt-popover__action-icon{margin-right:var(--zt-padding-xs);font-size:var(--zt-font-size-xxl)}.zt-popover__action--with-icon .zt-popover__action-text{justify-content:flex-start}.zt-popover[data-popper-placement^=top] .zt-popover__arrow{bottom:0;border-top-color:currentColor;border-bottom-width:0;margin-bottom:calc(var(--zt-popover-arrow-size) * -1)}.zt-popover[data-popper-placement=top]{transform-origin:50% 100%}.zt-popover[data-popper-placement=top] .zt-popover__arrow{left:50%;transform:translate(-50%)}.zt-popover[data-popper-placement=top-start]{transform-origin:0 100%}.zt-popover[data-popper-placement=top-start] .zt-popover__arrow{left:var(--zt-padding-md)}.zt-popover[data-popper-placement=top-end]{transform-origin:100% 100%}.zt-popover[data-popper-placement=top-end] .zt-popover__arrow{right:var(--zt-padding-md)}.zt-popover[data-popper-placement^=left] .zt-popover__arrow{right:0;border-right-width:0;border-left-color:currentColor;transform:translateY(-50%);margin-right:calc(var(--zt-popover-arrow-size) * -1)}.zt-popover[data-popper-placement=left]{transform-origin:100% 50%}.zt-popover[data-popper-placement=left] .zt-popover__arrow{top:50%}.zt-popover[data-popper-placement=left-start]{transform-origin:100% 0}.zt-popover[data-popper-placement=left-start] .zt-popover__arrow{top:var(--zt-padding-md)}.zt-popover[data-popper-placement=left-end]{transform-origin:100% 100%}.zt-popover[data-popper-placement=left-end] .zt-popover__arrow{bottom:var(--zt-padding-md)}.zt-popover[data-popper-placement^=right] .zt-popover__arrow{left:0;border-right-color:currentColor;border-left-width:0;transform:translateY(-50%);margin-left:calc(var(--zt-popover-arrow-size) * -1)}.zt-popover[data-popper-placement=right]{transform-origin:0 50%}.zt-popover[data-popper-placement=right] .zt-popover__arrow{top:50%}.zt-popover[data-popper-placement=right-start]{transform-origin:0 0}.zt-popover[data-popper-placement=right-start] .zt-popover__arrow{top:var(--zt-padding-md)}.zt-popover[data-popper-placement=right-end]{transform-origin:0 100%}.zt-popover[data-popper-placement=right-end] .zt-popover__arrow{bottom:var(--zt-padding-md)}.zt-popover[data-popper-placement^=bottom] .zt-popover__arrow{top:0;border-top-width:0;border-bottom-color:currentColor;transform:translate(-50%);margin-top:calc(var(--zt-popover-arrow-size) * -1)}.zt-popover[data-popper-placement=bottom]{transform-origin:50% 0}.zt-popover[data-popper-placement=bottom] .zt-popover__arrow{left:50%}.zt-popover[data-popper-placement=bottom-start]{transform-origin:0 0}.zt-popover[data-popper-placement=bottom-start] .zt-popover__arrow{left:var(--zt-padding-md)}.zt-popover[data-popper-placement=bottom-end]{transform-origin:100% 0}.zt-popover[data-popper-placement=bottom-end] .zt-popover__arrow{right:var(--zt-padding-md)}.zt-popover--light{display:none;color:var(--zt-popover-light-text-color)}.zt-popover--light .zt-popover__content{background:var(--zt-popover-light-background);box-shadow:0 2px 12px rgba(50,50,51,.12)}.zt-popover--light .zt-popover__arrow{color:var(--zt-popover-light-background)}.zt-popover--light .zt-popover__action:active{background-color:var(--zt-active-color)}.zt-popover--light .zt-popover__action--selected{color:var(--zt-primary-color);cursor:not-allowed}.zt-popover--light .zt-popover__action--selected:active{background-color:transparent}.zt-popover--light .zt-popover__action--disabled{color:var(--zt-popover-light-action-disabled-text-color);cursor:not-allowed}.zt-popover--light .zt-popover__action--disabled:active{background-color:transparent}.zt-popover--dark{display:none;color:var(--zt-popover-dark-text-color)}.zt-popover--dark .zt-popover__content{background:var(--zt-popover-dark-background)}.zt-popover--dark .zt-popover__arrow{color:var(--zt-popover-dark-background)}.zt-popover--dark .zt-popover__action:active{background-color:rgba(0,0,0,.2)}.zt-popover--dark .zt-popover__action--disabled{color:var(--zt-popover-dark-action-disabled-text-color)}.zt-popover--dark .zt-popover__action--disabled:active{background-color:transparent}.zt-popover--dark .zt-popover__action-text:after{border-color:var(--zt-gray-7)}.zt-popover--show{display:block}.zt-popover--hidden{display:none}.zt-popover-zoom-enter-from,.zt-popover-zoom-leave-active{transform:scale(.8);opacity:0}.zt-popover-zoom-enter-active{transition-timing-function:var(--zt-ease-out)}.zt-popover-zoom-leave-active{transition-timing-function:var(--zt-ease-in)}
|
package/es/popover/index.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export declare const Popover: import("../utils").WithInstall<import("vue").Defin
|
|
|
122
122
|
export default Popover;
|
|
123
123
|
export { popoverProps } from './Popover';
|
|
124
124
|
export type { PopoverProps } from './Popover';
|
|
125
|
-
export type { PopoverTheme, PopoverAction, PopoverTrigger, PopoverPlacement, } from './types';
|
|
125
|
+
export type { PopoverTheme, PopoverAction, PopoverTrigger, PopoverPlacement, PopoverThemeVars, } from './types';
|
|
126
126
|
declare module 'vue' {
|
|
127
127
|
interface GlobalComponents {
|
|
128
128
|
ZtPopover: typeof Popover;
|
package/es/popover/types.d.ts
CHANGED
|
@@ -9,3 +9,15 @@ export type PopoverAction = {
|
|
|
9
9
|
className?: string;
|
|
10
10
|
[key: PropertyKey]: any;
|
|
11
11
|
};
|
|
12
|
+
export type PopoverThemeVars = {
|
|
13
|
+
popoverArrowSize?: string;
|
|
14
|
+
popoverRadius?: string;
|
|
15
|
+
popoverActionWidth?: string;
|
|
16
|
+
popoverActionHeight?: string;
|
|
17
|
+
popoverLightTextColor?: string;
|
|
18
|
+
popoverLightBackground?: string;
|
|
19
|
+
popoverLightActionDisabledTextColor?: string;
|
|
20
|
+
popoverDarkTextColor?: string;
|
|
21
|
+
popoverDarkBackground?: string;
|
|
22
|
+
popoverDarkActionDisabledTextColor?: string;
|
|
23
|
+
};
|
package/es/popup/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-popup-background: var(--zt-background-2);--zt-popup-transition: transform var(--zt-duration-base);--zt-popup-round-radius: 16px;--zt-popup-close-icon-
|
|
1
|
+
:root{--zt-popup-background: var(--zt-background-2);--zt-popup-transition: transform var(--zt-duration-base);--zt-popup-round-radius: 16px;--zt-popup-close-icon-color: var(--zt-gray-a6);--zt-popup-close-icon-margin: 16px;--zt-popup-close-icon-z-index: 1}.zt-overflow-hidden{overflow:hidden!important}.zt-popup{position:fixed;max-height:100%;overflow-y:auto;background:var(--zt-popup-background);transition:var(--zt-popup-transition);-webkit-overflow-scrolling:touch}.zt-popup__slider{position:fixed;width:100%;bottom:0;left:0;border-radius:16px 16px 0 0;background-color:var(--zt-popup-background)}.zt-popup__slider-title{height:40px;text-align:center}.zt-popup__slider-bar{display:inline-block;width:32px;height:4px;transform:scaleY(-1);background:rgba(45,75,115,.2);border-radius:3px}.zt-popup__slider-content{overflow-y:auto}.zt-popup--center{top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.zt-popup--center.zt-popup--round{border-radius:var(--zt-popup-round-radius)}.zt-popup--top{top:0;left:0;width:100%}.zt-popup--top.zt-popup--round{border-radius:0 0 var(--zt-popup-round-radius) var(--zt-popup-round-radius)}.zt-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.zt-popup--right.zt-popup--round{border-radius:var(--zt-popup-round-radius) 0 0 var(--zt-popup-round-radius)}.zt-popup--bottom{bottom:0;left:0;width:100%}.zt-popup--bottom.zt-popup--round{border-radius:var(--zt-popup-round-radius) var(--zt-popup-round-radius) 0 0}.zt-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.zt-popup--left.zt-popup--round{border-radius:0 var(--zt-popup-round-radius) var(--zt-popup-round-radius) 0}.zt-popup-slide-top-enter-active,.zt-popup-slide-left-enter-active,.zt-popup-slide-right-enter-active,.zt-popup-slide-bottom-enter-active{transition-timing-function:var(--zt-ease-out)}.zt-popup-slide-top-leave-active,.zt-popup-slide-left-leave-active,.zt-popup-slide-right-leave-active,.zt-popup-slide-bottom-leave-active{transition-timing-function:var(--zt-ease-in)}.zt-popup-slide-top-enter-from,.zt-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.zt-popup-slide-right-enter-from,.zt-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.zt-popup-slide-bottom-enter-from,.zt-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.zt-popup-slide-left-enter-from,.zt-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.zt-popup__slider-icon{z-index:var(--zt-popup-close-icon-z-index);color:var(--zt-popup-close-icon-color);font-size:var(--zt-font-size-xxxl);cursor:pointer}.zt-popup__close-icon{position:absolute;z-index:var(--zt-popup-close-icon-z-index);color:var(--zt-popup-close-icon-color);font-size:var(--zt-font-size-xxxl)}.zt-popup__close-icon--top-left{top:var(--zt-popup-close-icon-margin);left:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--top-right{top:var(--zt-popup-close-icon-margin);right:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--bottom-left{bottom:var(--zt-popup-close-icon-margin);left:var(--zt-popup-close-icon-margin)}.zt-popup__close-icon--bottom-right{right:var(--zt-popup-close-icon-margin);bottom:var(--zt-popup-close-icon-margin)}
|
package/es/popup/index.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ export declare const Popup: import("../utils").WithInstall<import("vue").DefineC
|
|
|
145
145
|
}, {}>>;
|
|
146
146
|
export default Popup;
|
|
147
147
|
export type { PopupProps } from './Popup';
|
|
148
|
-
export type { PopupPosition, PopupInstance, PopupCloseIconPosition, } from './types';
|
|
148
|
+
export type { PopupPosition, PopupInstance, PopupCloseIconPosition, PopupThemeVars, } from './types';
|
|
149
149
|
declare module 'vue' {
|
|
150
150
|
interface GlobalComponents {
|
|
151
151
|
ZtPopup: typeof Popup;
|
package/es/popup/types.d.ts
CHANGED
|
@@ -6,3 +6,11 @@ export type PopupExpose = {
|
|
|
6
6
|
popupRef: Ref<HTMLElement>;
|
|
7
7
|
};
|
|
8
8
|
export type PopupInstance = ComponentPublicInstance<PopupProps, PopupExpose>;
|
|
9
|
+
export type PopupThemeVars = {
|
|
10
|
+
popupBackground?: string;
|
|
11
|
+
popupTransition?: string;
|
|
12
|
+
popupRoundRadius?: string;
|
|
13
|
+
popupCloseIconColor?: string;
|
|
14
|
+
popupCloseIconMargin?: string;
|
|
15
|
+
popupCloseIconZIndex?: number;
|
|
16
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-pull-refresh-head-
|
|
1
|
+
:root{--zt-pull-refresh-head-text-color: var(--zt-text-color-2);--zt-pull-refresh-loading-icon-size: 14px;--zt-pull-refresh-head-background: var(--zt-background);--zt-pull-refresh-head-height: 50px}:root[zt-theme-size=large]{--zt-pull-refresh-head-height: 62px}.zt-pull-refresh{overflow:hidden}.zt-pull-refresh__track{position:relative;height:100%;transition-property:transform}.zt-pull-refresh__head{position:absolute;left:0;width:100%;height:var(--zt-pull-refresh-head-height);overflow:hidden;color:var(--zt-pull-refresh-head-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-pull-refresh-head-height);text-align:center;transform:translateY(-100%);background:var(--zt-pull-refresh-head-background)}.zt-pull-refresh__loading .zt-loading__spinner{width:var(--zt-pull-refresh-loading-icon-size);height:var(--zt-pull-refresh-loading-icon-size)}
|
|
@@ -51,6 +51,7 @@ export declare const PullRefresh: import("../utils").WithInstall<import("vue").D
|
|
|
51
51
|
}, {}>>;
|
|
52
52
|
export default PullRefresh;
|
|
53
53
|
export type { PullRefreshProps } from './PullRefresh';
|
|
54
|
+
export type { PullRefreshThemeVars } from './types';
|
|
54
55
|
declare module 'vue' {
|
|
55
56
|
interface GlobalComponents {
|
|
56
57
|
ZtPullRefresh: typeof PullRefresh;
|
|
File without changes
|
package/es/radio/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-radio-
|
|
1
|
+
:root{--zt-radio-padding: 12px 0;--zt-radio-border-color: var(--zt-gray-a1);--zt-radio-duration: var(--zt-duration-fast);--zt-radio-round-box-shadow: -1px -1px 2px 0 #ffffff, 0 0 3px 0 var(--zt-gray-a2);--zt-radio-round-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%);--zt-radio-round-border: 1px solid var(--zt-gray-a1);--zt-radio-label-margin: 14px;--zt-radio-label-color: var(--zt-text-color);--zt-radio-checked-icon-color: var(--zt-primary-color);--zt-radio-checked-icon-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .2);--zt-radio-checked-icon-border: 1px solid rgba(255, 255, 255, .5);--zt-radio-disabled-icon-shadow: -1px -1px 2px 0 #fff, 0 0 3px 0 var(--zt-gray-a2);--zt-radio-disabled-icon-border: 1px solid var(--zt-gray-a08);--zt-radio-disabled-label-color: var(--zt-gray-a2);--zt-radio-disabled-background: linear-gradient(134deg, #e1e6eb 0%, #e5edf5 100%);--zt-radio-disabled-checked-icon-opacity: var(--zt-disabled-opacity)}.zt-radio{position:relative;display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none;padding:var(--zt-radio-padding)}.zt-radio--disabled{cursor:not-allowed}.zt-radio--label-disabled{cursor:default}.zt-radio--horizontal{margin-right:var(--zt-padding-md)}.zt-radio__icon{font-size:var(--zt-font-size-lg);cursor:pointer;box-sizing:border-box}.zt-radio__icon .zt-icon{display:flex;justify-content:center;align-items:center;width:1em;height:1em;color:transparent;text-align:center;border:1px solid var(--zt-radio-border-color);transition-duration:var(--zt-radio-duration);transition-property:color,border-color,background-color}.zt-radio__icon--round .zt-icon{border-radius:100%;border:var(--zt-radio-round-border);box-shadow:var(--zt-radio-round-box-shadow);background:var(--zt-radio-round-background)}.zt-radio__icon--checked .zt-icon{color:var(--zt-white);background:var(--zt-radio-checked-icon-color);box-shadow:var(--zt-radio-checked-icon-shadow);border:var(--zt-radio-checked-icon-border)}.zt-radio__icon--disabled{cursor:not-allowed}.zt-radio__icon--disabled .zt-icon{border:var(--zt-radio-disabled-icon-border);box-shadow:var(--zt-radio-disabled-icon-shadow);background:var(--zt-radio-disabled-background)}.zt-radio__icon--disabled.zt-radio__icon--checked .zt-icon{opacity:var(--zt-radio-disabled-checked-icon-opacity);background:var(--zt-radio-checked-icon-color);color:var(--zt-white)}.zt-radio__dot{width:calc(var(--zt-font-size-lg) * .5);height:calc(var(--zt-font-size-lg) * .5);background:var(--zt-white);border-radius:50%}.zt-radio__label{margin-left:var(--zt-radio-label-margin);color:var(--zt-radio-label-color);font-size:var(--zt-font-size-md)}.zt-radio__label--left{margin:0 var(--zt-radio-label-margin) 0 0}.zt-radio__label--disabled{color:var(--zt-radio-disabled-label-color)}.zt-theme-dark{--zt-radio-round-box-shadow: none;--zt-radio-disabled-icon-shadow: none;--zt-radio-round-background: linear-gradient(179deg, #19232d 0%, rgba(255, 255, 255, .2) 100%);--zt-radio-round-border: 1px solid var(--zt-gray);--zt-radio-disabled-background: linear-gradient(135deg, #0e1824 0%, #203043 100%)}
|
package/es/radio/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export declare const Radio: import("../utils").WithInstall<import("vue").DefineC
|
|
|
31
31
|
}, {}>>;
|
|
32
32
|
export default Radio;
|
|
33
33
|
export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
|
|
34
|
+
export type { RadioThemeVars } from './types';
|
|
34
35
|
declare module 'vue' {
|
|
35
36
|
interface GlobalComponents {
|
|
36
37
|
ZtRadio: typeof Radio;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type RadioThemeVars = {
|
|
2
|
+
radioPadding?: string;
|
|
3
|
+
radioBorderColor?: string;
|
|
4
|
+
radioDuration?: string;
|
|
5
|
+
radioRoundBoxShadow?: string;
|
|
6
|
+
radioRoundBackground?: string;
|
|
7
|
+
radioRoundBorder?: string;
|
|
8
|
+
radioLabelMargin?: string;
|
|
9
|
+
radioLabelColor?: string;
|
|
10
|
+
radioCheckedIconColor?: string;
|
|
11
|
+
radioCheckedIconShadow?: string;
|
|
12
|
+
radioCheckedIconBorder?: string;
|
|
13
|
+
radioDisabledIconShadow?: string;
|
|
14
|
+
radioDisabledIconBorder?: string;
|
|
15
|
+
radioDisabledLabelColor?: string;
|
|
16
|
+
radioDisabledBackground?: string;
|
|
17
|
+
radioDisabledCheckedIconOpacity?: string;
|
|
18
|
+
};
|
|
File without changes
|
package/es/radio-group/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-radio-group--horizontal{display:flex;flex-wrap:wrap}.zt-radio-group--vertical .zt-radio:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:calc(var(--zt-
|
|
1
|
+
.zt-radio-group--horizontal{display:flex;flex-wrap:wrap}.zt-radio-group--vertical .zt-radio:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:calc(var(--zt-font-size-lg) + var(--zt-radio-label-margin));border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-radio-group--vertical .zt-radio:last-child:after{display:none}
|
|
@@ -129,7 +129,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
129
|
type: PropType<string>;
|
|
130
130
|
default: string;
|
|
131
131
|
};
|
|
132
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "
|
|
132
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "update:showPicker" | "clickOption")[], "update:modelValue" | "cancel" | "change" | "confirm" | "update:showPicker" | "clickOption", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
133
133
|
loading: BooleanConstructor;
|
|
134
134
|
readonly: BooleanConstructor;
|
|
135
135
|
allowHtml: BooleanConstructor;
|
|
@@ -185,8 +185,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
185
185
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
186
186
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
187
187
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
188
|
-
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
189
188
|
"onUpdate:showPicker"?: ((...args: any[]) => any) | undefined;
|
|
189
|
+
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}, {
|
|
191
191
|
title: string;
|
|
192
192
|
modelValue: Numeric[];
|
|
@@ -196,9 +196,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
196
196
|
showTitle: boolean;
|
|
197
197
|
columns: (PickerColumn | RadioPickerOption)[];
|
|
198
198
|
allowHtml: boolean;
|
|
199
|
-
showToolbar: boolean;
|
|
200
199
|
swipeDuration: string | number;
|
|
201
200
|
showPicker: boolean;
|
|
201
|
+
showToolbar: boolean;
|
|
202
202
|
wrapHeight: string | number;
|
|
203
203
|
searchable: boolean;
|
|
204
204
|
autoSearch: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-radio-picker-cancel-margin: 8px 4px 8px 16px;--zt-radio-picker-confirm-margin: 8px 16px 8px 4px;--zt-radio-picker-title-height: 44px;--zt-radio-picker-search-padding-top-bottom: 12px;--zt-radio-picker-search-radio-label-match-color: var(--zt-
|
|
1
|
+
:root{--zt-radio-picker-cancel-margin: 8px 4px 8px 16px;--zt-radio-picker-confirm-margin: 8px 16px 8px 4px;--zt-radio-picker-title-height: 44px;--zt-radio-picker-search-padding-top-bottom: 12px;--zt-radio-picker-search-radio-label-match-color: var(--zt-primary-color);--zt-radio-picker-title-border-radius: 16px 16px 0 0;--zt-radio-picker-frame-background-color: var(--zt-gray-a04);--zt-radio-picker-cancel-background-color: var(--zt-white);--zt-radio-picker-title-text-color: var(--zt-gray-a4);--zt-radio-picker-background: var(--zt-background-2);--zt-radio-picker-toolbar-height: 60px;--zt-radio-picker-title-background: var(--zt-background-2);--zt-radio-picker-action-padding: 0 var(--zt-padding-md);--zt-radio-picker-confirm-action-color: var(--zt-white);--zt-radio-picker-cancel-action-color: var(--zt-text-color);--zt-radio-picker-option-radio-label-margin: 8px;--zt-radio-picker-option-padding: 12px var(--zt-padding-md);--zt-radio-picker-option-text-color: var(--zt-text-color);--zt-radio-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-radio-picker-loading-icon-color: var(--zt-primary-color);--zt-radio-picker-loading-mask-color: var(--zt-picker-loading-mask-color);--zt-radio-picker-mask-color: var(--zt-picker-mask-color)}.zt-radio-picker{position:relative;background:var(--zt-radio-picker-background);-webkit-user-select:none;user-select:none}.zt-radio-picker__toolbar{display:flex;align-items:center;justify-content:space-between;height:var(--zt-radio-picker-toolbar-height)}.zt-radio-picker__cancel,.zt-radio-picker__confirm{width:50%}.zt-radio-picker__cancel{background:var(--zt-button-default-background);margin:var(--zt-radio-picker-cancel-margin)}.zt-radio-picker__confirm{margin:var(--zt-radio-picker-confirm-margin)}.zt-radio-picker__title{display:flex;justify-content:center;align-items:center;width:100%;height:var(--zt-radio-picker-title-height);border-radius:var(--zt-radio-picker-title-border-radius);font-size:var(--zt-font-size-md);background:var(--zt-radio-picker-title-background);color:var(--zt-radio-picker-title-text-color)}.zt-radio-picker__columns{position:relative;display:flex;cursor:-webkit-grab;cursor:grab}.zt-radio-picker__search{padding-top:var(--zt-radio-picker-search-padding-top-bottom);padding-bottom:var(--zt-radio-picker-search-padding-top-bottom)}.zt-radio-picker__search .zt-search{padding-top:0;padding-bottom:0}.zt-radio-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-radio-picker-loading-icon-color);background:var(--zt-radio-picker-loading-mask-color)}.zt-radio-picker__frame{position:absolute;top:50%;z-index:2;transform:translateY(-50%);pointer-events:none;width:100%;background:var(--zt-radio-picker-frame-background-color)}.zt-radio-picker__mask{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;background-image:var(--zt-radio-picker-mask-color);background-repeat:no-repeat;background-position:top,bottom;transform:translateZ(0);pointer-events:none}.zt-radio-picker-column{position:relative;flex:1;overflow:hidden;font-size:var(--zt-font-size-lg);background:var(--zt-radio-picker-background)}.zt-radio-picker-column__wrapper{transition-timing-function:cubic-bezier(.23,1,.68,1)}.zt-radio-picker-column__item{display:flex;align-items:center;justify-content:flex-start;color:var(--zt-radio-picker-option-text-color)}.zt-radio-picker-column__item--not-match{display:none}.zt-radio-picker-column__item.zt-radio{padding:var(--zt-radio-picker-option-padding)}.zt-radio-picker-column__item.zt-radio:after{left:calc(var(--zt-font-size-lg) + var(--zt-radio-label-margin) + var(--zt-padding-md))}.zt-radio-picker-column__item.zt-radio .zt-radio__label{margin-left:var(--zt-radio-picker-option-radio-label-margin)}.zt-radio-picker-column__search-empty{height:100%}
|
|
@@ -50,7 +50,7 @@ export declare const RadioPicker: import("../utils").WithInstall<import("vue").D
|
|
|
50
50
|
type: import("vue").PropType<string>;
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "
|
|
53
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "update:showPicker" | "clickOption")[], "update:modelValue" | "cancel" | "change" | "confirm" | "update:showPicker" | "clickOption", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
54
|
loading: BooleanConstructor;
|
|
55
55
|
readonly: BooleanConstructor;
|
|
56
56
|
allowHtml: BooleanConstructor;
|
|
@@ -106,8 +106,8 @@ export declare const RadioPicker: import("../utils").WithInstall<import("vue").D
|
|
|
106
106
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
107
107
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
108
108
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
109
|
-
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
110
109
|
"onUpdate:showPicker"?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
onClickOption?: ((...args: any[]) => any) | undefined;
|
|
111
111
|
}, {
|
|
112
112
|
title: string;
|
|
113
113
|
modelValue: import("../utils").Numeric[];
|
|
@@ -117,9 +117,9 @@ export declare const RadioPicker: import("../utils").WithInstall<import("vue").D
|
|
|
117
117
|
showTitle: boolean;
|
|
118
118
|
columns: (import("./types").PickerColumn | import("./types").RadioPickerOption)[];
|
|
119
119
|
allowHtml: boolean;
|
|
120
|
-
showToolbar: boolean;
|
|
121
120
|
swipeDuration: string | number;
|
|
122
121
|
showPicker: boolean;
|
|
122
|
+
showToolbar: boolean;
|
|
123
123
|
wrapHeight: string | number;
|
|
124
124
|
searchable: boolean;
|
|
125
125
|
autoSearch: boolean;
|
|
@@ -127,7 +127,7 @@ export declare const RadioPicker: import("../utils").WithInstall<import("vue").D
|
|
|
127
127
|
}, {}>>;
|
|
128
128
|
export default RadioPicker;
|
|
129
129
|
export { radioPickerProps } from './RadioPicker';
|
|
130
|
-
export type { PickerCancelEventParams as RadioPickerCancelEventParams, PickerChangeEventParams as RadioPickerChangeEventParams, PickerColumn as RadioPickerColumn, PickerConfirmEventParams as RadioPickerConfirmEventParams, PickerFieldNames as RadioPickerFieldNames, RadioPickerInstance, RadioPickerOption, PickerToolbarPosition as RadioPickerToolbarPosition, } from './types';
|
|
130
|
+
export type { PickerCancelEventParams as RadioPickerCancelEventParams, PickerChangeEventParams as RadioPickerChangeEventParams, PickerColumn as RadioPickerColumn, PickerConfirmEventParams as RadioPickerConfirmEventParams, PickerFieldNames as RadioPickerFieldNames, RadioPickerInstance, RadioPickerOption, PickerToolbarPosition as RadioPickerToolbarPosition, RadioPickerThemeVars, } from './types';
|
|
131
131
|
export type { RadioPickerProps };
|
|
132
132
|
declare module 'vue' {
|
|
133
133
|
interface GlobalComponents {
|
|
@@ -42,3 +42,27 @@ export type PickerCancelEventParams = PickerConfirmEventParams;
|
|
|
42
42
|
export type PickerChangeEventParams = PickerConfirmEventParams & {
|
|
43
43
|
columnIndex: number;
|
|
44
44
|
};
|
|
45
|
+
export type RadioPickerThemeVars = {
|
|
46
|
+
pickerCancelMargin?: string;
|
|
47
|
+
pickerConfirmMargin?: string;
|
|
48
|
+
pickerTitleHeight?: string;
|
|
49
|
+
pickerSearchPaddingTopBottom?: string;
|
|
50
|
+
pickerSearchRadioLabelMatchColor?: string;
|
|
51
|
+
pickerTitleBorderRadius?: string;
|
|
52
|
+
pickerFrameBackgroundColor?: string;
|
|
53
|
+
pickerCancelBackgroundColor?: string;
|
|
54
|
+
pickerTitleTextColor?: string;
|
|
55
|
+
pickerBackground?: string;
|
|
56
|
+
pickerToolbarHeight?: string;
|
|
57
|
+
pickerTitleBackground?: string;
|
|
58
|
+
pickerActionPadding?: string;
|
|
59
|
+
pickerConfirmActionColor?: string;
|
|
60
|
+
pickerCancelActionColor?: string;
|
|
61
|
+
pickerOptionRadioLabelMargin?: string;
|
|
62
|
+
pickerOptionPadding?: string;
|
|
63
|
+
pickerOptionTextColor?: string;
|
|
64
|
+
pickerOptionDisabledOpacity?: string;
|
|
65
|
+
pickerLoadingIconColor?: string;
|
|
66
|
+
pickerLoadingMaskColor?: string;
|
|
67
|
+
pickerMaskColor?: string;
|
|
68
|
+
};
|
package/es/rate/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-rate-icon-
|
|
1
|
+
:root{--zt-rate-icon-gutter: var(--zt-padding-base);--zt-rate-icon-void-color: rgba(0, 0, 0, .2);--zt-rate-icon-full-color: var(--zt-yellow);--zt-rate-icon-disabled-color: var(--zt-gray-5)}.zt-rate{cursor:pointer;-webkit-user-select:none;user-select:none;flex-wrap:wrap;display:inline-flex;align-items:center}.zt-rate__item{position:relative}.zt-rate__item:not(:last-child){padding-right:var(--zt-rate-icon-gutter)}.zt-rate__icon{display:block;width:1em;color:var(--zt-rate-icon-void-color);font-size:var(--zt-font-size-xxl)}.zt-rate__icon--half{position:absolute;top:0;left:0;overflow:hidden}.zt-rate__icon--full{color:var(--zt-rate-icon-full-color)}.zt-rate__icon--disabled{color:var(--zt-rate-icon-disabled-color)}.zt-rate--disabled{cursor:not-allowed}.zt-rate--readonly{cursor:default}.zt-theme-dark{--zt-rate-icon-void-color: rgba(255, 255, 255, .2)}
|
package/es/rate/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export declare const Rate: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
73
73
|
}, {}>>;
|
|
74
74
|
export default Rate;
|
|
75
75
|
export type { RateProps } from './Rate';
|
|
76
|
+
export type { RateThemeVars } from './types';
|
|
76
77
|
declare module 'vue' {
|
|
77
78
|
interface GlobalComponents {
|
|
78
79
|
ZtRate: typeof Rate;
|
|
File without changes
|
package/es/search/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-search-padding: 4px var(--zt-padding-md);--zt-search-background: transparent;--zt-search-content-background: var(--zt-gray-a04);--zt-search-
|
|
1
|
+
:root{--zt-search-padding: 4px var(--zt-padding-md);--zt-search-background: transparent;--zt-search-content-background: var(--zt-gray-a04);--zt-search-label-padding: 8px 0 8px 12px;--zt-search-label-color: var(--zt-text-color);--zt-search-action-padding: 0 var(--zt-padding-md);--zt-search-action-text-color: var(--zt-primary-color);--zt-search-content-box-shadow: inset 4px 4px 8px 0 var(--zt-gray-a1);--zt-search-round-border: none;--zt-search-placeholder: var(--zt-gray-a2)}.zt-search{display:flex;align-items:center;box-sizing:border-box;padding:var(--zt-search-padding);background-color:var(--zt-search-background)}.zt-search__content{display:flex;flex:1;background-color:var(--zt-search-content-background);border-radius:var(--zt-radius-sm);box-shadow:var(--zt-search-content-box-shadow);padding-left:var(--zt-padding-sm)}.zt-search__content--round{border-radius:var(--zt-radius-max);border:var(--zt-search-round-border)}.zt-search__label{padding:var(--zt-search-label-padding);color:var(--zt-search-label-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md)}.zt-search__field{width:100%}.zt-search .zt-cell--horizontal{background:transparent;padding:8px 16px 8px 0}.zt-search--show-action{padding-right:0}.zt-search input{caret-color:var(--zt-primary-color)}.zt-search input::-webkit-search-decoration,.zt-search input::-webkit-search-cancel-button,.zt-search input::-webkit-search-results-button,.zt-search input::-webkit-search-results-decoration{display:none}.zt-search input::-webkit-input-placeholder{color:var(--zt-search-placeholder)}.zt-search input::placeholder{color:var(--zt-search-placeholder)}.zt-search__action{padding:var(--zt-search-action-padding);color:var(--zt-search-action-text-color);font-size:var(--zt-font-size-md);font-weight:400;height:36px;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;justify-content:center;align-items:center}.zt-search__action:active{background-color:rgba(0,0,0,.04)}.zt-theme-dark{--zt-search-content-background: var(--zt-background-2);--zt-search-content-box-shadow: inset 4px 4px 8px 0 var(--zt-background);--zt-search-round-border: 1px solid rgba(15, 155, 255, .2)}
|
package/es/search/index.d.ts
CHANGED
|
@@ -151,7 +151,7 @@ export declare const Search: import("../utils").WithInstall<import("vue").Define
|
|
|
151
151
|
export default Search;
|
|
152
152
|
export { searchProps } from './Search';
|
|
153
153
|
export type { SearchProps };
|
|
154
|
-
export type { SearchShape, SearchInstance } from './types';
|
|
154
|
+
export type { SearchShape, SearchInstance, SearchThemeVars } from './types';
|
|
155
155
|
declare module 'vue' {
|
|
156
156
|
interface GlobalComponents {
|
|
157
157
|
ZtSearch: typeof Search;
|
package/es/search/types.d.ts
CHANGED
|
@@ -6,3 +6,15 @@ export type SearchExpose = {
|
|
|
6
6
|
blur: () => void;
|
|
7
7
|
};
|
|
8
8
|
export type SearchInstance = ComponentPublicInstance<SearchProps, SearchExpose>;
|
|
9
|
+
export type SearchThemeVars = {
|
|
10
|
+
searchPadding?: string;
|
|
11
|
+
searchBackground?: string;
|
|
12
|
+
searchContentBackground?: string;
|
|
13
|
+
searchLabelPadding?: string;
|
|
14
|
+
searchLabelColor?: string;
|
|
15
|
+
searchActionPadding?: string;
|
|
16
|
+
searchActionTextColor?: string;
|
|
17
|
+
searchContentBoxShadow?: string;
|
|
18
|
+
searchRoundBorder?: string;
|
|
19
|
+
searchPlaceholder?: string;
|
|
20
|
+
};
|
package/es/signature/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-signature-canvas-z-index: 1;--zt-signature-canvas-background-color: var(--zt-white);--zt-signature-hint-z-index: 2;--zt-signature-actions-z-index: 2;--zt-signature-button-
|
|
1
|
+
:root{--zt-signature-canvas-z-index: 1;--zt-signature-canvas-background-color: var(--zt-white);--zt-signature-hint-z-index: 2;--zt-signature-actions-z-index: 2;--zt-signature-button-background: #ffffff;--zt-signature-button-again-border: .5px solid var(--zt-orange);--zt-signature-button-cancel-border: .5px solid rgba(45, 75, 115, .2)}.zt-signature{background-color:var(--zt-background);width:100%;height:100%;position:relative}.zt-signature__placeholder{z-index:var(--zt-signature-hint-z-index);pointer-events:none;position:absolute;left:0;top:calc(50% - 12px);font-size:var(--zt-font-size-lg);height:24px;width:100%;color:var(--zt-gray-a2);text-align:center}.zt-signature__canvasWrapper{z-index:var(--zt-signature-canvas-z-index);position:absolute;top:0;left:0;width:100%;height:100%;background:var(--zt-signature-canvas-background-color)}.zt-signature__canvas{background:var(--zt-signature-canvas-background-color);color:var(--zt-signature-canvas-background-color)}.zt-signature__actions{z-index:var(--zt-signature-actions-z-index);position:absolute;right:0;bottom:16px;width:320px;float:right}.zt-signature__actions button{float:left;width:96px;margin-right:8px}.zt-signature__stroke{color:var(--zt-text-color)}.zt-signature__button-again{background:var(--zt-signature-button-background);border:var(--zt-signature-button-again-border)}.zt-signature__button-cancel{background:var(--zt-signature-button-background);color:var(--zt-text-color);border:var(--zt-signature-button-cancel-border)}.zt-theme-dark{--zt-signature-canvas-background-color: #19222d;--zt-signature-button-background: rgba(255, 255, 255, .04);--zt-signature-button-again-border: 0px;--zt-signature-button-cancel-border: 0px}
|
package/es/signature/index.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare const Signature: import("../utils").WithInstall<import("vue").Def
|
|
|
75
75
|
export default Signature;
|
|
76
76
|
export { signatureProps } from './Signature';
|
|
77
77
|
export type { SignatureProps } from './Signature';
|
|
78
|
-
export type { SignatureResultType } from './types';
|
|
78
|
+
export type { SignatureResultType, SignatureThemeVars } from './types';
|
|
79
79
|
declare module 'vue' {
|
|
80
80
|
interface GlobalComponents {
|
|
81
81
|
ZtSignature: typeof Signature;
|