refactor: streamline package.json and tailwind.config.ts
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m56s

- Simplified dependencies in package.json by removing unused packages and organizing existing ones.
- Updated tailwind.config.ts for better readability and maintainability, ensuring consistent formatting and structure.
This commit is contained in:
2025-06-27 13:12:29 +05:00
parent 71fc914bde
commit 9e0d2d277b
37 changed files with 10199 additions and 9669 deletions

View File

@ -1,7 +1,7 @@
"use client"
import * as React from "react"
import { Slot } from "@radix-ui/react-slot"
import { Slot as SlotPrimitive } from "radix-ui"
import { VariantProps, cva } from "class-variance-authority"
import { PanelLeft } from "lucide-react"
@ -442,7 +442,7 @@ const SidebarGroupLabel = React.forwardRef<
HTMLDivElement,
React.ComponentProps<"div"> & { asChild?: boolean }
>(({ className, asChild = false, ...props }, ref) => {
const Comp = asChild ? Slot : "div"
const Comp = asChild ? SlotPrimitive.Slot : "div"
return (
<Comp
@ -463,7 +463,7 @@ const SidebarGroupAction = React.forwardRef<
HTMLButtonElement,
React.ComponentProps<"button"> & { asChild?: boolean }
>(({ className, asChild = false, ...props }, ref) => {
const Comp = asChild ? Slot : "button"
const Comp = asChild ? SlotPrimitive.Slot : "button"
return (
<Comp
@ -563,7 +563,7 @@ const SidebarMenuButton = React.forwardRef<
},
ref
) => {
const Comp = asChild ? Slot : "button"
const Comp = asChild ? SlotPrimitive.Slot : "button"
const { isMobile, state } = useSidebar()
const button = (
@ -609,7 +609,7 @@ const SidebarMenuAction = React.forwardRef<
showOnHover?: boolean
}
>(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
const Comp = asChild ? Slot : "button"
const Comp = asChild ? SlotPrimitive.Slot : "button"
return (
<Comp
@ -723,7 +723,7 @@ const SidebarMenuSubButton = React.forwardRef<
isActive?: boolean
}
>(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
const Comp = asChild ? Slot : "a"
const Comp = asChild ? SlotPrimitive.Slot : "a"
return (
<Comp