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,8 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import type { ComboboxRootEmits, ComboboxRootProps } from "radix-vue";
import { ComboboxRoot, useForwardPropsEmits } from "radix-vue";
import { cn } from "@/lib/utils";
import { useForwardPropsEmits } from "radix-vue";
const props = withDefaults(
defineProps<ComboboxRootProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -1,8 +1,6 @@
<script setup lang="ts">
import { useForwardPropsEmits } from "radix-vue";
import type { DialogRootEmits, DialogRootProps } from "radix-vue";
import Command from "./Command.vue";
import { Dialog, DialogContent } from "@/components/ui/dialog";
const props = defineProps<DialogRootProps>();
const emits = defineEmits<DialogRootEmits>();

View File

@@ -1,8 +1,6 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import type { ComboboxEmptyProps } from "radix-vue";
import { ComboboxEmpty } from "radix-vue";
import { cn } from "@/lib/utils";
const props = defineProps<
ComboboxEmptyProps & { class?: HTMLAttributes["class"] }

View File

@@ -1,8 +1,6 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import type { ComboboxGroupProps } from "radix-vue";
import { ComboboxGroup, ComboboxLabel } from "radix-vue";
import { cn } from "@/lib/utils";
const props = defineProps<
ComboboxGroupProps & {

View File

@@ -1,12 +1,6 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import { MagnifyingGlassIcon } from "@radix-icons/vue";
import {
ComboboxInput,
type ComboboxInputProps,
useForwardProps,
} from "radix-vue";
import { cn } from "@/lib/utils";
import { type ComboboxInputProps, useForwardProps } from "radix-vue";
defineOptions({
inheritAttrs: false,

View File

@@ -1,8 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import type { ComboboxItemEmits, ComboboxItemProps } from "radix-vue";
import { ComboboxItem, useForwardPropsEmits } from "radix-vue";
import { cn } from "@/lib/utils";
import { useForwardPropsEmits } from "radix-vue";
const props = defineProps<
ComboboxItemProps & { class?: HTMLAttributes["class"] }

View File

@@ -1,8 +1,7 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import type { ComboboxContentEmits, ComboboxContentProps } from "radix-vue";
import { ComboboxContent, useForwardPropsEmits } from "radix-vue";
import { cn } from "@/lib/utils";
import { useForwardPropsEmits } from "radix-vue";
const props = withDefaults(
defineProps<ComboboxContentProps & { class?: HTMLAttributes["class"] }>(),

View File

@@ -1,8 +1,6 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import type { ComboboxSeparatorProps } from "radix-vue";
import { ComboboxSeparator } from "radix-vue";
import { cn } from "@/lib/utils";
const props = defineProps<
ComboboxSeparatorProps & { class?: HTMLAttributes["class"] }

View File

@@ -1,6 +1,5 @@
<script setup lang="ts">
import type { HTMLAttributes } from "vue";
import { cn } from "@/lib/utils";
const props = defineProps<{
class?: HTMLAttributes["class"];