@soybeanjs/headless 0.0.6-beta.1 → 0.0.6-beta.2

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.
Files changed (208) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +4 -4
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +7 -5
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  7. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  8. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  9. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  10. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  11. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +4 -4
  12. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +4 -4
  13. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +6 -6
  14. package/dist/components/arrow/arrow.vue.d.ts +7 -7
  15. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +5 -5
  16. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  17. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  18. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  19. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  20. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  21. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  22. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  23. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +4 -4
  24. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  25. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  26. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  27. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  28. package/dist/components/button/button.vue.d.ts +5 -5
  29. package/dist/components/card/card-content.vue.d.ts +2 -2
  30. package/dist/components/card/card-description.vue.d.ts +2 -2
  31. package/dist/components/card/card-footer.vue.d.ts +2 -2
  32. package/dist/components/card/card-header.vue.d.ts +2 -2
  33. package/dist/components/card/card-root.vue.d.ts +2 -2
  34. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  35. package/dist/components/card/card-title.vue.d.ts +2 -2
  36. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  37. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +7 -5
  38. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +6 -6
  39. package/dist/components/checkbox/checkbox-label.vue.d.ts +4 -4
  40. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  41. package/dist/components/collapsible/collapsible-content.vue.d.ts +4 -4
  42. package/dist/components/collapsible/collapsible-root.vue.d.ts +8 -8
  43. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  44. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  45. package/dist/components/context-menu/context-menu-content.vue.d.ts +6 -6
  46. package/dist/components/context-menu/context-menu-root.vue.d.ts +6 -6
  47. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +6 -6
  48. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  49. package/dist/components/dialog/dialog-content.vue.d.ts +4 -4
  50. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  51. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  52. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  53. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  54. package/dist/components/dialog/dialog-root.vue.d.ts +5 -5
  55. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  56. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  57. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +6 -6
  58. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +6 -6
  59. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +6 -6
  60. package/dist/components/form/form-description.vue.d.ts +2 -2
  61. package/dist/components/form/form-error.vue.d.ts +2 -2
  62. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  63. package/dist/components/form/form-field.vue.d.ts +2 -2
  64. package/dist/components/form/form-label.vue.d.ts +4 -4
  65. package/dist/components/input/input-control.vue.d.ts +2 -2
  66. package/dist/components/input/input-root.vue.d.ts +4 -4
  67. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  68. package/dist/components/label/label.vue.d.ts +2 -2
  69. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  70. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  71. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  72. package/dist/components/layout/layout-mobile.vue.d.ts +4 -4
  73. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  74. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  75. package/dist/components/layout/layout-sidebar.vue.d.ts +5 -5
  76. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  77. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  78. package/dist/components/link/link.vue.d.ts +4 -4
  79. package/dist/components/list/list-content.vue.d.ts +2 -2
  80. package/dist/components/list/list-description.vue.d.ts +2 -2
  81. package/dist/components/list/list-item.vue.d.ts +2 -2
  82. package/dist/components/list/list-root.vue.d.ts +2 -2
  83. package/dist/components/list/list-title.vue.d.ts +2 -2
  84. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  85. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  86. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  87. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  88. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +6 -6
  89. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  90. package/dist/components/listbox/listbox-root.vue.d.ts +9 -7
  91. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  92. package/dist/components/menu/menu-checkbox-group.vue.d.ts +7 -5
  93. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  94. package/dist/components/menu/menu-content-impl.js +1 -1
  95. package/dist/components/menu/menu-content.vue.d.ts +6 -6
  96. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  97. package/dist/components/menu/menu-group.vue.d.ts +4 -4
  98. package/dist/components/menu/menu-item-indicator.vue.d.ts +6 -6
  99. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  100. package/dist/components/menu/menu-radio-group.vue.d.ts +7 -5
  101. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  102. package/dist/components/menu/menu-root.vue.d.ts +6 -6
  103. package/dist/components/menu/menu-sub-content.vue.d.ts +6 -6
  104. package/dist/components/menu/menu-sub-trigger.vue.d.ts +4 -4
  105. package/dist/components/menu/menu-sub.vue.d.ts +6 -6
  106. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +6 -6
  107. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +4 -4
  108. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  109. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  110. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  111. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  112. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  113. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  114. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  115. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  116. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  117. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  118. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  119. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  120. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  121. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  122. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  123. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  124. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  125. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  126. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  127. package/dist/components/popover/popover-anchor.vue.d.ts +4 -4
  128. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  129. package/dist/components/popover/popover-content.vue.d.ts +4 -4
  130. package/dist/components/popover/popover-root.vue.d.ts +6 -6
  131. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  132. package/dist/components/popper/context.d.ts +5 -5
  133. package/dist/components/popper/popper-anchor.vue.d.ts +4 -4
  134. package/dist/components/popper/popper-arrow.vue.d.ts +4 -4
  135. package/dist/components/popper/popper-content.vue.d.ts +12 -8
  136. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  137. package/dist/components/portal/portal.vue.d.ts +5 -5
  138. package/dist/components/radio-group/radio-group-control.vue.d.ts +4 -4
  139. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +6 -6
  140. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  141. package/dist/components/radio-group/radio-group-label.vue.d.ts +4 -4
  142. package/dist/components/radio-group/radio-group-root.vue.d.ts +7 -5
  143. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +8 -8
  144. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +5 -5
  145. package/dist/components/select/select-arrow.vue.d.ts +4 -4
  146. package/dist/components/select/select-content.vue.d.ts +9 -9
  147. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  148. package/dist/components/select/select-group.vue.d.ts +2 -2
  149. package/dist/components/select/select-item-indicator.vue.d.ts +6 -6
  150. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  151. package/dist/components/select/select-item.vue.d.ts +4 -4
  152. package/dist/components/select/select-root.vue.d.ts +7 -5
  153. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  154. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  155. package/dist/components/select/select-separator.vue.d.ts +2 -2
  156. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  157. package/dist/components/select/select-trigger.vue.d.ts +6 -6
  158. package/dist/components/select/select-value.vue.d.ts +3 -3
  159. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  160. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  161. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  162. package/dist/components/slot/slot.d.ts +2 -2
  163. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  164. package/dist/components/switch/switch-root.vue.d.ts +7 -5
  165. package/dist/components/switch/switch-thumb.vue.d.ts +6 -6
  166. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  167. package/dist/components/tabs/tabs-indicator.vue.d.ts +4 -4
  168. package/dist/components/tabs/tabs-list.vue.d.ts +4 -4
  169. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  170. package/dist/components/tabs/tabs-trigger.vue.d.ts +6 -6
  171. package/dist/components/tag/tag.vue.d.ts +4 -4
  172. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  173. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  174. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  175. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  176. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  177. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  178. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  179. package/dist/components/toast/toast-root.vue.d.ts +9 -9
  180. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  181. package/dist/components/toast/toast-viewport.vue.d.ts +6 -6
  182. package/dist/components/tooltip/tooltip-content.vue.d.ts +6 -6
  183. package/dist/components/tooltip/tooltip-root.vue.d.ts +6 -6
  184. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +6 -6
  185. package/dist/components/tree/tree-item.js +1 -1
  186. package/dist/components/tree/tree-item.vue.d.ts +8 -7
  187. package/dist/components/tree/tree-root.vue.d.ts +7 -5
  188. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +7 -6
  189. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +7 -5
  190. package/dist/components/tree/types.d.ts +1 -1
  191. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  192. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +4 -4
  193. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +7 -5
  194. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +8 -6
  195. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +6 -6
  196. package/dist/composables/use-direction.d.ts +2 -2
  197. package/dist/composables/use-dismissable-layer.d.ts +6 -6
  198. package/dist/composables/use-exposed-element.d.ts +2 -2
  199. package/dist/composables/use-forward-element.d.ts +2 -2
  200. package/dist/composables/use-image-loading-status.d.ts +2 -2
  201. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  202. package/dist/composables/use-kbd.d.ts +2 -2
  203. package/dist/composables/use-locale.d.ts +2 -2
  204. package/dist/composables/use-nonce.d.ts +2 -2
  205. package/dist/composables/use-presence.d.ts +2 -2
  206. package/dist/composables/use-props.d.ts +3 -3
  207. package/dist/composables/use-selection.d.ts +4 -4
  208. package/package.json +9 -9
