diff --git a/apps/web/package.json b/apps/web/package.json index d742adedb..c2906e237 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -25,7 +25,7 @@ "@hookform/resolvers": "^3.3.1", "@next/bundle-analyzer": "^12.3.4", "@panva/hkdf": "^1.2.1", - "@radix-ui/react-slot": "^1.0.1", + "@radix-ui/react-slot": "^1.1.2", "@radix-ui/react-switch": "^1.0.2", "@rallly/billing": "*", "@rallly/database": "*", @@ -50,7 +50,7 @@ "ai": "^4.1.50", "autoprefixer": "^10.4.13", "calendar-link": "^2.6.0", - "class-variance-authority": "^0.7.0", + "class-variance-authority": "^0.7.1", "color-hash": "^2.0.2", "cookie": "^0.7.0", "crypto": "^1.0.1", @@ -66,7 +66,7 @@ "linkify-react": "^4.1.3", "linkifyjs": "^4.1.3", "lodash": "^4.17.21", - "lucide-react": "^0.387.0", + "lucide-react": "^0.479.0", "micro": "^10.0.1", "motion": "^12.6.2", "nanoid": "^5.0.9", diff --git a/package.json b/package.json index 28dcf6a02..ed218b218 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "prettier-plugin-tailwindcss": "^0.6.8", "react": "^18.2.0", "react-dom": "^18.2.0", - "tailwindcss": "^3.4.4", + "tailwindcss": "^3.4.17", "turbo": "^2.4.4", "typescript": "^5.8.2", "vitest": "^2.1.9", @@ -58,6 +58,5 @@ "engines": { "node": "20.x" }, - "packageManager": "yarn@1.22.22", - "dependencies": {} + "packageManager": "yarn@1.22.22" } diff --git a/packages/icons/package.json b/packages/icons/package.json index 0f7fe9e20..70037157d 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -6,6 +6,6 @@ "types": "src/index.ts", "dependencies": { "@heroicons/react": "^1.0.6", - "lucide-react": "^0.387.0" + "lucide-react": "^0.479.0" } } diff --git a/packages/ui/components.json b/packages/ui/components.json index 26e982c9f..6a210b900 100644 --- a/packages/ui/components.json +++ b/packages/ui/components.json @@ -5,9 +5,9 @@ "tsx": true, "tailwind": { "config": "tailwind.config.js", - "css": "styles/globals.css", + "css": "src/styles/globals.css", "baseColor": "gray", - "cssVariables": true, + "cssVariables": false, "prefix": "" }, "aliases": { diff --git a/packages/ui/package.json b/packages/ui/package.json index 54dfc457a..41d2dfea4 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -12,19 +12,22 @@ "exports": { ".": "./src/lib/utils.ts", "./*": "./src/*.tsx", - "./hooks/*": "./src/hooks/*.ts" + "./hooks/*": "./src/hooks/*.ts", + "./styles": "./src/styles/globals.css" }, "dependencies": { "@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-avatar": "^1.1.0", "@radix-ui/react-checkbox": "^1.0.4", + "@radix-ui/react-collapsible": "^1.1.3", "@radix-ui/react-dialog": "^1.1.6", "@radix-ui/react-dropdown-menu": "^2.0.4", "@radix-ui/react-label": "^2.0.1", "@radix-ui/react-popover": "^1.0.5", "@radix-ui/react-radio-group": "^1.2.0", "@radix-ui/react-select": "^1.2.1", - "@radix-ui/react-slot": "^1.0.1", + "@radix-ui/react-separator": "^1.1.2", + "@radix-ui/react-slot": "^1.1.2", "@radix-ui/react-switch": "^1.0.2", "@radix-ui/react-tabs": "^1.0.4", "@radix-ui/react-toast": "^1.1.4", @@ -32,9 +35,10 @@ "@rallly/icons": "*", "@rallly/languages": "*", "@rallly/tailwind-config": "*", - "class-variance-authority": "^0.7.0", + "class-variance-authority": "^0.7.1", "clsx": "^1.2.1", "cmdk": "^0.2.1", + "lucide-react": "^0.479.0", "tailwind-merge": "^1.12.0" }, "devDependencies": { diff --git a/packages/ui/src/breadcrumb.tsx b/packages/ui/src/breadcrumb.tsx new file mode 100644 index 000000000..ba3738f08 --- /dev/null +++ b/packages/ui/src/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) =>