@soybeanjs/headless 0.10.0 → 0.10.1

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.
@@ -14,9 +14,9 @@ declare const __VLS_base: vue.DefineComponent<DropdownMenuRootProps, {}, {}, {},
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
- trigger: DropdownMenuTriggerType;
18
17
  delayDuration: number;
19
18
  skipDelayDuration: number;
19
+ trigger: DropdownMenuTriggerType;
20
20
  modal: boolean;
21
21
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -14,8 +14,8 @@ declare const __VLS_base: vue.DefineComponent<InputNumberRootProps, {}, {}, {},
14
14
  }, string, vue.PublicProps, Readonly<InputNumberRootProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((val: number) => any) | undefined;
16
16
  }>, {
17
- modelValue: number | null;
18
17
  step: number;
18
+ modelValue: number | null;
19
19
  stepSnapping: boolean;
20
20
  focusOnChange: boolean;
21
21
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -14,11 +14,11 @@ declare const __VLS_base: vue.DefineComponent<NavigationMenuRootProps, {}, {}, {
14
14
  }, string, vue.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
16
  }>, {
17
- orientation: DataOrientation;
18
17
  dir: Direction;
19
- unmountOnHide: boolean;
18
+ orientation: DataOrientation;
20
19
  delayDuration: number;
21
20
  skipDelayDuration: number;
21
+ unmountOnHide: boolean;
22
22
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
@@ -14,10 +14,10 @@ declare const __VLS_base: vue.DefineComponent<PaginationRootProps, {}, {}, {}, {
14
14
  }, string, vue.PublicProps, Readonly<PaginationRootProps> & Readonly<{
15
15
  "onUpdate:page"?: ((value: number) => any) | undefined;
16
16
  }>, {
17
- defaultPage: number;
18
17
  total: number;
19
18
  siblingCount: number;
20
19
  showEdges: boolean;
20
+ defaultPage: number;
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;
@@ -112,11 +112,48 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
112
112
  innerHTML: string;
113
113
  class: string | false | Record<string, any> | vue.ClassValue[] | null;
114
114
  style: string | false | CSSProperties | vue.StyleValue[] | null;
115
- color: string;
115
+ accesskey: string;
116
+ contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
117
+ contextmenu: string;
118
+ dir: string;
119
+ draggable: boolean | "true" | "false";
120
+ enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
121
+ enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
122
+ hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
116
123
  id: string;
124
+ inert: boolean | "true" | "false";
117
125
  lang: string;
118
- role: string;
126
+ placeholder: string;
127
+ spellcheck: boolean | "true" | "false";
119
128
  tabindex: string | number;
129
+ title: string;
130
+ translate: "yes" | "no";
131
+ radiogroup: string;
132
+ role: string;
133
+ about: string;
134
+ datatype: string;
135
+ inlist: any;
136
+ prefix: string;
137
+ property: string;
138
+ resource: string;
139
+ typeof: string;
140
+ vocab: string;
141
+ autocapitalize: string;
142
+ autocorrect: string;
143
+ autosave: string;
144
+ color: string;
145
+ itemprop: string;
146
+ itemscope: boolean | "true" | "false";
147
+ itemtype: string;
148
+ itemid: string;
149
+ itemref: string;
150
+ results: string | number;
151
+ security: string;
152
+ unselectable: "on" | "off";
153
+ inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
154
+ is: string;
155
+ exportparts: string;
156
+ part: string;
120
157
  'aria-activedescendant': string;
121
158
  'aria-atomic': boolean | "true" | "false";
122
159
  'aria-autocomplete': "list" | "none" | "inline" | "both";
@@ -146,13 +183,13 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
146
183
  'aria-modal': boolean | "true" | "false";
147
184
  'aria-multiline': boolean | "true" | "false";
148
185
  'aria-multiselectable': boolean | "true" | "false";
149
- 'aria-orientation': "vertical" | "horizontal";
186
+ 'aria-orientation': "horizontal" | "vertical";
150
187
  'aria-owns': string;
151
188
  'aria-placeholder': string;
152
189
  'aria-posinset': string | number;
153
190
  'aria-pressed': (boolean | "true" | "false") | "mixed";
154
191
  'aria-readonly': boolean | "true" | "false";
155
- 'aria-relevant': "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
192
+ 'aria-relevant': "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
156
193
  'aria-required': boolean | "true" | "false";
157
194
  'aria-roledescription': string;
158
195
  'aria-rowcount': string | number;
@@ -165,48 +202,12 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
165
202
  'aria-valuemin': string | number;
166
203
  'aria-valuenow': string | number;
167
204
  'aria-valuetext': string;
168
- accesskey: string;
169
- contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
170
- contextmenu: string;
171
- dir: string;
172
- draggable: boolean | "true" | "false";
173
- enterkeyhint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
174
- enterKeyHint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
175
- hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
176
- inert: boolean | "true" | "false";
177
- placeholder: string;
178
- spellcheck: boolean | "true" | "false";
179
- title: string;
180
- translate: "yes" | "no";
181
- radiogroup: string;
182
- about: string;
183
- datatype: string;
184
- inlist: any;
185
- prefix: string;
186
- property: string;
187
- resource: string;
188
- typeof: string;
189
- vocab: string;
190
- autocapitalize: string;
191
- autocorrect: string;
192
- autosave: string;
193
- itemprop: string;
194
- itemscope: boolean | "true" | "false";
195
- itemtype: string;
196
- itemid: string;
197
- itemref: string;
198
- results: string | number;
199
- security: string;
200
- unselectable: "off" | "on";
201
- inputmode: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
202
- is: string;
203
- exportparts: string;
204
- part: string;
205
+ align: Align;
206
+ reference: _floating_ui_dom0.ReferenceElement;
205
207
  placement: Placement$1;
206
208
  side: _floating_ui_utils0.Side;
207
209
  sideOffset: number;
208
210
  sideFlip: boolean;
209
- align: Align;
210
211
  alignOffset: number;
211
212
  alignFlip: boolean;
212
213
  avoidCollisions: boolean;
@@ -220,7 +221,6 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
220
221
  updatePositionStrategy: "optimized" | "always";
221
222
  disableUpdateOnLayoutShift: boolean;
222
223
  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,8 +18,8 @@ declare const __VLS_base: vue.DefineComponent<RovingFocusGroupProps, {
18
18
  "onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined;
19
19
  }>, {
20
20
  orientation: DataOrientation;
21
- preventScrollOnEntryFocus: boolean;
22
21
  loop: boolean;
22
+ preventScrollOnEntryFocus: boolean;
23
23
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
24
24
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
25
  declare const _default: typeof __VLS_export;
@@ -12,7 +12,6 @@ type __VLS_Slots = {} & {
12
12
  default?: (props: typeof __VLS_23) => any;
13
13
  };
14
14
  declare const __VLS_base: vue.DefineComponent<ToastRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
15
- "update:open": (value: boolean) => any;
16
15
  pause: () => any;
17
16
  escapeKeyDown: (event: KeyboardEvent) => any;
18
17
  resume: () => any;
@@ -20,8 +19,8 @@ declare const __VLS_base: vue.DefineComponent<ToastRootProps, {}, {}, {}, {}, vu
20
19
  swipeMove: (event: SwipeEvent) => any;
21
20
  swipeCancel: (event: SwipeEvent) => any;
22
21
  swipeEnd: (event: SwipeEvent) => any;
22
+ "update:open": (value: boolean) => any;
23
23
  }, string, vue.PublicProps, Readonly<ToastRootProps> & Readonly<{
24
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
25
24
  onPause?: (() => any) | undefined;
26
25
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
27
26
  onResume?: (() => any) | undefined;
@@ -29,11 +28,12 @@ declare const __VLS_base: vue.DefineComponent<ToastRootProps, {}, {}, {}, {}, vu
29
28
  onSwipeMove?: ((event: SwipeEvent) => any) | undefined;
30
29
  onSwipeCancel?: ((event: SwipeEvent) => any) | undefined;
31
30
  onSwipeEnd?: ((event: SwipeEvent) => any) | undefined;
31
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
32
32
  }>, {
33
33
  open: boolean;
34
34
  as: AsTag | vue.Component;
35
- defaultOpen: boolean;
36
35
  liveType: ToastLiveType;
36
+ defaultOpen: boolean;
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
39
  declare const _default: typeof __VLS_export;
@@ -16,8 +16,8 @@ declare const __VLS_base: vue.DefineComponent<TreeMenuRootProps, {}, {}, {}, {},
16
16
  "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
17
17
  }>, {
18
18
  defaultValue: string;
19
- collapsed: boolean;
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>;
@@ -8,8 +8,8 @@ type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
10
  declare const __VLS_base: vue.DefineComponent<VisuallyHiddenProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<VisuallyHiddenProps> & Readonly<{}>, {
11
- as: AsTag | vue.Component;
12
11
  feature: VisuallyHiddenFeature;
12
+ as: AsTag | vue.Component;
13
13
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
@@ -23,7 +23,7 @@ interface UseDismissableLayerOptions extends EmitsToHookProps<DismissableLayerEm
23
23
  * @returns Properties and handlers for the dismissable layer
24
24
  */
25
25
  declare function useDismissableLayer(layerElement: ShallowRef<HTMLElement | undefined>, options?: UseDismissableLayerOptions): {
26
- pointerEvents: vue.ComputedRef<"auto" | "none" | undefined>;
26
+ pointerEvents: vue.ComputedRef<"none" | "auto" | undefined>;
27
27
  };
28
28
  /**
29
29
  * Composable for creating dismissable layer branches that don't trigger dismissal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soybeanjs/headless",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
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": {