@soybeanjs/headless 0.6.4 → 0.6.6
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/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/listbox/listbox-root.vue.d.ts +2 -2
- package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +2 -2
- package/dist/components/pagination/pagination-root.vue.d.ts +1 -1
- package/dist/components/popper/popper-positioner.vue.d.ts +46 -46
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +1 -1
- package/dist/components/select/select-root.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-root.vue.d.ts +1 -1
- package/dist/components/toast/toast-root.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -13,8 +13,8 @@ type Slots = {
|
|
|
13
13
|
};
|
|
14
14
|
type __VLS_Slots = Slots;
|
|
15
15
|
declare const __VLS_base: vue.DefineComponent<LinkProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
16
|
-
replace: boolean;
|
|
17
16
|
as: AsTag | vue.Component;
|
|
17
|
+
replace: boolean;
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
external: boolean;
|
|
20
20
|
viewTransition: boolean;
|
|
@@ -6,9 +6,9 @@ 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
|
+
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
9
10
|
"onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
|
|
10
11
|
onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
|
|
11
|
-
onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
12
12
|
onLeave?: ((event: Event) => any) | undefined;
|
|
13
13
|
}> & (typeof globalThis extends {
|
|
14
14
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -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: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "
|
|
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
|
};
|
|
@@ -15,11 +15,11 @@ declare const __VLS_base: vue.DefineComponent<NavigationMenuRootProps, {}, {}, {
|
|
|
15
15
|
}, string, vue.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
dir: Direction;
|
|
19
18
|
orientation: DataOrientation;
|
|
20
|
-
|
|
19
|
+
dir: Direction;
|
|
21
20
|
delayDuration: number;
|
|
22
21
|
skipDelayDuration: number;
|
|
22
|
+
unmountOnHide: 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;
|
|
@@ -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;
|
|
@@ -21,8 +21,6 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
|
|
|
21
21
|
contextmenu: string;
|
|
22
22
|
onInput: (payload: InputEvent) => void;
|
|
23
23
|
onSelect: (payload: Event) => void;
|
|
24
|
-
onFocus: (payload: FocusEvent) => void;
|
|
25
|
-
onError: (payload: Event) => void;
|
|
26
24
|
onProgress: (payload: ProgressEvent<EventTarget>) => void;
|
|
27
25
|
onFullscreenchange: (payload: Event) => void;
|
|
28
26
|
onFullscreenerror: (payload: Event) => void;
|
|
@@ -56,6 +54,8 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
|
|
|
56
54
|
onDurationchange: (payload: Event) => void;
|
|
57
55
|
onEmptied: (payload: Event) => void;
|
|
58
56
|
onEnded: (payload: Event) => void;
|
|
57
|
+
onError: (payload: Event) => void;
|
|
58
|
+
onFocus: (payload: FocusEvent) => void;
|
|
59
59
|
onFocusin: (payload: FocusEvent) => void;
|
|
60
60
|
onFocusout: (payload: FocusEvent) => void;
|
|
61
61
|
onFormdata: (payload: FormDataEvent) => void;
|
|
@@ -115,46 +115,11 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
|
|
|
115
115
|
onEncrypted: (payload: MediaEncryptedEvent) => void;
|
|
116
116
|
innerHTML: string;
|
|
117
117
|
class: any;
|
|
118
|
-
|
|
119
|
-
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
|
|
120
|
-
dir: string;
|
|
121
|
-
draggable: boolean | "true" | "false";
|
|
122
|
-
enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
123
|
-
enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
124
|
-
hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
|
|
118
|
+
color: string;
|
|
125
119
|
id: string;
|
|
126
|
-
inert: boolean | "true" | "false";
|
|
127
120
|
lang: string;
|
|
128
|
-
placeholder: string;
|
|
129
|
-
spellcheck: boolean | "true" | "false";
|
|
130
|
-
tabindex: string | number;
|
|
131
|
-
translate: "yes" | "no";
|
|
132
|
-
radiogroup: string;
|
|
133
121
|
role: string;
|
|
134
|
-
|
|
135
|
-
datatype: string;
|
|
136
|
-
inlist: any;
|
|
137
|
-
prefix: string;
|
|
138
|
-
property: string;
|
|
139
|
-
resource: string;
|
|
140
|
-
typeof: string;
|
|
141
|
-
vocab: string;
|
|
142
|
-
autocapitalize: string;
|
|
143
|
-
autocorrect: string;
|
|
144
|
-
autosave: string;
|
|
145
|
-
color: string;
|
|
146
|
-
itemprop: string;
|
|
147
|
-
itemscope: boolean | "true" | "false";
|
|
148
|
-
itemtype: string;
|
|
149
|
-
itemid: string;
|
|
150
|
-
itemref: string;
|
|
151
|
-
results: string | number;
|
|
152
|
-
security: string;
|
|
153
|
-
unselectable: "on" | "off";
|
|
154
|
-
inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
155
|
-
is: string;
|
|
156
|
-
exportparts: string;
|
|
157
|
-
part: string;
|
|
122
|
+
tabindex: string | number;
|
|
158
123
|
'aria-activedescendant': string;
|
|
159
124
|
'aria-atomic': boolean | "true" | "false";
|
|
160
125
|
'aria-autocomplete': "list" | "none" | "inline" | "both";
|
|
@@ -168,7 +133,7 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
|
|
|
168
133
|
'aria-describedby': string;
|
|
169
134
|
'aria-details': string;
|
|
170
135
|
'aria-disabled': boolean | "true" | "false";
|
|
171
|
-
'aria-dropeffect': "link" | "
|
|
136
|
+
'aria-dropeffect': "link" | "copy" | "none" | "execute" | "move" | "popup";
|
|
172
137
|
'aria-errormessage': string;
|
|
173
138
|
'aria-expanded': boolean | "true" | "false";
|
|
174
139
|
'aria-flowto': string;
|
|
@@ -190,7 +155,7 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
|
|
|
190
155
|
'aria-posinset': string | number;
|
|
191
156
|
'aria-pressed': (boolean | "true" | "false") | "mixed";
|
|
192
157
|
'aria-readonly': boolean | "true" | "false";
|
|
193
|
-
'aria-relevant': "
|
|
158
|
+
'aria-relevant': "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
|
|
194
159
|
'aria-required': boolean | "true" | "false";
|
|
195
160
|
'aria-roledescription': string;
|
|
196
161
|
'aria-rowcount': string | number;
|
|
@@ -203,24 +168,59 @@ declare const __VLS_base: vue.DefineComponent<PopperPositionerProps, {}, {}, {},
|
|
|
203
168
|
'aria-valuemin': string | number;
|
|
204
169
|
'aria-valuenow': string | number;
|
|
205
170
|
'aria-valuetext': string;
|
|
206
|
-
|
|
171
|
+
accesskey: string;
|
|
172
|
+
contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
|
|
173
|
+
dir: string;
|
|
174
|
+
draggable: boolean | "true" | "false";
|
|
175
|
+
enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
176
|
+
enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
|
|
177
|
+
hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
|
|
178
|
+
inert: boolean | "true" | "false";
|
|
179
|
+
placeholder: string;
|
|
180
|
+
spellcheck: boolean | "true" | "false";
|
|
181
|
+
translate: "yes" | "no";
|
|
182
|
+
radiogroup: string;
|
|
183
|
+
about: string;
|
|
184
|
+
datatype: string;
|
|
185
|
+
inlist: any;
|
|
186
|
+
prefix: string;
|
|
187
|
+
property: string;
|
|
188
|
+
resource: string;
|
|
189
|
+
typeof: string;
|
|
190
|
+
vocab: string;
|
|
191
|
+
autocapitalize: string;
|
|
192
|
+
autocorrect: string;
|
|
193
|
+
autosave: string;
|
|
194
|
+
itemprop: string;
|
|
195
|
+
itemscope: boolean | "true" | "false";
|
|
196
|
+
itemtype: string;
|
|
197
|
+
itemid: string;
|
|
198
|
+
itemref: string;
|
|
199
|
+
results: string | number;
|
|
200
|
+
security: string;
|
|
201
|
+
unselectable: "off" | "on";
|
|
202
|
+
inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
203
|
+
is: string;
|
|
204
|
+
exportparts: string;
|
|
205
|
+
part: string;
|
|
206
|
+
placement: Placement$1;
|
|
207
207
|
side: _floating_ui_utils0.Side;
|
|
208
208
|
sideOffset: number;
|
|
209
|
-
align: Align;
|
|
210
|
-
arrowPadding: number;
|
|
211
|
-
updatePositionStrategy: "optimized" | "always";
|
|
212
|
-
placement: Placement$1;
|
|
213
209
|
sideFlip: boolean;
|
|
210
|
+
align: Align;
|
|
214
211
|
alignOffset: number;
|
|
215
212
|
alignFlip: boolean;
|
|
216
213
|
avoidCollisions: boolean;
|
|
217
214
|
collisionBoundary: Element | null | Array<Element | null>;
|
|
218
215
|
collisionPadding: _floating_ui_utils0.Padding;
|
|
216
|
+
arrowPadding: number;
|
|
219
217
|
sticky: "partial" | "always";
|
|
220
218
|
hideWhenDetached: boolean;
|
|
221
219
|
positionStrategy: "absolute" | "fixed";
|
|
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;
|
|
@@ -20,8 +20,8 @@ declare const __VLS_base: vue.DefineComponent<RovingFocusGroupProps, {
|
|
|
20
20
|
"onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
orientation: DataOrientation;
|
|
23
|
-
preventScrollOnEntryFocus: boolean;
|
|
24
23
|
loop: boolean;
|
|
24
|
+
preventScrollOnEntryFocus: boolean;
|
|
25
25
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -6,8 +6,8 @@ import * as vue from "vue";
|
|
|
6
6
|
//#region src/components/select/select-root.vue.d.ts
|
|
7
7
|
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<{
|
|
8
8
|
props: vue.PublicProps & __VLS_PrettifyLocal<SelectRootProps<T, M> & {
|
|
9
|
-
"onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
|
|
10
9
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
"onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
|
|
11
11
|
}> & (typeof globalThis extends {
|
|
12
12
|
__VLS_PROPS_FALLBACK: infer P;
|
|
13
13
|
} ? P : {});
|
|
@@ -19,7 +19,7 @@ declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(
|
|
|
19
19
|
open: boolean;
|
|
20
20
|
}) => any;
|
|
21
21
|
};
|
|
22
|
-
emit: ((evt: "update:
|
|
22
|
+
emit: ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void);
|
|
23
23
|
}>) => vue.VNode & {
|
|
24
24
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
25
|
};
|
|
@@ -19,8 +19,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.C
|
|
|
19
19
|
modelValue: DefinedValue | null;
|
|
20
20
|
orientation: DataOrientation;
|
|
21
21
|
loop: boolean;
|
|
22
|
-
unmountOnHide: boolean;
|
|
23
22
|
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;
|
|
@@ -32,8 +32,8 @@ declare const __VLS_base: vue.DefineComponent<ToastRootProps, {}, {}, {}, {}, vu
|
|
|
32
32
|
onSwipeCancel?: ((event: SwipeEvent) => any) | undefined;
|
|
33
33
|
onSwipeEnd?: ((event: SwipeEvent) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
|
-
open: boolean;
|
|
36
35
|
as: AsTag | vue.Component;
|
|
36
|
+
open: boolean;
|
|
37
37
|
defaultOpen: boolean;
|
|
38
38
|
liveType: ToastLiveType;
|
|
39
39
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/headless",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
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": {
|