mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
chore: cleanup
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { SelectRootEmits, SelectRootProps } from "radix-vue";
|
||||
import { SelectRoot, useForwardPropsEmits } from "radix-vue";
|
||||
import { useForwardPropsEmits } from "radix-vue";
|
||||
|
||||
const props = defineProps<SelectRootProps>();
|
||||
const emits = defineEmits<SelectRootEmits>();
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
import {
|
||||
SelectContent,
|
||||
type SelectContentEmits,
|
||||
type SelectContentProps,
|
||||
SelectPortal,
|
||||
SelectViewport,
|
||||
useForwardPropsEmits,
|
||||
} from "radix-vue";
|
||||
import { SelectScrollDownButton, SelectScrollUpButton } from ".";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
defineOptions({
|
||||
inheritAttrs: false,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
import { SelectGroup, type SelectGroupProps } from "radix-vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { type SelectGroupProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<
|
||||
SelectGroupProps & { class?: HTMLAttributes["class"] }
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
import {
|
||||
SelectItem,
|
||||
SelectItemIndicator,
|
||||
type SelectItemProps,
|
||||
SelectItemText,
|
||||
useForwardProps,
|
||||
} from "radix-vue";
|
||||
import { CheckIcon } from "@radix-icons/vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { type SelectItemProps, useForwardProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<
|
||||
SelectItemProps & { class?: HTMLAttributes["class"] }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { SelectItemText, type SelectItemTextProps } from "radix-vue";
|
||||
import { type SelectItemTextProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<SelectItemTextProps>();
|
||||
</script>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from "vue";
|
||||
import { SelectLabel, type SelectLabelProps } from "radix-vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { type SelectLabelProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<
|
||||
SelectLabelProps & { class?: HTMLAttributes["class"] }
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
import {
|
||||
SelectScrollDownButton,
|
||||
type SelectScrollDownButtonProps,
|
||||
useForwardProps,
|
||||
} from "radix-vue";
|
||||
import { ChevronDownIcon } from "@radix-icons/vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { type SelectScrollDownButtonProps, useForwardProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<
|
||||
SelectScrollDownButtonProps & { class?: HTMLAttributes["class"] }
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
import {
|
||||
SelectScrollUpButton,
|
||||
type SelectScrollUpButtonProps,
|
||||
useForwardProps,
|
||||
} from "radix-vue";
|
||||
import { ChevronUpIcon } from "@radix-icons/vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { type SelectScrollUpButtonProps, useForwardProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<
|
||||
SelectScrollUpButtonProps & { class?: HTMLAttributes["class"] }
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
import { SelectSeparator, type SelectSeparatorProps } from "radix-vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { type SelectSeparatorProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<
|
||||
SelectSeparatorProps & { class?: HTMLAttributes["class"] }
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
import {
|
||||
SelectIcon,
|
||||
SelectTrigger,
|
||||
type SelectTriggerProps,
|
||||
useForwardProps,
|
||||
} from "radix-vue";
|
||||
import { CaretSortIcon } from "@radix-icons/vue";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { type SelectTriggerProps, useForwardProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<
|
||||
SelectTriggerProps & { class?: HTMLAttributes["class"] }
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { SelectValue, type SelectValueProps } from "radix-vue";
|
||||
import { type SelectValueProps } from "radix-vue";
|
||||
|
||||
const props = defineProps<SelectValueProps>();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user