@soybeanjs/headless 0.13.0-beta.1 → 0.13.0
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/context-menu/context-menu-content.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/input-number/input-number-root.vue.d.ts +1 -1
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/menu/menu-content.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub-content.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 +2 -2
- package/dist/components/popper/popper-positioner.vue.d.ts +41 -41
- package/dist/components/toast/toast-root.vue.d.ts +1 -1
- package/dist/components/visually-hidden/visually-hidden.vue.d.ts +1 -1
- package/dist/composables/use-dismissable-layer.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9,19 +9,19 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: vue.DefineComponent<ContextMenuContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
11
11
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
12
|
+
entryFocus: (event: Event) => any;
|
|
12
13
|
closeAutoFocus: (event: Event) => any;
|
|
13
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
|
-
entryFocus: (event: Event) => any;
|
|
17
17
|
openAutoFocus: (event: Event) => any;
|
|
18
18
|
}, string, vue.PublicProps, Readonly<ContextMenuContentProps> & Readonly<{
|
|
19
19
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
20
21
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
21
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
22
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
23
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
24
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
25
25
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
avoidCollisions: boolean;
|
|
@@ -9,19 +9,19 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: vue.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
11
11
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
12
|
+
entryFocus: (event: Event) => any;
|
|
12
13
|
closeAutoFocus: (event: Event) => any;
|
|
13
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
|
-
entryFocus: (event: Event) => any;
|
|
17
17
|
openAutoFocus: (event: Event) => any;
|
|
18
18
|
}, string, vue.PublicProps, Readonly<MenuContentProps> & Readonly<{
|
|
19
19
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
20
21
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
21
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
22
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
23
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
24
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
25
25
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
sideOffset: number;
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: vue.DefineComponent<DropdownMenuRootProps, {}, {}, {},
|
|
|
15
15
|
}>, {
|
|
16
16
|
open: boolean;
|
|
17
17
|
trigger: DropdownMenuTriggerType;
|
|
18
|
-
delayDuration: number;
|
|
19
18
|
skipDelayDuration: number;
|
|
19
|
+
delayDuration: number;
|
|
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
|
-
step: number;
|
|
18
17
|
modelValue: number | null;
|
|
18
|
+
step: number;
|
|
19
19
|
stepSnapping: boolean;
|
|
20
20
|
focusOnChange: boolean;
|
|
21
21
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -13,8 +13,8 @@ type Slots = {
|
|
|
13
13
|
type __VLS_Slots = Slots;
|
|
14
14
|
declare const __VLS_base: vue.DefineComponent<LinkProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
15
15
|
disabled: boolean;
|
|
16
|
-
as: AsTag | vue.Component;
|
|
17
16
|
replace: boolean;
|
|
17
|
+
as: AsTag | vue.Component;
|
|
18
18
|
external: boolean;
|
|
19
19
|
viewTransition: boolean;
|
|
20
20
|
rel: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | (string & {}) | null;
|
|
@@ -9,19 +9,19 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: vue.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
11
11
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
12
|
+
entryFocus: (event: Event) => any;
|
|
12
13
|
closeAutoFocus: (event: Event) => any;
|
|
13
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
|
-
entryFocus: (event: Event) => any;
|
|
17
17
|
openAutoFocus: (event: Event) => any;
|
|
18
18
|
}, string, vue.PublicProps, Readonly<MenuContentProps> & Readonly<{
|
|
19
19
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
20
21
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
21
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
22
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
23
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
24
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
25
25
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -9,19 +9,19 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: vue.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
11
11
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
12
|
+
entryFocus: (event: Event) => any;
|
|
12
13
|
closeAutoFocus: (event: Event) => any;
|
|
13
14
|
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
14
15
|
focusOutside: (event: FocusOutsideEvent) => any;
|
|
15
16
|
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
16
|
-
entryFocus: (event: Event) => any;
|
|
17
17
|
openAutoFocus: (event: Event) => any;
|
|
18
18
|
}, string, vue.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
|
|
19
19
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
20
|
+
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
20
21
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
21
22
|
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
22
23
|
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
23
24
|
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
24
|
-
onEntryFocus?: ((event: Event) => any) | undefined;
|
|
25
25
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
prioritizePosition: boolean;
|
|
@@ -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;
|
|
18
|
+
orientation: DataOrientation;
|
|
19
19
|
unmountOnHide: boolean;
|
|
20
|
-
delayDuration: number;
|
|
21
20
|
skipDelayDuration: number;
|
|
21
|
+
delayDuration: number;
|
|
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;
|
|
@@ -16,11 +16,11 @@ declare const __VLS_base: vue.DefineComponent<PaginationRootProps, {}, {}, {}, {
|
|
|
16
16
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
17
17
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
+
defaultPage: number;
|
|
20
|
+
defaultPageSize: number;
|
|
19
21
|
total: number;
|
|
20
22
|
siblingCount: number;
|
|
21
23
|
showEdges: boolean;
|
|
22
|
-
defaultPage: number;
|
|
23
|
-
defaultPageSize: number;
|
|
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;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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";
|
|
@@ -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
|
-
|
|
169
|
-
|
|
170
|
-
contextmenu: string;
|
|
171
|
-
dir: string;
|
|
172
|
-
draggable: boolean | "true" | "false";
|
|
173
|
-
enterkeyhint: "done" | "next" | "enter" | "go" | "previous" | "search" | "send";
|
|
174
|
-
enterKeyHint: "done" | "next" | "enter" | "go" | "previous" | "search" | "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: "on" | "off";
|
|
201
|
-
inputmode: "search" | "none" | "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;
|
|
@@ -30,8 +30,8 @@ declare const __VLS_base: vue.DefineComponent<ToastRootProps, {}, {}, {}, {}, vu
|
|
|
30
30
|
onSwipeEnd?: ((event: SwipeEvent) => any) | undefined;
|
|
31
31
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
as: AsTag | vue.Component;
|
|
34
33
|
open: boolean;
|
|
34
|
+
as: AsTag | vue.Component;
|
|
35
35
|
liveType: ToastLiveType;
|
|
36
36
|
defaultOpen: boolean;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -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<"
|
|
26
|
+
pointerEvents: vue.ComputedRef<"auto" | "none" | 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.13.0
|
|
3
|
+
"version": "0.13.0",
|
|
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": {
|