@soybeanjs/headless 0.5.8 → 0.5.9

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.
@@ -26,10 +26,10 @@ declare const __VLS_base: vue.DefineComponent<MenuContentProps, {}, {}, {}, {},
26
26
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
27
27
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
28
28
  }>, {
29
- avoidCollisions: boolean;
30
29
  sideOffset: number;
31
30
  sideFlip: boolean;
32
31
  alignFlip: boolean;
32
+ avoidCollisions: boolean;
33
33
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
34
34
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
35
  declare const _default: typeof __VLS_export;
@@ -15,9 +15,9 @@ declare const __VLS_base: vue.DefineComponent<DropdownMenuRootProps, {}, {}, {},
15
15
  }>, {
16
16
  open: boolean;
17
17
  trigger: DropdownMenuTriggerType;
18
- modal: boolean;
19
18
  delayDuration: number;
20
19
  skipDelayDuration: number;
20
+ modal: boolean;
21
21
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
@@ -6,8 +6,8 @@ import * as vue from "vue";
6
6
  //#region src/components/listbox/listbox-root.vue.d.ts
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<ListboxRootProps<M> & {
9
- "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
10
9
  onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
10
+ "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
11
11
  onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
12
12
  onLeave?: ((event: Event) => any) | undefined;
13
13
  }> & (typeof globalThis extends {
@@ -26,7 +26,7 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
26
26
  modelValue: (M extends true ? string[] : string) | undefined;
27
27
  }) => any;
28
28
  };
29
- 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);
29
+ emit: ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void);
30
30
  }>) => vue.VNode & {
31
31
  __ctx?: Awaited<typeof __VLS_setup>;
32
32
  };
@@ -21,8 +21,8 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
21
21
  contextmenu: string;
22
22
  onInput: (payload: InputEvent) => void;
23
23
  onSelect: (payload: Event) => void;
24
- onError: (payload: Event) => void;
25
24
  onFocus: (payload: FocusEvent) => void;
25
+ onError: (payload: Event) => void;
26
26
  onProgress: (payload: ProgressEvent<EventTarget>) => void;
27
27
  onFullscreenchange: (payload: Event) => void;
28
28
  onFullscreenerror: (payload: Event) => void;
@@ -172,8 +172,8 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
172
172
  contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
173
173
  dir: string;
174
174
  draggable: boolean | "true" | "false";
175
- enterkeyhint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
176
- enterKeyHint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
175
+ enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
176
+ enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
177
177
  hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
178
178
  inert: boolean | "true" | "false";
179
179
  placeholder: string;
@@ -199,19 +199,18 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
199
199
  results: string | number;
200
200
  security: string;
201
201
  unselectable: "off" | "on";
202
- inputmode: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
202
+ inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
203
203
  is: string;
204
204
  exportparts: string;
205
205
  part: string;
206
- side: _floating_ui_utils0.Side;
207
- avoidCollisions: boolean;
208
- reference: _floating_ui_dom0.ReferenceElement;
209
206
  placement: Placement$1;
207
+ side: _floating_ui_utils0.Side;
210
208
  sideOffset: number;
211
209
  sideFlip: boolean;
212
210
  align: Align;
213
211
  alignOffset: number;
214
212
  alignFlip: boolean;
213
+ avoidCollisions: boolean;
215
214
  collisionBoundary: Element | null | Array<Element | null>;
216
215
  collisionPadding: _floating_ui_utils0.Padding;
217
216
  arrowPadding: number;
@@ -221,6 +220,7 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
221
220
  updatePositionStrategy: "optimized" | "always";
222
221
  disableUpdateOnLayoutShift: boolean;
223
222
  prioritizePosition: boolean;
223
+ reference: _floating_ui_dom0.ReferenceElement;
224
224
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
225
225
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
226
226
  declare const _default: typeof __VLS_export;
@@ -18,9 +18,9 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.C
18
18
  }>, {
19
19
  modelValue: DefinedValue | null;
20
20
  orientation: DataOrientation;
21
+ unmountOnHide: boolean;
21
22
  loop: boolean;
22
23
  activationMode: TabsActivationMode;
23
- unmountOnHide: boolean;
24
24
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
@@ -15,9 +15,9 @@ declare const __VLS_base: vue.DefineComponent<TreeMenuRootProps, {}, {}, {}, {},
15
15
  "onUpdate:expanded"?: ((value: string[]) => any) | undefined;
16
16
  "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
17
17
  }>, {
18
- collapsed: boolean;
19
18
  defaultValue: string;
20
19
  defaultExpanded: string[];
20
+ collapsed: boolean;
21
21
  defaultCollapsed: boolean;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soybeanjs/headless",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "SoybeanHeadless is a collection unstyled components for Vue 3. It is designed to be lightweight and easy to use.",
5
5
  "homepage": "https://github.com/soybeanjs/soybean-ui",
6
6
  "bugs": {