UNPKG

@ark-ui/vue

Version:

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

38 lines (37 loc) 1.48 kB
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { PolymorphicProps } from '../factory'; import { RootEmits, RootProps } from './rating-group.types'; import { ValueChangeDetails, HoverChangeDetails } from '@zag-js/rating-group'; export interface RatingGroupRootBaseProps extends RootProps, PolymorphicProps { } export interface RatingGroupRootProps extends RatingGroupRootBaseProps, /** * @vue-ignore */ HTMLAttributes { } export interface RatingGroupRootEmits extends RootEmits { } declare const _default: __VLS_WithTemplateSlots< DefineComponent<RatingGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { valueChange: (details: ValueChangeDetails) => any; "update:modelValue": (value: number) => any; hoverChange: (details: HoverChangeDetails) => any; }, string, PublicProps, Readonly<RatingGroupRootProps> & Readonly<{ onValueChange?: ((details: ValueChangeDetails) => any) | undefined; "onUpdate:modelValue"?: ((value: number) => any) | undefined; onHoverChange?: ((details: HoverChangeDetails) => any) | undefined; }>, { disabled: boolean; required: boolean; autoFocus: boolean; readOnly: boolean; allowHalf: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };