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

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@ import type { ToastRootEmits } from 'radix-vue'
import type { ToastProps } from '.'
import { ToastRoot, useForwardPropsEmits } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
import { toastVariants } from '.'
const props = defineProps<ToastProps>()
+2 -1
View File
@@ -3,7 +3,8 @@ import type { ToastActionProps } from 'radix-vue'
import type { HTMLAttributes } from 'vue'
import { ToastAction } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<ToastActionProps & { class?: HTMLAttributes['class'] }>()
+2 -1
View File
@@ -4,7 +4,8 @@ import type { HTMLAttributes } from 'vue'
import { ToastClose } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<ToastCloseProps & {
class?: HTMLAttributes['class']
@@ -3,7 +3,8 @@ import type { ToastDescriptionProps } from 'radix-vue'
import type { HTMLAttributes } from 'vue'
import { ToastDescription } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<ToastDescriptionProps & { class?: HTMLAttributes['class'] }>()
+2 -1
View File
@@ -3,7 +3,8 @@ import type { ToastTitleProps } from 'radix-vue'
import type { HTMLAttributes } from 'vue'
import { ToastTitle } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<ToastTitleProps & { class?: HTMLAttributes['class'] }>()
@@ -3,7 +3,8 @@ import type { ToastViewportProps } from 'radix-vue'
import type { HTMLAttributes } from 'vue'
import { ToastViewport } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '@/lib/utils'
import { cn } from '~/lib/utils'
const props = defineProps<ToastViewportProps & { class?: HTMLAttributes['class'] }>()