@soybeanjs/headless 0.0.19 → 0.0.20
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/components/accordion/accordion-content.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
- package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
- package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
- package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
- package/dist/components/accordion/context.d.ts +2 -2
- package/dist/components/accordion/context.js +1 -1
- package/dist/components/alert/alert-close.vue.d.ts +2 -2
- package/dist/components/alert/alert-content.vue.d.ts +2 -2
- package/dist/components/alert/alert-description.vue.d.ts +2 -2
- package/dist/components/alert/alert-root.vue.d.ts +4 -4
- package/dist/components/alert/alert-title.vue.d.ts +2 -2
- package/dist/components/alert/context.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
- package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
- package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
- package/dist/components/arrow/arrow.vue.d.ts +2 -2
- package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
- package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
- package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
- package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
- package/dist/components/avatar/context.d.ts +2 -2
- package/dist/components/badge/badge-content.vue.d.ts +2 -2
- package/dist/components/badge/badge-root.vue.d.ts +4 -4
- package/dist/components/badge/context.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
- package/dist/components/breadcrumb/context.d.ts +2 -2
- package/dist/components/button/button.vue.d.ts +5 -5
- package/dist/components/card/card-content.vue.d.ts +2 -2
- package/dist/components/card/card-description.vue.d.ts +2 -2
- package/dist/components/card/card-footer.vue.d.ts +2 -2
- package/dist/components/card/card-header.vue.d.ts +2 -2
- package/dist/components/card/card-root.vue.d.ts +2 -2
- package/dist/components/card/card-title-root.vue.d.ts +2 -2
- package/dist/components/card/card-title.vue.d.ts +2 -2
- package/dist/components/card/context.d.ts +2 -2
- package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
- package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
- package/dist/components/checkbox/context.d.ts +2 -2
- package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
- package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
- package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
- package/dist/components/collapsible/context.d.ts +2 -2
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +4 -6
- package/dist/components/config-provider/context.js +1 -1
- package/dist/components/config-provider/types.d.ts +1 -9
- package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
- package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
- package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
- package/dist/components/context-menu/context.js +1 -1
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
- package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
- package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/context.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +4 -4
- package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
- package/dist/components/form/context.d.ts +2 -2
- package/dist/components/form/form-description.vue.d.ts +2 -2
- package/dist/components/form/form-error.vue.d.ts +2 -2
- package/dist/components/form/form-field.vue.d.ts +2 -2
- package/dist/components/form/form-label.vue.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/input-control.vue.d.ts +2 -2
- package/dist/components/input/input-root.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +2 -2
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/context.d.ts +2 -2
- package/dist/components/layout/layout-footer.vue.d.ts +2 -2
- package/dist/components/layout/layout-header.vue.d.ts +2 -2
- package/dist/components/layout/layout-main.vue.d.ts +2 -2
- package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
- package/dist/components/layout/layout-rail.vue.d.ts +2 -2
- package/dist/components/layout/layout-root.vue.d.ts +4 -4
- package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
- package/dist/components/layout/layout-tab.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/link/link.js +1 -1
- package/dist/components/link/link.vue.d.ts +10 -12
- package/dist/components/list/context.d.ts +2 -2
- package/dist/components/list/list-content.vue.d.ts +2 -2
- package/dist/components/list/list-description.vue.d.ts +2 -2
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list-root.vue.d.ts +2 -2
- package/dist/components/list/list-title.vue.d.ts +2 -2
- package/dist/components/listbox/context.d.ts +2 -2
- package/dist/components/listbox/context.js +1 -1
- package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
- package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
- package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
- package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
- package/dist/components/listbox/listbox-root.vue.d.ts +5 -5
- package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/context.js +1 -1
- package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
- package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-content.vue.d.ts +8 -8
- package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
- package/dist/components/menu/menu-group.vue.d.ts +2 -2
- package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
- package/dist/components/menu/menu-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
- package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
- package/dist/components/menu/menu-root.vue.d.ts +4 -4
- package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
- package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub.vue.d.ts +4 -4
- package/dist/components/navigation-menu/context.d.ts +2 -2
- package/dist/components/navigation-menu/context.js +1 -1
- package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
- package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
- package/dist/components/number-input/context.d.ts +2 -2
- package/dist/components/number-input/context.js +1 -1
- package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
- package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
- package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
- package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
- package/dist/components/popover/popover-close.vue.d.ts +4 -4
- package/dist/components/popover/popover-popup.vue.d.ts +2 -2
- package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
- package/dist/components/popover/popover-root.vue.d.ts +4 -4
- package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
- package/dist/components/popper/context.d.ts +2 -2
- package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
- package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
- package/dist/components/popper/popper-popup.vue.d.ts +2 -2
- package/dist/components/popper/popper-positioner.vue.d.ts +48 -48
- package/dist/components/popper/popper-root.vue.d.ts +2 -2
- package/dist/components/portal/portal.vue.d.ts +3 -3
- package/dist/components/primitive/primitive.d.ts +2 -2
- package/dist/components/radio-group/context.d.ts +2 -2
- package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
- package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
- package/dist/components/roving-focus/context.js +1 -1
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
- package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
- package/dist/components/select/context.d.ts +2 -2
- package/dist/components/select/context.js +1 -1
- package/dist/components/select/select-arrow.vue.d.ts +2 -2
- package/dist/components/select/select-content.vue.d.ts +6 -6
- package/dist/components/select/select-group-label.vue.d.ts +2 -2
- package/dist/components/select/select-group.vue.d.ts +2 -2
- package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
- package/dist/components/select/select-item-text.vue.d.ts +2 -2
- package/dist/components/select/select-item.vue.d.ts +4 -4
- package/dist/components/select/select-root.vue.d.ts +3 -3
- package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
- package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
- package/dist/components/select/select-separator.vue.d.ts +2 -2
- package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
- package/dist/components/select/select-trigger.vue.d.ts +4 -4
- package/dist/components/select/select-value.vue.d.ts +3 -3
- package/dist/components/select/select-viewport.js +1 -1
- package/dist/components/select/select-viewport.vue.d.ts +2 -2
- package/dist/components/separator/context.d.ts +2 -2
- package/dist/components/separator/separator-label.vue.d.ts +2 -2
- package/dist/components/separator/separator-root.vue.d.ts +3 -3
- package/dist/components/slot/slot.d.ts +2 -2
- package/dist/components/switch/context.d.ts +2 -2
- package/dist/components/switch/switch-control.vue.d.ts +2 -2
- package/dist/components/switch/switch-root.vue.d.ts +3 -3
- package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
- package/dist/components/tabs/context.d.ts +2 -2
- package/dist/components/tabs/context.js +1 -1
- package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +6 -6
- package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/context.d.ts +2 -2
- package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
- package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
- package/dist/components/toast/toast-action.vue.d.ts +4 -4
- package/dist/components/toast/toast-close.vue.d.ts +4 -4
- package/dist/components/toast/toast-description.vue.d.ts +2 -2
- package/dist/components/toast/toast-provider.vue.d.ts +3 -3
- package/dist/components/toast/toast-root.vue.d.ts +5 -5
- package/dist/components/toast/toast-title.vue.d.ts +2 -2
- package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
- package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
- package/dist/components/tree/context.js +1 -1
- package/dist/components/tree/tree-item.vue.d.ts +5 -5
- package/dist/components/tree/tree-root.vue.d.ts +3 -3
- package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
- package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
- package/dist/components/tree-menu/context.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
- package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
- package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
- package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
- package/dist/components/visually-hidden/types.d.ts +3 -3
- package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +6 -14
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
- package/dist/composables/index.d.ts +1 -4
- package/dist/composables/index.js +1 -1
- package/dist/composables/use-collection.d.ts +6 -6
- package/dist/composables/use-dismissable-layer.d.ts +2 -2
- package/dist/composables/use-exposed-element.d.ts +2 -2
- package/dist/composables/use-forward-element.d.ts +2 -2
- package/dist/composables/use-image-loading-status.d.ts +2 -2
- package/dist/composables/use-is-using-keyboard.d.ts +2 -2
- package/dist/composables/use-kbd.d.ts +2 -2
- package/dist/composables/use-presence.d.ts +2 -2
- package/dist/composables/use-props.d.ts +3 -3
- package/dist/composables/use-selection.d.ts +4 -4
- package/dist/types/common.d.ts +1 -9
- package/dist/types/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/composables/use-direction.d.ts +0 -9
- package/dist/composables/use-direction.js +0 -1
- package/dist/composables/use-locale.d.ts +0 -7
- package/dist/composables/use-locale.js +0 -1
- package/dist/composables/use-nonce.d.ts +0 -7
- package/dist/composables/use-nonce.js +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { TreeMenuSubProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue1029 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tree-menu/tree-menu-sub.vue.d.ts
|
|
7
7
|
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
13
|
-
}, {}, {}, {}, string,
|
|
11
|
+
declare const __VLS_base: vue1029.DefineComponent<TreeMenuSubProps, {}, {}, {}, {}, vue1029.ComponentOptionsMixin, vue1029.ComponentOptionsMixin, {}, string, vue1029.PublicProps, Readonly<TreeMenuSubProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue1029.Component;
|
|
13
|
+
}, {}, {}, {}, string, vue1029.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VirtualizerContentProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue162 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/virtualizer/virtualizer-content.vue.d.ts
|
|
5
5
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
} & {
|
|
9
9
|
default?: (props: typeof __VLS_3) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
11
|
+
declare const __VLS_base: vue162.DefineComponent<VirtualizerContentProps, {}, {}, {}, {}, vue162.ComponentOptionsMixin, vue162.ComponentOptionsMixin, {}, string, vue162.PublicProps, Readonly<VirtualizerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue162.ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VirtualizerItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue167 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/virtualizer/virtualizer-item.vue.d.ts
|
|
5
5
|
declare var __VLS_8: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
7
|
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_base:
|
|
9
|
+
declare const __VLS_base: vue167.DefineComponent<VirtualizerItemProps, {}, {}, {}, {}, vue167.ComponentOptionsMixin, vue167.ComponentOptionsMixin, {}, string, vue167.PublicProps, Readonly<VirtualizerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue167.ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { VirtualizerRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue172 from "vue";
|
|
3
3
|
import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
|
|
4
4
|
|
|
5
5
|
//#region src/components/virtualizer/virtualizer-root.vue.d.ts
|
|
6
6
|
declare const __VLS_export: <T extends Record<string, any>>(__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<{
|
|
7
|
-
props:
|
|
7
|
+
props: vue172.PublicProps & __VLS_PrettifyLocal<VirtualizerRootProps<T>> & (typeof globalThis extends {
|
|
8
8
|
__VLS_PROPS_FALLBACK: infer P;
|
|
9
9
|
} ? P : {});
|
|
10
10
|
expose: (exposed: {}) => void;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNull
|
|
|
16
16
|
}) => any;
|
|
17
17
|
};
|
|
18
18
|
emit: {};
|
|
19
|
-
}>) =>
|
|
19
|
+
}>) => vue172.VNode & {
|
|
20
20
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
21
|
};
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PrimitiveProps } from "../primitive/types.js";
|
|
2
|
-
import { HTMLAttributes
|
|
2
|
+
import { HTMLAttributes } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/visually-hidden/types.d.ts
|
|
5
5
|
type VisuallyHiddenFeature = 'focusable' | 'fully-hidden';
|
|
6
6
|
interface VisuallyHiddenProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
7
7
|
feature?: VisuallyHiddenFeature;
|
|
8
8
|
}
|
|
9
|
-
interface VisuallyHiddenInputProps
|
|
9
|
+
interface VisuallyHiddenInputProps {
|
|
10
10
|
name: string;
|
|
11
|
-
value:
|
|
11
|
+
value: any;
|
|
12
12
|
checked?: boolean;
|
|
13
13
|
required?: boolean;
|
|
14
14
|
disabled?: boolean;
|
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
import { VisuallyHiddenInputProps } from "./types.js";
|
|
2
|
-
import * as
|
|
1
|
+
import { VisuallyHiddenFeature, VisuallyHiddenInputProps } from "./types.js";
|
|
2
|
+
import * as vue200 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/visually-hidden/visually-hidden-input.vue.d.ts
|
|
5
|
-
declare const __VLS_export: <
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
expose: (exposed: {}) => void;
|
|
10
|
-
attrs: any;
|
|
11
|
-
slots: {};
|
|
12
|
-
emit: {};
|
|
13
|
-
}>) => vue1764.VNode & {
|
|
14
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
15
|
-
};
|
|
5
|
+
declare const __VLS_export: vue200.DefineComponent<VisuallyHiddenInputProps, {}, {}, {}, {}, vue200.ComponentOptionsMixin, vue200.ComponentOptionsMixin, {}, string, vue200.PublicProps, Readonly<VisuallyHiddenInputProps> & Readonly<{}>, {
|
|
6
|
+
checked: boolean;
|
|
7
|
+
feature: VisuallyHiddenFeature;
|
|
8
|
+
}, {}, {}, {}, string, vue200.ComponentProvideOptions, false, {}, any>;
|
|
16
9
|
declare const _default: typeof __VLS_export;
|
|
17
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
18
10
|
//#endregion
|
|
19
11
|
export { _default };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { AsTag } from "../primitive/types.js";
|
|
2
2
|
import "../primitive/index.js";
|
|
3
3
|
import { VisuallyHiddenFeature, VisuallyHiddenProps } from "./types.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue194 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/visually-hidden/visually-hidden.vue.d.ts
|
|
7
7
|
declare var __VLS_8: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_8) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base:
|
|
12
|
-
as: AsTag |
|
|
11
|
+
declare const __VLS_base: vue194.DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, vue194.ComponentOptionsMixin, vue194.ComponentOptionsMixin, {}, string, vue194.PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
|
|
12
|
+
as: AsTag | vue194.Component;
|
|
13
13
|
feature: VisuallyHiddenFeature;
|
|
14
|
-
}, {}, {}, {}, string,
|
|
14
|
+
}, {}, {}, {}, string, vue194.ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3,7 +3,6 @@ import { useBodyScrollLock } from "./use-body-scroll-lock.js";
|
|
|
3
3
|
import { CollectionItemData, useCollection } from "./use-collection.js";
|
|
4
4
|
import { useContext } from "./use-context.js";
|
|
5
5
|
import { useControllableState } from "./use-controllable-state.js";
|
|
6
|
-
import { useDirection } from "./use-direction.js";
|
|
7
6
|
import { UseDismissableLayerOptions, useDismissableLayer, useDismissableLayerBranch, useFocusOutside, usePointerdownOutside } from "./use-dismissable-layer.js";
|
|
8
7
|
import { useEscapeKeyDown } from "./use-escape-key-down.js";
|
|
9
8
|
import { useExposedElement } from "./use-exposed-element.js";
|
|
@@ -17,8 +16,6 @@ import { useHideOthers } from "./use-hide-others.js";
|
|
|
17
16
|
import { useImageLoadingStatus } from "./use-image-loading-status.js";
|
|
18
17
|
import { useIsUsingKeyboard } from "./use-is-using-keyboard.js";
|
|
19
18
|
import { kbdMap, useKbd } from "./use-kbd.js";
|
|
20
|
-
import { useLocale } from "./use-locale.js";
|
|
21
|
-
import { useNonce } from "./use-nonce.js";
|
|
22
19
|
import { UsePopupEventsOptions, usePopupEvents } from "./use-popup-events.js";
|
|
23
20
|
import { usePresence } from "./use-presence.js";
|
|
24
21
|
import { useOmitProps, usePickProps } from "./use-props.js";
|
|
@@ -26,4 +23,4 @@ import { useSelection } from "./use-selection.js";
|
|
|
26
23
|
import { useStateMachine } from "./use-state-machine.js";
|
|
27
24
|
import { useTypeahead } from "./use-typeahead.js";
|
|
28
25
|
import { useUiContext } from "./use-ui-context.js";
|
|
29
|
-
export { CollectionItemData, UseDismissableLayerOptions, UseFloatingOptions, UseFloatingReturn, UseFocusScopeOptions, UseGraceAreaOptions, UsePopupEventsOptions, kbdMap, useArrowNavigation, useBodyScrollLock, useCollection, useContext, useControllableState,
|
|
26
|
+
export { CollectionItemData, UseDismissableLayerOptions, UseFloatingOptions, UseFloatingReturn, UseFocusScopeOptions, UseGraceAreaOptions, UsePopupEventsOptions, kbdMap, useArrowNavigation, useBodyScrollLock, useCollection, useContext, useControllableState, useDismissableLayer, useDismissableLayerBranch, useEscapeKeyDown, useExposedElement, useFloating, useFocusGuards, useFocusOutside, useFocusScope, useForwardElement, useForwardListeners, useGraceArea, useHideOthers, useImageLoadingStatus, useIsUsingKeyboard, useKbd, useOmitProps, usePickProps, usePointerdownOutside, usePopupEvents, usePresence, useSelection, useStateMachine, useTypeahead, useUiContext };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useArrowNavigation as e}from"./use-arrow-navigation.js";import{useBodyScrollLock as t}from"./use-body-scroll-lock.js";import{useContext as n}from"./use-context.js";import{useCollection as r}from"./use-collection.js";import{useControllableState as i}from"./use-controllable-state.js";import{
|
|
1
|
+
import{useArrowNavigation as e}from"./use-arrow-navigation.js";import{useBodyScrollLock as t}from"./use-body-scroll-lock.js";import{useContext as n}from"./use-context.js";import{useCollection as r}from"./use-collection.js";import{useControllableState as i}from"./use-controllable-state.js";import{useEscapeKeyDown as a}from"./use-escape-key-down.js";import{useDismissableLayer as o,useDismissableLayerBranch as s,useFocusOutside as c,usePointerdownOutside as l}from"./use-dismissable-layer.js";import{useForwardElement as u}from"./use-forward-element.js";import{useExposedElement as d}from"./use-exposed-element.js";import{useFloating as f}from"./use-floating.js";import{useFocusGuards as p}from"./use-focus-guards.js";import{useFocusScope as m}from"./use-focus-scope.js";import{useForwardListeners as h}from"./use-forward-listeners.js";import{useGraceArea as g}from"./use-grace-area.js";import{useHideOthers as _}from"./use-hide-others.js";import{useImageLoadingStatus as v}from"./use-image-loading-status.js";import{useIsUsingKeyboard as y}from"./use-is-using-keyboard.js";import{kbdMap as b,useKbd as x}from"./use-kbd.js";import{usePopupEvents as S}from"./use-popup-events.js";import{useStateMachine as C}from"./use-state-machine.js";import{usePresence as w}from"./use-presence.js";import{useOmitProps as T,usePickProps as E}from"./use-props.js";import{useSelection as D}from"./use-selection.js";import{useTypeahead as O}from"./use-typeahead.js";import{useUiContext as k}from"./use-ui-context.js";export{b as kbdMap,e as useArrowNavigation,t as useBodyScrollLock,r as useCollection,n as useContext,i as useControllableState,o as useDismissableLayer,s as useDismissableLayerBranch,a as useEscapeKeyDown,d as useExposedElement,f as useFloating,p as useFocusGuards,c as useFocusOutside,m as useFocusScope,u as useForwardElement,h as useForwardListeners,g as useGraceArea,_ as useHideOthers,v as useImageLoadingStatus,y as useIsUsingKeyboard,x as useKbd,T as useOmitProps,E as usePickProps,l as usePointerdownOutside,S as usePopupEvents,w as usePresence,D as useSelection,C as useStateMachine,O as useTypeahead,k as useUiContext};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNodeRef } from "../types/vue.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue18 from "vue";
|
|
4
4
|
import { MaybeRefOrGetter, Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/composables/use-collection.d.ts
|
|
@@ -16,33 +16,33 @@ interface CollectionItemData<ItemData = Record<string, any>> {
|
|
|
16
16
|
*/
|
|
17
17
|
declare function useCollection<ItemData = Record<string, any>>(collectionName: string): {
|
|
18
18
|
provideCollectionContext: () => {
|
|
19
|
-
containerElement:
|
|
19
|
+
containerElement: vue18.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
20
20
|
onContainerElementChange: (element: HTMLElement) => void;
|
|
21
21
|
itemRegistry: Ref<Map<HTMLElement, CollectionItemData<ItemData>>, Map<HTMLElement, CollectionItemData<ItemData>>>;
|
|
22
22
|
getOrderedItems: (excludeDisabled?: boolean) => CollectionItemData<ItemData>[];
|
|
23
23
|
getOrderedElements: (excludeDisabled?: boolean) => HTMLElement[];
|
|
24
24
|
};
|
|
25
25
|
useCollectionContext: <N extends string | null | undefined = undefined>(consumerName?: N | undefined, defaultValue?: {
|
|
26
|
-
containerElement:
|
|
26
|
+
containerElement: vue18.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
27
27
|
onContainerElementChange: (element: HTMLElement) => void;
|
|
28
28
|
itemRegistry: Ref<Map<HTMLElement, CollectionItemData<ItemData>>, Map<HTMLElement, CollectionItemData<ItemData>>>;
|
|
29
29
|
getOrderedItems: (excludeDisabled?: boolean) => CollectionItemData<ItemData>[];
|
|
30
30
|
getOrderedElements: (excludeDisabled?: boolean) => HTMLElement[];
|
|
31
31
|
} | undefined) => N extends null | undefined ? {
|
|
32
|
-
containerElement:
|
|
32
|
+
containerElement: vue18.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
33
33
|
onContainerElementChange: (element: HTMLElement) => void;
|
|
34
34
|
itemRegistry: Ref<Map<HTMLElement, CollectionItemData<ItemData>>, Map<HTMLElement, CollectionItemData<ItemData>>>;
|
|
35
35
|
getOrderedItems: (excludeDisabled?: boolean) => CollectionItemData<ItemData>[];
|
|
36
36
|
getOrderedElements: (excludeDisabled?: boolean) => HTMLElement[];
|
|
37
37
|
} | null : {
|
|
38
|
-
containerElement:
|
|
38
|
+
containerElement: vue18.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
39
39
|
onContainerElementChange: (element: HTMLElement) => void;
|
|
40
40
|
itemRegistry: Ref<Map<HTMLElement, CollectionItemData<ItemData>>, Map<HTMLElement, CollectionItemData<ItemData>>>;
|
|
41
41
|
getOrderedItems: (excludeDisabled?: boolean) => CollectionItemData<ItemData>[];
|
|
42
42
|
getOrderedElements: (excludeDisabled?: boolean) => HTMLElement[];
|
|
43
43
|
};
|
|
44
44
|
useCollectionItem: (itemData?: MaybeRefOrGetter<ItemData>) => {
|
|
45
|
-
itemElement:
|
|
45
|
+
itemElement: vue18.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
|
|
46
46
|
onItemElementChange: (element: HTMLElement) => void;
|
|
47
47
|
setItemElement: (nodeRef: VNodeRef) => void;
|
|
48
48
|
itemProps: {
|
|
@@ -2,7 +2,7 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../types/event.js";
|
|
|
2
2
|
import { DismissableLayerEmits } from "../types/component.js";
|
|
3
3
|
import { EmitsToHookProps } from "../types/vue.js";
|
|
4
4
|
import "../types/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue25 from "vue";
|
|
6
6
|
import { MaybeRefOrGetter, ShallowRef } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/composables/use-dismissable-layer.d.ts
|
|
@@ -24,7 +24,7 @@ interface UseDismissableLayerOptions extends EmitsToHookProps<DismissableLayerEm
|
|
|
24
24
|
* @returns Properties and handlers for the dismissable layer
|
|
25
25
|
*/
|
|
26
26
|
declare function useDismissableLayer(layerElement: ShallowRef<HTMLElement | undefined>, options?: UseDismissableLayerOptions): {
|
|
27
|
-
pointerEvents:
|
|
27
|
+
pointerEvents: vue25.ComputedRef<"auto" | "none" | undefined>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Composable for creating dismissable layer branches that don't trigger dismissal
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VNodeRef } from "../types/vue.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue28 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/use-exposed-element.d.ts
|
|
6
6
|
/** Expose the element ref to the parent component. */
|
|
7
|
-
declare function useExposedElement(callback?: (el: HTMLElement) => void): readonly [
|
|
7
|
+
declare function useExposedElement(callback?: (el: HTMLElement) => void): readonly [vue28.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>, (nodeRef: VNodeRef) => void];
|
|
8
8
|
//#endregion
|
|
9
9
|
export { useExposedElement };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNodeRef } from "../types/vue.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue24 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/use-forward-element.d.ts
|
|
6
6
|
|
|
@@ -9,6 +9,6 @@ import * as vue8 from "vue";
|
|
|
9
9
|
*
|
|
10
10
|
* @returns An object containing the element reference and a function to set the element reference.
|
|
11
11
|
*/
|
|
12
|
-
declare function useForwardElement<T extends HTMLElement = HTMLElement>(callback?: (el: T) => void): readonly [
|
|
12
|
+
declare function useForwardElement<T extends HTMLElement = HTMLElement>(callback?: (el: T) => void): readonly [vue24.ShallowRef<T | undefined, T | undefined>, (nodeRef: VNodeRef) => void];
|
|
13
13
|
//#endregion
|
|
14
14
|
export { useForwardElement };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ImageLoadingStatus } from "../types/dom.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue23 from "vue";
|
|
4
4
|
import { ImgHTMLAttributes, MaybeRefOrGetter } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/composables/use-image-loading-status.d.ts
|
|
@@ -15,6 +15,6 @@ interface ImageLoadingOptions {
|
|
|
15
15
|
* @param options - Additional image loading options
|
|
16
16
|
* @returns Reactive loading status
|
|
17
17
|
*/
|
|
18
|
-
declare function useImageLoadingStatus(options: ImageLoadingOptions):
|
|
18
|
+
declare function useImageLoadingStatus(options: ImageLoadingOptions): vue23.ShallowRef<ImageLoadingStatus, ImageLoadingStatus>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { useImageLoadingStatus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue27 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/composables/use-is-using-keyboard.d.ts
|
|
4
|
-
declare function useIsUsingKeyboard():
|
|
4
|
+
declare function useIsUsingKeyboard(): vue27.ComputedRef<boolean>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { useIsUsingKeyboard };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { KbdKey } from "../types/common.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue29 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/use-kbd.d.ts
|
|
6
6
|
declare const kbdMap: Record<KbdKey, string>;
|
|
7
7
|
declare function useKbdKey(): {
|
|
8
|
-
macOS:
|
|
8
|
+
macOS: vue29.ComputedRef<"" | RegExpMatchArray | null>;
|
|
9
9
|
getKeyboardKey: (value?: KbdKey | (string & {})) => string | undefined;
|
|
10
10
|
};
|
|
11
11
|
declare const useKbd: typeof useKbdKey;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue26 from "vue";
|
|
2
2
|
import { MaybeRefOrGetter, Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/use-presence.d.ts
|
|
5
|
-
declare function usePresence(elRef: Ref<HTMLElement | null | undefined>, present: MaybeRefOrGetter<boolean | undefined>, onChange?: (value: boolean) => void):
|
|
5
|
+
declare function usePresence(elRef: Ref<HTMLElement | null | undefined>, present: MaybeRefOrGetter<boolean | undefined>, onChange?: (value: boolean) => void): vue26.ComputedRef<boolean>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { usePresence };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue30 from "vue";
|
|
2
2
|
import { MaybeRefOrGetter } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/use-props.d.ts
|
|
5
|
-
declare function usePickProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]):
|
|
6
|
-
declare function useOmitProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]):
|
|
5
|
+
declare function usePickProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]): vue30.ComputedRef<Pick<T, K>>;
|
|
6
|
+
declare function useOmitProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]): vue30.ComputedRef<Omit<T, K>>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { useOmitProps, usePickProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DefinedValue, SelectionProps } from "../types/common.js";
|
|
2
2
|
import "../types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue32 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/use-selection.d.ts
|
|
6
6
|
declare function useSelection<M extends boolean = false, N extends DefinedValue = string>(props: SelectionProps<M, N>, onUpdateModelValue: (value: NonNullable<SelectionProps<M, N>['modelValue']>) => void): {
|
|
7
|
-
modelValue:
|
|
7
|
+
modelValue: vue32.ShallowRef<(M extends true ? N[] : N) | undefined>;
|
|
8
8
|
onModelValueChange: (value: N) => void;
|
|
9
|
-
isMultiple:
|
|
10
|
-
isEmptyModelValue:
|
|
9
|
+
isMultiple: vue32.ComputedRef<boolean>;
|
|
10
|
+
isEmptyModelValue: vue32.ComputedRef<boolean>;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
13
|
export { useSelection };
|
package/dist/types/common.d.ts
CHANGED
|
@@ -25,14 +25,6 @@ type Point = {
|
|
|
25
25
|
y: number;
|
|
26
26
|
};
|
|
27
27
|
type Polygon = Point[];
|
|
28
|
-
/**
|
|
29
|
-
* if padding or margin is number, it will be in px if padding or margin is true, it will be var(--scrollbar-width)
|
|
30
|
-
* otherwise, it will be passed string
|
|
31
|
-
*/
|
|
32
|
-
type ScrollBodyOption = {
|
|
33
|
-
padding?: boolean | number | string;
|
|
34
|
-
margin?: boolean | number | string;
|
|
35
|
-
};
|
|
36
28
|
interface SelectionProps<M extends boolean = false, N extends DefinedValue = string> {
|
|
37
29
|
/**
|
|
38
30
|
* The controlled value of the selected item(s).
|
|
@@ -57,4 +49,4 @@ type SelectionEmits<M extends boolean = false, N extends DefinedValue = string>
|
|
|
57
49
|
'update:modelValue': [value: M extends true ? N[] : N];
|
|
58
50
|
};
|
|
59
51
|
//#endregion
|
|
60
|
-
export { AcceptableBooleanValue, AcceptableValue, Align, ArrayElement, CheckedState, ClassValue, DataOrientation, DefinedValue, Direction, DisclosureState, FocusIntent, HorizontalSide, KbdKey, MaybeArray, MaybePromise, NavigationKey, Placement, Point, Polygon, PrimitiveType,
|
|
52
|
+
export { AcceptableBooleanValue, AcceptableValue, Align, ArrayElement, CheckedState, ClassValue, DataOrientation, DefinedValue, Direction, DisclosureState, FocusIntent, HorizontalSide, KbdKey, MaybeArray, MaybePromise, NavigationKey, Placement, Point, Polygon, PrimitiveType, SelectionEmits, SelectionProps, Side, SwipeDirection, UiClass };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AcceptableBooleanValue, AcceptableValue, Align, ArrayElement, CheckedState, ClassValue, DataOrientation, DefinedValue, Direction, DisclosureState, FocusIntent, HorizontalSide, KbdKey, MaybeArray, MaybePromise, NavigationKey, Placement, Point, Polygon, PrimitiveType,
|
|
1
|
+
import { AcceptableBooleanValue, AcceptableValue, Align, ArrayElement, CheckedState, ClassValue, DataOrientation, DefinedValue, Direction, DisclosureState, FocusIntent, HorizontalSide, KbdKey, MaybeArray, MaybePromise, NavigationKey, Placement, Point, Polygon, PrimitiveType, SelectionEmits, SelectionProps, Side, SwipeDirection, UiClass } from "./common.js";
|
|
2
2
|
import { FocusOutsideEvent, PointerDownOutsideEvent, SelectEvent, SwipeEvent, TreeSelectEvent, TreeToggleEvent } from "./event.js";
|
|
3
3
|
import { DismissableLayerEmits, DismissableLayerProps, FocusScopeEmits, ForceMountProps, FormFieldCommonProps, FormNameValueProps, TrapFocusProps } from "./component.js";
|
|
4
4
|
import { ImageLoadingStatus } from "./dom.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/headless",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.20",
|
|
5
5
|
"description": "SoybeanHeadless is a collection unstyled components for Vue 3. It is designed to be lightweight and easy to use.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Soybean",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@internationalized/date": "^3.10.1",
|
|
85
85
|
"@internationalized/number": "^3.6.5",
|
|
86
86
|
"@tanstack/vue-virtual": "^3.13.18",
|
|
87
|
-
"@vue/shared": "^3.5.
|
|
87
|
+
"@vue/shared": "^3.5.27",
|
|
88
88
|
"@vueuse/core": "^14.1.0",
|
|
89
89
|
"@vueuse/integrations": "^14.1.0",
|
|
90
90
|
"@vueuse/router": "^14.1.0",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"typescript": "5.9.3",
|
|
102
102
|
"unplugin-vue": "7.1.0",
|
|
103
103
|
"unplugin-vue-jsx": "0.8.1",
|
|
104
|
-
"vue": "3.5.
|
|
104
|
+
"vue": "3.5.27",
|
|
105
105
|
"vue-router": "4.6.4"
|
|
106
106
|
},
|
|
107
107
|
"scripts": {
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Direction } from "../types/common.js";
|
|
2
|
-
import "../types/index.js";
|
|
3
|
-
import * as vue4 from "vue";
|
|
4
|
-
import { MaybeRefOrGetter } from "vue";
|
|
5
|
-
|
|
6
|
-
//#region src/composables/use-direction.d.ts
|
|
7
|
-
declare function useDirection(dir?: MaybeRefOrGetter<Direction | undefined>): vue4.ComputedRef<Direction>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { useDirection };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useConfigProvider as e}from"../components/config-provider/context.js";import{computed as t,toValue as n}from"vue";function r(r){let i=e();return t(()=>n(r)||i?.dir?.value||`ltr`)}export{r as useDirection};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useConfigProvider as e}from"../components/config-provider/context.js";import{computed as t,toValue as n}from"vue";function r(r){let i=e();return t(()=>n(r)||i?.locale?.value||`en`)}export{r as useLocale};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as vue18 from "vue";
|
|
2
|
-
import { MaybeRefOrGetter } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/composables/use-nonce.d.ts
|
|
5
|
-
declare function useNonce(nonce?: MaybeRefOrGetter<string | undefined>): vue18.ComputedRef<string | undefined>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { useNonce };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{useConfigProvider as e}from"../components/config-provider/context.js";import{computed as t,toValue as n}from"vue";function r(r){let i=e();return t(()=>n(r)||i?.nonce?.value)}export{r as useNonce};
|