Use relative cn imports in UI package to improve isolation and fix

package build
This commit is contained in:
Gregor Vostrak
2026-03-23 19:16:31 +01:00
parent b94a04dca0
commit 6be6a48e0d
64 changed files with 64 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
import {
DialogContent,
type DialogContentEmits,

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
import { DialogDescription, type DialogDescriptionProps, useForwardProps } from 'reka-ui';
import { computed, type HTMLAttributes } from 'vue';

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from 'vue';
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
const props = defineProps<{ class?: HTMLAttributes['class'] }>();
</script>

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from 'vue';
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
const props = defineProps<{
class?: HTMLAttributes['class'];

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
import { X } from 'lucide-vue-next';
import {
DialogClose,

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
import { DialogTitle, type DialogTitleProps, useForwardProps } from 'reka-ui';
import { computed, type HTMLAttributes } from 'vue';