@@ -1,24 +1,25 @@
1
1
  import { TreeSelectEvent, TreeToggleEvent } from "../../types/event.js";
2
2
  import { TreeVirtualizerItemProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1522 from "vue";
4
+ import * as vue401 from "vue";
5
5
 
6
6
  //#region src/components/tree/tree-virtualizer-item.vue.d.ts
7
- declare var __VLS_10: {
7
+ declare var __VLS_12: {
8
8
  isExpanded: boolean;
9
9
  isSelected: boolean;
10
10
  isIndeterminate: boolean | undefined;
11
+ hasChildren: boolean;
11
12
  };
12
13
  type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_10) => any;
14
+ default?: (props: typeof __VLS_12) => any;
14
15
  };
15
- declare const __VLS_base: vue1522.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue1522.ComponentOptionsMixin, vue1522.ComponentOptionsMixin, {
16
+ declare const __VLS_base: vue401.DefineComponent<TreeVirtualizerItemProps, {}, {}, {}, {}, vue401.ComponentOptionsMixin, vue401.ComponentOptionsMixin, {
16
17
  select: (event: TreeSelectEvent<string>) => any;
17
18
  toggle: (event: TreeToggleEvent<string>) => any;
18
- }, string, vue1522.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
19
+ }, string, vue401.PublicProps, Readonly<TreeVirtualizerItemProps> & Readonly<{
19
20
  onSelect?: ((event: TreeSelectEvent<string>) => any) | undefined;
20
21
  onToggle?: ((event: TreeToggleEvent<string>) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, vue1522.ComponentProvideOptions, false, {}, any>;
22
+ }>, {}, {}, {}, {}, string, vue401.ComponentProvideOptions, false, {}, any>;
22
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
24
  declare const _default: typeof __VLS_export;
24
25
  type __VLS_WithSlots<T, S> = T & {
@@ -1,15 +1,17 @@
1
1
  import { MaybeArray } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { FlattenedItem, TreeItemData, TreeVirtualizerRootProps } from "./types.js";
4
- import * as vue1520 from "vue";
4
+ import * as vue399 from "vue";
5
5
  import * as _tanstack_vue_virtual0 from "@tanstack/vue-virtual";
6
6
 
7
7
  //#region src/components/tree/tree-virtualizer-root.vue.d.ts
8
- declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
+ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string> | undefined, 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<{
9
9
  props: __VLS_PrettifyLocal<TreeVirtualizerRootProps<T, U, M> & {
10
10
  "onUpdate:modelValue"?: ((value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => any) | undefined;
11
11
  "onUpdate:expanded"?: ((value: string[]) => any) | undefined;
12
- }> & vue1520.PublicProps;
12
+ }> & vue399.PublicProps & (typeof globalThis extends {
13
+ __VLS_PROPS_FALLBACK: infer P;
14
+ } ? P : {});
13
15
  expose: (exposed: {}) => void;
14
16
  attrs: any;
15
17
  slots: {
@@ -21,10 +23,10 @@ declare const __VLS_export: <T extends TreeItemData, U extends MaybeArray<string
21
23
  }) => any;
22
24
  };
23
25
  emit: ((evt: "update:modelValue", value: string | ((U extends string ? false : M extends true ? true : false) extends infer T_1 ? T_1 extends (U extends string ? false : M extends true ? true : false) ? T_1 extends true ? string[] : string : never : never)) => void) & ((evt: "update:expanded", value: string[]) => void);
24
- }>) => vue1520.VNode & {
26
+ }>) => vue399.VNode & {
25
27
  __ctx?: Awaited<typeof __VLS_setup>;
26
28
  };
