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:
@@ -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'] }>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user