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,13 +1,10 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import {
NavigationMenuRoot,
type NavigationMenuRootEmits,
type NavigationMenuRootProps,
useForwardPropsEmits,
} from "radix-vue";
import NavigationMenuViewport from "./NavigationMenuViewport.vue";
import { cn } from "@/lib/utils";
const props = defineProps<
NavigationMenuRootProps & { class?: HTMLAttributes["class"] }

View File

@@ -1,12 +1,10 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import {
NavigationMenuContent,
type NavigationMenuContentEmits,
type NavigationMenuContentProps,
useForwardPropsEmits,
} from "radix-vue";
import { cn } from "@/lib/utils";
const props = defineProps<
NavigationMenuContentProps & { class?: HTMLAttributes["class"] }

View File

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

View File

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

View File

@@ -1,6 +1,5 @@
<script setup lang="ts">
import {
NavigationMenuLink,
type NavigationMenuLinkEmits,
type NavigationMenuLinkProps,
useForwardPropsEmits,

View File

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

View File

@@ -1,13 +1,6 @@
<script setup lang="ts">
import { type HTMLAttributes, computed } from "vue";
import {
NavigationMenuTrigger,
type NavigationMenuTriggerProps,
useForwardProps,
} from "radix-vue";
import { ChevronDownIcon } from "@radix-icons/vue";
import { navigationMenuTriggerStyle } from ".";
import { cn } from "@/lib/utils";
import { type NavigationMenuTriggerProps, useForwardProps } from "radix-vue";
const props = defineProps<
NavigationMenuTriggerProps & { class?: HTMLAttributes["class"] }

View File

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