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,5 @@
<script setup lang="ts">
import {
DialogRoot,
type DialogRootEmits,
type DialogRootProps,
useForwardPropsEmits,

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { DialogClose, type DialogCloseProps } from "radix-vue";
import { type DialogCloseProps } from "radix-vue";
const props = defineProps<DialogCloseProps>();
</script>

View File

@@ -1,16 +1,10 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import {
DialogClose,
DialogContent,
type DialogContentEmits,
type DialogContentProps,
DialogOverlay,
DialogPortal,
useForwardPropsEmits,
} from "radix-vue";
import { Cross2Icon } from "@radix-icons/vue";
import { cn } from "@/lib/utils";
const props = defineProps<
DialogContentProps & { class?: HTMLAttributes["class"] }

View File

@@ -1,11 +1,6 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import {
DialogDescription,
type DialogDescriptionProps,
useForwardProps,
} from "radix-vue";
import { cn } from "@/lib/utils";
import { type DialogDescriptionProps, useForwardProps } from "radix-vue";
const props = defineProps<
DialogDescriptionProps & { 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"] }>();
</script>

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"];

View File

@@ -1,16 +1,10 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import {
DialogClose,
DialogContent,
type DialogContentEmits,
type DialogContentProps,
DialogOverlay,
DialogPortal,
useForwardPropsEmits,
} from "radix-vue";
import { Cross2Icon } from "@radix-icons/vue";
import { cn } from "@/lib/utils";
const props = defineProps<
DialogContentProps & { class?: HTMLAttributes["class"] }

View File

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

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { DialogTrigger, type DialogTriggerProps } from "radix-vue";
import { type DialogTriggerProps } from "radix-vue";
const props = defineProps<DialogTriggerProps>();
</script>