@soybeanjs/headless 0.29.0-beta.6 → 0.29.0-beta.7

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 (58) hide show
  1. package/dist/components/alert/alert-compact.vue.d.ts +2 -2
  2. package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +2 -2
  3. package/dist/components/autocomplete/autocomplete-root.vue.d.ts +4 -4
  4. package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
  5. package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
  6. package/dist/components/color-area/color-area-compact.vue.d.ts +2 -2
  7. package/dist/components/color-area/color-area-root.vue.d.ts +3 -3
  8. package/dist/components/color-field/color-field-root.vue.d.ts +1 -1
  9. package/dist/components/color-picker/color-picker-compact.vue.d.ts +5 -5
  10. package/dist/components/color-picker/color-picker-root.vue.d.ts +6 -6
  11. package/dist/components/color-slider/color-slider-compact.vue.d.ts +2 -2
  12. package/dist/components/color-slider/color-slider-root.vue.d.ts +3 -3
  13. package/dist/components/combobox/combobox-compact.vue.d.ts +3 -3
  14. package/dist/components/combobox/combobox-root.vue.d.ts +2 -2
  15. package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +3 -3
  16. package/dist/components/context-menu/context-menu-compact.vue.d.ts +2 -2
  17. package/dist/components/context-menu/context-menu-content.vue.d.ts +2 -2
  18. package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +3 -3
  19. package/dist/components/context-menu/context-menu-wrapper-compact.vue.d.ts +2 -2
  20. package/dist/components/date-picker/date-picker-compact.js +1 -1
  21. package/dist/components/date-picker/date-picker-compact.vue.d.ts +42 -42
  22. package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +41 -41
  23. package/dist/components/dialog/dialog-compact.vue.d.ts +4 -4
  24. package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +3 -3
  25. package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +2 -2
  26. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
  27. package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +3 -3
  28. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
  29. package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.d.ts +2 -2
  30. package/dist/components/input-otp/input-otp-compact.vue.d.ts +2 -2
  31. package/dist/components/input-otp/input-otp-root.vue.d.ts +3 -3
  32. package/dist/components/layout/layout-root.vue.d.ts +1 -1
  33. package/dist/components/link/link.vue.d.ts +1 -1
  34. package/dist/components/menu/menu-content.vue.d.ts +2 -2
  35. package/dist/components/menu/menu-option-compact.vue.d.ts +2 -2
  36. package/dist/components/menu/menu-options-compact.vue.d.ts +2 -2
  37. package/dist/components/menu/menu-sub-content.vue.d.ts +2 -2
  38. package/dist/components/menubar/menubar-compact.vue.d.ts +3 -3
  39. package/dist/components/menubar/menubar-content.vue.d.ts +2 -2
  40. package/dist/components/menubar/menubar-root.vue.d.ts +1 -1
  41. package/dist/components/menubar/menubar-sub-content.vue.d.ts +2 -2
  42. package/dist/components/page-tabs/page-tabs-compact.vue.d.ts +3 -3
  43. package/dist/components/page-tabs/page-tabs-item.vue.d.ts +2 -2
  44. package/dist/components/page-tabs/page-tabs-root.vue.d.ts +1 -1
  45. package/dist/components/popconfirm/popconfirm-compact.vue.d.ts +2 -2
  46. package/dist/components/popper/popper-positioner.vue.d.ts +41 -41
  47. package/dist/components/select/select-compact.vue.d.ts +2 -2
  48. package/dist/components/select/select-root.vue.d.ts +2 -2
  49. package/dist/components/slider/slider-root.vue.d.ts +2 -2
  50. package/dist/components/splitter/splitter-group.vue.d.ts +1 -1
  51. package/dist/components/stepper/stepper-root.vue.d.ts +1 -1
  52. package/dist/components/tabs/tabs-root.vue.d.ts +1 -1
  53. package/dist/components/tags-input/tags-input-root.vue.d.ts +1 -1
  54. package/dist/components/time-range-field/time-range-field-root.vue.d.ts +1 -1
  55. package/dist/components/toggle/toggle.vue.d.ts +1 -1
  56. package/dist/components/tree-menu/tree-menu-compact.vue.d.ts +2 -2
  57. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +1 -1
  58. package/package.json +3 -3
@@ -3,8 +3,8 @@ import { PopconfirmCompactProps, PopconfirmCompactSlots } from "./types.js";
3
3
  //#region src/components/popconfirm/popconfirm-compact.vue.d.ts
4
4
  type __VLS_Slots = PopconfirmCompactSlots;
