chore: improve types export

This commit is contained in:
Benjamin Canac
2024-06-25 17:58:14 +02:00
parent ea288e9624
commit cd7cc0d9a3
50 changed files with 87 additions and 83 deletions

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { z } from 'zod'
import type { FormSubmitEvent, Form } from '#ui/types/form'
import type { FormSubmitEvent, Form } from '@nuxt/ui'
const schema = z.object({
input: z.string().min(10),

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { z } from 'zod'
import type { FormSubmitEvent } from '#ui/types/form'
import type { FormSubmitEvent } from '@nuxt/ui'
const schema = z.object({
email: z.string().min(2),

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { z } from 'zod'
import type { FormSubmitEvent } from '#ui/types/form'
import type { FormSubmitEvent } from '@nuxt/ui'
const schema = z.object({
email: z.string().min(2),

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { z } from 'zod'
import type { FormSubmitEvent } from '#ui/types/form'
import type { FormSubmitEvent } from '@nuxt/ui'
const schema = z.object({
email: z.string().email(),

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import theme from '#build/ui/kbd'
import { kbdKeysMap } from '#ui/composables/useKbd'
import { kbdKeysMap } from '@nuxt/ui/runtime/composables/useKbd.js'
const sizes = Object.keys(theme.variants.size)
const kbdKeys = Object.keys(kbdKeysMap)