@soybeanjs/headless 0.17.0 → 0.18.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 +10 -5
- package/README.zh-CN.md +10 -5
- package/dist/components/_icon/types.d.ts +2 -2
- package/dist/components/accordion/types.d.ts +19 -19
- package/dist/components/affix/types.d.ts +12 -12
- package/dist/components/alert/types.d.ts +15 -15
- package/dist/components/anchor/anchor-root.vue.d.ts +1 -1
- package/dist/components/anchor/types.d.ts +19 -19
- package/dist/components/arrow/types.d.ts +1 -1
- package/dist/components/aspect-ratio/types.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete-root.vue.d.ts +4 -4
- package/dist/components/autocomplete/types.d.ts +23 -23
- package/dist/components/avatar/avatar-compact.js +1 -0
- package/dist/components/avatar/avatar-compact.vue.d.ts +20 -0
- package/dist/components/avatar/avatar-fallback.js +1 -1
- package/dist/components/avatar/avatar-image.js +1 -1
- package/dist/components/avatar/avatar-root.js +1 -1
- package/dist/components/avatar/index.d.ts +6 -5
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/types.d.ts +38 -7
- package/dist/components/backtop/backtop.vue.d.ts +3 -3
- package/dist/components/backtop/types.d.ts +5 -5
- package/dist/components/badge/badge-compact.js +1 -0
- package/dist/components/badge/badge-compact.vue.d.ts +21 -0
- package/dist/components/badge/badge-content.js +1 -1
- package/dist/components/badge/badge-root.js +1 -1
- package/dist/components/badge/index.d.ts +5 -4
- package/dist/components/badge/index.js +1 -1
- package/dist/components/badge/types.d.ts +26 -6
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
- package/dist/components/bottom-sheet/types.d.ts +13 -13
- package/dist/components/breadcrumb/types.d.ts +21 -21
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button.vue.d.ts +2 -2
- package/dist/components/button/types.d.ts +4 -4
- package/dist/components/calendar/types.d.ts +32 -32
- package/dist/components/card/card-root.vue.d.ts +1 -1
- package/dist/components/card/types.d.ts +20 -20
- package/dist/components/carousel/carousel-compact.js +1 -0
- package/dist/components/carousel/carousel-compact.vue.d.ts +23 -0
- package/dist/components/carousel/carousel-container.js +1 -0
- package/dist/components/carousel/carousel-container.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-content.js +1 -1
- package/dist/components/carousel/carousel-control.js +1 -0
- package/dist/components/carousel/carousel-control.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-item.js +1 -1
- package/dist/components/carousel/carousel-navigation.js +1 -0
- package/dist/components/carousel/carousel-navigation.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-next.js +1 -1
- package/dist/components/carousel/carousel-next.vue.d.ts +2 -12
- package/dist/components/carousel/carousel-previous.js +1 -1
- package/dist/components/carousel/carousel-previous.vue.d.ts +2 -12
- package/dist/components/carousel/carousel-root.js +1 -1
- package/dist/components/carousel/carousel-root.vue.d.ts +6 -28
- package/dist/components/carousel/context.d.ts +0 -1
- package/dist/components/carousel/context.js +1 -1
- package/dist/components/carousel/hooks.js +1 -0
- package/dist/components/carousel/index.d.ts +11 -9
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/types.d.ts +121 -29
- package/dist/components/checkbox/types.d.ts +27 -27
- package/dist/components/clipboard/clipboard.vue.d.ts +2 -2
- package/dist/components/clipboard/types.d.ts +5 -5
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- package/dist/components/collapsible/types.d.ts +6 -6
- package/dist/components/color-area/color-area-root.vue.d.ts +1 -1
- package/dist/components/color-area/types.d.ts +7 -7
- package/dist/components/color-field/color-field-root.vue.d.ts +1 -1
- package/dist/components/color-field/types.d.ts +5 -5
- package/dist/components/color-picker/types.d.ts +3 -3
- package/dist/components/color-slider/color-slider-root.vue.d.ts +2 -2
- package/dist/components/color-slider/types.d.ts +6 -6
- package/dist/components/color-swatch/types.d.ts +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +2 -2
- package/dist/components/color-swatch-picker/types.d.ts +8 -8
- package/dist/components/combobox/combobox-compact.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-content.vue.d.ts +1 -1
- package/dist/components/combobox/combobox-root.vue.d.ts +2 -2
- package/dist/components/combobox/types.d.ts +42 -42
- package/dist/components/command/command-compact.vue.d.ts +2 -2
- package/dist/components/command/types.d.ts +25 -25
- package/dist/components/config-provider/config-provider.js +12 -0
- package/dist/components/config-provider/config-provider.vue.d.ts +1 -1
- package/dist/components/config-provider/types.d.ts +1 -1
- package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-content.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/types.d.ts +21 -21
- package/dist/components/date-field/date-field-root.vue.d.ts +2 -2
- package/dist/components/date-field/types.d.ts +10 -10
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +2 -2
- package/dist/components/date-picker/date-picker-root.vue.d.ts +7 -7
- package/dist/components/date-picker/types.d.ts +18 -18
- package/dist/components/date-range-field/date-range-field-root.vue.d.ts +2 -2
- package/dist/components/date-range-field/types.d.ts +11 -11
- package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +2 -2
- package/dist/components/date-range-picker/date-range-picker-root.vue.d.ts +7 -7
- package/dist/components/date-range-picker/types.d.ts +12 -12
- package/dist/components/dialog/dialog-compact.vue.d.ts +5 -5
- package/dist/components/dialog/types.d.ts +40 -40
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/types.d.ts +21 -21
- package/dist/components/editable/types.d.ts +25 -25
- package/dist/components/empty/empty-compact.js +1 -0
- package/dist/components/empty/empty-compact.vue.d.ts +15 -0
- package/dist/components/empty/empty-content.js +1 -1
- package/dist/components/empty/empty-description.js +1 -1
- package/dist/components/empty/empty-header.js +1 -1
- package/dist/components/empty/empty-media.js +1 -1
- package/dist/components/empty/empty-root.js +1 -1
- package/dist/components/empty/empty-title.js +1 -1
- package/dist/components/empty/index.d.ts +9 -8
- package/dist/components/empty/index.js +1 -1
- package/dist/components/empty/types.d.ts +72 -9
- package/dist/components/form/context.d.ts +3 -2
- package/dist/components/form/context.js +1 -1
- package/dist/components/form/core/types.d.ts +24 -24
- package/dist/components/form/core/use-form.js +1 -1
- package/dist/components/form/form-compact.js +1 -0
- package/dist/components/form/form-compact.vue.d.ts +21 -0
- package/dist/components/form/form-control.js +1 -1
- package/dist/components/form/form-description.js +1 -1
- package/dist/components/form/form-error.js +1 -1
- package/dist/components/form/form-field-array-compact.js +1 -0
- package/dist/components/form/form-field-array-compact.vue.d.ts +16 -0
- package/dist/components/form/form-field-base-compact.js +1 -0
- package/dist/components/form/form-field-base-compact.vue.d.ts +26 -0
- package/dist/components/form/form-field-compact.js +1 -0
- package/dist/components/form/form-field-compact.vue.d.ts +16 -0
- package/dist/components/form/form-field.js +1 -1
- package/dist/components/form/form-label.js +1 -1
- package/dist/components/form/index.d.ts +14 -10
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/shared.js +1 -0
- package/dist/components/form/types.d.ts +129 -10
- package/dist/components/form/use-form.d.ts +8 -0
- package/dist/components/form/use-form.js +1 -0
- package/dist/components/hover-card/hover-card-compact.vue.d.ts +1 -1
- package/dist/components/hover-card/hover-card-root.vue.d.ts +1 -1
- package/dist/components/hover-card/types.d.ts +15 -15
- package/dist/components/input/index.d.ts +6 -4
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/input-clear.js +1 -0
- package/dist/components/input/input-clear.vue.d.ts +22 -0
- package/dist/components/input/input-compact.js +1 -0
- package/dist/components/input/input-compact.vue.d.ts +21 -0
- package/dist/components/input/input-control.js +1 -1
- package/dist/components/input/input-root.js +1 -1
- package/dist/components/input/types.d.ts +79 -8
- package/dist/components/input-number/input-number-root.vue.d.ts +1 -1
- package/dist/components/input-number/types.d.ts +7 -7
- package/dist/components/input-otp/input-otp-compact.vue.d.ts +4 -4
- package/dist/components/input-otp/input-otp-root.vue.d.ts +4 -4
- package/dist/components/input-otp/types.d.ts +14 -14
- package/dist/components/kbd/types.d.ts +2 -2
- package/dist/components/label/types.d.ts +1 -1
- package/dist/components/layout/layout-classic-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-root.vue.d.ts +1 -1
- package/dist/components/layout/types.d.ts +28 -28
- package/dist/components/link/types.d.ts +4 -4
- package/dist/components/list/types.d.ts +7 -7
- package/dist/components/listbox/listbox-root.vue.d.ts +2 -2
- package/dist/components/listbox/types.d.ts +16 -16
- package/dist/components/menu/menu-content.vue.d.ts +2 -2
- package/dist/components/menu/menu-option-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-options-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub-content.vue.d.ts +2 -2
- package/dist/components/menu/types.d.ts +68 -68
- package/dist/components/menubar/menubar-compact.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-content.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-sub-content.vue.d.ts +2 -2
- package/dist/components/menubar/types.d.ts +19 -19
- package/dist/components/month-picker/month-picker-root.vue.d.ts +5 -5
- package/dist/components/month-picker/types.d.ts +7 -7
- package/dist/components/month-range-picker/month-range-picker-root.vue.d.ts +5 -5
- package/dist/components/month-range-picker/types.d.ts +7 -7
- package/dist/components/navigation-menu/types.d.ts +31 -31
- package/dist/components/page-tabs/types.d.ts +8 -8
- package/dist/components/pagination/types.d.ts +21 -21
- package/dist/components/popover/popover-compact.vue.d.ts +1 -1
- package/dist/components/popover/types.d.ts +20 -20
- package/dist/components/popper/popper-positioner.vue.d.ts +1 -1
- package/dist/components/popper/types.d.ts +7 -7
- package/dist/components/portal/types.d.ts +1 -1
- package/dist/components/primitive/types.d.ts +2 -2
- package/dist/components/progress/types.d.ts +11 -11
- package/dist/components/radio-group/types.d.ts +16 -16
- package/dist/components/range-calendar/range-calendar-root.vue.d.ts +2 -2
- package/dist/components/range-calendar/types.d.ts +30 -30
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +1 -1
- package/dist/components/roving-focus/types.d.ts +3 -3
- package/dist/components/scroll-area/types.d.ts +10 -10
- package/dist/components/segment/types.d.ts +8 -8
- package/dist/components/select/select-content.vue.d.ts +2 -2
- package/dist/components/select/types.d.ts +51 -51
- package/dist/components/separator/types.d.ts +4 -4
- package/dist/components/skeleton/types.d.ts +1 -1
- package/dist/components/slider/slider-root.vue.d.ts +1 -1
- package/dist/components/slider/types.d.ts +10 -10
- package/dist/components/splitter/splitter-group.vue.d.ts +1 -1
- package/dist/components/splitter/splitter-panel.vue.d.ts +2 -2
- package/dist/components/splitter/types.d.ts +11 -11
- package/dist/components/stepper/types.d.ts +21 -21
- package/dist/components/switch/types.d.ts +7 -7
- package/dist/components/table/types.d.ts +67 -67
- package/dist/components/tabs/types.d.ts +17 -17
- package/dist/components/tag/types.d.ts +2 -2
- package/dist/components/tags-input/tags-input-root.vue.d.ts +2 -2
- package/dist/components/tags-input/types.d.ts +10 -10
- package/dist/components/textarea/types.d.ts +8 -8
- package/dist/components/time-field/time-field-root.vue.d.ts +1 -1
- package/dist/components/time-field/types.d.ts +7 -7
- package/dist/components/time-picker/time-picker-root.vue.d.ts +6 -6
- package/dist/components/time-picker/types.d.ts +7 -7
- package/dist/components/time-range-field/time-range-field-root.vue.d.ts +1 -1
- package/dist/components/time-range-field/types.d.ts +11 -11
- package/dist/components/time-range-picker/time-range-picker-compact.vue.d.ts +2 -2
- package/dist/components/time-range-picker/time-range-picker-root.vue.d.ts +6 -6
- package/dist/components/time-range-picker/types.d.ts +12 -12
- package/dist/components/toast/types.d.ts +25 -25
- package/dist/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/components/toggle/types.d.ts +3 -3
- package/dist/components/toggle-group/types.d.ts +5 -5
- package/dist/components/toolbar/toolbar-button.vue.d.ts +2 -2
- package/dist/components/toolbar/types.d.ts +12 -12
- package/dist/components/tooltip/tooltip-root.vue.d.ts +1 -1
- package/dist/components/tooltip/types.d.ts +9 -9
- package/dist/components/tree/types.d.ts +13 -13
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +1 -1
- package/dist/components/tree-menu/types.d.ts +14 -14
- package/dist/components/virtualizer/types.d.ts +6 -6
- package/dist/components/visually-hidden/types.d.ts +3 -3
- package/dist/components/year-picker/types.d.ts +7 -7
- package/dist/components/year-picker/year-picker-root.vue.d.ts +5 -5
- package/dist/components/year-range-picker/types.d.ts +7 -7
- package/dist/components/year-range-picker/year-range-picker-root.vue.d.ts +5 -5
- package/dist/constants/components.js +1 -1
- package/dist/date/parts.d.ts +1 -1
- package/dist/index.d.ts +416 -405
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +877 -851
- package/dist/namespaced/index.js +1 -1
- package/dist/types/common.d.ts +1 -1
- package/package.json +4 -2
- package/dist/components/form/core/use-form.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Alignment.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Animations.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Axis.d.ts +0 -16
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Counter.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragHandler.d.ts +0 -13
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragTracker.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.d.ts +0 -31
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Engine.d.ts +0 -67
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventHandler.d.ts +0 -29
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventStore.d.ts +0 -10
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Limit.d.ts +0 -13
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/NodeRects.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.d.ts +0 -43
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/OptionsHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/PercentOfView.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.d.ts +0 -20
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ResizeHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBody.d.ts +0 -14
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBounds.d.ts +0 -8
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollContain.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollLooper.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollProgress.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts +0 -12
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTo.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideFocus.d.ts +0 -10
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts +0 -19
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideRegistry.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts +0 -8
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/utils.d.ts +0 -4
|
@@ -5,7 +5,7 @@ import { ButtonHTMLAttributes, HTMLAttributes, Ref } from "vue";
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/collapsible/types.d.ts
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Properties for the CollapsibleRoot component.
|
|
9
9
|
*/
|
|
10
10
|
interface CollapsibleRootProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
11
11
|
/**
|
|
@@ -22,28 +22,28 @@ interface CollapsibleRootProps extends PrimitiveProps, /** @vue-ignore */HTMLAtt
|
|
|
22
22
|
unmountOnHide?: boolean;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Events for the CollapsibleRoot component.
|
|
26
26
|
*/
|
|
27
27
|
type CollapsibleRootEmits = {
|
|
28
28
|
/** Event handler called when the open state of the collapsible changes. */'update:open': [value: boolean];
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Properties for the CollapsibleContent component.
|
|
32
32
|
*/
|
|
33
33
|
interface CollapsibleContentProps extends PrimitiveProps, ForceMountProps, /** @vue-ignore */HTMLAttributes {}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Properties for the CollapsibleTrigger component.
|
|
36
36
|
*/
|
|
37
37
|
interface CollapsibleTriggerProps extends PrimitiveProps, /** @vue-ignore */ButtonHTMLAttributes {
|
|
38
38
|
/** When `true`, prevents the user from toggling the collapsible. */
|
|
39
39
|
disabledCollapsible?: boolean;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* Available UI slots for the
|
|
42
|
+
* Available UI slots for the Collapsible component.
|
|
43
43
|
*/
|
|
44
44
|
type CollapsibleUiSlot = 'root' | 'trigger' | 'content';
|
|
45
45
|
/**
|
|
46
|
-
* UI class overrides for the
|
|
46
|
+
* UI class overrides for the Collapsible component.
|
|
47
47
|
*/
|
|
48
48
|
type CollapsibleUi = UiClass<CollapsibleUiSlot>;
|
|
49
49
|
//#endregion
|
|
@@ -22,9 +22,9 @@ declare const __VLS_base: _$vue.DefineComponent<ColorAreaRootProps, {}, {}, {},
|
|
|
22
22
|
disabled: boolean;
|
|
23
23
|
format: ColorFormat;
|
|
24
24
|
as: AsTag | _$vue.Component;
|
|
25
|
+
colorSpace: ColorSpace;
|
|
25
26
|
modelValue: string | ColorValue;
|
|
26
27
|
defaultValue: string | ColorValue;
|
|
27
|
-
colorSpace: ColorSpace;
|
|
28
28
|
xChannel: ColorAreaAxisChannel;
|
|
29
29
|
yChannel: ColorAreaAxisChannel;
|
|
30
30
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -6,11 +6,11 @@ import { CSSProperties, ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/color-area/types.d.ts
|
|
8
8
|
/**
|
|
9
|
-
* Type information for
|
|
9
|
+
* Type information for ColorAreaAxisChannel.
|
|
10
10
|
*/
|
|
11
11
|
type ColorAreaAxisChannel = Extract<ColorChannel, 'hue' | 'saturation' | 'lightness' | 'brightness' | 'chroma'>;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Properties for the ColorAreaRoot component.
|
|
14
14
|
*/
|
|
15
15
|
interface ColorAreaRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
|
|
16
16
|
/**
|
|
@@ -51,7 +51,7 @@ interface ColorAreaRootProps extends PrimitiveProps, FormFieldCommonProps, /** @
|
|
|
51
51
|
yName?: string;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Events for the ColorAreaRoot component.
|
|
55
55
|
*/
|
|
56
56
|
type ColorAreaRootEmits = {
|
|
57
57
|
/**
|
|
@@ -72,19 +72,19 @@ type ColorAreaRootEmits = {
|
|
|
72
72
|
changeEnd: [value: string];
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Properties for the ColorAreaArea component.
|
|
76
76
|
*/
|
|
77
77
|
interface ColorAreaAreaProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Properties for the ColorAreaThumb component.
|
|
80
80
|
*/
|
|
81
81
|
interface ColorAreaThumbProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
82
82
|
/**
|
|
83
|
-
* Available UI slots for the
|
|
83
|
+
* Available UI slots for the ColorArea component.
|
|
84
84
|
*/
|
|
85
85
|
type ColorAreaUiSlot = 'root' | 'area' | 'thumb';
|
|
86
86
|
/**
|
|
87
|
-
* UI class overrides for the
|
|
87
|
+
* UI class overrides for the ColorArea component.
|
|
88
88
|
*/
|
|
89
89
|
type ColorAreaUi = UiClass<ColorAreaUiSlot>;
|
|
90
90
|
//#endregion
|
|
@@ -19,9 +19,9 @@ declare const __VLS_base: _$vue.DefineComponent<ColorFieldRootProps, {}, {}, {},
|
|
|
19
19
|
format: ColorFormat;
|
|
20
20
|
as: AsTag | _$vue.Component;
|
|
21
21
|
step: number;
|
|
22
|
+
colorSpace: ColorSpace;
|
|
22
23
|
modelValue: string | ColorValue;
|
|
23
24
|
defaultValue: string | ColorValue;
|
|
24
|
-
colorSpace: ColorSpace;
|
|
25
25
|
readonly: boolean;
|
|
26
26
|
disableWheelChange: boolean;
|
|
27
27
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -6,7 +6,7 @@ import { HTMLAttributes, InputHTMLAttributes, ShallowRef } from "vue";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/color-field/types.d.ts
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Properties for the ColorFieldRoot component.
|
|
10
10
|
*/
|
|
11
11
|
interface ColorFieldRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
|
|
12
12
|
/**
|
|
@@ -51,7 +51,7 @@ interface ColorFieldRootProps extends PrimitiveProps, FormFieldCommonProps, /**
|
|
|
51
51
|
step?: number;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Events for the ColorFieldRoot component.
|
|
55
55
|
*/
|
|
56
56
|
type ColorFieldRootEmits = {
|
|
57
57
|
/**
|
|
@@ -64,15 +64,15 @@ type ColorFieldRootEmits = {
|
|
|
64
64
|
'update:color': [value: NormalizedColor];
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Properties for the ColorFieldInput component.
|
|
68
68
|
*/
|
|
69
69
|
interface ColorFieldInputProps extends /** @vue-ignore */InputHTMLAttributes {}
|
|
70
70
|
/**
|
|
71
|
-
* Available UI slots for the
|
|
71
|
+
* Available UI slots for the ColorField component.
|
|
72
72
|
*/
|
|
73
73
|
type ColorFieldUiSlot = 'root' | 'input';
|
|
74
74
|
/**
|
|
75
|
-
* UI class overrides for the
|
|
75
|
+
* UI class overrides for the ColorField component.
|
|
76
76
|
*/
|
|
77
77
|
type ColorFieldUi = UiClass<ColorFieldUiSlot>;
|
|
78
78
|
//#endregion
|
|
@@ -5,7 +5,7 @@ import { ComputedRef, HTMLAttributes } from "vue";
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/color-picker/types.d.ts
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Properties for the ColorPickerRoot component.
|
|
9
9
|
*/
|
|
10
10
|
interface ColorPickerRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
|
|
11
11
|
/**
|
|
@@ -26,7 +26,7 @@ interface ColorPickerRootProps extends PrimitiveProps, FormFieldCommonProps, /**
|
|
|
26
26
|
disabled?: boolean;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Events for the ColorPickerRoot component.
|
|
30
30
|
*/
|
|
31
31
|
type ColorPickerRootEmits = {
|
|
32
32
|
/**
|
|
@@ -43,7 +43,7 @@ type ColorPickerRootEmits = {
|
|
|
43
43
|
change: [value: string];
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
|
-
* Slot
|
|
46
|
+
* Slot properties for the ColorPickerRoot component.
|
|
47
47
|
*/
|
|
48
48
|
interface ColorPickerRootSlotProps {
|
|
49
49
|
/**
|
|
@@ -23,10 +23,10 @@ declare const __VLS_base: _$vue.DefineComponent<ColorSliderRootProps, {}, {}, {}
|
|
|
23
23
|
format: ColorFormat;
|
|
24
24
|
orientation: DataOrientation;
|
|
25
25
|
step: number;
|
|
26
|
-
modelValue: string | ColorValue;
|
|
27
|
-
defaultValue: string | ColorValue;
|
|
28
26
|
colorSpace: ColorSpace;
|
|
29
27
|
inverted: boolean;
|
|
28
|
+
modelValue: string | ColorValue;
|
|
29
|
+
defaultValue: string | ColorValue;
|
|
30
30
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
@@ -6,7 +6,7 @@ import { ComputedRef, HTMLAttributes } from "vue";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/color-slider/types.d.ts
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Properties for the ColorSliderRoot component.
|
|
10
10
|
*/
|
|
11
11
|
interface ColorSliderRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
|
|
12
12
|
/**
|
|
@@ -51,7 +51,7 @@ interface ColorSliderRootProps extends PrimitiveProps, FormFieldCommonProps, /**
|
|
|
51
51
|
step?: number;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Events for the ColorSliderRoot component.
|
|
55
55
|
*/
|
|
56
56
|
type ColorSliderRootEmits = {
|
|
57
57
|
/**
|
|
@@ -72,19 +72,19 @@ type ColorSliderRootEmits = {
|
|
|
72
72
|
changeEnd: [value: string];
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Properties for the ColorSliderTrack component.
|
|
76
76
|
*/
|
|
77
77
|
interface ColorSliderTrackProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Properties for the ColorSliderThumb component.
|
|
80
80
|
*/
|
|
81
81
|
interface ColorSliderThumbProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
82
82
|
/**
|
|
83
|
-
* Available UI slots for the
|
|
83
|
+
* Available UI slots for the ColorSlider component.
|
|
84
84
|
*/
|
|
85
85
|
type ColorSliderUiSlot = 'root' | 'track' | 'thumb';
|
|
86
86
|
/**
|
|
87
|
-
* UI class overrides for the
|
|
87
|
+
* UI class overrides for the ColorSlider component.
|
|
88
88
|
*/
|
|
89
89
|
type ColorSliderUi = UiClass<ColorSliderUiSlot>;
|
|
90
90
|
//#endregion
|
|
@@ -4,7 +4,7 @@ import { HTMLAttributes } from "vue";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/color-swatch/types.d.ts
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Properties for the ColorSwatch component.
|
|
8
8
|
*/
|
|
9
9
|
interface ColorSwatchProps extends PrimitiveProps, /** @vue-ignore */Omit<HTMLAttributes, 'color'> {
|
|
10
10
|
/**
|
|
@@ -7,8 +7,8 @@ import * as _$vue from "vue";
|
|
|
7
7
|
declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: _$vue.PublicProps & __VLS_PrettifyLocal<ColorSwatchPickerRootProps<M> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
10
|
-
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
11
10
|
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
11
|
+
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
12
12
|
onLeave?: ((event: Event) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -20,7 +20,7 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
|
|
|
20
20
|
modelValue: ((M extends true ? string[] : string) | undefined) & (M extends true ? string[] | undefined : string | undefined);
|
|
21
21
|
}) => any;
|
|
22
22
|
};
|
|
23
|
-
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
23
|
+
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void);
|
|
24
24
|
}>) => _$vue.VNode & {
|
|
25
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
26
|
};
|
|
@@ -5,27 +5,27 @@ import { ComputedRef, HTMLAttributes } from "vue";
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/color-swatch-picker/types.d.ts
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Properties for the ColorSwatchPickerRoot component.
|
|
9
9
|
*/
|
|
10
10
|
interface ColorSwatchPickerRootProps<M extends boolean = false> extends PrimitiveProps, ListboxRootProps<M> {}
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Events for the ColorSwatchPickerRoot component.
|
|
13
13
|
*/
|
|
14
14
|
type ColorSwatchPickerRootEmits<M extends boolean = false> = ListboxRootEmits<M>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Properties for the ColorSwatchPickerItem component.
|
|
17
17
|
*/
|
|
18
18
|
interface ColorSwatchPickerItemProps extends ListboxItemProps {}
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Events for the ColorSwatchPickerItem component.
|
|
21
21
|
*/
|
|
22
22
|
type ColorSwatchPickerItemEmits = ListboxItemEmits;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Properties for the ColorSwatchPickerItemIndicator component.
|
|
25
25
|
*/
|
|
26
26
|
interface ColorSwatchPickerItemIndicatorProps extends ListboxItemIndicatorProps {}
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Properties for the ColorSwatchPickerItemSwatch component.
|
|
29
29
|
*/
|
|
30
30
|
interface ColorSwatchPickerItemSwatchProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
31
31
|
/**
|
|
@@ -34,11 +34,11 @@ interface ColorSwatchPickerItemSwatchProps extends PrimitiveProps, /** @vue-igno
|
|
|
34
34
|
label?: string;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Available UI slots for the
|
|
37
|
+
* Available UI slots for the ColorSwatchPicker component.
|
|
38
38
|
*/
|
|
39
39
|
type ColorSwatchPickerUiSlot = 'root' | 'item' | 'itemIndicator' | 'swatch';
|
|
40
40
|
/**
|
|
41
|
-
* UI class overrides for the
|
|
41
|
+
* UI class overrides for the ColorSwatchPicker component.
|
|
42
42
|
*/
|
|
43
43
|
type ColorSwatchPickerUi = UiClass<ColorSwatchPickerUiSlot>;
|
|
44
44
|
//#endregion
|
|
@@ -9,7 +9,6 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
9
9
|
props: _$vue.PublicProps & __VLS_PrettifyLocal<ComboboxCompactProps<M> & {
|
|
10
10
|
onSelect?: ((event: SelectEvent<string>) => any) | undefined;
|
|
11
11
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
12
|
-
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
13
12
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
14
13
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
15
14
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
@@ -17,6 +16,7 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
17
16
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
18
17
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
18
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
+
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
20
20
|
onPlaced?: (() => any) | undefined;
|
|
21
21
|
}> & (typeof globalThis extends {
|
|
22
22
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -24,7 +24,7 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
24
24
|
expose: (exposed: {}) => void;
|
|
25
25
|
attrs: any;
|
|
26
26
|
slots: ComboboxCompactSlots<M>;
|
|
27
|
-
emit: ((evt: "select", event: SelectEvent<string>) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
27
|
+
emit: ((evt: "select", event: SelectEvent<string>) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "placed") => void);
|
|
28
28
|
}>) => _$vue.VNode & {
|
|
29
29
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
30
30
|
};
|
|
@@ -24,9 +24,9 @@ declare const __VLS_base: _$vue.DefineComponent<ComboboxContentProps, {}, {}, {}
|
|
|
24
24
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
25
25
|
onPlaced?: (() => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
position: "inline" | "popper";
|
|
28
27
|
avoidCollisions: boolean;
|
|
29
28
|
prioritizePosition: boolean;
|
|
29
|
+
position: "inline" | "popper";
|
|
30
30
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,8 +7,8 @@ import * as _$vue from "vue";
|
|
|
7
7
|
declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
8
8
|
props: _$vue.PublicProps & __VLS_PrettifyLocal<ComboboxRootProps<M> & {
|
|
9
9
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
10
|
-
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
11
10
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
11
|
+
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
12
12
|
}> & (typeof globalThis extends {
|
|
13
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
14
14
|
} ? P : {});
|
|
@@ -30,7 +30,7 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
30
30
|
modelValue: (M extends true ? string[] : string) | undefined;
|
|
31
31
|
}) => any;
|
|
32
32
|
};
|
|
33
|
-
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "
|
|
33
|
+
emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void);
|
|
34
34
|
}>) => _$vue.VNode & {
|
|
35
35
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
36
36
|
};
|
|
@@ -8,7 +8,7 @@ import { PortalProps } from "../portal/types.js";
|
|
|
8
8
|
import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
9
9
|
//#region src/components/combobox/types.d.ts
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Properties for the ComboboxRoot component.
|
|
12
12
|
*/
|
|
13
13
|
interface ComboboxRootProps<M extends boolean = false> extends Omit<ListboxRootProps<M>, 'orientation' | 'selectionBehavior'> {
|
|
14
14
|
/** The controlled open state of the Combobox. Can be bound with `v-model:open`. */
|
|
@@ -45,7 +45,7 @@ interface ComboboxRootProps<M extends boolean = false> extends Omit<ListboxRootP
|
|
|
45
45
|
resetModelValueOnClear?: boolean;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Events for the ComboboxRoot component.
|
|
49
49
|
*/
|
|
50
50
|
type ComboboxRootEmits<M extends boolean = false> = Pick<ListboxRootEmits<M>, 'update:modelValue' | 'highlight'> & {
|
|
51
51
|
/**
|
|
@@ -54,7 +54,7 @@ type ComboboxRootEmits<M extends boolean = false> = Pick<ListboxRootEmits<M>, 'u
|
|
|
54
54
|
'update:open': [value: boolean];
|
|
55
55
|
};
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Properties for the ComboboxTrigger component.
|
|
58
58
|
*/
|
|
59
59
|
interface ComboboxTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
60
60
|
/**
|
|
@@ -63,7 +63,7 @@ interface ComboboxTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAtt
|
|
|
63
63
|
disabled?: boolean;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Properties for the ComboboxContentImpl component.
|
|
67
67
|
*/
|
|
68
68
|
interface ComboboxContentImplProps extends PopperPositionerProps, TrapFocusProps, DismissableLayerProps, ForceMountProps {
|
|
69
69
|
/**
|
|
@@ -79,24 +79,24 @@ interface ComboboxContentImplProps extends PopperPositionerProps, TrapFocusProps
|
|
|
79
79
|
*/
|
|
80
80
|
hideWhenEmpty?: boolean;
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* Properties forwarded to the popup element.
|
|
83
83
|
*/
|
|
84
84
|
popupProps?: PopperPopupProps;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Events for the ComboboxContentImpl component.
|
|
88
88
|
*/
|
|
89
89
|
type ComboboxContentImplEmits = DismissableLayerEmits & FocusScopeEmits & PopperPositionerEmits;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Properties for the ComboboxContent component.
|
|
92
92
|
*/
|
|
93
93
|
interface ComboboxContentProps extends ComboboxContentImplProps {}
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Events for the ComboboxContent component.
|
|
96
96
|
*/
|
|
97
97
|
type ComboboxContentEmits = ComboboxContentImplEmits;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Properties for the ComboboxInput component.
|
|
100
100
|
*/
|
|
101
101
|
interface ComboboxInputProps extends ListboxFilterProps {
|
|
102
102
|
/**
|
|
@@ -105,11 +105,11 @@ interface ComboboxInputProps extends ListboxFilterProps {
|
|
|
105
105
|
displayValue?: (value: MaybeArray<string> | undefined) => string;
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Events for the ComboboxInput component.
|
|
109
109
|
*/
|
|
110
110
|
type ComboboxInputEmits = ListboxFilterEmits;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Properties for the ComboboxViewport component.
|
|
113
113
|
*/
|
|
114
114
|
interface ComboboxViewportProps extends /** @vue-ignore */HTMLAttributes {
|
|
115
115
|
/**
|
|
@@ -118,7 +118,7 @@ interface ComboboxViewportProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
118
118
|
nonce?: string;
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* Properties for the ComboboxItem component.
|
|
122
122
|
*/
|
|
123
123
|
interface ComboboxItemProps extends ListboxItemProps {
|
|
124
124
|
/**
|
|
@@ -127,19 +127,19 @@ interface ComboboxItemProps extends ListboxItemProps {
|
|
|
127
127
|
textValue?: string;
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
|
-
*
|
|
130
|
+
* Events for the ComboboxItem component.
|
|
131
131
|
*/
|
|
132
132
|
type ComboboxItemEmits = ListboxItemEmits;
|
|
133
133
|
/**
|
|
134
|
-
*
|
|
134
|
+
* Properties for the ComboboxEmpty component.
|
|
135
135
|
*/
|
|
136
136
|
interface ComboboxEmptyProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* Properties for the ComboboxSeparator component.
|
|
139
139
|
*/
|
|
140
140
|
interface ComboboxSeparatorProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
142
|
+
* Properties for the ComboboxCancel component.
|
|
143
143
|
*/
|
|
144
144
|
interface ComboboxCancelProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
145
145
|
/**
|
|
@@ -148,11 +148,11 @@ interface ComboboxCancelProps extends PrimitiveProps, /** @vue-ignore */HTMLAttr
|
|
|
148
148
|
disabled?: boolean;
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* Properties for the ComboboxVirtualizer component.
|
|
152
152
|
*/
|
|
153
153
|
interface ComboboxVirtualizerProps extends ListboxVirtualizerProps {}
|
|
154
154
|
/**
|
|
155
|
-
* Option data for the
|
|
155
|
+
* Option data for the ComboboxSingle component.
|
|
156
156
|
*/
|
|
157
157
|
interface ComboboxSingleOptionData extends Pick<ComboboxItemProps, 'disabled' | 'textValue'> {
|
|
158
158
|
/**
|
|
@@ -173,7 +173,7 @@ interface ComboboxSingleOptionData extends Pick<ComboboxItemProps, 'disabled' |
|
|
|
173
173
|
separator?: boolean;
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
|
-
* Option data for the
|
|
176
|
+
* Option data for the ComboboxGroup component.
|
|
177
177
|
*/
|
|
178
178
|
interface ComboboxGroupOptionData extends Pick<ComboboxSingleOptionData, 'label' | 'separator'> {
|
|
179
179
|
/**
|
|
@@ -182,11 +182,11 @@ interface ComboboxGroupOptionData extends Pick<ComboboxSingleOptionData, 'label'
|
|
|
182
182
|
items: ComboboxSingleOptionData[];
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
|
-
* Option data for the
|
|
185
|
+
* Option data for the Combobox component.
|
|
186
186
|
*/
|
|
187
187
|
type ComboboxOptionData = ComboboxSingleOptionData | ComboboxGroupOptionData;
|
|
188
188
|
/**
|
|
189
|
-
*
|
|
189
|
+
* Properties for the ComboboxCompact component.
|
|
190
190
|
*/
|
|
191
191
|
interface ComboboxCompactProps<M extends boolean = false> extends ComboboxRootProps<M> {
|
|
192
192
|
/**
|
|
@@ -210,65 +210,65 @@ interface ComboboxCompactProps<M extends boolean = false> extends ComboboxRootPr
|
|
|
210
210
|
*/
|
|
211
211
|
emptyLabel?: string;
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* Properties forwarded to the anchor element.
|
|
214
214
|
*/
|
|
215
215
|
anchorProps?: PopperAnchorProps;
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Properties forwarded to the trigger element.
|
|
218
218
|
*/
|
|
219
219
|
triggerProps?: ComboboxTriggerProps;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* Properties forwarded to the cancel element.
|
|
222
222
|
*/
|
|
223
223
|
cancelProps?: ComboboxCancelProps;
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* Properties forwarded to the portal element.
|
|
226
226
|
*/
|
|
227
227
|
portalProps?: PortalProps;
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
229
|
+
* Properties forwarded to the content element.
|
|
230
230
|
*/
|
|
231
231
|
contentProps?: ComboboxContentProps;
|
|
232
232
|
/**
|
|
233
|
-
*
|
|
233
|
+
* Properties forwarded to the viewport element.
|
|
234
234
|
*/
|
|
235
235
|
viewportProps?: ComboboxViewportProps;
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Properties forwarded to the input element.
|
|
238
238
|
*/
|
|
239
239
|
inputProps?: ComboboxInputProps;
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* Properties forwarded to the empty element.
|
|
242
242
|
*/
|
|
243
243
|
emptyProps?: ComboboxEmptyProps;
|
|
244
244
|
/**
|
|
245
|
-
*
|
|
245
|
+
* Properties forwarded to the group element.
|
|
246
246
|
*/
|
|
247
247
|
groupProps?: ListboxGroupProps;
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
249
|
+
* Properties forwarded to the group label element.
|
|
250
250
|
*/
|
|
251
251
|
groupLabelProps?: ListboxGroupLabelProps;
|
|
252
252
|
/**
|
|
253
|
-
*
|
|
253
|
+
* Properties forwarded to the item element.
|
|
254
254
|
*/
|
|
255
255
|
itemProps?: ComboboxItemProps;
|
|
256
256
|
/**
|
|
257
|
-
*
|
|
257
|
+
* Properties forwarded to the item indicator element.
|
|
258
258
|
*/
|
|
259
259
|
itemIndicatorProps?: ListboxItemIndicatorProps;
|
|
260
260
|
/**
|
|
261
|
-
*
|
|
261
|
+
* Properties forwarded to the separator element.
|
|
262
262
|
*/
|
|
263
263
|
separatorProps?: ComboboxSeparatorProps;
|
|
264
264
|
}
|
|
265
265
|
/**
|
|
266
|
-
*
|
|
266
|
+
* Events for the ComboboxCompact component.
|
|
267
267
|
*/
|
|
268
268
|
type ComboboxCompactEmits<M extends boolean = false> = ComboboxRootEmits<M> & ComboboxContentEmits & ComboboxItemEmits;
|
|
269
269
|
type ComboboxCompactModelValue<M extends boolean = false> = (M extends true ? string[] : string) | undefined;
|
|
270
270
|
/**
|
|
271
|
-
* Slot
|
|
271
|
+
* Slot properties for the ComboboxCompactTriggerValue component.
|
|
272
272
|
*/
|
|
273
273
|
interface ComboboxCompactTriggerValueSlotProps<M extends boolean = false> {
|
|
274
274
|
/**
|
|
@@ -285,7 +285,7 @@ interface ComboboxCompactTriggerValueSlotProps<M extends boolean = false> {
|
|
|
285
285
|
slotText: string | undefined;
|
|
286
286
|
}
|
|
287
287
|
/**
|
|
288
|
-
* Slot
|
|
288
|
+
* Slot properties for the ComboboxCompactInput component.
|
|
289
289
|
*/
|
|
290
290
|
interface ComboboxCompactInputSlotProps {
|
|
291
291
|
/**
|
|
@@ -294,7 +294,7 @@ interface ComboboxCompactInputSlotProps {
|
|
|
294
294
|
clear: () => void;
|
|
295
295
|
}
|
|
296
296
|
/**
|
|
297
|
-
* Slot
|
|
297
|
+
* Slot properties for the ComboboxCompactGroupLabel component.
|
|
298
298
|
*/
|
|
299
299
|
interface ComboboxCompactGroupLabelSlotProps {
|
|
300
300
|
/**
|
|
@@ -303,7 +303,7 @@ interface ComboboxCompactGroupLabelSlotProps {
|
|
|
303
303
|
item: ComboboxGroupOptionData;
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
|
-
* Slot
|
|
306
|
+
* Slot properties for the ComboboxCompactItem component.
|
|
307
307
|
*/
|
|
308
308
|
interface ComboboxCompactItemSlotProps {
|
|
309
309
|
/**
|
|
@@ -312,7 +312,7 @@ interface ComboboxCompactItemSlotProps {
|
|
|
312
312
|
item: ComboboxSingleOptionData;
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
|
-
* Slots for the
|
|
315
|
+
* Slots for the ComboboxCompact component.
|
|
316
316
|
*/
|
|
317
317
|
type ComboboxCompactSlots<M extends boolean = false> = {
|
|
318
318
|
/**
|
|
@@ -365,11 +365,11 @@ type ComboboxCompactSlots<M extends boolean = false> = {
|
|
|
365
365
|
'item-indicator'?: (props: ComboboxCompactItemSlotProps) => any;
|
|
366
366
|
};
|
|
367
367
|
/**
|
|
368
|
-
* Available UI slots for the
|
|
368
|
+
* Available UI slots for the Combobox component.
|
|
369
369
|
*/
|
|
370
370
|
type ComboboxUiSlot = PopperUiSlot | 'root' | 'trigger' | 'triggerIcon' | 'cancel' | 'viewport' | 'inputRoot' | 'inputControl' | 'group' | 'groupLabel' | 'item' | 'itemIndicator' | 'empty' | 'separator' | 'virtualizer';
|
|
371
371
|
/**
|
|
372
|
-
* UI class overrides for the
|
|
372
|
+
* UI class overrides for the Combobox component.
|
|
373
373
|
*/
|
|
374
374
|
type ComboboxUi = UiClass<ComboboxUiSlot>;
|
|
375
375
|
//#endregion
|