From 01502e54d3f81d32d85cf748b2fe6c1f737771d7 Mon Sep 17 00:00:00 2001 From: rikhall1515 <30295873+rikhall1515@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:38:19 +0200 Subject: [PATCH] chore: add more shadcn components --- components/ui/breadcrumb.tsx | 115 ++++++++++ components/ui/card.tsx | 86 +++++++ components/ui/dropdown-menu.tsx | 200 +++++++++++++++++ components/ui/pagination.tsx | 118 ++++++++++ components/ui/progress.tsx | 28 +++ components/ui/sheet.tsx | 140 ++++++++++++ components/ui/table.tsx | 117 ++++++++++ package.json | 8 +- pnpm-lock.yaml | 385 ++++++++++++++++++++++++++++++-- 9 files changed, 1183 insertions(+), 14 deletions(-) create mode 100644 components/ui/breadcrumb.tsx create mode 100644 components/ui/card.tsx create mode 100644 components/ui/dropdown-menu.tsx create mode 100644 components/ui/pagination.tsx create mode 100644 components/ui/progress.tsx create mode 100644 components/ui/sheet.tsx create mode 100644 components/ui/table.tsx diff --git a/components/ui/breadcrumb.tsx b/components/ui/breadcrumb.tsx new file mode 100644 index 0000000..4d43202 --- /dev/null +++ b/components/ui/breadcrumb.tsx @@ -0,0 +1,115 @@ +import { Slot } from "@radix-ui/react-slot"; +import { ChevronRight, MoreHorizontal } from "lucide-react"; +import * as React from "react"; + +import { cn } from "@/lib/utils"; + +const Breadcrumb = React.forwardRef< + HTMLElement, + React.ComponentPropsWithoutRef<"nav"> & { + separator?: React.ReactNode; + } +>(({ ...props }, ref) =>