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,7 +1,7 @@
<script setup lang="ts">
import type { HTMLAttributes } from 'vue';
import type { FieldVariants } from '.';
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
import { fieldVariants } from '.';
const props = defineProps<{

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

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,6 +1,6 @@
<script setup lang="ts">
import type { Component, HTMLAttributes } from 'vue';
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
import { Label } from '../label/index';
const props = defineProps<{

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,6 +1,6 @@
<script setup lang="ts">
import type { HTMLAttributes } from 'vue';
import { cn } from '@/lib/utils';
import { cn } from '../utils/cn';
import { Separator } from '../separator';
const props = defineProps<{

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,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'];