chore: cleanup

This commit is contained in:
Bereket Engida
2025-01-06 14:30:39 +03:00
parent 753f930e88
commit 9f2e45b8c7
525 changed files with 218 additions and 1357 deletions

View File

@@ -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>();

View File

@@ -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,

View File

@@ -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"] }

View File

@@ -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"] }

View File

@@ -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>

View File

@@ -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"] }

View File

@@ -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"] }

View File

@@ -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"] }

View File

@@ -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"] }

View File

@@ -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"] }

View File

@@ -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>