27
29
  declare const _default: typeof __VLS_export;
28
- type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
29
31
  //#endregion
30
32
  export { _default };
@@ -21,7 +21,7 @@ type TreeItemData<T extends TreeItemBaseData = TreeItemBaseData> = T & {
21
21
  type TreeSelectBehavior = 'toggle' | 'replace';
22
22
  type TreeToggleBehavior = 'single' | 'multiple';
23
23
  type IsMultiple<U extends MaybeArray<string> | undefined, M extends boolean> = U extends string ? false : M extends true ? true : false;
24
- interface TreeRootProps<T extends TreeItemData = TreeItemData, U extends MaybeArray<string> | undefined = MaybeArray<string> | undefined, M extends boolean = boolean> extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
24
+ interface TreeRootProps<T extends TreeItemData = TreeItemData, U extends MaybeArray<string> | undefined = MaybeArray<string> | undefined, M extends boolean = boolean> extends PrimitiveProps, /** @vue-ignore */Omit<HTMLAttributes, 'onSelect' | 'onToggle'> {
25
25
  /** The controlled value of the tree. Can be bound-with with `v-model`. */
26
26
  modelValue?: U;
27
27
  /** The value of the tree when initially rendered. Use when you do not need to control the state of the tree */
@@ -1,5 +1,5 @@
1
1
  import { VirtualizerContentProps } from "./types.js";
2
- import * as vue1502 from "vue";
2
+ import * as vue239 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: vue1502.DefineComponent<VirtualizerContentProps, {}, {}, {}, {}, vue1502.ComponentOptionsMixin, vue1502.ComponentOptionsMixin, {}, string, vue1502.PublicProps, Readonly<VirtualizerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1502.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue239.DefineComponent<VirtualizerContentProps, {}, {}, {}, {}, vue239.ComponentOptionsMixin, vue239.ComponentOptionsMixin, {}, string, vue239.PublicProps, Readonly<VirtualizerContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue239.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 vue1495 from "vue";
2
+ import * as vue234 from "vue";
3
3
 
4
4
  //#region src/components/virtualizer/virtualizer-item.vue.d.ts
5
- declare var __VLS_7: {};
5
+ declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_7) => any;
7
+ default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue1495.DefineComponent<VirtualizerItemProps, {}, {}, {}, {}, vue1495.ComponentOptionsMixin, vue1495.ComponentOptionsMixin, {}, string, vue1495.PublicProps, Readonly<VirtualizerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1495.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue234.DefineComponent<VirtualizerItemProps, {}, {}, {}, {}, vue234.ComponentOptionsMixin, vue234.ComponentOptionsMixin, {}, string, vue234.PublicProps, Readonly<VirtualizerItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue234.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,12 @@
1
1
  import { VirtualizerRootProps } from "./types.js";
2
- import * as vue1500 from "vue";
2
+ import * as vue244 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
- 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
- props: __VLS_PrettifyLocal<VirtualizerRootProps<T>> & vue1500.PublicProps;
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: __VLS_PrettifyLocal<VirtualizerRootProps<T>> & vue244.PublicProps & (typeof globalThis extends {
8
+ __VLS_PROPS_FALLBACK: infer P;
9
+ } ? P : {});
8
10
  expose: (exposed: {}) => void;
9
11
  attrs: any;
10
12
  slots: {
@@ -14,10 +16,10 @@ declare const __VLS_export: <T extends Record<string, any>>(__VLS_props: NonNull
14
16
  }) => any;
15
17
  };
