@headlessui/vue
Advanced tools
Comparing version 0.0.0-insiders.cefb899 to 0.0.0-insiders.cf0c535
@@ -1,2 +0,2 @@ | ||
import { PropType } from 'vue'; | ||
import { type PropType } from 'vue'; | ||
export declare let Combobox: import("vue").DefineComponent<{ | ||
@@ -11,10 +11,45 @@ as: { | ||
}; | ||
by: { | ||
type: (StringConstructor | FunctionConstructor)[]; | ||
nullable: boolean; | ||
default: null; | ||
}; | ||
modelValue: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: PropType<string | number | boolean | object | null>; | ||
default: undefined; | ||
}; | ||
defaultValue: { | ||
type: PropType<string | number | boolean | object | null>; | ||
default: undefined; | ||
}; | ||
form: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
name: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
nullable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
multiple: { | ||
type: BooleanConstructor[]; | ||
default: boolean; | ||
}; | ||
immediate: { | ||
type: BooleanConstructor[]; | ||
default: boolean; | ||
}; | ||
virtual: { | ||
type: PropType<{ | ||
options: unknown[]; | ||
disabled?: ((value: unknown) => boolean) | undefined; | ||
} | null>; | ||
default: null; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
'update:modelValue': (_value: any) => true; | ||
@@ -30,5 +65,42 @@ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}; | ||
by: { | ||
type: (StringConstructor | FunctionConstructor)[]; | ||
nullable: boolean; | ||
default: null; | ||
}; | ||
modelValue: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: PropType<string | number | boolean | object | null>; | ||
default: undefined; | ||
}; | ||
defaultValue: { | ||
type: PropType<string | number | boolean | object | null>; | ||
default: undefined; | ||
}; | ||
form: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
name: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
nullable: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
multiple: { | ||
type: BooleanConstructor[]; | ||
default: boolean; | ||
}; | ||
immediate: { | ||
type: BooleanConstructor[]; | ||
default: boolean; | ||
}; | ||
virtual: { | ||
type: PropType<{ | ||
options: unknown[]; | ||
disabled?: ((value: unknown) => boolean) | undefined; | ||
} | null>; | ||
default: null; | ||
}; | ||
}>> & { | ||
@@ -39,2 +111,12 @@ "onUpdate:modelValue"?: ((_value: any) => any) | undefined; | ||
disabled: boolean; | ||
by: string | Function; | ||
modelValue: string | number | boolean | object | null; | ||
defaultValue: string | number | boolean | object | null; | ||
nullable: boolean; | ||
multiple: boolean; | ||
immediate: boolean; | ||
virtual: { | ||
options: unknown[]; | ||
disabled?: ((value: unknown) => boolean) | undefined; | ||
} | null; | ||
}>; | ||
@@ -46,2 +128,6 @@ export declare let ComboboxLabel: import("vue").DefineComponent<{ | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -51,3 +137,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -57,3 +143,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -66,2 +157,6 @@ }>; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -71,3 +166,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -77,3 +172,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -97,2 +197,10 @@ }>; | ||
}; | ||
defaultValue: { | ||
type: StringConstructor; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -102,3 +210,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
change: (_value: Event & { | ||
@@ -123,2 +231,10 @@ target: HTMLInputElement; | ||
}; | ||
defaultValue: { | ||
type: StringConstructor; | ||
default: undefined; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>> & { | ||
@@ -129,5 +245,7 @@ onChange?: ((_value: Event & { | ||
}, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
unmount: boolean; | ||
static: boolean; | ||
defaultValue: string; | ||
}>; | ||
@@ -155,3 +273,3 @@ export declare let ComboboxOptions: import("vue").DefineComponent<{ | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -185,3 +303,3 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
value: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: PropType<string | number | boolean | object | null>; | ||
}; | ||
@@ -192,2 +310,6 @@ disabled: { | ||
}; | ||
order: { | ||
type: NumberConstructor[]; | ||
default: null; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -197,3 +319,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -204,3 +326,3 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
value: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: PropType<string | number | boolean | object | null>; | ||
}; | ||
@@ -211,5 +333,10 @@ disabled: { | ||
}; | ||
order: { | ||
type: NumberConstructor[]; | ||
default: null; | ||
}; | ||
}>>, { | ||
as: string | Record<string, any>; | ||
disabled: boolean; | ||
order: number; | ||
}>; |
@@ -1,2 +0,2 @@ | ||
import { ComputedRef, Ref } from 'vue'; | ||
import { type ComputedRef, type Ref } from 'vue'; | ||
export declare function useDescriptions({ slot, name, props, }?: { | ||
@@ -12,2 +12,6 @@ slot?: Ref<Record<string, unknown>>; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -17,3 +21,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -23,4 +27,9 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
}>; |
@@ -1,2 +0,2 @@ | ||
import { PropType } from 'vue'; | ||
import { type PropType } from 'vue'; | ||
export declare let Dialog: import("vue").DefineComponent<{ | ||
@@ -23,2 +23,10 @@ as: { | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
role: { | ||
type: PropType<"dialog" | "alertdialog">; | ||
default: string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -49,10 +57,20 @@ [key: string]: any; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
role: { | ||
type: PropType<"dialog" | "alertdialog">; | ||
default: string; | ||
}; | ||
}>> & { | ||
onClose?: ((_close: boolean) => any) | undefined; | ||
}, { | ||
id: string; | ||
role: "dialog" | "alertdialog"; | ||
as: string | Record<string, any>; | ||
unmount: boolean; | ||
static: boolean; | ||
open: string | boolean; | ||
initialFocus: HTMLElement | null; | ||
open: string | boolean; | ||
}>; | ||
@@ -64,2 +82,6 @@ export declare let DialogOverlay: import("vue").DefineComponent<{ | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -69,3 +91,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -75,5 +97,60 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
}>; | ||
export declare let DialogBackdrop: import("vue").DefineComponent<{ | ||
as: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
}>; | ||
export declare let DialogPanel: import("vue").DefineComponent<{ | ||
as: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
}>; | ||
export declare let DialogTitle: import("vue").DefineComponent<{ | ||
@@ -84,2 +161,6 @@ as: { | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -89,3 +170,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -95,3 +176,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -104,2 +190,6 @@ }>; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -109,3 +199,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -115,4 +205,9 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
}>; |
@@ -14,3 +14,3 @@ export declare let Disclosure: import("vue").DefineComponent<{ | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -37,2 +37,6 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: null; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -42,3 +46,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -52,3 +56,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: null; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -70,2 +79,6 @@ disabled: boolean; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: null; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -75,3 +88,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -89,3 +102,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: null; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -92,0 +110,0 @@ unmount: boolean; |
@@ -1,3 +0,125 @@ | ||
import { PropType } from 'vue'; | ||
export declare let FocusTrap: import("vue").DefineComponent<{ | ||
import { type PropType, type Ref } from 'vue'; | ||
type Containers = (() => Iterable<HTMLElement>) | Ref<Set<Ref<HTMLElement | null>>>; | ||
declare enum Features { | ||
/** No features enabled for the focus trap. */ | ||
None = 1, | ||
/** Ensure that we move focus initially into the container. */ | ||
InitialFocus = 2, | ||
/** Ensure that pressing `Tab` and `Shift+Tab` is trapped within the container. */ | ||
TabLock = 4, | ||
/** Ensure that programmatically moving focus outside of the container is disallowed. */ | ||
FocusLock = 8, | ||
/** Ensure that we restore the focus when unmounting the focus trap. */ | ||
RestoreFocus = 16, | ||
/** Enable all features. */ | ||
All = 30 | ||
} | ||
export declare let FocusTrap: { | ||
new (...args: any[]): { | ||
$: import("vue").ComponentInternalInstance; | ||
$data: {}; | ||
$props: Partial<{ | ||
features: Features; | ||
as: string | Record<string, any>; | ||
initialFocus: HTMLElement | null; | ||
containers: Containers; | ||
}> & Omit<Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
initialFocus: { | ||
type: PropType<HTMLElement | null>; | ||
default: null; | ||
}; | ||
features: { | ||
type: PropType<Features>; | ||
default: Features; | ||
}; | ||
containers: { | ||
type: PropType<Containers>; | ||
default: Ref<Set<unknown>>; | ||
}; | ||
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "features" | "as" | "initialFocus" | "containers">; | ||
$attrs: { | ||
[x: string]: unknown; | ||
}; | ||
$refs: { | ||
[x: string]: unknown; | ||
}; | ||
$slots: Readonly<{ | ||
[name: string]: import("vue").Slot | undefined; | ||
}>; | ||
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null; | ||
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null; | ||
$emit: (event: string, ...args: any[]) => void; | ||
$el: any; | ||
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
initialFocus: { | ||
type: PropType<HTMLElement | null>; | ||
default: null; | ||
}; | ||
features: { | ||
type: PropType<Features>; | ||
default: Features; | ||
}; | ||
containers: { | ||
type: PropType<Containers>; | ||
default: Ref<Set<unknown>>; | ||
}; | ||
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, { | ||
features: Features; | ||
as: string | Record<string, any>; | ||
initialFocus: HTMLElement | null; | ||
containers: Containers; | ||
}> & { | ||
beforeCreate?: ((() => void) | (() => void)[]) | undefined; | ||
created?: ((() => void) | (() => void)[]) | undefined; | ||
beforeMount?: ((() => void) | (() => void)[]) | undefined; | ||
mounted?: ((() => void) | (() => void)[]) | undefined; | ||
beforeUpdate?: ((() => void) | (() => void)[]) | undefined; | ||
updated?: ((() => void) | (() => void)[]) | undefined; | ||
activated?: ((() => void) | (() => void)[]) | undefined; | ||
deactivated?: ((() => void) | (() => void)[]) | undefined; | ||
beforeDestroy?: ((() => void) | (() => void)[]) | undefined; | ||
beforeUnmount?: ((() => void) | (() => void)[]) | undefined; | ||
destroyed?: ((() => void) | (() => void)[]) | undefined; | ||
unmounted?: ((() => void) | (() => void)[]) | undefined; | ||
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; | ||
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined; | ||
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined; | ||
}; | ||
$forceUpdate: () => void; | ||
$nextTick: typeof import("vue").nextTick; | ||
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle; | ||
} & Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
}; | ||
initialFocus: { | ||
type: PropType<HTMLElement | null>; | ||
default: null; | ||
}; | ||
features: { | ||
type: PropType<Features>; | ||
default: Features; | ||
}; | ||
containers: { | ||
type: PropType<Containers>; | ||
default: Ref<Set<unknown>>; | ||
}; | ||
}>> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>> & {} & import("vue").ComponentCustomProperties; | ||
__isFragment?: undefined; | ||
__isTeleport?: undefined; | ||
__isSuspense?: undefined; | ||
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -11,18 +133,20 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
type: (ObjectConstructor | StringConstructor)[]; | ||
default: string; | ||
features: { | ||
type: PropType<Features>; | ||
default: Features; | ||
}; | ||
initialFocus: { | ||
type: PropType<HTMLElement | null>; | ||
default: null; | ||
containers: { | ||
type: PropType<Containers>; | ||
default: Ref<Set<unknown>>; | ||
}; | ||
}>>, { | ||
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, { | ||
features: Features; | ||
as: string | Record<string, any>; | ||
initialFocus: HTMLElement | null; | ||
}>; | ||
containers: Containers; | ||
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & { | ||
features: typeof Features; | ||
}; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import { ComputedRef } from 'vue'; | ||
import { type ComputedRef } from 'vue'; | ||
export declare function useLabels({ slot, name, props, }?: { | ||
@@ -16,2 +16,6 @@ slot?: Record<string, unknown>; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -21,3 +25,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -31,5 +35,10 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
passive: boolean; | ||
id: string; | ||
as: string | Record<string, any>; | ||
passive: boolean; | ||
}>; |
@@ -0,1 +1,3 @@ | ||
import { type PropType } from 'vue'; | ||
declare function defaultComparator<T>(a: T, z: T): boolean; | ||
export declare let Listbox: import("vue").DefineComponent<{ | ||
@@ -10,2 +12,6 @@ as: { | ||
}; | ||
by: { | ||
type: (StringConstructor | FunctionConstructor)[]; | ||
default: () => typeof defaultComparator; | ||
}; | ||
horizontal: { | ||
@@ -16,9 +22,24 @@ type: BooleanConstructor[]; | ||
modelValue: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: PropType<string | number | boolean | object | null>; | ||
default: undefined; | ||
}; | ||
defaultValue: { | ||
type: PropType<string | number | boolean | object | null>; | ||
default: undefined; | ||
}; | ||
form: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
name: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
multiple: { | ||
type: BooleanConstructor[]; | ||
default: boolean; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
'update:modelValue': (_value: any) => true; | ||
@@ -34,2 +55,6 @@ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}; | ||
by: { | ||
type: (StringConstructor | FunctionConstructor)[]; | ||
default: () => typeof defaultComparator; | ||
}; | ||
horizontal: { | ||
@@ -40,4 +65,21 @@ type: BooleanConstructor[]; | ||
modelValue: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: PropType<string | number | boolean | object | null>; | ||
default: undefined; | ||
}; | ||
defaultValue: { | ||
type: PropType<string | number | boolean | object | null>; | ||
default: undefined; | ||
}; | ||
form: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
name: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
multiple: { | ||
type: BooleanConstructor[]; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
@@ -49,2 +91,6 @@ "onUpdate:modelValue"?: ((_value: any) => any) | undefined; | ||
horizontal: boolean; | ||
by: string | Function; | ||
modelValue: string | number | boolean | object | null; | ||
defaultValue: string | number | boolean | object | null; | ||
multiple: boolean; | ||
}>; | ||
@@ -56,2 +102,6 @@ export declare let ListboxLabel: import("vue").DefineComponent<{ | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -61,3 +111,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -67,3 +117,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -76,2 +131,6 @@ }>; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -81,3 +140,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -87,3 +146,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -104,2 +168,6 @@ }>; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -109,3 +177,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -123,3 +191,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -135,3 +208,3 @@ unmount: boolean; | ||
value: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: PropType<string | number | boolean | object | null>; | ||
}; | ||
@@ -142,2 +215,6 @@ disabled: { | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -147,3 +224,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -154,3 +231,3 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
value: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: PropType<string | number | boolean | object | null>; | ||
}; | ||
@@ -161,5 +238,11 @@ disabled: { | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
disabled: boolean; | ||
}>; | ||
export {}; |
@@ -10,3 +10,3 @@ export declare let Menu: import("vue").DefineComponent<{ | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -28,2 +28,6 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -33,3 +37,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
disabled: { | ||
@@ -43,3 +47,8 @@ type: BooleanConstructor; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -61,2 +70,6 @@ disabled: boolean; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -66,3 +79,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -80,3 +93,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -95,2 +113,6 @@ unmount: boolean; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -100,3 +122,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -110,5 +132,10 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
disabled: boolean; | ||
}>; |
@@ -8,5 +8,3 @@ export declare let Popover: import("vue").DefineComponent<{ | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -28,7 +26,9 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -42,3 +42,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -64,3 +69,3 @@ disabled: boolean; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -100,2 +105,6 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -105,3 +114,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -123,7 +132,12 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
focus: boolean; | ||
id: string; | ||
as: string | Record<string, any>; | ||
unmount: boolean; | ||
static: boolean; | ||
focus: boolean; | ||
}>; | ||
@@ -137,5 +151,3 @@ export declare let PopoverGroup: import("vue").DefineComponent<{ | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -142,0 +154,0 @@ type: (ObjectConstructor | StringConstructor)[]; |
@@ -1,2 +0,2 @@ | ||
import { PropType } from 'vue'; | ||
import { type PropType, type Ref } from 'vue'; | ||
export declare let Portal: import("vue").DefineComponent<{ | ||
@@ -17,2 +17,5 @@ as: { | ||
}>; | ||
export declare function useNestedPortals(): readonly [Ref<HTMLElement[]>, import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>]; | ||
export declare let PortalGroup: import("vue").DefineComponent<{ | ||
@@ -31,3 +34,3 @@ as: { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -34,0 +37,0 @@ type: (ObjectConstructor | StringConstructor)[]; |
@@ -0,1 +1,2 @@ | ||
declare function defaultComparator<T>(a: T, z: T): boolean; | ||
export declare let RadioGroup: import("vue").DefineComponent<{ | ||
@@ -10,10 +11,29 @@ as: { | ||
}; | ||
by: { | ||
type: (StringConstructor | FunctionConstructor)[]; | ||
default: () => typeof defaultComparator; | ||
}; | ||
modelValue: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[]; | ||
default: undefined; | ||
}; | ||
defaultValue: { | ||
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[]; | ||
default: undefined; | ||
}; | ||
form: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
name: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
'update:modelValue': (_value: any) => true; | ||
@@ -29,10 +49,35 @@ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}; | ||
by: { | ||
type: (StringConstructor | FunctionConstructor)[]; | ||
default: () => typeof defaultComparator; | ||
}; | ||
modelValue: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[]; | ||
default: undefined; | ||
}; | ||
defaultValue: { | ||
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[]; | ||
default: undefined; | ||
}; | ||
form: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
name: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>> & { | ||
"onUpdate:modelValue"?: ((_value: any) => any) | undefined; | ||
}, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
disabled: boolean; | ||
by: string | Function; | ||
modelValue: string | number | boolean | Record<string, any>; | ||
defaultValue: string | number | boolean | Record<string, any>; | ||
}>; | ||
@@ -45,3 +90,3 @@ export declare let RadioGroupOption: import("vue").DefineComponent<{ | ||
value: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[]; | ||
}; | ||
@@ -52,2 +97,6 @@ disabled: { | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -57,3 +106,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -64,3 +113,3 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
value: { | ||
type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[]; | ||
type: (ObjectConstructor | NumberConstructor | BooleanConstructor | StringConstructor)[]; | ||
}; | ||
@@ -71,3 +120,8 @@ disabled: { | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -85,2 +139,6 @@ disabled: boolean; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -90,3 +148,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -100,5 +158,10 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
passive: boolean; | ||
id: string; | ||
as: string | Record<string, any>; | ||
passive: boolean; | ||
}>; | ||
@@ -110,2 +173,6 @@ export declare let RadioGroupDescription: import("vue").DefineComponent<{ | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -115,3 +182,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -121,4 +188,10 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
}>; | ||
export {}; |
@@ -10,3 +10,3 @@ export declare let SwitchGroup: import("vue").DefineComponent<{ | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -26,9 +26,35 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
type: BooleanConstructor; | ||
default: undefined; | ||
}; | ||
defaultChecked: { | ||
type: BooleanConstructor; | ||
optional: boolean; | ||
}; | ||
form: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
name: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
value: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
tabIndex: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
'update:modelValue': (_value: boolean) => true; | ||
@@ -42,9 +68,41 @@ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
type: BooleanConstructor; | ||
default: undefined; | ||
}; | ||
defaultChecked: { | ||
type: BooleanConstructor; | ||
optional: boolean; | ||
}; | ||
form: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
name: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
value: { | ||
type: StringConstructor; | ||
optional: boolean; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
tabIndex: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
}>> & { | ||
"onUpdate:modelValue"?: ((_value: boolean) => any) | undefined; | ||
}, { | ||
id: string; | ||
tabIndex: number; | ||
as: string | Record<string, any>; | ||
disabled: boolean; | ||
modelValue: boolean; | ||
defaultChecked: boolean; | ||
}>; | ||
@@ -60,2 +118,6 @@ export declare let SwitchLabel: import("vue").DefineComponent<{ | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -65,3 +127,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -75,5 +137,10 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
passive: boolean; | ||
id: string; | ||
as: string | Record<string, any>; | ||
passive: boolean; | ||
}>; | ||
@@ -85,2 +152,6 @@ export declare let SwitchDescription: import("vue").DefineComponent<{ | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -90,3 +161,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -96,4 +167,9 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
}>; |
@@ -24,5 +24,3 @@ export declare let TabGroup: import("vue").DefineComponent<{ | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
change: (_index: number) => true; | ||
@@ -68,3 +66,3 @@ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -86,2 +84,6 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -91,3 +93,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -101,3 +103,8 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
}>>, { | ||
id: string; | ||
as: string | Record<string, any>; | ||
@@ -115,3 +122,3 @@ disabled: boolean; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -137,2 +144,10 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
tabIndex: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -142,3 +157,3 @@ [key: string]: any; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -156,3 +171,13 @@ type: (ObjectConstructor | StringConstructor)[]; | ||
}; | ||
id: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
tabIndex: { | ||
type: NumberConstructor; | ||
default: number; | ||
}; | ||
}>>, { | ||
id: string; | ||
tabIndex: number; | ||
as: string | Record<string, any>; | ||
@@ -159,0 +184,0 @@ unmount: boolean; |
@@ -50,3 +50,3 @@ export declare let TransitionChild: import("vue").DefineComponent<{ | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
beforeEnter: () => true; | ||
@@ -168,3 +168,3 @@ afterEnter: () => true; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
beforeEnter: () => true; | ||
@@ -171,0 +171,0 @@ afterEnter: () => true; |
@@ -1,2 +0,6 @@ | ||
import { Ref } from 'vue'; | ||
export declare function useOutsideClick(containers: HTMLElement | Ref<HTMLElement | null> | (Ref<HTMLElement | null> | HTMLElement | null)[] | Set<HTMLElement>, cb: (event: MouseEvent | PointerEvent, target: HTMLElement) => void): void; | ||
import { type ComputedRef, type Ref } from 'vue'; | ||
type Container = Ref<HTMLElement | null> | HTMLElement | null; | ||
type ContainerCollection = Container[] | Set<Container>; | ||
type ContainerInput = Container | ContainerCollection; | ||
export declare function useOutsideClick(containers: ContainerInput | (() => ContainerInput), cb: (event: MouseEvent | PointerEvent | FocusEvent | TouchEvent, target: HTMLElement) => void, enabled?: ComputedRef<boolean>): void; | ||
export {}; |
@@ -1,5 +0,5 @@ | ||
import { Ref } from 'vue'; | ||
import { type ComponentPublicInstance, type Ref } from 'vue'; | ||
export declare function useResolveButtonType(data: Ref<{ | ||
as: string | object; | ||
type?: unknown; | ||
}>, refElement: Ref<HTMLElement | null>): Ref<unknown>; | ||
}>, refElement: Ref<HTMLElement | ComponentPublicInstance | null>): Ref<{} | undefined>; |
@@ -1,3 +0,3 @@ | ||
import { ComputedRef } from 'vue'; | ||
declare type AcceptNode = (node: HTMLElement) => typeof NodeFilter.FILTER_ACCEPT | typeof NodeFilter.FILTER_SKIP | typeof NodeFilter.FILTER_REJECT; | ||
import { type ComputedRef } from 'vue'; | ||
type AcceptNode = (node: HTMLElement) => typeof NodeFilter.FILTER_ACCEPT | typeof NodeFilter.FILTER_SKIP | typeof NodeFilter.FILTER_REJECT; | ||
export declare function useTreeWalker({ container, accept, walk, enabled, }: { | ||
@@ -4,0 +4,0 @@ container: ComputedRef<HTMLElement | null>; |
@@ -1,1 +0,2 @@ | ||
export declare function useWindowEvent<TType extends keyof WindowEventMap>(type: TType, listener: (this: Window, ev: WindowEventMap[TType]) => any, options?: boolean | AddEventListenerOptions): void; | ||
import { type Ref } from 'vue'; | ||
export declare function useWindowEvent<TType extends keyof WindowEventMap>(enabled: Ref<boolean>, type: TType, listener: (this: Window, ev: WindowEventMap[TType]) => any, options?: boolean | AddEventListenerOptions): void; |
@@ -1,12 +0,12 @@ | ||
export * from './components/combobox/combobox'; | ||
export * from './components/dialog/dialog'; | ||
export * from './components/disclosure/disclosure'; | ||
export * from './components/focus-trap/focus-trap'; | ||
export * from './components/listbox/listbox'; | ||
export * from './components/menu/menu'; | ||
export * from './components/popover/popover'; | ||
export * from './components/portal/portal'; | ||
export * from './components/radio-group/radio-group'; | ||
export * from './components/switch/switch'; | ||
export * from './components/tabs/tabs'; | ||
export * from './components/transitions/transition'; | ||
export * from './components/combobox/combobox.js'; | ||
export * from './components/dialog/dialog.js'; | ||
export * from './components/disclosure/disclosure.js'; | ||
export * from './components/focus-trap/focus-trap.js'; | ||
export * from './components/listbox/listbox.js'; | ||
export * from './components/menu/menu.js'; | ||
export * from './components/popover/popover.js'; | ||
export { Portal, PortalGroup } from './components/portal/portal.js'; | ||
export * from './components/radio-group/radio-group.js'; | ||
export * from './components/switch/switch.js'; | ||
export * from './components/tabs/tabs.js'; | ||
export * from './components/transitions/transition.js'; |
@@ -1,5 +0,7 @@ | ||
import { Ref } from 'vue'; | ||
import { type Ref } from 'vue'; | ||
export declare enum State { | ||
Open = 0, | ||
Closed = 1 | ||
Open = 1, | ||
Closed = 2, | ||
Closing = 4, | ||
Opening = 8 | ||
} | ||
@@ -6,0 +8,0 @@ export declare function hasOpenClosed(): boolean; |
@@ -15,3 +15,3 @@ export declare function usePortalRoot(): Boolean; | ||
[key: string]: any; | ||
}>[] | null | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
as: { | ||
@@ -18,0 +18,0 @@ type: (ObjectConstructor | StringConstructor)[]; |
@@ -1,10 +0,14 @@ | ||
import { Ref } from 'vue'; | ||
declare type OnUpdate = (message: StackMessage, element: HTMLElement) => void; | ||
import { type Ref } from 'vue'; | ||
type OnUpdate = (message: StackMessage, type: string, element: Ref<HTMLElement | null>) => void; | ||
export declare enum StackMessage { | ||
AddElement = 0, | ||
RemoveElement = 1 | ||
Add = 0, | ||
Remove = 1 | ||
} | ||
export declare function useStackContext(): OnUpdate; | ||
export declare function useElemenStack(element: Ref<HTMLElement | null> | null): void; | ||
export declare function useStackProvider(onUpdate?: OnUpdate): void; | ||
export declare function useStackProvider({ type, enabled, element, onUpdate, }: { | ||
type: string; | ||
enabled: Ref<boolean | undefined>; | ||
element: Ref<HTMLElement | null>; | ||
onUpdate?: OnUpdate; | ||
}): void; | ||
export {}; |
@@ -6,2 +6,3 @@ export declare enum Keys { | ||
Backspace = "Backspace", | ||
Delete = "Delete", | ||
ArrowLeft = "ArrowLeft", | ||
@@ -8,0 +9,0 @@ ArrowUp = "ArrowUp", |
@@ -23,4 +23,4 @@ export declare enum Focus { | ||
resolveActiveIndex(): number | null; | ||
resolveId(item: TItem): string; | ||
resolveDisabled(item: TItem): boolean; | ||
resolveId(item: TItem, index: number, items: TItem[]): string; | ||
resolveDisabled(item: TItem, index: number, items: TItem[]): boolean; | ||
}): number | null; |
@@ -0,9 +1,12 @@ | ||
export type Disposables = ReturnType<typeof disposables>; | ||
export declare function disposables(): { | ||
enqueue(fn: Function): void; | ||
addEventListener<TEventName extends keyof WindowEventMap>(element: HTMLElement | Window | Document, name: TEventName, listener: (event: WindowEventMap[TEventName]) => any, options?: boolean | AddEventListenerOptions): () => void; | ||
requestAnimationFrame(callback: FrameRequestCallback): void; | ||
nextFrame(callback: FrameRequestCallback): void; | ||
setTimeout(callback: (...args: any[]) => void, ms?: number | undefined, ...args: any[]): void; | ||
add(cb: () => void): void; | ||
microTask(cb: () => void): () => void; | ||
style(node: HTMLElement, property: string, value: string): () => void; | ||
group(cb: (d: typeof this) => void): () => void; | ||
add(cb: () => void): () => void; | ||
dispose(): void; | ||
workQueue(): Promise<void>; | ||
}; |
@@ -1,2 +0,4 @@ | ||
import { Ref, ComponentPublicInstance } from 'vue'; | ||
export declare function dom<T extends HTMLElement | ComponentPublicInstance>(ref?: Ref<T | null>): T | null; | ||
import type { ComponentPublicInstance, Ref } from 'vue'; | ||
type AsElement<T extends HTMLElement | ComponentPublicInstance> = (T extends HTMLElement ? T : HTMLElement) | null; | ||
export declare function dom<T extends HTMLElement | ComponentPublicInstance>(ref?: Ref<T | null>): AsElement<T> | null; | ||
export {}; |
@@ -29,4 +29,10 @@ export declare enum Focus { | ||
export declare function isFocusableElement(element: HTMLElement, mode?: FocusableMode): boolean; | ||
export declare function restoreFocusIfNecessary(element: HTMLElement | null): void; | ||
export declare function focusElement(element: HTMLElement | null): void; | ||
export declare function sortByDomNode<T>(nodes: T[], resolveKey?: (item: T) => HTMLElement | null): T[]; | ||
export declare function focusIn(container: HTMLElement | HTMLElement[], focus: Focus): FocusResult; | ||
export declare function focusFrom(current: HTMLElement | null, focus: Focus): FocusResult; | ||
export declare function focusIn(container: HTMLElement | HTMLElement[], focus: Focus, { sorted, relativeTo, skipElements, }?: Partial<{ | ||
sorted: boolean; | ||
relativeTo: HTMLElement | null; | ||
skipElements: HTMLElement[]; | ||
}>): FocusResult; |
@@ -1,2 +0,2 @@ | ||
import { Slots } from 'vue'; | ||
import { type Slots, type VNode } from 'vue'; | ||
export declare enum Features { | ||
@@ -23,4 +23,5 @@ /** No features at all */ | ||
} | ||
export declare function render({ visible, features, ...main }: { | ||
props: Record<string, any>; | ||
export declare function render({ visible, features, ourProps, theirProps, ...main }: { | ||
ourProps: Record<string, any>; | ||
theirProps: Record<string, any>; | ||
slot: Record<string, any>; | ||
@@ -33,7 +34,8 @@ attrs: Record<string, any>; | ||
visible?: boolean; | ||
}): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
}): VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
}> | VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>[] | null | undefined; | ||
}>[] | null; | ||
export declare function compact<T extends Record<any, any>>(object: T): {} & T; | ||
export declare function omit<T extends Record<any, any>, Keys extends keyof T>(object: T, keysToOmit?: readonly Keys[]): Omit<T, Keys>; |
{ | ||
"name": "@headlessui/vue", | ||
"version": "0.0.0-insiders.cefb899", | ||
"version": "0.0.0-insiders.cf0c535", | ||
"description": "A set of completely unstyled, fully accessible UI components for Vue 3, designed to integrate beautifully with Tailwind CSS.", | ||
@@ -14,5 +14,8 @@ "main": "dist/index.cjs", | ||
"exports": { | ||
"types": { | ||
"import": "./dist/index.d.ts", | ||
"require": "./dist/index.d.cts" | ||
}, | ||
"import": "./dist/headlessui.esm.js", | ||
"require": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts" | ||
"require": "./dist/index.cjs" | ||
}, | ||
@@ -38,3 +41,4 @@ "type": "module", | ||
"lint": "../../scripts/lint.sh", | ||
"playground": "yarn workspace playground-vue dev", | ||
"lint-types": "npm run attw -P --workspaces --if-present", | ||
"playground": "npm run dev --workspace=playground-vue", | ||
"clean": "rimraf ./dist" | ||
@@ -46,6 +50,9 @@ }, | ||
"devDependencies": { | ||
"@testing-library/vue": "^5.8.2", | ||
"@vue/test-utils": "^2.0.0-rc.18", | ||
"vue": "^3.2.29" | ||
"@testing-library/vue": "8.0.0", | ||
"@vue/test-utils": "^2.4.1", | ||
"vue": "3.2.37" | ||
}, | ||
"dependencies": { | ||
"@tanstack/vue-virtual": "3.0.0-beta.60" | ||
} | ||
} |
@@ -21,7 +21,3 @@ <h3 align="center"> | ||
```sh | ||
# npm | ||
npm install @headlessui/vue | ||
# Yarn | ||
yarn add @headlessui/vue | ||
``` | ||
@@ -28,0 +24,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
600984
304442
135
11530
0
13
2
37
4
+ Added@tanstack/virtual-core@3.0.0-beta.60(transitive)
+ Added@tanstack/vue-virtual@3.0.0-beta.60(transitive)
+ Addedpostcss@8.4.48(transitive)
- Removedpostcss@8.4.49(transitive)