Standardized tilde imports for non modules

This commit is contained in:
Alexis
2025-04-18 17:44:21 +02:00
parent 034713961b
commit 7480447420
109 changed files with 133 additions and 133 deletions

View File

@@ -2,7 +2,7 @@
import { computed } from "vue"
import { ToastRoot, type ToastRootEmits, useForwardPropsEmits } from "radix-vue"
import { type ToastProps, toastVariants } from "."
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ToastProps>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { ToastAction, type ToastActionProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ToastActionProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -2,7 +2,7 @@
import { type HTMLAttributes, computed } from "vue"
import { ToastClose, type ToastCloseProps } from "radix-vue"
import { X } from "lucide-vue-next"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ToastCloseProps & {
class?: HTMLAttributes["class"]

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { ToastDescription, type ToastDescriptionProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ToastDescriptionProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { ToastTitle, type ToastTitleProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ToastTitleProps & { class?: HTMLAttributes["class"] }>()

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue"
import { ToastViewport, type ToastViewportProps } from "radix-vue"
import { cn } from "@/lib/utils"
import { cn } from "~/lib/utils"
const props = defineProps<ToastViewportProps & { class?: HTMLAttributes["class"] }>()