refactor(ui): update import paths from @/lib/utils to ~/lib/utils

Standardize import paths across UI components to use ~/lib/utils alias instead of @/lib/utils for better consistency and maintainability.
This commit is contained in:
Khafid Prayoga
2025-08-22 11:18:06 +07:00
parent 746d39ea14
commit ae0acf84d0
217 changed files with 444 additions and 239 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ import type { HTMLAttributes } from 'vue'
import { StepperRoot, useForwardPropsEmits } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<StepperRootProps & { class?: HTMLAttributes['class'] }>()
const emits = defineEmits<StepperRootEmits>()
@@ -4,7 +4,8 @@ import type { HTMLAttributes } from 'vue'
import { StepperDescription, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<StepperDescriptionProps & { class?: HTMLAttributes['class'] }>()
@@ -4,7 +4,8 @@ import type { HTMLAttributes } from 'vue'
import { StepperIndicator, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<StepperIndicatorProps & { class?: HTMLAttributes['class'] }>()
@@ -4,7 +4,8 @@ import type { HTMLAttributes } from 'vue'
import { StepperItem, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<StepperItemProps & { class?: HTMLAttributes['class'] }>()
@@ -4,7 +4,8 @@ import type { HTMLAttributes } from 'vue'
import { StepperSeparator, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<StepperSeparatorProps & { class?: HTMLAttributes['class'] }>()
@@ -4,7 +4,8 @@ import type { HTMLAttributes } from 'vue'
import { StepperTitle, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<StepperTitleProps & { class?: HTMLAttributes['class'] }>()
@@ -4,7 +4,7 @@ import type { HTMLAttributes } from 'vue'
import { StepperTrigger, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<StepperTriggerProps & { class?: HTMLAttributes['class'] }>()