16
18
  emit: {};
17
- }>) => vue1500.VNode & {
19
+ }>) => vue244.VNode & {
18
20
  __ctx?: Awaited<typeof __VLS_setup>;
19
21
  };
20
22
  declare const _default: typeof __VLS_export;
21
- type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
23
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
22
24
  //#endregion
23
25
  export { _default };
@@ -1,17 +1,19 @@
1
1
  import { VisuallyHiddenInputProps } from "./types.js";
2
- import * as vue505 from "vue";
2
+ import * as vue327 from "vue";
3
3
 
4
4
  //#region src/components/visually-hidden/visually-hidden-input.vue.d.ts
5
- declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<VisuallyHiddenInputProps<T>> & vue505.PublicProps;
5
+ declare const __VLS_export: <T>(__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<{
6
+ props: __VLS_PrettifyLocal<VisuallyHiddenInputProps<T>> & vue327.PublicProps & (typeof globalThis extends {
7
+ __VLS_PROPS_FALLBACK: infer P;
8
+ } ? P : {});
7
9
  expose: (exposed: {}) => void;
8
10
  attrs: any;
9
- slots: {};
11
+ slots: __VLS_Slots;
10
12
  emit: {};
11
- }>) => vue505.VNode & {
13
+ }>) => vue327.VNode & {
12
14
  __ctx?: Awaited<typeof __VLS_setup>;
13
15
  };
14
16
  declare const _default: typeof __VLS_export;
15
- type __VLS_PrettifyLocal<T> = { [K in keyof T as K]: T[K] } & {};
17
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
16
18
  //#endregion
17
19
  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 vue499 from "vue";
4
+ import * as vue321 from "vue";
5
5
 
6
6
  //#region src/components/visually-hidden/visually-hidden.vue.d.ts
7
- declare var __VLS_7: {};
7
+ declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_7) => any;
9
+ default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue499.DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, vue499.ComponentOptionsMixin, vue499.ComponentOptionsMixin, {}, string, vue499.PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
12
- as: AsTag | vue499.Component;
11
+ declare const __VLS_base: vue321.DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, vue321.ComponentOptionsMixin, vue321.ComponentOptionsMixin, {}, string, vue321.PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
12
+ as: AsTag | vue321.Component;
13
13
  feature: VisuallyHiddenFeature;
