From dee5612abba7bfdce8ea2f8aac4a49b877fbd6c8 Mon Sep 17 00:00:00 2001 From: dvelo <52332868+DeveloLongScript@users.noreply.github.com> Date: Fri, 14 Feb 2025 18:26:36 -0600 Subject: [PATCH] feat: make components actually work --- .../src/components/ui/accordion.tsx | 57 - .../src/components/ui/alert-dialog.tsx | 141 -- .../src/components/ui/alert.tsx | 30 + .../src/components/ui/aspect-ratio.tsx | 30 + .../src/components/ui/avatar.tsx | 30 + .../src/components/ui/badge.tsx | 72 +- .../src/components/ui/breadcrumb.tsx | 32 +- .../src/components/ui/button.tsx | 87 +- .../src/components/ui/calendar.tsx | 76 - .../src/components/ui/card.tsx | 100 +- .../src/components/ui/carousel.tsx | 262 ---- .../src/components/ui/chart.tsx | 32 +- .../src/components/ui/checkbox.tsx | 32 +- .../src/components/ui/collapsible.tsx | 30 + .../src/components/ui/command.tsx | 42 +- .../src/components/ui/context-menu.tsx | 104 +- .../src/components/ui/dialog.tsx | 77 +- .../src/components/ui/discord.tsx | 47 + .../src/components/ui/drawer.tsx | 30 + .../src/components/ui/dropdown-menu.tsx | 351 +++-- .../src/components/ui/form.tsx | 34 +- .../src/components/ui/github.tsx | 50 + .../src/components/ui/hover-card.tsx | 30 + .../src/components/ui/input-otp.tsx | 70 +- .../src/components/ui/input.tsx | 37 +- .../src/components/ui/label.tsx | 30 + .../src/components/ui/loading-button.tsx | 96 ++ .../src/components/ui/loading-spinner.tsx | 2 +- .../src/components/ui/menubar.tsx | 42 +- .../src/components/ui/navigation-menu.tsx | 89 +- .../src/components/ui/pagination.tsx | 117 -- .../src/components/ui/popover.tsx | 34 +- .../src/components/ui/progress.tsx | 28 - .../src/components/ui/radio-group.tsx | 34 +- .../src/components/ui/resizable.tsx | 30 + .../src/components/ui/scroll-area.tsx | 30 + .../src/components/ui/select.tsx | 41 +- .../src/components/ui/separator.tsx | 30 + .../src/components/ui/setting.tsx | 88 ++ .../src/components/ui/sheet.tsx | 34 +- .../src/components/ui/sidebar.tsx | 1354 +++++++++-------- .../src/components/ui/skeleton.tsx | 30 + .../src/components/ui/slider.tsx | 28 - .../src/components/ui/sonner.tsx | 30 + .../src/components/ui/spinner.tsx | 80 + .../src/components/ui/switch.tsx | 30 + .../src/components/ui/table.tsx | 120 -- .../src/components/ui/tabs.tsx | 58 +- .../src/components/ui/textarea.tsx | 62 +- .../src/components/ui/toast.tsx | 129 -- .../src/components/ui/toaster.tsx | 35 - .../src/components/ui/toggle-group.tsx | 61 - .../src/components/ui/toggle.tsx | 45 - .../src/components/ui/tooltip.tsx | 50 +- .../src/components/ui/accordion.tsx | 57 - .../src/components/ui/alert-dialog.tsx | 141 -- .../src/components/ui/alert.tsx | 30 + .../src/components/ui/aspect-ratio.tsx | 30 + .../src/components/ui/avatar.tsx | 30 + .../src/components/ui/badge.tsx | 72 +- .../src/components/ui/breadcrumb.tsx | 32 +- .../src/components/ui/button.tsx | 87 +- .../src/components/ui/calendar.tsx | 76 - .../src/components/ui/card.tsx | 100 +- .../src/components/ui/carousel.tsx | 262 ---- .../src/components/ui/chart.tsx | 32 +- .../src/components/ui/checkbox.tsx | 32 +- .../src/components/ui/collapsible.tsx | 30 + .../src/components/ui/command.tsx | 42 +- .../src/components/ui/context-menu.tsx | 104 +- .../src/components/ui/dialog.tsx | 77 +- .../src/components/ui/discord.tsx | 47 + .../src/components/ui/drawer.tsx | 30 + .../src/components/ui/dropdown-menu.tsx | 351 +++-- .../src/components/ui/form.tsx | 34 +- .../src/components/ui/github.tsx | 50 + .../src/components/ui/hover-card.tsx | 30 + .../src/components/ui/input-otp.tsx | 70 +- .../src/components/ui/input.tsx | 37 +- .../src/components/ui/label.tsx | 30 + .../src/components/ui/loading-button.tsx | 96 ++ .../src/components/ui/loading-spinner.tsx | 2 +- .../src/components/ui/menubar.tsx | 42 +- .../src/components/ui/navigation-menu.tsx | 89 +- .../src/components/ui/pagination.tsx | 117 -- .../src/components/ui/popover.tsx | 34 +- .../src/components/ui/progress.tsx | 28 - .../src/components/ui/radio-group.tsx | 34 +- .../src/components/ui/resizable.tsx | 30 + .../src/components/ui/scroll-area.tsx | 30 + .../src/components/ui/select.tsx | 41 +- .../src/components/ui/separator.tsx | 30 + .../src/components/ui/setting.tsx | 88 ++ .../src/components/ui/sheet.tsx | 34 +- .../src/components/ui/sidebar.tsx | 1354 +++++++++-------- .../src/components/ui/skeleton.tsx | 30 + .../src/components/ui/slider.tsx | 28 - .../src/components/ui/sonner.tsx | 30 + .../src/components/ui/spinner.tsx | 80 + .../src/components/ui/switch.tsx | 30 + .../src/components/ui/table.tsx | 120 -- .../src/components/ui/tabs.tsx | 58 +- .../src/components/ui/textarea.tsx | 62 +- .../src/components/ui/toast.tsx | 129 -- .../src/components/ui/toaster.tsx | 35 - .../src/components/ui/toggle-group.tsx | 61 - .../src/components/ui/toggle.tsx | 45 - .../src/components/ui/tooltip.tsx | 50 +- yarn.lock | 1062 ++++++++++++- 109 files changed, 6143 insertions(+), 4359 deletions(-) delete mode 100644 apps/stage1-clk-transfer/src/components/ui/accordion.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/alert-dialog.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/calendar.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/carousel.tsx create mode 100644 apps/stage1-clk-transfer/src/components/ui/discord.tsx create mode 100644 apps/stage1-clk-transfer/src/components/ui/github.tsx create mode 100644 apps/stage1-clk-transfer/src/components/ui/loading-button.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/pagination.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/progress.tsx create mode 100644 apps/stage1-clk-transfer/src/components/ui/setting.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/slider.tsx create mode 100644 apps/stage1-clk-transfer/src/components/ui/spinner.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/table.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/toast.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/toaster.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/toggle-group.tsx delete mode 100644 apps/stage1-clk-transfer/src/components/ui/toggle.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/accordion.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/alert-dialog.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/calendar.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/carousel.tsx create mode 100644 apps/stage2-clk-transfer/src/components/ui/discord.tsx create mode 100644 apps/stage2-clk-transfer/src/components/ui/github.tsx create mode 100644 apps/stage2-clk-transfer/src/components/ui/loading-button.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/pagination.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/progress.tsx create mode 100644 apps/stage2-clk-transfer/src/components/ui/setting.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/slider.tsx create mode 100644 apps/stage2-clk-transfer/src/components/ui/spinner.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/table.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/toast.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/toaster.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/toggle-group.tsx delete mode 100644 apps/stage2-clk-transfer/src/components/ui/toggle.tsx diff --git a/apps/stage1-clk-transfer/src/components/ui/accordion.tsx b/apps/stage1-clk-transfer/src/components/ui/accordion.tsx deleted file mode 100644 index 2f55a32..0000000 --- a/apps/stage1-clk-transfer/src/components/ui/accordion.tsx +++ /dev/null @@ -1,57 +0,0 @@ -"use client" - -import * as React from "react" -import * as AccordionPrimitive from "@radix-ui/react-accordion" -import { ChevronDown } from "lucide-react" - -import { cn } from "@/lib/utils" - -const Accordion = AccordionPrimitive.Root - -const AccordionItem = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AccordionItem.displayName = "AccordionItem" - -const AccordionTrigger = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - - svg]:rotate-180", - className - )} - {...props} - > - {children} - - - -)) -AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName - -const AccordionContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - -
{children}
-
-)) -AccordionContent.displayName = AccordionPrimitive.Content.displayName - -export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } diff --git a/apps/stage1-clk-transfer/src/components/ui/alert-dialog.tsx b/apps/stage1-clk-transfer/src/components/ui/alert-dialog.tsx deleted file mode 100644 index 57760f2..0000000 --- a/apps/stage1-clk-transfer/src/components/ui/alert-dialog.tsx +++ /dev/null @@ -1,141 +0,0 @@ -"use client" - -import * as React from "react" -import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog" - -import { cn } from "@/lib/utils" -import { buttonVariants } from "@/components/ui/button" - -const AlertDialog = AlertDialogPrimitive.Root - -const AlertDialogTrigger = AlertDialogPrimitive.Trigger - -const AlertDialogPortal = AlertDialogPrimitive.Portal - -const AlertDialogOverlay = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName - -const AlertDialogContent = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - - - - -)) -AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName - -const AlertDialogHeader = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -AlertDialogHeader.displayName = "AlertDialogHeader" - -const AlertDialogFooter = ({ - className, - ...props -}: React.HTMLAttributes) => ( -
-) -AlertDialogFooter.displayName = "AlertDialogFooter" - -const AlertDialogTitle = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName - -const AlertDialogDescription = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogDescription.displayName = - AlertDialogPrimitive.Description.displayName - -const AlertDialogAction = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName - -const AlertDialogCancel = React.forwardRef< - React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, ...props }, ref) => ( - -)) -AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName - -export { - AlertDialog, - AlertDialogPortal, - AlertDialogOverlay, - AlertDialogTrigger, - AlertDialogContent, - AlertDialogHeader, - AlertDialogFooter, - AlertDialogTitle, - AlertDialogDescription, - AlertDialogAction, - AlertDialogCancel, -} diff --git a/apps/stage1-clk-transfer/src/components/ui/alert.tsx b/apps/stage1-clk-transfer/src/components/ui/alert.tsx index 5afd41d..3306dc5 100644 --- a/apps/stage1-clk-transfer/src/components/ui/alert.tsx +++ b/apps/stage1-clk-transfer/src/components/ui/alert.tsx @@ -1,3 +1,33 @@ +/* + * MHSF, Minehut Server List + * All external content is rather licensed under the ECA Agreement + * located here: https://mhsf.app/docs/legal/external-content-agreement + * + * All code under MHSF is licensed under the MIT License + * by open source contributors + * + * Copyright (c) 2025 dvelo + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" diff --git a/apps/stage1-clk-transfer/src/components/ui/aspect-ratio.tsx b/apps/stage1-clk-transfer/src/components/ui/aspect-ratio.tsx index d6a5226..2b5d202 100644 --- a/apps/stage1-clk-transfer/src/components/ui/aspect-ratio.tsx +++ b/apps/stage1-clk-transfer/src/components/ui/aspect-ratio.tsx @@ -1,3 +1,33 @@ +/* + * MHSF, Minehut Server List + * All external content is rather licensed under the ECA Agreement + * located here: https://mhsf.app/docs/legal/external-content-agreement + * + * All code under MHSF is licensed under the MIT License + * by open source contributors + * + * Copyright (c) 2025 dvelo + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + "use client" import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio" diff --git a/apps/stage1-clk-transfer/src/components/ui/avatar.tsx b/apps/stage1-clk-transfer/src/components/ui/avatar.tsx index 51e507b..47ad765 100644 --- a/apps/stage1-clk-transfer/src/components/ui/avatar.tsx +++ b/apps/stage1-clk-transfer/src/components/ui/avatar.tsx @@ -1,3 +1,33 @@ +/* + * MHSF, Minehut Server List + * All external content is rather licensed under the ECA Agreement + * located here: https://mhsf.app/docs/legal/external-content-agreement + * + * All code under MHSF is licensed under the MIT License + * by open source contributors + * + * Copyright (c) 2025 dvelo + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + "use client" import * as React from "react" diff --git a/apps/stage1-clk-transfer/src/components/ui/badge.tsx b/apps/stage1-clk-transfer/src/components/ui/badge.tsx index e87d62b..69cd254 100644 --- a/apps/stage1-clk-transfer/src/components/ui/badge.tsx +++ b/apps/stage1-clk-transfer/src/components/ui/badge.tsx @@ -1,27 +1,79 @@ -import * as React from "react" -import { cva, type VariantProps } from "class-variance-authority" +/* + * MHSF, Minehut Server List + * All external content is rather licensed under the ECA Agreement + * located here: https://mhsf.app/docs/legal/external-content-agreement + * + * All code under MHSF is licensed under the MIT License + * by open source contributors + * + * Copyright (c) 2025 dvelo + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ -import { cn } from "@/lib/utils" +import * as React from "react"; +import { cva, type VariantProps } from "class-variance-authority"; + +import { cn } from "@/lib/utils"; const badgeVariants = cva( - "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", + "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", { variants: { variant: { default: - "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80", + "border-transparent bg-primary text-primary-foreground hover:bg-primary/80", secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80", + // All custom colors in MHSF + red: "border-transparent bg-red-300 text-primary-foreground hover:bg-red-300/80", + orange: + "border-transparent bg-orange-300 text-primary-foreground hover:bg-orange-300/80", + yellow: + "border-transparent bg-yellow-300 text-primary-foreground hover:bg-yellow-300/80", + green: + "border-transparent bg-green-300 text-primary-foreground hover:bg-green-300/80", + lime: "border-transparent bg-lime-300 text-primary-foreground hover:bg-lime-300/80", + blue: "border-transparent bg-blue-300 text-primary-foreground hover:bg-blue-300/80", + teal: "border-transparent bg-teal-300 text-primary-foreground hover:bg-teal-300/80", + cyan: "border-transparent bg-cyan-300 text-primary-foreground hover:bg-cyan-300/80", + violet: + "border-transparent bg-violet-300 text-primary-foreground hover:bg-violet-300/80", + indigo: + "border-transparent bg-indigo-300 text-primary-foreground hover:bg-indigo-300/80", + purple: + "border-transparent bg-purple-300 text-primary-foreground hover:bg-purple-300/80", + fuchsia: + "border-transparent bg-fuchsia-300 text-primary-foreground hover:bg-fuchsia-300/80", + pink: "border-transparent bg-pink-300 text-primary-foreground hover:bg-pink-300/80", + // End destructive: - "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80", + "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80", outline: "text-foreground", }, }, defaultVariants: { variant: "default", }, - } -) + }, +); export interface BadgeProps extends React.HTMLAttributes, @@ -30,7 +82,7 @@ export interface BadgeProps function Badge({ className, variant, ...props }: BadgeProps) { return (
- ) + ); } -export { Badge, badgeVariants } +export { Badge, badgeVariants }; diff --git a/apps/stage1-clk-transfer/src/components/ui/breadcrumb.tsx b/apps/stage1-clk-transfer/src/components/ui/breadcrumb.tsx index 60e6c96..692f29b 100644 --- a/apps/stage1-clk-transfer/src/components/ui/breadcrumb.tsx +++ b/apps/stage1-clk-transfer/src/components/ui/breadcrumb.tsx @@ -1,3 +1,33 @@ +/* + * MHSF, Minehut Server List + * All external content is rather licensed under the ECA Agreement + * located here: https://mhsf.app/docs/legal/external-content-agreement + * + * All code under MHSF is licensed under the MIT License + * by open source contributors + * + * Copyright (c) 2025 dvelo + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + import * as React from "react" import { Slot } from "@radix-ui/react-slot" import { ChevronRight, MoreHorizontal } from "lucide-react" @@ -80,7 +110,7 @@ const BreadcrumbSeparator = ({