@soybeanjs/ui 0.15.5 → 0.17.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/dist/_virtual/_rolldown/runtime.js +1 -0
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion/accordion.vue.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +1 -2
- package/dist/components/accordion/types.d.ts +17 -1
- package/dist/components/affix/affix.js +1 -1
- package/dist/components/affix/index.d.ts +2 -1
- package/dist/components/affix/types.d.ts +10 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/alert/index.d.ts +1 -2
- package/dist/components/alert/types.d.ts +25 -1
- package/dist/components/anchor/anchor.js +1 -1
- package/dist/components/anchor/anchor.vue.d.ts +1 -1
- package/dist/components/anchor/index.d.ts +2 -3
- package/dist/components/anchor/types.d.ts +30 -3
- package/dist/components/autocomplete/autocomplete.js +1 -1
- package/dist/components/autocomplete/autocomplete.vue.d.ts +2 -1
- package/dist/components/autocomplete/index.d.ts +2 -3
- package/dist/components/autocomplete/types.d.ts +18 -4
- package/dist/components/autocomplete/variants.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/avatar/index.d.ts +1 -2
- package/dist/components/avatar/types.d.ts +23 -1
- package/dist/components/backtop/backtop.vue.d.ts +3 -3
- package/dist/components/backtop/index.d.ts +2 -2
- package/dist/components/backtop/types.d.ts +28 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/index.d.ts +1 -2
- package/dist/components/badge/types.d.ts +26 -1
- package/dist/components/bottom-sheet/bottom-sheet.js +1 -1
- package/dist/components/bottom-sheet/index.d.ts +2 -1
- package/dist/components/bottom-sheet/types.d.ts +17 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumb/index.d.ts +3 -2
- package/dist/components/breadcrumb/types.d.ts +16 -1
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button-icon.vue.d.ts +1 -1
- package/dist/components/button/button-link.vue.d.ts +1 -1
- package/dist/components/button/button-loading.vue.d.ts +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/types.d.ts +40 -3
- package/dist/components/calendar/calendar.js +1 -0
- package/dist/components/calendar/calendar.vue.d.ts +24 -0
- package/dist/components/calendar/index.d.ts +3 -0
- package/dist/components/calendar/index.js +1 -0
- package/dist/components/calendar/types.d.ts +32 -0
- package/dist/components/calendar/variants.js +1 -0
- package/dist/components/card/card-collapsible-trigger.js +1 -1
- package/dist/components/card/card-collapsible-trigger.vue.d.ts +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/card/index.d.ts +1 -2
- package/dist/components/card/types.d.ts +12 -10
- package/dist/components/carousel/carousel-content.js +1 -1
- package/dist/components/carousel/carousel-content.vue.d.ts +1 -1
- package/dist/components/carousel/carousel-item.js +1 -1
- package/dist/components/carousel/carousel-item.vue.d.ts +1 -1
- package/dist/components/carousel/carousel-next.js +1 -1
- package/dist/components/carousel/carousel-next.vue.d.ts +2 -1
- package/dist/components/carousel/carousel-previous.js +1 -1
- package/dist/components/carousel/carousel-previous.vue.d.ts +2 -1
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/components/carousel/carousel.vue.d.ts +12 -1
- package/dist/components/carousel/index.d.ts +2 -3
- package/dist/components/carousel/types.d.ts +14 -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/index.d.ts +2 -1
- package/dist/components/checkbox/types.d.ts +80 -1
- package/dist/components/clipboard/clipboard.js +1 -1
- package/dist/components/clipboard/index.d.ts +2 -1
- package/dist/components/clipboard/types.d.ts +22 -1
- package/dist/components/collapsible/collapsible.js +1 -1
- package/dist/components/collapsible/index.d.ts +3 -2
- package/dist/components/collapsible/types.d.ts +13 -1
- package/dist/components/color-area/color-area.vue.d.ts +2 -2
- package/dist/components/color-area/index.d.ts +1 -2
- package/dist/components/color-area/types.d.ts +23 -1
- package/dist/components/color-field/color-field.js +1 -1
- package/dist/components/color-field/index.d.ts +1 -2
- package/dist/components/color-field/types.d.ts +20 -1
- package/dist/components/color-picker/color-picker.vue.d.ts +7 -7
- package/dist/components/color-picker/index.d.ts +2 -1
- package/dist/components/color-picker/types.d.ts +96 -3
- package/dist/components/color-slider/color-slider.vue.d.ts +3 -3
- package/dist/components/color-slider/index.d.ts +1 -2
- package/dist/components/color-slider/types.d.ts +25 -1
- package/dist/components/color-swatch/index.d.ts +2 -4
- package/dist/components/color-swatch/types.d.ts +22 -1
- package/dist/components/color-swatch-picker/color-swatch-picker.js +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker.vue.d.ts +2 -2
- package/dist/components/color-swatch-picker/index.d.ts +1 -2
- package/dist/components/color-swatch-picker/types.d.ts +38 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/combobox/index.d.ts +1 -2
- package/dist/components/combobox/types.d.ts +19 -1
- package/dist/components/command/command.js +1 -1
- package/dist/components/command/command.vue.d.ts +4 -3
- package/dist/components/command/index.d.ts +2 -3
- package/dist/components/command/types.d.ts +18 -4
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +7 -10
- package/dist/components/config-provider/index.d.ts +2 -1
- package/dist/components/config-provider/types.d.ts +22 -17
- 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 +1 -1
- 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 +2 -1
- package/dist/components/context-menu/types.d.ts +35 -1
- package/dist/components/date-field/date-field.js +1 -0
- package/dist/components/date-field/date-field.vue.d.ts +15 -0
- package/dist/components/date-field/index.d.ts +3 -0
- package/dist/components/date-field/index.js +1 -0
- package/dist/components/date-field/types.d.ts +28 -0
- package/dist/components/date-field/variants.js +1 -0
- package/dist/components/date-picker/date-picker.js +1 -0
- package/dist/components/date-picker/date-picker.vue.d.ts +26 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/date-picker/types.d.ts +32 -0
- package/dist/components/date-picker/variants.js +1 -0
- package/dist/components/date-range-field/date-range-field.js +1 -0
- package/dist/components/date-range-field/date-range-field.vue.d.ts +29 -0
- package/dist/components/date-range-field/index.d.ts +3 -0
- package/dist/components/date-range-field/index.js +1 -0
- package/dist/components/date-range-field/types.d.ts +76 -0
- package/dist/components/date-range-field/variants.js +1 -0
- package/dist/components/date-range-picker/date-range-picker.js +1 -0
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +29 -0
- package/dist/components/date-range-picker/index.d.ts +3 -0
- package/dist/components/date-range-picker/index.js +1 -0
- package/dist/components/date-range-picker/types.d.ts +65 -0
- package/dist/components/date-range-picker/variants.js +1 -0
- 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 +4 -4
- package/dist/components/dialog/index.d.ts +2 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/types.d.ts +17 -1
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/drawer/drawer.vue.d.ts +4 -4
- package/dist/components/drawer/types.d.ts +13 -1
- 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 +1 -1
- 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/index.d.ts +2 -1
- package/dist/components/dropdown-menu/types.d.ts +35 -1
- package/dist/components/editable/editable.js +1 -1
- package/dist/components/editable/index.d.ts +2 -3
- package/dist/components/editable/types.d.ts +42 -2
- package/dist/components/empty/empty.js +1 -1
- package/dist/components/empty/index.d.ts +1 -2
- package/dist/components/empty/types.d.ts +38 -1
- package/dist/components/form/form-field-base.js +1 -1
- package/dist/components/form/index.d.ts +2 -3
- package/dist/components/form/types.d.ts +102 -8
- package/dist/components/form/use-form.d.ts +2 -1
- package/dist/components/form/use-form.js +1 -1
- package/dist/components/hover-card/hover-card.js +1 -1
- package/dist/components/hover-card/index.d.ts +1 -2
- package/dist/components/hover-card/types.d.ts +35 -1
- package/dist/components/icon/types.d.ts +7 -1
- package/dist/components/input/index.d.ts +1 -2
- package/dist/components/input/input.js +1 -1
- package/dist/components/input/types.d.ts +14 -1
- package/dist/components/input-number/index.d.ts +2 -1
- package/dist/components/input-number/input-number.js +1 -1
- package/dist/components/input-number/types.d.ts +26 -1
- package/dist/components/input-otp/index.d.ts +1 -2
- package/dist/components/input-otp/index.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 +19 -1
- package/dist/components/kbd/index.d.ts +4 -2
- package/dist/components/kbd/kbd.js +1 -1
- package/dist/components/kbd/types.d.ts +18 -2
- package/dist/components/label/label.js +1 -1
- package/dist/components/label/types.d.ts +11 -1
- package/dist/components/layout/index.d.ts +2 -1
- package/dist/components/layout/index.js +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 +38 -1
- package/dist/components/link/index.d.ts +4 -2
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/types.d.ts +8 -1
- package/dist/components/list/index.d.ts +3 -3
- package/dist/components/list/list-item.js +1 -1
- package/dist/components/list/list.js +1 -1
- package/dist/components/list/types.d.ts +32 -1
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/index.d.ts +10 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/types.d.ts +14 -1
- package/dist/components/menubar/index.d.ts +2 -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 +20 -1
- package/dist/components/month-picker/index.d.ts +3 -0
- package/dist/components/month-picker/index.js +1 -0
- package/dist/components/month-picker/month-picker.js +1 -0
- package/dist/components/month-picker/month-picker.vue.d.ts +24 -0
- package/dist/components/month-picker/types.d.ts +86 -0
- package/dist/components/month-picker/variants.js +1 -0
- package/dist/components/month-range-picker/index.d.ts +3 -0
- package/dist/components/month-range-picker/index.js +1 -0
- package/dist/components/month-range-picker/month-range-picker.js +1 -0
- package/dist/components/month-range-picker/month-range-picker.vue.d.ts +29 -0
- package/dist/components/month-range-picker/types.d.ts +89 -0
- package/dist/components/month-range-picker/variants.js +1 -0
- package/dist/components/navigation-menu/index.d.ts +1 -2
- package/dist/components/navigation-menu/navigation-menu-option.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-sub-option.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.js +1 -1
- package/dist/components/navigation-menu/types.d.ts +85 -2
- package/dist/components/page-tabs/index.d.ts +2 -1
- package/dist/components/page-tabs/page-tabs.js +1 -1
- package/dist/components/page-tabs/page-tabs.vue.d.ts +1 -1
- package/dist/components/page-tabs/types.d.ts +79 -3
- package/dist/components/pagination/index.d.ts +1 -2
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/pagination/types.d.ts +11 -1
- package/dist/components/password/password.js +1 -1
- package/dist/components/password/types.d.ts +20 -1
- package/dist/components/popconfirm/popconfirm-cancel.js +1 -1
- package/dist/components/popconfirm/popconfirm-confirm.js +1 -1
- package/dist/components/popconfirm/popconfirm.js +1 -1
- package/dist/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/dist/components/popconfirm/types.d.ts +143 -4
- package/dist/components/popover/index.d.ts +1 -2
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/popover/types.d.ts +39 -2
- package/dist/components/progress/index.d.ts +6 -6
- package/dist/components/progress/progress-circle.js +1 -1
- package/dist/components/progress/progress-provider.js +1 -1
- package/dist/components/progress/progress.js +1 -1
- package/dist/components/progress/types.d.ts +43 -1
- package/dist/components/radio-group/index.d.ts +2 -3
- package/dist/components/radio-group/radio-card-group.js +1 -1
- package/dist/components/radio-group/radio-card-group.vue.d.ts +1 -1
- 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 +1 -1
- package/dist/components/radio-group/radio.js +1 -1
- package/dist/components/radio-group/types.d.ts +76 -1
- package/dist/components/range-calendar/index.d.ts +3 -0
- package/dist/components/range-calendar/index.js +1 -0
- package/dist/components/range-calendar/range-calendar.js +1 -0
- package/dist/components/range-calendar/range-calendar.vue.d.ts +25 -0
- package/dist/components/range-calendar/types.d.ts +188 -0
- package/dist/components/range-calendar/variants.js +1 -0
- package/dist/components/scroll-area/index.d.ts +1 -2
- package/dist/components/scroll-area/scroll-area.js +1 -1
- package/dist/components/scroll-area/types.d.ts +29 -1
- package/dist/components/segment/index.d.ts +2 -1
- package/dist/components/segment/segment.js +1 -1
- package/dist/components/segment/types.d.ts +26 -1
- package/dist/components/select/index.d.ts +2 -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 +18 -3
- package/dist/components/separator/index.d.ts +1 -2
- package/dist/components/separator/separator.js +1 -1
- package/dist/components/separator/types.d.ts +26 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/skeleton/types.d.ts +14 -1
- package/dist/components/slider/index.d.ts +1 -2
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/slider/types.d.ts +29 -1
- package/dist/components/spinner/types.d.ts +16 -1
- package/dist/components/splitter/index.d.ts +2 -3
- 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/splitter-resize-handle.vue.d.ts +1 -1
- package/dist/components/splitter/types.d.ts +43 -2
- package/dist/components/stepper/index.d.ts +1 -2
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper/types.d.ts +56 -1
- package/dist/components/switch/index.d.ts +1 -2
- package/dist/components/switch/switch.js +1 -1
- package/dist/components/switch/switch.vue.d.ts +4 -4
- package/dist/components/switch/types.d.ts +29 -1
- package/dist/components/table/hooks.js +1 -1
- package/dist/components/table/index.d.ts +2 -1
- package/dist/components/table/index.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 +76 -1
- package/dist/components/tabs/index.d.ts +2 -3
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tabs/types.d.ts +19 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/tag/types.d.ts +26 -1
- package/dist/components/tags-input/index.d.ts +3 -2
- package/dist/components/tags-input/tags-input-item-delete.js +1 -1
- package/dist/components/tags-input/tags-input.js +1 -1
- package/dist/components/tags-input/tags-input.vue.d.ts +1 -1
- package/dist/components/tags-input/types.d.ts +17 -1
- package/dist/components/textarea/index.d.ts +1 -2
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/textarea/types.d.ts +23 -1
- package/dist/components/time-field/index.d.ts +3 -0
- package/dist/components/time-field/index.js +1 -0
- package/dist/components/time-field/time-field.js +1 -0
- package/dist/components/time-field/time-field.vue.d.ts +22 -0
- package/dist/components/time-field/types.d.ts +61 -0
- package/dist/components/time-field/variants.js +1 -0
- package/dist/components/time-picker/index.d.ts +3 -0
- package/dist/components/time-picker/index.js +1 -0
- package/dist/components/time-picker/time-picker.js +1 -0
- package/dist/components/time-picker/time-picker.vue.d.ts +24 -0
- package/dist/components/time-picker/types.d.ts +68 -0
- package/dist/components/time-picker/variants.js +1 -0
- package/dist/components/time-range-field/index.d.ts +3 -0
- package/dist/components/time-range-field/index.js +1 -0
- package/dist/components/time-range-field/time-range-field.js +1 -0
- package/dist/components/time-range-field/time-range-field.vue.d.ts +28 -0
- package/dist/components/time-range-field/types.d.ts +76 -0
- package/dist/components/time-range-field/variants.js +1 -0
- package/dist/components/time-range-picker/index.d.ts +3 -0
- package/dist/components/time-range-picker/index.js +1 -0
- package/dist/components/time-range-picker/time-range-picker.js +1 -0
- package/dist/components/time-range-picker/time-range-picker.vue.d.ts +28 -0
- package/dist/components/time-range-picker/types.d.ts +71 -0
- package/dist/components/time-range-picker/variants.js +1 -0
- package/dist/components/toast/index.d.ts +3 -3
- package/dist/components/toast/toast-provider.js +1 -1
- package/dist/components/toast/types.d.ts +11 -2
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggle/toggle.vue.d.ts +3 -3
- package/dist/components/toggle/types.d.ts +20 -1
- package/dist/components/toggle-group/index.d.ts +1 -2
- package/dist/components/toggle-group/toggle-group-item.js +1 -1
- package/dist/components/toggle-group/toggle-group-item.vue.d.ts +1 -1
- package/dist/components/toggle-group/toggle-group.js +1 -1
- package/dist/components/toggle-group/toggle-group.vue.d.ts +1 -1
- package/dist/components/toggle-group/types.d.ts +23 -1
- package/dist/components/toolbar/index.d.ts +3 -2
- package/dist/components/toolbar/toolbar.js +1 -1
- package/dist/components/toolbar/types.d.ts +11 -1
- package/dist/components/tooltip/index.d.ts +1 -2
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/tooltip/types.d.ts +38 -1
- package/dist/components/tree/index.d.ts +3 -2
- package/dist/components/tree/tree-virtualizer.js +1 -1
- package/dist/components/tree/tree-virtualizer.vue.d.ts +2 -1
- package/dist/components/tree/tree.js +1 -1
- package/dist/components/tree/tree.vue.d.ts +2 -1
- package/dist/components/tree/types.d.ts +15 -1
- package/dist/components/tree-menu/index.d.ts +2 -1
- package/dist/components/tree-menu/tree-menu-option-slot.js +1 -1
- package/dist/components/tree-menu/tree-menu-option.js +1 -1
- package/dist/components/tree-menu/tree-menu-options.js +1 -1
- package/dist/components/tree-menu/tree-menu.js +1 -1
- package/dist/components/tree-menu/types.d.ts +111 -6
- package/dist/components/virtualizer/index.d.ts +3 -2
- package/dist/components/virtualizer/types.d.ts +10 -1
- package/dist/components/virtualizer/virtualizer.js +1 -1
- package/dist/components/year-picker/index.d.ts +3 -0
- package/dist/components/year-picker/index.js +1 -0
- package/dist/components/year-picker/types.d.ts +86 -0
- package/dist/components/year-picker/variants.js +1 -0
- package/dist/components/year-picker/year-picker.js +1 -0
- package/dist/components/year-picker/year-picker.vue.d.ts +24 -0
- package/dist/components/year-range-picker/index.d.ts +3 -0
- package/dist/components/year-range-picker/index.js +1 -0
- package/dist/components/year-range-picker/types.d.ts +90 -0
- package/dist/components/year-range-picker/variants.js +1 -0
- package/dist/components/year-range-picker/year-range-picker.js +1 -0
- package/dist/components/year-range-picker/year-range-picker.vue.d.ts +29 -0
- package/dist/constants/components.d.ts +14 -0
- package/dist/constants/components.js +1 -1
- package/dist/index.d.ts +224 -152
- package/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Alignment.d.ts +4 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Animations.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Axis.d.ts +16 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Counter.d.ts +9 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragHandler.d.ts +13 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragTracker.d.ts +4 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.d.ts +31 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Engine.d.ts +67 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventHandler.d.ts +29 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventStore.d.ts +10 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Limit.d.ts +13 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/NodeRects.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.d.ts +43 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/OptionsHandler.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/PercentOfView.d.ts +6 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.d.ts +20 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ResizeHandler.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBody.d.ts +14 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBounds.d.ts +8 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollContain.d.ts +4 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollLooper.d.ts +6 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollProgress.d.ts +6 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts +12 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTo.d.ts +7 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideFocus.d.ts +10 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts +19 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideRegistry.d.ts +6 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts +11 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts +9 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts +7 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts +8 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts +9 -0
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/utils.d.ts +4 -0
- package/dist/styles.css +99 -27
- package/dist/theme/merge.d.ts +1 -1
- package/dist/theme/shared.d.ts +1 -1
- package/dist/theme/shared.js +1 -1
- package/package.json +15 -12
|
@@ -1,53 +1,132 @@
|
|
|
1
1
|
import { ThemeColor, ThemeSize } from "../../theme/types.js";
|
|
2
2
|
import { CheckboxShape } from "./variants.js";
|
|
3
|
-
import { CheckboxCardCompactEmits, CheckboxCardCompactProps, CheckboxCardGroupCompactEmits, CheckboxCardGroupCompactProps, CheckboxCardGroupOptionData, CheckboxCardUi, CheckboxCompactEmits, CheckboxCompactProps, CheckboxGroupCompactEmits, CheckboxGroupCompactProps, CheckboxGroupOptionData, CheckboxUi
|
|
3
|
+
import { CheckboxCardCompactEmits, CheckboxCardCompactProps, CheckboxCardGroupCompactEmits, CheckboxCardGroupCompactProps, CheckboxCardGroupOptionData, CheckboxCardUi, CheckboxCompactEmits, CheckboxCompactProps, CheckboxGroupCompactEmits, CheckboxGroupCompactProps, CheckboxGroupOptionData, CheckboxUi } from "@soybeanjs/headless/checkbox";
|
|
4
|
+
import { ClassValue, DefinedValue } from "@soybeanjs/headless/types";
|
|
4
5
|
|
|
5
6
|
//#region src/components/checkbox/types.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Props for the checkbox component.
|
|
9
|
+
*/
|
|
6
10
|
interface CheckboxProps extends CheckboxCompactProps {
|
|
7
11
|
/**
|
|
8
12
|
* the class of root element
|
|
9
13
|
*/
|
|
10
14
|
class?: ClassValue;
|
|
15
|
+
/**
|
|
16
|
+
* Per-slot class overrides for the component.
|
|
17
|
+
*/
|
|
11
18
|
ui?: Partial<CheckboxUi>;
|
|
19
|
+
/**
|
|
20
|
+
* Theme color of the component.
|
|
21
|
+
*/
|
|
12
22
|
color?: ThemeColor;
|
|
23
|
+
/**
|
|
24
|
+
* Visual size of the component.
|
|
25
|
+
*/
|
|
13
26
|
size?: ThemeSize;
|
|
27
|
+
/**
|
|
28
|
+
* Shape of the component.
|
|
29
|
+
*/
|
|
14
30
|
shape?: CheckboxShape;
|
|
15
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Emits for the checkbox component.
|
|
34
|
+
*/
|
|
16
35
|
type CheckboxEmits = CheckboxCompactEmits;
|
|
36
|
+
/**
|
|
37
|
+
* Props for the checkbox card component.
|
|
38
|
+
*/
|
|
17
39
|
interface CheckboxCardProps extends CheckboxCardCompactProps {
|
|
18
40
|
/**
|
|
19
41
|
* the class of root element
|
|
20
42
|
*/
|
|
21
43
|
class?: ClassValue;
|
|
44
|
+
/**
|
|
45
|
+
* Per-slot class overrides for the component.
|
|
46
|
+
*/
|
|
22
47
|
ui?: Partial<CheckboxCardUi>;
|
|
48
|
+
/**
|
|
49
|
+
* Theme color of the component.
|
|
50
|
+
*/
|
|
23
51
|
color?: ThemeColor;
|
|
52
|
+
/**
|
|
53
|
+
* Visual size of the component.
|
|
54
|
+
*/
|
|
24
55
|
size?: ThemeSize;
|
|
56
|
+
/**
|
|
57
|
+
* Shape of the component.
|
|
58
|
+
*/
|
|
25
59
|
shape?: CheckboxShape;
|
|
60
|
+
/**
|
|
61
|
+
* Icon rendered by the component.
|
|
62
|
+
*/
|
|
26
63
|
icon?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Description text rendered by the component.
|
|
66
|
+
*/
|
|
27
67
|
description?: string;
|
|
28
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Emits for the checkbox card component.
|
|
71
|
+
*/
|
|
29
72
|
type CheckboxCardEmits = CheckboxCardCompactEmits;
|
|
73
|
+
/**
|
|
74
|
+
* Props for the checkbox group component.
|
|
75
|
+
*/
|
|
30
76
|
interface CheckboxGroupProps<T extends CheckboxGroupOptionData = CheckboxGroupOptionData> extends CheckboxGroupCompactProps<T> {
|
|
31
77
|
/**
|
|
32
78
|
* the class of group root element
|
|
33
79
|
*/
|
|
34
80
|
class?: ClassValue;
|
|
81
|
+
/**
|
|
82
|
+
* Per-slot class overrides for the component.
|
|
83
|
+
*/
|
|
35
84
|
ui?: Partial<CheckboxUi>;
|
|
85
|
+
/**
|
|
86
|
+
* Theme color of the component.
|
|
87
|
+
*/
|
|
36
88
|
color?: ThemeColor;
|
|
89
|
+
/**
|
|
90
|
+
* Visual size of the component.
|
|
91
|
+
*/
|
|
37
92
|
size?: ThemeSize;
|
|
93
|
+
/**
|
|
94
|
+
* Shape of the component.
|
|
95
|
+
*/
|
|
38
96
|
shape?: CheckboxShape;
|
|
39
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* Emits for the checkbox group component.
|
|
100
|
+
*/
|
|
40
101
|
type CheckboxGroupEmits<T extends DefinedValue = DefinedValue> = CheckboxGroupCompactEmits<T>;
|
|
102
|
+
/**
|
|
103
|
+
* Props for the checkbox card group component.
|
|
104
|
+
*/
|
|
41
105
|
interface CheckboxCardGroupProps<T extends CheckboxCardGroupOptionData = CheckboxCardGroupOptionData> extends CheckboxCardGroupCompactProps<T> {
|
|
42
106
|
/**
|
|
43
107
|
* the class of group root element
|
|
44
108
|
*/
|
|
45
109
|
class?: ClassValue;
|
|
110
|
+
/**
|
|
111
|
+
* Per-slot class overrides for the component.
|
|
112
|
+
*/
|
|
46
113
|
ui?: Partial<CheckboxCardUi>;
|
|
114
|
+
/**
|
|
115
|
+
* Theme color of the component.
|
|
116
|
+
*/
|
|
47
117
|
color?: ThemeColor;
|
|
118
|
+
/**
|
|
119
|
+
* Visual size of the component.
|
|
120
|
+
*/
|
|
48
121
|
size?: ThemeSize;
|
|
122
|
+
/**
|
|
123
|
+
* Shape of the component.
|
|
124
|
+
*/
|
|
49
125
|
shape?: CheckboxShape;
|
|
50
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* Emits for the checkbox card group component.
|
|
129
|
+
*/
|
|
51
130
|
type CheckboxCardGroupEmits<T extends DefinedValue = DefinedValue> = CheckboxCardGroupCompactEmits<T>;
|
|
52
131
|
//#endregion
|
|
53
132
|
export { CheckboxCardEmits, CheckboxCardGroupEmits, type CheckboxCardGroupOptionData, CheckboxCardGroupProps, CheckboxCardProps, CheckboxEmits, CheckboxGroupEmits, type CheckboxGroupOptionData, CheckboxGroupProps, CheckboxProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cn as e}from"../../theme/merge.js";import"../../theme/index.js";import{buttonVariants as t}from"../button/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,toHandlers as u,unref as d,withCtx as f}from"vue";import{useForwardListeners as p,useOmitProps as m}from"@soybeanjs/headless/composables";import{Clipboard as h}from"@soybeanjs/headless";const g=i({name:`SClipboard`,__name:`clipboard`,props:{class:{},color:{},size:{},variant:{},shape:{},fitContent:{type:Boolean},value:{},copiedDuration:{},legacy:{type:Boolean},copyIcon:{},copiedIcon:{},copyText:{},copiedText:{},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`click`,`copied`,`copyError`],setup(i,{emit:g}){let _=i,v=p(g),y=m(_,[`class`,`color`,`size`,`variant`,`shape`,`fitContent`]),b=n(()=>e(t({color:_.color,size:_.size,variant:_.variant,shape:_.shape,fitContent:_.fitContent}),_.class));return(e,t)=>(c(),r(d(h),o(d(y),{class:b.value},u(d(v))),{leading:f(t=>[l(e.$slots,`leading`,s(a(t)))]),default:f(t=>[l(e.$slots,`default`,s(a(t)))]),trailing:f(t=>[l(e.$slots,`trailing`,s(a(t)))]),_:3},16,[`class`]))}});export{g as default};
|
|
1
|
+
import{cn as e}from"../../theme/merge.js";import"../../theme/index.js";import{buttonVariants as t}from"../button/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,toHandlers as u,unref as d,withCtx as f}from"vue";import{useForwardListeners as p,useOmitProps as m}from"@soybeanjs/headless/composables";import{Clipboard as h}from"@soybeanjs/headless/clipboard";const g=i({name:`SClipboard`,__name:`clipboard`,props:{class:{},color:{},size:{},variant:{},shape:{},fitContent:{type:Boolean},value:{},copiedDuration:{},legacy:{type:Boolean},copyIcon:{},copiedIcon:{},copyText:{},copiedText:{},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`click`,`copied`,`copyError`],setup(i,{emit:g}){let _=i,v=p(g),y=m(_,[`class`,`color`,`size`,`variant`,`shape`,`fitContent`]),b=n(()=>e(t({color:_.color,size:_.size,variant:_.variant,shape:_.shape,fitContent:_.fitContent}),_.class));return(e,t)=>(c(),r(d(h),o(d(y),{class:b.value},u(d(v))),{leading:f(t=>[l(e.$slots,`leading`,s(a(t)))]),default:f(t=>[l(e.$slots,`default`,s(a(t)))]),trailing:f(t=>[l(e.$slots,`trailing`,s(a(t)))]),_:3},16,[`class`]))}});export{g as default};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ButtonShape, ButtonVariant } from "../button/variants.js";
|
|
2
2
|
import { ClipboardEmits, ClipboardProps, ClipboardSlotProps } from "./types.js";
|
|
3
|
-
import { _default } from "./clipboard.vue.js";
|
|
3
|
+
import { _default } from "./clipboard.vue.js";
|
|
4
|
+
export * from "@soybeanjs/headless/clipboard";
|
|
@@ -1,15 +1,36 @@
|
|
|
1
1
|
import { ThemeColor, ThemeSize } from "../../theme/types.js";
|
|
2
2
|
import { ButtonShape, ButtonVariant } from "../button/variants.js";
|
|
3
|
-
import { ClassValue } from "@soybeanjs/headless";
|
|
4
3
|
import { ClipboardEmits, ClipboardProps, ClipboardSlotProps } from "@soybeanjs/headless/clipboard";
|
|
4
|
+
import { ClassValue } from "@soybeanjs/headless/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/clipboard/types.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Props for the clipboard component.
|
|
9
|
+
*/
|
|
7
10
|
interface ClipboardProps$1 extends ClipboardProps {
|
|
11
|
+
/**
|
|
12
|
+
* Additional class names applied to the root element.
|
|
13
|
+
*/
|
|
8
14
|
class?: ClassValue;
|
|
15
|
+
/**
|
|
16
|
+
* Theme color of the component.
|
|
17
|
+
*/
|
|
9
18
|
color?: ThemeColor;
|
|
19
|
+
/**
|
|
20
|
+
* Visual size of the component.
|
|
21
|
+
*/
|
|
10
22
|
size?: ThemeSize;
|
|
23
|
+
/**
|
|
24
|
+
* Visual variant of the component.
|
|
25
|
+
*/
|
|
11
26
|
variant?: ButtonVariant;
|
|
27
|
+
/**
|
|
28
|
+
* Shape of the component.
|
|
29
|
+
*/
|
|
12
30
|
shape?: ButtonShape;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the component should fit its content width.
|
|
33
|
+
*/
|
|
13
34
|
fitContent?: boolean;
|
|
14
35
|
}
|
|
15
36
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{mergeSlotVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{collapsibleVariants 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{CollapsibleRoot as p,provideCollapsibleUi as m}from"@soybeanjs/headless";const h=i({name:`SCollapsible`,__name:`collapsible`,props:{size:{},ui:{},defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},disabled:{type:Boolean},unmountOnHide:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(i,{emit:h}){let g=i,_=h,v=f(g,[`class`,`size`,`ui`]);return m(n(()=>e(t({size:g.size}),g.ui))),(e,t)=>(c(),r(u(p),o(u(v),{"onUpdate:open":t[0]||=e=>_(`update:open`,e)}),{default:d(t=>[l(e.$slots,`default`,s(a(t)))]),_:3},16))}});export{h as default};
|
|
1
|
+
import{mergeSlotVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{collapsibleVariants 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{CollapsibleRoot as p,provideCollapsibleUi as m}from"@soybeanjs/headless/collapsible";const h=i({name:`SCollapsible`,__name:`collapsible`,props:{size:{},ui:{},defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},disabled:{type:Boolean},unmountOnHide:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(i,{emit:h}){let g=i,_=h,v=f(g,[`class`,`size`,`ui`]);return m(n(()=>e(t({size:g.size}),g.ui))),(e,t)=>(c(),r(u(p),o(u(v),{"onUpdate:open":t[0]||=e=>_(`update:open`,e)}),{default:d(t=>[l(e.$slots,`default`,s(a(t)))]),_:3},16))}});export{h as default};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CollapsibleEmits, CollapsibleProps } from "./types.js";
|
|
2
2
|
import { _default } from "./collapsible.vue.js";
|
|
3
|
-
import { CollapsibleContent as SCollapsibleContent,
|
|
4
|
-
export
|
|
3
|
+
import { CollapsibleContent as SCollapsibleContent, CollapsibleTrigger as SCollapsibleTrigger } from "@soybeanjs/headless/collapsible";
|
|
4
|
+
export * from "@soybeanjs/headless/collapsible";
|
|
5
|
+
export { SCollapsibleContent, SCollapsibleTrigger };
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
|
-
import { CollapsibleRootEmits, CollapsibleRootProps, CollapsibleUi } from "@soybeanjs/headless";
|
|
2
|
+
import { CollapsibleRootEmits, CollapsibleRootProps, CollapsibleUi } from "@soybeanjs/headless/collapsible";
|
|
3
3
|
|
|
4
4
|
//#region src/components/collapsible/types.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Props for the collapsible component.
|
|
7
|
+
*/
|
|
5
8
|
interface CollapsibleProps extends CollapsibleRootProps {
|
|
9
|
+
/**
|
|
10
|
+
* Visual size of the component.
|
|
11
|
+
*/
|
|
6
12
|
size?: ThemeSize;
|
|
13
|
+
/**
|
|
14
|
+
* Per-slot class overrides for the component.
|
|
15
|
+
*/
|
|
7
16
|
ui?: Partial<CollapsibleUi>;
|
|
8
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* Emits for the collapsible component.
|
|
20
|
+
*/
|
|
9
21
|
type CollapsibleEmits = CollapsibleRootEmits;
|
|
10
22
|
//#endregion
|
|
11
23
|
export { CollapsibleEmits, CollapsibleProps };
|
|
@@ -4,13 +4,13 @@ import * as _$_soybeanjs_headless_shared0 from "@soybeanjs/headless/shared";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/color-area/color-area.vue.d.ts
|
|
6
6
|
declare const __VLS_export: _$vue.DefineComponent<ColorAreaProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
7
|
-
change: (value: string) => any;
|
|
8
7
|
"update:modelValue": (value: string) => any;
|
|
8
|
+
change: (value: string) => any;
|
|
9
9
|
"update:color": (value: _$_soybeanjs_headless_shared0.NormalizedColor) => any;
|
|
10
10
|
changeEnd: (value: string) => any;
|
|
11
11
|
}, string, _$vue.PublicProps, Readonly<ColorAreaProps> & Readonly<{
|
|
12
|
-
onChange?: ((value: string) => any) | undefined;
|
|
13
12
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
|
+
onChange?: ((value: string) => any) | undefined;
|
|
14
14
|
"onUpdate:color"?: ((value: _$_soybeanjs_headless_shared0.NormalizedColor) => any) | undefined;
|
|
15
15
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
16
16
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ColorAreaEmits, ColorAreaProps } from "./types.js";
|
|
2
2
|
import { _default } from "./color-area.vue.js";
|
|
3
|
-
|
|
4
|
-
export { type ColorAreaAreaProps, type ColorAreaRootEmits, type ColorAreaRootProps, type ColorAreaThumbProps, type ColorAreaUi, type ColorAreaUiSlot };
|
|
3
|
+
export * from "@soybeanjs/headless/color-area";
|
|
@@ -1,14 +1,36 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ColorAreaAreaProps, ColorAreaRootEmits, ColorAreaRootProps, ColorAreaThumbProps, ColorAreaUi } from "@soybeanjs/headless/color-area";
|
|
3
|
+
import { ClassValue } from "@soybeanjs/headless/types";
|
|
3
4
|
|
|
4
5
|
//#region src/components/color-area/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Props for the color area component.
|
|
8
|
+
*/
|
|
5
9
|
interface ColorAreaProps extends ColorAreaRootProps {
|
|
10
|
+
/**
|
|
11
|
+
* Additional class names applied to the root element.
|
|
12
|
+
*/
|
|
6
13
|
class?: ClassValue;
|
|
14
|
+
/**
|
|
15
|
+
* Visual size of the component.
|
|
16
|
+
*/
|
|
7
17
|
size?: ThemeSize;
|
|
18
|
+
/**
|
|
19
|
+
* Per-slot class overrides for the component.
|
|
20
|
+
*/
|
|
8
21
|
ui?: Partial<ColorAreaUi>;
|
|
22
|
+
/**
|
|
23
|
+
* Props forwarded to the area element.
|
|
24
|
+
*/
|
|
9
25
|
areaProps?: ColorAreaAreaProps;
|
|
26
|
+
/**
|
|
27
|
+
* Props forwarded to the thumb element.
|
|
28
|
+
*/
|
|
10
29
|
thumbProps?: ColorAreaThumbProps;
|
|
11
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Emits for the color area component.
|
|
33
|
+
*/
|
|
12
34
|
type ColorAreaEmits = ColorAreaRootEmits;
|
|
13
35
|
//#endregion
|
|
14
36
|
export { ColorAreaEmits, ColorAreaProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{mergeSlotVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{colorFieldVariants as t}from"./variants.js";import{computed as n,createBlock as r,createVNode as i,defineComponent as a,guardReactiveProps as o,mergeProps as s,normalizeProps as c,openBlock as l,toHandlers as u,unref as d,useAttrs as f,withCtx as p}from"vue";import{useForwardListeners as m,useOmitProps as h}from"@soybeanjs/headless/composables";import{ColorFieldInput as g,ColorFieldRoot as _,provideColorFieldUi as v}from"@soybeanjs/headless";const y=a({name:`SColorField`,inheritAttrs:!1,__name:`color-field`,props:{class:{},size:{},ui:{},inputProps:{},modelValue:{},defaultValue:{},colorSpace:{},channel:{},format:{},placeholder:{},disabled:{type:Boolean},readonly:{type:Boolean},disableWheelChange:{type:Boolean},step:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`update:color`],setup(a,{emit:y}){let b=a,x=y,S=f(),C=m(x),w=h(b,[`class`,`size`,`ui`,`inputProps`]);return v(n(()=>e(t({size:b.size}),b.ui,{root:b.class}))),(e,t)=>(l(),r(d(_),s(d(w),u(d(C))),{default:p(()=>[i(d(g),c(o({...a.inputProps,...d(S)})),null,16)]),_:1},16))}});export{y as default};
|
|
1
|
+
import{mergeSlotVariants as e}from"../../theme/shared.js";import"../../theme/index.js";import{colorFieldVariants as t}from"./variants.js";import{computed as n,createBlock as r,createVNode as i,defineComponent as a,guardReactiveProps as o,mergeProps as s,normalizeProps as c,openBlock as l,toHandlers as u,unref as d,useAttrs as f,withCtx as p}from"vue";import{useForwardListeners as m,useOmitProps as h}from"@soybeanjs/headless/composables";import{ColorFieldInput as g,ColorFieldRoot as _,provideColorFieldUi as v}from"@soybeanjs/headless/color-field";const y=a({name:`SColorField`,inheritAttrs:!1,__name:`color-field`,props:{class:{},size:{},ui:{},inputProps:{},modelValue:{},defaultValue:{},colorSpace:{},channel:{},format:{},placeholder:{},disabled:{type:Boolean},readonly:{type:Boolean},disableWheelChange:{type:Boolean},step:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`update:color`],setup(a,{emit:y}){let b=a,x=y,S=f(),C=m(x),w=h(b,[`class`,`size`,`ui`,`inputProps`]);return v(n(()=>e(t({size:b.size}),b.ui,{root:b.class}))),(e,t)=>(l(),r(d(_),s(d(w),u(d(C))),{default:p(()=>[i(d(g),c(o({...a.inputProps,...d(S)})),null,16)]),_:1},16))}});export{y as default};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ColorFieldEmits, ColorFieldProps } from "./types.js";
|
|
2
2
|
import { _default } from "./color-field.vue.js";
|
|
3
|
-
|
|
4
|
-
export { type ColorFieldInputProps, type ColorFieldRootEmits, type ColorFieldRootProps, type ColorFieldUi, type ColorFieldUiSlot };
|
|
3
|
+
export * from "@soybeanjs/headless/color-field";
|
|
@@ -1,13 +1,32 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
|
-
import {
|
|
2
|
+
import { ColorFieldInputProps, ColorFieldRootEmits, ColorFieldRootProps, ColorFieldUi } from "@soybeanjs/headless/color-field";
|
|
3
|
+
import { ClassValue } from "@soybeanjs/headless/types";
|
|
3
4
|
|
|
4
5
|
//#region src/components/color-field/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Props for the color field component.
|
|
8
|
+
*/
|
|
5
9
|
interface ColorFieldProps extends ColorFieldRootProps {
|
|
10
|
+
/**
|
|
11
|
+
* Additional class names applied to the root element.
|
|
12
|
+
*/
|
|
6
13
|
class?: ClassValue;
|
|
14
|
+
/**
|
|
15
|
+
* Visual size of the component.
|
|
16
|
+
*/
|
|
7
17
|
size?: ThemeSize;
|
|
18
|
+
/**
|
|
19
|
+
* Per-slot class overrides for the component.
|
|
20
|
+
*/
|
|
8
21
|
ui?: Partial<ColorFieldUi>;
|
|
22
|
+
/**
|
|
23
|
+
* Props forwarded to the input element.
|
|
24
|
+
*/
|
|
9
25
|
inputProps?: ColorFieldInputProps;
|
|
10
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Emits for the color field component.
|
|
29
|
+
*/
|
|
11
30
|
type ColorFieldEmits = ColorFieldRootEmits;
|
|
12
31
|
//#endregion
|
|
13
32
|
export { ColorFieldEmits, ColorFieldProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ColorPickerProps } from "./types.js";
|
|
2
2
|
import * as _$vue from "vue";
|
|
3
|
-
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
4
3
|
import * as _$_soybeanjs_headless_shared0 from "@soybeanjs/headless/shared";
|
|
5
4
|
import { ColorFormat, ColorSpace, ColorValue } from "@soybeanjs/headless/shared";
|
|
5
|
+
import * as _$_soybeanjs_headless0 from "@soybeanjs/headless";
|
|
6
6
|
import * as _$_soybeanjs_colord0 from "@soybeanjs/colord";
|
|
7
7
|
|
|
8
8
|
//#region src/components/color-picker/color-picker.vue.d.ts
|
|
@@ -16,29 +16,29 @@ type __VLS_Slots = {} & {
|
|
|
16
16
|
trigger?: (props: typeof __VLS_11) => any;
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_base: _$vue.DefineComponent<ColorPickerProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
19
|
-
change: (value: string) => any;
|
|
20
19
|
"update:open": (value: boolean) => any;
|
|
21
20
|
"update:modelValue": (value: string) => any;
|
|
21
|
+
change: (value: string) => any;
|
|
22
22
|
"update:color": (value: _$_soybeanjs_headless_shared0.NormalizedColor) => any;
|
|
23
23
|
"update:format": (value: ColorFormat) => any;
|
|
24
24
|
}, string, _$vue.PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
25
|
-
onChange?: ((value: string) => any) | undefined;
|
|
26
25
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
26
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
27
|
+
onChange?: ((value: string) => any) | undefined;
|
|
28
28
|
"onUpdate:color"?: ((value: _$_soybeanjs_headless_shared0.NormalizedColor) => any) | undefined;
|
|
29
29
|
"onUpdate:format"?: ((value: ColorFormat) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
+
disabled: boolean;
|
|
31
32
|
open: boolean;
|
|
32
33
|
defaultOpen: boolean;
|
|
33
34
|
modal: boolean;
|
|
34
|
-
disabled: boolean;
|
|
35
|
-
modelValue: string | ColorValue;
|
|
36
35
|
defaultValue: string | ColorValue;
|
|
36
|
+
modelValue: string | ColorValue;
|
|
37
|
+
colorSpace: ColorSpace;
|
|
38
|
+
format: ColorFormat;
|
|
37
39
|
placement: _$_soybeanjs_headless0.Placement;
|
|
38
40
|
showArrow: boolean;
|
|
39
|
-
format: ColorFormat;
|
|
40
41
|
defaultFormat: ColorFormat;
|
|
41
|
-
colorSpace: ColorSpace;
|
|
42
42
|
showAlpha: boolean;
|
|
43
43
|
showFields: boolean;
|
|
44
44
|
showSwatches: boolean;
|
|
@@ -1,46 +1,139 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
|
-
import { ButtonProps
|
|
2
|
+
import { ButtonProps } from "../button/types.js";
|
|
3
3
|
import { ColorAreaProps } from "../color-area/types.js";
|
|
4
4
|
import { ColorFieldProps } from "../color-field/types.js";
|
|
5
5
|
import { ColorSliderProps } from "../color-slider/types.js";
|
|
6
6
|
import { ColorSwatchProps } from "../color-swatch/types.js";
|
|
7
7
|
import { ColorSwatchPickerProps } from "../color-swatch-picker/types.js";
|
|
8
8
|
import { PopoverProps } from "../popover/types.js";
|
|
9
|
-
import { ClassValue, UiClass } from "@soybeanjs/headless";
|
|
10
9
|
import { ColorFormat, ColorSpace, ColorValue, NormalizedColor } from "@soybeanjs/headless/shared";
|
|
10
|
+
import { ClassValue, UiClass } from "@soybeanjs/headless/types";
|
|
11
11
|
|
|
12
12
|
//#region src/components/color-picker/types.d.ts
|
|
13
|
+
/**
|
|
14
|
+
* Available UI slots for the color picker component.
|
|
15
|
+
*/
|
|
13
16
|
type ColorPickerUiSlot = 'popup' | 'content' | 'trigger' | 'triggerSwatch' | 'triggerValue' | 'formatSelect' | 'area' | 'slider' | 'alphaRow' | 'alphaSwatch' | 'fields' | 'hexField' | 'field' | 'alphaField' | 'swatches';
|
|
17
|
+
/**
|
|
18
|
+
* UI class overrides for the color picker component.
|
|
19
|
+
*/
|
|
14
20
|
type ColorPickerUi = UiClass<ColorPickerUiSlot>;
|
|
21
|
+
/**
|
|
22
|
+
* Props for the color picker component.
|
|
23
|
+
*/
|
|
15
24
|
interface ColorPickerProps extends Pick<PopoverProps, 'open' | 'defaultOpen' | 'modal' | 'placement' | 'showArrow' | 'positionerProps' | 'popupProps' | 'triggerProps' | 'closeProps' | 'portalProps' | 'arrowProps'> {
|
|
25
|
+
/**
|
|
26
|
+
* Additional class names applied to the root element.
|
|
27
|
+
*/
|
|
16
28
|
class?: ClassValue;
|
|
29
|
+
/**
|
|
30
|
+
* Visual size of the component.
|
|
31
|
+
*/
|
|
17
32
|
size?: ThemeSize;
|
|
33
|
+
/**
|
|
34
|
+
* Per-slot class overrides for the component.
|
|
35
|
+
*/
|
|
18
36
|
ui?: Partial<ColorPickerUi>;
|
|
37
|
+
/**
|
|
38
|
+
* Current model value.
|
|
39
|
+
*/
|
|
19
40
|
modelValue?: string | ColorValue;
|
|
41
|
+
/**
|
|
42
|
+
* Default value.
|
|
43
|
+
*/
|
|
20
44
|
defaultValue?: string | ColorValue;
|
|
45
|
+
/**
|
|
46
|
+
* Format.
|
|
47
|
+
*/
|
|
21
48
|
format?: ColorFormat;
|
|
49
|
+
/**
|
|
50
|
+
* Default format.
|
|
51
|
+
*/
|
|
22
52
|
defaultFormat?: ColorFormat;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the component is disabled.
|
|
55
|
+
*/
|
|
23
56
|
disabled?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Color space.
|
|
59
|
+
*/
|
|
24
60
|
colorSpace?: ColorSpace;
|
|
61
|
+
/**
|
|
62
|
+
* Whether to show an alpha.
|
|
63
|
+
*/
|
|
25
64
|
showAlpha?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Whether to show a fields.
|
|
67
|
+
*/
|
|
26
68
|
showFields?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Whether to show a swatches.
|
|
71
|
+
*/
|
|
27
72
|
showSwatches?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Swatches.
|
|
75
|
+
*/
|
|
28
76
|
swatches?: string[];
|
|
29
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Props forwarded to the trigger button element.
|
|
79
|
+
*/
|
|
80
|
+
triggerButtonProps?: ButtonProps;
|
|
81
|
+
/**
|
|
82
|
+
* Props forwarded to the area element.
|
|
83
|
+
*/
|
|
30
84
|
areaProps?: Omit<ColorAreaProps, 'modelValue' | 'defaultValue' | 'disabled' | 'colorSpace' | 'format' | 'xChannel' | 'yChannel' | 'onChange' | 'onChangeEnd'>;
|
|
85
|
+
/**
|
|
86
|
+
* Props forwarded to the hue slider element.
|
|
87
|
+
*/
|
|
31
88
|
hueSliderProps?: Omit<ColorSliderProps, 'modelValue' | 'defaultValue' | 'channel' | 'colorSpace' | 'disabled' | 'format' | 'onChange' | 'onChangeEnd'>;
|
|
89
|
+
/**
|
|
90
|
+
* Props forwarded to the alpha slider element.
|
|
91
|
+
*/
|
|
32
92
|
alphaSliderProps?: Omit<ColorSliderProps, 'modelValue' | 'defaultValue' | 'channel' | 'colorSpace' | 'disabled' | 'format' | 'onChange' | 'onChangeEnd'>;
|
|
93
|
+
/**
|
|
94
|
+
* Props forwarded to the alpha field element.
|
|
95
|
+
*/
|
|
33
96
|
alphaFieldProps?: Omit<ColorFieldProps, 'modelValue' | 'defaultValue' | 'disabled' | 'channel' | 'colorSpace' | 'format'>;
|
|
97
|
+
/**
|
|
98
|
+
* Props forwarded to the hex field element.
|
|
99
|
+
*/
|
|
34
100
|
hexFieldProps?: Omit<ColorFieldProps, 'modelValue' | 'defaultValue' | 'disabled' | 'channel' | 'colorSpace' | 'format'>;
|
|
101
|
+
/**
|
|
102
|
+
* Props forwarded to the field element.
|
|
103
|
+
*/
|
|
35
104
|
fieldProps?: Omit<ColorFieldProps, 'modelValue' | 'defaultValue' | 'disabled' | 'channel' | 'colorSpace' | 'format'>;
|
|
105
|
+
/**
|
|
106
|
+
* Props forwarded to the swatch picker element.
|
|
107
|
+
*/
|
|
36
108
|
swatchPickerProps?: Omit<ColorSwatchPickerProps, 'modelValue' | 'defaultValue' | 'colors' | 'disabled'>;
|
|
109
|
+
/**
|
|
110
|
+
* Props forwarded to the swatch element.
|
|
111
|
+
*/
|
|
37
112
|
swatchProps?: Omit<ColorSwatchProps, 'class' | 'color' | 'size'>;
|
|
38
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* Emits for the color picker component.
|
|
116
|
+
*/
|
|
39
117
|
type ColorPickerEmits = {
|
|
118
|
+
/**
|
|
119
|
+
* Emitted when the model value changes.
|
|
120
|
+
*/
|
|
40
121
|
'update:modelValue': [value: string];
|
|
122
|
+
/**
|
|
123
|
+
* Emitted when the color value changes.
|
|
124
|
+
*/
|
|
41
125
|
'update:color': [value: NormalizedColor];
|
|
126
|
+
/**
|
|
127
|
+
* Emitted when the format value changes.
|
|
128
|
+
*/
|
|
42
129
|
'update:format': [value: ColorFormat];
|
|
130
|
+
/**
|
|
131
|
+
* Emitted when the open state changes.
|
|
132
|
+
*/
|
|
43
133
|
'update:open': [value: boolean];
|
|
134
|
+
/**
|
|
135
|
+
* Emitted when change occurs.
|
|
136
|
+
*/
|
|
44
137
|
change: [value: string];
|
|
45
138
|
};
|
|
46
139
|
//#endregion
|
|
@@ -5,18 +5,18 @@ import * as _$_soybeanjs_headless_shared0 from "@soybeanjs/headless/shared";
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/color-slider/color-slider.vue.d.ts
|
|
7
7
|
declare const __VLS_export: _$vue.DefineComponent<ColorSliderProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
8
|
-
change: (value: string) => any;
|
|
9
8
|
"update:modelValue": (value: string) => any;
|
|
9
|
+
change: (value: string) => any;
|
|
10
10
|
"update:color": (value: _$_soybeanjs_headless_shared0.NormalizedColor) => any;
|
|
11
11
|
changeEnd: (value: string) => any;
|
|
12
12
|
}, string, _$vue.PublicProps, Readonly<ColorSliderProps> & Readonly<{
|
|
13
|
-
onChange?: ((value: string) => any) | undefined;
|
|
14
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
|
+
onChange?: ((value: string) => any) | undefined;
|
|
15
15
|
"onUpdate:color"?: ((value: _$_soybeanjs_headless_shared0.NormalizedColor) => any) | undefined;
|
|
16
16
|
onChangeEnd?: ((value: string) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
size: ThemeSize;
|
|
19
18
|
color: ThemeColor;
|
|
19
|
+
size: ThemeSize;
|
|
20
20
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
22
22
|
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ColorSliderEmits, ColorSliderProps } from "./types.js";
|
|
2
2
|
import { _default } from "./color-slider.vue.js";
|
|
3
|
-
|
|
4
|
-
export { type ColorSliderRootEmits$1 as ColorSliderRootEmits, type ColorSliderRootProps$1 as ColorSliderRootProps, type ColorSliderThumbProps$1 as ColorSliderThumbProps, type ColorSliderTrackProps$1 as ColorSliderTrackProps, type ColorSliderUi$1 as ColorSliderUi, type ColorSliderUiSlot };
|
|
3
|
+
export * from "@soybeanjs/headless/color-slider";
|
|
@@ -1,16 +1,40 @@
|
|
|
1
1
|
import { ThemeColor, ThemeSize } from "../../theme/types.js";
|
|
2
|
-
import { ClassValue } from "@soybeanjs/headless";
|
|
3
2
|
import { ColorSliderRootEmits, ColorSliderRootProps, ColorSliderThumbProps, ColorSliderTrackProps, ColorSliderUi } from "@soybeanjs/headless/color-slider";
|
|
3
|
+
import { ClassValue } from "@soybeanjs/headless/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/color-slider/types.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Props for the color slider component.
|
|
8
|
+
*/
|
|
6
9
|
interface ColorSliderProps extends ColorSliderRootProps {
|
|
10
|
+
/**
|
|
11
|
+
* Additional class names applied to the root element.
|
|
12
|
+
*/
|
|
7
13
|
class?: ClassValue;
|
|
14
|
+
/**
|
|
15
|
+
* Theme color of the component.
|
|
16
|
+
*/
|
|
8
17
|
color?: ThemeColor;
|
|
18
|
+
/**
|
|
19
|
+
* Visual size of the component.
|
|
20
|
+
*/
|
|
9
21
|
size?: ThemeSize;
|
|
22
|
+
/**
|
|
23
|
+
* Per-slot class overrides for the component.
|
|
24
|
+
*/
|
|
10
25
|
ui?: Partial<ColorSliderUi>;
|
|
26
|
+
/**
|
|
27
|
+
* Props forwarded to the track element.
|
|
28
|
+
*/
|
|
11
29
|
trackProps?: ColorSliderTrackProps;
|
|
30
|
+
/**
|
|
31
|
+
* Props forwarded to the thumb element.
|
|
32
|
+
*/
|
|
12
33
|
thumbProps?: ColorSliderThumbProps;
|
|
13
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Emits for the color slider component.
|
|
37
|
+
*/
|
|
14
38
|
type ColorSliderEmits = ColorSliderRootEmits;
|
|
15
39
|
//#endregion
|
|
16
40
|
export { ColorSliderEmits, ColorSliderProps };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { ColorSwatchShape } from "./variants.js";
|
|
2
|
-
import { ColorExtraUiSlot, ColorSwatchExtendedUi, ColorSwatchProps
|
|
3
|
-
import { _default } from "./color-swatch.vue.js";
|
|
4
|
-
import { ColorSwatchProps as HeadlessColorSwatchProps } from "@soybeanjs/headless/color-swatch";
|
|
5
|
-
export { type HeadlessColorSwatchProps };
|
|
2
|
+
import { ColorExtraUiSlot, ColorSwatchExtendedUi, ColorSwatchProps } from "./types.js";
|
|
3
|
+
import { _default } from "./color-swatch.vue.js";
|
|
@@ -1,15 +1,36 @@
|
|
|
1
1
|
import { ThemeSize } from "../../theme/types.js";
|
|
2
2
|
import { ColorSwatchShape } from "./variants.js";
|
|
3
|
-
import { ClassValue, UiClass } from "@soybeanjs/headless";
|
|
4
3
|
import { ColorSwatchProps } from "@soybeanjs/headless/color-swatch";
|
|
4
|
+
import { ClassValue, UiClass } from "@soybeanjs/headless/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/color-swatch/types.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Additional UI slots for the color swatch component.
|
|
9
|
+
*/
|
|
7
10
|
type ColorExtraUiSlot = 'checker' | 'fill';
|
|
11
|
+
/**
|
|
12
|
+
* Extended UI class overrides for the color swatch component.
|
|
13
|
+
*/
|
|
8
14
|
type ColorSwatchExtendedUi = UiClass<ColorExtraUiSlot>;
|
|
15
|
+
/**
|
|
16
|
+
* Props for the color swatch component.
|
|
17
|
+
*/
|
|
9
18
|
interface ColorSwatchProps$1 extends ColorSwatchProps {
|
|
19
|
+
/**
|
|
20
|
+
* Additional class names applied to the root element.
|
|
21
|
+
*/
|
|
10
22
|
class?: ClassValue;
|
|
23
|
+
/**
|
|
24
|
+
* Visual size of the component.
|
|
25
|
+
*/
|
|
11
26
|
size?: ThemeSize;
|
|
27
|
+
/**
|
|
28
|
+
* Per-slot class overrides for the component.
|
|
29
|
+
*/
|
|
12
30
|
ui?: Partial<ColorSwatchExtendedUi>;
|
|
31
|
+
/**
|
|
32
|
+
* Shape of the component.
|
|
33
|
+
*/
|
|
13
34
|
shape?: ColorSwatchShape;
|
|
14
35
|
}
|
|
15
36
|
//#endregion
|