14
- }, {}, {}, {}, string, vue499.ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, vue321.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 & {
@@ -1,9 +1,9 @@
1
1
  import { Direction } from "../types/common.js";
2
2
  import "../types/index.js";
3
- import * as vue5 from "vue";
3
+ import * as vue9 from "vue";
4
4
  import { MaybeRefOrGetter } from "vue";
5
5
 
6
6
  //#region src/composables/use-direction.d.ts
7
- declare function useDirection(dir?: MaybeRefOrGetter<Direction | undefined>): vue5.ComputedRef<Direction>;
7
+ declare function useDirection(dir?: MaybeRefOrGetter<Direction | undefined>): vue9.ComputedRef<Direction>;
8
8
  //#endregion
9
9
  export { useDirection };
@@ -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 vue6 from "vue";
5
+ import * as vue4 from "vue";
6
6
  import { CSSProperties, MaybeRefOrGetter, ShallowRef } from "vue";
7
7
 
8
8
  //#region src/composables/use-dismissable-layer.d.ts
@@ -17,9 +17,9 @@ interface UseDismissableLayerOptions extends EmitsToHookProps<DismissableLayerEm
17
17
  onDismiss?: () => void;
18
18
  }
19
19
  declare const layerContext: {
20
- layers: vue6.ShallowReactive<Set<HTMLElement>>;
21
- layersWithOutsidePointerEventsDisabled: vue6.ShallowReactive<Set<HTMLElement>>;
22
- branches: vue6.ShallowReactive<Set<HTMLElement>>;
20
+ layers: vue4.ShallowReactive<Set<HTMLElement>>;
21
+ layersWithOutsidePointerEventsDisabled: vue4.ShallowReactive<Set<HTMLElement>>;
22
+ branches: vue4.ShallowReactive<Set<HTMLElement>>;
23
23
  };
24
24
  /**
25
25
  * Composable for creating dismissable layers with outside interaction handling
@@ -29,8 +29,8 @@ declare const layerContext: {
29
29
  * @returns Properties and handlers for the dismissable layer
30
30
  */
31
31
  declare function useDismissableLayer(layerElementRef: ShallowRef<HTMLElement | undefined>, options?: UseDismissableLayerOptions): {
32
- computedPointerEvents: vue6.ComputedRef<"auto" | "none" | undefined>;
33
- computedStyle: vue6.ComputedRef<CSSProperties>;
32
+ computedPointerEvents: vue4.ComputedRef<"auto" | "none" | undefined>;
33
+ computedStyle: vue4.ComputedRef<CSSProperties>;
34
34
  layerProps: {
35
35
  "data-dismissable-layer": string;
36
36
  };
@@ -1,9 +1,9 @@
1
1
  import { VNodeRef } from "../types/vue.js";
2
2
  import "../types/index.js";
3
- import * as vue11 from "vue";
3
+ import * as vue10 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 [vue11.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>, (nodeRef: VNodeRef) => void];
7
+ declare function useExposedElement(callback?: (el: HTMLElement) => void): readonly [vue10.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 vue4 from "vue";
3
+ import * as vue11 from "vue";
4
4
 
5
5
  //#region src/composables/use-forward-element.d.ts
6
6
 
@@ -9,6 +9,6 @@ import * as vue4 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 [vue4.ShallowRef<T | undefined, T | undefined>, (nodeRef: VNodeRef) => void];
12
+ declare function useForwardElement<T extends HTMLElement = HTMLElement>(callback?: (el: T) => void): readonly [vue11.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 vue20 from "vue";
3
+ import * as vue12 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): vue20.ShallowRef<ImageLoadingStatus, ImageLoadingStatus>;
18
+ declare function useImageLoadingStatus(options: ImageLoadingOptions): vue12.ShallowRef<ImageLoadingStatus, ImageLoadingStatus>;
19
19
  //#endregion
20
20
  export { useImageLoadingStatus };
@@ -1,6 +1,6 @@
1
- import * as vue23 from "vue";
1
+ import * as vue16 from "vue";
2
2
 
3
3
  //#region src/composables/use-is-using-keyboard.d.ts
4
- declare function useIsUsingKeyboard(): vue23.ComputedRef<boolean>;
4
+ declare function useIsUsingKeyboard(): vue16.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 vue24 from "vue";
3
+ import * as vue13 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: vue24.ComputedRef<"" | RegExpMatchArray | null>;
8
+ macOS: vue13.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 vue12 from "vue";
1
+ import * as vue14 from "vue";
2
2
  import { MaybeRefOrGetter } from "vue";
3
3
 
4
4
  //#region src/composables/use-locale.d.ts
5
- declare function useLocale(locale?: MaybeRefOrGetter<string | undefined>): vue12.ComputedRef<string>;
5
+ declare function useLocale(locale?: MaybeRefOrGetter<string | undefined>): vue14.ComputedRef<string>;
6
6
  //#endregion
7
7
  export { useLocale };
@@ -1,7 +1,7 @@
1
- import * as vue16 from "vue";
1
+ import * as vue15 from "vue";
2
2
  import { MaybeRefOrGetter } from "vue";
3
3
 
4
4
  //#region src/composables/use-nonce.d.ts
5
- declare function useNonce(nonce?: MaybeRefOrGetter<string | undefined>): vue16.ComputedRef<string | undefined>;
5
+ declare function useNonce(nonce?: MaybeRefOrGetter<string | undefined>): vue15.ComputedRef<string | undefined>;
6
6
  //#endregion
7
7
  export { useNonce };
@@ -1,7 +1,7 @@
1
- import * as vue19 from "vue";
1
+ import * as vue17 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): vue19.ComputedRef<boolean>;
5
+ declare function usePresence(elRef: Ref<HTMLElement | null | undefined>, present: MaybeRefOrGetter<boolean | undefined>, onChange?: (value: boolean) => void): vue17.ComputedRef<boolean>;
6
6
  //#endregion
7
7
  export { usePresence };
@@ -1,8 +1,8 @@
1
- import * as vue21 from "vue";
1
+ import * as vue18 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>[]): vue21.ComputedRef<Pick<T, K>>;
6
- declare function useOmitProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]): vue21.ComputedRef<Omit<T, K>>;
5
+ declare function usePickProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]): vue18.ComputedRef<Pick<T, K>>;
6
+ declare function useOmitProps<T extends object, K extends keyof T>(props: T, keys: K[], ...extraProps: MaybeRefOrGetter<object>[]): vue18.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 vue13 from "vue";
3
+ import * as vue22 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: vue13.ShallowRef<(M extends true ? N[] : N) | undefined>;
7
+ modelValue: vue22.ShallowRef<(M extends true ? N[] : N) | undefined>;
8
8
  onModelValueChange: (value: N) => void;
