zartui 3.1.9 → 3.1.11
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 -23
- 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/Cascader.d.ts +1 -1
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +2 -2
- package/es/cascader/types.d.ts +21 -0
- package/es/cell/Cell.d.ts +24 -1
- package/es/cell/Cell.mjs +30 -5
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +15 -2
- package/es/cell/types.d.ts +24 -0
- package/es/cell-group/index.css +1 -1
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checker.mjs +6 -0
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +2 -2
- package/es/checkbox/types.d.ts +19 -0
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/index.css +1 -1
- package/es/checkbox-group/index.d.ts +1 -1
- package/es/collapse/Collapse.d.ts +1 -1
- package/es/collapse/index.d.ts +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 +3 -3
- package/es/date-time-picker/DateTimePickerWrapper.d.ts +3 -3
- package/es/date-time-picker/index.css +1 -1
- package/es/date-time-picker/index.d.ts +3 -3
- 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.d.ts +1 -1
- package/es/dropdown-item/DropdownItem.mjs +1 -0
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +2 -2
- 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.d.ts +17 -2
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +13 -3
- 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 +13 -0
- package/es/hierarchy-select/HierarchySelect.mjs +133 -21
- package/es/hierarchy-select/index.css +1 -1
- package/es/hierarchy-select/index.d.ts +10 -1
- 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 +26 -0
- package/es/index-bar/IndexBar.mjs +192 -50
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +18 -0
- package/es/index-bar/types.d.ts +5 -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.d.ts +1 -1
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +2 -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/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +2 -1
- 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/RadioGroup.d.ts +1 -1
- package/es/radio-group/index.css +1 -1
- package/es/radio-group/index.d.ts +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/Rate.d.ts +1 -1
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +2 -1
- package/es/rate/types.d.ts +6 -0
- package/es/rate/types.mjs +0 -0
- package/es/search/Search.d.ts +2 -2
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +3 -3
- 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/Stepper.d.ts +1 -1
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +2 -1
- 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/Switch.d.ts +1 -1
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +2 -1
- package/es/switch/types.d.ts +18 -0
- package/es/switch/types.mjs +0 -0
- package/es/tabbar/Tabbar.d.ts +1 -1
- package/es/tabbar/index.d.ts +2 -1
- 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/types.d.ts +1 -0
- package/es/time-picker/TimePicker.d.ts +3 -3
- package/es/time-picker/index.css +1 -1
- package/es/time-picker/index.d.ts +4 -3
- 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/Cascader.d.ts +1 -1
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +2 -2
- package/lib/cascader/types.d.ts +21 -0
- package/lib/cell/Cell.d.ts +24 -1
- package/lib/cell/Cell.js +28 -3
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +15 -2
- package/lib/cell/types.d.ts +24 -0
- package/lib/cell-group/index.css +1 -1
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checker.js +6 -0
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +2 -2
- package/lib/checkbox/types.d.ts +19 -0
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/index.css +1 -1
- package/lib/checkbox-group/index.d.ts +1 -1
- package/lib/collapse/Collapse.d.ts +1 -1
- package/lib/collapse/index.d.ts +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 +3 -3
- package/lib/date-time-picker/DateTimePickerWrapper.d.ts +3 -3
- package/lib/date-time-picker/index.css +1 -1
- package/lib/date-time-picker/index.d.ts +3 -3
- 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.d.ts +1 -1
- package/lib/dropdown-item/DropdownItem.js +1 -0
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +2 -2
- 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.d.ts +17 -2
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +13 -3
- 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 +13 -0
- package/lib/hierarchy-select/HierarchySelect.js +132 -20
- package/lib/hierarchy-select/index.css +1 -1
- package/lib/hierarchy-select/index.d.ts +10 -1
- 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 +26 -0
- package/lib/index-bar/IndexBar.js +191 -49
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +18 -0
- package/lib/index-bar/types.d.ts +5 -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.d.ts +1 -1
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +2 -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/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +2 -1
- 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/RadioGroup.d.ts +1 -1
- package/lib/radio-group/index.css +1 -1
- package/lib/radio-group/index.d.ts +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/Rate.d.ts +1 -1
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +2 -1
- package/lib/rate/types.d.ts +6 -0
- package/lib/rate/types.js +15 -0
- package/lib/search/Search.d.ts +2 -2
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +3 -3
- 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/Stepper.d.ts +1 -1
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +2 -1
- 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/Switch.d.ts +1 -1
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +2 -1
- package/lib/switch/types.d.ts +18 -0
- package/lib/switch/types.js +15 -0
- package/lib/tabbar/Tabbar.d.ts +1 -1
- package/lib/tabbar/index.d.ts +2 -1
- 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/types.d.ts +1 -0
- package/lib/time-picker/TimePicker.d.ts +3 -3
- package/lib/time-picker/index.css +1 -1
- package/lib/time-picker/index.d.ts +4 -3
- 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 +1156 -693
- package/lib/zartui.es.js +1156 -693
- package/lib/zartui.js +1156 -693
- package/lib/zartui.min.js +1 -1
- package/package.json +5 -4
package/es/cell/index.d.ts
CHANGED
|
@@ -28,11 +28,16 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
28
28
|
type: import("vue").PropType<boolean | null>;
|
|
29
29
|
default: null;
|
|
30
30
|
};
|
|
31
|
+
clearable: BooleanConstructor;
|
|
32
|
+
clearIcon: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
31
36
|
} & {
|
|
32
37
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
33
38
|
url: StringConstructor;
|
|
34
39
|
replace: BooleanConstructor;
|
|
35
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
41
|
leftIcon: StringConstructor;
|
|
37
42
|
titleIcon: StringConstructor;
|
|
38
43
|
title: (NumberConstructor | StringConstructor)[];
|
|
@@ -62,12 +67,18 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
62
67
|
type: import("vue").PropType<boolean | null>;
|
|
63
68
|
default: null;
|
|
64
69
|
};
|
|
70
|
+
clearable: BooleanConstructor;
|
|
71
|
+
clearIcon: {
|
|
72
|
+
type: import("vue").PropType<string>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
65
75
|
} & {
|
|
66
76
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
67
77
|
url: StringConstructor;
|
|
68
78
|
replace: BooleanConstructor;
|
|
69
79
|
}>> & {
|
|
70
80
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
71
82
|
}, {
|
|
72
83
|
replace: boolean;
|
|
73
84
|
value: string;
|
|
@@ -77,10 +88,12 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
77
88
|
isLink: boolean;
|
|
78
89
|
required: boolean;
|
|
79
90
|
clickable: boolean | null;
|
|
91
|
+
clearable: boolean;
|
|
92
|
+
clearIcon: string;
|
|
80
93
|
}, {}>>;
|
|
81
94
|
export default Cell;
|
|
82
95
|
export type { CellProps, CellArrowDirection } from './Cell';
|
|
83
|
-
export type { CellDirection } from './types';
|
|
96
|
+
export type { CellDirection, CellThemeVars } from './types';
|
|
84
97
|
declare module 'vue' {
|
|
85
98
|
interface GlobalComponents {
|
|
86
99
|
ZtCell: typeof Cell;
|
package/es/cell/types.d.ts
CHANGED
|
@@ -1 +1,25 @@
|
|
|
1
1
|
export type CellDirection = 'horizontal' | 'vertical';
|
|
2
|
+
export type CellThemeVars = {
|
|
3
|
+
cellTextColor?: string;
|
|
4
|
+
cellBorderColor?: string;
|
|
5
|
+
cellActiveColor?: string;
|
|
6
|
+
cellRequiredColor?: string;
|
|
7
|
+
cellLabelColor?: string;
|
|
8
|
+
cellRightIconColor?: string;
|
|
9
|
+
cellVerticalBackground?: string;
|
|
10
|
+
cellHorizontalBackground?: string;
|
|
11
|
+
cellBackground?: string;
|
|
12
|
+
cellValuePadding?: string;
|
|
13
|
+
cellValueRadius?: string;
|
|
14
|
+
cellDirection?: string;
|
|
15
|
+
cellPadding?: string;
|
|
16
|
+
cellRowTitleMaxWidth?: string;
|
|
17
|
+
cellGroupBackground?: string;
|
|
18
|
+
cellGroupTitleColor?: string;
|
|
19
|
+
cellGroupTitlePadding?: string;
|
|
20
|
+
cellGroupInsetPadding?: string;
|
|
21
|
+
cellGroupInsetRadius?: string;
|
|
22
|
+
cellGroupInsetTitlePadding?: string;
|
|
23
|
+
cellLeftIconFontSize?: string;
|
|
24
|
+
cellLeftIconSize?: string;
|
|
25
|
+
};
|
package/es/cell-group/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-cell-group-background: var(--zt-background-2);--zt-cell-group-title-color: var(--zt-text-color-2);--zt-cell-group-title-padding: var(--zt-padding-md) var(--zt-padding-md);--zt-cell-group-
|
|
1
|
+
:root{--zt-cell-group-background: var(--zt-background-2);--zt-cell-group-title-color: var(--zt-text-color-2);--zt-cell-group-title-padding: var(--zt-padding-md) var(--zt-padding-md);--zt-cell-group-inset-padding: 0 var(--zt-padding-md);--zt-cell-group-inset-radius: var(--zt-radius-lg);--zt-cell-group-inset-title-padding: var(--zt-padding-md) var(--zt-padding-md)}.zt-cell-group{background:var(--zt-cell-group-background)}.zt-cell-group--inset{margin:var(--zt-cell-group-inset-padding);border-radius:var(--zt-cell-group-inset-radius);overflow:hidden}.zt-cell-group__title{padding:var(--zt-cell-group-title-padding);color:var(--zt-cell-group-title-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-xs)}.zt-cell-group__title--inset{padding:var(--zt-cell-group-inset-title-padding)}
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
type: PropType<boolean | null>;
|
|
45
45
|
default: null;
|
|
46
46
|
};
|
|
47
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
47
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
48
48
|
name: PropType<unknown>;
|
|
49
49
|
shape: {
|
|
50
50
|
type: PropType<import("./Checker").CheckerShape>;
|
package/es/checkbox/Checker.mjs
CHANGED
|
@@ -78,6 +78,12 @@ var stdin_default = defineComponent({
|
|
|
78
78
|
}, [slots.icon ? slots.icon({
|
|
79
79
|
checked,
|
|
80
80
|
disabled: disabled.value
|
|
81
|
+
}) : props.role === "radio" ? _createVNode(Icon, {
|
|
82
|
+
"style": iconStyle.value
|
|
83
|
+
}, {
|
|
84
|
+
default: () => [checked ? _createVNode("div", {
|
|
85
|
+
"class": bem("dot")
|
|
86
|
+
}, null) : ""]
|
|
81
87
|
}) : _createVNode(Icon, {
|
|
82
88
|
"name": indeterminate ? "minus" : "checkbox-select",
|
|
83
89
|
"style": iconStyle.value
|
package/es/checkbox/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-checkbox-
|
|
1
|
+
:root{--zt-checkbox-padding: 12px 0;--zt-checkbox-border-color: var(--zt-gray-a1);--zt-checkbox-duration: var(--zt-duration-fast);--zt-checkbox-round-icon-border: 1px solid var(--zt-gray-a1);--zt-checkbox-round-icon-box-shadow: -1px -1px 2px 0 #ffffff, 0 0 3px 0 var(--zt-gray-a2);--zt-checkbox-round-icon-background: linear-gradient(135deg, #e6ebf0 0%, #ffffff 100%);--zt-checkbox-label-margin: var(--zt-padding-xs);--zt-checkbox-label-color: var(--zt-text-color);--zt-checkbox-checked-icon-color: var(--zt-primary-color);--zt-checkbox-checked-icon-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .2);--zt-checkbox-checked-icon-border: 1px solid rgba(255, 255, 255, .5);--zt-checkbox-disabled-icon-shadow: -1px -1px 2px 0 #fff, 0 0 3px 0 var(--zt-gray-a2);--zt-checkbox-disabled-icon-border: 1px solid var(--zt-gray-a08);--zt-checkbox-disabled-label-color: var(--zt-gray-a2);--zt-checkbox-disabled-checked-icon-opacity: var(--zt-disabled-opacity);--zt-checkbox-disabled-icon-background: linear-gradient(134deg, #e1e6eb 0%, #e5edf5 100%)}.zt-checkbox{position:relative;display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none;padding:var(--zt-checkbox-padding)}.zt-checkbox--disabled{cursor:not-allowed}.zt-checkbox--label-disabled{cursor:default}.zt-checkbox--horizontal{margin-right:var(--zt-padding-sm)}.zt-checkbox__icon{font-size:var(--zt-font-size-lg);cursor:pointer;box-sizing:border-box}.zt-checkbox__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-checkbox-border-color);transition-duration:var(--zt-checkbox-duration);transition-property:color,border-color,background-color}.zt-checkbox__icon--round .zt-icon{border-radius:100%;border:var(--zt-checkbox-round-icon-border);box-shadow:var(--zt-checkbox-round-icon-box-shadow);background:var(--zt-checkbox-round-icon-background)}.zt-checkbox__icon--indeterminate .zt-icon,.zt-checkbox__icon--checked .zt-icon{color:var(--zt-white);background:var(--zt-checkbox-checked-icon-color);box-shadow:var(--zt-checkbox-checked-icon-shadow);border:var(--zt-checkbox-checked-icon-border)}.zt-checkbox__icon--disabled{cursor:not-allowed}.zt-checkbox__icon--disabled .zt-icon{border:var(--zt-checkbox-disabled-icon-border);box-shadow:var(--zt-checkbox-disabled-icon-shadow);background:var(--zt-checkbox-disabled-icon-background)}.zt-checkbox__icon--disabled.zt-checkbox__icon--checked .zt-icon{opacity:var(--zt-checkbox-disabled-checked-icon-opacity);background:var(--zt-checkbox-checked-icon-color);color:var(--zt-white)}.zt-checkbox__label{margin-left:var(--zt-checkbox-label-margin);color:var(--zt-checkbox-label-color);font-size:var(--zt-font-size-md)}.zt-checkbox__label--left{margin:0 var(--zt-checkbox-label-margin) 0 0}.zt-checkbox__label--disabled{color:var(--zt-checkbox-disabled-label-color)}.zt-theme-dark{--zt-checkbox-round-icon-box-shadow: none;--zt-checkbox-disabled-icon-shadow: none;--zt-checkbox-round-icon-background: rgba(255, 255, 255, .04);--zt-checkbox-round-icon-border: 1px solid var(--zt-gray);--zt-checkbox-disabled-icon-background: var(--zt-gray-a2)}
|
package/es/checkbox/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
|
19
19
|
type: import("vue").PropType<boolean | null>;
|
|
20
20
|
default: null;
|
|
21
21
|
};
|
|
22
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
22
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
name: import("vue").PropType<unknown>;
|
|
24
24
|
shape: {
|
|
25
25
|
type: import("vue").PropType<import("./Checker").CheckerShape>;
|
|
@@ -52,7 +52,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
|
52
52
|
}, {}>>;
|
|
53
53
|
export default Checkbox;
|
|
54
54
|
export type { CheckboxProps } from './Checkbox';
|
|
55
|
-
export type { CheckboxShape, CheckboxInstance, CheckboxLabelPosition, } from './types';
|
|
55
|
+
export type { CheckboxShape, CheckboxInstance, CheckboxLabelPosition, CheckboxThemeVars, } from './types';
|
|
56
56
|
declare module 'vue' {
|
|
57
57
|
interface GlobalComponents {
|
|
58
58
|
ZtCheckbox: typeof Checkbox;
|
package/es/checkbox/types.d.ts
CHANGED
|
@@ -11,3 +11,22 @@ export type CheckboxExpose = {
|
|
|
11
11
|
checked: ComputedRef<boolean>;
|
|
12
12
|
};
|
|
13
13
|
export type CheckboxInstance = ComponentPublicInstance<CheckboxProps, CheckboxExpose>;
|
|
14
|
+
export type CheckboxThemeVars = {
|
|
15
|
+
checkboxPadding?: string;
|
|
16
|
+
checkboxBorderColor?: string;
|
|
17
|
+
checkboxDuration?: string;
|
|
18
|
+
checkboxRoundIconBorder?: string;
|
|
19
|
+
checkboxRoundIconBoxShadow?: string;
|
|
20
|
+
checkboxRoundIconBackground?: string;
|
|
21
|
+
checkboxLabelMargin?: string;
|
|
22
|
+
checkboxLabelColor?: string;
|
|
23
|
+
checkboxCheckedIconColor?: string;
|
|
24
|
+
checkboxCheckedIconShadow?: string;
|
|
25
|
+
checkboxCheckedIconBorder?: string;
|
|
26
|
+
checkboxDisabledIconShadow?: string;
|
|
27
|
+
checkboxDisabledIconBorder?: string;
|
|
28
|
+
checkboxDisabledIconColor?: string;
|
|
29
|
+
checkboxDisabledLabelColor?: string;
|
|
30
|
+
checkboxDisabledCheckedIconOpacity?: string;
|
|
31
|
+
checkboxDisabledIconBackground?: string;
|
|
32
|
+
};
|
|
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: () => unknown[];
|
|
31
31
|
};
|
|
32
32
|
checkedColor: StringConstructor;
|
|
33
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
33
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
34
34
|
max: (NumberConstructor | StringConstructor)[];
|
|
35
35
|
disabled: BooleanConstructor;
|
|
36
36
|
iconSize: (NumberConstructor | StringConstructor)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-checkbox-group--horizontal{display:flex;flex-wrap:wrap}.zt-checkbox-group--vertical .zt-checkbox:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:calc(var(--zt-
|
|
1
|
+
.zt-checkbox-group--horizontal{display:flex;flex-wrap:wrap}.zt-checkbox-group--vertical .zt-checkbox:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:calc(var(--zt-font-size-lg) + var(--zt-checkbox-label-margin));border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-checkbox-group--vertical .zt-checkbox:last-child:after{display:none}
|
|
@@ -11,7 +11,7 @@ export declare const CheckboxGroup: import("../utils").WithInstall<import("vue")
|
|
|
11
11
|
default: () => unknown[];
|
|
12
12
|
};
|
|
13
13
|
checkedColor: StringConstructor;
|
|
14
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
14
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
max: (NumberConstructor | StringConstructor)[];
|
|
16
16
|
disabled: BooleanConstructor;
|
|
17
17
|
iconSize: (NumberConstructor | StringConstructor)[];
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
type: PropType<Numeric | Numeric[]>;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
37
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
38
38
|
border: {
|
|
39
39
|
type: BooleanConstructor;
|
|
40
40
|
default: true;
|
package/es/collapse/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const Collapse: import("../utils").WithInstall<import("vue").Defi
|
|
|
8
8
|
type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
11
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
12
|
border: {
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-collapse-item-duration: var(--zt-duration-base);--zt-collapse-item-content-padding: var(--zt-padding-sm) var(--zt-padding-md);--zt-collapse-item-content-
|
|
1
|
+
:root{--zt-collapse-item-duration: var(--zt-duration-base);--zt-collapse-item-content-padding: var(--zt-padding-sm) var(--zt-padding-md);--zt-collapse-item-content-text-color: var(--zt-text-color);--zt-collapse-item-content-background: var(--zt-background);--zt-collapse-item-title-padding: 10px 16px;--zt-collapse-item-icon-font-size: 24px}:root[zt-theme-size=large]{--zt-collapse-item-icon-font-size: 30px}.zt-collapse-item{-webkit-user-select:none;user-select:none}.zt-collapse-item__title{position:relative;display:flex;align-items:center;background-color:var(--zt-background);padding:var(--zt-collapse-item-title-padding)}.zt-collapse-item__bar{position:absolute;left:0;width:4px;height:16px;background:var(--zt-primary-color)}.zt-collapse-item__bar--custom{background:var(--zt-white)}.zt-collapse-item__icon{font-size:var(--zt-collapse-item-icon-font-size);color:var(--zt-gray-a4);transition:transform var(--zt-collapse-item-duration)}.zt-collapse-item__icon--expanded{color:var(--zt-primary-color);transform:rotate(-180deg)}.zt-collapse-item__icon--custom{color:var(--zt-white)}.zt-collapse-item__text{flex:1;font-weight:600;font-size:var(--zt-font-size-lg);color:var(--zt-text-color);line-height:var(--zt-line-height-xl)}.zt-collapse-item__text--custom{color:var(--zt-white)}.zt-collapse-item__text--disabled{cursor:not-allowed}.zt-collapse-item__wrapper{overflow:hidden;transition:height var(--zt-collapse-item-duration) ease-in-out;will-change:height}.zt-collapse-item__content{color:var(--zt-collapse-item-content-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);background:var(--zt-collapse-item-content-background)}
|
|
@@ -22,7 +22,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
|
|
|
22
22
|
export default CollapseItem;
|
|
23
23
|
export { collapseItemProps } from './CollapseItem';
|
|
24
24
|
export type { CollapseItemProps } from './CollapseItem';
|
|
25
|
-
export type { CollapseItemInstance } from './types';
|
|
25
|
+
export type { CollapseItemInstance, CollapseItemThemeVars } from './types';
|
|
26
26
|
declare module 'vue' {
|
|
27
27
|
interface GlobalComponents {
|
|
28
28
|
ZtCollapseItem: typeof CollapseItem;
|
|
@@ -4,3 +4,11 @@ export type CollapseItemExpose = {
|
|
|
4
4
|
toggle: (newValue?: boolean) => void;
|
|
5
5
|
};
|
|
6
6
|
export type CollapseItemInstance = ComponentPublicInstance<CollapseItemProps, CollapseItemExpose>;
|
|
7
|
+
export type CollapseItemThemeVars = {
|
|
8
|
+
collapseItemDuration?: string;
|
|
9
|
+
collapseItemContentPadding?: string;
|
|
10
|
+
collapseItemContentTextColor?: string;
|
|
11
|
+
collapseItemContentBackground?: string;
|
|
12
|
+
collapseItemTitlePadding?: string;
|
|
13
|
+
collapseItemIconFontSize?: string;
|
|
14
|
+
};
|
|
@@ -40,7 +40,8 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue"
|
|
|
40
40
|
themeVarsScope: import("./ConfigProvider").ConfigProviderThemeVarsScope;
|
|
41
41
|
}, {}>>;
|
|
42
42
|
export default ConfigProvider;
|
|
43
|
-
export type { ConfigProviderProps, ConfigProviderTheme, } from './ConfigProvider';
|
|
43
|
+
export type { ConfigProviderProps, ConfigProviderTheme, ConfigProviderThemeVarsScope, } from './ConfigProvider';
|
|
44
|
+
export type { ConfigProviderThemeVars } from './types';
|
|
44
45
|
declare module 'vue' {
|
|
45
46
|
interface GlobalComponents {
|
|
46
47
|
ZtConfigProvider: typeof ConfigProvider;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
export type BaseThemeVars = {
|
|
2
|
+
greenR?: string;
|
|
3
|
+
greenG?: string;
|
|
4
|
+
greenB?: string;
|
|
5
|
+
greenRgb?: string;
|
|
6
|
+
deepGreenR?: string;
|
|
7
|
+
deepGreenG?: string;
|
|
8
|
+
deepGreenB?: string;
|
|
9
|
+
deepGreenRgb?: string;
|
|
10
|
+
orangeR?: string;
|
|
11
|
+
orangeG?: string;
|
|
12
|
+
orangeB?: string;
|
|
13
|
+
orangeRgb?: string;
|
|
14
|
+
yellowR?: string;
|
|
15
|
+
yellowG?: string;
|
|
16
|
+
yellowB?: string;
|
|
17
|
+
yellowRgb?: string;
|
|
18
|
+
blueR?: string;
|
|
19
|
+
blueG?: string;
|
|
20
|
+
blueB?: string;
|
|
21
|
+
blueRgb?: string;
|
|
22
|
+
grayR?: string;
|
|
23
|
+
grayG?: string;
|
|
24
|
+
grayB?: string;
|
|
25
|
+
grayRgb?: string;
|
|
26
|
+
redR?: string;
|
|
27
|
+
redG?: string;
|
|
28
|
+
redB?: string;
|
|
29
|
+
redRgb?: string;
|
|
30
|
+
primaryColorR?: string;
|
|
31
|
+
primaryColorG?: string;
|
|
32
|
+
primaryColorB?: string;
|
|
33
|
+
primaryColorRgb?: string;
|
|
34
|
+
black?: string;
|
|
35
|
+
white?: string;
|
|
36
|
+
gray?: string;
|
|
37
|
+
grayA04?: string;
|
|
38
|
+
grayA06?: string;
|
|
39
|
+
grayA08?: string;
|
|
40
|
+
grayA1?: string;
|
|
41
|
+
grayA2?: string;
|
|
42
|
+
grayA4?: string;
|
|
43
|
+
grayA6?: string;
|
|
44
|
+
grayA8?: string;
|
|
45
|
+
red?: string;
|
|
46
|
+
blue?: string;
|
|
47
|
+
orange?: string;
|
|
48
|
+
orange2?: string;
|
|
49
|
+
green?: string;
|
|
50
|
+
yellow?: string;
|
|
51
|
+
textColorRgb?: string;
|
|
52
|
+
primaryColor?: string;
|
|
53
|
+
primaryColorLight?: string;
|
|
54
|
+
primaryColorA1?: string;
|
|
55
|
+
primaryColorA2?: string;
|
|
56
|
+
primaryColorA6?: string;
|
|
57
|
+
successColor?: string;
|
|
58
|
+
dangerColor?: string;
|
|
59
|
+
warningColor?: string;
|
|
60
|
+
textColor?: string;
|
|
61
|
+
textColor2?: string;
|
|
62
|
+
textColor3?: string;
|
|
63
|
+
placeholderColor?: string;
|
|
64
|
+
activeColor?: string;
|
|
65
|
+
activeOpacity?: number;
|
|
66
|
+
disabledOpacity?: number;
|
|
67
|
+
background?: string;
|
|
68
|
+
background2?: string;
|
|
69
|
+
background3?: string;
|
|
70
|
+
background4?: string;
|
|
71
|
+
background5?: string;
|
|
72
|
+
backgroundCard?: string;
|
|
73
|
+
paddingXxs?: string;
|
|
74
|
+
paddingBase?: string;
|
|
75
|
+
paddingXs?: string;
|
|
76
|
+
paddingSm?: string;
|
|
77
|
+
paddingMd?: string;
|
|
78
|
+
paddingLg?: string;
|
|
79
|
+
paddingXl?: string;
|
|
80
|
+
fontBold?: number;
|
|
81
|
+
fontSizeXs?: string;
|
|
82
|
+
fontSizeSm?: string;
|
|
83
|
+
fontSizeMd?: string;
|
|
84
|
+
fontSizeLg?: string;
|
|
85
|
+
fontSizeGt?: string;
|
|
86
|
+
fontSize1?: string;
|
|
87
|
+
fontSize2?: string;
|
|
88
|
+
fontSize3?: string;
|
|
89
|
+
fontSize4?: string;
|
|
90
|
+
fontSize5?: string;
|
|
91
|
+
fontSize6?: string;
|
|
92
|
+
fontSize7?: string;
|
|
93
|
+
fontSize8?: string;
|
|
94
|
+
fontSize9?: string;
|
|
95
|
+
fontSize10?: string;
|
|
96
|
+
fontSize11?: string;
|
|
97
|
+
fontSize12?: string;
|
|
98
|
+
fontSize13?: string;
|
|
99
|
+
fontSize14?: string;
|
|
100
|
+
fontSize15?: string;
|
|
101
|
+
lineHeightXs?: string;
|
|
102
|
+
lineHeightSm?: string;
|
|
103
|
+
lineHeightMd?: string;
|
|
104
|
+
lineHeightLg?: string;
|
|
105
|
+
lineHeight1?: string;
|
|
106
|
+
lineHeight2?: string;
|
|
107
|
+
lineHeight3?: string;
|
|
108
|
+
lineHeight4?: string;
|
|
109
|
+
lineHeight5?: string;
|
|
110
|
+
lineHeight6?: string;
|
|
111
|
+
lineHeight7?: string;
|
|
112
|
+
lineHeight8?: string;
|
|
113
|
+
lineHeight9?: string;
|
|
114
|
+
lineHeight10?: string;
|
|
115
|
+
lineHeight11?: string;
|
|
116
|
+
lineHeight12?: string;
|
|
117
|
+
lineHeight13?: string;
|
|
118
|
+
lineHeight14?: string;
|
|
119
|
+
lineHeight15?: string;
|
|
120
|
+
lineHeight16?: string;
|
|
121
|
+
lineHeight17?: string;
|
|
122
|
+
lineHeight18?: string;
|
|
123
|
+
lineHeight19?: string;
|
|
124
|
+
baseFont?: string;
|
|
125
|
+
priceFont?: string;
|
|
126
|
+
durationBase?: string;
|
|
127
|
+
durationFast?: string;
|
|
128
|
+
easeOut?: string;
|
|
129
|
+
easeIn?: string;
|
|
130
|
+
borderColor?: string;
|
|
131
|
+
borderWidth?: string;
|
|
132
|
+
radiusSm?: string;
|
|
133
|
+
radiusMd?: string;
|
|
134
|
+
radiusLg?: string;
|
|
135
|
+
radiusGt?: string;
|
|
136
|
+
radiusMax?: string;
|
|
137
|
+
};
|
|
138
|
+
export type ConfigProviderThemeVars = BaseThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../avatar').AvatarThemeVars & import('../badge').BadgeThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../checkbox').CheckboxThemeVars & import('../collapse-item').CollapseItemThemeVars & import('../dialog').DialogThemeVars & import('../divider').DividerThemeVars & import('../dropdown-item').DropdownItemThemeVars & import('../dropdown-menu').DropdownMenuThemeVars & import('../empty').EmptyThemeVars & import('../field').FieldThemeVars & import('../grid-item').GridItemThemeVars & import('../hierarchy-select').HierarchySelectThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../media-picker').MediaPickerThemeVars & import('../multiple-picker').MultiplePickerThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../radio-picker').RadioPickerThemeVars & import('../rate').RateThemeVars & import('../search').SearchThemeVars & import('../signature').SignatureThemeVars & import('../skeleton').SkeletonThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../table').TableThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../text-ellipsis').TextEllipsisThemeVars & import('../time-picker').TimePickerThemeVars & import('../timeline').TimelineThemeVars & import('../toast').ToastThemeVars & import('../uploader').UploaderThemeVars;
|
|
File without changes
|
|
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
type: import("vue").PropType<string[]>;
|
|
103
103
|
default: () => string[];
|
|
104
104
|
};
|
|
105
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
105
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue")[], "cancel" | "change" | "update:modelValue" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
106
106
|
loading: BooleanConstructor;
|
|
107
107
|
readonly: BooleanConstructor;
|
|
108
108
|
allowHtml: BooleanConstructor;
|
|
@@ -230,9 +230,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
230
230
|
minDate: Date;
|
|
231
231
|
maxDate: Date;
|
|
232
232
|
allowHtml: boolean;
|
|
233
|
-
optionHeight: string | number;
|
|
234
|
-
showToolbar: boolean;
|
|
235
233
|
swipeDuration: string | number;
|
|
234
|
+
showToolbar: boolean;
|
|
235
|
+
optionHeight: string | number;
|
|
236
236
|
visibleOptionNum: string | number;
|
|
237
237
|
columnsUnit: string[];
|
|
238
238
|
columnsType: DateTimePickerColumnType[];
|
|
@@ -201,7 +201,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
201
201
|
type: PropType<string[]>;
|
|
202
202
|
default: () => string[];
|
|
203
203
|
};
|
|
204
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
204
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
205
205
|
loading: BooleanConstructor;
|
|
206
206
|
readonly: BooleanConstructor;
|
|
207
207
|
allowHtml: BooleanConstructor;
|
|
@@ -322,9 +322,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
322
322
|
minDate: Date;
|
|
323
323
|
maxDate: Date;
|
|
324
324
|
allowHtml: boolean;
|
|
325
|
-
optionHeight: string | number;
|
|
326
|
-
showToolbar: boolean;
|
|
327
325
|
swipeDuration: string | number;
|
|
326
|
+
showToolbar: boolean;
|
|
327
|
+
optionHeight: string | number;
|
|
328
328
|
visibleOptionNum: string | number;
|
|
329
329
|
columnsUnit: string[];
|
|
330
330
|
columnsType: DateTimePickerColumnType[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-date-time-picker__title-bar{display:flex;flex-direction:column;align-items:center;padding:12px;flex:1;color:var(--zt-text-color)}.zt-date-time-picker__title-bar--unselected{color:var(--zt-gray-a4)}.zt-date-time-picker__title{font-weight:700;font-size:
|
|
1
|
+
.zt-date-time-picker__title-bar{display:flex;flex-direction:column;align-items:center;padding:12px;flex:1;color:var(--zt-text-color)}.zt-date-time-picker__title-bar--unselected{color:var(--zt-gray-a4)}.zt-date-time-picker__title{font-weight:700;font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);height:var(--zt-line-height-md)}.zt-date-time-picker__title--selected{color:var(--zt-primary-color)}.zt-date-time-picker__title--unselected{font-weight:400}.zt-date-time-picker__value{font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);height:var(--zt-line-height-md);margin-top:4px}.zt-date-time-picker__title-tab-bar{display:flex;align-items:center}.zt-date-time-picker__title-separator{width:1px;height:40px;background-color:var(--zt-gray-a1)}
|
|
@@ -99,7 +99,7 @@ export declare const DateTimePicker: import("../utils").WithInstall<import("vue"
|
|
|
99
99
|
type: import("vue").PropType<string[]>;
|
|
100
100
|
default: () => string[];
|
|
101
101
|
};
|
|
102
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
102
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue")[], "cancel" | "change" | "update:modelValue" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
103
103
|
loading: BooleanConstructor;
|
|
104
104
|
readonly: BooleanConstructor;
|
|
105
105
|
allowHtml: BooleanConstructor;
|
|
@@ -227,9 +227,9 @@ export declare const DateTimePicker: import("../utils").WithInstall<import("vue"
|
|
|
227
227
|
minDate: Date;
|
|
228
228
|
maxDate: Date;
|
|
229
229
|
allowHtml: boolean;
|
|
230
|
-
optionHeight: string | number;
|
|
231
|
-
showToolbar: boolean;
|
|
232
230
|
swipeDuration: string | number;
|
|
231
|
+
showToolbar: boolean;
|
|
232
|
+
optionHeight: string | number;
|
|
233
233
|
visibleOptionNum: string | number;
|
|
234
234
|
columnsUnit: string[];
|
|
235
235
|
columnsType: import("./DateTimePicker").DateTimePickerColumnType[];
|
|
@@ -46,7 +46,7 @@ export declare const sharedProps: {
|
|
|
46
46
|
default: (type: string, option: PickerOption) => PickerOption;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
-
export declare const pickerInheritKeys: ("title" | "readonly" | "loading" | "showTitle" | "allowHtml" | "
|
|
49
|
+
export declare const pickerInheritKeys: ("title" | "readonly" | "loading" | "showTitle" | "allowHtml" | "cancelButtonText" | "confirmButtonText" | "swipeDuration" | "showToolbar" | "optionHeight" | "visibleOptionNum")[];
|
|
50
50
|
export declare function times<T>(n: number, iteratee: (index: number) => T): T[];
|
|
51
51
|
export declare const getMonthEndDay: (year: number, month: number) => number;
|
|
52
52
|
export declare const genOptions: <T extends string>(min: number, max: number, type: T, formatter: Formatter, filter?: Filter) => PickerOption[];
|
package/es/dialog/Dialog.d.ts
CHANGED
|
@@ -181,8 +181,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
181
181
|
closeOnClickOverlay: boolean;
|
|
182
182
|
transition: string;
|
|
183
183
|
closeOnPopstate: boolean;
|
|
184
|
-
allowHtml: boolean;
|
|
185
184
|
primaryHeader: boolean;
|
|
185
|
+
allowHtml: boolean;
|
|
186
186
|
showCancelButton: boolean;
|
|
187
187
|
cancelButtonDisabled: boolean;
|
|
188
188
|
confirmButtonDisabled: boolean;
|
package/es/dialog/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-dialog-width: 350px;--zt-dialog-max-width: 90%;--zt-dialog-
|
|
1
|
+
:root{--zt-dialog-width: 350px;--zt-dialog-max-width: 90%;--zt-dialog-transition: var(--zt-duration-base);--zt-dialog-radius: 12px;--zt-dialog-background: var(--zt-background-2);--zt-dialog-header-font-weight: var(--zt-font-bold);--zt-dialog-header-padding-top: 24px;--zt-dialog-header-isolated-padding: var(--zt-padding-lg) 0;--zt-dialog-header-primary-padding: 10px;--zt-dialog-message-padding: var(--zt-padding-lg) var(--zt-padding-md);--zt-dialog-message-max-height: 60vh;--zt-dialog-has-title-message-text-color: var(--zt-gray-a6);--zt-dialog-has-title-message-padding-top: var(--zt-padding-xs);--zt-dialog-has-title-message-primary-header: var(--zt-padding-lg);--zt-dialog-confirm-button-text-color: var(--zt-white);--zt-dialog-cancel-button-background-color: var(--zt-white)}.zt-dialog{top:45%;width:var(--zt-dialog-width);max-width:var(--zt-dialog-max-width);overflow:hidden;font-size:var(--zt-font-size-lg);background:var(--zt-dialog-background);border-radius:var(--zt-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--zt-dialog-transition);transition-property:transform,opacity}.zt-dialog__header{color:var(--zt-text-color);padding-top:var(--zt-dialog-header-padding-top);font-weight:var(--zt-dialog-header-font-weight);line-height:var(--zt-line-height-xl);text-align:center}.zt-dialog__header--isolated{padding:var(--zt-dialog-header-isolated-padding)}.zt-dialog__header--custom-title{padding-left:0;padding-right:0;padding-top:0}.zt-dialog__header--primary{padding:var(--zt-dialog-header-primary-padding);background:var(--zt-primary-color);color:var(--zt-white)}.zt-dialog__content{text-align:center;font-size:0}.zt-dialog__message{display:inline-block;color:var(--zt-gray-a8);max-height:var(--zt-dialog-message-max-height);padding:var(--zt-dialog-message-padding);overflow-y:auto;font-size:var(--zt-font-size-lg);line-height:var(--zt-line-height-md);white-space:pre-wrap;text-align:left;word-wrap:break-word;-webkit-overflow-scrolling:touch}.zt-dialog__message--has-title{padding-top:var(--zt-dialog-has-title-message-padding-top);color:var(--zt-dialog-has-title-message-text-color);font-size:var(--zt-font-size-md)}.zt-dialog__message--primary-header{padding-top:var(--zt-dialog-has-title-message-primary-header)}.zt-dialog__message--left{text-align:left}.zt-dialog__message--right{text-align:right}.zt-dialog__message--justify{text-align:justify}.zt-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none;margin:0 var(--zt-padding-xl) var(--zt-padding-lg)}.zt-dialog__confirm,.zt-dialog__cancel{flex:1;margin:0;background-color:var(--zt-dialog-cancel-button-background-color)}.zt-dialog__confirm,.zt-dialog__confirm:active{color:var(--zt-dialog-confirm-button-text-color)}.zt-dialog__confirm--with-cancel{margin-left:8px}.zt-dialog--round-button .zt-dialog__footer{position:relative;height:auto;padding:var(--zt-padding-xs) var(--zt-padding-lg) var(--zt-padding-md)}.zt-dialog--round-button .zt-dialog__message{padding-bottom:var(--zt-padding-md);color:var(--zt-text-color)}.zt-dialog--round-button .zt-dialog__confirm,.zt-dialog--round-button .zt-dialog__cancel{height:var(--zt-dialog-round-button-height)}.zt-dialog--round-button .zt-dialog__confirm{color:var(--zt-white)}.zt-dialog-bounce-enter-from{transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.zt-dialog-bounce-leave-active{transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}.zt-theme-dark{--zt-dialog-cancel-button-background-color: rbga(255, 255, 255, .2)}
|
package/es/dialog/index.d.ts
CHANGED
|
@@ -122,8 +122,8 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
|
122
122
|
closeOnClickOverlay: boolean;
|
|
123
123
|
transition: string;
|
|
124
124
|
closeOnPopstate: boolean;
|
|
125
|
-
allowHtml: boolean;
|
|
126
125
|
primaryHeader: boolean;
|
|
126
|
+
allowHtml: boolean;
|
|
127
127
|
showCancelButton: boolean;
|
|
128
128
|
cancelButtonDisabled: boolean;
|
|
129
129
|
confirmButtonDisabled: boolean;
|
|
@@ -133,7 +133,7 @@ export default Dialog;
|
|
|
133
133
|
export { dialogProps } from './Dialog';
|
|
134
134
|
export { showDialog, closeDialog, showConfirmDialog, setDialogDefaultOptions, resetDialogDefaultOptions, } from './function-call';
|
|
135
135
|
export type { DialogProps } from './Dialog';
|
|
136
|
-
export type { DialogTheme, DialogMessage, DialogOptions, DialogMessageAlign, } from './types';
|
|
136
|
+
export type { DialogTheme, DialogMessage, DialogOptions, DialogMessageAlign, DialogThemeVars, } from './types';
|
|
137
137
|
declare module 'vue' {
|
|
138
138
|
interface GlobalComponents {
|
|
139
139
|
ZtDialog: typeof Dialog;
|
package/es/dialog/types.d.ts
CHANGED
|
@@ -31,3 +31,21 @@ export type DialogOptions = {
|
|
|
31
31
|
confirmButtonDisabled?: boolean;
|
|
32
32
|
closeOnClickOverlay?: boolean;
|
|
33
33
|
};
|
|
34
|
+
export type DialogThemeVars = {
|
|
35
|
+
dialogWidth?: string;
|
|
36
|
+
dialogMaxWidth?: string;
|
|
37
|
+
dialogTransition?: string;
|
|
38
|
+
dialogRadius?: string;
|
|
39
|
+
dialogBackground?: string;
|
|
40
|
+
dialogHeaderFontWeight?: string;
|
|
41
|
+
dialogHeaderPaddingTop?: string;
|
|
42
|
+
dialogHeaderIsolatedPadding?: string;
|
|
43
|
+
dialogHeaderPrimaryPadding?: string;
|
|
44
|
+
dialogMessagePadding?: string;
|
|
45
|
+
dialogMessageMaxHeight?: string;
|
|
46
|
+
dialogHasTitleMessageTextColor?: string;
|
|
47
|
+
dialogHasTitleMessagePaddingTop?: string;
|
|
48
|
+
dialogHasTitleMessagePrimaryHeader?: string;
|
|
49
|
+
dialogConfirmButtonTextColor?: string;
|
|
50
|
+
dialogCancelButtonBackgroundColor?: string;
|
|
51
|
+
};
|
package/es/divider/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--zt-divider-margin: var(--zt-padding-md) 0;--zt-divider-text-color: var(--zt-gray-a4);--zt-divider-
|
|
1
|
+
:root{--zt-divider-margin: var(--zt-padding-md) 0;--zt-divider-text-color: var(--zt-gray-a4);--zt-divider-border-color: var(--zt-border-color);--zt-divider-content-padding: var(--zt-padding-md);--zt-divider-content-left-width: 10%;--zt-divider-content-right-width: 10%}.zt-divider{display:flex;align-items:center;margin:var(--zt-divider-margin);color:var(--zt-divider-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-xl);border-color:var(--zt-divider-border-color);border-style:solid;border-width:0}.zt-divider:before,.zt-divider:after{display:block;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:var(--zt-border-width) 0 0}.zt-divider:before{content:""}.zt-divider--hairline:before,.zt-divider--hairline:after{transform:scaleY(.5)}.zt-divider--dashed{border-style:dashed}.zt-divider--content-center:before,.zt-divider--content-left:before,.zt-divider--content-right:before{margin-right:var(--zt-divider-content-padding)}.zt-divider--content-center:after,.zt-divider--content-left:after,.zt-divider--content-right:after{margin-left:var(--zt-divider-content-padding);content:""}.zt-divider--content-left:before{max-width:var(--zt-divider-content-left-width)}.zt-divider--content-right:after{max-width:var(--zt-divider-content-right-width)}
|
package/es/divider/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
|
|
|
25
25
|
}, {}>>;
|
|
26
26
|
export default Divider;
|
|
27
27
|
export type { DividerProps, DividerContentPosition } from './Divider';
|
|
28
|
+
export type { DividerThemeVars } from './types';
|
|
28
29
|
declare module 'vue' {
|
|
29
30
|
interface GlobalComponents {
|
|
30
31
|
ZtDivider: typeof Divider;
|
|
File without changes
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
};
|
|
41
41
|
titleClass: PropType<unknown>;
|
|
42
42
|
multiSelect: BooleanConstructor;
|
|
43
|
-
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "open" | "
|
|
43
|
+
}, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "open" | "change" | "close" | "update:modelValue" | "opened" | "closed" | "confirm")[], "reset" | "open" | "change" | "close" | "update:modelValue" | "opened" | "closed" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
44
44
|
title: StringConstructor;
|
|
45
45
|
options: {
|
|
46
46
|
type: PropType<DropdownItemOption[]>;
|