diff --git a/src/runtime/composables/useAvatarGroup.ts b/src/runtime/composables/useAvatarGroup.ts index 642502e5..3cb46ef4 100644 --- a/src/runtime/composables/useAvatarGroup.ts +++ b/src/runtime/composables/useAvatarGroup.ts @@ -1,5 +1,5 @@ import { inject, provide, computed, type ComputedRef, type InjectionKey } from 'vue' -import type { AvatarGroupProps } from '../types' +import type { AvatarGroupProps } from '../types/index' export const avatarGroupInjectionKey: InjectionKey> = Symbol('nuxt-ui.avatar-group') diff --git a/src/runtime/composables/useFormField.ts b/src/runtime/composables/useFormField.ts index 707ec7f4..b896c46a 100644 --- a/src/runtime/composables/useFormField.ts +++ b/src/runtime/composables/useFormField.ts @@ -1,6 +1,6 @@ import { inject, ref, computed, type InjectionKey, type Ref, type ComputedRef } from 'vue' import { type UseEventBusReturn, useDebounceFn } from '@vueuse/core' -import type { FormFieldProps } from '../types' +import type { FormFieldProps } from '../types/index' import type { FormEvent, FormInputEvents, FormFieldInjectedOptions, FormInjectedOptions } from '../types/form' import type { GetObjectField } from '../types/utils' diff --git a/src/runtime/composables/useModal.ts b/src/runtime/composables/useModal.ts index 7be72d66..ba99b1b8 100644 --- a/src/runtime/composables/useModal.ts +++ b/src/runtime/composables/useModal.ts @@ -1,7 +1,7 @@ import { ref, inject } from 'vue' import type { ShallowRef, Component, InjectionKey } from 'vue' import { createSharedComposable } from '@vueuse/core' -import type { ModalProps } from '../types' +import type { ModalProps } from '../types/index' import type { ComponentProps } from '../types/component' export interface ModalState { diff --git a/src/runtime/composables/useSlideover.ts b/src/runtime/composables/useSlideover.ts index c78fc9b4..36307a43 100644 --- a/src/runtime/composables/useSlideover.ts +++ b/src/runtime/composables/useSlideover.ts @@ -1,7 +1,7 @@ import { ref, inject } from 'vue' import type { ShallowRef, Component, InjectionKey } from 'vue' import { createSharedComposable } from '@vueuse/core' -import type { SlideoverProps } from '../types' +import type { SlideoverProps } from '../types/index' import type { ComponentProps } from '../types/component' export interface SlideoverState { diff --git a/src/runtime/composables/useToast.ts b/src/runtime/composables/useToast.ts index feb139ed..ba16fa7a 100644 --- a/src/runtime/composables/useToast.ts +++ b/src/runtime/composables/useToast.ts @@ -1,5 +1,5 @@ import { useState } from '#imports' -import type { ToastProps } from '../types' +import type { ToastProps } from '../types/index' export interface Toast extends Omit { id: string | number diff --git a/src/runtime/utils/link.ts b/src/runtime/utils/link.ts index 912b6f7b..d51b310b 100644 --- a/src/runtime/utils/link.ts +++ b/src/runtime/utils/link.ts @@ -1,5 +1,5 @@ import { reactivePick } from '@vueuse/core' -import type { LinkProps } from '../types' +import type { LinkProps } from '../types/index' export function pickLinkProps(link: LinkProps & { ariaLabel?: string }) { return reactivePick(link, 'active', 'activeClass', 'ariaCurrentValue', 'ariaLabel', 'as', 'disabled', 'exact', 'exactActiveClass', 'exactHash', 'exactQuery', 'external', 'href', 'inactiveClass', 'noPrefetch', 'noRel', 'prefetch', 'prefetchedClass', 'rel', 'replace', 'target', 'to', 'type')