9
- isMultiple: vue13.ComputedRef<boolean>;
10
- isEmptyModelValue: vue13.ComputedRef<boolean>;
9
+ isMultiple: vue22.ComputedRef<boolean>;
10
+ isEmptyModelValue: vue22.ComputedRef<boolean>;
11
11
  };
12
12
  //#endregion
13
13
  export { useSelection };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soybeanjs/headless",
3
3
  "type": "module",
4
- "version": "0.0.6-beta.1",
4
+ "version": "0.0.6-beta.2",
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",
@@ -97,11 +97,11 @@
97
97
  "@internationalized/number": "^3.6.5",
98
98
  "@standard-schema/spec": "^1.0.0",
99
99
  "@tanstack/vue-virtual": "^3.13.12",
100
- "@vue/shared": "^3.5.24",
101
- "@vueuse/core": "^14.0.0",
102
- "@vueuse/integrations": "^14.0.0",
103
- "@vueuse/router": "^14.0.0",
104
- "@vueuse/shared": "^14.0.0",
100
+ "@vue/shared": "^3.5.25",
101
+ "@vueuse/core": "^14.1.0",
102
+ "@vueuse/integrations": "^14.1.0",
103
+ "@vueuse/router": "^14.1.0",
104
+ "@vueuse/shared": "^14.1.0",
105
105
  "aria-hidden": "^1.2.6",
106
106
  "defu": "^6.1.4",
107
107
  "klona": "^2.0.6",
@@ -109,11 +109,11 @@
109
109
  },
110
110
  "devDependencies": {
111
111
  "@nuxt/kit": "^4.2.1",
112
- "tsdown": "0.16.6",
112
+ "tsdown": "0.17.0",
113
113
  "typescript": "5.9.3",
114
- "unplugin-vue": "7.0.8",
114
+ "unplugin-vue": "7.1.0",
115
115
  "unplugin-vue-jsx": "0.8.1",
116
- "vue": "3.5.24",
116
+ "vue": "3.5.25",
117
117
  "vue-router": "4.6.3"
118
118
  },
119
119
  "simple-git-hooks": {