@soybeanjs/ui 0.17.0 → 0.19.0
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 +27 -5
- package/README.zh-CN.md +27 -5
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion/types.d.ts +3 -3
- package/dist/components/affix/affix.js +1 -1
- package/dist/components/affix/types.d.ts +2 -2
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/alert/alert.vue.d.ts +2 -0
- package/dist/components/alert/types.d.ts +4 -4
- package/dist/components/anchor/anchor.js +1 -1
- package/dist/components/anchor/types.d.ts +3 -3
- package/dist/components/autocomplete/autocomplete.js +1 -1
- package/dist/components/autocomplete/types.d.ts +3 -3
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/avatar/avatar.vue.d.ts +2 -8
- package/dist/components/avatar/types.d.ts +4 -24
- package/dist/components/backtop/backtop.js +1 -1
- package/dist/components/backtop/backtop.vue.d.ts +2 -2
- package/dist/components/backtop/types.d.ts +2 -2
- package/dist/components/backtop/variants.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/badge.vue.d.ts +2 -6
- package/dist/components/badge/types.d.ts +4 -12
- package/dist/components/badge/variants.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.js +1 -1
- package/dist/components/bottom-sheet/types.d.ts +3 -3
- package/dist/components/bottom-sheet/variants.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumb/types.d.ts +3 -3
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button-icon.js +1 -1
- package/dist/components/button/button-link.js +1 -1
- package/dist/components/button/button-link.vue.d.ts +1 -1
- package/dist/components/button/button-loading.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button.vue.d.ts +2 -2
- package/dist/components/button/types.d.ts +6 -6
- package/dist/components/button/variants.js +1 -1
- package/dist/components/calendar/calendar.js +1 -1
- package/dist/components/calendar/types.d.ts +3 -3
- package/dist/components/calendar-range/calendar-range.js +1 -0
- package/dist/components/{range-calendar/range-calendar.vue.d.ts → calendar-range/calendar-range.vue.d.ts} +5 -5
- package/dist/components/calendar-range/index.d.ts +3 -0
- package/dist/components/calendar-range/index.js +1 -0
- package/dist/components/calendar-range/types.d.ts +32 -0
- package/dist/components/calendar-range/variants.js +1 -0
- package/dist/components/card/card-collapsible-trigger.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/card/types.d.ts +1 -1
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/components/carousel/carousel.vue.d.ts +16 -19
- package/dist/components/carousel/index.d.ts +1 -5
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/types.d.ts +22 -7
- package/dist/components/carousel/variants.js +1 -1
- package/dist/components/checkbox/checkbox-card-group.js +1 -1
- package/dist/components/checkbox/checkbox-card.js +1 -1
- package/dist/components/checkbox/checkbox-group.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/checkbox/types.d.ts +8 -8
- package/dist/components/clipboard/clipboard.js +1 -1
- package/dist/components/clipboard/clipboard.vue.d.ts +2 -2
- package/dist/components/clipboard/types.d.ts +1 -1
- package/dist/components/collapsible/collapsible.js +1 -1
- package/dist/components/collapsible/collapsible.vue.d.ts +1 -1
- package/dist/components/collapsible/types.d.ts +2 -2
- package/dist/components/color-area/color-area.js +1 -1
- package/dist/components/color-area/color-area.vue.d.ts +5 -5
- package/dist/components/color-area/types.d.ts +5 -13
- package/dist/components/color-field/color-field.js +1 -1
- package/dist/components/color-field/color-field.vue.d.ts +3 -3
- package/dist/components/color-field/types.d.ts +5 -9
- package/dist/components/color-field/variants.js +1 -1
- package/dist/components/color-picker/color-picker.js +1 -1
- package/dist/components/color-picker/color-picker.vue.d.ts +21 -36
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/types.d.ts +8 -120
- package/dist/components/color-picker/variants.js +1 -1
- package/dist/components/color-slider/color-slider.js +1 -1
- package/dist/components/color-slider/color-slider.vue.d.ts +5 -5
- package/dist/components/color-slider/types.d.ts +5 -13
- package/dist/components/color-swatch/color-swatch.js +1 -1
- package/dist/components/color-swatch/color-swatch.vue.d.ts +2 -5
- package/dist/components/color-swatch/index.d.ts +3 -2
- package/dist/components/color-swatch/types.d.ts +10 -14
- package/dist/components/color-swatch-picker/color-swatch-picker.js +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker.vue.d.ts +6 -6
- package/dist/components/color-swatch-picker/types.d.ts +6 -22
- package/dist/components/color-swatch-picker/variants.d.ts +9 -9
- package/dist/components/color-swatch-picker/variants.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/combobox/types.d.ts +3 -3
- package/dist/components/command/command.js +1 -1
- package/dist/components/command/command.vue.d.ts +1 -1
- package/dist/components/command/types.d.ts +3 -3
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +1 -1
- package/dist/components/config-provider/types.d.ts +3 -5
- package/dist/components/context-menu/context-menu-checkbox.js +1 -1
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +1 -1
- package/dist/components/context-menu/context-menu-radio.js +1 -1
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu-wrapper.js +1 -1
- package/dist/components/context-menu/context-menu.js +1 -1
- package/dist/components/context-menu/context-menu.vue.d.ts +1 -1
- package/dist/components/context-menu/index.d.ts +4 -4
- package/dist/components/context-menu/index.js +1 -1
- package/dist/components/context-menu/types.d.ts +11 -11
- package/dist/components/date-field/date-field.js +1 -1
- package/dist/components/date-field/date-field.vue.d.ts +4 -4
- package/dist/components/date-field/types.d.ts +2 -2
- package/dist/components/date-field/variants.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-picker/date-picker.vue.d.ts +17 -11
- package/dist/components/date-picker/index.d.ts +1 -1
- package/dist/components/date-picker/types.d.ts +9 -8
- package/dist/components/date-picker/variants.js +1 -1
- package/dist/components/date-range-field/date-range-field.js +1 -1
- package/dist/components/date-range-field/date-range-field.vue.d.ts +1 -3
- package/dist/components/date-range-field/index.d.ts +1 -1
- package/dist/components/date-range-field/types.d.ts +8 -52
- package/dist/components/date-range-field/variants.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +20 -14
- package/dist/components/date-range-picker/index.d.ts +1 -1
- package/dist/components/date-range-picker/types.d.ts +9 -41
- package/dist/components/dialog/dialog-provider.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/dialog/dialog.vue.d.ts +2 -0
- package/dist/components/dialog/types.d.ts +3 -3
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/drawer/drawer.vue.d.ts +2 -0
- package/dist/components/drawer/types.d.ts +3 -3
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +3 -3
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/types.d.ts +11 -11
- package/dist/components/editable/editable.js +1 -1
- package/dist/components/editable/editable.vue.d.ts +6 -6
- package/dist/components/editable/types.d.ts +9 -9
- package/dist/components/empty/empty.js +1 -1
- package/dist/components/empty/empty.vue.d.ts +2 -8
- package/dist/components/empty/index.d.ts +1 -2
- package/dist/components/empty/types.d.ts +11 -40
- package/dist/components/empty/variants.js +1 -1
- package/dist/components/form/form-field-array.js +1 -0
- package/dist/components/form/form-field-base.js +1 -1
- package/dist/components/form/form-field-base.vue.d.ts +3 -16
- package/dist/components/form/form-field.js +1 -0
- package/dist/components/form/form.js +1 -1
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/index.d.ts +1 -1
- package/dist/components/form/types.d.ts +20 -123
- package/dist/components/form/use-form.d.ts +3 -41
- package/dist/components/form/use-form.js +1 -1
- package/dist/components/form/variants.js +1 -1
- package/dist/components/hover-card/hover-card.js +1 -1
- package/dist/components/hover-card/types.d.ts +7 -7
- package/dist/components/icon/types.d.ts +2 -2
- package/dist/components/input/index.d.ts +4 -2
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/input/input.vue.d.ts +2 -7
- package/dist/components/input/types.d.ts +10 -20
- package/dist/components/input/variants.js +1 -1
- package/dist/components/input-number/index.d.ts +1 -1
- package/dist/components/input-number/input-number.js +1 -1
- package/dist/components/input-number/input-number.vue.d.ts +6 -13
- package/dist/components/input-number/types.d.ts +10 -26
- package/dist/components/input-number/variants.js +1 -1
- package/dist/components/input-otp/input-otp.js +1 -1
- package/dist/components/input-otp/input-otp.vue.d.ts +2 -2
- package/dist/components/input-otp/types.d.ts +3 -3
- package/dist/components/kbd/kbd.js +1 -1
- package/dist/components/kbd/types.d.ts +1 -1
- package/dist/components/label/label.js +1 -1
- package/dist/components/label/types.d.ts +1 -1
- package/dist/components/layout/layout-classic.js +1 -1
- package/dist/components/layout/layout.js +1 -1
- package/dist/components/layout/types.d.ts +6 -6
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/types.d.ts +1 -1
- package/dist/components/list/list.js +1 -1
- package/dist/components/list/types.d.ts +5 -5
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/index.d.ts +1 -8
- package/dist/components/menu/types.d.ts +1 -1
- package/dist/components/menubar/menubar.js +1 -1
- package/dist/components/menubar/menubar.vue.d.ts +1 -1
- package/dist/components/menubar/types.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.js +1 -1
- package/dist/components/navigation-menu/types.d.ts +20 -20
- package/dist/components/page-tabs/index.d.ts +1 -1
- package/dist/components/page-tabs/page-tabs.js +1 -1
- package/dist/components/page-tabs/page-tabs.vue.d.ts +7 -5
- package/dist/components/page-tabs/types.d.ts +12 -119
- package/dist/components/page-tabs/variants.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/pagination/types.d.ts +9 -9
- package/dist/components/password/index.d.ts +3 -2
- package/dist/components/password/password.js +1 -1
- package/dist/components/password/password.vue.d.ts +2 -12
- package/dist/components/password/types.d.ts +10 -27
- package/dist/components/popconfirm/index.d.ts +3 -5
- package/dist/components/popconfirm/index.js +1 -1
- package/dist/components/popconfirm/popconfirm.js +1 -1
- package/dist/components/popconfirm/popconfirm.vue.d.ts +6 -27
- package/dist/components/popconfirm/types.d.ts +10 -211
- package/dist/components/popconfirm/variants.js +1 -1
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/popover/popover.vue.d.ts +2 -9
- package/dist/components/popover/types.d.ts +11 -39
- package/dist/components/popover/variants.js +1 -1
- package/dist/components/progress/index.d.ts +11 -3
- package/dist/components/progress/progress-circle.js +1 -1
- package/dist/components/progress/progress-circle.vue.d.ts +2 -10
- package/dist/components/progress/progress-provider.js +1 -1
- package/dist/components/progress/progress-provider.vue.d.ts +1 -1
- package/dist/components/progress/progress.js +1 -1
- package/dist/components/progress/progress.vue.d.ts +2 -11
- package/dist/components/progress/types.d.ts +18 -18
- package/dist/components/progress/variants.js +1 -1
- package/dist/components/radio-group/radio-card-group.js +1 -1
- package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -2
- package/dist/components/radio-group/radio-card.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/components/radio-group/types.d.ts +12 -12
- package/dist/components/scroll-area/scroll-area.js +1 -1
- package/dist/components/scroll-area/scroll-area.vue.d.ts +2 -2
- package/dist/components/scroll-area/types.d.ts +5 -25
- package/dist/components/segment/segment.js +1 -1
- package/dist/components/segment/segment.vue.d.ts +2 -2
- package/dist/components/segment/types.d.ts +3 -3
- package/dist/components/select/select.js +1 -1
- package/dist/components/select/select.vue.d.ts +1 -1
- package/dist/components/select/types.d.ts +3 -3
- package/dist/components/separator/separator.js +1 -1
- package/dist/components/separator/separator.vue.d.ts +11 -1
- package/dist/components/separator/types.d.ts +3 -11
- package/dist/components/separator/variants.js +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/skeleton/types.d.ts +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/slider/slider.vue.d.ts +6 -7
- package/dist/components/slider/types.d.ts +5 -17
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/spinner/types.d.ts +2 -2
- package/dist/components/splitter/splitter-group.js +1 -1
- package/dist/components/splitter/splitter-panel.js +1 -1
- package/dist/components/splitter/splitter-resize-handle.js +1 -1
- package/dist/components/splitter/splitter-resize-handle.vue.d.ts +2 -2
- package/dist/components/splitter/types.d.ts +6 -6
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper/stepper.vue.d.ts +5 -5
- package/dist/components/stepper/types.d.ts +10 -10
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/switch/switch.js +1 -1
- package/dist/components/switch/switch.vue.d.ts +2 -638
- package/dist/components/switch/types.d.ts +10 -14
- package/dist/components/switch/variants.d.ts +2 -2
- package/dist/components/switch/variants.js +1 -1
- package/dist/components/table/hooks.d.ts +3 -3
- package/dist/components/table/table-filter-popover.js +1 -1
- package/dist/components/table/table.js +1 -1
- package/dist/components/table/table.vue.d.ts +2 -2
- package/dist/components/table/types.d.ts +8 -8
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tabs/tabs.vue.d.ts +2 -2
- package/dist/components/tabs/types.d.ts +3 -3
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/tag/types.d.ts +1 -1
- package/dist/components/tags-input/index.d.ts +3 -4
- package/dist/components/tags-input/index.js +1 -1
- package/dist/components/tags-input/tags-input.js +1 -1
- package/dist/components/tags-input/tags-input.vue.d.ts +18 -22
- package/dist/components/tags-input/types.d.ts +10 -6
- package/dist/components/tags-input/variants.js +1 -1
- package/dist/components/textarea/index.d.ts +4 -2
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/textarea/textarea.vue.d.ts +4 -10
- package/dist/components/textarea/types.d.ts +11 -30
- package/dist/components/textarea/variants.d.ts +21 -21
- package/dist/components/textarea/variants.js +1 -1
- package/dist/components/time-field/index.d.ts +1 -1
- package/dist/components/time-field/time-field.js +1 -1
- package/dist/components/time-field/time-field.vue.d.ts +2 -9
- package/dist/components/time-field/types.d.ts +6 -39
- package/dist/components/time-range-field/index.d.ts +1 -1
- package/dist/components/time-range-field/time-range-field.js +1 -1
- package/dist/components/time-range-field/time-range-field.vue.d.ts +1 -3
- package/dist/components/time-range-field/types.d.ts +8 -52
- package/dist/components/toast/styles.js +36 -36
- package/dist/components/toast/toast-provider.js +1 -1
- package/dist/components/toast/types.d.ts +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle/types.d.ts +1 -1
- package/dist/components/toggle-group/index.d.ts +3 -2
- package/dist/components/toggle-group/index.js +1 -1
- package/dist/components/toggle-group/toggle-group.js +1 -1
- package/dist/components/toggle-group/types.d.ts +2 -2
- package/dist/components/toolbar/toolbar.js +1 -1
- package/dist/components/toolbar/types.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/tooltip/tooltip.vue.d.ts +2 -7
- package/dist/components/tooltip/types.d.ts +11 -39
- package/dist/components/tree/tree-virtualizer.vue.d.ts +1 -1
- package/dist/components/tree/tree.js +1 -1
- package/dist/components/tree/tree.vue.d.ts +2 -2
- package/dist/components/tree/types.d.ts +4 -4
- package/dist/components/tree-menu/index.d.ts +1 -1
- package/dist/components/tree-menu/tree-menu-styled-item.js +1 -1
- package/dist/components/tree-menu/tree-menu.js +1 -1
- package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -17
- package/dist/components/tree-menu/types.d.ts +15 -207
- package/dist/components/tree-menu/variants.js +1 -1
- package/dist/components/virtualizer/types.d.ts +3 -3
- package/dist/constants/components.d.ts +12 -18
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +140 -161
- package/dist/index.js +1 -1
- package/dist/styles.css +112 -95
- package/dist/theme/shared.js +1 -1
- package/package.json +16 -12
- package/dist/components/carousel/carousel-content.js +0 -1
- package/dist/components/carousel/carousel-content.vue.d.ts +0 -18
- package/dist/components/carousel/carousel-item.js +0 -1
- package/dist/components/carousel/carousel-item.vue.d.ts +0 -18
- package/dist/components/carousel/carousel-next.js +0 -1
- package/dist/components/carousel/carousel-next.vue.d.ts +0 -23
- package/dist/components/carousel/carousel-previous.js +0 -1
- package/dist/components/carousel/carousel-previous.vue.d.ts +0 -23
- package/dist/components/color-picker/shared.js +0 -1
- package/dist/components/date-range-picker/variants.js +0 -1
- package/dist/components/empty/variants.d.ts +0 -57
- package/dist/components/form/context.js +0 -1
- package/dist/components/month-picker/index.d.ts +0 -3
- package/dist/components/month-picker/index.js +0 -1
- package/dist/components/month-picker/month-picker.js +0 -1
- package/dist/components/month-picker/month-picker.vue.d.ts +0 -24
- package/dist/components/month-picker/types.d.ts +0 -86
- package/dist/components/month-picker/variants.js +0 -1
- package/dist/components/month-range-picker/index.d.ts +0 -3
- package/dist/components/month-range-picker/index.js +0 -1
- package/dist/components/month-range-picker/month-range-picker.js +0 -1
- package/dist/components/month-range-picker/month-range-picker.vue.d.ts +0 -29
- package/dist/components/month-range-picker/types.d.ts +0 -89
- package/dist/components/month-range-picker/variants.js +0 -1
- package/dist/components/page-tabs/hooks.js +0 -1
- package/dist/components/popconfirm/context.js +0 -1
- package/dist/components/popconfirm/popconfirm-cancel.js +0 -1
- package/dist/components/popconfirm/popconfirm-cancel.vue.d.ts +0 -25
- package/dist/components/popconfirm/popconfirm-confirm.js +0 -1
- package/dist/components/popconfirm/popconfirm-confirm.vue.d.ts +0 -22
- package/dist/components/range-calendar/index.d.ts +0 -3
- package/dist/components/range-calendar/index.js +0 -1
- package/dist/components/range-calendar/range-calendar.js +0 -1
- package/dist/components/range-calendar/types.d.ts +0 -188
- package/dist/components/range-calendar/variants.js +0 -1
- package/dist/components/tags-input/tags-input-item-delete.js +0 -1
- package/dist/components/tags-input/tags-input-item-delete.vue.d.ts +0 -18
- package/dist/components/time-field/variants.js +0 -1
- package/dist/components/time-picker/index.d.ts +0 -3
- package/dist/components/time-picker/index.js +0 -1
- package/dist/components/time-picker/time-picker.js +0 -1
- package/dist/components/time-picker/time-picker.vue.d.ts +0 -24
- package/dist/components/time-picker/types.d.ts +0 -68
- package/dist/components/time-picker/variants.js +0 -1
- package/dist/components/time-range-field/variants.js +0 -1
- package/dist/components/time-range-picker/index.d.ts +0 -3
- package/dist/components/time-range-picker/index.js +0 -1
- package/dist/components/time-range-picker/time-range-picker.js +0 -1
- package/dist/components/time-range-picker/time-range-picker.vue.d.ts +0 -28
- package/dist/components/time-range-picker/types.d.ts +0 -71
- package/dist/components/time-range-picker/variants.js +0 -1
- package/dist/components/toggle-group/toggle-group-item.js +0 -1
- package/dist/components/toggle-group/toggle-group-item.vue.d.ts +0 -22
- package/dist/components/tree-menu/context.js +0 -1
- package/dist/components/tree-menu/shared.js +0 -1
- package/dist/components/tree-menu/tree-menu-option-slot.js +0 -1
- package/dist/components/tree-menu/tree-menu-option.js +0 -1
- package/dist/components/tree-menu/tree-menu-options.js +0 -1
- package/dist/components/year-picker/index.d.ts +0 -3
- package/dist/components/year-picker/index.js +0 -1
- package/dist/components/year-picker/types.d.ts +0 -86
- package/dist/components/year-picker/variants.js +0 -1
- package/dist/components/year-picker/year-picker.js +0 -1
- package/dist/components/year-picker/year-picker.vue.d.ts +0 -24
- package/dist/components/year-range-picker/index.d.ts +0 -3
- package/dist/components/year-range-picker/index.js +0 -1
- package/dist/components/year-range-picker/types.d.ts +0 -90
- package/dist/components/year-range-picker/variants.js +0 -1
- package/dist/components/year-range-picker/year-range-picker.js +0 -1
- package/dist/components/year-range-picker/year-range-picker.vue.d.ts +0 -29
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Alignment.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Animations.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Axis.d.ts +0 -16
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Counter.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragHandler.d.ts +0 -13
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragTracker.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.d.ts +0 -31
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Engine.d.ts +0 -67
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventHandler.d.ts +0 -29
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventStore.d.ts +0 -10
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Limit.d.ts +0 -13
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/NodeRects.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.d.ts +0 -43
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/OptionsHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/PercentOfView.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.d.ts +0 -20
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ResizeHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBody.d.ts +0 -14
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBounds.d.ts +0 -8
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollContain.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollLooper.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollProgress.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts +0 -12
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTo.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideFocus.d.ts +0 -10
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts +0 -19
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideRegistry.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts +0 -8
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/utils.d.ts +0 -4
|
@@ -8,37 +8,37 @@ declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
|
|
|
8
8
|
root: string;
|
|
9
9
|
control: string;
|
|
10
10
|
counter: string;
|
|
11
|
-
|
|
11
|
+
clear: string;
|
|
12
12
|
};
|
|
13
13
|
sm: {
|
|
14
14
|
root: string;
|
|
15
15
|
control: string;
|
|
16
16
|
counter: string;
|
|
17
|
-
|
|
17
|
+
clear: string;
|
|
18
18
|
};
|
|
19
19
|
md: {
|
|
20
20
|
root: string;
|
|
21
21
|
control: string;
|
|
22
22
|
counter: string;
|
|
23
|
-
|
|
23
|
+
clear: string;
|
|
24
24
|
};
|
|
25
25
|
lg: {
|
|
26
26
|
root: string;
|
|
27
27
|
control: string;
|
|
28
28
|
counter: string;
|
|
29
|
-
|
|
29
|
+
clear: string;
|
|
30
30
|
};
|
|
31
31
|
xl: {
|
|
32
32
|
root: string;
|
|
33
33
|
control: string;
|
|
34
34
|
counter: string;
|
|
35
|
-
|
|
35
|
+
clear: string;
|
|
36
36
|
};
|
|
37
37
|
'2xl': {
|
|
38
38
|
root: string;
|
|
39
39
|
control: string;
|
|
40
40
|
counter: string;
|
|
41
|
-
|
|
41
|
+
clear: string;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
resize: {
|
|
@@ -59,44 +59,44 @@ declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
|
|
|
59
59
|
root: string[];
|
|
60
60
|
control: string[];
|
|
61
61
|
counter: string;
|
|
62
|
-
|
|
62
|
+
clear: string;
|
|
63
63
|
}, undefined, {
|
|
64
64
|
size: {
|
|
65
65
|
xs: {
|
|
66
66
|
root: string;
|
|
67
67
|
control: string;
|
|
68
68
|
counter: string;
|
|
69
|
-
|
|
69
|
+
clear: string;
|
|
70
70
|
};
|
|
71
71
|
sm: {
|
|
72
72
|
root: string;
|
|
73
73
|
control: string;
|
|
74
74
|
counter: string;
|
|
75
|
-
|
|
75
|
+
clear: string;
|
|
76
76
|
};
|
|
77
77
|
md: {
|
|
78
78
|
root: string;
|
|
79
79
|
control: string;
|
|
80
80
|
counter: string;
|
|
81
|
-
|
|
81
|
+
clear: string;
|
|
82
82
|
};
|
|
83
83
|
lg: {
|
|
84
84
|
root: string;
|
|
85
85
|
control: string;
|
|
86
86
|
counter: string;
|
|
87
|
-
|
|
87
|
+
clear: string;
|
|
88
88
|
};
|
|
89
89
|
xl: {
|
|
90
90
|
root: string;
|
|
91
91
|
control: string;
|
|
92
92
|
counter: string;
|
|
93
|
-
|
|
93
|
+
clear: string;
|
|
94
94
|
};
|
|
95
95
|
'2xl': {
|
|
96
96
|
root: string;
|
|
97
97
|
control: string;
|
|
98
98
|
counter: string;
|
|
99
|
-
|
|
99
|
+
clear: string;
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
resize: {
|
|
@@ -117,44 +117,44 @@ declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
|
|
|
117
117
|
root: string[];
|
|
118
118
|
control: string[];
|
|
119
119
|
counter: string;
|
|
120
|
-
|
|
120
|
+
clear: string;
|
|
121
121
|
}, _$tailwind_variants0.TVReturnType<{
|
|
122
122
|
size: {
|
|
123
123
|
xs: {
|
|
124
124
|
root: string;
|
|
125
125
|
control: string;
|
|
126
126
|
counter: string;
|
|
127
|
-
|
|
127
|
+
clear: string;
|
|
128
128
|
};
|
|
129
129
|
sm: {
|
|
130
130
|
root: string;
|
|
131
131
|
control: string;
|
|
132
132
|
counter: string;
|
|
133
|
-
|
|
133
|
+
clear: string;
|
|
134
134
|
};
|
|
135
135
|
md: {
|
|
136
136
|
root: string;
|
|
137
137
|
control: string;
|
|
138
138
|
counter: string;
|
|
139
|
-
|
|
139
|
+
clear: string;
|
|
140
140
|
};
|
|
141
141
|
lg: {
|
|
142
142
|
root: string;
|
|
143
143
|
control: string;
|
|
144
144
|
counter: string;
|
|
145
|
-
|
|
145
|
+
clear: string;
|
|
146
146
|
};
|
|
147
147
|
xl: {
|
|
148
148
|
root: string;
|
|
149
149
|
control: string;
|
|
150
150
|
counter: string;
|
|
151
|
-
|
|
151
|
+
clear: string;
|
|
152
152
|
};
|
|
153
153
|
'2xl': {
|
|
154
154
|
root: string;
|
|
155
155
|
control: string;
|
|
156
156
|
counter: string;
|
|
157
|
-
|
|
157
|
+
clear: string;
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
160
|
resize: {
|
|
@@ -175,7 +175,7 @@ declare const textareaVariants: _$tailwind_variants0.TVReturnType<{
|
|
|
175
175
|
root: string[];
|
|
176
176
|
control: string[];
|
|
177
177
|
counter: string;
|
|
178
|
-
|
|
178
|
+
clear: string;
|
|
179
179
|
}, undefined, unknown, unknown, undefined>>;
|
|
180
180
|
type TextareaVariants = VariantProps<typeof textareaVariants>;
|
|
181
181
|
type TextareaResize = NonNullable<TextareaVariants['resize']>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group relative flex flex-col`,`rounded-md border border-solid border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`],control:[`w-full bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`],counter:`absolute z-2 leading-none text-muted-foreground`,
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`group relative flex flex-col`,`rounded-md border border-solid border-input bg-background transition-all-150`,`outline-none focus-within:ring-3 focus-within:ring-offset-background focus-within:ring-primary/30`],control:[`w-full bg-transparent outline-none`,`placeholder:text-muted-foreground`,`disabled:cursor-not-allowed disabled:opacity-50`],counter:`absolute z-2 leading-none text-muted-foreground`,clear:`absolute hidden opacity-50 group-hover:inline-flex group-focus-within:inline-flex hover:opacity-100`},variants:{size:{xs:{root:`text-2xs`,control:`min-h-6 px-1.5 py-1`,counter:`text-2xs end-1.75 bottom-1.5`,clear:`end-1.5 top-1.5`},sm:{root:`text-xs`,control:`min-h-7 px-1.75 py-1`,counter:`text-xs end-2 bottom-1.75`,clear:`end-1.75 top-1.75`},md:{root:`text-sm`,control:`min-h-8 px-2 py-1`,counter:`text-sm end-2.5 bottom-2`,clear:`end-2 top-2`},lg:{root:`text-base`,control:`min-h-9 px-2.5 py-1`,counter:`text-base end-3 bottom-2.5`,clear:`end-2.5 top-2.5`},xl:{root:`text-lg`,control:`min-h-10 px-3 py-1`,counter:`text-lg end-3.5 bottom-3`,clear:`end-3 top-3`},"2xl":{root:`text-xl`,control:`min-h-12 px-4 py-2`,counter:`text-xl end-4 bottom-3.5`,clear:`end-3.5 top-3.5`}},resize:{true:{control:`resize`},false:{control:`resize-none`},vertical:{control:`resize-y`},horizontal:{control:`resize-x`}}},defaultVariants:{size:`md`,resize:`vertical`}});export{t as textareaVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{mergeVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{dateFieldVariants as t}from"../date-field/variants.js";import{computed as n,createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,toHandlers as s,unref as c}from"vue";import{useForwardListeners as l,useOmitProps as u}from"@soybeanjs/headless/composables";import{TimeFieldCompact as d,provideTimeFieldUi as f}from"@soybeanjs/headless/time-field";const p=i({name:`STimeField`,__name:`time-field`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},inputProps:{},defaultValue:{},modelValue:{},defaultPlaceholder:{},placeholder:{},granularity:{},maxValue:{},minValue:{},isTimeUnavailable:{type:Function},id:{},hourCycle:{},step:{},hideTimeZone:{type:Boolean},name:{},required:{type:Boolean},dir:{},locale:{},disabled:{type:Boolean},readonly:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`update:placeholder`],setup(i,{emit:p}){let m=i,h=l(p),g=u(m,[`class`,`size`,`ui`]);return f(n(()=>e(t({size:m.size}),m.ui,{root:m.class}))),(e,t)=>(o(),r(c(d),a(c(g),s(c(h))),null,16))}});export{p as default};
|
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import { TimeFieldProps
|
|
1
|
+
import { TimeFieldProps } from "./types.js";
|
|
2
2
|
import * as _$vue from "vue";
|
|
3
3
|
import * as _$_soybeanjs_headless_date0 from "@soybeanjs/headless/date";
|
|
4
4
|
|
|
5
5
|
//#region src/components/time-field/time-field.vue.d.ts
|
|
6
|
-
|
|
7
|
-
declare const __VLS_base: _$vue.DefineComponent<TimeFieldProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
6
|
+
declare const __VLS_export: _$vue.DefineComponent<TimeFieldProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
8
7
|
"update:modelValue": (time: _$_soybeanjs_headless_date0.TimeValue | undefined) => any;
|
|
9
8
|
"update:placeholder": (time: _$_soybeanjs_headless_date0.TimeValue) => any;
|
|
10
9
|
}, string, _$vue.PublicProps, Readonly<TimeFieldProps> & Readonly<{
|
|
11
10
|
"onUpdate:modelValue"?: ((time: _$_soybeanjs_headless_date0.TimeValue | undefined) => any) | undefined;
|
|
12
11
|
"onUpdate:placeholder"?: ((time: _$_soybeanjs_headless_date0.TimeValue) => any) | undefined;
|
|
13
12
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
13
|
declare const _default: typeof __VLS_export;
|
|
16
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
-
new (): {
|
|
18
|
-
$slots: S;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
14
|
//#endregion
|
|
22
15
|
export { _default };
|
|
@@ -1,32 +1,12 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
|
-
import {
|
|
2
|
+
import { TimeFieldCompactEmits, TimeFieldCompactProps, TimeFieldUi } from "@soybeanjs/headless/time-field";
|
|
3
3
|
import { ClassValue } from "@soybeanjs/headless/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/time-field/types.d.ts
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Properties for the TimeField component.
|
|
8
8
|
*/
|
|
9
|
-
interface
|
|
10
|
-
/**
|
|
11
|
-
* Current model value.
|
|
12
|
-
*/
|
|
13
|
-
modelValue: TimeFieldRootProps['modelValue'];
|
|
14
|
-
/**
|
|
15
|
-
* Segments exposed in the slot scope.
|
|
16
|
-
*/
|
|
17
|
-
segments: {
|
|
18
|
-
part: TimeFieldInputProps['part'];
|
|
19
|
-
value: string;
|
|
20
|
-
}[];
|
|
21
|
-
/**
|
|
22
|
-
* Whether the current value is invalid.
|
|
23
|
-
*/
|
|
24
|
-
isInvalid: boolean;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Props for the time field component.
|
|
28
|
-
*/
|
|
29
|
-
interface TimeFieldProps extends /** @vue-ignore */TimeFieldRootProps {
|
|
9
|
+
interface TimeFieldProps extends TimeFieldCompactProps {
|
|
30
10
|
/**
|
|
31
11
|
* Additional class names applied to the root element.
|
|
32
12
|
*/
|
|
@@ -39,23 +19,10 @@ interface TimeFieldProps extends /** @vue-ignore */TimeFieldRootProps {
|
|
|
39
19
|
* Per-slot class overrides for the component.
|
|
40
20
|
*/
|
|
41
21
|
ui?: Partial<TimeFieldUi>;
|
|
42
|
-
/**
|
|
43
|
-
* Props forwarded to the input element.
|
|
44
|
-
*/
|
|
45
|
-
inputProps?: Omit<TimeFieldInputProps, 'part'>;
|
|
46
22
|
}
|
|
47
23
|
/**
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
type TimeFieldEmits = TimeFieldRootEmits;
|
|
51
|
-
/**
|
|
52
|
-
* Slots for the time field component.
|
|
24
|
+
* Events for the TimeField component.
|
|
53
25
|
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Custom content for the default slot.
|
|
57
|
-
*/
|
|
58
|
-
default?: (props: TimeFieldSlotProps) => any;
|
|
59
|
-
}
|
|
26
|
+
type TimeFieldEmits = TimeFieldCompactEmits;
|
|
60
27
|
//#endregion
|
|
61
|
-
export { TimeFieldEmits, TimeFieldProps
|
|
28
|
+
export { TimeFieldEmits, TimeFieldProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TimeRangeFieldEmits, TimeRangeFieldProps,
|
|
1
|
+
import { TimeRangeFieldEmits, TimeRangeFieldProps, TimeRangeFieldSlots } from "./types.js";
|
|
2
2
|
import { _default } from "./time-range-field.vue.js";
|
|
3
3
|
export * from "@soybeanjs/headless/time-range-field";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{mergeVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{dateFieldVariants as t}from"../date-field/variants.js";import{dateRangeFieldVariants as n}from"../date-range-field/variants.js";import{computed as r,createBlock as i,createSlots as a,defineComponent as o,mergeProps as s,openBlock as c,renderList as l,renderSlot as u,toHandlers as d,unref as f,useSlots as p,withCtx as m}from"vue";import{useForwardListeners as h,useOmitProps as g}from"@soybeanjs/headless/composables";import{keysOf as _}from"@soybeanjs/utils";import{TimeRangeFieldCompact as v,provideTimeRangeFieldUi as y}from"@soybeanjs/headless/time-range-field";const b=o({name:`STimeRangeField`,__name:`time-range-field`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},inputProps:{},separator:{},defaultValue:{},modelValue:{},startName:{},endName:{},defaultPlaceholder:{},placeholder:{},granularity:{},maxValue:{},minValue:{},isTimeUnavailable:{type:Function},id:{},hourCycle:{},step:{},hideTimeZone:{type:Boolean},name:{},required:{type:Boolean},dir:{},locale:{},disabled:{type:Boolean},readonly:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`update:placeholder`,`update:startValue`,`update:endValue`],setup(o,{emit:b}){let x=o,S=b,C=p(),w=h(S),T=g(x,[`class`,`size`,`ui`]),E=r(()=>_(C));return y(r(()=>{let r=n({size:x.size}),i=t({size:x.size});return e(Object.assign(r,i),x.ui,{root:x.class})})),(e,t)=>(c(),i(f(v),s(f(T),d(f(w))),a({_:2},[l(E.value,t=>({name:t,fn:m(()=>[u(e.$slots,t)])}))]),1040))}});export{b as default};
|
|
@@ -14,9 +14,7 @@ declare const __VLS_base: _$vue.DefineComponent<TimeRangeFieldProps, {}, {}, {},
|
|
|
14
14
|
"onUpdate:placeholder"?: ((time: _$_soybeanjs_headless_date0.TimeValue) => any) | undefined;
|
|
15
15
|
"onUpdate:startValue"?: ((time: _$_soybeanjs_headless_date0.TimeValue | undefined) => any) | undefined;
|
|
16
16
|
"onUpdate:endValue"?: ((time: _$_soybeanjs_headless_date0.TimeValue | undefined) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
separator: string;
|
|
19
|
-
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
20
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
19
|
declare const _default: typeof __VLS_export;
|
|
22
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,39 +1,12 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
|
-
import {
|
|
2
|
+
import { TimeRangeFieldCompactEmits, TimeRangeFieldCompactProps, TimeRangeFieldCompactSlots, TimeRangeFieldUi } from "@soybeanjs/headless/time-range-field";
|
|
3
3
|
import { ClassValue } from "@soybeanjs/headless/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/time-range-field/types.d.ts
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Properties for the TimeRangeField component.
|
|
8
8
|
*/
|
|
9
|
-
interface
|
|
10
|
-
/**
|
|
11
|
-
* Current model value.
|
|
12
|
-
*/
|
|
13
|
-
modelValue: TimeRangeFieldRootProps['modelValue'];
|
|
14
|
-
/**
|
|
15
|
-
* Start segments exposed in the slot scope.
|
|
16
|
-
*/
|
|
17
|
-
startSegments: {
|
|
18
|
-
part: TimeRangeFieldInputProps['part'];
|
|
19
|
-
value: string;
|
|
20
|
-
}[];
|
|
21
|
-
/**
|
|
22
|
-
* End segments exposed in the slot scope.
|
|
23
|
-
*/
|
|
24
|
-
endSegments: {
|
|
25
|
-
part: TimeRangeFieldInputProps['part'];
|
|
26
|
-
value: string;
|
|
27
|
-
}[];
|
|
28
|
-
/**
|
|
29
|
-
* Whether the current value is invalid.
|
|
30
|
-
*/
|
|
31
|
-
isInvalid: boolean;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Props for the time range field component.
|
|
35
|
-
*/
|
|
36
|
-
interface TimeRangeFieldProps extends /** @vue-ignore */TimeRangeFieldRootProps {
|
|
9
|
+
interface TimeRangeFieldProps extends TimeRangeFieldCompactProps {
|
|
37
10
|
/**
|
|
38
11
|
* Additional class names applied to the root element.
|
|
39
12
|
*/
|
|
@@ -46,31 +19,14 @@ interface TimeRangeFieldProps extends /** @vue-ignore */TimeRangeFieldRootProps
|
|
|
46
19
|
* Per-slot class overrides for the component.
|
|
47
20
|
*/
|
|
48
21
|
ui?: Partial<TimeRangeFieldUi>;
|
|
49
|
-
/**
|
|
50
|
-
* Props forwarded to the input element.
|
|
51
|
-
*/
|
|
52
|
-
inputProps?: Omit<TimeRangeFieldInputProps, 'part' | 'type'>;
|
|
53
|
-
/**
|
|
54
|
-
* Separator.
|
|
55
|
-
*/
|
|
56
|
-
separator?: string;
|
|
57
22
|
}
|
|
58
23
|
/**
|
|
59
|
-
*
|
|
24
|
+
* Events for the TimeRangeField component.
|
|
60
25
|
*/
|
|
61
|
-
type TimeRangeFieldEmits =
|
|
26
|
+
type TimeRangeFieldEmits = TimeRangeFieldCompactEmits;
|
|
62
27
|
/**
|
|
63
|
-
* Slots for the
|
|
28
|
+
* Slots for the TimeRangeField component.
|
|
64
29
|
*/
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Custom content for the default slot.
|
|
68
|
-
*/
|
|
69
|
-
default?: (props: TimeRangeFieldSlotProps) => any;
|
|
70
|
-
/**
|
|
71
|
-
* Custom content for the separator slot.
|
|
72
|
-
*/
|
|
73
|
-
separator?: () => any;
|
|
74
|
-
}
|
|
30
|
+
type TimeRangeFieldSlots = TimeRangeFieldCompactSlots;
|
|
75
31
|
//#endregion
|
|
76
|
-
export { TimeRangeFieldEmits, TimeRangeFieldProps,
|
|
32
|
+
export { TimeRangeFieldEmits, TimeRangeFieldProps, TimeRangeFieldSlots };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var e=`[data-
|
|
1
|
+
var e=`[data-soybean-toast] {
|
|
2
2
|
--y: translateY(100%);
|
|
3
3
|
--lift: 1;
|
|
4
4
|
--lift-amount: calc(var(--lift) * var(--gap));
|
|
@@ -15,18 +15,18 @@ var e=`[data-slot='toast'] {
|
|
|
15
15
|
box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
[data-
|
|
18
|
+
[data-soybean-toast]:focus-visible {
|
|
19
19
|
box-shadow:
|
|
20
20
|
0 4px 12px hsl(var(--foreground) / 0.1),
|
|
21
21
|
0 0 0 2px hsl(var(--foreground) / 0.2);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
[data-
|
|
24
|
+
[data-soybean-toast][data-swiping='true'] {
|
|
25
25
|
transform: var(--y) translateY(var(--swipe-amount-y, 0px)) translateX(var(--swipe-amount-x, 0px));
|
|
26
26
|
transition: none;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
[data-
|
|
29
|
+
[data-soybean-toast][data-swiping='true']::before {
|
|
30
30
|
content: '';
|
|
31
31
|
position: absolute;
|
|
32
32
|
inset-inline: -100%;
|
|
@@ -34,24 +34,24 @@ var e=`[data-slot='toast'] {
|
|
|
34
34
|
z-index: -1;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
[data-
|
|
37
|
+
[data-soybean-toast][data-y-position='top'][data-swiping='true']::before {
|
|
38
38
|
bottom: 50%;
|
|
39
39
|
transform: scaleY(3) translateY(50%);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
[data-
|
|
42
|
+
[data-soybean-toast][data-y-position='bottom'][data-swiping='true']::before {
|
|
43
43
|
top: 50%;
|
|
44
44
|
transform: scaleY(3) translateY(-50%);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
[data-
|
|
47
|
+
[data-soybean-toast][data-swiping='false'][data-removed='true']::before {
|
|
48
48
|
content: '';
|
|
49
49
|
position: absolute;
|
|
50
50
|
inset: 0;
|
|
51
51
|
transform: scaleY(2);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
[data-
|
|
54
|
+
[data-soybean-toast][data-expanded='true']::after {
|
|
55
55
|
content: '';
|
|
56
56
|
position: absolute;
|
|
57
57
|
inset-inline-start: 0;
|
|
@@ -60,42 +60,42 @@ var e=`[data-slot='toast'] {
|
|
|
60
60
|
width: 100%;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
[data-
|
|
63
|
+
[data-soybean-toast][data-mounted='true'] {
|
|
64
64
|
--y: translateY(0);
|
|
65
65
|
opacity: 1;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
[data-
|
|
68
|
+
[data-soybean-toast][data-expanded='false'][data-front='false'] {
|
|
69
69
|
--scale: var(--toasts-before) * 0.05 + 1;
|
|
70
70
|
--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));
|
|
71
71
|
height: var(--front-toast-height);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
[data-
|
|
74
|
+
[data-soybean-toast][data-expanded='false'][data-front='false'] > * {
|
|
75
75
|
opacity: 0;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
[data-
|
|
78
|
+
[data-soybean-toast][data-visible='false'] {
|
|
79
79
|
opacity: 0;
|
|
80
80
|
pointer-events: none;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
[data-
|
|
83
|
+
[data-soybean-toast][data-mounted='true'][data-expanded='true'] {
|
|
84
84
|
--y: translateY(calc(var(--lift) * var(--offset)));
|
|
85
85
|
height: var(--initial-height);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
[data-
|
|
88
|
+
[data-soybean-toast][data-removed='true'][data-front='true'][data-swipe-out='false'] {
|
|
89
89
|
--y: translateY(calc(var(--lift) * -100%));
|
|
90
90
|
opacity: 0;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
[data-
|
|
93
|
+
[data-soybean-toast][data-removed='true'][data-front='false'][data-swipe-out='false'][data-expanded='true'] {
|
|
94
94
|
--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));
|
|
95
95
|
opacity: 0;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
[data-
|
|
98
|
+
[data-soybean-toast][data-removed='true'][data-front='false'][data-swipe-out='false'][data-expanded='false'] {
|
|
99
99
|
--y: translateY(40%);
|
|
100
100
|
opacity: 0;
|
|
101
101
|
transition:
|
|
@@ -103,65 +103,65 @@ var e=`[data-slot='toast'] {
|
|
|
103
103
|
opacity 200ms;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
[data-
|
|
106
|
+
[data-soybean-toast][data-removed='true'][data-front='false']::before {
|
|
107
107
|
height: calc(var(--initial-height) + 20%);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
[data-
|
|
110
|
+
[data-soybean-toast][data-swiped='true'] {
|
|
111
111
|
-webkit-user-select: none;
|
|
112
112
|
user-select: none;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
[data-
|
|
116
|
-
[data-
|
|
115
|
+
[data-soybean-toast][data-swipe-out='true'][data-y-position='bottom'],
|
|
116
|
+
[data-soybean-toast][data-swipe-out='true'][data-y-position='top'] {
|
|
117
117
|
animation-duration: 200ms;
|
|
118
118
|
animation-timing-function: ease-out;
|
|
119
119
|
animation-fill-mode: forwards;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
[data-
|
|
122
|
+
[data-soybean-toast][data-swipe-out='true'][data-swipe-direction='left'] {
|
|
123
123
|
animation-name: swipe-out-left;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
[data-
|
|
126
|
+
[data-soybean-toast][data-swipe-out='true'][data-swipe-direction='right'] {
|
|
127
127
|
animation-name: swipe-out-right;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
[data-
|
|
130
|
+
[data-soybean-toast][data-swipe-out='true'][data-swipe-direction='up'] {
|
|
131
131
|
animation-name: swipe-out-up;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
[data-
|
|
134
|
+
[data-soybean-toast][data-swipe-out='true'][data-swipe-direction='down'] {
|
|
135
135
|
animation-name: swipe-out-down;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
[data-
|
|
138
|
+
[data-soybean-toast][data-rich-color='true'][data-type='success'] {
|
|
139
139
|
background-color: hsl(var(--success-100));
|
|
140
140
|
border-color: hsl(var(--success));
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
[data-
|
|
143
|
+
[data-soybean-toast][data-rich-color='true'][data-type='info'] {
|
|
144
144
|
background-color: hsl(var(--info-100));
|
|
145
145
|
border-color: hsl(var(--info));
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
[data-
|
|
148
|
+
[data-soybean-toast][data-rich-color='true'][data-type='warning'] {
|
|
149
149
|
background-color: hsl(var(--warning-100));
|
|
150
150
|
border-color: hsl(var(--warning));
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
[data-
|
|
153
|
+
[data-soybean-toast][data-rich-color='true'][data-type='error'] {
|
|
154
154
|
background-color: hsl(var(--destructive-100));
|
|
155
155
|
border-color: hsl(var(--destructive));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
[data-
|
|
158
|
+
[data-soybean-toast][data-inverted='true'] {
|
|
159
159
|
background-color: hsl(var(--carbon));
|
|
160
160
|
border-color: hsl(var(--carbon));
|
|
161
161
|
color: hsl(var(--carbon-foreground));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
[data-
|
|
164
|
+
[data-soybean-toast] > * {
|
|
165
165
|
transition: opacity 400ms;
|
|
166
166
|
}
|
|
167
167
|
|
|
@@ -238,30 +238,30 @@ var e=`[data-slot='toast'] {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
@media (max-width: 600px) {
|
|
241
|
-
[data-
|
|
241
|
+
[data-soybean-toaster] {
|
|
242
242
|
width: 100%;
|
|
243
243
|
inset-inline-start: var(--mobile-offset-left);
|
|
244
244
|
inset-inline-end: var(--mobile-offset-right);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
[data-
|
|
247
|
+
[data-soybean-toaster][data-soybean-toast] {
|
|
248
248
|
inset-inline: 0;
|
|
249
249
|
width: calc(100% - var(--mobile-offset-left) * 2);
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
[data-
|
|
252
|
+
[data-soybean-toaster][data-x-position='left'] {
|
|
253
253
|
inset-inline-start: var(--mobile-offset-left);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
[data-
|
|
256
|
+
[data-soybean-toaster][data-y-position='bottom'] {
|
|
257
257
|
bottom: var(--mobile-offset-bottom);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
[data-
|
|
260
|
+
[data-soybean-toaster][data-y-position='top'] {
|
|
261
261
|
top: var(--mobile-offset-top);
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
[data-
|
|
264
|
+
[data-soybean-toaster][data-x-position='center'] {
|
|
265
265
|
inset-inline-start: var(--mobile-offset-left);
|
|
266
266
|
inset-inline-end: var(--mobile-offset-right);
|
|
267
267
|
transform: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{mergeVariants as e}from"../../theme/shared.js";import{miniSizeMap as t}from"../../theme/config.js";import"../../theme/index.js";import{buttonIconVariants as n,buttonVariants as r}from"../button/variants.js";import{toastVariants as i}from"./variants.js";import a from"./styles.js";import{computed as o,createBlock as s,defineComponent as c,guardReactiveProps as l,normalizeProps as u,openBlock as d,renderSlot as f,unref as p,withCtx as m}from"vue";import{useOmitProps as h}from"@soybeanjs/headless/composables";import{useStyleTag as g}from"@vueuse/core";import{ToastProvider as _,provideToastUi as v}from"@soybeanjs/headless/toast";const y=c({name:`SToastProvider`,__name:`toast-provider`,props:{size:{},ui:{},id:{},dir:{},hotkey:{},customAriaLabel:{},containerAriaLabel:{},position:{},defaultExpanded:{type:Boolean},duration:{},gap:{},offset:{},visibleCounts:{},swipeDirections:{},showIcon:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},icons:{},toastProps:{},wrapperProps:{},contentProps:{},titleProps:{},descriptionProps:{},iconProps:{},footerProps:{},actionProps:{},cancelProps:{},closeProps:{}},setup(c){let y=c,b=h(y,[`size`,`ui`]),x=o(()=>{let a=t[y.size??`md`];return e(Object.assign(i({size:y.size}),{$base:{action:r({variant:`solid`,size:a}),cancel:r({variant:`pure`,size:a}),close:n({size:a})}}),y.ui)});return g(a,{id:`__SoybeanUI_toastStyle`}),v(x),(e,t)=>(d(),s(p(_),u(l(p(b))),{default:m(()=>[f(e.$slots,`default`)]),_:3},16))}});export{y as default};
|
|
@@ -3,7 +3,7 @@ import { ToastProviderProps, ToastUi } from "@soybeanjs/headless/toast";
|
|
|
3
3
|
|
|
4
4
|
//#region src/components/toast/types.d.ts
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Properties for the ToastProvider component.
|
|
7
7
|
*/
|
|
8
8
|
interface ToastProviderProps$1 extends ToastProviderProps {
|
|
9
9
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cn as e}from"../../theme/merge.js";import"../../theme/index.js";import{toggleVariants as t}from"./variants.js";import{computed as n,createBlock as r,defineComponent as i,guardReactiveProps as a,mergeProps as o,normalizeProps as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";import{useOmitProps as f}from"@soybeanjs/headless/composables";import{Toggle as p}from"@soybeanjs/headless/toggle";const m=i({name:`SToggle`,__name:`toggle`,props:{class:{},color:{},size:{},variant:{},shape:{},defaultValue:{type:Boolean},modelValue:{type:Boolean,default:void 0},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(i,{emit:m}){let h=i,g=m,_=f(h,[`class`,`color`,`variant`,`size`,`shape`]),v=n(()=>e(t({color:h.color,variant:h.variant,size:h.size,shape:h.shape}),h.class));return(e,t)=>(c(),r(u(p),o(u(_),{class:v.value,"onUpdate:modelValue":t[0]||=e=>g(`update:modelValue`,e)}),{default:d(t=>[l(e.$slots,`default`,s(a(t)))]),_:3},16,[`class`]))}});export{m as default};
|
|
1
|
+
import{cn as e}from"../../theme/merge.js";import"../../theme/index.js";import{toggleVariants as t}from"./variants.js";import{computed as n,createBlock as r,defineComponent as i,guardReactiveProps as a,mergeProps as o,normalizeProps as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";import{useOmitProps as f}from"@soybeanjs/headless/composables";import{Toggle as p}from"@soybeanjs/headless/toggle";const m=i({name:`SToggle`,__name:`toggle`,props:{class:{type:[Boolean,null,String,Object,Array]},color:{},size:{},variant:{},shape:{},defaultValue:{type:Boolean},modelValue:{type:Boolean,default:void 0},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(i,{emit:m}){let h=i,g=m,_=f(h,[`class`,`color`,`variant`,`size`,`shape`]),v=n(()=>e(t({color:h.color,variant:h.variant,size:h.size,shape:h.shape}),h.class));return(e,t)=>(c(),r(u(p),o(u(_),{class:v.value,"onUpdate:modelValue":t[0]||=e=>g(`update:modelValue`,e)}),{default:d(t=>[l(e.$slots,`default`,s(a(t)))]),_:3},16,[`class`]))}});export{m as default};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ToggleGroupVariant } from "./variants.js";
|
|
2
2
|
import { ToggleGroupEmits, ToggleGroupProps } from "./types.js";
|
|
3
3
|
import { _default } from "./toggle-group.vue.js";
|
|
4
|
-
import {
|
|
5
|
-
export * from "@soybeanjs/headless/toggle-group";
|
|
4
|
+
import { ToggleGroupItem as SToggleGroupItem } from "@soybeanjs/headless/toggle-group";
|
|
5
|
+
export * from "@soybeanjs/headless/toggle-group";
|
|
6
|
+
export { SToggleGroupItem };
|