@soybeanjs/ui 0.18.0 → 0.20.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 +2 -1
- package/README.zh-CN.md +2 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion/variants.js +1 -1
- package/dist/components/affix/affix.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/alert/alert.vue.d.ts +2 -0
- package/dist/components/alert/variants.js +1 -1
- package/dist/components/anchor/anchor.js +1 -1
- package/dist/components/autocomplete/autocomplete.js +1 -1
- package/dist/components/autocomplete/variants.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/backtop/backtop.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button-group.vue.d.ts +0 -1
- package/dist/components/button/types.d.ts +1 -1
- package/dist/components/button/variants.js +1 -1
- package/dist/components/calendar/calendar.js +1 -1
- package/dist/components/calendar/variants.js +1 -1
- 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/carousel/carousel.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/collapsible/collapsible.js +1 -1
- package/dist/components/collapsible/collapsible.vue.d.ts +1 -1
- 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 +3 -11
- 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 +3 -7
- 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 +6 -118
- 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 +3 -11
- 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 +9 -13
- 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 +3 -19
- 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/command/command.js +1 -1
- package/dist/components/command/command.vue.d.ts +1 -1
- package/dist/components/command/variants.js +1 -1
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/types.d.ts +2 -4
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +1 -1
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +3 -3
- package/dist/components/context-menu/context-menu.vue.d.ts +1 -1
- 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/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 +7 -6
- 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 +5 -49
- 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 +7 -39
- 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/variants.js +1 -1
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/drawer/drawer.vue.d.ts +2 -0
- package/dist/components/drawer/variants.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +3 -3
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +1 -1
- package/dist/components/editable/editable.js +1 -1
- package/dist/components/editable/editable.vue.d.ts +2 -63
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/editable/types.d.ts +10 -38
- package/dist/components/empty/empty.js +1 -1
- package/dist/components/empty/variants.js +1 -1
- package/dist/components/form/form-field-array.js +1 -1
- package/dist/components/form/form-field-base.js +1 -1
- package/dist/components/form/form-field.js +1 -1
- package/dist/components/form/form.js +1 -1
- package/dist/components/hover-card/hover-card.js +1 -1
- package/dist/components/hover-card/hover-card.vue.d.ts +2 -8
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/hover-card/types.d.ts +9 -33
- package/dist/components/icon/types.d.ts +1 -1
- package/dist/components/input/input.js +1 -1
- 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 +8 -24
- 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/layout/layout-classic.js +1 -1
- package/dist/components/layout/layout.js +1 -1
- package/dist/components/layout/variants.js +1 -1
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/list/list.js +1 -1
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/index.d.ts +1 -8
- package/dist/components/menu/variants.js +1 -1
- package/dist/components/menubar/menubar.js +1 -1
- package/dist/components/menubar/menubar.vue.d.ts +1 -1
- package/dist/components/navigation-menu/index.d.ts +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +2 -23
- package/dist/components/navigation-menu/types.d.ts +10 -115
- package/dist/components/navigation-menu/variants.js +1 -1
- 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 +6 -4
- package/dist/components/page-tabs/types.d.ts +10 -117
- package/dist/components/page-tabs/variants.js +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/pagination/pagination.vue.d.ts +2 -17
- package/dist/components/pagination/types.d.ts +8 -20
- package/dist/components/pagination/variants.js +1 -1
- 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 +8 -25
- 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 +8 -209
- 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 +9 -37
- 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 +16 -16
- package/dist/components/progress/variants.js +1 -1
- package/dist/components/radio-group/index.d.ts +2 -4
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group-card.js +1 -0
- package/dist/components/radio-group/radio-group-card.vue.d.ts +22 -0
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/radio-group/radio-group.vue.d.ts +6 -6
- package/dist/components/radio-group/types.d.ts +24 -67
- package/dist/components/radio-group/variants.js +1 -1
- 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 +3 -23
- package/dist/components/scroll-area/variants.js +1 -1
- package/dist/components/segment/segment.js +1 -1
- package/dist/components/segment/segment.vue.d.ts +2 -2
- package/dist/components/select/select.js +1 -1
- package/dist/components/select/select.vue.d.ts +1 -1
- package/dist/components/select/variants.js +1 -1
- 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 +2 -10
- package/dist/components/separator/variants.js +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 +3 -15
- package/dist/components/splitter/splitter-group.js +1 -1
- package/dist/components/splitter/splitter-panel.js +1 -1
- package/dist/components/splitter/splitter-panel.vue.d.ts +2 -2
- package/dist/components/splitter/splitter-resize-handle.js +1 -1
- package/dist/components/splitter/variants.js +1 -1
- package/dist/components/stepper/index.d.ts +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper/stepper.vue.d.ts +2 -104
- package/dist/components/stepper/types.d.ts +10 -55
- package/dist/components/stepper/variants.js +1 -1
- 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 +8 -12
- package/dist/components/switch/variants.d.ts +5 -5
- 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/variants.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tabs/tabs.vue.d.ts +2 -2
- package/dist/components/tabs/variants.js +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 +8 -4
- 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 +9 -28
- 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 +4 -37
- 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 +5 -49
- package/dist/components/toast/styles.js +36 -36
- package/dist/components/toast/toast-provider.js +1 -1
- package/dist/components/toast/variants.js +1 -1
- package/dist/components/toggle/toggle.js +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/variants.js +1 -1
- package/dist/components/toolbar/toolbar.js +1 -1
- package/dist/components/toolbar/types.d.ts +5 -0
- package/dist/components/toolbar/variants.js +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 +9 -37
- package/dist/components/tooltip/variants.js +1 -1
- package/dist/components/tree/tree-virtualizer.vue.d.ts +1 -1
- package/dist/components/tree/tree.vue.d.ts +2 -2
- 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 +12 -204
- package/dist/components/tree-menu/variants.js +1 -1
- package/dist/constants/components.d.ts +1 -7
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +139 -158
- package/dist/index.js +1 -1
- package/dist/styles.css +250 -218
- package/dist/theme/shared.js +1 -1
- package/package.json +14 -14
- package/dist/components/color-picker/shared.js +0 -1
- package/dist/components/date-range-picker/variants.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/navigation-menu/context.js +0 -1
- package/dist/components/navigation-menu/navigation-menu-item-slot.js +0 -1
- package/dist/components/navigation-menu/navigation-menu-option.js +0 -1
- package/dist/components/navigation-menu/navigation-menu-sub-option.js +0 -1
- package/dist/components/navigation-menu/shared.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/radio-group/radio-card-group.js +0 -1
- package/dist/components/radio-group/radio-card-group.vue.d.ts +0 -22
- package/dist/components/radio-group/radio-card.js +0 -1
- package/dist/components/radio-group/radio-card.vue.d.ts +0 -22
- package/dist/components/radio-group/radio.js +0 -1
- package/dist/components/radio-group/radio.vue.d.ts +0 -18
- 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
|
@@ -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
|
-
/**
|
|
7
|
-
* Slot properties for the TimeField component.
|
|
8
|
-
*/
|
|
9
|
-
interface TimeFieldSlotProps {
|
|
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
6
|
/**
|
|
27
7
|
* Properties for the TimeField component.
|
|
28
8
|
*/
|
|
29
|
-
interface TimeFieldProps extends
|
|
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
|
-
* Properties forwarded to the input element.
|
|
44
|
-
*/
|
|
45
|
-
inputProps?: Omit<TimeFieldInputProps, 'part'>;
|
|
46
22
|
}
|
|
47
23
|
/**
|
|
48
24
|
* Events for the TimeField component.
|
|
49
25
|
*/
|
|
50
|
-
type TimeFieldEmits =
|
|
51
|
-
/**
|
|
52
|
-
* Slots for the TimeField component.
|
|
53
|
-
*/
|
|
54
|
-
interface TimeFieldSlots {
|
|
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
|
-
/**
|
|
7
|
-
* Slot properties for the TimeRangeField component.
|
|
8
|
-
*/
|
|
9
|
-
interface TimeRangeFieldSlotProps {
|
|
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
6
|
/**
|
|
34
7
|
* Properties for the TimeRangeField component.
|
|
35
8
|
*/
|
|
36
|
-
interface TimeRangeFieldProps extends
|
|
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
|
-
* Properties 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
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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{toaster:[`fixed z-[--z-index] list-none outline-none transition-transform-400 ease`,`data-[x-position=right]:end-[--offset-right] data-[x-position=left]:start-[--offset-left] data-[x-position=center]:
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{toaster:[`fixed z-[--z-index] list-none outline-none transition-transform-400 ease`,`data-[x-position=right]:end-[--offset-right] data-[x-position=left]:start-[--offset-left] data-[x-position=center]:start-1/2 data-[x-position=center]:-translate-x-1/2 [&[dir=rtl]]:data-[x-position=center]:translate-x-1/2`,`data-[y-position=top]:top-[--offset-top] data-[y-position=bottom]:bottom-[--offset-bottom]`],toast:[`group absolute w-full rounded-md bg-popover text-popover-foreground border border-transparent opacity-0 outline-none touch-none`,`data-[y-position=top]:top-0 data-[y-position=top]:[--y:translateY(-100%)]`,`data-[y-position=bottom]:[--lift:-1] data-[y-position=bottom]:bottom-0`,`data-[x-position=left]:start-0 data-[x-position=right]:end-0`],wrapper:`flex flex-col items-stretch`,content:``,title:`flex items-center font-semibold`,description:`text-muted-foreground`,icon:[`group-data-[type=info]:text-info group-data-[type=success]:text-success group-data-[type=warning]:text-warning group-data-[type=error]:text-destructive`],footer:`flex justify-end items-center`,action:``,cancel:``,close:`absolute group-data-[inverted=true]:text-accent group-data-[inverted=true]:hover:bg-accent/15`},variants:{size:{xs:{toaster:`w-80 text-2xs`,toast:`p-3`,wrapper:`gap-1`,title:`gap-1.25`,footer:`gap-1.25`,close:`top-1 end-1`},sm:{toaster:`w-85 text-xs`,toast:`p-3.5`,wrapper:`gap-1.25`,title:`gap-1.5`,footer:`gap-1.5`,close:`top-1.25 end-1.25`},md:{toaster:`w-90 text-sm`,toast:`p-4`,wrapper:`gap-1.5`,title:`gap-2`,footer:`gap-2`,close:`top-1.5 end-1.5`},lg:{toaster:`w-95 text-base`,toast:`p-4.5`,wrapper:`gap-1.75`,title:`gap-2.5`,footer:`gap-2.5`,close:`top-1.75 end-1.75`},xl:{toaster:`w-100 text-lg`,toast:`p-5`,wrapper:`gap-2`,title:`gap-3`,footer:`gap-3`,close:`top-2 end-2`},"2xl":{toaster:`w-110 text-xl`,toast:`p-6`,wrapper:`gap-2.5`,title:`gap-4`,footer:`gap-4`,close:`top-2.5 end-2.5`}}},defaultVariants:{size:`md`}});export{t as toastVariants};
|
|
@@ -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:{type:[Boolean,null,String,Object,Array]},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 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./toggle-group.js";import"
|
|
1
|
+
import"./toggle-group.js";import{ToggleGroupItem as e}from"@soybeanjs/headless/toggle-group";export{e as SToggleGroupItem};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{mergeVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{toggleGroupVariants as t}from"./variants.js";import{computed as n,createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,toHandlers as c,unref as l,withCtx as u}from"vue";import{useForwardListeners as d,useOmitProps as f}from"@soybeanjs/headless/composables";import{ToggleGroupRoot as p,provideToggleGroupUi as m}from"@soybeanjs/headless/toggle-group";const h=i({name:`SToggleGroup`,__name:`toggle-group`,props:{class:{type:[Boolean,null,String,Object,Array]},color:{},size:{},variant:{},ui:{},rovingFocus:{type:Boolean},disabled:{type:Boolean},orientation:{},dir:{},loop:{type:Boolean},modelValue:{},defaultValue:{},multiple:{},clearable:{type:Boolean},selectionBehavior:{},name:{},required:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(i,{emit:h}){let g=i,_=h,v=f(g,[`class`,`color`,`size`,`variant`,`ui`]),y=d(_);return m(n(()=>e(t({color:g.color,size:g.size,variant:g.variant,orientation:g.orientation}),g.ui,{root:g.class}))),(e,t)=>(o(),r(l(p),a(l(v),c(l(y))),{default:u(()=>[s(e.$slots,`default`)]),_:3},16))}});export{h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`w-fit [&>*]:relative focus-visible:[&>*]:z-2`,`[&>*:not(:first-child):not(:last-child)]:!rounded-none`,`[&>*:not(:first-child):not(:last-child)>*]:!rounded-none`,`data-[orientation=vertical]:items-stretch`],item:[`inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-primary/30 focus-visible:ring-offset-background`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`]},variants:{color:{primary:{item:`focus-visible:ring-primary/30`},destructive:{item:`focus-visible:ring-destructive/30`},success:{item:`focus-visible:ring-success/30`},warning:{item:`focus-visible:ring-warning/30`},info:{item:`focus-visible:ring-info/30`},carbon:{item:`focus-visible:ring-carbon/30`},secondary:{item:`focus-visible:ring-secondary-foreground/20`},accent:{item:`focus-visible:ring-accent-foreground/20`}},orientation:{horizontal:{root:[`inline-flex flex-row rtl:flex-row-reverse`,`[&>*:not(:last-child)]:border-
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=e({slots:{root:[`w-fit [&>*]:relative focus-visible:[&>*]:z-2`,`[&>*:not(:first-child):not(:last-child)]:!rounded-none`,`[&>*:not(:first-child):not(:last-child)>*]:!rounded-none`,`data-[orientation=vertical]:items-stretch`],item:[`inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium transition-all-150`,`outline-none focus-visible:ring-3 focus-visible:ring-primary/30 focus-visible:ring-offset-background`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`]},variants:{color:{primary:{item:`focus-visible:ring-primary/30`},destructive:{item:`focus-visible:ring-destructive/30`},success:{item:`focus-visible:ring-success/30`},warning:{item:`focus-visible:ring-warning/30`},info:{item:`focus-visible:ring-info/30`},carbon:{item:`focus-visible:ring-carbon/30`},secondary:{item:`focus-visible:ring-secondary-foreground/20`},accent:{item:`focus-visible:ring-accent-foreground/20`}},orientation:{horizontal:{root:[`inline-flex flex-row rtl:flex-row-reverse`,`[&>*:not(:last-child)]:border-e-0 [&>*:not(:last-child)>*]:border-e-0`,`focus-visible:[&>*]:border-e focus-visible:[&>*>*]:border-e`,`[&>*:first-child]:!rounded-e-none [&>*:first-child>*]:!rounded-e-none`,`[&>*:last-child]:!rounded-s-none [&>*:last-child>*]:!rounded-s-none`]},vertical:{root:[`flex flex-col`,`[&>*:not(:last-child)]:border-b-0 [&>*:not(:last-child)>*]:border-b-0`,`focus-visible:[&>*]:border-b focus-visible:[&>*>*]:border-b`,`[&>*:first-child]:!rounded-b-none [&>*:first-child>*]:!rounded-b-none`,`[&>*:last-child]:!rounded-t-none [&>*:last-child>*]:!rounded-t-none`]}},variant:{outline:{item:[`border border-border bg-background text-foreground`,`data-[state=off]:hover:bg-accent data-[state=on]:bg-accent data-[state=on]:text-accent-foreground`]},soft:{item:[`bg-accent text-foreground`,`data-[state=off]:hover:bg-accent`]},ghost:{item:[`bg-transparent text-foreground`,`data-[state=off]:hover:bg-accent`]}},size:{xs:{item:`h-6 gap-1 px-1.5 text-2xs`},sm:{item:`h-7 gap-2 px-2 text-xs`},md:{item:`h-8 gap-3 px-4 text-sm`},lg:{item:`h-9 gap-4 px-6 text-base`},xl:{item:`h-10 gap-5 px-8 text-lg`},"2xl":{item:`h-12 gap-6 px-10 text-xl`}}},compoundVariants:[{color:`primary`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-primary/20 data-[state=on]:text-primary`}},{color:`destructive`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-destructive/20 data-[state=on]:text-destructive`}},{color:`success`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-success/20 data-[state=on]:text-success`}},{color:`warning`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-warning/20 data-[state=on]:text-warning`}},{color:`info`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-info/20 data-[state=on]:text-info`}},{color:`carbon`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-carbon/20 data-[state=on]:text-carbon`}},{color:`secondary`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-secondary-foreground/10 data-[state=on]:text-secondary-foreground`}},{color:`accent`,variant:[`soft`,`ghost`],class:{item:`data-[state=on]:bg-accent-foreground/10 data-[state=on]:text-accent-foreground`}}],defaultVariants:{color:`accent`,orientation:`horizontal`,variant:`ghost`,size:`md`}});export{t as toggleGroupVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{mergeVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{toolbarVariants as t}from"./variants.js";import{computed as n,createBlock as r,defineComponent as i,guardReactiveProps as a,normalizeProps as o,openBlock as s,renderSlot as c,unref as l,withCtx as u}from"vue";import{useOmitProps as d}from"@soybeanjs/headless/composables";import{ToolbarRoot as f,provideToolbarUi as p}from"@soybeanjs/headless/toolbar";const m=i({name:`SToolbar`,__name:`toolbar`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},orientation:{},dir:{},loop:{type:Boolean},asChild:{type:Boolean},as:{}},setup(i){let m=i,h=d(m,[`class`,`size`,`ui`]);return p(n(()=>e(t({size:m.size}),m.ui,{root:m.class}))),(e,t)=>(s(),r(l(f),o(a(l(h))),{default:u(()=>[c(e.$slots,`default`)]),_:3},16))}});export{m as default};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ThemeSize } from "../../theme/types.js";
|
|
1
2
|
import { ToolbarRootProps, ToolbarUi } from "@soybeanjs/headless/toolbar";
|
|
2
3
|
import { ClassValue } from "@soybeanjs/headless/types";
|
|
3
4
|
|
|
@@ -10,6 +11,10 @@ interface ToolbarProps extends ToolbarRootProps {
|
|
|
10
11
|
* Additional class names applied to the root element.
|
|
11
12
|
*/
|
|
12
13
|
class?: ClassValue;
|
|
14
|
+
/**
|
|
15
|
+
* Visual size of the component.
|
|
16
|
+
*/
|
|
17
|
+
size?: ThemeSize;
|
|
13
18
|
/**
|
|
14
19
|
* Per-slot class overrides for the component.
|
|
15
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{tv as e}from"tailwind-variants";const t=[`inline-flex
|
|
1
|
+
import{tv as e}from"tailwind-variants";const t=[`inline-flex items-center justify-center rounded-sm font-medium transition-colors`,`outline-none hover:bg-accent hover:text-accent-foreground`,`focus-visible:ring-3 focus-visible:ring-primary/30`,`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,`aria-disabled:pointer-events-none aria-disabled:opacity-50`,`[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4`],n=e({slots:{root:[`inline-flex items-center rounded-md border border-border bg-background shadow-xs`,`data-[orientation=vertical]:h-auto data-[orientation=vertical]:w-fit data-[orientation=vertical]:flex-col`],button:t,link:[...t,`select-none no-underline`],linkIcon:`shrink-0 self-start text-muted-foreground rtl:rotate-270`,separator:[`shrink-0 bg-border data-[orientation=vertical]:w-px`,`data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full`],toggleGroup:`inline-flex items-center data-[orientation=vertical]:flex-col`,toggleItem:[...t,`data-[state=on]:bg-accent data-[state=on]:text-accent-foreground`]},variants:{size:{xs:{root:`gap-0.5 p-0.5 data-[orientation=horizontal]:h-6`,button:`h-5 min-w-5 gap-1 px-1 text-2xs`,link:`h-5 min-w-5 gap-1 px-1 text-2xs`,linkIcon:`size-2 -ms-1`,separator:`data-[orientation=vertical]:mx-0.5 data-[orientation=vertical]:h-3 data-[orientation=horizontal]:my-0.5`,toggleGroup:`gap-0.5`,toggleItem:`h-5 min-w-5 gap-1 px-1 text-2xs`},sm:{root:`gap-0.5 p-0.5 data-[orientation=horizontal]:h-7`,button:`h-6 min-w-6 gap-1 px-1.5 text-xs`,link:`h-6 min-w-6 gap-1 px-1.5 text-xs`,linkIcon:`size-2.5 -ms-1.5`,separator:`data-[orientation=vertical]:mx-0.5 data-[orientation=vertical]:h-4 data-[orientation=horizontal]:my-0.5`,toggleGroup:`gap-0.5`,toggleItem:`h-6 min-w-6 gap-1 px-1.5 text-xs`},md:{root:`gap-1 p-1 data-[orientation=horizontal]:h-9`,button:`h-7 min-w-7 gap-1 px-2 text-sm`,link:`h-7 min-w-7 gap-1 px-2 text-sm`,linkIcon:`size-3 -ms-2`,separator:`data-[orientation=vertical]:mx-1 data-[orientation=vertical]:h-4 data-[orientation=horizontal]:my-1`,toggleGroup:`gap-1`,toggleItem:`h-7 min-w-7 gap-1 px-2 text-sm`},lg:{root:`gap-1 p-1 data-[orientation=horizontal]:h-10`,button:`h-8 min-w-8 gap-2 px-2.5 text-base`,link:`h-8 min-w-8 gap-2 px-2.5 text-base`,linkIcon:`size-3.5 -ms-2.5`,separator:`data-[orientation=vertical]:mx-1 data-[orientation=vertical]:h-5 data-[orientation=horizontal]:my-1`,toggleGroup:`gap-1`,toggleItem:`h-8 min-w-8 gap-2 px-2.5 text-base`},xl:{root:`gap-1.5 p-1.5 data-[orientation=horizontal]:h-12`,button:`h-9 min-w-9 gap-2.5 px-3 text-lg`,link:`h-9 min-w-9 gap-2.5 px-3 text-lg`,linkIcon:`size-4 -ms-3`,separator:`data-[orientation=vertical]:mx-1.5 data-[orientation=vertical]:h-6 data-[orientation=horizontal]:my-1.5`,toggleGroup:`gap-1.5`,toggleItem:`h-9 min-w-9 gap-2.5 px-3 text-lg`},"2xl":{root:`gap-2 p-2 data-[orientation=horizontal]:h-14`,button:`h-10 min-w-10 gap-3 px-3.5 text-xl`,link:`h-10 min-w-10 gap-3 px-3.5 text-xl`,linkIcon:`size-4.5 -ms-3.5`,separator:`data-[orientation=vertical]:mx-2 data-[orientation=vertical]:h-7 data-[orientation=horizontal]:my-2`,toggleGroup:`gap-2`,toggleItem:`h-10 min-w-10 gap-3 px-3.5 text-xl`}}},defaultVariants:{size:`md`}});export{n as toolbarVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{mergeVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{tooltipVariants as t}from"./variants.js";import{computed as n,createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,toHandlers as c,unref as l,withCtx as u}from"vue";import{useForwardListeners as d,useOmitProps as f}from"@soybeanjs/headless/composables";import{TooltipCompact as p,provideTooltipUi as m}from"@soybeanjs/headless/tooltip";const h=i({name:`STooltip`,__name:`tooltip`,props:{class:{type:[Boolean,null,String,Object,Array]},size:{},ui:{},content:{},placement:{},showArrow:{type:Boolean,default:!0},triggerProps:{},portalProps:{},positionerProps:{},popupProps:{},arrowProps:{},defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:[`update:open`,`escapeKeyDown`,`pointerDownOutside`],setup(i,{emit:h}){let g=i,_=h,v=f(g,[`class`,`size`,`ui`]),y=d(_);return m(n(()=>e(t({size:g.size}),g.ui,{popup:g.class}))),(e,t)=>(o(),r(l(p),a(l(v),c(l(y))),{trigger:u(()=>[s(e.$slots,`trigger`)]),default:u(()=>[s(e.$slots,`default`)]),_:3},16))}});export{h as default};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import { TooltipProps } from "./types.js";
|
|
1
|
+
import { TooltipProps, TooltipSlots } from "./types.js";
|
|
2
2
|
import * as _$vue from "vue";
|
|
3
3
|
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/tooltip.vue.d.ts
|
|
6
|
-
|
|
7
|
-
type __VLS_Slots = {} & {
|
|
8
|
-
trigger?: (props: typeof __VLS_16) => any;
|
|
9
|
-
} & {
|
|
10
|
-
default?: (props: typeof __VLS_36) => any;
|
|
11
|
-
};
|
|
6
|
+
type __VLS_Slots = TooltipSlots;
|
|
12
7
|
declare const __VLS_base: _$vue.DefineComponent<TooltipProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
13
8
|
"update:open": (value: boolean) => any;
|
|
14
9
|
escapeKeyDown: (event: KeyboardEvent) => any;
|