5
5
  declare const __VLS_base: import("vue").DefineComponent<PopconfirmCompactProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:open": (value: boolean) => any;
7
6
  cancel: (event: PointerEvent) => any;
7
+ "update:open": (value: boolean) => any;
8
8
  escapeKeyDown: (event: KeyboardEvent) => any;
9
9
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
10
10
  focusOutside: (event: FocusOutsideEvent) => any;
@@ -13,8 +13,8 @@ declare const __VLS_base: import("vue").DefineComponent<PopconfirmCompactProps,
13
13
  closeAutoFocus: (event: Event) => any;
14
14
  confirm: (event: PointerEvent) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<PopconfirmCompactProps> & Readonly<{
16
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
17
16
  onCancel?: ((event: PointerEvent) => any) | undefined;
17
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
18
18
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
19
19
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
20
20
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
@@ -110,48 +110,11 @@ declare const __VLS_base: import("vue").DefineComponent<PopperPositionerProps, {
110
110
  innerHTML: string;
111
111
  class: string | false | Record<string, any> | import("vue").ClassValue[] | null;
112
112
  style: string | false | CSSProperties | import("vue").StyleValue[] | null;
113
- accesskey: string;
114
- contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
115
- contextmenu: string;
116
- dir: string;
117
- draggable: boolean | "true" | "false";
118
- enterkeyhint: "done" | "enter" | "go" | "next" | "previous" | "search" | "send";
119
- enterKeyHint: "done" | "enter" | "go" | "next" | "previous" | "search" | "send";
120
- hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
113
+ color: string;
121
114
  id: string;
122
- inert: boolean | "true" | "false";
123
115
  lang: string;
124
- placeholder: string;
125
- spellcheck: boolean | "true" | "false";
126
- tabindex: string | number;
127
- title: string;
128
- translate: "yes" | "no";
129
- radiogroup: string;
130
116
  role: string;
131
- about: string;
132
- datatype: string;
133
- inlist: any;
134
- prefix: string;
135
- property: string;
136
- resource: string;
137
- typeof: string;
138
- vocab: string;
139
- autocapitalize: string;
140
- autocorrect: string;
141
- autosave: string;
142
- color: string;
143
- itemprop: string;
144
- itemscope: boolean | "true" | "false";
145
- itemtype: string;
146
- itemid: string;
147
- itemref: string;
148
- results: string | number;
149
- security: string;
150
- unselectable: "on" | "off";
151
- inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
152
- is: string;
153
- exportparts: string;
154
- part: string;
117
+ tabindex: string | number;
155
118
  'aria-activedescendant': string;
156
119
  'aria-atomic': boolean | "true" | "false";
157
120
  'aria-autocomplete': "list" | "none" | "inline" | "both";
@@ -187,7 +150,7 @@ declare const __VLS_base: import("vue").DefineComponent<PopperPositionerProps, {
187
150
  'aria-posinset': string | number;
188
151
  'aria-pressed': (boolean | "true" | "false") | "mixed";
189
152
  'aria-readonly': boolean | "true" | "false";
190
- 'aria-relevant': "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
153
+ 'aria-relevant': "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
191
154
  'aria-required': boolean | "true" | "false";
192
155
  'aria-roledescription': string;
193
156
  'aria-rowcount': string | number;
@@ -200,8 +163,44 @@ declare const __VLS_base: import("vue").DefineComponent<PopperPositionerProps, {
200
163
  'aria-valuemin': string | number;
201
164
  'aria-valuenow': string | number;
202
165
  'aria-valuetext': string;
166
+ accesskey: string;
167
+ contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
168
+ contextmenu: string;
169
+ dir: string;
170
+ draggable: boolean | "true" | "false";
171
+ enterkeyhint: "done" | "enter" | "go" | "next" | "previous" | "search" | "send";
172
+ enterKeyHint: "done" | "enter" | "go" | "next" | "previous" | "search" | "send";
173
+ hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
174
+ inert: boolean | "true" | "false";
175
+ placeholder: string;
176
+ spellcheck: boolean | "true" | "false";
177
+ title: string;
178
+ translate: "yes" | "no";
179
+ radiogroup: string;
180
+ about: string;
181
+ datatype: string;
182
+ inlist: any;
183
+ prefix: string;
184
+ property: string;
185
+ resource: string;
186
+ typeof: string;
187
+ vocab: string;
188
+ autocapitalize: string;
189
+ autocorrect: string;
190
+ autosave: string;
191
+ itemprop: string;
192
+ itemscope: boolean | "true" | "false";
193
+ itemtype: string;
194
+ itemid: string;
195
+ itemref: string;
196
+ results: string | number;
197
+ security: string;
198
+ unselectable: "off" | "on";
199
+ inputmode: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
200
+ is: string;
201
+ exportparts: string;
202
+ part: string;
203
203
  placement: Placement;
204
- reference: import("@floating-ui/dom").ReferenceElement;
205
204
  side: import("@floating-ui/utils").Side;
206
205
  sideOffset: number;
207
206
  sideFlip: boolean;
@@ -219,6 +218,7 @@ declare const __VLS_base: import("vue").DefineComponent<PopperPositionerProps, {
219
218
  updatePositionStrategy: "optimized" | "always";
220
219
  disableUpdateOnLayoutShift: boolean;
221
220
  prioritizePosition: boolean;
221
+ reference: import("@floating-ui/dom").ReferenceElement;
222
222
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
223
223
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
224
224
  declare const _default: typeof __VLS_export;
@@ -5,8 +5,8 @@ import { SelectCompactProps, SelectCompactSlots, SelectItemEvent } from "./types
5
5
  declare const __VLS_export: <T extends DefinedValue = DefinedValue, 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<{
6
6
  props: import("vue").PublicProps & __VLS_PrettifyLocal<SelectCompactProps<T, M> & {
7
7
  onSelect?: ((event: SelectItemEvent<T>) => any) | undefined;
8
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
9
8
  "onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
9
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
10
10
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
11
11
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
12
12
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
@@ -16,7 +16,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue, M extends bo
16
16
  expose: (exposed: {}) => void;
17
17
  attrs: any;
18
18
  slots: SelectCompactSlots<T, M>;
19
- emit: ((evt: "select", event: SelectItemEvent<T>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
19
+ emit: ((evt: "select", event: SelectItemEvent<T>) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "closeAutoFocus", event: Event) => void);
20
20
  }>) => import("vue").VNode & {
21
21
  __ctx?: Awaited<typeof __VLS_setup>;
22
22
  };
@@ -4,8 +4,8 @@ import { SelectRootProps } from "./types.js";
4
4
  //#region src/components/select/select-root.vue.d.ts
5
5
  declare const __VLS_export: <T extends DefinedValue, 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<{
6
6
  props: import("vue").PublicProps & __VLS_PrettifyLocal<SelectRootProps<T, M> & {
7
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
8
7
  "onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
8
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
9
9
  }> & (typeof globalThis extends {
10
10
  __VLS_PROPS_FALLBACK: infer P;
11
11
  } ? P : {});
@@ -17,7 +17,7 @@ declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(
17
17
  open: boolean;
18
18
  }) => any;
19
19
  };
20
- emit: ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void);
20
+ emit: ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void);
21
21
  }>) => import("vue").VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
@@ -15,13 +15,13 @@ declare const __VLS_base: import("vue").DefineComponent<SliderRootProps, {}, {},
15
15
  onValueCommit?: ((value: number[]) => any) | undefined;
16
16
  }>, {
17
17
  disabled: boolean;
18
- dir: Direction;
19
18
  max: number;
20
19
  min: number;
21
20
  orientation: DataOrientation;
21
+ dir: Direction;
22
22
  step: number;
23
- defaultValue: number[];
24
23
  modelValue: number[];
24
+ defaultValue: number[];
25
25
  inverted: boolean;
26
26
  minStepsBetweenThumbs: number;
27
27
  thumbAlignment: SliderThumbAlignment;
@@ -12,8 +12,8 @@ declare const __VLS_base: import("vue").DefineComponent<SplitterGroupProps, {},
12
12
  }, string, import("vue").PublicProps, Readonly<SplitterGroupProps> & Readonly<{
13
13
  onLayout?: ((value: number[]) => any) | undefined;
14
14
  }>, {
15
- dir: Direction;
16
15
  direction: DataOrientation;
16
+ dir: Direction;
17
17
  defaultLayout: number[];
18
18
  keyboardResizeBy: number;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -37,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<StepperRootProps, {
37
37
  "onUpdate:modelValue"?: ((payload: number) => any) | undefined;
38
38
  }>, {
39
39
  orientation: DataOrientation;
40
- defaultValue: number;
41
40
  modelValue: number;
41
+ defaultValue: number;
42
42
  linear: boolean;
43
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
44
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -14,8 +14,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
14
14
  "onUpdate:modelValue"?: ((payload: DefinedValue | null) => any) | undefined;
15
15
  }>, {
16
16
  orientation: DataOrientation;
17
- modelValue: DefinedValue | null;
18
17
  loop: boolean;
18
+ modelValue: DefinedValue | null;
19
19
  activationMode: TabsActivationMode;
20
20
  unmountOnHide: boolean;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -20,8 +20,8 @@ declare const __VLS_base: import("vue").DefineComponent<TagsInputRootProps, {},
20
20
  onRemoveTag?: ((value: string) => any) | undefined;
21
21
  }>, {
22
22
  max: number;
23
- defaultValue: string[];
24
23
  modelValue: string[];
24
+ defaultValue: string[];
25
25
  delimiter: string | RegExp;
26
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -23,9 +23,9 @@ declare const __VLS_base: import("vue").DefineComponent<TimeRangeFieldRootProps,
23
23
  granularity: TimeGranularity;
24
24
  hourCycle: 12 | 24;
25
25
  hideTimeZone: boolean;
26
+ isTimeUnavailable: TimeMatcher;
26
27
  startName: string;
27
28
  endName: string;
28
- isTimeUnavailable: TimeMatcher;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
30
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
31
  declare const _default: typeof __VLS_export;
@@ -15,8 +15,8 @@ declare const __VLS_base: import("vue").DefineComponent<ToggleProps, {}, {}, {},
15
15
  }, string, import("vue").PublicProps, Readonly<ToggleProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
17
  }>, {
18
- defaultValue: boolean;
19
18
  modelValue: boolean;
19
+ defaultValue: boolean;
20
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
@@ -5,15 +5,15 @@ declare const __VLS_export: <T extends TreeMenuBaseOptionData = TreeMenuBaseOpti
5
5
  props: import("vue").PublicProps & __VLS_PrettifyLocal<TreeMenuCompactProps<T> & {
6
6
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
7
7
  "onUpdate:expanded"?: ((value: string[]) => any) | undefined;
8
- onSelectDropdown?: ((value: string) => any) | undefined;
9
8
  "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
9
+ onSelectDropdown?: ((value: string) => any) | undefined;
10
10
  }> & (typeof globalThis extends {
11
11
  __VLS_PROPS_FALLBACK: infer P;
12
12
  } ? P : {});
13
13
  expose: (exposed: {}) => void;
14
14
  attrs: any;
15
15
  slots: TreeMenuCompactSlots<T>;
16
- emit: ((evt: "update:modelValue", value: string) => void) & ((evt: "update:expanded", value: string[]) => void) & ((evt: "selectDropdown", value: string) => void) & ((evt: "update:collapsed", value: boolean) => void);
16
+ emit: ((evt: "update:modelValue", value: string) => void) & ((evt: "update:expanded", value: string[]) => void) & ((evt: "update:collapsed", value: boolean) => void) & ((evt: "selectDropdown", value: string) => void);
17
17
  }>) => import("vue").VNode & {
18
18
  __ctx?: Awaited<typeof __VLS_setup>;
19
19
  };
