UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

37 lines (36 loc) 1.49 kB
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { RenderStrategyProps } from '../../utils'; import { PolymorphicProps } from '../factory'; import { RootEmits, RootProps } from './accordion.types'; import { FocusChangeDetails, ValueChangeDetails } from '@zag-js/accordion'; export interface AccordionRootBaseProps extends RootProps, RenderStrategyProps, PolymorphicProps { } export interface AccordionRootProps extends AccordionRootBaseProps, /** * @vue-ignore */ HTMLAttributes { } export interface AccordionRootEmits extends RootEmits { } declare const _default: __VLS_WithTemplateSlots< DefineComponent<AccordionRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { focusChange: (details: FocusChangeDetails) => any; valueChange: (details: ValueChangeDetails) => any; "update:modelValue": (value: string[]) => any; }, string, PublicProps, Readonly<AccordionRootProps> & Readonly<{ onFocusChange?: ((details: FocusChangeDetails) => any) | undefined; onValueChange?: ((details: ValueChangeDetails) => any) | undefined; "onUpdate:modelValue"?: ((value: string[]) => any) | undefined; }>, { disabled: boolean; multiple: boolean; collapsible: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };