kmcom-nuxt-layers 5.0.3 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<UModal
|
|
48
48
|
v-model:open="open"
|
|
49
49
|
fullscreen
|
|
50
|
-
:ui="{ content: '
|
|
50
|
+
:ui="{ content: 'flex items-center justify-center bg-black/95' }"
|
|
51
51
|
>
|
|
52
52
|
<template #content>
|
|
53
53
|
<div class="relative flex h-full w-full items-center justify-center p-4">
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import type { LinkProps } from '@nuxt/ui'
|
|
2
3
|
import type { UiColors } from '#layers/typography/types/colors'
|
|
3
4
|
|
|
4
5
|
defineOptions({ inheritAttrs: false })
|
|
@@ -19,10 +20,7 @@
|
|
|
19
20
|
const colorClass = useColor(color, 'text')
|
|
20
21
|
// `name` is a plain string here, not one of the app's typed route names
|
|
21
22
|
const to = computed(
|
|
22
|
-
() =>
|
|
23
|
-
({ name, params: params ?? {}, query: query ?? {} }) as unknown as NonNullable<
|
|
24
|
-
Parameters<typeof navigateTo>[0]
|
|
25
|
-
>
|
|
23
|
+
() => ({ name, params: params ?? {}, query: query ?? {} }) as unknown as LinkProps['to']
|
|
26
24
|
)
|
|
27
25
|
</script>
|
|
28
26
|
|
package/package.json
CHANGED