diff --git a/src/runtime/types/avatar.d.ts b/src/runtime/types/avatar.d.ts index 333e5744..a0c9d9ed 100644 --- a/src/runtime/types/avatar.d.ts +++ b/src/runtime/types/avatar.d.ts @@ -1,8 +1,7 @@ import { avatar } from '../ui.config' import colors from '#ui-colors' -import type { AppConfig } from 'nuxt/schema' -export type AvatarSize = keyof typeof avatar.size | keyof AppConfig['ui']['avatar']['size'] +export type AvatarSize = keyof typeof avatar.size export type AvatarChipColor = 'gray' | typeof colors[number] export type AvatarChipPosition = keyof typeof avatar.chip.position diff --git a/src/runtime/types/badge.d.ts b/src/runtime/types/badge.d.ts index 9d5060bf..5bfc5c29 100644 --- a/src/runtime/types/badge.d.ts +++ b/src/runtime/types/badge.d.ts @@ -1,11 +1,10 @@ import { badge } from '../ui.config' import type { NestedKeyOf } from '.' import colors from '#ui-colors' -import type { AppConfig } from 'nuxt/schema' -export type BadgeSize = keyof typeof badge.size | keyof AppConfig['ui']['badge']['size'] -export type BadgeColor = keyof typeof badge.color | keyof AppConfig['ui']['badge']['color'] | typeof colors[number] -export type BadgeVariant = keyof typeof badge.variant | keyof AppConfig['ui']['badge']['variant'] | NestedKeyOf | NestedKeyOf +export type BadgeSize = keyof typeof badge.size +export type BadgeColor = keyof typeof badge.color | typeof colors[number] +export type BadgeVariant = keyof typeof badge.variant | NestedKeyOf export interface Badge { label?: string diff --git a/src/runtime/types/button.d.ts b/src/runtime/types/button.d.ts index a636ddfe..65ac2f67 100644 --- a/src/runtime/types/button.d.ts +++ b/src/runtime/types/button.d.ts @@ -2,11 +2,10 @@ import type { Link } from './link' import { button } from '../ui.config' import type { NestedKeyOf } from '.' import colors from '#ui-colors' -import type { AppConfig } from 'nuxt/schema' -export type ButtonSize = keyof typeof button.size | keyof AppConfig['ui']['button']['size'] -export type ButtonColor = keyof typeof button.color | keyof AppConfig['ui']['button']['color'] | typeof colors[number] -export type ButtonVariant = keyof typeof button.variant | keyof AppConfig['ui']['button']['variant'] | NestedKeyOf | NestedKeyOf +export type ButtonSize = keyof typeof button.size +export type ButtonColor = keyof typeof button.color | typeof colors[number] +export type ButtonVariant = keyof typeof button.variant | NestedKeyOf export interface Button extends Link { type?: string diff --git a/src/runtime/types/form.d.ts b/src/runtime/types/form.d.ts index c3e1507f..c9cc4055 100644 --- a/src/runtime/types/form.d.ts +++ b/src/runtime/types/form.d.ts @@ -1,4 +1,4 @@ -import type { Ref } from 'vue' +import { Ref } from 'vue' export interface FormError { path: T