Standardized tilde imports for non modules
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
useForwardPropsEmits
|
||||
} from "radix-vue"
|
||||
import { SelectScrollDownButton, SelectScrollUpButton } from "."
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
defineOptions({
|
||||
inheritAttrs: false
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue"
|
||||
import { SelectGroup, type SelectGroupProps } from "radix-vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<SelectGroupProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
useForwardProps
|
||||
} from "radix-vue"
|
||||
import { Check } from "lucide-vue-next"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<SelectItemProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from "vue"
|
||||
import { SelectLabel, type SelectLabelProps } from "radix-vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes["class"] }>()
|
||||
</script>
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
useForwardProps
|
||||
} from "radix-vue"
|
||||
import { ChevronDown } from "lucide-vue-next"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<SelectScrollDownButtonProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { type HTMLAttributes, computed } from "vue"
|
||||
import { SelectScrollUpButton, type SelectScrollUpButtonProps, useForwardProps } from "radix-vue"
|
||||
import { ChevronUp } from "lucide-vue-next"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<SelectScrollUpButtonProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue"
|
||||
import { SelectSeparator, type SelectSeparatorProps } from "radix-vue"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<SelectSeparatorProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { type HTMLAttributes, computed } from "vue"
|
||||
import { SelectIcon, SelectTrigger, type SelectTriggerProps, useForwardProps } from "radix-vue"
|
||||
import { ChevronDown } from "lucide-vue-next"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { cn } from "~/lib/utils"
|
||||
|
||||
const props = defineProps<SelectTriggerProps & { class?: HTMLAttributes["class"] }>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user