@@ -18,9 +18,9 @@ declare const __VLS_base: import("vue").DefineComponent<TreeMenuRootProps, {}, {
18
18
  defaultExpanded: string[];
19
19
  collapsed: boolean;
20
20
  indent: number;
21
+ pxToRem: (px: number) => number;
21
22
  defaultCollapsed: boolean;
22
23
  collapsedWidth: number;
23
- pxToRem: (px: number) => number;
24
24
  }, {}, {}, {}, string, import("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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soybeanjs/headless",
3
- "version": "0.29.0-beta.6",
3
+ "version": "0.29.0-beta.7",
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": {
@@ -93,7 +93,7 @@
93
93
  "@formkit/auto-animate": "^0.9.0",
94
94
  "@internationalized/date": "^3.12.2",
95
95
  "@internationalized/number": "^3.6.7",
96
- "@soybeanjs/colord": "^0.5.0",
96
+ "@soybeanjs/colord": "^0.6.1",
97
97
  "@soybeanjs/hooks": "^0.3.0",
98
98
  "@soybeanjs/utils": "^0.1.1",
99
99
  "@standard-schema/spec": "^1.1.0",
@@ -116,7 +116,7 @@
116
116
  "typescript": "6.0.3",
117
117
  "unplugin-vue": "7.2.0",
118
118
  "unplugin-vue-components": "^32.1.0",
119
- "vue": "3.5.35",
119
+ "vue": "3.5.38",
120
120
  "vue-router": "5.1.0"
121
121
  },
122
122
  "peerDependencies": {