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 {
SelectContent,
type SelectContentEmits,

View File

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

View File

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

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 { SelectLabel, type SelectLabelProps } from 'reka-ui';
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes['class'] }>();

View File

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

View File

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

View File

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

View File

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