Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
Refactor/package UI (#1832)
Maximilian Kaske5f795296ac14
diff --git a/.gitignore b/.gitignoreindex b8fe3c218..60b5002e2 100644--- a/.gitignore+++ b/.gitignore@@ -69,3 +69,7 @@ apps/ingest-worker/.dev.varsapps/alerting-engine/tmp/.env.docker++# UI Registry build output+apps/web/public/r+packages/ui/public/rdiff --git a/apps/dashboard/package.json b/apps/dashboard/package.jsonindex dfea9295b..3def81b7f 100644--- a/apps/dashboard/package.json+++ b/apps/dashboard/package.json@@ -46,6 +46,7 @@"@openstatus/theme-store": "workspace:*","@openstatus/tinybird": "workspace:*","@openstatus/tracker": "workspace:*",+ "@openstatus/ui": "workspace:*","@openstatus/upstash": "workspace:*","@openstatus/utils": "workspace:*","@radix-ui/react-alert-dialog": "1.1.14",@@ -80,7 +81,7 @@"class-variance-authority": "0.7.1","clsx": "2.1.1","cmdk": "1.1.1",- "date-fns": "2.30.0",+ "date-fns": "3.6.0","lucide-react": "0.525.0","next": "16.0.10","next-auth": "5.0.0-beta.29",@@ -110,7 +111,7 @@"@types/node": "24.0.8","@types/react": "19.2.2","@types/react-dom": "19.2.2",- "shadcn": "2.7.0",+ "shadcn": "3.8.4","tailwindcss": "4.1.11","tw-animate-css": "1.3.4","typescript": "5.9.3"diff --git a/apps/dashboard/src/app/(dashboard)/cli/nav-actions.tsx b/apps/dashboard/src/app/(dashboard)/cli/nav-actions.tsxindex 0af7e145e..a2c5a63c1 100644--- a/apps/dashboard/src/app/(dashboard)/cli/nav-actions.tsx+++ b/apps/dashboard/src/app/(dashboard)/cli/nav-actions.tsx@@ -1,11 +1,11 @@import { NavFeedback } from "@/components/nav/nav-feedback";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";+} from "@openstatus/ui/components/ui/tooltip";import { Book } from "lucide-react";export function NavActions() {diff --git a/apps/dashboard/src/app/(dashboard)/cli/page.tsx b/apps/dashboard/src/app/(dashboard)/cli/page.tsxindex 25ff12fae..a2b60217d 100644--- a/apps/dashboard/src/app/(dashboard)/cli/page.tsx+++ b/apps/dashboard/src/app/(dashboard)/cli/page.tsx@@ -7,7 +7,12 @@ import {SectionTitle,} from "@/components/content/section";import { Section } from "@/components/content/section";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";import { FileDown, FileJson, Key, Terminal } from "lucide-react";import React from "react";diff --git a/apps/dashboard/src/app/(dashboard)/invite/client.tsx b/apps/dashboard/src/app/(dashboard)/invite/client.tsxindex 5a9eca272..55a597140 100644--- a/apps/dashboard/src/app/(dashboard)/invite/client.tsx+++ b/apps/dashboard/src/app/(dashboard)/invite/client.tsx@@ -7,8 +7,8 @@ import {SectionHeader,SectionTitle,} from "@/components/content/section";-import { Button } from "@/components/ui/button";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useMutation, useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { useQueryStates } from "nuqs";diff --git a/apps/dashboard/src/app/(dashboard)/monitors/(list)/nav-actions.tsx b/apps/dashboard/src/app/(dashboard)/monitors/(list)/nav-actions.tsxindex d9e22d3b8..3a8461465 100644--- a/apps/dashboard/src/app/(dashboard)/monitors/(list)/nav-actions.tsx+++ b/apps/dashboard/src/app/(dashboard)/monitors/(list)/nav-actions.tsx@@ -2,8 +2,8 @@import { UpgradeDialog } from "@/components/dialogs/upgrade";import { NavFeedback } from "@/components/nav/nav-feedback";-import { Button } from "@/components/ui/button";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useQuery } from "@tanstack/react-query";import Link from "next/link";import { useState } from "react";diff --git a/apps/dashboard/src/app/(dashboard)/monitors/[id]/nav-actions.tsx b/apps/dashboard/src/app/(dashboard)/monitors/[id]/nav-actions.tsxindex 999c2877e..29ed6f4fb 100644--- a/apps/dashboard/src/app/(dashboard)/monitors/[id]/nav-actions.tsx+++ b/apps/dashboard/src/app/(dashboard)/monitors/[id]/nav-actions.tsx@@ -3,17 +3,17 @@import { DataTableSheetTest } from "@/components/data-table/response-logs/data-table-sheet-test";import { QuickActions } from "@/components/dropdowns/quick-actions";import { NavFeedback } from "@/components/nav/nav-feedback";-import { Button } from "@/components/ui/button";+import { getActions } from "@/data/monitors.client";+import { useTRPC } from "@/lib/trpc/client";+import type { RouterOutputs } from "@openstatus/api";+import { deserialize } from "@openstatus/assertions";+import { Button } from "@openstatus/ui/components/ui/button";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { getActions } from "@/data/monitors.client";-import { useTRPC } from "@/lib/trpc/client";-import type { RouterOutputs } from "@openstatus/api";-import { deserialize } from "@openstatus/assertions";+} from "@openstatus/ui/components/ui/tooltip";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { Zap } from "lucide-react";diff --git a/apps/dashboard/src/app/(dashboard)/monitors/[id]/overview/client.tsx b/apps/dashboard/src/app/(dashboard)/monitors/[id]/overview/client.tsxindex 97698aa69..b153fa80d 100644--- a/apps/dashboard/src/app/(dashboard)/monitors/[id]/overview/client.tsx+++ b/apps/dashboard/src/app/(dashboard)/monitors/[id]/overview/client.tsx@@ -23,12 +23,17 @@ import { PopoverQuantile } from "@/components/popovers/popover-quantile";import { PopoverResolution } from "@/components/popovers/popover-resolution";import { DataTable } from "@/components/ui/data-table/data-table";import { DataTablePagination } from "@/components/ui/data-table/data-table-pagination";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";import { mapRegionMetrics } from "@/data/metrics.client";import { periodToFromDate } from "@/data/metrics.client";import type { RegionMetric } from "@/data/region-metrics";import { useTRPC } from "@/lib/trpc/client";import { monitorRegions } from "@openstatus/db/src/schema/constants";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";import { useQuery } from "@tanstack/react-query";import { endOfDay } from "date-fns";import { useParams } from "next/navigation";diff --git a/apps/dashboard/src/app/(dashboard)/monitors/[id]/sidebar.tsx b/apps/dashboard/src/app/(dashboard)/monitors/[id]/sidebar.tsxindex 4d5a8b63f..8725b3958 100644--- a/apps/dashboard/src/app/(dashboard)/monitors/[id]/sidebar.tsx+++ b/apps/dashboard/src/app/(dashboard)/monitors/[id]/sidebar.tsx@@ -2,11 +2,11 @@import { TableCellLink } from "@/components/data-table/table-cell-link";import { SidebarRight } from "@/components/nav/sidebar-right";-import { Badge } from "@/components/ui/badge";import { monitorTypes } from "@/data/monitors.client";import { formatMilliseconds } from "@/lib/formatter";import { useTRPC } from "@/lib/trpc/client";import { deserialize } from "@openstatus/assertions";+import { Badge } from "@openstatus/ui/components/ui/badge";import { useQuery } from "@tanstack/react-query";import { Logs } from "lucide-react";import { useParams, useRouter } from "next/navigation";diff --git a/apps/dashboard/src/app/(dashboard)/onboarding/client.tsx b/apps/dashboard/src/app/(dashboard)/onboarding/client.tsxindex ebc706431..dbfb2688c 100644--- a/apps/dashboard/src/app/(dashboard)/onboarding/client.tsx+++ b/apps/dashboard/src/app/(dashboard)/onboarding/client.tsx@@ -25,9 +25,9 @@ import {import { CreateMonitorForm } from "@/components/forms/onboarding/create-monitor";import { CreatePageForm } from "@/components/forms/onboarding/create-page";import { LearnFromForm } from "@/components/forms/onboarding/learn-from";-import { Button } from "@/components/ui/button";import { extractDomain } from "@/lib/domains";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { ArrowUpRight } from "lucide-react";import Link from "next/link";diff --git a/apps/dashboard/src/app/(dashboard)/private-locations/nav-actions.tsx b/apps/dashboard/src/app/(dashboard)/private-locations/nav-actions.tsxindex 08d28e723..56a9e7b9e 100644--- a/apps/dashboard/src/app/(dashboard)/private-locations/nav-actions.tsx+++ b/apps/dashboard/src/app/(dashboard)/private-locations/nav-actions.tsx@@ -3,8 +3,8 @@import { UpgradeDialog } from "@/components/dialogs/upgrade";import { FormSheetPrivateLocation } from "@/components/forms/private-location/sheet";import { NavFeedback } from "@/components/nav/nav-feedback";-import { Button } from "@/components/ui/button";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { useState } from "react";diff --git a/apps/dashboard/src/app/(dashboard)/settings/account/page.tsx b/apps/dashboard/src/app/(dashboard)/settings/account/page.tsxindex 511af2e7a..60d501ea8 100644--- a/apps/dashboard/src/app/(dashboard)/settings/account/page.tsx+++ b/apps/dashboard/src/app/(dashboard)/settings/account/page.tsx@@ -19,9 +19,9 @@ import {FormCardFooter,} from "@/components/forms/form-card";import { ThemeToggle } from "@/components/theme-toggle";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";import { useTRPC } from "@/lib/trpc/client";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";import { useQuery } from "@tanstack/react-query";export default function Page() {diff --git a/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx b/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsxindex c36d2321b..a96e3e394 100644--- a/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx+++ b/apps/dashboard/src/app/(dashboard)/settings/billing/client.tsx@@ -25,10 +25,10 @@ import {FormCardSeparator,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";import { useTRPC } from "@/lib/trpc/client";import { allPlans } from "@openstatus/db/src/schema/plan/config";import type { Limits } from "@openstatus/db/src/schema/plan/schema";+import { Button } from "@openstatus/ui/components/ui/button";import { useMutation, useQuery } from "@tanstack/react-query";import { useRouter } from "next/navigation";import { useQueryStates } from "nuqs";diff --git a/apps/dashboard/src/app/(dashboard)/status-pages/(list)/nav-actions.tsx b/apps/dashboard/src/app/(dashboard)/status-pages/(list)/nav-actions.tsxindex 608a47f29..6967c4916 100644--- a/apps/dashboard/src/app/(dashboard)/status-pages/(list)/nav-actions.tsx+++ b/apps/dashboard/src/app/(dashboard)/status-pages/(list)/nav-actions.tsx@@ -2,8 +2,8 @@import { UpgradeDialog } from "@/components/dialogs/upgrade";import { NavFeedback } from "@/components/nav/nav-feedback";-import { Button } from "@/components/ui/button";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useQuery } from "@tanstack/react-query";import Link from "next/link";import { useState } from "react";diff --git a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/maintenances/page.tsx b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/maintenances/page.tsxindex c8d897a24..a37e95091 100644--- a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/maintenances/page.tsx+++ b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/maintenances/page.tsx@@ -11,9 +11,9 @@ import {} from "@/components/content/section";import { columns } from "@/components/data-table/maintenances/columns";import { FormSheetMaintenance } from "@/components/forms/maintenance/sheet";-import { Button } from "@/components/ui/button";import { DataTable } from "@/components/ui/data-table/data-table";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useMutation, useQuery } from "@tanstack/react-query";import { Plus } from "lucide-react";import { useParams } from "next/navigation";diff --git a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/nav-actions.tsx b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/nav-actions.tsxindex d3166a314..5f41de8e5 100644--- a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/nav-actions.tsx+++ b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/nav-actions.tsx@@ -2,15 +2,15 @@import { QuickActions } from "@/components/dropdowns/quick-actions";import { NavFeedback } from "@/components/nav/nav-feedback";-import { Button } from "@/components/ui/button";+import { getActions } from "@/data/status-pages.client";+import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { getActions } from "@/data/status-pages.client";-import { useTRPC } from "@/lib/trpc/client";+} from "@openstatus/ui/components/ui/tooltip";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { Globe } from "lucide-react";import { useParams, usePathname, useRouter } from "next/navigation";diff --git a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/sidebar.tsx b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/sidebar.tsxindex a510bcf52..6024bd473 100644--- a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/sidebar.tsx+++ b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/sidebar.tsx@@ -3,14 +3,14 @@import { Link } from "@/components/common/link";import { TableCellLink } from "@/components/data-table/table-cell-link";import { SidebarRight } from "@/components/nav/sidebar-right";+import { useTRPC } from "@/lib/trpc/client";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { useTRPC } from "@/lib/trpc/client";+} from "@openstatus/ui/components/ui/tooltip";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";import { useQuery } from "@tanstack/react-query";import { ExternalLink } from "lucide-react";import { useParams } from "next/navigation";diff --git a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/[reportId]/page.tsx b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/[reportId]/page.tsxindex 265571e31..ae7ee9dd4 100644--- a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/[reportId]/page.tsx+++ b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/[reportId]/page.tsx@@ -17,8 +17,8 @@ import { FormSheetWithDirtyProtection } from "@/components/forms/form-sheet";import type { FormValues } from "@/components/forms/status-report-update/form";import { FormStatusReportUpdateCard } from "@/components/forms/status-report-update/form-status-report";import { FormSheetStatusReportUpdate } from "@/components/forms/status-report-update/sheet";-import { Button } from "@/components/ui/button";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { Plus } from "lucide-react";import { useParams } from "next/navigation";diff --git a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/page.tsx b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/page.tsxindex 1c0678fa7..2dd73bba0 100644--- a/apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/page.tsx+++ b/apps/dashboard/src/app/(dashboard)/status-pages/[id]/status-reports/page.tsx@@ -12,9 +12,9 @@ import {import { DataTable as UpdatesDataTable } from "@/components/data-table/status-report-updates/data-table";import { columns } from "@/components/data-table/status-reports/columns";import { FormSheetStatusReport } from "@/components/forms/status-report/sheet";-import { Button } from "@/components/ui/button";import { DataTable } from "@/components/ui/data-table/data-table";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { Plus } from "lucide-react";import { useParams } from "next/navigation";diff --git a/apps/dashboard/src/app/globals.css b/apps/dashboard/src/app/globals.cssindex 1e505e5a7..f066a81dc 100644--- a/apps/dashboard/src/app/globals.css+++ b/apps/dashboard/src/app/globals.css@@ -1,12 +1,11 @@@import "tailwindcss";+@import "@openstatus/ui/globals";@import "tw-animate-css";@plugin "@tailwindcss/typography";/* safelist */@source inline("has-data-[slot=slider-range]:bg-red-500");-@custom-variant dark (&:is(.dark *));-@theme {--breakpoint-xs: 30rem;}@@ -15,125 +14,8 @@--font-cal: var(--font-cal-sans);--font-commit-mono: var(--font-commit-mono);--font-sans: var(--font-inter);-- --color-background: var(--background);- --color-foreground: var(--foreground);--font-sans: var(--font-geist-sans);--font-mono: var(--font-geist-mono);- --color-sidebar-ring: var(--sidebar-ring);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar: var(--sidebar);- --color-chart-5: var(--chart-5);- --color-chart-4: var(--chart-4);- --color-chart-3: var(--chart-3);- --color-chart-2: var(--chart-2);- --color-chart-1: var(--chart-1);- --color-ring: var(--ring);- --color-input: var(--input);- --color-border: var(--border);- --color-destructive: var(--destructive);- --color-accent-foreground: var(--accent-foreground);- --color-accent: var(--accent);- --color-muted-foreground: var(--muted-foreground);- --color-muted: var(--muted);- --color-secondary-foreground: var(--secondary-foreground);- --color-secondary: var(--secondary);- --color-primary-foreground: var(--primary-foreground);- --color-primary: var(--primary);- --color-popover-foreground: var(--popover-foreground);- --color-popover: var(--popover);- --color-card-foreground: var(--card-foreground);- --color-card: var(--card);- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);-- --color-success: var(--success);- --color-warning: var(--warning);- --color-info: var(--info);-}--:root {- --radius: 0.625rem;- --background: oklch(1 0 0);- --foreground: oklch(0.145 0 0);- --card: oklch(1 0 0);- --card-foreground: oklch(0.145 0 0);- --popover: oklch(1 0 0);- --popover-foreground: oklch(0.145 0 0);- --primary: oklch(0.205 0 0);- --primary-foreground: oklch(0.985 0 0);- --secondary: oklch(0.97 0 0);- --secondary-foreground: oklch(0.205 0 0);- --muted: oklch(0.97 0 0);- --muted-foreground: oklch(0.556 0 0);- --accent: oklch(0.97 0 0);- --accent-foreground: oklch(0.205 0 0);- --destructive: oklch(0.577 0.245 27.325);- --border: oklch(0.922 0 0);- --input: oklch(0.922 0 0);- --ring: oklch(0.708 0 0);- --chart-1: oklch(0.646 0.222 41.116);- --chart-2: oklch(0.6 0.118 184.704);- --chart-3: oklch(0.398 0.07 227.392);- --chart-4: oklch(0.828 0.189 84.429);- --chart-5: oklch(0.769 0.188 70.08);- --sidebar: oklch(0.985 0 0);- --sidebar-foreground: oklch(0.145 0 0);- --sidebar-primary: oklch(0.205 0 0);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.97 0 0);- --sidebar-accent-foreground: oklch(0.205 0 0);- --sidebar-border: oklch(0.922 0 0);- --sidebar-ring: oklch(0.708 0 0);-- --success: oklch(0.72 0.19 150);- --warning: oklch(0.77 0.16 70);- --info: oklch(0.62 0.19 260);-}--.dark {- --background: oklch(0.145 0 0);- --foreground: oklch(0.985 0 0);- --card: oklch(0.205 0 0);- --card-foreground: oklch(0.985 0 0);- --popover: oklch(0.205 0 0);- --popover-foreground: oklch(0.985 0 0);- --primary: oklch(0.922 0 0);- --primary-foreground: oklch(0.205 0 0);- --secondary: oklch(0.269 0 0);- --secondary-foreground: oklch(0.985 0 0);- --muted: oklch(0.269 0 0);- --muted-foreground: oklch(0.708 0 0);- --accent: oklch(0.269 0 0);- --accent-foreground: oklch(0.985 0 0);- --destructive: oklch(0.704 0.191 22.216);- --border: oklch(1 0 0 / 10%);- --input: oklch(1 0 0 / 15%);- --ring: oklch(0.556 0 0);- --chart-1: oklch(0.488 0.243 264.376);- --chart-2: oklch(0.696 0.17 162.48);- --chart-3: oklch(0.769 0.188 70.08);- --chart-4: oklch(0.627 0.265 303.9);- --chart-5: oklch(0.645 0.246 16.439);- --sidebar: oklch(0.205 0 0);- --sidebar-foreground: oklch(0.985 0 0);- --sidebar-primary: oklch(0.488 0.243 264.376);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.269 0 0);- --sidebar-accent-foreground: oklch(0.985 0 0);- --sidebar-border: oklch(1 0 0 / 10%);- --sidebar-ring: oklch(0.556 0 0);-- --success: oklch(0.72 0.19 150);- --warning: oklch(0.77 0.16 70);- --info: oklch(0.62 0.19 260);}@layer base {@@ -143,4 +25,4 @@body {@apply bg-background text-foreground;}-}+}\ No newline at end of filediff --git a/apps/dashboard/src/app/layout.tsx b/apps/dashboard/src/app/layout.tsxindex b6ca28bed..f78be5082 100644--- a/apps/dashboard/src/app/layout.tsx+++ b/apps/dashboard/src/app/layout.tsx@@ -3,10 +3,10 @@ import { Geist, Geist_Mono, Inter } from "next/font/google";import "./globals.css";import { TailwindIndicator } from "@/components/tailwind-indicator";import { ThemeProvider } from "@/components/theme-provider";-import { Toaster } from "@/components/ui/sonner";import { auth } from "@/lib/auth";import { TRPCReactProvider } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";+import { Toaster } from "@openstatus/ui/components/ui/sonner";+import { cn } from "@openstatus/ui/lib/utils";import { SessionProvider } from "next-auth/react";import LocalFont from "next/font/local";import { NuqsAdapter } from "nuqs/adapters/next/app";diff --git a/apps/dashboard/src/app/login/_components/magic-link-form.tsx b/apps/dashboard/src/app/login/_components/magic-link-form.tsxindex 9ca16e66d..c79075779 100644--- a/apps/dashboard/src/app/login/_components/magic-link-form.tsx+++ b/apps/dashboard/src/app/login/_components/magic-link-form.tsx@@ -2,9 +2,9 @@import { useFormStatus } from "react-dom";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";import { toast } from "sonner";import { signInWithResendAction } from "./actions";diff --git a/apps/dashboard/src/app/login/page.tsx b/apps/dashboard/src/app/login/page.tsxindex a6f8578be..791dec7ae 100644--- a/apps/dashboard/src/app/login/page.tsx+++ b/apps/dashboard/src/app/login/page.tsx@@ -1,10 +1,10 @@import Link from "next/link";-import { Button } from "@/components/ui/button";-import { Separator } from "@/components/ui/separator";import { signIn } from "@/lib/auth";import { GitHubIcon } from "@openstatus/icons";import { GoogleIcon } from "@openstatus/icons";+import { Button } from "@openstatus/ui/components/ui/button";+import { Separator } from "@openstatus/ui/components/ui/separator";import type { SearchParams } from "nuqs/server";import MagicLinkForm from "./_components/magic-link-form";import { searchParamsCache } from "./search-params";diff --git a/apps/dashboard/src/app/not-found.tsx b/apps/dashboard/src/app/not-found.tsxindex a09f2c187..da114012e 100644--- a/apps/dashboard/src/app/not-found.tsx+++ b/apps/dashboard/src/app/not-found.tsx@@ -3,7 +3,7 @@import Link from "next/link";import { useRouter } from "next/navigation";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";export default function NotFound() {const router = useRouter();diff --git a/apps/dashboard/src/components/chart/chart-area-latency.tsx b/apps/dashboard/src/components/chart/chart-area-latency.tsxindex eea5e317b..75dee7385 100644--- a/apps/dashboard/src/components/chart/chart-area-latency.tsx+++ b/apps/dashboard/src/components/chart/chart-area-latency.tsx@@ -10,6 +10,9 @@ import {YAxis,} from "recharts";+import { type PERCENTILES, mapLatency } from "@/data/metrics.client";+import { periodToFromDate } from "@/data/metrics.client";+import { useTRPC } from "@/lib/trpc/client";import {type ChartConfig,ChartContainer,@@ -17,10 +20,7 @@ import {ChartLegendContent,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import { type PERCENTILES, mapLatency } from "@/data/metrics.client";-import { periodToFromDate } from "@/data/metrics.client";-import { useTRPC } from "@/lib/trpc/client";+} from "@openstatus/ui/components/ui/chart";import { useQuery } from "@tanstack/react-query";import { endOfDay } from "date-fns";import { ChartTooltipNumber } from "./chart-tooltip-number";diff --git a/apps/dashboard/src/components/chart/chart-area-timing-phases.tsx b/apps/dashboard/src/components/chart/chart-area-timing-phases.tsxindex 4368915d0..ae9bac090 100644--- a/apps/dashboard/src/components/chart/chart-area-timing-phases.tsx+++ b/apps/dashboard/src/components/chart/chart-area-timing-phases.tsx@@ -10,6 +10,12 @@ import {YAxis,} from "recharts";+import {+ type INTERVALS,+ type PERCENTILES,+ mapTimingPhases,+} from "@/data/metrics.client";+import { useTRPC } from "@/lib/trpc/client";import {type ChartConfig,ChartContainer,@@ -17,13 +23,7 @@ import {ChartLegendContent,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import {- type INTERVALS,- type PERCENTILES,- mapTimingPhases,-} from "@/data/metrics.client";-import { useTRPC } from "@/lib/trpc/client";+} from "@openstatus/ui/components/ui/chart";import { useQuery } from "@tanstack/react-query";import {ChartTooltipNumber,diff --git a/apps/dashboard/src/components/chart/chart-bar-uptime-light.tsx b/apps/dashboard/src/components/chart/chart-bar-uptime-light.tsxindex dc45166c0..7d432a6b6 100644--- a/apps/dashboard/src/components/chart/chart-bar-uptime-light.tsx+++ b/apps/dashboard/src/components/chart/chart-bar-uptime-light.tsx@@ -1,17 +1,17 @@"use client";-import { Skeleton } from "@/components/ui/skeleton";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import { Bar, BarChart, XAxis } from "recharts";+import { mapUptime } from "@/data/metrics.client";+import { useTRPC } from "@/lib/trpc/client";+import type { Region } from "@openstatus/db/src/schema/constants";import {type ChartConfig,ChartContainer,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import { mapUptime } from "@/data/metrics.client";-import { useTRPC } from "@/lib/trpc/client";-import type { Region } from "@openstatus/db/src/schema/constants";+} from "@openstatus/ui/components/ui/chart";import { useQuery } from "@tanstack/react-query";// import { startOfDay, subDays } from "date-fns";diff --git a/apps/dashboard/src/components/chart/chart-bar-uptime.tsx b/apps/dashboard/src/components/chart/chart-bar-uptime.tsxindex 24a661afa..0bccf5717 100644--- a/apps/dashboard/src/components/chart/chart-bar-uptime.tsx+++ b/apps/dashboard/src/components/chart/chart-bar-uptime.tsx@@ -2,22 +2,22 @@import { Bar, BarChart, CartesianGrid, XAxis, YAxis } from "recharts";-import {- type ChartConfig,- ChartContainer,- ChartLegend,- ChartLegendContent,- ChartTooltip,- ChartTooltipContent,-} from "@/components/ui/chart";import {type PERIODS,mapUptime,periodToFromDate,periodToInterval,} from "@/data/metrics.client";-import { useIsMobile } from "@/hooks/use-mobile";import { useTRPC } from "@/lib/trpc/client";+import {+ type ChartConfig,+ ChartContainer,+ ChartLegend,+ ChartLegendContent,+ ChartTooltip,+ ChartTooltipContent,+} from "@openstatus/ui/components/ui/chart";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";import { useQuery } from "@tanstack/react-query";import { endOfDay } from "date-fns";diff --git a/apps/dashboard/src/components/chart/chart-line-region.tsx b/apps/dashboard/src/components/chart/chart-line-region.tsxindex 8f279fdf4..fd52ced86 100644--- a/apps/dashboard/src/components/chart/chart-line-region.tsx+++ b/apps/dashboard/src/components/chart/chart-line-region.tsx@@ -7,8 +7,8 @@ import {ChartContainer,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/chart";+import { cn } from "@openstatus/ui/lib/utils";import { ChartTooltipNumber } from "./chart-tooltip-number";const chartConfig = {diff --git a/apps/dashboard/src/components/chart/chart-line-regions.tsx b/apps/dashboard/src/components/chart/chart-line-regions.tsxindex ff9c9d3f7..71e19f2ae 100644--- a/apps/dashboard/src/components/chart/chart-line-regions.tsx+++ b/apps/dashboard/src/components/chart/chart-line-regions.tsx@@ -2,6 +2,11 @@import { CartesianGrid, Line, LineChart, XAxis, YAxis } from "recharts";+import { getRegionColor } from "@/data/regions";+import { cn } from "@/lib/utils";+import type { PrivateLocation } from "@openstatus/db/src/schema";+import { monitorRegions } from "@openstatus/db/src/schema/constants";+import { getRegionInfo } from "@openstatus/regions";import {type ChartConfig,ChartContainer,@@ -9,13 +14,8 @@ import {ChartLegendContent,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import { getRegionColor } from "@/data/regions";-import { useIsMobile } from "@/hooks/use-mobile";-import { cn } from "@/lib/utils";-import type { PrivateLocation } from "@openstatus/db/src/schema";-import { monitorRegions } from "@openstatus/db/src/schema/constants";-import { getRegionInfo } from "@openstatus/regions";+} from "@openstatus/ui/components/ui/chart";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";import { ChartTooltipNumber } from "./chart-tooltip-number";function getChartConfig(privateLocations?: PrivateLocation[]) {diff --git a/apps/dashboard/src/components/chart/chart-tooltip-number.tsx b/apps/dashboard/src/components/chart/chart-tooltip-number.tsxindex ce152b7d9..8ee2db5da 100644--- a/apps/dashboard/src/components/chart/chart-tooltip-number.tsx+++ b/apps/dashboard/src/components/chart/chart-tooltip-number.tsx@@ -1,5 +1,5 @@-import type { ChartConfig } from "@/components/ui/chart";-import { cn } from "@/lib/utils";+import type { ChartConfig } from "@openstatus/ui/components/ui/chart";+import { cn } from "@openstatus/ui/lib/utils";import type {NameType,ValueType,diff --git a/apps/dashboard/src/components/common/code.tsx b/apps/dashboard/src/components/common/code.tsxindex 5ef399475..593a4d4fc 100644--- a/apps/dashboard/src/components/common/code.tsx+++ b/apps/dashboard/src/components/common/code.tsx@@ -1,8 +1,8 @@"use client";-import { Button } from "@/components/ui/button";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { cn } from "@/lib/utils";+import { Button } from "@openstatus/ui/components/ui/button";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { cn } from "@openstatus/ui/lib/utils";import { Check, Copy } from "lucide-react";export function Code({diff --git a/apps/dashboard/src/components/common/hover-card-timestamp.tsx b/apps/dashboard/src/components/common/hover-card-timestamp.tsxindex 671d975d4..d538cf66b 100644--- a/apps/dashboard/src/components/common/hover-card-timestamp.tsx+++ b/apps/dashboard/src/components/common/hover-card-timestamp.tsx@@ -1,13 +1,12 @@"use client";+import { UTCDate } from "@date-fns/utc";import {HoverCard,HoverCardContent,HoverCardTrigger,-} from "@/components/ui/hover-card";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { UTCDate } from "@date-fns/utc";-import { HoverCardPortal } from "@radix-ui/react-hover-card";+} from "@openstatus/ui/components/ui/hover-card";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";import { format, formatDistanceToNowStrict } from "date-fns";import { Copy } from "lucide-react";import { Check } from "lucide-react";@@ -39,25 +38,23 @@ export function HoverCardTimestamp({return (<HoverCard openDelay={0} closeDelay={0}><HoverCardTrigger asChild>{children}</HoverCardTrigger>- <HoverCardPortal>- <HoverCardContent- className="z-10 w-auto p-2"- {...{ side, align, alignOffset, sideOffset }}- >- <dl className="flex flex-col gap-1">- <Row value={String(date.getTime())} label="Timestamp" />- <Row- value={format(new UTCDate(date), "LLL dd, y HH:mm:ss")}- label="UTC"- />- <Row value={format(date, "LLL dd, y HH:mm:ss")} label={timezone} />- <Row- value={formatDistanceToNowStrict(date, { addSuffix: true })}- label="Relative"- />- </dl>- </HoverCardContent>- </HoverCardPortal>+ <HoverCardContent+ className="z-10 w-auto p-2"+ {...{ side, align, alignOffset, sideOffset }}+ >+ <dl className="flex flex-col gap-1">+ <Row value={String(date.getTime())} label="Timestamp" />+ <Row+ value={format(new UTCDate(date), "LLL dd, y HH:mm:ss")}+ label="UTC"+ />+ <Row value={format(date, "LLL dd, y HH:mm:ss")} label={timezone} />+ <Row+ value={formatDistanceToNowStrict(date, { addSuffix: true })}+ label="Relative"+ />+ </dl>+ </HoverCardContent></HoverCard>);}diff --git a/apps/dashboard/src/components/common/icon-cloud-provider.tsx b/apps/dashboard/src/components/common/icon-cloud-provider.tsxindex 4647a80d4..4a88c2c98 100644--- a/apps/dashboard/src/components/common/icon-cloud-provider.tsx+++ b/apps/dashboard/src/components/common/icon-cloud-provider.tsx@@ -1,11 +1,11 @@+import { Fly, Koyeb, Railway } from "@openstatus/icons";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";-import { Fly, Koyeb, Railway } from "@openstatus/icons";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import { Globe } from "lucide-react";export function IconCloudProvider({diff --git a/apps/dashboard/src/components/common/input-with-addons.tsx b/apps/dashboard/src/components/common/input-with-addons.tsxindex 3bf41c66f..b77aa263a 100644--- a/apps/dashboard/src/components/common/input-with-addons.tsx+++ b/apps/dashboard/src/components/common/input-with-addons.tsx@@ -1,7 +1,7 @@import * as React from "react";-import { cn } from "@/lib/utils";-import { Input } from "../ui/input";+import { Input } from "@openstatus/ui/components/ui/input";+import { cn } from "@openstatus/ui/lib/utils";export interface InputWithAddonsPropsextends React.InputHTMLAttributes<HTMLInputElement> {diff --git a/apps/dashboard/src/components/common/note.tsx b/apps/dashboard/src/components/common/note.tsxindex 550560186..b84d1ecd2 100644--- a/apps/dashboard/src/components/common/note.tsx+++ b/apps/dashboard/src/components/common/note.tsx@@ -1,5 +1,5 @@-import { Button } from "@/components/ui/button";-import { cn } from "@/lib/utils";+import { Button } from "@openstatus/ui/components/ui/button";+import { cn } from "@openstatus/ui/lib/utils";import { type VariantProps, cva } from "class-variance-authority";const noteVariants = cva(diff --git a/apps/dashboard/src/components/content/action-card.tsx b/apps/dashboard/src/components/content/action-card.tsxindex bc70fe75d..b920d7e93 100644--- a/apps/dashboard/src/components/content/action-card.tsx+++ b/apps/dashboard/src/components/content/action-card.tsx@@ -5,8 +5,8 @@ import {CardFooter,CardHeader,CardTitle,-} from "@/components/ui/card";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/card";+import { cn } from "@openstatus/ui/lib/utils";export function ActionCard({children,diff --git a/apps/dashboard/src/components/content/billing-addons.tsx b/apps/dashboard/src/components/content/billing-addons.tsxindex 82efe1df9..ed64df277 100644--- a/apps/dashboard/src/components/content/billing-addons.tsx+++ b/apps/dashboard/src/components/content/billing-addons.tsx@@ -8,23 +8,23 @@ import {AlertDialogHeader,AlertDialogTitle,AlertDialogTrigger,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";-import { Label } from "@/components/ui/label";-import { useCookieState } from "@/hooks/use-cookie-state";+} from "@openstatus/ui/components/ui/alert-dialog";+import { Button } from "@openstatus/ui/components/ui/button";+import { Label } from "@openstatus/ui/components/ui/label";+import { useCookieState } from "@openstatus/ui/hooks/use-cookie-state";-import { ButtonGroup } from "@/components/ui/button-group";import { useTRPC } from "@/lib/trpc/client";import type { RouterOutputs } from "@openstatus/api";import { allPlans } from "@openstatus/db/src/schema/plan/config";import type { Addons } from "@openstatus/db/src/schema/plan/schema";import { getAddonPriceConfig } from "@openstatus/db/src/schema/plan/utils";+import { ButtonGroup } from "@openstatus/ui/components/ui/button-group";+import { Input } from "@openstatus/ui/components/ui/input";import { useMutation, useQueryClient } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { Check, MinusIcon, PlusIcon } from "lucide-react";import { useEffect, useState, useTransition } from "react";import { toast } from "sonner";-import { Input } from "../ui/input";type Workspace = RouterOutputs["workspace"]["get"];diff --git a/apps/dashboard/src/components/content/billing-overlay.tsx b/apps/dashboard/src/components/content/billing-overlay.tsxindex 029994686..dd5fa365f 100644--- a/apps/dashboard/src/components/content/billing-overlay.tsx+++ b/apps/dashboard/src/components/content/billing-overlay.tsx@@ -1,5 +1,5 @@-import { Button } from "@/components/ui/button";-import { cn } from "@/lib/utils";+import { Button } from "@openstatus/ui/components/ui/button";+import { cn } from "@openstatus/ui/lib/utils";export function BillingOverlayContainer({children,diff --git a/apps/dashboard/src/components/content/billing-progress.tsx b/apps/dashboard/src/components/content/billing-progress.tsxindex 84f0915a1..3203ad5ec 100644--- a/apps/dashboard/src/components/content/billing-progress.tsx+++ b/apps/dashboard/src/components/content/billing-progress.tsx@@ -1,4 +1,4 @@-import { Progress } from "@/components/ui/progress";+import { Progress } from "@openstatus/ui/components/ui/progress";interface BillingProgressProps {label: string;diff --git a/apps/dashboard/src/components/content/block-wrapper.tsx b/apps/dashboard/src/components/content/block-wrapper.tsxindex e5e8b9539..2782fdde9 100644--- a/apps/dashboard/src/components/content/block-wrapper.tsx+++ b/apps/dashboard/src/components/content/block-wrapper.tsx@@ -2,13 +2,13 @@import * as React from "react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {Collapsible,CollapsibleContent,CollapsibleTrigger,-} from "@/components/ui/collapsible";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/collapsible";+import { cn } from "@openstatus/ui/lib/utils";export function BlockWrapper({className,diff --git a/apps/dashboard/src/components/controls-search/button-reset.tsx b/apps/dashboard/src/components/controls-search/button-reset.tsxindex ff782b117..7115970c7 100644--- a/apps/dashboard/src/components/controls-search/button-reset.tsx+++ b/apps/dashboard/src/components/controls-search/button-reset.tsx@@ -1,6 +1,6 @@"use client";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import { X } from "lucide-react";import { useRouter, useSearchParams } from "next/navigation";diff --git a/apps/dashboard/src/components/controls-search/command-region.tsx b/apps/dashboard/src/components/controls-search/command-region.tsxindex 9d8bce505..36d7bdab6 100644--- a/apps/dashboard/src/components/controls-search/command-region.tsx+++ b/apps/dashboard/src/components/controls-search/command-region.tsx@@ -7,7 +7,10 @@ import {BillingOverlayButton,BillingOverlayDescription,} from "@/components/content/billing-overlay";-import { Button } from "@/components/ui/button";+import type { REGIONS } from "@/data/metrics.client";+import { useTRPC } from "@/lib/trpc/client";+import { formatRegionCode, groupByContinent } from "@openstatus/regions";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -16,16 +19,13 @@ import {CommandItem,CommandList,CommandSeparator,-} from "@/components/ui/command";+} from "@openstatus/ui/components/ui/command";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import type { REGIONS } from "@/data/metrics.client";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { formatRegionCode, groupByContinent } from "@openstatus/regions";+} from "@openstatus/ui/components/ui/popover";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import { Check, Globe, Lock } from "lucide-react";import { parseAsArrayOf, parseAsString, useQueryState } from "nuqs";diff --git a/apps/dashboard/src/components/controls-search/command-tags.tsx b/apps/dashboard/src/components/controls-search/command-tags.tsxindex 576b83f06..3b9ec5389 100644--- a/apps/dashboard/src/components/controls-search/command-tags.tsx+++ b/apps/dashboard/src/components/controls-search/command-tags.tsx@@ -1,6 +1,7 @@"use client";-import { Button } from "@/components/ui/button";+import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -8,14 +9,13 @@ import {CommandInput,CommandItem,CommandList,-} from "@/components/ui/command";+} from "@openstatus/ui/components/ui/command";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/popover";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import { Check } from "lucide-react";import { parseAsArrayOf, parseAsString, useQueryState } from "nuqs";diff --git a/apps/dashboard/src/components/controls-search/dropdown-interval.tsx b/apps/dashboard/src/components/controls-search/dropdown-interval.tsxindex 03662ffbb..95b789853 100644--- a/apps/dashboard/src/components/controls-search/dropdown-interval.tsx+++ b/apps/dashboard/src/components/controls-search/dropdown-interval.tsx@@ -1,6 +1,7 @@"use client";-import { Button } from "@/components/ui/button";+import { INTERVALS } from "@/data/metrics.client";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuContent,@@ -8,8 +9,7 @@ import {DropdownMenuItem,DropdownMenuLabel,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { INTERVALS } from "@/data/metrics.client";+} from "@openstatus/ui/components/ui/dropdown-menu";import { Check } from "lucide-react";import { parseAsNumberLiteral, useQueryState } from "nuqs";diff --git a/apps/dashboard/src/components/controls-search/dropdown-percentile.tsx b/apps/dashboard/src/components/controls-search/dropdown-percentile.tsxindex 120ecbb2e..1c26d72b5 100644--- a/apps/dashboard/src/components/controls-search/dropdown-percentile.tsx+++ b/apps/dashboard/src/components/controls-search/dropdown-percentile.tsx@@ -1,6 +1,7 @@"use client";-import { Button } from "@/components/ui/button";+import { PERCENTILES } from "@/data/metrics.client";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuContent,@@ -8,9 +9,8 @@ import {DropdownMenuItem,DropdownMenuLabel,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { PERCENTILES } from "@/data/metrics.client";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/dropdown-menu";+import { cn } from "@openstatus/ui/lib/utils";import { Check } from "lucide-react";import { parseAsStringLiteral, useQueryState } from "nuqs";diff --git a/apps/dashboard/src/components/controls-search/dropdown-period.tsx b/apps/dashboard/src/components/controls-search/dropdown-period.tsxindex 3ccd85fe0..7dd6a8086 100644--- a/apps/dashboard/src/components/controls-search/dropdown-period.tsx+++ b/apps/dashboard/src/components/controls-search/dropdown-period.tsx@@ -1,6 +1,7 @@"use client";-import { Button } from "@/components/ui/button";+import { PERIODS } from "@/data/metrics.client";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuContent,@@ -8,8 +9,7 @@ import {DropdownMenuItem,DropdownMenuLabel,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { PERIODS } from "@/data/metrics.client";+} from "@openstatus/ui/components/ui/dropdown-menu";import { Check } from "lucide-react";import { parseAsStringLiteral, useQueryState } from "nuqs";diff --git a/apps/dashboard/src/components/controls-search/dropdown-status.tsx b/apps/dashboard/src/components/controls-search/dropdown-status.tsxindex 565ee5ec6..3af916ec4 100644--- a/apps/dashboard/src/components/controls-search/dropdown-status.tsx+++ b/apps/dashboard/src/components/controls-search/dropdown-status.tsx@@ -1,6 +1,7 @@"use client";-import { Button } from "@/components/ui/button";+import { STATUS } from "@/data/metrics.client";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuContent,@@ -8,9 +9,8 @@ import {DropdownMenuItem,DropdownMenuLabel,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { STATUS } from "@/data/metrics.client";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/dropdown-menu";+import { cn } from "@openstatus/ui/lib/utils";import { Check } from "lucide-react";import { parseAsStringLiteral, useQueryState } from "nuqs";diff --git a/apps/dashboard/src/components/controls-search/dropdown-trigger.tsx b/apps/dashboard/src/components/controls-search/dropdown-trigger.tsxindex 552b5f48a..fe22efaf2 100644--- a/apps/dashboard/src/components/controls-search/dropdown-trigger.tsx+++ b/apps/dashboard/src/components/controls-search/dropdown-trigger.tsx@@ -1,6 +1,7 @@"use client";-import { Button } from "@/components/ui/button";+import { TRIGGER } from "@/data/metrics.client";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuContent,@@ -8,9 +9,8 @@ import {DropdownMenuItem,DropdownMenuLabel,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { TRIGGER } from "@/data/metrics.client";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/dropdown-menu";+import { cn } from "@openstatus/ui/lib/utils";import { Check } from "lucide-react";import { parseAsStringLiteral, useQueryState } from "nuqs";diff --git a/apps/dashboard/src/components/controls-search/popover-date.tsx b/apps/dashboard/src/components/controls-search/popover-date.tsxindex f30722aa1..75774c898 100644--- a/apps/dashboard/src/components/controls-search/popover-date.tsx+++ b/apps/dashboard/src/components/controls-search/popover-date.tsx@@ -1,11 +1,11 @@import { DatePicker } from "@/components/date-picker";-import { Button } from "@/components/ui/button";+import { formatDateRange } from "@/lib/formatter";+import { Button } from "@openstatus/ui/components/ui/button";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { formatDateRange } from "@/lib/formatter";+} from "@openstatus/ui/components/ui/popover";import { endOfDay, startOfDay, subDays, subHours } from "date-fns";import { parseAsIsoDateTime, useQueryState } from "nuqs";import { useEffect, useMemo, useRef, useState } from "react";diff --git a/apps/dashboard/src/components/data-table/audit-logs/wrapper.tsx b/apps/dashboard/src/components/data-table/audit-logs/wrapper.tsxindex 001d1b5a6..0cbeb6ce9 100644--- a/apps/dashboard/src/components/data-table/audit-logs/wrapper.tsx+++ b/apps/dashboard/src/components/data-table/audit-logs/wrapper.tsx@@ -8,8 +8,8 @@ import {} from "@/components/content/empty-state";import { DataTable } from "@/components/ui/data-table/data-table";import { DataTablePaginationSimple } from "@/components/ui/data-table/data-table-pagination";-import { Skeleton } from "@/components/ui/skeleton";import { useTRPC } from "@/lib/trpc/client";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import { useQuery } from "@tanstack/react-query";import { useMemo } from "react";diff --git a/apps/dashboard/src/components/data-table/billing/data-table.tsx b/apps/dashboard/src/components/data-table/billing/data-table.tsxindex cbcbd71b8..faff146c2 100644--- a/apps/dashboard/src/components/data-table/billing/data-table.tsx+++ b/apps/dashboard/src/components/data-table/billing/data-table.tsx@@ -3,7 +3,7 @@import { Check } from "lucide-react";import { Fragment, useTransition } from "react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {Table,TableBody,@@ -12,11 +12,9 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";+} from "@openstatus/ui/components/ui/table";-import { Badge } from "@/components/ui/badge";import { config as featureGroups, plans } from "@/data/plans";-import { useCookieState } from "@/hooks/use-cookie-state";import { getStripe } from "@/lib/stripe";import { useTRPC } from "@/lib/trpc/client";import { cn } from "@/lib/utils";@@ -25,6 +23,8 @@ import {getAddonPriceConfig,getPriceConfig,} from "@openstatus/db/src/schema/plan/utils";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { useCookieState } from "@openstatus/ui/hooks/use-cookie-state";import { useMutation, useQuery } from "@tanstack/react-query";const BASE_URL =diff --git a/apps/dashboard/src/components/data-table/dable-cell-skeleton.tsx b/apps/dashboard/src/components/data-table/dable-cell-skeleton.tsxindex b7238c5ca..39d5af598 100644--- a/apps/dashboard/src/components/data-table/dable-cell-skeleton.tsx+++ b/apps/dashboard/src/components/data-table/dable-cell-skeleton.tsx@@ -1,5 +1,5 @@-import { Skeleton } from "@/components/ui/skeleton";-import { cn } from "@/lib/utils";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { cn } from "@openstatus/ui/lib/utils";export function TableCellSkeleton({className,diff --git a/apps/dashboard/src/components/data-table/data-table-sheet.tsx b/apps/dashboard/src/components/data-table/data-table-sheet.tsxindex 94b49323a..64c09d7e7 100644--- a/apps/dashboard/src/components/data-table/data-table-sheet.tsx+++ b/apps/dashboard/src/components/data-table/data-table-sheet.tsx@@ -8,8 +8,8 @@ import {SheetHeader,SheetTitle,SheetTrigger,-} from "@/components/ui/sheet";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/sheet";+import { cn } from "@openstatus/ui/lib/utils";// TODO: rename to DataTableViewer?diff --git a/apps/dashboard/src/components/data-table/incidents/data-table-row-actions.tsx b/apps/dashboard/src/components/data-table/incidents/data-table-row-actions.tsxindex d4e717cbc..02c236d03 100644--- a/apps/dashboard/src/components/data-table/incidents/data-table-row-actions.tsx+++ b/apps/dashboard/src/components/data-table/incidents/data-table-row-actions.tsx@@ -3,6 +3,9 @@import type { Row } from "@tanstack/react-table";import { QuickActions } from "@/components/dropdowns/quick-actions";+import { getActions } from "@/data/incidents.client";+import { useTRPC } from "@/lib/trpc/client";+import type { RouterOutputs } from "@openstatus/api";import {AlertDialog,AlertDialogAction,@@ -12,10 +15,7 @@ import {AlertDialogFooter,AlertDialogHeader,AlertDialogTitle,-} from "@/components/ui/alert-dialog";-import { getActions } from "@/data/incidents.client";-import { useTRPC } from "@/lib/trpc/client";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/alert-dialog";import { useMutation, useQueryClient } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { useMemo, useState, useTransition } from "react";diff --git a/apps/dashboard/src/components/data-table/monitors/columns.tsx b/apps/dashboard/src/components/data-table/monitors/columns.tsxindex 93439262c..020081d03 100644--- a/apps/dashboard/src/components/data-table/monitors/columns.tsx+++ b/apps/dashboard/src/components/data-table/monitors/columns.tsx@@ -1,8 +1,8 @@"use client";import { TableCellLink } from "@/components/data-table/table-cell-link";-import { Badge } from "@/components/ui/badge";-import { Checkbox } from "@/components/ui/checkbox";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import type { ColumnDef } from "@tanstack/react-table";import { DataTableRowActions } from "./data-table-row-actions";diff --git a/apps/dashboard/src/components/data-table/monitors/data-table-action-bar.tsx b/apps/dashboard/src/components/data-table/monitors/data-table-action-bar.tsxindex 108ab13e0..ea8df7fc4 100644--- a/apps/dashboard/src/components/data-table/monitors/data-table-action-bar.tsx+++ b/apps/dashboard/src/components/data-table/monitors/data-table-action-bar.tsx@@ -10,15 +10,15 @@ import {DataTableActionBarAction,DataTableActionBarSelection,} from "@/components/ui/data-table/data-table-action-bar";+import { useTRPC } from "@/lib/trpc/client";+import type { RouterOutputs } from "@openstatus/api";import {Select,SelectContent,SelectGroup,SelectItem,-} from "@/components/ui/select";-import { Separator } from "@/components/ui/separator";-import { useTRPC } from "@/lib/trpc/client";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/select";+import { Separator } from "@openstatus/ui/components/ui/separator";import { useMutation, useQueryClient } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { toast } from "sonner";@@ -33,10 +33,10 @@ import {AlertDialogHeader,AlertDialogTitle,AlertDialogTrigger,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";+} from "@openstatus/ui/components/ui/alert-dialog";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";type Monitor = RouterOutputs["monitor"]["list"][number];diff --git a/apps/dashboard/src/components/data-table/monitors/data-table-toolbar.tsx b/apps/dashboard/src/components/data-table/monitors/data-table-toolbar.tsxindex 6b92ab600..4f68b1192 100644--- a/apps/dashboard/src/components/data-table/monitors/data-table-toolbar.tsx+++ b/apps/dashboard/src/components/data-table/monitors/data-table-toolbar.tsx@@ -3,8 +3,8 @@import type { Table } from "@tanstack/react-table";import { X } from "lucide-react";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";import { DataTableFacetedFilter } from "@/components/ui/data-table/data-table-faceted-filter";import type { RouterOutputs } from "@openstatus/api";diff --git a/apps/dashboard/src/components/data-table/notifications/columns.tsx b/apps/dashboard/src/components/data-table/notifications/columns.tsxindex 0f435ff98..8e7b18779 100644--- a/apps/dashboard/src/components/data-table/notifications/columns.tsx+++ b/apps/dashboard/src/components/data-table/notifications/columns.tsx@@ -1,9 +1,9 @@"use client";-import { Badge } from "@/components/ui/badge";import { DataTableColumnHeader } from "@/components/ui/data-table/data-table-column-header";import { type NotifierProvider, config } from "@/data/notifications.client";import type { RouterOutputs } from "@openstatus/api";+import { Badge } from "@openstatus/ui/components/ui/badge";import type { ColumnDef } from "@tanstack/react-table";import Link from "next/link";import { TableCellBadge } from "../table-cell-badge";diff --git a/apps/dashboard/src/components/data-table/response-logs/columns.tsx b/apps/dashboard/src/components/data-table/response-logs/columns.tsxindex e504ee368..f1951e2e1 100644--- a/apps/dashboard/src/components/data-table/response-logs/columns.tsx+++ b/apps/dashboard/src/components/data-table/response-logs/columns.tsx@@ -3,23 +3,22 @@import { HoverCardTimestamp } from "@/components/common/hover-card-timestamp";import { TableCellDate } from "@/components/data-table/table-cell-date";import { TableCellNumber } from "@/components/data-table/table-cell-number";+import { getStatusCodeVariant, textColors } from "@/data/status-codes";+import type { RouterOutputs } from "@openstatus/api";+import type { PrivateLocation } from "@openstatus/db/src/schema";+import { getRegionInfo } from "@openstatus/regions";import {HoverCard,HoverCardContent,HoverCardTrigger,-} from "@/components/ui/hover-card";+} from "@openstatus/ui/components/ui/hover-card";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { getStatusCodeVariant, textColors } from "@/data/status-codes";-import { cn } from "@/lib/utils";-import type { RouterOutputs } from "@openstatus/api";-import type { PrivateLocation } from "@openstatus/db/src/schema";-import { getRegionInfo } from "@openstatus/regions";-import { HoverCardPortal } from "@radix-ui/react-hover-card";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import type { ColumnDef } from "@tanstack/react-table";import { Clock, Workflow } from "lucide-react";@@ -196,12 +195,9 @@ function HoverCardTiming({))}</div></HoverCardTrigger>- {/* REMINDER: allows us to port the content to the document.body, which is helpful when using opacity-50 on the row element */}- <HoverCardPortal>- <HoverCardContent side="bottom" align="end" className="z-10 w-auto p-2">- <HoverCardTimingContent {...{ latency, timing }} />- </HoverCardContent>- </HoverCardPortal>+ <HoverCardContent side="bottom" align="end" className="z-10 w-auto p-2">+ <HoverCardTimingContent {...{ latency, timing }} />+ </HoverCardContent></HoverCard>);}diff --git a/apps/dashboard/src/components/data-table/response-logs/data-table-basics.tsx b/apps/dashboard/src/components/data-table/response-logs/data-table-basics.tsxindex 542012889..3649efeba 100644--- a/apps/dashboard/src/components/data-table/response-logs/data-table-basics.tsx+++ b/apps/dashboard/src/components/data-table/response-logs/data-table-basics.tsx@@ -4,20 +4,25 @@ import { IconCloudProvider } from "@/components/common/icon-cloud-provider";import { BlockWrapper } from "@/components/content/block-wrapper";import { TableCellDate } from "@/components/data-table/table-cell-date";import { TableCellNumber } from "@/components/data-table/table-cell-number";+import { getStatusCodeVariant, textColors } from "@/data/status-codes";+import { formatMilliseconds, formatPercentage } from "@/lib/formatter";+import type { RouterOutputs } from "@openstatus/api";+import type { PrivateLocation } from "@openstatus/db/src/schema";+import { getRegionInfo } from "@openstatus/regions";import {Table,TableBody,TableCell,TableHead,TableRow,-} from "@/components/ui/table";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";-import { getStatusCodeVariant, textColors } from "@/data/status-codes";-import { formatMilliseconds, formatPercentage } from "@/lib/formatter";-import { cn } from "@/lib/utils";-import type { RouterOutputs } from "@openstatus/api";-import type { PrivateLocation } from "@openstatus/db/src/schema";-import { getRegionInfo } from "@openstatus/regions";+} from "@openstatus/ui/components/ui/table";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";+import { cn } from "@openstatus/ui/lib/utils";import { Braces, TableProperties } from "lucide-react";type ResponseLog = RouterOutputs["tinybird"]["get"]["data"][number];diff --git a/apps/dashboard/src/components/data-table/response-logs/data-table-sheet.tsx b/apps/dashboard/src/components/data-table/response-logs/data-table-sheet.tsxindex 9a39677e3..db1721cd3 100644--- a/apps/dashboard/src/components/data-table/response-logs/data-table-sheet.tsx+++ b/apps/dashboard/src/components/data-table/response-logs/data-table-sheet.tsx@@ -7,11 +7,11 @@ import {DataTableSheetHeader,DataTableSheetTitle,} from "@/components/data-table/data-table-sheet";-import { Button } from "@/components/ui/button";-import { Separator } from "@/components/ui/separator";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";import type { RouterOutputs } from "@openstatus/api";import type { PrivateLocation } from "@openstatus/db/src/schema";+import { Button } from "@openstatus/ui/components/ui/button";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";import { Check, Copy } from "lucide-react";import { DataTableBasics } from "./data-table-basics";diff --git a/apps/dashboard/src/components/data-table/response-logs/data-table-toolbar.tsx b/apps/dashboard/src/components/data-table/response-logs/data-table-toolbar.tsxindex 7f4b81fb4..3eaab591e 100644--- a/apps/dashboard/src/components/data-table/response-logs/data-table-toolbar.tsx+++ b/apps/dashboard/src/components/data-table/response-logs/data-table-toolbar.tsx@@ -3,7 +3,7 @@import type { Table } from "@tanstack/react-table";import { X } from "lucide-react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import { DataTableFacetedFilter } from "@/components/ui/data-table/data-table-faceted-filter";import { regions } from "@/data/regions";diff --git a/apps/dashboard/src/components/data-table/response-logs/regions/columns.tsx b/apps/dashboard/src/components/data-table/response-logs/regions/columns.tsxindex 36d08b4be..59839a170 100644--- a/apps/dashboard/src/components/data-table/response-logs/regions/columns.tsx+++ b/apps/dashboard/src/components/data-table/response-logs/regions/columns.tsx@@ -4,16 +4,16 @@ import { ChartLineRegion } from "@/components/chart/chart-line-region";import { TableCellNumber } from "@/components/data-table/table-cell-number";import { QuickActions } from "@/components/dropdowns/quick-actions";import { DataTableColumnHeader } from "@/components/ui/data-table/data-table-column-header";+import type { RegionMetric } from "@/data/region-metrics";+import { getActions } from "@/data/region-metrics.client";+import type { PrivateLocation } from "@openstatus/db/src/schema";+import { formatRegionCode, getRegionInfo } from "@openstatus/regions";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import type { RegionMetric } from "@/data/region-metrics";-import { getActions } from "@/data/region-metrics.client";-import type { PrivateLocation } from "@openstatus/db/src/schema";-import { formatRegionCode, getRegionInfo } from "@openstatus/regions";+} from "@openstatus/ui/components/ui/tooltip";import type { ColumnDef } from "@tanstack/react-table";// import { toast } from "sonner";import { useRouter } from "next/navigation";diff --git a/apps/dashboard/src/components/data-table/settings/api-key/data-table.tsx b/apps/dashboard/src/components/data-table/settings/api-key/data-table.tsxindex e3c01d80e..e26171589 100644--- a/apps/dashboard/src/components/data-table/settings/api-key/data-table.tsx+++ b/apps/dashboard/src/components/data-table/settings/api-key/data-table.tsx@@ -1,4 +1,7 @@import { QuickActions } from "@/components/dropdowns/quick-actions";+import { formatDate } from "@/lib/formatter";+import { useTRPC } from "@/lib/trpc/client";+import type { RouterOutputs } from "@openstatus/api";import {Table,TableBody,@@ -6,10 +9,7 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";-import { formatDate } from "@/lib/formatter";-import { useTRPC } from "@/lib/trpc/client";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/table";import { useMutation } from "@tanstack/react-query";type ApiKey = RouterOutputs["apiKeyRouter"]["getAll"][number];diff --git a/apps/dashboard/src/components/data-table/settings/invitations/data-table.tsx b/apps/dashboard/src/components/data-table/settings/invitations/data-table.tsxindex 46b18363c..498027367 100644--- a/apps/dashboard/src/components/data-table/settings/invitations/data-table.tsx+++ b/apps/dashboard/src/components/data-table/settings/invitations/data-table.tsx@@ -4,6 +4,8 @@ import {EmptyStateTitle,} from "@/components/content/empty-state";import { QuickActions } from "@/components/dropdowns/quick-actions";+import { formatDate } from "@/lib/formatter";+import { useTRPC } from "@/lib/trpc/client";import {Table,TableBody,@@ -11,9 +13,7 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";-import { formatDate } from "@/lib/formatter";-import { useTRPC } from "@/lib/trpc/client";+} from "@openstatus/ui/components/ui/table";import { useMutation, useQuery } from "@tanstack/react-query";export function DataTable() {diff --git a/apps/dashboard/src/components/data-table/settings/members/data-table.tsx b/apps/dashboard/src/components/data-table/settings/members/data-table.tsxindex 808198494..8bf2c3fde 100644--- a/apps/dashboard/src/components/data-table/settings/members/data-table.tsx+++ b/apps/dashboard/src/components/data-table/settings/members/data-table.tsx@@ -1,4 +1,6 @@import { QuickActions } from "@/components/dropdowns/quick-actions";+import { formatDate } from "@/lib/formatter";+import { useTRPC } from "@/lib/trpc/client";import {Table,TableBody,@@ -6,9 +8,7 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";-import { formatDate } from "@/lib/formatter";-import { useTRPC } from "@/lib/trpc/client";+} from "@openstatus/ui/components/ui/table";import { useMutation, useQuery } from "@tanstack/react-query";export function DataTable() {diff --git a/apps/dashboard/src/components/data-table/status-report-updates/data-table.tsx b/apps/dashboard/src/components/data-table/status-report-updates/data-table.tsxindex 036c3a9af..4baf9ce35 100644--- a/apps/dashboard/src/components/data-table/status-report-updates/data-table.tsx+++ b/apps/dashboard/src/components/data-table/status-report-updates/data-table.tsx@@ -3,7 +3,12 @@import { ProcessMessage } from "@/components/content/process-message";import { TableCellDate } from "@/components/data-table/table-cell-date";import { FormSheetStatusReportUpdate } from "@/components/forms/status-report-update/sheet";-import { Button } from "@/components/ui/button";+import { icons } from "@/data/icons";+import { colors } from "@/data/status-report-updates.client";+import { useTRPC } from "@/lib/trpc/client";+import { cn } from "@/lib/utils";+import type { RouterOutputs } from "@openstatus/api";+import { Button } from "@openstatus/ui/components/ui/button";import {Table,TableBody,@@ -11,18 +16,13 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";+} from "@openstatus/ui/components/ui/table";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { icons } from "@/data/icons";-import { colors } from "@/data/status-report-updates.client";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/tooltip";import { useMutation, useQueryClient } from "@tanstack/react-query";import { Plus } from "lucide-react";import { useParams } from "next/navigation";diff --git a/apps/dashboard/src/components/data-table/status-reports/columns.tsx b/apps/dashboard/src/components/data-table/status-reports/columns.tsxindex fe178f643..657edfc3b 100644--- a/apps/dashboard/src/components/data-table/status-reports/columns.tsx+++ b/apps/dashboard/src/components/data-table/status-reports/columns.tsx@@ -4,11 +4,11 @@ import { TableCellBadge } from "@/components/data-table/table-cell-badge";import { TableCellDate } from "@/components/data-table/table-cell-date";import { TableCellLink } from "@/components/data-table/table-cell-link";import { TableCellNumber } from "@/components/data-table/table-cell-number";-import { Button } from "@/components/ui/button";import { DataTableColumnHeader } from "@/components/ui/data-table/data-table-column-header";import { colors } from "@/data/status-report-updates.client";-import { cn } from "@/lib/utils";import type { RouterOutputs } from "@openstatus/api";+import { Button } from "@openstatus/ui/components/ui/button";+import { cn } from "@openstatus/ui/lib/utils";import type { ColumnDef } from "@tanstack/react-table";import { ChevronDown, ChevronUp } from "lucide-react";import Link from "next/link";diff --git a/apps/dashboard/src/components/data-table/subscribers/columns.tsx b/apps/dashboard/src/components/data-table/subscribers/columns.tsxindex f0a138fdd..538606708 100644--- a/apps/dashboard/src/components/data-table/subscribers/columns.tsx+++ b/apps/dashboard/src/components/data-table/subscribers/columns.tsx@@ -1,8 +1,8 @@"use client";-import { Badge } from "@/components/ui/badge";import { formatDate } from "@/lib/formatter";import type { RouterOutputs } from "@openstatus/api";+import { Badge } from "@openstatus/ui/components/ui/badge";import type { ColumnDef } from "@tanstack/react-table";import { DataTableRowActions } from "./data-table-row-actions";diff --git a/apps/dashboard/src/components/data-table/table-cell-badge.tsx b/apps/dashboard/src/components/data-table/table-cell-badge.tsxindex 177e8ceba..98fc50eb4 100644--- a/apps/dashboard/src/components/data-table/table-cell-badge.tsx+++ b/apps/dashboard/src/components/data-table/table-cell-badge.tsx@@ -1,12 +1,12 @@import { cn } from "@/lib/utils";-import { useEffect, useRef, useState } from "react";-import { Badge } from "../ui/badge";+import { Badge } from "@openstatus/ui/components/ui/badge";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "../ui/tooltip";+} from "@openstatus/ui/components/ui/tooltip";+import { useEffect, useRef, useState } from "react";export function TableCellBadge({value,diff --git a/apps/dashboard/src/components/date-picker.tsx b/apps/dashboard/src/components/date-picker.tsxindex ecbe3fd16..8f4f09fc6 100644--- a/apps/dashboard/src/components/date-picker.tsx+++ b/apps/dashboard/src/components/date-picker.tsx@@ -4,12 +4,12 @@ import { useState } from "react";import type { DateRange } from "react-day-picker";import { Kbd } from "@/components/common/kbd";-import { Button } from "@/components/ui/button";-import { Calendar } from "@/components/ui/calendar";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";-import { Separator } from "@/components/ui/separator";import { formatDateForInput } from "@/lib/formatter";+import { Button } from "@openstatus/ui/components/ui/button";+import { Calendar } from "@openstatus/ui/components/ui/calendar";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { Separator } from "@openstatus/ui/components/ui/separator";import { endOfDay } from "date-fns";type DatePickerProps = {diff --git a/apps/dashboard/src/components/development-indicator.tsx b/apps/dashboard/src/components/development-indicator.tsxindex c18acce86..9448eacb1 100644--- a/apps/dashboard/src/components/development-indicator.tsx+++ b/apps/dashboard/src/components/development-indicator.tsx@@ -1,14 +1,14 @@"use client";-import { useIsMobile } from "@/hooks/use-mobile";-import * as Portal from "@radix-ui/react-portal";-import { Kbd } from "./common/kbd";+import { Kbd } from "@openstatus/ui/components/ui/kbd";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "./ui/tooltip";+} from "@openstatus/ui/components/ui/tooltip";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";+import * as Portal from "@radix-ui/react-portal";export function DevelopmentIndicator() {const isMobile = useIsMobile();@@ -30,11 +30,8 @@ export function DevelopmentIndicator() {<TooltipContent side="top">{!isMobile ? (<p>- Press{" "}- <Kbd variant="secondary" className="-me-0 ms-0">- F- </Kbd>{" "}- key to provide feedback.+ Press <Kbd className="-me-0 ms-0">F</Kbd> key to provide+ feedback.</p>) : (<p>Use a larger screen to provide feedback.</p>diff --git a/apps/dashboard/src/components/dialogs/export-code.tsx b/apps/dashboard/src/components/dialogs/export-code.tsxindex 1c28d6a85..8e3559ef1 100644--- a/apps/dashboard/src/components/dialogs/export-code.tsx+++ b/apps/dashboard/src/components/dialogs/export-code.tsx@@ -1,14 +1,19 @@import { Link } from "@/components/common/link";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {Dialog,DialogContent,DialogDescription,DialogHeader,DialogTitle,-} from "@/components/ui/dialog";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";+} from "@openstatus/ui/components/ui/dialog";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";import type { DialogProps } from "@radix-ui/react-dialog";import { Check, Copy } from "lucide-react";diff --git a/apps/dashboard/src/components/dialogs/upgrade.tsx b/apps/dashboard/src/components/dialogs/upgrade.tsxindex ea1a92feb..219b05692 100644--- a/apps/dashboard/src/components/dialogs/upgrade.tsx+++ b/apps/dashboard/src/components/dialogs/upgrade.tsx@@ -2,19 +2,19 @@ import { Link } from "@/components/common/link";import { Note, NoteButton } from "@/components/common/note";import { BillingAddons } from "@/components/content/billing-addons";import { DataTable } from "@/components/data-table/billing/data-table";+import { useTRPC } from "@/lib/trpc/client";+import type { WorkspacePlan } from "@openstatus/db/src/schema";+import { allPlans } from "@openstatus/db/src/schema/plan/config";+import type { Addons, Limits } from "@openstatus/db/src/schema/plan/schema";+import { getPlansForLimit } from "@openstatus/db/src/schema/plan/utils";import {Dialog,DialogContent,DialogDescription,DialogHeader,DialogTitle,-} from "@/components/ui/dialog";-import { Separator } from "@/components/ui/separator";-import { useTRPC } from "@/lib/trpc/client";-import type { WorkspacePlan } from "@openstatus/db/src/schema";-import { allPlans } from "@openstatus/db/src/schema/plan/config";-import type { Addons, Limits } from "@openstatus/db/src/schema/plan/schema";-import { getPlansForLimit } from "@openstatus/db/src/schema/plan/utils";+} from "@openstatus/ui/components/ui/dialog";+import { Separator } from "@openstatus/ui/components/ui/separator";import type { DialogProps } from "@radix-ui/react-dialog";import { useQuery } from "@tanstack/react-query";import { CalendarClock } from "lucide-react";diff --git a/apps/dashboard/src/components/domains/domain-configuration.tsx b/apps/dashboard/src/components/domains/domain-configuration.tsxindex 4832dd3f2..1f236b7d1 100644--- a/apps/dashboard/src/components/domains/domain-configuration.tsx+++ b/apps/dashboard/src/components/domains/domain-configuration.tsx@@ -1,8 +1,13 @@"use client";-import { Badge } from "@/components/ui/badge";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";-import { cn } from "@/lib/utils";+import { Badge } from "@openstatus/ui/components/ui/badge";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";+import { cn } from "@openstatus/ui/lib/utils";import { Note } from "@/components/common/note";import { getSubdomain } from "@/lib/domains";diff --git a/apps/dashboard/src/components/dropdowns/quick-actions.tsx b/apps/dashboard/src/components/dropdowns/quick-actions.tsxindex c81da3ee0..8b04ccd59 100644--- a/apps/dashboard/src/components/dropdowns/quick-actions.tsx+++ b/apps/dashboard/src/components/dropdowns/quick-actions.tsx@@ -21,8 +21,8 @@ import {AlertDialogHeader,AlertDialogTitle,AlertDialogTrigger,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";+} from "@openstatus/ui/components/ui/alert-dialog";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuContent,@@ -31,9 +31,9 @@ import {DropdownMenuLabel,DropdownMenuSeparator,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { Input } from "@/components/ui/input";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";+} from "@openstatus/ui/components/ui/dropdown-menu";+import { Input } from "@openstatus/ui/components/ui/input";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";import type { DropdownMenuContentProps } from "@radix-ui/react-dropdown-menu";import { isTRPCClientError } from "@trpc/client";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/components/form-components.tsx b/apps/dashboard/src/components/forms/components/form-components.tsxindex 2d72d1ffd..f8343e162 100644--- a/apps/dashboard/src/components/forms/components/form-components.tsx+++ b/apps/dashboard/src/components/forms/components/form-components.tsx@@ -17,6 +17,17 @@ import {FormCardTitle,} from "@/components/forms/form-card";import { STATUS } from "@/components/nav/nav-monitors";+import {+ Sortable,+ SortableContent,+ SortableItem,+ SortableItemHandle,+ SortableOverlay,+} from "@/components/ui/sortable";+import { cn } from "@/lib/utils";+import type { UniqueIdentifier } from "@dnd-kit/core";+import { zodResolver } from "@hookform/resolvers/zod";+import type { RouterOutputs } from "@openstatus/api";import {AlertDialog,AlertDialogAction,@@ -27,8 +38,8 @@ import {AlertDialogHeader,AlertDialogTitle,AlertDialogTrigger,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";+} from "@openstatus/ui/components/ui/alert-dialog";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -36,7 +47,7 @@ import {CommandInput,CommandItem,CommandList,-} from "@/components/ui/command";+} from "@openstatus/ui/components/ui/command";import {DropdownMenu,DropdownMenuContent,@@ -46,7 +57,7 @@ import {DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";+} from "@openstatus/ui/components/ui/dropdown-menu";import {Form,FormControl,@@ -54,25 +65,14 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import {- Sortable,- SortableContent,- SortableItem,- SortableItemHandle,- SortableOverlay,-} from "@/components/ui/sortable";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";-import type { UniqueIdentifier } from "@dnd-kit/core";-import { zodResolver } from "@hookform/resolvers/zod";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/tooltip";import { isTRPCClientError } from "@trpc/client";import {Check,diff --git a/apps/dashboard/src/components/forms/form-alert-dialog.tsx b/apps/dashboard/src/components/forms/form-alert-dialog.tsxindex 58eb4e7d0..537aa1232 100644--- a/apps/dashboard/src/components/forms/form-alert-dialog.tsx+++ b/apps/dashboard/src/components/forms/form-alert-dialog.tsx@@ -10,10 +10,10 @@ import {AlertDialogHeader,AlertDialogTitle,AlertDialogTrigger,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";+} from "@openstatus/ui/components/ui/alert-dialog";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";import { isTRPCClientError } from "@trpc/client";import { Check, Copy } from "lucide-react";import { useState, useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/form-card.tsx b/apps/dashboard/src/components/forms/form-card.tsxindex c24e741a2..05f0508bb 100644--- a/apps/dashboard/src/components/forms/form-card.tsx+++ b/apps/dashboard/src/components/forms/form-card.tsx@@ -5,9 +5,9 @@ import {CardFooter,CardHeader,CardTitle,-} from "@/components/ui/card";-import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/card";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";import { type VariantProps, cva } from "class-variance-authority";diff --git a/apps/dashboard/src/components/forms/form-sheet.tsx b/apps/dashboard/src/components/forms/form-sheet.tsxindex 5f34cd7ca..6ba661bdb 100644--- a/apps/dashboard/src/components/forms/form-sheet.tsx+++ b/apps/dashboard/src/components/forms/form-sheet.tsx@@ -9,7 +9,7 @@ import {AlertDialogFooter,AlertDialogHeader,AlertDialogTitle,-} from "@/components/ui/alert-dialog";+} from "@openstatus/ui/components/ui/alert-dialog";import {Sheet,SheetContent,@@ -18,8 +18,8 @@ import {SheetHeader,SheetTitle,SheetTrigger,-} from "@/components/ui/sheet";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/sheet";+import { cn } from "@openstatus/ui/lib/utils";import React, {createContext,useContext,diff --git a/apps/dashboard/src/components/forms/maintenance/form.tsx b/apps/dashboard/src/components/forms/maintenance/form.tsxindex 5b42b752a..c4929c0da 100644--- a/apps/dashboard/src/components/forms/maintenance/form.tsx+++ b/apps/dashboard/src/components/forms/maintenance/form.tsx@@ -10,9 +10,11 @@ import {FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Calendar } from "@/components/ui/calendar";-import { Checkbox } from "@/components/ui/checkbox";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Calendar } from "@openstatus/ui/components/ui/calendar";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Form,FormControl,@@ -21,22 +23,20 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { TabsContent } from "@/components/ui/tabs";-import { TabsList, TabsTrigger } from "@/components/ui/tabs";-import { Tabs } from "@/components/ui/tabs";-import { Textarea } from "@/components/ui/textarea";-import { useIsMobile } from "@/hooks/use-mobile";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/popover";+import { TabsContent } from "@openstatus/ui/components/ui/tabs";+import { TabsList, TabsTrigger } from "@openstatus/ui/components/ui/tabs";+import { Tabs } from "@openstatus/ui/components/ui/tabs";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { addDays, format } from "date-fns";diff --git a/apps/dashboard/src/components/forms/maintenance/sheet.tsx b/apps/dashboard/src/components/forms/maintenance/sheet.tsxindex 71ac632e8..6c151fb0d 100644--- a/apps/dashboard/src/components/forms/maintenance/sheet.tsx+++ b/apps/dashboard/src/components/forms/maintenance/sheet.tsx@@ -15,7 +15,7 @@ import {FormMaintenance,type FormValues,} from "@/components/forms/maintenance/form";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import { useState } from "react";export function FormSheetMaintenance({diff --git a/apps/dashboard/src/components/forms/monitor-tag/form-monitor-tag.tsx b/apps/dashboard/src/components/forms/monitor-tag/form-monitor-tag.tsxindex 0894111d1..67334e124 100644--- a/apps/dashboard/src/components/forms/monitor-tag/form-monitor-tag.tsx+++ b/apps/dashboard/src/components/forms/monitor-tag/form-monitor-tag.tsx@@ -1,7 +1,9 @@"use client";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -9,11 +11,9 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import { Plus, Trash2 } from "lucide-react";import React, { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/monitor-tag/sheet.tsx b/apps/dashboard/src/components/forms/monitor-tag/sheet.tsxindex 345d51641..85fea7e24 100644--- a/apps/dashboard/src/components/forms/monitor-tag/sheet.tsx+++ b/apps/dashboard/src/components/forms/monitor-tag/sheet.tsx@@ -18,7 +18,7 @@ import {FormMonitorTag,type FormValues,} from "@/components/forms/monitor-tag/form-monitor-tag";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import { useState } from "react";export function FormSheetMonitorTag({diff --git a/apps/dashboard/src/components/forms/monitor/form-follow-redirect.tsx b/apps/dashboard/src/components/forms/monitor/form-follow-redirect.tsxindex 9fadbf654..cb9937ba6 100644--- a/apps/dashboard/src/components/forms/monitor/form-follow-redirect.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-follow-redirect.tsx@@ -10,7 +10,8 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -18,9 +19,8 @@ import {FormField,FormItem,FormLabel,-} from "@/components/ui/form";-import { Switch } from "@/components/ui/switch";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Switch } from "@openstatus/ui/components/ui/switch";import { useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/monitor/form-general.tsx b/apps/dashboard/src/components/forms/monitor/form-general.tsxindex bc8301fce..a77bbb954 100644--- a/apps/dashboard/src/components/forms/monitor/form-general.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-general.tsx@@ -11,6 +11,19 @@ import {FormCardSeparator,FormCardTitle,} from "@/components/forms/form-card";+import { zodResolver } from "@hookform/resolvers/zod";+import {+ dnsRecords,+ headerAssertion,+ jsonBodyAssertion,+ numberCompareDictionary,+ recordAssertion,+ recordCompareDictionary,+ statusAssertion,+ stringCompareDictionary,+ textBodyAssertion,+} from "@openstatus/assertions";+import { monitorMethods } from "@openstatus/db/src/schema";import {AlertDialog,AlertDialogAction,@@ -20,47 +33,37 @@ import {AlertDialogFooter,AlertDialogHeader,AlertDialogTitle,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";+} from "@openstatus/ui/components/ui/alert-dialog";+import { Button } from "@openstatus/ui/components/ui/button";import {+ Form,FormControl,FormDescription,FormField,FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import {+ RadioGroup,+ RadioGroupItem,+} from "@openstatus/ui/components/ui/radio-group";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { Switch } from "@/components/ui/switch";-import { Textarea } from "@/components/ui/textarea";+} from "@openstatus/ui/components/ui/select";+import { Switch } from "@openstatus/ui/components/ui/switch";+import { Textarea } from "@openstatus/ui/components/ui/textarea";import {Tooltip,TooltipContent,TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";-import {- dnsRecords,- headerAssertion,- jsonBodyAssertion,- numberCompareDictionary,- recordAssertion,- recordCompareDictionary,- statusAssertion,- stringCompareDictionary,- textBodyAssertion,-} from "@openstatus/assertions";-import { monitorMethods } from "@openstatus/db/src/schema";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import { Globe, Network, Plus, Server, X } from "lucide-react";import { useEffect, useState, useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/monitor/form-notifiers.tsx b/apps/dashboard/src/components/forms/monitor/form-notifiers.tsxindex fb78f7129..b68b9457f 100644--- a/apps/dashboard/src/components/forms/monitor/form-notifiers.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-notifiers.tsx@@ -12,9 +12,12 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Badge } from "@/components/ui/badge";-import { Button } from "@/components/ui/button";-import { Checkbox } from "@/components/ui/checkbox";+import { config } from "@/data/notifications.client";+import { zodResolver } from "@hookform/resolvers/zod";+import type { NotificationProvider } from "@openstatus/db/src/schema";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Button } from "@openstatus/ui/components/ui/button";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Form,FormControl,@@ -22,11 +25,8 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { config } from "@/data/notifications.client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";-import type { NotificationProvider } from "@openstatus/db/src/schema";+} from "@openstatus/ui/components/ui/form";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/monitor/form-otel.tsx b/apps/dashboard/src/components/forms/monitor/form-otel.tsxindex 0e4e3c7ce..094e9cd52 100644--- a/apps/dashboard/src/components/forms/monitor/form-otel.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-otel.tsx@@ -11,7 +11,8 @@ import {FormCardTitle,FormCardUpgrade,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -19,9 +20,8 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { Lock, Plus, X } from "lucide-react";import NextLink from "next/link";import { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/monitor/form-response-time.tsx b/apps/dashboard/src/components/forms/monitor/form-response-time.tsxindex 0d10377ff..77a8ac25a 100644--- a/apps/dashboard/src/components/forms/monitor/form-response-time.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-response-time.tsx@@ -7,7 +7,7 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCard,@@ -17,10 +17,10 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/monitor/form-retry.tsx b/apps/dashboard/src/components/forms/monitor/form-retry.tsxindex 84113b0a6..0f996ebb2 100644--- a/apps/dashboard/src/components/forms/monitor/form-retry.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-retry.tsx@@ -10,7 +10,8 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -19,9 +20,8 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/monitor/form-scheduling-regions.tsx b/apps/dashboard/src/components/forms/monitor/form-scheduling-regions.tsxindex ffcec8ec4..0a6d294de 100644--- a/apps/dashboard/src/components/forms/monitor/form-scheduling-regions.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-scheduling-regions.tsx@@ -11,8 +11,13 @@ import {FormCardSeparator,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";-import { Checkbox } from "@/components/ui/checkbox";+import { zodResolver } from "@hookform/resolvers/zod";+import {+ type Region,+ monitorPeriodicity,+} from "@openstatus/db/src/schema/constants";+import { Button } from "@openstatus/ui/components/ui/button";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Form,FormControl,@@ -20,14 +25,9 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Slider } from "@/components/ui/slider";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";-import {- type Region,- monitorPeriodicity,-} from "@openstatus/db/src/schema/constants";+} from "@openstatus/ui/components/ui/form";+import { Slider } from "@openstatus/ui/components/ui/slider";+import { cn } from "@openstatus/ui/lib/utils";import { useState, useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/monitor/form-status-pages.tsx b/apps/dashboard/src/components/forms/monitor/form-status-pages.tsxindex 6a378b03d..2b2ca403c 100644--- a/apps/dashboard/src/components/forms/monitor/form-status-pages.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-status-pages.tsx@@ -13,9 +13,10 @@ import {FormCardSeparator,FormCardTitle,} from "@/components/forms/form-card";-import { Badge } from "@/components/ui/badge";-import { Button } from "@/components/ui/button";-import { Checkbox } from "@/components/ui/checkbox";+import { zodResolver } from "@hookform/resolvers/zod";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Button } from "@openstatus/ui/components/ui/button";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Form,FormControl,@@ -24,10 +25,9 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/monitor/form-tags.tsx b/apps/dashboard/src/components/forms/monitor/form-tags.tsxindex 2f6f58c44..2c88d8741 100644--- a/apps/dashboard/src/components/forms/monitor/form-tags.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-tags.tsx@@ -10,8 +10,10 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Badge } from "@/components/ui/badge";-import { Button } from "@/components/ui/button";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -19,7 +21,7 @@ import {CommandInput,CommandItem,CommandList,-} from "@/components/ui/command";+} from "@openstatus/ui/components/ui/command";import {Form,FormControl,@@ -27,15 +29,13 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/popover";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation, useQuery } from "@tanstack/react-query";import { Check, ChevronsUpDown } from "lucide-react";import { useEffect, useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/monitor/form-visibility.tsx b/apps/dashboard/src/components/forms/monitor/form-visibility.tsxindex 8cd7e20f3..6fe8cca11 100644--- a/apps/dashboard/src/components/forms/monitor/form-visibility.tsx+++ b/apps/dashboard/src/components/forms/monitor/form-visibility.tsx@@ -11,7 +11,8 @@ import {FormCardTitle,FormCardUpgrade,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -19,9 +20,8 @@ import {FormField,FormItem,FormLabel,-} from "@/components/ui/form";-import { Switch } from "@/components/ui/switch";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Switch } from "@openstatus/ui/components/ui/switch";import { Lock } from "lucide-react";import NextLink from "next/link";import { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/notifications/form-discord.tsx b/apps/dashboard/src/components/forms/notifications/form-discord.tsxindex df5eb1033..c00152b4b 100644--- a/apps/dashboard/src/components/forms/notifications/form-discord.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-discord.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,7 +8,7 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import { Link } from "@/components/common/link";import {@@ -16,13 +16,13 @@ import {FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";import { config } from "@/data/notifications.client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import React, { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/notifications/form-email.tsx b/apps/dashboard/src/components/forms/notifications/form-email.tsxindex 66433ef75..024a36cb7 100644--- a/apps/dashboard/src/components/forms/notifications/form-email.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-email.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,18 +8,18 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCardContent,FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import React, { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/notifications/form-google-chat.tsx b/apps/dashboard/src/components/forms/notifications/form-google-chat.tsxindex 5689f46b3..2137c112b 100644--- a/apps/dashboard/src/components/forms/notifications/form-google-chat.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-google-chat.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,21 +8,21 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCardContent,FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import React, { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/notifications/form-grafana-oncall.tsx b/apps/dashboard/src/components/forms/notifications/form-grafana-oncall.tsxindex fd31c569f..cf99ba6a5 100644--- a/apps/dashboard/src/components/forms/notifications/form-grafana-oncall.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-grafana-oncall.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,19 +8,19 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCardContent,FormCardSeparator,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/notifications/form-ntfy.tsx b/apps/dashboard/src/components/forms/notifications/form-ntfy.tsxindex e5d61a0ca..ef81eb2a6 100644--- a/apps/dashboard/src/components/forms/notifications/form-ntfy.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-ntfy.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,20 +8,20 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCardContent,FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";import { config } from "@/data/notifications.client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import React, { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/notifications/form-opsgenie.tsx b/apps/dashboard/src/components/forms/notifications/form-opsgenie.tsxindex 78ea54651..8155877ce 100644--- a/apps/dashboard/src/components/forms/notifications/form-opsgenie.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-opsgenie.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,26 +8,26 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCardContent,FormCardSeparator,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";+import { config } from "@/data/notifications.client";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { config } from "@/data/notifications.client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/select";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/notifications/form-pagerduty.tsx b/apps/dashboard/src/components/forms/notifications/form-pagerduty.tsxindex 32ded9d61..8bed98b67 100644--- a/apps/dashboard/src/components/forms/notifications/form-pagerduty.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-pagerduty.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,21 +8,21 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCardContent,FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";import { config } from "@/data/notifications.client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";import { PagerDutySchema } from "@openstatus/notification-pagerduty";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import { parseAsString, useQueryState } from "nuqs";import React, { useEffect, useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/notifications/form-slack.tsx b/apps/dashboard/src/components/forms/notifications/form-slack.tsxindex 210945373..07693c908 100644--- a/apps/dashboard/src/components/forms/notifications/form-slack.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-slack.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,7 +8,7 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import { Link } from "@/components/common/link";import {@@ -16,13 +16,13 @@ import {FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";import { config } from "@/data/notifications.client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import React, { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/notifications/form-sms.tsx b/apps/dashboard/src/components/forms/notifications/form-sms.tsxindex 52cc5e582..0946f977b 100644--- a/apps/dashboard/src/components/forms/notifications/form-sms.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-sms.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,18 +8,18 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCardContent,FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import React, { useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/notifications/form-telegram.tsx b/apps/dashboard/src/components/forms/notifications/form-telegram.tsxindex d5d1feea4..765c75f4c 100644--- a/apps/dashboard/src/components/forms/notifications/form-telegram.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-telegram.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,7 +8,7 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import { Link } from "@/components/common/link";import {@@ -16,13 +16,13 @@ import {FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import React, { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/notifications/form-webhook.tsx b/apps/dashboard/src/components/forms/notifications/form-webhook.tsxindex 9ab575079..6caabed05 100644--- a/apps/dashboard/src/components/forms/notifications/form-webhook.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-webhook.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,7 +8,7 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import { Link } from "@/components/common/link";import {@@ -16,13 +16,13 @@ import {FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";import { config } from "@/data/notifications.client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import React, { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/notifications/form-whatsapp.tsx b/apps/dashboard/src/components/forms/notifications/form-whatsapp.tsxindex c8fa753ea..3ee02a0bb 100644--- a/apps/dashboard/src/components/forms/notifications/form-whatsapp.tsx+++ b/apps/dashboard/src/components/forms/notifications/form-whatsapp.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,21 +8,21 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCardContent,FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import React, { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/notifications/form.tsx b/apps/dashboard/src/components/forms/notifications/form.tsxindex 234ac5e81..9a675c0e3 100644--- a/apps/dashboard/src/components/forms/notifications/form.tsx+++ b/apps/dashboard/src/components/forms/notifications/form.tsx@@ -1,6 +1,6 @@"use client";-import { Checkbox } from "@/components/ui/checkbox";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {FormControl,FormDescription,@@ -8,13 +8,13 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";-import { cn } from "@/lib/utils";import { zodResolver } from "@hookform/resolvers/zod";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";import { useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/notifications/sheet.tsx b/apps/dashboard/src/components/forms/notifications/sheet.tsxindex e92b431e6..e44d3a00a 100644--- a/apps/dashboard/src/components/forms/notifications/sheet.tsx+++ b/apps/dashboard/src/components/forms/notifications/sheet.tsx@@ -10,8 +10,8 @@ import {FormSheetTrigger,FormSheetWithDirtyProtection,} from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";import { config } from "@/data/notifications.client";+import { Button } from "@openstatus/ui/components/ui/button";import { useState } from "react";import type { FormValues } from "./form";diff --git a/apps/dashboard/src/components/forms/onboarding/create-monitor.tsx b/apps/dashboard/src/components/forms/onboarding/create-monitor.tsxindex 52bcd8efb..83b90d2ad 100644--- a/apps/dashboard/src/components/forms/onboarding/create-monitor.tsx+++ b/apps/dashboard/src/components/forms/onboarding/create-monitor.tsx@@ -1,5 +1,6 @@"use client";+import { zodResolver } from "@hookform/resolvers/zod";import {Form,FormControl,@@ -8,9 +9,8 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { isTRPCClientError } from "@trpc/client";import { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/onboarding/create-page.tsx b/apps/dashboard/src/components/forms/onboarding/create-page.tsxindex eb6d4b207..f891a3afd 100644--- a/apps/dashboard/src/components/forms/onboarding/create-page.tsx+++ b/apps/dashboard/src/components/forms/onboarding/create-page.tsx@@ -1,6 +1,9 @@"use client";+// FIXME: use input-group insteadimport { InputWithAddons } from "@/components/common/input-with-addons";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";import {Form,FormControl,@@ -9,10 +12,8 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { useDebounce } from "@/hooks/use-debounce";-import { useTRPC } from "@/lib/trpc/client";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { useDebounce } from "@openstatus/ui/hooks/use-debounce";import { useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { useEffect, useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/onboarding/learn-from.tsx b/apps/dashboard/src/components/forms/onboarding/learn-from.tsxindex 2d3b664a7..60e1e93d7 100644--- a/apps/dashboard/src/components/forms/onboarding/learn-from.tsx+++ b/apps/dashboard/src/components/forms/onboarding/learn-from.tsx@@ -1,7 +1,8 @@"use client";import { Note } from "@/components/common/note";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -9,11 +10,13 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import {+ RadioGroup,+ RadioGroupItem,+} from "@openstatus/ui/components/ui/radio-group";+import { cn } from "@openstatus/ui/lib/utils";import { Check } from "lucide-react";import { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/dashboard/src/components/forms/private-location/form.tsx b/apps/dashboard/src/components/forms/private-location/form.tsxindex 83892dc6a..c0679a813 100644--- a/apps/dashboard/src/components/forms/private-location/form.tsx+++ b/apps/dashboard/src/components/forms/private-location/form.tsx@@ -9,7 +9,8 @@ import {FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Checkbox } from "@/components/ui/checkbox";+import { zodResolver } from "@hookform/resolvers/zod";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Form,FormControl,@@ -18,18 +19,17 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import {InputGroup,InputGroupAddon,InputGroupButton,InputGroupInput,-} from "@/components/ui/input-group";-import { Label } from "@/components/ui/label";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/input-group";+import { Label } from "@openstatus/ui/components/ui/label";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import { Check, Copy } from "lucide-react";import React, { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/private-location/sheet.tsx b/apps/dashboard/src/components/forms/private-location/sheet.tsxindex a3f5d2529..bb44e24d4 100644--- a/apps/dashboard/src/components/forms/private-location/sheet.tsx+++ b/apps/dashboard/src/components/forms/private-location/sheet.tsx@@ -14,7 +14,7 @@ import {FormPrivateLocation,type FormValues,} from "@/components/forms/private-location/form";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import { useState } from "react";export function FormSheetPrivateLocation({diff --git a/apps/dashboard/src/components/forms/settings/form-api-key.tsx b/apps/dashboard/src/components/forms/settings/form-api-key.tsxindex 90130e594..b9c338961 100644--- a/apps/dashboard/src/components/forms/settings/form-api-key.tsx+++ b/apps/dashboard/src/components/forms/settings/form-api-key.tsx@@ -16,6 +16,8 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";import {AlertDialog,AlertDialogContent,@@ -23,9 +25,9 @@ import {AlertDialogFooter,AlertDialogHeader,AlertDialogTitle,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";-import { Calendar } from "@/components/ui/calendar";+} from "@openstatus/ui/components/ui/alert-dialog";+import { Button } from "@openstatus/ui/components/ui/button";+import { Calendar } from "@openstatus/ui/components/ui/calendar";import {Dialog,DialogContent,@@ -34,7 +36,7 @@ import {DialogHeader,DialogTitle,DialogTrigger,-} from "@/components/ui/dialog";+} from "@openstatus/ui/components/ui/dialog";import {Form,FormControl,@@ -42,18 +44,16 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { Textarea } from "@/components/ui/textarea";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/popover";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation, useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { format } from "date-fns";diff --git a/apps/dashboard/src/components/forms/settings/form-members.tsx b/apps/dashboard/src/components/forms/settings/form-members.tsxindex 6da0c1d9e..f006d647c 100644--- a/apps/dashboard/src/components/forms/settings/form-members.tsx+++ b/apps/dashboard/src/components/forms/settings/form-members.tsx@@ -1,6 +1,10 @@"use client";-import { TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";+import {+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";import {FormCardContent,@@ -11,16 +15,17 @@ import {FormCardUpgrade,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import { FormCardFooter, FormCardFooterInfo } from "../form-card";import { Link } from "@/components/common/link";import { FormCard } from "@/components/forms/form-card";-import { Tabs } from "@/components/ui/tabs";+import { Tabs } from "@openstatus/ui/components/ui/tabs";import { Lock } from "lucide-react";import { DataTable as InvitationsDataTable } from "@/components/data-table/settings/invitations/data-table";import { DataTable as MembersDataTable } from "@/components/data-table/settings/members/data-table";+import { zodResolver } from "@hookform/resolvers/zod";import {Form,FormControl,@@ -28,9 +33,8 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/settings/form-slug.tsx b/apps/dashboard/src/components/forms/settings/form-slug.tsxindex 7d667d352..5b2e8832f 100644--- a/apps/dashboard/src/components/forms/settings/form-slug.tsx+++ b/apps/dashboard/src/components/forms/settings/form-slug.tsx@@ -9,10 +9,10 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import { FormDialogSupportContact } from "@/components/forms/support-contact/dialog";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";import { Check, Copy } from "lucide-react";import { z } from "zod";diff --git a/apps/dashboard/src/components/forms/settings/form-workspace.tsx b/apps/dashboard/src/components/forms/settings/form-workspace.tsxindex 7b3f8c827..0bec900ab 100644--- a/apps/dashboard/src/components/forms/settings/form-workspace.tsx+++ b/apps/dashboard/src/components/forms/settings/form-workspace.tsx@@ -8,7 +8,8 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -16,9 +17,8 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { useTransition } from "react";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/status-page/form-appearance.tsx b/apps/dashboard/src/components/forms/status-page/form-appearance.tsxindex ab22bdf21..6b6f7bbfa 100644--- a/apps/dashboard/src/components/forms/status-page/form-appearance.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-appearance.tsx@@ -11,7 +11,11 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { THEME_KEYS } from "@openstatus/theme-store";+import { THEMES } from "@openstatus/theme-store";+import type { ThemeKey } from "@openstatus/theme-store";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -19,7 +23,7 @@ import {CommandInput,CommandItem,CommandList,-} from "@/components/ui/command";+} from "@openstatus/ui/components/ui/command";import {Form,FormControl,@@ -28,24 +32,20 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";+} from "@openstatus/ui/components/ui/popover";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";-import { THEME_KEYS } from "@openstatus/theme-store";-import { THEMES } from "@openstatus/theme-store";-import type { ThemeKey } from "@openstatus/theme-store";+} from "@openstatus/ui/components/ui/select";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import { ArrowUpRight, Laptop, Moon, Sun } from "lucide-react";import { Check, ChevronsUpDown } from "lucide-react";diff --git a/apps/dashboard/src/components/forms/status-page/form-configuration.tsx b/apps/dashboard/src/components/forms/status-page/form-configuration.tsxindex fc00915c9..214699a63 100644--- a/apps/dashboard/src/components/forms/status-page/form-configuration.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-configuration.tsx@@ -13,7 +13,9 @@ import {FormCardSeparator,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { THEMES, THEME_KEYS } from "@openstatus/theme-store";+import { Button } from "@openstatus/ui/components/ui/button";import {Dialog,DialogClose,@@ -22,7 +24,7 @@ import {DialogFooter,DialogHeader,DialogTitle,-} from "@/components/ui/dialog";+} from "@openstatus/ui/components/ui/dialog";import {Form,FormControl,@@ -30,16 +32,14 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { zodResolver } from "@hookform/resolvers/zod";-import { THEMES, THEME_KEYS } from "@openstatus/theme-store";+} from "@openstatus/ui/components/ui/select";import { isTRPCClientError } from "@trpc/client";import { ArrowUpRight } from "lucide-react";import { parseAsStringLiteral, useQueryStates } from "nuqs";diff --git a/apps/dashboard/src/components/forms/status-page/form-custom-domain.tsx b/apps/dashboard/src/components/forms/status-page/form-custom-domain.tsxindex 431d679e8..3e6b3fab6 100644--- a/apps/dashboard/src/components/forms/status-page/form-custom-domain.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-custom-domain.tsx@@ -12,11 +12,12 @@ import {FormCardUpgrade,} from "@/components/forms/form-card";-import { Label } from "@/components/ui/label";+import { Label } from "@openstatus/ui/components/ui/label";+// FIXME: use input-group insteadimport { InputWithAddons } from "@/components/common/input-with-addons";-import { Button } from "@/components/ui/button";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import { Lock } from "lucide-react";import { useForm } from "react-hook-form";import { z } from "zod";@@ -24,7 +25,12 @@ import { z } from "zod";import { Link } from "@/components/common/link";import DomainConfiguration from "@/components/domains/domain-configuration";import { useDomainStatus } from "@/components/domains/use-domain-status";-import { Form, FormField, FormItem, FormMessage } from "@/components/ui/form";+import {+ Form,+ FormField,+ FormItem,+ FormMessage,+} from "@openstatus/ui/components/ui/form";import { isTRPCClientError } from "@trpc/client";import type React from "react";import { useEffect, useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/status-page/form-general.tsx b/apps/dashboard/src/components/forms/status-page/form-general.tsxindex 0e3c423e7..80bcd5ef9 100644--- a/apps/dashboard/src/components/forms/status-page/form-general.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-general.tsx@@ -1,5 +1,6 @@"use client";+// FIXME: use input-group insteadimport { InputWithAddons } from "@/components/common/input-with-addons";import {FormControl,@@ -8,7 +9,7 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";import {FormCard,@@ -19,13 +20,13 @@ import {FormCardSeparator,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";-import { Form } from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Textarea } from "@/components/ui/textarea";-import { useDebounce } from "@/hooks/use-debounce";import { useTRPC } from "@/lib/trpc/client";import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";+import { Form } from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { useDebounce } from "@openstatus/ui/hooks/use-debounce";import { useMutation, useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import Image from "next/image";diff --git a/apps/dashboard/src/components/forms/status-page/form-links.tsx b/apps/dashboard/src/components/forms/status-page/form-links.tsxindex 5a66c3b16..70f55dce4 100644--- a/apps/dashboard/src/components/forms/status-page/form-links.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-links.tsx@@ -11,7 +11,8 @@ import {FormCardHeader,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -20,9 +21,8 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { isTRPCClientError } from "@trpc/client";import { useForm } from "react-hook-form";import { toast } from "sonner";diff --git a/apps/dashboard/src/components/forms/status-page/form-monitors.tsx b/apps/dashboard/src/components/forms/status-page/form-monitors.tsxindex ec8231e15..b7918c4a2 100644--- a/apps/dashboard/src/components/forms/status-page/form-monitors.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-monitors.tsx@@ -15,6 +15,15 @@ import {FormCardSeparator,FormCardTitle,} from "@/components/forms/form-card";+import {+ Sortable,+ SortableContent,+ SortableItem,+ SortableItemHandle,+ SortableOverlay,+} from "@/components/ui/sortable";+import type { UniqueIdentifier } from "@dnd-kit/core";+import { zodResolver } from "@hookform/resolvers/zod";import {AlertDialog,AlertDialogAction,@@ -25,8 +34,8 @@ import {AlertDialogHeader,AlertDialogTitle,AlertDialogTrigger,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";+} from "@openstatus/ui/components/ui/alert-dialog";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -34,7 +43,7 @@ import {CommandInput,CommandItem,CommandList,-} from "@/components/ui/command";+} from "@openstatus/ui/components/ui/command";import {Form,FormControl,@@ -43,26 +52,17 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { PopoverContent } from "@/components/ui/popover";-import { Popover, PopoverTrigger } from "@/components/ui/popover";-import {- Sortable,- SortableContent,- SortableItem,- SortableItemHandle,- SortableOverlay,-} from "@/components/ui/sortable";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { PopoverContent } from "@openstatus/ui/components/ui/popover";+import { Popover, PopoverTrigger } from "@openstatus/ui/components/ui/popover";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";-import type { UniqueIdentifier } from "@dnd-kit/core";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import {Check,diff --git a/apps/dashboard/src/components/forms/status-page/form-page-access.tsx b/apps/dashboard/src/components/forms/status-page/form-page-access.tsxindex 1cf87eb4c..35059bc4c 100644--- a/apps/dashboard/src/components/forms/status-page/form-page-access.tsx+++ b/apps/dashboard/src/components/forms/status-page/form-page-access.tsx@@ -12,7 +12,8 @@ import {FormCardSeparator,FormCardTitle,} from "@/components/forms/form-card";-import { Button } from "@/components/ui/button";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,@@ -21,11 +22,13 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import {+ RadioGroup,+ RadioGroupItem,+} from "@openstatus/ui/components/ui/radio-group";+import { cn } from "@openstatus/ui/lib/utils";import { isTRPCClientError } from "@trpc/client";import { Key, Lock, LockOpen, ShieldUser } from "lucide-react";import { useTransition } from "react";diff --git a/apps/dashboard/src/components/forms/status-report-update/form-status-report.tsx b/apps/dashboard/src/components/forms/status-report-update/form-status-report.tsxindex f2898f818..866d415fe 100644--- a/apps/dashboard/src/components/forms/status-report-update/form-status-report.tsx+++ b/apps/dashboard/src/components/forms/status-report-update/form-status-report.tsx@@ -13,9 +13,16 @@ import {FormCardTitle,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Calendar } from "@/components/ui/calendar";-import { Checkbox } from "@/components/ui/checkbox";+import { colors } from "@/data/status-report-updates.client";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";+import {+ type StatusReportUpdate,+ statusReportStatus,+} from "@openstatus/db/src/schema";+import { Button } from "@openstatus/ui/components/ui/button";+import { Calendar } from "@openstatus/ui/components/ui/calendar";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Form,FormControl,@@ -24,31 +31,27 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";-import { PopoverContent, PopoverTrigger } from "@/components/ui/popover";-import { Popover } from "@/components/ui/popover";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@openstatus/ui/components/ui/popover";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { TabsContent } from "@/components/ui/tabs";-import { TabsList, TabsTrigger } from "@/components/ui/tabs";-import { Tabs } from "@/components/ui/tabs";-import { Textarea } from "@/components/ui/textarea";-import { colors } from "@/data/status-report-updates.client";-import { useIsMobile } from "@/hooks/use-mobile";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";-import {- type StatusReportUpdate,- statusReportStatus,-} from "@openstatus/db/src/schema";+} from "@openstatus/ui/components/ui/select";+import { TabsContent } from "@openstatus/ui/components/ui/tabs";+import { TabsList, TabsTrigger } from "@openstatus/ui/components/ui/tabs";+import { Tabs } from "@openstatus/ui/components/ui/tabs";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation, useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { format } from "date-fns";@@ -387,13 +390,12 @@ export function FormStatusReportUpdateCard({><Buttonvariant="outline"- size="sm"className="text-destructive hover:bg-destructive/10 hover:text-destructive">Delete</Button></FormAlertDialog>- <Button type="submit" form={`update-form-${update.id}`} size="sm">+ <Button type="submit" form={`update-form-${update.id}`}>{isPending ? "Submitting..." : "Submit"}</Button></FormCardFooter>diff --git a/apps/dashboard/src/components/forms/status-report-update/form.tsx b/apps/dashboard/src/components/forms/status-report-update/form.tsxindex 46f03549f..9d2e5acef 100644--- a/apps/dashboard/src/components/forms/status-report-update/form.tsx+++ b/apps/dashboard/src/components/forms/status-report-update/form.tsx@@ -6,9 +6,13 @@ import {FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Calendar } from "@/components/ui/calendar";-import { Checkbox } from "@/components/ui/checkbox";+import { colors } from "@/data/status-report-updates.client";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";+import { statusReportStatus } from "@openstatus/db/src/schema";+import { Button } from "@openstatus/ui/components/ui/button";+import { Calendar } from "@openstatus/ui/components/ui/calendar";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Form,FormControl,@@ -17,28 +21,27 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";-import { PopoverContent, PopoverTrigger } from "@/components/ui/popover";-import { Popover } from "@/components/ui/popover";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import {+ PopoverContent,+ PopoverTrigger,+} from "@openstatus/ui/components/ui/popover";+import { Popover } from "@openstatus/ui/components/ui/popover";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { TabsContent } from "@/components/ui/tabs";-import { TabsList, TabsTrigger } from "@/components/ui/tabs";-import { Tabs } from "@/components/ui/tabs";-import { Textarea } from "@/components/ui/textarea";-import { colors } from "@/data/status-report-updates.client";-import { useIsMobile } from "@/hooks/use-mobile";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";-import { statusReportStatus } from "@openstatus/db/src/schema";+} from "@openstatus/ui/components/ui/select";+import { TabsContent } from "@openstatus/ui/components/ui/tabs";+import { TabsList, TabsTrigger } from "@openstatus/ui/components/ui/tabs";+import { Tabs } from "@openstatus/ui/components/ui/tabs";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { format } from "date-fns";diff --git a/apps/dashboard/src/components/forms/status-report-update/sheet.tsx b/apps/dashboard/src/components/forms/status-report-update/sheet.tsxindex aeada2d9d..2f19a3163 100644--- a/apps/dashboard/src/components/forms/status-report-update/sheet.tsx+++ b/apps/dashboard/src/components/forms/status-report-update/sheet.tsx@@ -14,7 +14,7 @@ import {FormStatusReportUpdate,type FormValues,} from "@/components/forms/status-report-update/form";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import { useState } from "react";export function FormSheetStatusReportUpdate({diff --git a/apps/dashboard/src/components/forms/status-report/form.tsx b/apps/dashboard/src/components/forms/status-report/form.tsxindex 24355b932..b22d8272d 100644--- a/apps/dashboard/src/components/forms/status-report/form.tsx+++ b/apps/dashboard/src/components/forms/status-report/form.tsx@@ -10,9 +10,16 @@ import {FormCardSeparator,} from "@/components/forms/form-card";import { useFormSheetDirty } from "@/components/forms/form-sheet";-import { Button } from "@/components/ui/button";-import { Calendar } from "@/components/ui/calendar";-import { Checkbox } from "@/components/ui/checkbox";+import { colors } from "@/data/status-report-updates.client";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";+import {+ type PageComponent,+ statusReportStatus,+} from "@openstatus/db/src/schema";+import { Button } from "@openstatus/ui/components/ui/button";+import { Calendar } from "@openstatus/ui/components/ui/calendar";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Form,FormControl,@@ -21,34 +28,27 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";+} from "@openstatus/ui/components/ui/popover";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { TabsContent } from "@/components/ui/tabs";-import { TabsList, TabsTrigger } from "@/components/ui/tabs";-import { Tabs } from "@/components/ui/tabs";-import { Textarea } from "@/components/ui/textarea";-import { colors } from "@/data/status-report-updates.client";-import { useIsMobile } from "@/hooks/use-mobile";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { zodResolver } from "@hookform/resolvers/zod";-import {- type PageComponent,- statusReportStatus,-} from "@openstatus/db/src/schema";+} from "@openstatus/ui/components/ui/select";+import { TabsContent } from "@openstatus/ui/components/ui/tabs";+import { TabsList, TabsTrigger } from "@openstatus/ui/components/ui/tabs";+import { Tabs } from "@openstatus/ui/components/ui/tabs";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { format } from "date-fns";diff --git a/apps/dashboard/src/components/forms/status-report/sheet.tsx b/apps/dashboard/src/components/forms/status-report/sheet.tsxindex d9bfdb2f4..0dcbe7166 100644--- a/apps/dashboard/src/components/forms/status-report/sheet.tsx+++ b/apps/dashboard/src/components/forms/status-report/sheet.tsx@@ -14,9 +14,9 @@ import {FormStatusReport,type FormValues,} from "@/components/forms/status-report/form";-import { Button } from "@/components/ui/button";-import { Separator } from "@/components/ui/separator";import type { PageComponent } from "@openstatus/db/src/schema";+import { Button } from "@openstatus/ui/components/ui/button";+import { Separator } from "@openstatus/ui/components/ui/separator";import { useState } from "react";export function FormSheetStatusReport({diff --git a/apps/dashboard/src/components/forms/support-contact/dialog.tsx b/apps/dashboard/src/components/forms/support-contact/dialog.tsxindex e6fd0a2e1..17eeb1298 100644--- a/apps/dashboard/src/components/forms/support-contact/dialog.tsx+++ b/apps/dashboard/src/components/forms/support-contact/dialog.tsx@@ -1,4 +1,5 @@import { Link } from "@/components/common/link";+import { useTRPC } from "@/lib/trpc/client";import {Dialog,DialogContent,@@ -6,9 +7,8 @@ import {DialogHeader,DialogTitle,DialogTrigger,-} from "@/components/ui/dialog";-import { useIsMobile } from "@/hooks/use-mobile";-import { useTRPC } from "@/lib/trpc/client";+} from "@openstatus/ui/components/ui/dialog";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";import { useMutation, useQuery } from "@tanstack/react-query";import { useState } from "react";import { ContactForm, type FormValues } from "./form";diff --git a/apps/dashboard/src/components/forms/support-contact/form.tsx b/apps/dashboard/src/components/forms/support-contact/form.tsxindex 95992d2d3..91d7fd91a 100644--- a/apps/dashboard/src/components/forms/support-contact/form.tsx+++ b/apps/dashboard/src/components/forms/support-contact/form.tsx@@ -12,17 +12,20 @@ import {FormItem,FormLabel,FormMessage,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";-import { Button } from "@/components/ui/button";-import { Checkbox } from "@/components/ui/checkbox";-import { Input } from "@/components/ui/input";-import { SelectItem } from "@/components/ui/select";-import { SelectContent, SelectValue } from "@/components/ui/select";-import { SelectTrigger } from "@/components/ui/select";-import { Select } from "@/components/ui/select";-import { Textarea } from "@/components/ui/textarea";-import { cn } from "@/lib/utils";+import { Button } from "@openstatus/ui/components/ui/button";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";+import { Input } from "@openstatus/ui/components/ui/input";+import { SelectItem } from "@openstatus/ui/components/ui/select";+import {+ SelectContent,+ SelectValue,+} from "@openstatus/ui/components/ui/select";+import { SelectTrigger } from "@openstatus/ui/components/ui/select";+import { Select } from "@openstatus/ui/components/ui/select";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { cn } from "@openstatus/ui/lib/utils";import { toast } from "sonner";export const types = [diff --git a/apps/dashboard/src/components/metric/metric-card.tsx b/apps/dashboard/src/components/metric/metric-card.tsxindex 482ab5010..13f9b9b9b 100644--- a/apps/dashboard/src/components/metric/metric-card.tsx+++ b/apps/dashboard/src/components/metric/metric-card.tsx@@ -2,10 +2,10 @@ import type { VariantProps } from "class-variance-authority";import { cva } from "class-variance-authority";import { ChevronDown, ChevronUp } from "lucide-react";-import { Badge } from "@/components/ui/badge";-import { Skeleton } from "@/components/ui/skeleton";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";import type React from "react";const metricCardVariants = cva(diff --git a/apps/dashboard/src/components/nav/app-sidebar.tsx b/apps/dashboard/src/components/nav/app-sidebar.tsxindex 178b7fd84..f363298c9 100644--- a/apps/dashboard/src/components/nav/app-sidebar.tsx+++ b/apps/dashboard/src/components/nav/app-sidebar.tsx@@ -31,7 +31,7 @@ import {TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";+} from "@openstatus/ui/components/ui/tooltip";import { NavBanner } from "./nav-banner";import { NavHelp } from "./nav-help";diff --git a/apps/dashboard/src/components/nav/nav-banner.tsx b/apps/dashboard/src/components/nav/nav-banner.tsxindex a8ad41cad..f994e4afa 100644--- a/apps/dashboard/src/components/nav/nav-banner.tsx+++ b/apps/dashboard/src/components/nav/nav-banner.tsx@@ -1,7 +1,7 @@"use client";-import { useCookieState } from "@/hooks/use-cookie-state";import { useTRPC } from "@/lib/trpc/client";+import { useCookieState } from "@openstatus/ui/hooks/use-cookie-state";import { useQuery } from "@tanstack/react-query";import { NavBannerChecklist } from "./nav-banner-checklist";import { NavBannerUpgrade } from "./nav-banner-upgrade";diff --git a/apps/dashboard/src/components/nav/nav-breadcrumb.tsx b/apps/dashboard/src/components/nav/nav-breadcrumb.tsxindex 7e293c33e..6af8ab193 100644--- a/apps/dashboard/src/components/nav/nav-breadcrumb.tsx+++ b/apps/dashboard/src/components/nav/nav-breadcrumb.tsx@@ -7,14 +7,14 @@ import {BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,-} from "@/components/ui/breadcrumb";+} from "@openstatus/ui/components/ui/breadcrumb";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";+} from "@openstatus/ui/components/ui/select";import type { LucideIcon } from "lucide-react";import Link from "next/link";import { usePathname, useRouter } from "next/navigation";diff --git a/apps/dashboard/src/components/nav/nav-feedback.tsx b/apps/dashboard/src/components/nav/nav-feedback.tsxindex 38d97bd03..6059c25d3 100644--- a/apps/dashboard/src/components/nav/nav-feedback.tsx+++ b/apps/dashboard/src/components/nav/nav-feedback.tsx@@ -1,23 +1,23 @@"use client";-import { Kbd } from "@/components/common/kbd";-import { Button } from "@/components/ui/button";+import { useTRPC } from "@/lib/trpc/client";+import { zodResolver } from "@hookform/resolvers/zod";+import { Button } from "@openstatus/ui/components/ui/button";import {Form,FormControl,FormField,FormItem,FormLabel,-} from "@/components/ui/form";+} from "@openstatus/ui/components/ui/form";+import { Kbd } from "@openstatus/ui/components/ui/kbd";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { Textarea } from "@/components/ui/textarea";-import { useIsMobile } from "@/hooks/use-mobile";-import { useTRPC } from "@/lib/trpc/client";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/popover";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";import { useMutation } from "@tanstack/react-query";import { AudioLines, Inbox, LoaderCircle, Mic } from "lucide-react";import { useCallback, useEffect, useRef, useState } from "react";@@ -167,7 +167,7 @@ export function NavFeedback() {className="group gap-0 px-2 text-muted-foreground text-sm hover:bg-transparent hover:text-foreground data-[state=open]:text-foreground">Feedback{" "}- <Kbd className="font-mono group-hover:text-foreground group-data-[state=open]:text-foreground">+ <Kbd className="ml-1 font-mono group-hover:text-foreground group-data-[state=open]:text-foreground">F</Kbd></Button>@@ -228,10 +228,10 @@ export function NavFeedback() {) : (<>Send- <Kbd className="font-mono group-hover:text-foreground">+ <Kbd className="ml-1 font-mono group-hover:text-foreground">⌘</Kbd>- <Kbd className="font-mono group-hover:text-foreground">+ <Kbd className="ml-1 font-mono group-hover:text-foreground">↵</Kbd></>diff --git a/apps/dashboard/src/components/nav/nav-help.tsx b/apps/dashboard/src/components/nav/nav-help.tsxindex c42dc4bf9..edc5e8a21 100644--- a/apps/dashboard/src/components/nav/nav-help.tsx+++ b/apps/dashboard/src/components/nav/nav-help.tsx@@ -1,13 +1,6 @@"use client";import { FormDialogSupportContact } from "@/components/forms/support-contact/dialog";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";import {SidebarGroup,SidebarGroupContent,@@ -18,6 +11,13 @@ import {import { useSidebar } from "@/components/ui/sidebar";import { DiscordIcon } from "@openstatus/icons";import { GitHubIcon } from "@openstatus/icons";+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuLabel,+ DropdownMenuTrigger,+} from "@openstatus/ui/components/ui/dropdown-menu";import {Book,Braces,diff --git a/apps/dashboard/src/components/nav/nav-main.tsx b/apps/dashboard/src/components/nav/nav-main.tsxindex 9477ed528..577ca7d42 100644--- a/apps/dashboard/src/components/nav/nav-main.tsx+++ b/apps/dashboard/src/components/nav/nav-main.tsx@@ -2,11 +2,6 @@import { ChevronRight, type LucideIcon } from "lucide-react";-import {- Collapsible,- CollapsibleContent,- CollapsibleTrigger,-} from "@/components/ui/collapsible";import {SidebarGroup,SidebarGroupLabel,@@ -18,6 +13,11 @@ import {SidebarMenuSubItem,} from "@/components/ui/sidebar";import { useSidebar } from "@/components/ui/sidebar";+import {+ Collapsible,+ CollapsibleContent,+ CollapsibleTrigger,+} from "@openstatus/ui/components/ui/collapsible";import Link from "next/link";export function NavMain({items,diff --git a/apps/dashboard/src/components/nav/nav-monitors.tsx b/apps/dashboard/src/components/nav/nav-monitors.tsxindex 6b1e5b30c..f02a411c0 100644--- a/apps/dashboard/src/components/nav/nav-monitors.tsx+++ b/apps/dashboard/src/components/nav/nav-monitors.tsx@@ -17,16 +17,16 @@ import {SidebarMenuSkeleton,useSidebar,} from "@/components/ui/sidebar";-import { Skeleton } from "@/components/ui/skeleton";+import { getActions } from "@/data/monitors.client";+import { useTRPC } from "@/lib/trpc/client";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { getActions } from "@/data/monitors.client";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import Link from "next/link";diff --git a/apps/dashboard/src/components/nav/nav-status-pages.tsx b/apps/dashboard/src/components/nav/nav-status-pages.tsxindex 513240327..787802523 100644--- a/apps/dashboard/src/components/nav/nav-status-pages.tsx+++ b/apps/dashboard/src/components/nav/nav-status-pages.tsx@@ -13,21 +13,21 @@ import {SidebarMenuSkeleton,useSidebar,} from "@/components/ui/sidebar";+import { getActions } from "@/data/status-pages.client";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { getActions } from "@/data/status-pages.client";+} from "@openstatus/ui/components/ui/tooltip";import Link from "next/link";import { usePathname, useRouter } from "next/navigation";import { toast } from "sonner";import { UpgradeDialog } from "@/components/dialogs/upgrade";-import { Skeleton } from "@/components/ui/skeleton";import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { useState } from "react";diff --git a/apps/dashboard/src/components/nav/nav-user.tsx b/apps/dashboard/src/components/nav/nav-user.tsxindex 978fd8a89..1f908febb 100644--- a/apps/dashboard/src/components/nav/nav-user.tsx+++ b/apps/dashboard/src/components/nav/nav-user.tsx@@ -11,7 +11,18 @@ import {User,} from "lucide-react";-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import {+ SidebarMenu,+ SidebarMenuButton,+ SidebarMenuItem,+ useSidebar,+} from "@/components/ui/sidebar";+import { useTRPC } from "@/lib/trpc/client";+import {+ Avatar,+ AvatarFallback,+ AvatarImage,+} from "@openstatus/ui/components/ui/avatar";import {DropdownMenu,DropdownMenuContent,@@ -24,14 +35,7 @@ import {DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import {- SidebarMenu,- SidebarMenuButton,- SidebarMenuItem,- useSidebar,-} from "@/components/ui/sidebar";-import { useTRPC } from "@/lib/trpc/client";+} from "@openstatus/ui/components/ui/dropdown-menu";import { useQuery } from "@tanstack/react-query";import { signOut } from "next-auth/react";import { useTheme } from "next-themes";@@ -55,7 +59,7 @@ export function NavUser() {<DropdownMenuTrigger asChild><SidebarMenuButtonsize="lg"- className="h-14 rounded-none px-4 ring-inset data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground group-data-[collapsible=icon]:mx-2!"+ className="h-14 rounded-none px-4 ring-inset data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground group-data-[collapsible=icon]:mx-2! group-data-[collapsible=icon]:rounded-lg! group-data-[collapsible=icon]:px-0!"><Avatar className="h-8 w-8 rounded-lg"><AvatarImage src={user?.photoUrl ?? undefined} alt={userName} />diff --git a/apps/dashboard/src/components/nav/sidebar-metadata.tsx b/apps/dashboard/src/components/nav/sidebar-metadata.tsxindex af53d717f..0b434710e 100644--- a/apps/dashboard/src/components/nav/sidebar-metadata.tsx+++ b/apps/dashboard/src/components/nav/sidebar-metadata.tsx@@ -5,16 +5,16 @@ import {EmptyStateContainer,EmptyStateDescription,} from "@/components/content/empty-state";-import {- Collapsible,- CollapsibleContent,- CollapsibleTrigger,-} from "@/components/ui/collapsible";import {SidebarGroup,SidebarGroupContent,SidebarGroupLabel,} from "@/components/ui/sidebar";+import {+ Collapsible,+ CollapsibleContent,+ CollapsibleTrigger,+} from "@openstatus/ui/components/ui/collapsible";import {Table,TableBody,@@ -22,11 +22,15 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/table";+import {+ Tooltip,+ TooltipContent,+ TooltipTrigger,+} from "@openstatus/ui/components/ui/tooltip";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { cn } from "@openstatus/ui/lib/utils";import { TooltipProvider } from "@radix-ui/react-tooltip";-import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";export type SidebarMetadataProps = {label: string;diff --git a/apps/dashboard/src/components/nav/sidebar-right.tsx b/apps/dashboard/src/components/nav/sidebar-right.tsxindex f8755fb08..3129436d2 100644--- a/apps/dashboard/src/components/nav/sidebar-right.tsx+++ b/apps/dashboard/src/components/nav/sidebar-right.tsx@@ -2,7 +2,6 @@import * as React from "react";-import { Button } from "@/components/ui/button";import {Sidebar,SidebarContent,@@ -15,17 +14,18 @@ import {SidebarSeparator,useSidebar,} from "@/components/ui/sidebar";-import { useMediaQuery } from "@/hooks/use-media-query";-import { useIsMobile } from "@/hooks/use-mobile";-import { cn } from "@/lib/utils";-import { PanelRight } from "lucide-react";-import { Kbd } from "../common/kbd";+import { Button } from "@openstatus/ui/components/ui/button";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "../ui/tooltip";+} from "@openstatus/ui/components/ui/tooltip";+import { useMediaQuery } from "@openstatus/ui/hooks/use-media-query";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";+import { cn } from "@openstatus/ui/lib/utils";+import { PanelRight } from "lucide-react";+import { Kbd } from "../common/kbd";import { SidebarMetadata, type SidebarMetadataProps } from "./sidebar-metadata";const SIDEBAR_KEYBOARD_SHORTCUT = "]";diff --git a/apps/dashboard/src/components/nav/workspace-switcher.tsx b/apps/dashboard/src/components/nav/workspace-switcher.tsxindex 1c59dfb03..11df3661a 100644--- a/apps/dashboard/src/components/nav/workspace-switcher.tsx+++ b/apps/dashboard/src/components/nav/workspace-switcher.tsx@@ -2,14 +2,6 @@import { ChevronsUpDown, Plus } from "lucide-react";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuSeparator,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";import {SidebarMenu,SidebarMenuButton,@@ -17,6 +9,14 @@ import {useSidebar,} from "@/components/ui/sidebar";import { useTRPC } from "@/lib/trpc/client";+import {+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuLabel,+ DropdownMenuSeparator,+ DropdownMenuTrigger,+} from "@openstatus/ui/components/ui/dropdown-menu";import { useQuery } from "@tanstack/react-query";import { Link } from "../common/link";@@ -40,8 +40,7 @@ export function WorkspaceSwitcher() {<DropdownMenuTrigger asChild><SidebarMenuButtonsize="lg"- // FIXME: group-data-[collapsible=icon]:mx-8! (incl. nav-user)- className="h-14 rounded-none px-4 ring-inset data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground group-data-[collapsible=icon]:mx-2!"+ className="h-14 rounded-none px-4 ring-inset data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground group-data-[collapsible=icon]:mx-2! group-data-[collapsible=icon]:rounded-lg! group-data-[collapsible=icon]:px-0!"><div className="flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary"><div className="size-8 overflow-hidden rounded-lg">diff --git a/apps/dashboard/src/components/popovers/popover-quantile.tsx b/apps/dashboard/src/components/popovers/popover-quantile.tsxindex 4521562d0..798d035fd 100644--- a/apps/dashboard/src/components/popovers/popover-quantile.tsx+++ b/apps/dashboard/src/components/popovers/popover-quantile.tsx@@ -2,9 +2,9 @@ import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/popover";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";export function PopoverQuantile({children,diff --git a/apps/dashboard/src/components/popovers/popover-resolution.tsx b/apps/dashboard/src/components/popovers/popover-resolution.tsxindex d0305bcf4..13a5f26ed 100644--- a/apps/dashboard/src/components/popovers/popover-resolution.tsx+++ b/apps/dashboard/src/components/popovers/popover-resolution.tsx@@ -2,9 +2,9 @@ import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/popover";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";export function PopoverResolution({children,diff --git a/apps/dashboard/src/components/status-page/floating-button.tsx b/apps/dashboard/src/components/status-page/floating-button.tsxdeleted file mode 100644index c1d88907a..000000000--- a/apps/dashboard/src/components/status-page/floating-button.tsx+++ /dev/null@@ -1,139 +0,0 @@-"use client";--import { ThemeToggle } from "@/components/theme-toggle";-import { Button } from "@/components/ui/button";-import { Label } from "@/components/ui/label";-import {- Popover,- PopoverContent,- PopoverTrigger,-} from "@/components/ui/popover";-import {- Select,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,-} from "@/components/ui/select";-import { cn } from "@/lib/utils";-import { Settings } from "lucide-react";-import type React from "react";-import { createContext, useContext, useState } from "react";--export const VARIANT = ["success", "degraded", "error", "info"] as const;-export type VariantType = (typeof VARIANT)[number];--export const CARD_TYPE = ["detailed", "compact"] as const;-export type CardType = (typeof CARD_TYPE)[number];--interface StatusPageContextType {- variant: VariantType;- setVariant: (variant: VariantType) => void;- cardType: CardType;- setCardType: (cardType: CardType) => void;-}--const StatusPageContext = createContext<StatusPageContextType | null>(null);--export function useStatusPage() {- const context = useContext(StatusPageContext);- if (!context) {- throw new Error("useStatusPage must be used within a StatusPageProvider");- }- return context;-}--export function StatusPageProvider({- children,- defaultVariant = "success",-}: {- children: React.ReactNode;- defaultVariant?: VariantType;-}) {- const [variant, setVariant] = useState<VariantType>(defaultVariant);- const [cardType, setCardType] = useState<CardType>("detailed");-- return (- <StatusPageContext.Provider- value={{ variant, setVariant, cardType, setCardType }}- >- {children}- </StatusPageContext.Provider>- );-}--export function FloatingButton({ className }: { className?: string }) {- const { variant, setVariant, cardType, setCardType } = useStatusPage();-- return (- <div className={cn("fixed right-4 bottom-4 z-50 bg-background", className)}>- <Popover>- <PopoverTrigger asChild>- <Button- size="icon"- variant="outline"- className="size-12 rounded-full"- >- <Settings className="size-5" />- <span className="sr-only">Open status page settings</span>- </Button>- </PopoverTrigger>- <PopoverContent className="w-80" align="end">- <div className="space-y-4">- <div className="space-y-2">- <h4 className="font-medium leading-none">Status Page Settings</h4>- <p className="text-muted-foreground text-sm">- Configure the status page appearance- </p>- </div>- <div className="space-y-4">- <div className="space-y-2">- <Label htmlFor="status-variant">Status Variant</Label>- <Select- value={variant}- onValueChange={(v) => setVariant(v as VariantType)}- >- <SelectTrigger- id="status-variant"- className="w-full capitalize"- >- <SelectValue />- </SelectTrigger>- <SelectContent>- {VARIANT.map((v) => (- <SelectItem key={v} value={v} className="capitalize">- {v}- </SelectItem>- ))}- </SelectContent>- </Select>- </div>- <div className="space-y-2">- <Label htmlFor="card-type">Card Type</Label>- <Select- value={cardType}- onValueChange={(v) => setCardType(v as CardType)}- >- <SelectTrigger id="card-type" className="w-full capitalize">- <SelectValue />- </SelectTrigger>- <SelectContent>- {CARD_TYPE.map((v) => (- <SelectItem key={v} value={v} className="capitalize">- {v}- </SelectItem>- ))}- </SelectContent>- </Select>- </div>- <div className="space-y-2">- <Label htmlFor="theme">Theme</Label>- <ThemeToggle id="theme" className="w-full" />- </div>- </div>- </div>- </PopoverContent>- </Popover>- </div>- );-}diff --git a/apps/dashboard/src/components/status-page/messages.ts b/apps/dashboard/src/components/status-page/messages.tsdeleted file mode 100644index 069a96101..000000000--- a/apps/dashboard/src/components/status-page/messages.ts+++ /dev/null@@ -1,14 +0,0 @@-export const messages = {- long: {- success: "All Systems Operational",- degraded: "Degraded Performance",- error: "Downtime Performance",- info: "Maintenance",- },- short: {- success: "Operational",- degraded: "Degraded",- error: "Downtime",- info: "Maintenance",- },-};diff --git a/apps/dashboard/src/components/status-page/status-monitor.tsx b/apps/dashboard/src/components/status-page/status-monitor.tsxdeleted file mode 100644index 9b6f9edf5..000000000--- a/apps/dashboard/src/components/status-page/status-monitor.tsx+++ /dev/null@@ -1,116 +0,0 @@-import {- Tooltip,- TooltipContent,- TooltipProvider,- TooltipTrigger,-} from "@/components/ui/tooltip";-import { useMediaQuery } from "@/hooks/use-media-query";-import { cn } from "@/lib/utils";-import {- AlertCircleIcon,- CheckIcon,- InfoIcon,- TriangleAlertIcon,- WrenchIcon,-} from "lucide-react";-import { useState } from "react";-import type { CardType, VariantType } from "./floating-button";-import { StatusTracker } from "./status-tracker";--export function StatusMonitor({- className,- variant = "success",- type = "detailed",- ...props-}: React.ComponentProps<"div"> & {- variant?: VariantType;- type?: CardType;-}) {- return (- <div- data-slot="status-monitor"- data-variant={variant}- className={cn("group/monitor flex flex-col gap-1", className)}- {...props}- >- <div className="flex flex-row items-center justify-between gap-4">- <div className="flex flex-row items-center gap-2">- <StatusMonitorTitle />- <StatusMonitorDescription />- </div>- <div className="flex flex-row items-center gap-2">- {type === "detailed" ? <StatusMonitorUptime /> : null}- <StatusMonitorIcon />- </div>- </div>- <StatusTracker type={type} />- </div>- );-}--export function StatusMonitorTitle({ ...props }: React.ComponentProps<"div">) {- return <div {...props}>StatusMonitorTitle</div>;-}--export function StatusMonitorDescription({- onClick,- ...props-}: React.ComponentProps<typeof TooltipTrigger>) {- const isTouch = useMediaQuery("(hover: none)");- const [open, setOpen] = useState(false);-- return (- <TooltipProvider delayDuration={0}>- <Tooltip open={open} onOpenChange={setOpen}>- <TooltipTrigger- onClick={(e) => {- if (isTouch) setOpen((prev) => !prev);- onClick?.(e);- }}- {...props}- >- <InfoIcon className="size-4 text-muted-foreground" />- </TooltipTrigger>- <TooltipContent>- <p>API used to ...</p>- </TooltipContent>- </Tooltip>- </TooltipProvider>- );-}-export function StatusMonitorIcon({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex size-4 items-center justify-center rounded-full bg-muted text-background [&>svg]:size-2.5",- "group-data-[variant=success]/monitor:bg-success",- "group-data-[variant=degraded]/monitor:bg-warning",- "group-data-[variant=error]/monitor:bg-destructive",- "group-data-[variant=info]/monitor:bg-info",- className,- )}- {...props}- >- <CheckIcon className="hidden group-data-[variant=success]/monitor:block" />- <TriangleAlertIcon className="hidden group-data-[variant=degraded]/monitor:block" />- <AlertCircleIcon className="hidden group-data-[variant=error]/monitor:block" />- <WrenchIcon className="hidden group-data-[variant=info]/monitor:block" />- </div>- );-}-export function StatusMonitorUptime({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- {...props}- className={cn("font-mono text-muted-foreground text-sm", className)}- >- 99.89%- </div>- );-}diff --git a/apps/dashboard/src/components/status-page/status-tracker.tsx b/apps/dashboard/src/components/status-page/status-tracker.tsxdeleted file mode 100644index 29f1b4061..000000000--- a/apps/dashboard/src/components/status-page/status-tracker.tsx+++ /dev/null@@ -1,234 +0,0 @@-"use client";--import { Kbd } from "@/components/common/kbd";-import {- HoverCard,- HoverCardContent,- HoverCardTrigger,-} from "@/components/ui/hover-card";-import { Separator } from "@/components/ui/separator";-import { statusReports } from "@/data/status-reports";-import { useMediaQuery } from "@/hooks/use-media-query";-import { formatDistanceStrict, isSameDay } from "date-fns";-import { ChevronRight } from "lucide-react";-import Link from "next/link";-import { useEffect, useRef, useState } from "react";-import { type CardType, VARIANT } from "./floating-button";-import { messages } from "./messages";-import { chartConfig, chartData } from "./utils";--const STATUS = VARIANT;--export function StatusTracker({ type = "detailed" }: { type?: CardType }) {- const [pinnedIndex, setPinnedIndex] = useState<number | null>(null);- const containerRef = useRef<HTMLDivElement>(null);- const isTouch = useMediaQuery("(hover: none)");-- // Window-level Escape key listener- useEffect(() => {- const handleEscape = (e: KeyboardEvent) => {- if (e.key === "Escape" && pinnedIndex !== null) {- setPinnedIndex(null);- }- };-- window.addEventListener("keydown", handleEscape);- return () => window.removeEventListener("keydown", handleEscape);- }, [pinnedIndex]);-- // Document-level outside click listener- useEffect(() => {- const handleOutsideClick = (e: MouseEvent) => {- if (- pinnedIndex !== null &&- containerRef.current &&- !containerRef.current.contains(e.target as Node)- ) {- setPinnedIndex(null);- }- };-- if (pinnedIndex !== null) {- document.addEventListener("mousedown", handleOutsideClick);- return () =>- document.removeEventListener("mousedown", handleOutsideClick);- }- }, [pinnedIndex]);-- // Handle keyboard events for accessibility (kept for fallback)- const handleKeyDown = (e: React.KeyboardEvent) => {- if (e.key === "Escape") {- setPinnedIndex(null);- }- };-- const handleBarClick = (index: number) => {- // Toggle pinned state: if clicking the same bar, unpin it; otherwise, pin the new bar- if (pinnedIndex === index) {- setPinnedIndex(null);- } else {- setPinnedIndex(index);- }- };-- return (- <div- ref={containerRef}- className="flex h-[50px] w-full items-end gap-px xs:gap-0.5 sm:gap-1"- onKeyDown={handleKeyDown}- >- {chartData.map((item, index) => {- const total = item.success + item.degraded + item.info + item.error;- const isPinned = pinnedIndex === index;-- const reports = statusReports.filter((report) => {- const reportDate = new Date(report.startedAt);- const itemDate = new Date(item.timestamp);- return isSameDay(reportDate, itemDate);- });-- return (- <HoverCard- key={item.timestamp}- openDelay={0}- closeDelay={0}- open={isPinned ? true : undefined}- >- <HoverCardTrigger asChild>- <div- className="group relative flex h-full w-full cursor-pointer flex-col transition-opacity hover:opacity-80"- onClick={() => handleBarClick(index)}- >- {STATUS.map((status) => {- const value = item[status as keyof typeof item] as number;- if (value === 0) return null;- const heightPercentage = (value / total) * 100;- return (- <div- key={`${item.timestamp}-${status}`}- className="w-full transition-all"- style={{- height: `${heightPercentage}%`,- backgroundColor: chartConfig[status].color,- }}- />- );- })}- </div>- </HoverCardTrigger>- <HoverCardContent side="top" align="center" className="w-auto p-0">- <div>- <div className="p-2 text-xs">- {new Date(item.timestamp).toLocaleDateString("default", {- day: "numeric",- month: "short",- })}- </div>- <Separator />- <div className="space-y-1 p-2 text-sm">- {type === "detailed" ? (- <StatusTrackerContentDetailed item={item} />- ) : (- <StatusTrackerContentCompact item={item} />- )}- </div>- {reports.length > 0 ? (- <>- <Separator />- <div className="p-2">- {reports.map((report) => (- <Link key={report.id} href={"#"}>- <div className="group flex items-center justify-between text-muted-foreground text-sm hover:text-foreground">- <div>{report.name}</div>- <ChevronRight className="size-3 transition-transform group-hover:translate-x-0.5" />- </div>- </Link>- ))}- </div>- </>- ) : null}- {isPinned && !isTouch && (- <>- <Separator />- <div className="flex cursor-pointer items-center p-2 text-muted-foreground text-xs">- <span>Click again to unpin</span>- <Kbd>Esc</Kbd>- </div>- </>- )}- </div>- </HoverCardContent>- </HoverCard>- );- })}- </div>- );-}--function StatusTrackerContentDetailed({- item,-}: {- item: (typeof chartData)[number];-}) {- return STATUS.map((status) => {- const value = item[status];- if (value === 0) return null;-- // const percentage = ((value / total) * 100).toFixed(1);-- const now = new Date();- const duration = formatDistanceStrict(- now,- new Date(now.getTime() + value * 60 * 1000),- );-- return (- <div key={status} className="flex items-baseline gap-4">- <div className="flex items-center gap-2">- <div- className="h-2.5 w-2.5 rounded-sm"- style={{- backgroundColor: chartConfig[status].color,- }}- />- <div className="text-sm">{messages.short[status]}</div>- </div>- <div className="ml-auto font-mono text-muted-foreground text-xs tracking-tight">- {duration}- </div>- </div>- );- });-}--const priority = {- error: 3,- degraded: 2,- info: 1,- success: 0,-} as const;--function StatusTrackerContentCompact({- item,-}: {- item: (typeof chartData)[number];-}) {- const highestPriorityStatus =- STATUS.filter((status) => item[status] > 0).sort(- (a, b) => priority[b] - priority[a],- )[0] || "success";-- return (- <div className="flex min-w-32 items-baseline gap-4">- <div className="flex items-center gap-2">- <div- className="h-2.5 w-2.5 rounded-sm"- style={{- backgroundColor: chartConfig[highestPriorityStatus].color,- }}- />- <div className="text-sm">{messages.short[highestPriorityStatus]}</div>- </div>- </div>- );-}diff --git a/apps/dashboard/src/components/status-page/status.tsx b/apps/dashboard/src/components/status-page/status.tsxdeleted file mode 100644index 0ce833b4d..000000000--- a/apps/dashboard/src/components/status-page/status.tsx+++ /dev/null@@ -1,179 +0,0 @@-import {- Tooltip,- TooltipContent,- TooltipProvider,- TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";-import { UTCDate } from "@date-fns/utc";-import { format } from "date-fns";-import {- AlertCircleIcon,- CheckIcon,- TriangleAlertIcon,- WrenchIcon,-} from "lucide-react";-import { messages } from "./messages";--export function Status({- children,- className,- variant = "success",- ...props-}: React.ComponentProps<"div"> & {- variant?: "success" | "degraded" | "error" | "info";-}) {- return (- <div- data-variant={variant}- data-slot="status"- className={cn("group peer flex flex-col gap-8", className)}- {...props}- >- {children}- </div>- );-}--export function StatusHeader({- children,- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- data-slot="status-header"- className={cn("@container/status-header", className)}- {...props}- >- {children}- </div>- );-}--export function StatusTitle({- children,- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- className={cn(- "font-semibold text-foreground text-lg leading-none",- className,- )}- {...props}- >- {children}- </div>- );-}--export function StatusDescription({- children,- className,-}: React.ComponentProps<"div">) {- return (- <div className={cn("text-muted-foreground", className)}>{children}</div>- );-}--export function StatusContent({- children,- className,-}: React.ComponentProps<"div">) {- return <div className={cn("flex flex-col gap-6", className)}>{children}</div>;-}--export function StatusBanner({ className }: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex items-center gap-3 rounded-lg border p-3",- "group-data-[variant=success]:border-success/20 group-data-[variant=success]:bg-success/10",- "group-data-[variant=degraded]:border-warning/20 group-data-[variant=degraded]:bg-warning/10",- "group-data-[variant=error]:border-destructive/20 group-data-[variant=error]:bg-destructive/10",- "group-data-[variant=info]:border-info/20 group-data-[variant=info]:bg-info/10",- className,- )}- >- <StatusIcon className="flex-shrink-0" />- <div className="flex flex-1 flex-wrap items-center justify-between gap-2">- <StatusBannerMessage className="font-semibold text-xl" />- <StatusTimestamp date={new Date()} className="text-xs" />- </div>- </div>- );-}--export function StatusBannerMessage({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div className={cn(className)} {...props}>- <span className="hidden group-data-[variant=success]:block">- {messages.long.success}- </span>- <span className="hidden group-data-[variant=degraded]:block">- {messages.long.degraded}- </span>- <span className="hidden group-data-[variant=error]:block">- {messages.long.error}- </span>- <span className="hidden group-data-[variant=info]:block">- {messages.long.info}- </span>- </div>- );-}--export function StatusIcon({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- className={cn(- "flex size-8 items-center justify-center rounded-full bg-muted text-background [&>svg]:size-4",- "group-data-[variant=success]:bg-success",- "group-data-[variant=degraded]:bg-warning",- "group-data-[variant=error]:bg-destructive",- "group-data-[variant=info]:bg-info",- className,- )}- {...props}- >- <CheckIcon className="hidden group-data-[variant=success]:block" />- <TriangleAlertIcon className="hidden group-data-[variant=degraded]:block" />- <AlertCircleIcon className="hidden group-data-[variant=error]:block" />- <WrenchIcon className="hidden group-data-[variant=info]:block" />- </div>- );-}--export function StatusTimestamp({- date,- className,- ...props-}: React.ComponentProps<typeof TooltipTrigger> & { date: Date }) {- return (- <TooltipProvider>- <Tooltip>- {/* TODO: add outline focus */}- <TooltipTrigger- className={cn(- "font-mono text-muted-foreground underline decoration-muted-foreground/30 decoration-dashed underline-offset-4",- className,- )}- {...props}- >- {format(new UTCDate(date), "LLL dd, y HH:mm (z)")}- </TooltipTrigger>- <TooltipContent>- <p className="font-mono">{format(date, "LLL dd, y HH:mm (z)")}</p>- </TooltipContent>- </Tooltip>- </TooltipProvider>- );-}diff --git a/apps/dashboard/src/components/status-page/utils.ts b/apps/dashboard/src/components/status-page/utils.tsdeleted file mode 100644index 5304cea90..000000000--- a/apps/dashboard/src/components/status-page/utils.ts+++ /dev/null@@ -1,66 +0,0 @@-import type { ChartConfig } from "@/components/ui/chart";--export const chartData = Array.from({ length: 45 }, (_, i) => {- const date = new Date();- date.setDate(date.getDate() - i);-- // Simulate realistic daily status distribution that sums to 1440 minutes- let error = 0;- let degraded = 0;- let success = 1440; // Start with all minutes as ok- let info = 0;-- // Simulate some incidents on certain days- if (i === 3) {- // Day 3: Major incident for 2 hours (120 minutes)- error = 120;- success -= error;- } else if (i === 16) {- // Day 16: Degraded performance for 4 hours (240 minutes)- degraded = 240;- success -= degraded;- } else if (i === 8) {- // Day 8: Brief outage (30 minutes) + some degraded performance (60 minutes)- error = 30;- degraded = 60;- success -= error + degraded;- } else if (i === 13) {- info = 120;- success -= info;- } else if (i === 22) {- // Day 22: Extended degraded performance (6 hours = 360 minutes)- degraded = 360;- success -= degraded;- } else if (Math.random() > 0.85) {- // Random minor issues on some days (5-15 minutes of degraded performance)- degraded = Math.floor(Math.random() * 10) + 5;- success -= degraded;- }-- return {- timestamp: date.getTime(),- info,- degraded,- error,- success,- };-}).reverse();--export const chartConfig = {- success: {- label: "success",- color: "var(--success)",- },- degraded: {- label: "degraded",- color: "var(--warning)",- },- error: {- label: "error",- color: "var(--destructive)",- },- info: {- label: "info",- color: "var(--info)",- },-} satisfies ChartConfig;diff --git a/apps/dashboard/src/components/theme-toggle.tsx b/apps/dashboard/src/components/theme-toggle.tsxindex 422d42ae8..26b9b609d 100644--- a/apps/dashboard/src/components/theme-toggle.tsx+++ b/apps/dashboard/src/components/theme-toggle.tsx@@ -9,8 +9,8 @@ import {SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/select";+import { cn } from "@openstatus/ui/lib/utils";import { Laptop, Moon, Sun } from "lucide-react";import { useState } from "react";import { useEffect } from "react";diff --git a/apps/dashboard/src/components/ui/alert-dialog.tsx b/apps/dashboard/src/components/ui/alert-dialog.tsxdeleted file mode 100644index d8e1d34ed..000000000--- a/apps/dashboard/src/components/ui/alert-dialog.tsx+++ /dev/null@@ -1,157 +0,0 @@-"use client";--import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";-import type * as React from "react";--import { buttonVariants } from "@/components/ui/button";-import { cn } from "@/lib/utils";--function AlertDialog({- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {- return <AlertDialogPrimitive.Root data-slot="alert-dialog" {...props} />;-}--function AlertDialogTrigger({- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) {- return (- <AlertDialogPrimitive.Trigger data-slot="alert-dialog-trigger" {...props} />- );-}--function AlertDialogPortal({- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) {- return (- <AlertDialogPrimitive.Portal data-slot="alert-dialog-portal" {...props} />- );-}--function AlertDialogOverlay({- className,- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {- return (- <AlertDialogPrimitive.Overlay- data-slot="alert-dialog-overlay"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",- className,- )}- {...props}- />- );-}--function AlertDialogContent({- className,- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Content>) {- return (- <AlertDialogPortal>- <AlertDialogOverlay />- <AlertDialogPrimitive.Content- data-slot="alert-dialog-content"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:max-w-lg",- className,- )}- {...props}- />- </AlertDialogPortal>- );-}--function AlertDialogHeader({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- data-slot="alert-dialog-header"- className={cn("flex flex-col gap-2 text-center sm:text-left", className)}- {...props}- />- );-}--function AlertDialogFooter({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- data-slot="alert-dialog-footer"- className={cn(- "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",- className,- )}- {...props}- />- );-}--function AlertDialogTitle({- className,- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Title>) {- return (- <AlertDialogPrimitive.Title- data-slot="alert-dialog-title"- className={cn("font-semibold text-lg", className)}- {...props}- />- );-}--function AlertDialogDescription({- className,- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Description>) {- return (- <AlertDialogPrimitive.Description- data-slot="alert-dialog-description"- className={cn("text-muted-foreground text-sm", className)}- {...props}- />- );-}--function AlertDialogAction({- className,- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Action>) {- return (- <AlertDialogPrimitive.Action- className={cn(buttonVariants(), className)}- {...props}- />- );-}--function AlertDialogCancel({- className,- ...props-}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>) {- return (- <AlertDialogPrimitive.Cancel- className={cn(buttonVariants({ variant: "outline" }), className)}- {...props}- />- );-}--export {- AlertDialog,- AlertDialogPortal,- AlertDialogOverlay,- AlertDialogTrigger,- AlertDialogContent,- AlertDialogHeader,- AlertDialogFooter,- AlertDialogTitle,- AlertDialogDescription,- AlertDialogAction,- AlertDialogCancel,-};diff --git a/apps/dashboard/src/components/ui/alert.tsx b/apps/dashboard/src/components/ui/alert.tsxdeleted file mode 100644index 4f74e7b2b..000000000--- a/apps/dashboard/src/components/ui/alert.tsx+++ /dev/null@@ -1,66 +0,0 @@-import { type VariantProps, cva } from "class-variance-authority";-import type * as React from "react";--import { cn } from "@/lib/utils";--const alertVariants = cva(- "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",- {- variants: {- variant: {- default: "bg-card text-card-foreground",- destructive:- "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",- },- },- defaultVariants: {- variant: "default",- },- },-);--function Alert({- className,- variant,- ...props-}: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>) {- return (- <div- data-slot="alert"- role="alert"- className={cn(alertVariants({ variant }), className)}- {...props}- />- );-}--function AlertTitle({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="alert-title"- className={cn(- "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",- className,- )}- {...props}- />- );-}--function AlertDescription({- className,- ...props-}: React.ComponentProps<"div">) {- return (- <div- data-slot="alert-description"- className={cn(- "col-start-2 grid justify-items-start gap-1 text-muted-foreground text-sm [&_p]:leading-relaxed",- className,- )}- {...props}- />- );-}--export { Alert, AlertTitle, AlertDescription };diff --git a/apps/dashboard/src/components/ui/calendar.tsx b/apps/dashboard/src/components/ui/calendar.tsxdeleted file mode 100644index 07f4a92b9..000000000--- a/apps/dashboard/src/components/ui/calendar.tsx+++ /dev/null@@ -1,75 +0,0 @@-"use client";--import { ChevronLeft, ChevronRight } from "lucide-react";-import type * as React from "react";-import { DayPicker } from "react-day-picker";--import { buttonVariants } from "@/components/ui/button";-import { cn } from "@/lib/utils";--function Calendar({- className,- classNames,- showOutsideDays = true,- ...props-}: React.ComponentProps<typeof DayPicker>) {- return (- <DayPicker- showOutsideDays={showOutsideDays}- className={cn("p-3", className)}- classNames={{- months: "flex flex-col sm:flex-row gap-2",- month: "flex flex-col gap-4",- caption: "flex justify-center pt-1 relative items-center w-full",- caption_label: "text-sm font-medium",- nav: "flex items-center gap-1",- nav_button: cn(- buttonVariants({ variant: "outline" }),- "size-7 bg-transparent p-0 opacity-50 hover:opacity-100",- ),- nav_button_previous: "absolute left-1",- nav_button_next: "absolute right-1",- table: "w-full border-collapse space-x-1",- head_row: "flex",- head_cell:- "text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",- row: "flex w-full mt-2",- cell: cn(- "relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",- props.mode === "range"- ? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md"- : "[&:has([aria-selected])]:rounded-md",- ),- day: cn(- buttonVariants({ variant: "ghost" }),- "size-8 p-0 font-normal aria-selected:opacity-100",- ),- day_range_start:- "day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",- day_range_end:- "day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",- day_selected:- "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",- day_today: "bg-accent text-accent-foreground",- day_outside:- "day-outside text-muted-foreground aria-selected:text-muted-foreground",- day_disabled: "text-muted-foreground opacity-50",- day_range_middle:- "aria-selected:bg-accent aria-selected:text-accent-foreground",- day_hidden: "invisible",- ...classNames,- }}- components={{- IconLeft: ({ className, ...props }) => (- <ChevronLeft className={cn("size-4", className)} {...props} />- ),- IconRight: ({ className, ...props }) => (- <ChevronRight className={cn("size-4", className)} {...props} />- ),- }}- {...props}- />- );-}--export { Calendar };diff --git a/apps/dashboard/src/components/ui/data-table/data-table-action-bar.tsx b/apps/dashboard/src/components/ui/data-table/data-table-action-bar.tsxindex a4d7fe7a8..5dc21fb7a 100644--- a/apps/dashboard/src/components/ui/data-table/data-table-action-bar.tsx+++ b/apps/dashboard/src/components/ui/data-table/data-table-action-bar.tsx@@ -1,13 +1,13 @@"use client";-import { Button } from "@/components/ui/button";-import { Separator } from "@/components/ui/separator";+import { Button } from "@openstatus/ui/components/ui/button";+import { Separator } from "@openstatus/ui/components/ui/separator";import {Tooltip,TooltipContent,TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import type { Table } from "@tanstack/react-table";import { Loader, X } from "lucide-react";import * as React from "react";diff --git a/apps/dashboard/src/components/ui/data-table/data-table-column-header.tsx b/apps/dashboard/src/components/ui/data-table/data-table-column-header.tsxindex 77df200be..0c8259bff 100644--- a/apps/dashboard/src/components/ui/data-table/data-table-column-header.tsx+++ b/apps/dashboard/src/components/ui/data-table/data-table-column-header.tsx@@ -1,9 +1,9 @@import type { Column } from "@tanstack/react-table";import { ChevronDown, ChevronUp } from "lucide-react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";interface DataTableColumnHeaderProps<TData, TValue>extends React.ComponentProps<"button"> {diff --git a/apps/dashboard/src/components/ui/data-table/data-table-faceted-filter.tsx b/apps/dashboard/src/components/ui/data-table/data-table-faceted-filter.tsxindex f71981e6b..37fd832c4 100644--- a/apps/dashboard/src/components/ui/data-table/data-table-faceted-filter.tsx+++ b/apps/dashboard/src/components/ui/data-table/data-table-faceted-filter.tsx@@ -2,8 +2,8 @@ import type { Column } from "@tanstack/react-table";import { Check, PlusCircle } from "lucide-react";import type * as React from "react";-import { Badge } from "@/components/ui/badge";-import { Button } from "@/components/ui/button";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -12,14 +12,14 @@ import {CommandItem,CommandList,CommandSeparator,-} from "@/components/ui/command";+} from "@openstatus/ui/components/ui/command";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/popover";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";interface DataTableFacetedFilterProps<TData, TValue> {column?: Column<TData, TValue>;diff --git a/apps/dashboard/src/components/ui/data-table/data-table-pagination.tsx b/apps/dashboard/src/components/ui/data-table/data-table-pagination.tsxindex 6ab31c182..988c0cce4 100644--- a/apps/dashboard/src/components/ui/data-table/data-table-pagination.tsx+++ b/apps/dashboard/src/components/ui/data-table/data-table-pagination.tsx@@ -6,14 +6,14 @@ import {ChevronsRight,} from "lucide-react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";+} from "@openstatus/ui/components/ui/select";export interface DataTablePaginationProps<TData> {table: Table<TData>;diff --git a/apps/dashboard/src/components/ui/data-table/data-table-skeleton.tsx b/apps/dashboard/src/components/ui/data-table/data-table-skeleton.tsxindex cfa35664a..0ae5bf368 100644--- a/apps/dashboard/src/components/ui/data-table/data-table-skeleton.tsx+++ b/apps/dashboard/src/components/ui/data-table/data-table-skeleton.tsx@@ -1,4 +1,4 @@-import { Skeleton } from "@/components/ui/skeleton";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import {Table,TableBody,@@ -6,7 +6,7 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";+} from "@openstatus/ui/components/ui/table";interface DataTableSkeletonProps {/**diff --git a/apps/dashboard/src/components/ui/data-table/data-table-toobar.tsx b/apps/dashboard/src/components/ui/data-table/data-table-toobar.tsxindex 3655f37aa..a511548e8 100644--- a/apps/dashboard/src/components/ui/data-table/data-table-toobar.tsx+++ b/apps/dashboard/src/components/ui/data-table/data-table-toobar.tsx@@ -3,9 +3,9 @@import type { Table } from "@tanstack/react-table";import { X } from "lucide-react";-import { Button } from "@/components/ui/button";import { DataTableViewOptions } from "@/components/ui/data-table/data-table-view-options";-import { Input } from "@/components/ui/input";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";import { DataTableFacetedFilter } from "@/components/ui/data-table/data-table-faceted-filter";diff --git a/apps/dashboard/src/components/ui/data-table/data-table-view-options.tsx b/apps/dashboard/src/components/ui/data-table/data-table-view-options.tsxindex 53faebc6d..10cf8fe10 100644--- a/apps/dashboard/src/components/ui/data-table/data-table-view-options.tsx+++ b/apps/dashboard/src/components/ui/data-table/data-table-view-options.tsx@@ -4,14 +4,14 @@ import { DropdownMenuTrigger } from "@radix-ui/react-dropdown-menu";import type { Table } from "@tanstack/react-table";import { Settings2 } from "lucide-react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuLabel,DropdownMenuSeparator,-} from "@/components/ui/dropdown-menu";+} from "@openstatus/ui/components/ui/dropdown-menu";interface DataTableViewOptionsProps<TData> {table: Table<TData>;diff --git a/apps/dashboard/src/components/ui/data-table/data-table.tsx b/apps/dashboard/src/components/ui/data-table/data-table.tsxindex b91d8b0d4..8809739a7 100644--- a/apps/dashboard/src/components/ui/data-table/data-table.tsx+++ b/apps/dashboard/src/components/ui/data-table/data-table.tsx@@ -26,7 +26,7 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";+} from "@openstatus/ui/components/ui/table";import { Fragment } from "react";import type { DataTableActionBarProps } from "./data-table-action-bar";import type { DataTablePaginationProps } from "./data-table-pagination";diff --git a/apps/dashboard/src/components/ui/input.tsx b/apps/dashboard/src/components/ui/input.tsxdeleted file mode 100644index a60356ddd..000000000--- a/apps/dashboard/src/components/ui/input.tsx+++ /dev/null@@ -1,21 +0,0 @@-import type * as React from "react";--import { cn } from "@/lib/utils";--function Input({ className, type, ...props }: React.ComponentProps<"input">) {- return (- <input- type={type}- data-slot="input"- className={cn(- "flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none transition-[color,box-shadow] selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:font-medium file:text-foreground file:text-sm placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",- "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",- "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",- className,- )}- {...props}- />- );-}--export { Input };diff --git a/apps/dashboard/src/components/ui/label.tsx b/apps/dashboard/src/components/ui/label.tsxdeleted file mode 100644index 67f975b6f..000000000--- a/apps/dashboard/src/components/ui/label.tsx+++ /dev/null@@ -1,24 +0,0 @@-"use client";--import * as LabelPrimitive from "@radix-ui/react-label";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Label({- className,- ...props-}: React.ComponentProps<typeof LabelPrimitive.Root>) {- return (- <LabelPrimitive.Root- data-slot="label"- className={cn(- "flex select-none items-center gap-2 font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50",- className,- )}- {...props}- />- );-}--export { Label };diff --git a/apps/dashboard/src/components/ui/progress.tsx b/apps/dashboard/src/components/ui/progress.tsxdeleted file mode 100644index 2ee61a1b0..000000000--- a/apps/dashboard/src/components/ui/progress.tsx+++ /dev/null@@ -1,31 +0,0 @@-"use client";--import * as ProgressPrimitive from "@radix-ui/react-progress";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Progress({- className,- value,- ...props-}: React.ComponentProps<typeof ProgressPrimitive.Root>) {- return (- <ProgressPrimitive.Root- data-slot="progress"- className={cn(- "relative h-2 w-full overflow-hidden rounded-full bg-primary/20",- className,- )}- {...props}- >- <ProgressPrimitive.Indicator- data-slot="progress-indicator"- className="h-full w-full flex-1 bg-primary transition-all"- style={{ transform: `translateX(-${100 - (value || 0)}%)` }}- />- </ProgressPrimitive.Root>- );-}--export { Progress };diff --git a/apps/dashboard/src/components/ui/sidebar.tsx b/apps/dashboard/src/components/ui/sidebar.tsxindex 059a32b2b..765228290 100644--- a/apps/dashboard/src/components/ui/sidebar.tsx+++ b/apps/dashboard/src/components/ui/sidebar.tsx@@ -5,25 +5,25 @@ import { type VariantProps, cva } from "class-variance-authority";import { PanelLeftIcon } from "lucide-react";import * as React from "react";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import { Separator } from "@/components/ui/separator";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";+import { Separator } from "@openstatus/ui/components/ui/separator";import {Sheet,SheetContent,SheetDescription,SheetHeader,SheetTitle,-} from "@/components/ui/sheet";-import { Skeleton } from "@/components/ui/skeleton";+} from "@openstatus/ui/components/ui/sheet";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { useIsMobile } from "@/hooks/use-mobile";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/tooltip";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";+import { cn } from "@openstatus/ui/lib/utils";const SIDEBAR_COOKIE_NAME = "sidebar_state";const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;diff --git a/apps/dashboard/src/components/ui/slider.tsx b/apps/dashboard/src/components/ui/slider.tsxdeleted file mode 100644index 2adaa9c59..000000000--- a/apps/dashboard/src/components/ui/slider.tsx+++ /dev/null@@ -1,63 +0,0 @@-"use client";--import * as SliderPrimitive from "@radix-ui/react-slider";-import * as React from "react";--import { cn } from "@/lib/utils";--function Slider({- className,- defaultValue,- value,- min = 0,- max = 100,- ...props-}: React.ComponentProps<typeof SliderPrimitive.Root>) {- const _values = React.useMemo(- () =>- Array.isArray(value)- ? value- : Array.isArray(defaultValue)- ? defaultValue- : [min, max],- [value, defaultValue, min, max],- );-- return (- <SliderPrimitive.Root- data-slot="slider"- defaultValue={defaultValue}- value={value}- min={min}- max={max}- className={cn(- "relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-[disabled]:opacity-50",- className,- )}- {...props}- >- <SliderPrimitive.Track- data-slot="slider-track"- className={cn(- "relative grow overflow-hidden rounded-full bg-muted data-[orientation=horizontal]:h-1.5 data-[orientation=vertical]:h-full data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-1.5",- )}- >- <SliderPrimitive.Range- data-slot="slider-range"- className={cn(- "absolute bg-primary data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full",- )}- />- </SliderPrimitive.Track>- {Array.from({ length: _values.length }, (_, index) => (- <SliderPrimitive.Thumb- data-slot="slider-thumb"- key={index}- className="block size-4 shrink-0 rounded-full border border-primary bg-background shadow-sm ring-ring/50 transition-[color,box-shadow] hover:ring-4 focus-visible:outline-hidden focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50"- />- ))}- </SliderPrimitive.Root>- );-}--export { Slider };diff --git a/apps/dashboard/src/components/ui/table.tsx b/apps/dashboard/src/components/ui/table.tsxdeleted file mode 100644index 4ea6433d0..000000000--- a/apps/dashboard/src/components/ui/table.tsx+++ /dev/null@@ -1,116 +0,0 @@-"use client";--import type * as React from "react";--import { cn } from "@/lib/utils";--function Table({ className, ...props }: React.ComponentProps<"table">) {- return (- <div- data-slot="table-container"- className="relative w-full overflow-x-auto"- >- <table- data-slot="table"- className={cn("w-full caption-bottom text-sm", className)}- {...props}- />- </div>- );-}--function TableHeader({ className, ...props }: React.ComponentProps<"thead">) {- return (- <thead- data-slot="table-header"- className={cn("[&_tr]:border-b", className)}- {...props}- />- );-}--function TableBody({ className, ...props }: React.ComponentProps<"tbody">) {- return (- <tbody- data-slot="table-body"- className={cn("[&_tr:last-child]:border-0", className)}- {...props}- />- );-}--function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">) {- return (- <tfoot- data-slot="table-footer"- className={cn(- "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",- className,- )}- {...props}- />- );-}--function TableRow({ className, ...props }: React.ComponentProps<"tr">) {- return (- <tr- data-slot="table-row"- className={cn(- "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",- className,- )}- {...props}- />- );-}--function TableHead({ className, ...props }: React.ComponentProps<"th">) {- return (- <th- data-slot="table-head"- className={cn(- "h-10 whitespace-nowrap px-2 text-left align-middle font-medium text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",- className,- )}- {...props}- />- );-}--function TableCell({ className, ...props }: React.ComponentProps<"td">) {- return (- <td- data-slot="table-cell"- className={cn(- "whitespace-nowrap p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",- className,- )}- {...props}- />- );-}--function TableCaption({- className,- ...props-}: React.ComponentProps<"caption">) {- return (- <caption- data-slot="table-caption"- className={cn("mt-4 text-muted-foreground text-sm", className)}- {...props}- />- );-}--export {- Table,- TableHeader,- TableBody,- TableFooter,- TableHead,- TableRow,- TableCell,- TableCaption,-};diff --git a/apps/dashboard/src/components/ui/textarea.tsx b/apps/dashboard/src/components/ui/textarea.tsxdeleted file mode 100644index fdb92c380..000000000--- a/apps/dashboard/src/components/ui/textarea.tsx+++ /dev/null@@ -1,18 +0,0 @@-import type * as React from "react";--import { cn } from "@/lib/utils";--function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {- return (- <textarea- data-slot="textarea"- className={cn(- "field-sizing-content flex min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs outline-none transition-[color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",- className,- )}- {...props}- />- );-}--export { Textarea };diff --git a/apps/dashboard/src/hooks/use-cookie-state.ts b/apps/dashboard/src/hooks/use-cookie-state.tsdeleted file mode 100644index 926bf8782..000000000--- a/apps/dashboard/src/hooks/use-cookie-state.ts+++ /dev/null@@ -1,41 +0,0 @@-"use client";--import { useCallback, useEffect, useState } from "react";--export function useCookieState<T extends string>(- name: string,- defaultValue?: T,- config?: { expires?: number },-) {- const [state, setState] = useState<T | undefined>();-- const handleChange = useCallback(- (value: T) => {- if (document) {- const date = new Date();- date.setTime(date.getTime() + 365 * 24 * 60 * 60 * 1000); // in one year- document.cookie = `${name}=${value}; path=/; expires=${- config?.expires ?? date.toUTCString()- }`;- setState(value);- }- },- [name, config],- );-- useEffect(() => {- if (document) {- const cookie = document.cookie- .split("; ")- .find((row) => row.startsWith(name));- if (!cookie) {- setState(defaultValue);- return;- }- const value = cookie.split("=")[1] as T;- setState(value);- }- }, [defaultValue, name]);-- return [state, handleChange] as const;-}diff --git a/apps/dashboard/src/hooks/use-copy-to-clipboard.ts b/apps/dashboard/src/hooks/use-copy-to-clipboard.tsdeleted file mode 100644index 656ceefc2..000000000--- a/apps/dashboard/src/hooks/use-copy-to-clipboard.ts+++ /dev/null@@ -1,52 +0,0 @@-"use client";--import { useCallback, useState } from "react";-import { toast } from "sonner";--export function useCopyToClipboard() {- const [text, setText] = useState<string | null>(null);-- const copy = useCallback(- async (- text: string,- {- timeout = 3000,- withToast = true,- successMessage = "Copied to clipboard",- }: {- timeout?: number;- withToast?: boolean;- successMessage?: string;- },- ) => {- if (!navigator?.clipboard) {- console.warn("Clipboard not supported");- return false;- }-- try {- await navigator.clipboard.writeText(text);- setText(text);-- if (timeout) {- setTimeout(() => {- setText(null);- }, timeout);- }-- if (withToast) {- toast.success(successMessage);- }-- return true;- } catch (error) {- console.warn("Copy failed", error);- setText(null);- return false;- }- },- [],- );-- return { text, copy, isCopied: text !== null };-}diff --git a/apps/dashboard/src/hooks/use-debounce.ts b/apps/dashboard/src/hooks/use-debounce.tsdeleted file mode 100644index 3a34896de..000000000--- a/apps/dashboard/src/hooks/use-debounce.ts+++ /dev/null@@ -1,16 +0,0 @@-import * as React from "react";--// consider using https://github.com/xnimorz/use-debounce-export function useDebounce<T>(value: T, delay?: number): T {- const [debouncedValue, setDebouncedValue] = React.useState<T>(value);-- React.useEffect(() => {- const timer = setTimeout(() => setDebouncedValue(value), delay ?? 500);-- return () => {- clearTimeout(timer);- };- }, [value, delay]);-- return debouncedValue;-}diff --git a/apps/dashboard/src/hooks/use-media-query.ts b/apps/dashboard/src/hooks/use-media-query.tsdeleted file mode 100644index 7ac3915ab..000000000--- a/apps/dashboard/src/hooks/use-media-query.ts+++ /dev/null@@ -1,19 +0,0 @@-import * as React from "react";--export function useMediaQuery(query: string) {- const [value, setValue] = React.useState(false);-- React.useEffect(() => {- function onChange(event: MediaQueryListEvent) {- setValue(event.matches);- }-- const result = matchMedia(query);- result.addEventListener("change", onChange);- setValue(result.matches);-- return () => result.removeEventListener("change", onChange);- }, [query]);-- return value;-}diff --git a/apps/dashboard/src/hooks/use-mobile.ts b/apps/dashboard/src/hooks/use-mobile.tsdeleted file mode 100644index a93d58393..000000000--- a/apps/dashboard/src/hooks/use-mobile.ts+++ /dev/null@@ -1,21 +0,0 @@-import * as React from "react";--const MOBILE_BREAKPOINT = 768;--export function useIsMobile() {- const [isMobile, setIsMobile] = React.useState<boolean | undefined>(- undefined,- );-- React.useEffect(() => {- const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);- const onChange = () => {- setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);- };- mql.addEventListener("change", onChange);- setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);- return () => mql.removeEventListener("change", onChange);- }, []);-- return !!isMobile;-}diff --git a/apps/dashboard/src/hooks/use-table.ts b/apps/dashboard/src/hooks/use-table.tsdeleted file mode 100644index a91b2030a..000000000--- a/apps/dashboard/src/hooks/use-table.ts+++ /dev/null@@ -1,21 +0,0 @@-import * as React from "react";--const TABLET_BREAKPOINT = 1024;--export function useIsTablet() {- const [isTablet, setIsTablet] = React.useState<boolean | undefined>(- undefined,- );-- React.useEffect(() => {- const mql = window.matchMedia(`(max-width: ${TABLET_BREAKPOINT - 1}px)`);- const onChange = () => {- setIsTablet(window.innerWidth < TABLET_BREAKPOINT);- };- mql.addEventListener("change", onChange);- setIsTablet(window.innerWidth < TABLET_BREAKPOINT);- return () => mql.removeEventListener("change", onChange);- }, []);-- return !!isTablet;-}diff --git a/apps/status-page/components.json b/apps/status-page/components.jsonindex 3289f237a..34b6759cf 100644--- a/apps/status-page/components.json+++ b/apps/status-page/components.json@@ -12,7 +12,7 @@},"aliases": {"components": "@/components",- "utils": "@/lib/utils",+ "utils": "@openstatus/ui/lib/utils","ui": "@/components/ui","lib": "@/lib","hooks": "@/hooks"diff --git a/apps/status-page/next-env.d.ts b/apps/status-page/next-env.d.tsindex c4b7818fb..9edff1c7c 100644--- a/apps/status-page/next-env.d.ts+++ b/apps/status-page/next-env.d.ts@@ -1,6 +1,6 @@/// <reference types="next" />/// <reference types="next/image-types/global" />-import "./.next/dev/types/routes.d.ts";+import "./.next/types/routes.d.ts";// NOTE: This file should not be edited// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.diff --git a/apps/status-page/package.json b/apps/status-page/package.jsonindex 5241faeb9..74edac0ad 100644--- a/apps/status-page/package.json+++ b/apps/status-page/package.json@@ -32,6 +32,7 @@"@openstatus/theme-store": "workspace:*","@openstatus/tinybird": "workspace:*","@openstatus/tracker": "workspace:*",+ "@openstatus/ui": "workspace:*","@openstatus/utils": "workspace:*","@radix-ui/react-alert-dialog": "1.1.14","@radix-ui/react-avatar": "1.1.10",@@ -64,7 +65,7 @@"class-variance-authority": "0.7.1","clsx": "2.1.1","cmdk": "1.1.1",- "date-fns": "2.30.0",+ "date-fns": "3.6.0","feed": "4.2.2","lucide-react": "0.525.0","next": "16.0.10",@@ -95,7 +96,7 @@"@types/node": "24.0.8","@types/react": "19.2.2","@types/react-dom": "19.2.2",- "shadcn": "2.7.0",+ "shadcn": "3.8.4","tailwindcss": "4.1.11","tw-animate-css": "1.3.4","typescript": "5.9.3"diff --git a/apps/status-page/src/app/(public)/client.tsx b/apps/status-page/src/app/(public)/client.tsxindex 4dc206f06..bbbc97aed 100644--- a/apps/status-page/src/app/(public)/client.tsx+++ b/apps/status-page/src/app/(public)/client.tsx@@ -30,21 +30,21 @@ import {import { StatusMonitor } from "@/components/status-page/status-monitor";import { ThemePalettePicker } from "@/components/themes/theme-palette-picker";import { ThemeSelect } from "@/components/themes/theme-select";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import { Separator } from "@/components/ui/separator";-import { useSidebar } from "@/components/ui/sidebar";-import { Skeleton } from "@/components/ui/skeleton";+import { monitors } from "@/data/monitors";+import { useTRPC } from "@/lib/trpc/client";+import { THEMES, THEME_KEYS } from "@openstatus/theme-store";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { useSidebar } from "@openstatus/ui/components/ui/sidebar";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { monitors } from "@/data/monitors";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import { THEMES, THEME_KEYS } from "@openstatus/theme-store";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import { useTheme } from "next-themes";import { useQueryStates } from "nuqs";diff --git a/apps/status-page/src/app/(public)/layout.tsx b/apps/status-page/src/app/(public)/layout.tsxindex 60ef175c5..176dd3e66 100644--- a/apps/status-page/src/app/(public)/layout.tsx+++ b/apps/status-page/src/app/(public)/layout.tsx@@ -4,9 +4,12 @@ import {SidebarTrigger,ThemeSidebar,} from "@/components/themes/theme-sidebar";-import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar";-import { Toaster } from "@/components/ui/sonner";import { generateThemeStyles } from "@openstatus/theme-store";+import {+ SidebarInset,+ SidebarProvider,+} from "@openstatus/ui/components/ui/sidebar";+import { Toaster } from "@openstatus/ui/components/ui/sonner";import PlausibleProvider from "next-plausible";import { Suspense } from "react";diff --git a/apps/status-page/src/app/(status-page)/[domain]/(auth)/login/_components/section-magic-link.tsx b/apps/status-page/src/app/(status-page)/[domain]/(auth)/login/_components/section-magic-link.tsxindex 2d749af6b..8399f0dfc 100644--- a/apps/status-page/src/app/(status-page)/[domain]/(auth)/login/_components/section-magic-link.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/(auth)/login/_components/section-magic-link.tsx@@ -12,8 +12,8 @@ import {SectionTitle,} from "@/components/content/section";import { FormEmail, type FormValues } from "@/components/forms/form-email";-import { Button } from "@/components/ui/button";import { generateServerActionPromise } from "@/lib/server-actions";+import { Button } from "@openstatus/ui/components/ui/button";import { Inbox } from "lucide-react";import { useParams } from "next/navigation";import { useState } from "react";diff --git a/apps/status-page/src/app/(status-page)/[domain]/(auth)/login/_components/section-password.tsx b/apps/status-page/src/app/(status-page)/[domain]/(auth)/login/_components/section-password.tsxindex fea4d1626..e42c6ce54 100644--- a/apps/status-page/src/app/(status-page)/[domain]/(auth)/login/_components/section-password.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/(auth)/login/_components/section-password.tsx@@ -7,10 +7,10 @@ import {SectionTitle,} from "@/components/content/section";import { FormPassword } from "@/components/forms/form-password";-import { Button } from "@/components/ui/button";-import { useCookieState } from "@/hooks/use-cookie-state";import { createProtectedCookieKey } from "@/lib/protected";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";+import { useCookieState } from "@openstatus/ui/hooks/use-cookie-state";import { useMutation } from "@tanstack/react-query";import { useParams, useRouter, useSearchParams } from "next/navigation";diff --git a/apps/status-page/src/app/(status-page)/[domain]/(public)/events/(list)/page.tsx b/apps/status-page/src/app/(status-page)/[domain]/(public)/events/(list)/page.tsxindex 36e1b1480..1b716087a 100644--- a/apps/status-page/src/app/(status-page)/[domain]/(public)/events/(list)/page.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/(public)/events/(list)/page.tsx@@ -14,8 +14,13 @@ import {StatusEventTitle,StatusEventTitleCheck,} from "@/components/status-page/status-events";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";import { useTRPC } from "@/lib/trpc/client";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";import { useQuery } from "@tanstack/react-query";import Link from "next/link";import { useParams } from "next/navigation";diff --git a/apps/status-page/src/app/(status-page)/[domain]/(public)/monitors/[id]/page.tsx b/apps/status-page/src/app/(status-page)/[domain]/(public)/monitors/[id]/page.tsxindex 55a98df81..37b518c00 100644--- a/apps/status-page/src/app/(status-page)/[domain]/(public)/monitors/[id]/page.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/(public)/monitors/[id]/page.tsx@@ -38,13 +38,13 @@ import {StatusMonitorTabsTriggerValue,StatusMonitorTabsTriggerValueSkeleton,} from "@/components/status-page/status-monitor-tabs";-import { Badge } from "@/components/ui/badge";import {formatMillisecondsRange,formatNumber,formatPercentage,} from "@/lib/formatter";import { useTRPC } from "@/lib/trpc/client";+import { Badge } from "@openstatus/ui/components/ui/badge";import { useQuery } from "@tanstack/react-query";import { TrendingUp } from "lucide-react";import { useParams } from "next/navigation";diff --git a/apps/status-page/src/app/(status-page)/[domain]/(public)/page.tsx b/apps/status-page/src/app/(status-page)/[domain]/(public)/page.tsxindex eda639b62..1d0921304 100644--- a/apps/status-page/src/app/(status-page)/[domain]/(public)/page.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/(public)/page.tsx@@ -26,10 +26,10 @@ import {import { StatusFeed } from "@/components/status-page/status-feed";import { StatusMonitor } from "@/components/status-page/status-monitor";import { StatusTrackerGroup } from "@/components/status-page/status-tracker-group";-import { Separator } from "@/components/ui/separator";import { usePathnamePrefix } from "@/hooks/use-pathname-prefix";import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import Link from "next/link";import { notFound, useParams } from "next/navigation";diff --git a/apps/status-page/src/app/(status-page)/[domain]/(public)/unsubscribe/[token]/page.tsx b/apps/status-page/src/app/(status-page)/[domain]/(public)/unsubscribe/[token]/page.tsxindex a7a854940..a46eb4b3a 100644--- a/apps/status-page/src/app/(status-page)/[domain]/(public)/unsubscribe/[token]/page.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/(public)/unsubscribe/[token]/page.tsx@@ -7,8 +7,8 @@ import {StatusBlankLink,StatusBlankTitle,} from "@/components/status-page/status-blank";-import { Button } from "@/components/ui/button";import { useTRPC } from "@/lib/trpc/client";+import { Button } from "@openstatus/ui/components/ui/button";import { useMutation, useQuery } from "@tanstack/react-query";import { useParams } from "next/navigation";diff --git a/apps/status-page/src/app/(status-page)/[domain]/(public)/verify/[token]/page.tsx b/apps/status-page/src/app/(status-page)/[domain]/(public)/verify/[token]/page.tsxindex a908e43ec..dd4f522f0 100644--- a/apps/status-page/src/app/(status-page)/[domain]/(public)/verify/[token]/page.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/(public)/verify/[token]/page.tsx@@ -7,7 +7,7 @@ import {StatusBlankTitle,} from "@/components/status-page/status-blank";import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation } from "@tanstack/react-query";import { useParams } from "next/navigation";import { useEffect } from "react";diff --git a/apps/status-page/src/app/(status-page)/[domain]/layout.tsx b/apps/status-page/src/app/(status-page)/[domain]/layout.tsxindex 144ad54dc..8b1585655 100644--- a/apps/status-page/src/app/(status-page)/[domain]/layout.tsx+++ b/apps/status-page/src/app/(status-page)/[domain]/layout.tsx@@ -6,13 +6,13 @@ import {} from "@/components/status-page/floating-button";import { FloatingTheme } from "@/components/status-page/floating-theme";import { ThemeProvider } from "@/components/themes/theme-provider";-import { Toaster } from "@/components/ui/sonner";import { HydrateClient, getQueryClient, trpc } from "@/lib/trpc/server";import {THEME_KEYS,type ThemeKey,generateThemeStyles,} from "@openstatus/theme-store";+import { Toaster } from "@openstatus/ui/components/ui/sonner";import type { Metadata } from "next";import { notFound } from "next/navigation";import { z } from "zod";diff --git a/apps/status-page/src/app/global-error.tsx b/apps/status-page/src/app/global-error.tsxindex 6acd44847..f43b4da6c 100644--- a/apps/status-page/src/app/global-error.tsx+++ b/apps/status-page/src/app/global-error.tsx@@ -1,7 +1,7 @@"use client";import { Link } from "@/components/common/link";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import * as Sentry from "@sentry/nextjs";import { useEffect } from "react";diff --git a/apps/status-page/src/app/globals.css b/apps/status-page/src/app/globals.cssindex 1e7a013f5..685715b1e 100644--- a/apps/status-page/src/app/globals.css+++ b/apps/status-page/src/app/globals.css@@ -1,175 +1,25 @@@import "tailwindcss";+@import "@openstatus/ui/globals";@import "tw-animate-css";@plugin "@tailwindcss/typography";/* safelist */@source inline("has-data-[slot=slider-range]:bg-red-500");-@custom-variant dark (&:is(.dark *));-@theme {--breakpoint-xs: 30rem;}@theme inline {- --color-background: var(--background);- --color-foreground: var(--foreground);--font-sans: var(--font-geist-sans);--font-mono: var(--font-commit-mono, var(--font-geist-mono));- --color-sidebar-ring: var(--sidebar-ring);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar: var(--sidebar);- --color-chart-5: var(--chart-5);- --color-chart-4: var(--chart-4);- --color-chart-3: var(--chart-3);- --color-chart-2: var(--chart-2);- --color-chart-1: var(--chart-1);- --color-ring: var(--ring);- --color-input: var(--input);- --color-border: var(--border);- --color-destructive: var(--destructive);- --color-accent-foreground: var(--accent-foreground);- --color-accent: var(--accent);- --color-muted-foreground: var(--muted-foreground);- --color-muted: var(--muted);- --color-secondary-foreground: var(--secondary-foreground);- --color-secondary: var(--secondary);- --color-primary-foreground: var(--primary-foreground);- --color-primary: var(--primary);- --color-popover-foreground: var(--popover-foreground);- --color-popover: var(--popover);- --color-card-foreground: var(--card-foreground);- --color-card: var(--card);--radius-xs: calc(var(--radius) - 8px);- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);-- --color-success: var(--success);- --color-warning: var(--warning);- --color-info: var(--info);}:root {- /* --radius: 0.625rem; */+ /* Override the base radius for status-page */--radius: 0rem;- --background: oklch(1 0 0);- --foreground: oklch(0.145 0 0);- --card: oklch(1 0 0);- --card-foreground: oklch(0.145 0 0);- --popover: oklch(1 0 0);- --popover-foreground: oklch(0.145 0 0);- --primary: oklch(0.205 0 0);- --primary-foreground: oklch(0.985 0 0);- --secondary: oklch(0.97 0 0);- --secondary-foreground: oklch(0.205 0 0);- --muted: oklch(0.97 0 0);- --muted-foreground: oklch(0.556 0 0);- --accent: oklch(0.97 0 0);- --accent-foreground: oklch(0.205 0 0);- --destructive: oklch(0.577 0.245 27.325);- --border: oklch(0.922 0 0);- --input: oklch(0.922 0 0);- --ring: oklch(0.708 0 0);- --chart-1: oklch(0.646 0.222 41.116);- --chart-2: oklch(0.6 0.118 184.704);- --chart-3: oklch(0.398 0.07 227.392);- --chart-4: oklch(0.828 0.189 84.429);- --chart-5: oklch(0.769 0.188 70.08);- --sidebar: oklch(0.985 0 0);- --sidebar-foreground: oklch(0.145 0 0);- --sidebar-primary: oklch(0.205 0 0);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.97 0 0);- --sidebar-accent-foreground: oklch(0.205 0 0);- --sidebar-border: oklch(0.922 0 0);- --sidebar-ring: oklch(0.708 0 0);-- --success: oklch(0.72 0.19 150);- --warning: oklch(0.77 0.16 70);- --info: oklch(0.62 0.19 260);-- --rainbow-1: oklch(0.64 0.21 25);- --rainbow-2: oklch(0.70 0.19 48);- --rainbow-3: oklch(0.77 0.16 70);- --rainbow-4: oklch(0.80 0.16 86);- --rainbow-5: oklch(0.77 0.20 131);- --rainbow-6: oklch(0.72 0.19 150);- --rainbow-7: oklch(0.70 0.15 162);- --rainbow-8: oklch(0.70 0.12 183);- --rainbow-9: oklch(0.71 0.13 215);- --rainbow-10: oklch(0.68 0.15 237);- --rainbow-11: oklch(0.62 0.19 260);- --rainbow-12: oklch(0.59 0.20 277);- --rainbow-13: oklch(0.61 0.22 293);- --rainbow-14: oklch(0.63 0.23 304);- --rainbow-15: oklch(0.67 0.26 322);- --rainbow-16: oklch(0.66 0.21 354);- --rainbow-17: oklch(0.65 0.22 16);}--.dark {- --background: oklch(0.145 0 0);- --foreground: oklch(0.985 0 0);- --card: oklch(0.205 0 0);- --card-foreground: oklch(0.985 0 0);- --popover: oklch(0.205 0 0);- --popover-foreground: oklch(0.985 0 0);- --primary: oklch(0.922 0 0);- --primary-foreground: oklch(0.205 0 0);- --secondary: oklch(0.269 0 0);- --secondary-foreground: oklch(0.985 0 0);- --muted: oklch(0.269 0 0);- --muted-foreground: oklch(0.708 0 0);- --accent: oklch(0.269 0 0);- --accent-foreground: oklch(0.985 0 0);- --destructive: oklch(0.704 0.191 22.216);- --border: oklch(1 0 0 / 10%);- --input: oklch(1 0 0 / 15%);- --ring: oklch(0.556 0 0);- --chart-1: oklch(0.488 0.243 264.376);- --chart-2: oklch(0.696 0.17 162.48);- --chart-3: oklch(0.769 0.188 70.08);- --chart-4: oklch(0.627 0.265 303.9);- --chart-5: oklch(0.645 0.246 16.439);- --sidebar: oklch(0.205 0 0);- --sidebar-foreground: oklch(0.985 0 0);- --sidebar-primary: oklch(0.488 0.243 264.376);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.269 0 0);- --sidebar-accent-foreground: oklch(0.985 0 0);- --sidebar-border: oklch(1 0 0 / 10%);- --sidebar-ring: oklch(0.556 0 0);-- --success: oklch(0.72 0.19 150);- --warning: oklch(0.77 0.16 70);- --info: oklch(0.62 0.19 260);-- --rainbow-1: oklch(0.64 0.21 25);- --rainbow-2: oklch(0.70 0.19 48);- --rainbow-3: oklch(0.77 0.16 70);- --rainbow-4: oklch(0.80 0.16 86);- --rainbow-5: oklch(0.77 0.20 131);- --rainbow-6: oklch(0.72 0.19 150);- --rainbow-7: oklch(0.70 0.15 162);- --rainbow-8: oklch(0.70 0.12 183);- --rainbow-9: oklch(0.71 0.13 215);- --rainbow-10: oklch(0.68 0.15 237);- --rainbow-11: oklch(0.62 0.19 260);- --rainbow-12: oklch(0.59 0.20 277);- --rainbow-13: oklch(0.61 0.22 293);- --rainbow-14: oklch(0.63 0.23 304);- --rainbow-15: oklch(0.67 0.26 322);- --rainbow-16: oklch(0.66 0.21 354);- --rainbow-17: oklch(0.65 0.22 16);-}-@layer base {* {@apply border-border outline-ring/50;diff --git a/apps/status-page/src/app/layout.tsx b/apps/status-page/src/app/layout.tsxindex 5eaad0aaf..b30e78d0b 100644--- a/apps/status-page/src/app/layout.tsx+++ b/apps/status-page/src/app/layout.tsx@@ -3,7 +3,7 @@ import { Geist, Geist_Mono } from "next/font/google";import "./globals.css";import { TailwindIndicator } from "@/components/tailwind-indicator";import { TRPCReactProvider } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";import LocalFont from "next/font/local";import { NuqsAdapter } from "nuqs/adapters/next/app";import { ogMetadata, twitterMetadata } from "./metadata";diff --git a/apps/status-page/src/app/not-found.tsx b/apps/status-page/src/app/not-found.tsxindex 01bf20931..cae8991a4 100644--- a/apps/status-page/src/app/not-found.tsx+++ b/apps/status-page/src/app/not-found.tsx@@ -4,7 +4,7 @@ import Link from "next/link";import { useRouter } from "next/navigation";import { ThemeProvider } from "@/components/themes/theme-provider";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";export default function NotFound() {const router = useRouter();diff --git a/apps/status-page/src/components/button/button-back.tsx b/apps/status-page/src/components/button/button-back.tsxindex 4cf27c907..4829d7f77 100644--- a/apps/status-page/src/components/button/button-back.tsx+++ b/apps/status-page/src/components/button/button-back.tsx@@ -1,7 +1,7 @@"use client";-import { Button } from "@/components/ui/button";-import { cn } from "@/lib/utils";+import { Button } from "@openstatus/ui/components/ui/button";+import { cn } from "@openstatus/ui/lib/utils";import { ArrowLeft } from "lucide-react";import Link from "next/link";diff --git a/apps/status-page/src/components/button/button-copy-link.tsx b/apps/status-page/src/components/button/button-copy-link.tsxindex a5322dd39..8235052ad 100644--- a/apps/status-page/src/components/button/button-copy-link.tsx+++ b/apps/status-page/src/components/button/button-copy-link.tsx@@ -1,8 +1,8 @@"use client";-import { Button } from "@/components/ui/button";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { cn } from "@/lib/utils";+import { Button } from "@openstatus/ui/components/ui/button";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { cn } from "@openstatus/ui/lib/utils";import { Check, Copy } from "lucide-react";export function ButtonCopyLink({@@ -18,6 +18,7 @@ export function ButtonCopyLink({onClick={() =>copy(window.location.href, {successMessage: "Link copied to clipboard",+ withToast: true,})}className={cn("size-8", className)}diff --git a/apps/status-page/src/components/chart/chart-area-percentiles.tsx b/apps/status-page/src/components/chart/chart-area-percentiles.tsxindex f72836269..108b87b3f 100644--- a/apps/status-page/src/components/chart/chart-area-percentiles.tsx+++ b/apps/status-page/src/components/chart/chart-area-percentiles.tsx@@ -1,15 +1,15 @@"use client";+import { formatMilliseconds } from "@/lib/formatter";import {type ChartConfig,ChartContainer,ChartLegend,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import { Skeleton } from "@/components/ui/skeleton";-import { formatMilliseconds } from "@/lib/formatter";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/chart";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { cn } from "@openstatus/ui/lib/utils";import { useState } from "react";import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts";import type { AxisDomain } from "recharts/types/util/types";diff --git a/apps/status-page/src/components/chart/chart-bar-uptime.tsx b/apps/status-page/src/components/chart/chart-bar-uptime.tsxindex a7855c569..88c9831a9 100644--- a/apps/status-page/src/components/chart/chart-bar-uptime.tsx+++ b/apps/status-page/src/components/chart/chart-bar-uptime.tsx@@ -2,17 +2,17 @@import { Bar, BarChart, CartesianGrid, XAxis, YAxis } from "recharts";+import { formatNumber } from "@/lib/formatter";import {type ChartConfig,ChartContainer,ChartLegend,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import { formatNumber } from "@/lib/formatter";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/chart";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { cn } from "@openstatus/ui/lib/utils";import { useState } from "react";-import { Skeleton } from "../ui/skeleton";import { ChartLegendBadge } from "./chart-legend-badge";const chartConfig = {diff --git a/apps/status-page/src/components/chart/chart-legend-badge.tsx b/apps/status-page/src/components/chart/chart-legend-badge.tsxindex 3ba1b95d2..85fc72a6b 100644--- a/apps/status-page/src/components/chart/chart-legend-badge.tsx+++ b/apps/status-page/src/components/chart/chart-legend-badge.tsx@@ -1,12 +1,13 @@-import { badgeVariants } from "@/components/ui/badge";-import { getPayloadConfigFromPayload, useChart } from "@/components/ui/chart";+import { getPayloadConfigFromPayload } from "@/lib/chart";+import { badgeVariants } from "@openstatus/ui/components/ui/badge";+import { useChart } from "@openstatus/ui/components/ui/chart";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import * as React from "react";import type * as RechartsPrimitive from "recharts";import type { Payload } from "recharts/types/component/DefaultLegendContent";diff --git a/apps/status-page/src/components/chart/chart-line-region.tsx b/apps/status-page/src/components/chart/chart-line-region.tsxindex 8f279fdf4..fd52ced86 100644--- a/apps/status-page/src/components/chart/chart-line-region.tsx+++ b/apps/status-page/src/components/chart/chart-line-region.tsx@@ -7,8 +7,8 @@ import {ChartContainer,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/chart";+import { cn } from "@openstatus/ui/lib/utils";import { ChartTooltipNumber } from "./chart-tooltip-number";const chartConfig = {diff --git a/apps/status-page/src/components/chart/chart-line-regions.tsx b/apps/status-page/src/components/chart/chart-line-regions.tsxindex 822f0b7f6..0f877eb38 100644--- a/apps/status-page/src/components/chart/chart-line-regions.tsx+++ b/apps/status-page/src/components/chart/chart-line-regions.tsx@@ -9,18 +9,18 @@ import {YAxis,} from "recharts";+import { regions } from "@/data/regions";+import { formatMilliseconds } from "@/lib/formatter";+import type { MonitorRegion } from "@openstatus/db/src/schema";import {type ChartConfig,ChartContainer,ChartLegend,ChartTooltip,ChartTooltipContent,-} from "@/components/ui/chart";-import { Skeleton } from "@/components/ui/skeleton";-import { regions } from "@/data/regions";-import { formatMilliseconds } from "@/lib/formatter";-import { cn } from "@/lib/utils";-import type { MonitorRegion } from "@openstatus/db/src/schema";+} from "@openstatus/ui/components/ui/chart";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { cn } from "@openstatus/ui/lib/utils";import { useState } from "react";import { ChartLegendBadge } from "./chart-legend-badge";import { ChartTooltipNumber } from "./chart-tooltip-number";diff --git a/apps/status-page/src/components/chart/chart-tooltip-number.tsx b/apps/status-page/src/components/chart/chart-tooltip-number.tsxindex b4739426a..1889d9351 100644--- a/apps/status-page/src/components/chart/chart-tooltip-number.tsx+++ b/apps/status-page/src/components/chart/chart-tooltip-number.tsx@@ -1,4 +1,4 @@-import type { ChartConfig } from "@/components/ui/chart";+import type { ChartConfig } from "@openstatus/ui/components/ui/chart";import type {NameType,ValueType,diff --git a/apps/status-page/src/components/common/kbd.tsx b/apps/status-page/src/components/common/kbd.tsxindex b7b6636cb..9a6010ca7 100644--- a/apps/status-page/src/components/common/kbd.tsx+++ b/apps/status-page/src/components/common/kbd.tsx@@ -1,4 +1,4 @@-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";export function Kbd({children,diff --git a/apps/status-page/src/components/common/link.tsx b/apps/status-page/src/components/common/link.tsxindex 2a7dfa6cf..9957f5033 100644--- a/apps/status-page/src/components/common/link.tsx+++ b/apps/status-page/src/components/common/link.tsx@@ -1,4 +1,4 @@-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";import { type VariantProps, cva } from "class-variance-authority";import NextLink from "next/link";diff --git a/apps/status-page/src/components/content/empty-state.tsx b/apps/status-page/src/components/content/empty-state.tsxindex 38bb2a838..2a4dc515b 100644--- a/apps/status-page/src/components/content/empty-state.tsx+++ b/apps/status-page/src/components/content/empty-state.tsx@@ -1,4 +1,4 @@-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";export function EmptyStateContainer({children,diff --git a/apps/status-page/src/components/content/metric-card.tsx b/apps/status-page/src/components/content/metric-card.tsxindex 916f7e11c..4156c2f79 100644--- a/apps/status-page/src/components/content/metric-card.tsx+++ b/apps/status-page/src/components/content/metric-card.tsx@@ -2,9 +2,9 @@ import type { VariantProps } from "class-variance-authority";import { cva } from "class-variance-authority";import { ChevronDown, ChevronUp } from "lucide-react";-import { Badge } from "@/components/ui/badge";+import { Badge } from "@openstatus/ui/components/ui/badge";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";const metricCardVariants = cva("flex flex-col gap-1 border rounded-lg px-3 py-2 text-card-foreground",diff --git a/apps/status-page/src/components/content/section.tsx b/apps/status-page/src/components/content/section.tsxindex 5beffaf26..4d5f4ced9 100644--- a/apps/status-page/src/components/content/section.tsx+++ b/apps/status-page/src/components/content/section.tsx@@ -1,4 +1,4 @@-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";export function Section({children,diff --git a/apps/status-page/src/components/content/timestamp-hover-card.tsx b/apps/status-page/src/components/content/timestamp-hover-card.tsxindex 47548ef52..8189df5b4 100644--- a/apps/status-page/src/components/content/timestamp-hover-card.tsx+++ b/apps/status-page/src/components/content/timestamp-hover-card.tsx@@ -1,11 +1,11 @@+import { UTCDate } from "@date-fns/utc";import {HoverCard,HoverCardContent,HoverCardTrigger,-} from "@/components/ui/hover-card";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { useMediaQuery } from "@/hooks/use-media-query";-import { UTCDate } from "@date-fns/utc";+} from "@openstatus/ui/components/ui/hover-card";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { useMediaQuery } from "@openstatus/ui/hooks/use-media-query";import {type HoverCardContentProps,HoverCardPortal,@@ -90,7 +90,7 @@ function Row({ value, label }: { value: string; label: string }) {className="group flex items-center justify-between gap-4 text-sm"onClick={(e) => {e.stopPropagation();- copy(value, {});+ copy(value, { withToast: true });}}><dt className="text-muted-foreground">{label}</dt>diff --git a/apps/status-page/src/components/date-picker.tsx b/apps/status-page/src/components/date-picker.tsxindex ecbe3fd16..8f4f09fc6 100644--- a/apps/status-page/src/components/date-picker.tsx+++ b/apps/status-page/src/components/date-picker.tsx@@ -4,12 +4,12 @@ import { useState } from "react";import type { DateRange } from "react-day-picker";import { Kbd } from "@/components/common/kbd";-import { Button } from "@/components/ui/button";-import { Calendar } from "@/components/ui/calendar";-import { Input } from "@/components/ui/input";-import { Label } from "@/components/ui/label";-import { Separator } from "@/components/ui/separator";import { formatDateForInput } from "@/lib/formatter";+import { Button } from "@openstatus/ui/components/ui/button";+import { Calendar } from "@openstatus/ui/components/ui/calendar";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";+import { Separator } from "@openstatus/ui/components/ui/separator";import { endOfDay } from "date-fns";type DatePickerProps = {diff --git a/apps/status-page/src/components/forms/form-email.tsx b/apps/status-page/src/components/forms/form-email.tsxindex cf03e23e7..31094caab 100644--- a/apps/status-page/src/components/forms/form-email.tsx+++ b/apps/status-page/src/components/forms/form-email.tsx@@ -1,14 +1,14 @@"use client";-import { Form, FormMessage } from "@/components/ui/form";+import { zodResolver } from "@hookform/resolvers/zod";+import { Form, FormMessage } from "@openstatus/ui/components/ui/form";import {FormControl,FormField,FormItem,FormLabel,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { isTRPCClientError } from "@trpc/client";import { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/status-page/src/components/forms/form-password.tsx b/apps/status-page/src/components/forms/form-password.tsxindex f5051ce23..9d373481c 100644--- a/apps/status-page/src/components/forms/form-password.tsx+++ b/apps/status-page/src/components/forms/form-password.tsx@@ -1,14 +1,14 @@"use client";-import { Form } from "@/components/ui/form";+import { zodResolver } from "@hookform/resolvers/zod";+import { Form } from "@openstatus/ui/components/ui/form";import {FormControl,FormField,FormItem,FormLabel,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { isTRPCClientError } from "@trpc/client";import { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/status-page/src/components/forms/form-subscribe-email.tsx b/apps/status-page/src/components/forms/form-subscribe-email.tsxindex ecbb258f0..b17a905e1 100644--- a/apps/status-page/src/components/forms/form-subscribe-email.tsx+++ b/apps/status-page/src/components/forms/form-subscribe-email.tsx@@ -1,14 +1,14 @@"use client";-import { Form } from "@/components/ui/form";+import { zodResolver } from "@hookform/resolvers/zod";+import { Form } from "@openstatus/ui/components/ui/form";import {FormControl,FormField,FormItem,FormLabel,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import { zodResolver } from "@hookform/resolvers/zod";+} from "@openstatus/ui/components/ui/form";+import { Input } from "@openstatus/ui/components/ui/input";import { isTRPCClientError } from "@trpc/client";import { useTransition } from "react";import { useForm } from "react-hook-form";diff --git a/apps/status-page/src/components/nav/footer.tsx b/apps/status-page/src/components/nav/footer.tsxindex 4a2e8c06f..c4f6f66f3 100644--- a/apps/status-page/src/components/nav/footer.tsx+++ b/apps/status-page/src/components/nav/footer.tsx@@ -3,8 +3,8 @@import { Link } from "@/components/common/link";import { TimestampHoverCard } from "@/components/content/timestamp-hover-card";import { ThemeDropdown } from "@/components/themes/theme-dropdown";-import { Skeleton } from "@/components/ui/skeleton";import { useTRPC } from "@/lib/trpc/client";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import { useQuery } from "@tanstack/react-query";import { Clock } from "lucide-react";import { useParams } from "next/navigation";diff --git a/apps/status-page/src/components/nav/header.tsx b/apps/status-page/src/components/nav/header.tsxindex fd5b06a71..16802631e 100644--- a/apps/status-page/src/components/nav/header.tsx+++ b/apps/status-page/src/components/nav/header.tsx@@ -5,24 +5,24 @@ import {type StatusUpdateType,StatusUpdates,} from "@/components/status-page/status-updates";-import { Button } from "@/components/ui/button";+import { usePathnamePrefix } from "@/hooks/use-pathname-prefix";+import { useTRPC } from "@/lib/trpc/client";+import type { RouterOutputs } from "@openstatus/api";+import { Button } from "@openstatus/ui/components/ui/button";import {Sheet,SheetContent,SheetHeader,SheetTitle,SheetTrigger,-} from "@/components/ui/sheet";+} from "@openstatus/ui/components/ui/sheet";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { usePathnamePrefix } from "@/hooks/use-pathname-prefix";-import { useTRPC } from "@/lib/trpc/client";-import { cn } from "@/lib/utils";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import { useMutation, useQuery } from "@tanstack/react-query";import { isTRPCClientError } from "@trpc/client";import { Menu, MessageCircleMore } from "lucide-react";diff --git a/apps/status-page/src/components/popover/popover-quantile.tsx b/apps/status-page/src/components/popover/popover-quantile.tsxindex 4521562d0..798d035fd 100644--- a/apps/status-page/src/components/popover/popover-quantile.tsx+++ b/apps/status-page/src/components/popover/popover-quantile.tsx@@ -2,9 +2,9 @@ import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/popover";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";export function PopoverQuantile({children,diff --git a/apps/status-page/src/components/status-page/floating-button.tsx b/apps/status-page/src/components/status-page/floating-button.tsxindex cb694f6a2..56bad3d4b 100644--- a/apps/status-page/src/components/status-page/floating-button.tsx+++ b/apps/status-page/src/components/status-page/floating-button.tsx@@ -1,7 +1,13 @@"use client";import { ThemeSelect } from "@/components/themes/theme-select";-import { Button } from "@/components/ui/button";+import {+ THEMES,+ THEME_KEYS,+ type ThemeDefinition,+ generateThemeStyles,+} from "@openstatus/theme-store";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -9,28 +15,22 @@ import {CommandInput,CommandItem,CommandList,-} from "@/components/ui/command";-import { Label } from "@/components/ui/label";+} from "@openstatus/ui/components/ui/command";+import { Label } from "@openstatus/ui/components/ui/label";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";+} from "@openstatus/ui/components/ui/popover";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";-import {- THEMES,- THEME_KEYS,- type ThemeDefinition,- generateThemeStyles,-} from "@openstatus/theme-store";+} from "@openstatus/ui/components/ui/select";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";import { Check, ChevronsUpDown, Settings } from "lucide-react";import { parseAsString, useQueryState } from "nuqs";import type React from "react";diff --git a/apps/status-page/src/components/status-page/floating-theme.tsx b/apps/status-page/src/components/status-page/floating-theme.tsxindex 5915539eb..9f502e367 100644--- a/apps/status-page/src/components/status-page/floating-theme.tsx+++ b/apps/status-page/src/components/status-page/floating-theme.tsx@@ -1,7 +1,8 @@"use client";import { ThemeSelect } from "@/components/themes/theme-select";-import { Button } from "@/components/ui/button";+import { THEMES, THEME_KEYS } from "@openstatus/theme-store";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -9,15 +10,14 @@ import {CommandInput,CommandItem,CommandList,-} from "@/components/ui/command";-import { Label } from "@/components/ui/label";+} from "@openstatus/ui/components/ui/command";+import { Label } from "@openstatus/ui/components/ui/label";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { cn } from "@/lib/utils";-import { THEMES, THEME_KEYS } from "@openstatus/theme-store";+} from "@openstatus/ui/components/ui/popover";+import { cn } from "@openstatus/ui/lib/utils";import { Check, ChevronsUpDown, Palette } from "lucide-react";import { useEffect } from "react";import { useState } from "react";diff --git a/apps/status-page/src/components/status-page/status-banner.tsx b/apps/status-page/src/components/status-page/status-banner.tsxindex 4a6a00831..ffce8171f 100644--- a/apps/status-page/src/components/status-page/status-banner.tsx+++ b/apps/status-page/src/components/status-page/status-banner.tsx@@ -1,5 +1,10 @@-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";-import { cn } from "@/lib/utils";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";+import { cn } from "@openstatus/ui/lib/utils";import {AlertCircleIcon,CheckIcon,diff --git a/apps/status-page/src/components/status-page/status-blank.tsx b/apps/status-page/src/components/status-page/status-blank.tsxindex 8f893d9d5..a7737a558 100644--- a/apps/status-page/src/components/status-page/status-blank.tsx+++ b/apps/status-page/src/components/status-page/status-blank.tsx@@ -1,5 +1,5 @@-import { Button } from "@/components/ui/button";-import { cn } from "@/lib/utils";+import { Button } from "@openstatus/ui/components/ui/button";+import { cn } from "@openstatus/ui/lib/utils";import Link from "next/link";export function StatusBlankContainer({diff --git a/apps/status-page/src/components/status-page/status-charts.tsx b/apps/status-page/src/components/status-page/status-charts.tsxindex 2083567ce..50a75cbb3 100644--- a/apps/status-page/src/components/status-page/status-charts.tsx+++ b/apps/status-page/src/components/status-page/status-charts.tsx@@ -1,4 +1,4 @@-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";export function StatusChartContent({children,diff --git a/apps/status-page/src/components/status-page/status-events.tsx b/apps/status-page/src/components/status-page/status-events.tsxindex 8ba7b8505..a0ce375bd 100644--- a/apps/status-page/src/components/status-page/status-events.tsx+++ b/apps/status-page/src/components/status-page/status-events.tsx@@ -1,16 +1,16 @@import { ProcessMessage } from "@/components/content/process-message";import { TimestampHoverCard } from "@/components/content/timestamp-hover-card";-import { Badge } from "@/components/ui/badge";-import { Separator } from "@/components/ui/separator";+import { usePathnamePrefix } from "@/hooks/use-pathname-prefix";+import { formatDate, formatDateRange, formatDateTime } from "@/lib/formatter";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Separator } from "@openstatus/ui/components/ui/separator";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { usePathnamePrefix } from "@/hooks/use-pathname-prefix";-import { formatDate, formatDateRange, formatDateTime } from "@/lib/formatter";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import { formatDistanceStrict } from "date-fns";import { Check, ChevronRight } from "lucide-react";import Link from "next/link";diff --git a/apps/status-page/src/components/status-page/status-monitor-tabs.tsx b/apps/status-page/src/components/status-page/status-monitor-tabs.tsxindex de3cf752c..c11cb3b47 100644--- a/apps/status-page/src/components/status-page/status-monitor-tabs.tsx+++ b/apps/status-page/src/components/status-page/status-monitor-tabs.tsx@@ -1,6 +1,11 @@-import { Skeleton } from "@/components/ui/skeleton";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";-import { cn } from "@/lib/utils";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";+import { cn } from "@openstatus/ui/lib/utils";export function StatusMonitorTabs({className,diff --git a/apps/status-page/src/components/status-page/status-monitor.tsx b/apps/status-page/src/components/status-page/status-monitor.tsxindex 24c0d15e5..cafc4d51d 100644--- a/apps/status-page/src/components/status-page/status-monitor.tsx+++ b/apps/status-page/src/components/status-page/status-monitor.tsx@@ -1,15 +1,15 @@"use client";-import { Skeleton } from "@/components/ui/skeleton";+import type { RouterOutputs } from "@openstatus/api";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { useMediaQuery } from "@/hooks/use-media-query";-import { cn } from "@/lib/utils";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/tooltip";+import { useMediaQuery } from "@openstatus/ui/hooks/use-media-query";+import { cn } from "@openstatus/ui/lib/utils";import { formatDistanceToNowStrict } from "date-fns";import {AlertCircleIcon,diff --git a/apps/status-page/src/components/status-page/status-tracker-group.tsx b/apps/status-page/src/components/status-page/status-tracker-group.tsxindex 7906c65d1..310ca7bc3 100644--- a/apps/status-page/src/components/status-page/status-tracker-group.tsx+++ b/apps/status-page/src/components/status-page/status-tracker-group.tsx@@ -4,8 +4,8 @@ import {Collapsible,CollapsibleContent,CollapsibleTrigger,-} from "@/components/ui/collapsible";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/collapsible";+import { cn } from "@openstatus/ui/lib/utils";import { useEffect, useState } from "react";import type { VariantType } from "./floating-button";import { StatusMonitorIcon, StatusMonitorStatus } from "./status-monitor";diff --git a/apps/status-page/src/components/status-page/status-tracker.tsx b/apps/status-page/src/components/status-page/status-tracker.tsxindex 9ab1815c7..01883b9ab 100644--- a/apps/status-page/src/components/status-page/status-tracker.tsx+++ b/apps/status-page/src/components/status-page/status-tracker.tsx@@ -1,18 +1,18 @@"use client";import { Kbd } from "@/components/common/kbd";+import { usePathnamePrefix } from "@/hooks/use-pathname-prefix";+import { formatDateRange } from "@/lib/formatter";+import type { RouterOutputs } from "@openstatus/api";import {HoverCard,HoverCardContent,HoverCardTrigger,-} from "@/components/ui/hover-card";-import { Separator } from "@/components/ui/separator";-import { Skeleton } from "@/components/ui/skeleton";-import { useMediaQuery } from "@/hooks/use-media-query";-import { usePathnamePrefix } from "@/hooks/use-pathname-prefix";-import { formatDateRange } from "@/lib/formatter";-import { cn } from "@/lib/utils";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/hover-card";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { useMediaQuery } from "@openstatus/ui/hooks/use-media-query";+import { cn } from "@openstatus/ui/lib/utils";import { formatDistanceStrict } from "date-fns";import Link from "next/link";import { useEffect, useRef, useState } from "react";diff --git a/apps/status-page/src/components/status-page/status-updates.tsx b/apps/status-page/src/components/status-page/status-updates.tsxindex f4d83ffa4..ab1860c64 100644--- a/apps/status-page/src/components/status-page/status-updates.tsx+++ b/apps/status-page/src/components/status-page/status-updates.tsx@@ -1,19 +1,24 @@"use client";import { FormSubscribeEmail } from "@/components/forms/form-subscribe-email";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";+import { getBaseUrl } from "@/lib/base-url";+import type { RouterOutputs } from "@openstatus/api";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { Separator } from "@/components/ui/separator";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { getBaseUrl } from "@/lib/base-url";-import { cn } from "@/lib/utils";-import type { RouterOutputs } from "@openstatus/api";+} from "@openstatus/ui/components/ui/popover";+import { Separator } from "@openstatus/ui/components/ui/separator";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { cn } from "@openstatus/ui/lib/utils";import { Check, Copy, Inbox } from "lucide-react";import { useState } from "react";@@ -182,6 +187,7 @@ function CopyInputButton({onClick={(e) => {copy(value, {successMessage: "Link copied to clipboard",+ withToast: true,});onClick?.(e);}}@@ -216,7 +222,7 @@ function CopyButton({<Buttonsize="sm"onClick={(e) => {- copy(value, {});+ copy(value, { withToast: true });onClick?.(e);}}{...props}diff --git a/apps/status-page/src/components/status-page/status.tsx b/apps/status-page/src/components/status-page/status.tsxindex eb0d85017..f6ab12b49 100644--- a/apps/status-page/src/components/status-page/status.tsx+++ b/apps/status-page/src/components/status-page/status.tsx@@ -1,11 +1,11 @@+import { UTCDate } from "@date-fns/utc";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";-import { UTCDate } from "@date-fns/utc";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import { format } from "date-fns";import {AlertCircleIcon,diff --git a/apps/status-page/src/components/status-page/utils.ts b/apps/status-page/src/components/status-page/utils.tsindex 648c9996a..d9290e8b8 100644--- a/apps/status-page/src/components/status-page/utils.ts+++ b/apps/status-page/src/components/status-page/utils.ts@@ -1,4 +1,4 @@-import type { ChartConfig } from "@/components/ui/chart";+import type { ChartConfig } from "@openstatus/ui/components/ui/chart";import { VARIANT, type VariantType } from "./floating-button";export const chartData = Array.from({ length: 45 }, (_, i) => {diff --git a/apps/status-page/src/components/themes/theme-dropdown.tsx b/apps/status-page/src/components/themes/theme-dropdown.tsxindex 1c0502d04..a3ceb49a1 100644--- a/apps/status-page/src/components/themes/theme-dropdown.tsx+++ b/apps/status-page/src/components/themes/theme-dropdown.tsx@@ -3,18 +3,18 @@import { useTheme } from "next-themes";import type * as React from "react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuContent,DropdownMenuItem,DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/dropdown-menu";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { cn } from "@openstatus/ui/lib/utils";import { Laptop, Moon, Sun } from "lucide-react";import { useState } from "react";import { useEffect } from "react";-import { Skeleton } from "../ui/skeleton";function getThemeIcon(theme?: string | null) {if (theme === "light") return <Sun className="h-4 w-4" />;diff --git a/apps/status-page/src/components/themes/theme-palette-picker.tsx b/apps/status-page/src/components/themes/theme-palette-picker.tsxindex e9ecdf771..0b38d78eb 100644--- a/apps/status-page/src/components/themes/theme-palette-picker.tsx+++ b/apps/status-page/src/components/themes/theme-palette-picker.tsx@@ -1,13 +1,13 @@"use client";-import { Button } from "@/components/ui/button";-import { Kbd, KbdGroup } from "@/components/ui/kbd";-import { useSidebar } from "@/components/ui/sidebar";+import { Button } from "@openstatus/ui/components/ui/button";+import { Kbd, KbdGroup } from "@openstatus/ui/components/ui/kbd";+import { useSidebar } from "@openstatus/ui/components/ui/sidebar";import {Tooltip,TooltipContent,TooltipTrigger,-} from "@/components/ui/tooltip";+} from "@openstatus/ui/components/ui/tooltip";import { Palette } from "lucide-react";export function ThemePalettePicker() {diff --git a/apps/status-page/src/components/themes/theme-select.tsx b/apps/status-page/src/components/themes/theme-select.tsxindex bf53e9ec5..9bc0dc05d 100644--- a/apps/status-page/src/components/themes/theme-select.tsx+++ b/apps/status-page/src/components/themes/theme-select.tsx@@ -9,9 +9,9 @@ import {SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";-import { Skeleton } from "@/components/ui/skeleton";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/select";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { cn } from "@openstatus/ui/lib/utils";import { Laptop, Moon, Sun } from "lucide-react";import { useState } from "react";import { useEffect } from "react";diff --git a/apps/status-page/src/components/themes/theme-sidebar.tsx b/apps/status-page/src/components/themes/theme-sidebar.tsxindex e45a28e1d..4eeffea0d 100644--- a/apps/status-page/src/components/themes/theme-sidebar.tsx+++ b/apps/status-page/src/components/themes/theme-sidebar.tsx@@ -2,17 +2,29 @@import { searchParamsParsers } from "@/app/(public)/search-params";import { recomputeStyles } from "@/components/status-page/floating-button";-import { Button } from "@/components/ui/button";-import { ButtonGroup, ButtonGroupText } from "@/components/ui/button-group";-import { Checkbox } from "@/components/ui/checkbox";+import {+ THEMES,+ type Theme,+ type ThemeKey,+ type ThemeVarName,+} from "@openstatus/theme-store";+import { Button } from "@openstatus/ui/components/ui/button";+import {+ ButtonGroup,+ ButtonGroupText,+} from "@openstatus/ui/components/ui/button-group";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";import {Collapsible,CollapsibleContent,CollapsibleTrigger,-} from "@/components/ui/collapsible";-import { InputGroup, InputGroupInput } from "@/components/ui/input-group";-import { Kbd, KbdGroup } from "@/components/ui/kbd";-import { Label } from "@/components/ui/label";+} from "@openstatus/ui/components/ui/collapsible";+import {+ InputGroup,+ InputGroupInput,+} from "@openstatus/ui/components/ui/input-group";+import { Kbd, KbdGroup } from "@openstatus/ui/components/ui/kbd";+import { Label } from "@openstatus/ui/components/ui/label";import {Sidebar,SidebarContent,@@ -25,23 +37,17 @@ import {SidebarMenuButton,SidebarMenuItem,useSidebar,-} from "@/components/ui/sidebar";-import { Skeleton } from "@/components/ui/skeleton";-import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";+} from "@openstatus/ui/components/ui/sidebar";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { Tabs, TabsList, TabsTrigger } from "@openstatus/ui/components/ui/tabs";import {Tooltip,TooltipContent,TooltipTrigger,-} from "@/components/ui/tooltip";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { useDebounce } from "@/hooks/use-debounce";-import { cn } from "@/lib/utils";-import {- THEMES,- type Theme,- type ThemeKey,- type ThemeVarName,-} from "@openstatus/theme-store";+} from "@openstatus/ui/components/ui/tooltip";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { useDebounce } from "@openstatus/ui/hooks/use-debounce";+import { cn } from "@openstatus/ui/lib/utils";import {Check,ChevronDown,diff --git a/apps/status-page/src/components/ui/avatar.tsx b/apps/status-page/src/components/ui/avatar.tsxdeleted file mode 100644index 98e4243f8..000000000--- a/apps/status-page/src/components/ui/avatar.tsx+++ /dev/null@@ -1,53 +0,0 @@-"use client";--import * as AvatarPrimitive from "@radix-ui/react-avatar";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Avatar({- className,- ...props-}: React.ComponentProps<typeof AvatarPrimitive.Root>) {- return (- <AvatarPrimitive.Root- data-slot="avatar"- className={cn(- "relative flex size-8 shrink-0 overflow-hidden rounded-full",- className,- )}- {...props}- />- );-}--function AvatarImage({- className,- ...props-}: React.ComponentProps<typeof AvatarPrimitive.Image>) {- return (- <AvatarPrimitive.Image- data-slot="avatar-image"- className={cn("aspect-square size-full", className)}- {...props}- />- );-}--function AvatarFallback({- className,- ...props-}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {- return (- <AvatarPrimitive.Fallback- data-slot="avatar-fallback"- className={cn(- "flex size-full items-center justify-center rounded-full bg-muted",- className,- )}- {...props}- />- );-}--export { Avatar, AvatarImage, AvatarFallback };diff --git a/apps/status-page/src/components/ui/badge.tsx b/apps/status-page/src/components/ui/badge.tsxdeleted file mode 100644index e5ffef1c2..000000000--- a/apps/status-page/src/components/ui/badge.tsx+++ /dev/null@@ -1,43 +0,0 @@-import { Slot } from "@radix-ui/react-slot";-import { type VariantProps, cva } from "class-variance-authority";-import type * as React from "react";--import { cn } from "@/lib/utils";--const badgeVariants = cva(- "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",- {- variants: {- variant: {- default:- "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",- secondary:- "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",- destructive:- "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",- outline:- "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",- },- },- defaultVariants: {- variant: "default",- },- },-);--export type BadgeProps = React.ComponentProps<"span"> &- VariantProps<typeof badgeVariants> & { asChild?: boolean };--function Badge({ className, variant, asChild = false, ...props }: BadgeProps) {- const Comp = asChild ? Slot : "span";-- return (- <Comp- data-slot="badge"- className={cn(badgeVariants({ variant }), className)}- {...props}- />- );-}--export { Badge, badgeVariants };diff --git a/apps/status-page/src/components/ui/breadcrumb.tsx b/apps/status-page/src/components/ui/breadcrumb.tsxdeleted file mode 100644index 95e809620..000000000--- a/apps/status-page/src/components/ui/breadcrumb.tsx+++ /dev/null@@ -1,109 +0,0 @@-import { Slot } from "@radix-ui/react-slot";-import { ChevronRight, MoreHorizontal } from "lucide-react";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Breadcrumb({ ...props }: React.ComponentProps<"nav">) {- return <nav aria-label="breadcrumb" data-slot="breadcrumb" {...props} />;-}--function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) {- return (- <ol- data-slot="breadcrumb-list"- className={cn(- "flex flex-wrap items-center gap-1.5 break-words text-muted-foreground text-sm sm:gap-2.5",- className,- )}- {...props}- />- );-}--function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">) {- return (- <li- data-slot="breadcrumb-item"- className={cn("inline-flex items-center gap-1.5", className)}- {...props}- />- );-}--function BreadcrumbLink({- asChild,- className,- ...props-}: React.ComponentProps<"a"> & {- asChild?: boolean;-}) {- const Comp = asChild ? Slot : "a";-- return (- <Comp- data-slot="breadcrumb-link"- className={cn("transition-colors hover:text-foreground", className)}- {...props}- />- );-}--function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">) {- return (- <span- data-slot="breadcrumb-page"- role="link"- aria-disabled="true"- aria-current="page"- className={cn("font-normal text-foreground", className)}- {...props}- />- );-}--function BreadcrumbSeparator({- children,- className,- ...props-}: React.ComponentProps<"li">) {- return (- <li- data-slot="breadcrumb-separator"- role="presentation"- aria-hidden="true"- className={cn("[&>svg]:size-3.5", className)}- {...props}- >- {children ?? <ChevronRight />}- </li>- );-}--function BreadcrumbEllipsis({- className,- ...props-}: React.ComponentProps<"span">) {- return (- <span- data-slot="breadcrumb-ellipsis"- role="presentation"- aria-hidden="true"- className={cn("flex size-9 items-center justify-center", className)}- {...props}- >- <MoreHorizontal className="size-4" />- <span className="sr-only">More</span>- </span>- );-}--export {- Breadcrumb,- BreadcrumbList,- BreadcrumbItem,- BreadcrumbLink,- BreadcrumbPage,- BreadcrumbSeparator,- BreadcrumbEllipsis,-};diff --git a/apps/status-page/src/components/ui/button-group.tsx b/apps/status-page/src/components/ui/button-group.tsxdeleted file mode 100644index 16dd752e2..000000000--- a/apps/status-page/src/components/ui/button-group.tsx+++ /dev/null@@ -1,83 +0,0 @@-import { Slot } from "@radix-ui/react-slot";-import { type VariantProps, cva } from "class-variance-authority";--import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";--const buttonGroupVariants = cva(- "flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md has-[>[data-slot=button-group]]:gap-2",- {- variants: {- orientation: {- horizontal:- "[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",- vertical:- "flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none",- },- },- defaultVariants: {- orientation: "horizontal",- },- },-);--function ButtonGroup({- className,- orientation,- ...props-}: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>) {- return (- <div- role="group"- data-slot="button-group"- data-orientation={orientation}- className={cn(buttonGroupVariants({ orientation }), className)}- {...props}- />- );-}--function ButtonGroupText({- className,- asChild = false,- ...props-}: React.ComponentProps<"div"> & {- asChild?: boolean;-}) {- const Comp = asChild ? Slot : "div";-- return (- <Comp- className={cn(- "flex items-center gap-2 rounded-md border bg-muted px-4 font-medium text-sm shadow-xs [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",- className,- )}- {...props}- />- );-}--function ButtonGroupSeparator({- className,- orientation = "vertical",- ...props-}: React.ComponentProps<typeof Separator>) {- return (- <Separator- data-slot="button-group-separator"- orientation={orientation}- className={cn(- "!m-0 relative self-stretch bg-input data-[orientation=vertical]:h-auto",- className,- )}- {...props}- />- );-}--export {- ButtonGroup,- ButtonGroupSeparator,- ButtonGroupText,- buttonGroupVariants,-};diff --git a/apps/status-page/src/components/ui/button.tsx b/apps/status-page/src/components/ui/button.tsxdeleted file mode 100644index 11621b95f..000000000--- a/apps/status-page/src/components/ui/button.tsx+++ /dev/null@@ -1,59 +0,0 @@-import { Slot } from "@radix-ui/react-slot";-import { type VariantProps, cva } from "class-variance-authority";-import type * as React from "react";--import { cn } from "@/lib/utils";--const buttonVariants = cva(- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",- {- variants: {- variant: {- default:- "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",- destructive:- "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",- outline:- "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",- secondary:- "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",- ghost:- "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",- link: "text-primary underline-offset-4 hover:underline",- },- size: {- default: "h-9 px-4 py-2 has-[>svg]:px-3",- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",- icon: "size-9",- },- },- defaultVariants: {- variant: "default",- size: "default",- },- },-);--function Button({- className,- variant,- size,- asChild = false,- ...props-}: React.ComponentProps<"button"> &- VariantProps<typeof buttonVariants> & {- asChild?: boolean;- }) {- const Comp = asChild ? Slot : "button";-- return (- <Comp- data-slot="button"- className={cn(buttonVariants({ variant, size, className }))}- {...props}- />- );-}--export { Button, buttonVariants };diff --git a/apps/status-page/src/components/ui/card.tsx b/apps/status-page/src/components/ui/card.tsxdeleted file mode 100644index cee9feaeb..000000000--- a/apps/status-page/src/components/ui/card.tsx+++ /dev/null@@ -1,92 +0,0 @@-import type * as React from "react";--import { cn } from "@/lib/utils";--function Card({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="card"- className={cn(- "flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",- className,- )}- {...props}- />- );-}--function CardHeader({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="card-header"- className={cn(- "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",- className,- )}- {...props}- />- );-}--function CardTitle({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="card-title"- className={cn("font-semibold leading-none", className)}- {...props}- />- );-}--function CardDescription({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="card-description"- className={cn("text-muted-foreground text-sm", className)}- {...props}- />- );-}--function CardAction({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="card-action"- className={cn(- "col-start-2 row-span-2 row-start-1 self-start justify-self-end",- className,- )}- {...props}- />- );-}--function CardContent({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="card-content"- className={cn("px-6", className)}- {...props}- />- );-}--function CardFooter({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="card-footer"- className={cn("flex items-center px-6 [.border-t]:pt-6", className)}- {...props}- />- );-}--export {- Card,- CardHeader,- CardFooter,- CardTitle,- CardAction,- CardDescription,- CardContent,-};diff --git a/apps/status-page/src/components/ui/chart.tsx b/apps/status-page/src/components/ui/chart.tsxdeleted file mode 100644index cdfcb8e5f..000000000--- a/apps/status-page/src/components/ui/chart.tsx+++ /dev/null@@ -1,358 +0,0 @@-"use client";--import * as React from "react";-import * as RechartsPrimitive from "recharts";--import { cn } from "@/lib/utils";--// Format: { THEME_NAME: CSS_SELECTOR }-const THEMES = { light: "", dark: ".dark" } as const;--export type ChartConfig = {- [k in string]: {- label?: React.ReactNode;- icon?: React.ComponentType;- } & (- | { color?: string; theme?: never }- | { color?: never; theme: Record<keyof typeof THEMES, string> }- );-};--type ChartContextProps = {- config: ChartConfig;-};--const ChartContext = React.createContext<ChartContextProps | null>(null);--export function useChart() {- const context = React.useContext(ChartContext);-- if (!context) {- throw new Error("useChart must be used within a <ChartContainer />");- }-- return context;-}--function ChartContainer({- id,- className,- children,- config,- ...props-}: React.ComponentProps<"div"> & {- config: ChartConfig;- children: React.ComponentProps<- typeof RechartsPrimitive.ResponsiveContainer- >["children"];-}) {- const uniqueId = React.useId();- const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;-- return (- <ChartContext.Provider value={{ config }}>- <div- data-slot="chart"- data-chart={chartId}- className={cn(- "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-hidden [&_.recharts-surface]:outline-hidden",- className,- )}- {...props}- >- <ChartStyle id={chartId} config={config} />- <RechartsPrimitive.ResponsiveContainer>- {children}- </RechartsPrimitive.ResponsiveContainer>- </div>- </ChartContext.Provider>- );-}--const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {- const colorConfig = Object.entries(config).filter(- ([, config]) => config.theme || config.color,- );-- if (!colorConfig.length) {- return null;- }-- return (- <style- // biome-ignore lint/security/noDangerouslySetInnerHtml: <explanation>- dangerouslySetInnerHTML={{- __html: Object.entries(THEMES)- .map(- ([theme, prefix]) => `-${prefix} [data-chart=${id}] {-${colorConfig- .map(([key, itemConfig]) => {- const color =- itemConfig.theme?.[theme as keyof typeof itemConfig.theme] ||- itemConfig.color;- return color ? ` --color-${key}: ${color};` : null;- })- .join("\n")}-}-`,- )- .join("\n"),- }}- />- );-};--const ChartTooltip = RechartsPrimitive.Tooltip;--function ChartTooltipContent({- active,- payload,- className,- indicator = "dot",- hideLabel = false,- hideIndicator = false,- label,- labelFormatter,- labelClassName,- formatter,- color,- nameKey,- labelKey,-}: React.ComponentProps<typeof RechartsPrimitive.Tooltip> &- React.ComponentProps<"div"> & {- hideLabel?: boolean;- hideIndicator?: boolean;- indicator?: "line" | "dot" | "dashed";- nameKey?: string;- labelKey?: string;- }) {- const { config } = useChart();-- const tooltipLabel = React.useMemo(() => {- if (hideLabel || !payload?.length) {- return null;- }-- const [item] = payload;- const key = `${labelKey || item?.dataKey || item?.name || "value"}`;- const itemConfig = getPayloadConfigFromPayload(config, item, key);- const value =- !labelKey && typeof label === "string"- ? config[label as keyof typeof config]?.label || label- : itemConfig?.label;-- if (labelFormatter) {- return (- <div className={cn("font-medium", labelClassName)}>- {labelFormatter(value, payload)}- </div>- );- }-- if (!value) {- return null;- }-- return <div className={cn("font-medium", labelClassName)}>{value}</div>;- }, [- label,- labelFormatter,- payload,- hideLabel,- labelClassName,- config,- labelKey,- ]);-- if (!active || !payload?.length) {- return null;- }-- const nestLabel = payload.length === 1 && indicator !== "dot";-- return (- <div- className={cn(- "grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",- className,- )}- >- {!nestLabel ? tooltipLabel : null}- <div className="grid gap-1.5">- {payload- .filter((item) => item.type !== "none")- .map((item, index) => {- const key = `${nameKey || item.name || item.dataKey || "value"}`;- const itemConfig = getPayloadConfigFromPayload(config, item, key);- const indicatorColor = color || item.payload.fill || item.color;-- return (- <div- key={item.dataKey}- className={cn(- "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",- indicator === "dot" && "items-center",- )}- >- {formatter && item?.value !== undefined && item.name ? (- formatter(item.value, item.name, item, index, item.payload)- ) : (- <>- {itemConfig?.icon ? (- <itemConfig.icon />- ) : (- !hideIndicator && (- <div- className={cn(- "shrink-0 rounded-(--radius-xs) border-(--color-border) bg-(--color-bg)",- {- "h-2.5 w-2.5": indicator === "dot",- "w-1": indicator === "line",- "w-0 border-[1.5px] border-dashed bg-transparent":- indicator === "dashed",- "my-0.5": nestLabel && indicator === "dashed",- },- )}- style={- {- "--color-bg": indicatorColor,- "--color-border": indicatorColor,- } as React.CSSProperties- }- />- )- )}- <div- className={cn(- "flex flex-1 justify-between leading-none",- nestLabel ? "items-end" : "items-center",- )}- >- <div className="grid gap-1.5">- {nestLabel ? tooltipLabel : null}- <span className="text-muted-foreground">- {itemConfig?.label || item.name}- </span>- </div>- {item.value && (- <span className="font-medium font-mono text-foreground tabular-nums">- {item.value.toLocaleString()}- </span>- )}- </div>- </>- )}- </div>- );- })}- </div>- </div>- );-}--const ChartLegend = RechartsPrimitive.Legend;--function ChartLegendContent({- className,- hideIcon = false,- payload,- verticalAlign = "bottom",- nameKey,-}: React.ComponentProps<"div"> &- Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {- hideIcon?: boolean;- nameKey?: string;- }) {- const { config } = useChart();-- if (!payload?.length) {- return null;- }-- return (- <div- className={cn(- "flex items-center justify-center gap-4",- verticalAlign === "top" ? "pb-3" : "pt-3",- className,- )}- >- {payload- .filter((item) => item.type !== "none")- .map((item) => {- const key = `${nameKey || item.dataKey || "value"}`;- const itemConfig = getPayloadConfigFromPayload(config, item, key);-- return (- <div- key={item.value}- className={cn(- "flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground",- )}- >- {itemConfig?.icon && !hideIcon ? (- <itemConfig.icon />- ) : (- <div- className="h-2 w-2 shrink-0 rounded-(--radius-xs)"- style={{- backgroundColor: item.color,- }}- />- )}- {itemConfig?.label}- </div>- );- })}- </div>- );-}--// Helper to extract item config from a payload.-export function getPayloadConfigFromPayload(- config: ChartConfig,- payload: unknown,- key: string,-) {- if (typeof payload !== "object" || payload === null) {- return undefined;- }-- const payloadPayload =- "payload" in payload &&- typeof payload.payload === "object" &&- payload.payload !== null- ? payload.payload- : undefined;-- let configLabelKey: string = key;-- if (- key in payload &&- typeof payload[key as keyof typeof payload] === "string"- ) {- configLabelKey = payload[key as keyof typeof payload] as string;- } else if (- payloadPayload &&- key in payloadPayload &&- typeof payloadPayload[key as keyof typeof payloadPayload] === "string"- ) {- configLabelKey = payloadPayload[- key as keyof typeof payloadPayload- ] as string;- }-- return configLabelKey in config- ? config[configLabelKey]- : config[key as keyof typeof config];-}--export {- ChartContainer,- ChartTooltip,- ChartTooltipContent,- ChartLegend,- ChartLegendContent,- ChartStyle,-};diff --git a/apps/status-page/src/components/ui/checkbox.tsx b/apps/status-page/src/components/ui/checkbox.tsxdeleted file mode 100644index 1630f0dcd..000000000--- a/apps/status-page/src/components/ui/checkbox.tsx+++ /dev/null@@ -1,32 +0,0 @@-"use client";--import * as CheckboxPrimitive from "@radix-ui/react-checkbox";-import { CheckIcon } from "lucide-react";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Checkbox({- className,- ...props-}: React.ComponentProps<typeof CheckboxPrimitive.Root>) {- return (- <CheckboxPrimitive.Root- data-slot="checkbox"- className={cn(- "peer size-4 shrink-0 rounded-xs border border-input shadow-xs outline-none transition-shadow focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:data-[state=checked]:bg-primary dark:aria-invalid:ring-destructive/40",- className,- )}- {...props}- >- <CheckboxPrimitive.Indicator- data-slot="checkbox-indicator"- className="flex items-center justify-center text-current transition-none"- >- <CheckIcon className="size-3.5" />- </CheckboxPrimitive.Indicator>- </CheckboxPrimitive.Root>- );-}--export { Checkbox };diff --git a/apps/status-page/src/components/ui/collapsible.tsx b/apps/status-page/src/components/ui/collapsible.tsxdeleted file mode 100644index 90935c6b2..000000000--- a/apps/status-page/src/components/ui/collapsible.tsx+++ /dev/null@@ -1,33 +0,0 @@-"use client";--import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";--function Collapsible({- ...props-}: React.ComponentProps<typeof CollapsiblePrimitive.Root>) {- return <CollapsiblePrimitive.Root data-slot="collapsible" {...props} />;-}--function CollapsibleTrigger({- ...props-}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>) {- return (- <CollapsiblePrimitive.CollapsibleTrigger- data-slot="collapsible-trigger"- {...props}- />- );-}--function CollapsibleContent({- ...props-}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>) {- return (- <CollapsiblePrimitive.CollapsibleContent- data-slot="collapsible-content"- {...props}- />- );-}--export { Collapsible, CollapsibleTrigger, CollapsibleContent };diff --git a/apps/status-page/src/components/ui/command.tsx b/apps/status-page/src/components/ui/command.tsxdeleted file mode 100644index 49a009fca..000000000--- a/apps/status-page/src/components/ui/command.tsx+++ /dev/null@@ -1,177 +0,0 @@-"use client";--import { Command as CommandPrimitive } from "cmdk";-import { SearchIcon } from "lucide-react";-import type * as React from "react";--import {- Dialog,- DialogContent,- DialogDescription,- DialogHeader,- DialogTitle,-} from "@/components/ui/dialog";-import { cn } from "@/lib/utils";--function Command({- className,- ...props-}: React.ComponentProps<typeof CommandPrimitive>) {- return (- <CommandPrimitive- data-slot="command"- className={cn(- "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",- className,- )}- {...props}- />- );-}--function CommandDialog({- title = "Command Palette",- description = "Search for a command to run...",- children,- ...props-}: React.ComponentProps<typeof Dialog> & {- title?: string;- description?: string;-}) {- return (- <Dialog {...props}>- <DialogHeader className="sr-only">- <DialogTitle>{title}</DialogTitle>- <DialogDescription>{description}</DialogDescription>- </DialogHeader>- <DialogContent className="overflow-hidden p-0">- <Command className="**:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">- {children}- </Command>- </DialogContent>- </Dialog>- );-}--function CommandInput({- className,- ...props-}: React.ComponentProps<typeof CommandPrimitive.Input>) {- return (- <div- data-slot="command-input-wrapper"- className="flex h-9 items-center gap-2 border-b px-3"- >- <SearchIcon className="size-4 shrink-0 opacity-50" />- <CommandPrimitive.Input- data-slot="command-input"- className={cn(- "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",- className,- )}- {...props}- />- </div>- );-}--function CommandList({- className,- ...props-}: React.ComponentProps<typeof CommandPrimitive.List>) {- return (- <CommandPrimitive.List- data-slot="command-list"- className={cn(- "max-h-[300px] scroll-py-1 overflow-y-auto overflow-x-hidden",- className,- )}- {...props}- />- );-}--function CommandEmpty({- ...props-}: React.ComponentProps<typeof CommandPrimitive.Empty>) {- return (- <CommandPrimitive.Empty- data-slot="command-empty"- className="py-6 text-center text-sm"- {...props}- />- );-}--function CommandGroup({- className,- ...props-}: React.ComponentProps<typeof CommandPrimitive.Group>) {- return (- <CommandPrimitive.Group- data-slot="command-group"- className={cn(- "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:text-xs",- className,- )}- {...props}- />- );-}--function CommandSeparator({- className,- ...props-}: React.ComponentProps<typeof CommandPrimitive.Separator>) {- return (- <CommandPrimitive.Separator- data-slot="command-separator"- className={cn("-mx-1 h-px bg-border", className)}- {...props}- />- );-}--function CommandItem({- className,- ...props-}: React.ComponentProps<typeof CommandPrimitive.Item>) {- return (- <CommandPrimitive.Item- data-slot="command-item"- className={cn(- "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- {...props}- />- );-}--function CommandShortcut({- className,- ...props-}: React.ComponentProps<"span">) {- return (- <span- data-slot="command-shortcut"- className={cn(- "ml-auto text-muted-foreground text-xs tracking-widest",- className,- )}- {...props}- />- );-}--export {- Command,- CommandDialog,- CommandInput,- CommandList,- CommandEmpty,- CommandGroup,- CommandItem,- CommandShortcut,- CommandSeparator,-};diff --git a/apps/status-page/src/components/ui/data-table/data-table-action-bar.tsx b/apps/status-page/src/components/ui/data-table/data-table-action-bar.tsxindex a4d7fe7a8..5dc21fb7a 100644--- a/apps/status-page/src/components/ui/data-table/data-table-action-bar.tsx+++ b/apps/status-page/src/components/ui/data-table/data-table-action-bar.tsx@@ -1,13 +1,13 @@"use client";-import { Button } from "@/components/ui/button";-import { Separator } from "@/components/ui/separator";+import { Button } from "@openstatus/ui/components/ui/button";+import { Separator } from "@openstatus/ui/components/ui/separator";import {Tooltip,TooltipContent,TooltipTrigger,-} from "@/components/ui/tooltip";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";import type { Table } from "@tanstack/react-table";import { Loader, X } from "lucide-react";import * as React from "react";diff --git a/apps/status-page/src/components/ui/data-table/data-table-column-header.tsx b/apps/status-page/src/components/ui/data-table/data-table-column-header.tsxindex 77df200be..0c8259bff 100644--- a/apps/status-page/src/components/ui/data-table/data-table-column-header.tsx+++ b/apps/status-page/src/components/ui/data-table/data-table-column-header.tsx@@ -1,9 +1,9 @@import type { Column } from "@tanstack/react-table";import { ChevronDown, ChevronUp } from "lucide-react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";interface DataTableColumnHeaderProps<TData, TValue>extends React.ComponentProps<"button"> {diff --git a/apps/status-page/src/components/ui/data-table/data-table-faceted-filter.tsx b/apps/status-page/src/components/ui/data-table/data-table-faceted-filter.tsxindex f71981e6b..37fd832c4 100644--- a/apps/status-page/src/components/ui/data-table/data-table-faceted-filter.tsx+++ b/apps/status-page/src/components/ui/data-table/data-table-faceted-filter.tsx@@ -2,8 +2,8 @@ import type { Column } from "@tanstack/react-table";import { Check, PlusCircle } from "lucide-react";import type * as React from "react";-import { Badge } from "@/components/ui/badge";-import { Button } from "@/components/ui/button";+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Button } from "@openstatus/ui/components/ui/button";import {Command,CommandEmpty,@@ -12,14 +12,14 @@ import {CommandItem,CommandList,CommandSeparator,-} from "@/components/ui/command";+} from "@openstatus/ui/components/ui/command";import {Popover,PopoverContent,PopoverTrigger,-} from "@/components/ui/popover";-import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/popover";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";interface DataTableFacetedFilterProps<TData, TValue> {column?: Column<TData, TValue>;diff --git a/apps/status-page/src/components/ui/data-table/data-table-pagination.tsx b/apps/status-page/src/components/ui/data-table/data-table-pagination.tsxindex 6ab31c182..988c0cce4 100644--- a/apps/status-page/src/components/ui/data-table/data-table-pagination.tsx+++ b/apps/status-page/src/components/ui/data-table/data-table-pagination.tsx@@ -6,14 +6,14 @@ import {ChevronsRight,} from "lucide-react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@/components/ui/select";+} from "@openstatus/ui/components/ui/select";export interface DataTablePaginationProps<TData> {table: Table<TData>;diff --git a/apps/status-page/src/components/ui/data-table/data-table-skeleton.tsx b/apps/status-page/src/components/ui/data-table/data-table-skeleton.tsxindex 992265288..f91f496cb 100644--- a/apps/status-page/src/components/ui/data-table/data-table-skeleton.tsx+++ b/apps/status-page/src/components/ui/data-table/data-table-skeleton.tsx@@ -1,4 +1,4 @@-import { Skeleton } from "@/components/ui/skeleton";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import {Table,TableBody,@@ -6,7 +6,7 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";+} from "@openstatus/ui/components/ui/table";interface DataTableSkeletonProps {/**diff --git a/apps/status-page/src/components/ui/data-table/data-table-toobar.tsx b/apps/status-page/src/components/ui/data-table/data-table-toobar.tsxindex 3655f37aa..a511548e8 100644--- a/apps/status-page/src/components/ui/data-table/data-table-toobar.tsx+++ b/apps/status-page/src/components/ui/data-table/data-table-toobar.tsx@@ -3,9 +3,9 @@import type { Table } from "@tanstack/react-table";import { X } from "lucide-react";-import { Button } from "@/components/ui/button";import { DataTableViewOptions } from "@/components/ui/data-table/data-table-view-options";-import { Input } from "@/components/ui/input";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";import { DataTableFacetedFilter } from "@/components/ui/data-table/data-table-faceted-filter";diff --git a/apps/status-page/src/components/ui/data-table/data-table-view-options.tsx b/apps/status-page/src/components/ui/data-table/data-table-view-options.tsxindex 53faebc6d..10cf8fe10 100644--- a/apps/status-page/src/components/ui/data-table/data-table-view-options.tsx+++ b/apps/status-page/src/components/ui/data-table/data-table-view-options.tsx@@ -4,14 +4,14 @@ import { DropdownMenuTrigger } from "@radix-ui/react-dropdown-menu";import type { Table } from "@tanstack/react-table";import { Settings2 } from "lucide-react";-import { Button } from "@/components/ui/button";+import { Button } from "@openstatus/ui/components/ui/button";import {DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuLabel,DropdownMenuSeparator,-} from "@/components/ui/dropdown-menu";+} from "@openstatus/ui/components/ui/dropdown-menu";interface DataTableViewOptionsProps<TData> {table: Table<TData>;diff --git a/apps/status-page/src/components/ui/data-table/data-table.tsx b/apps/status-page/src/components/ui/data-table/data-table.tsxindex f823dd384..fcbae7146 100644--- a/apps/status-page/src/components/ui/data-table/data-table.tsx+++ b/apps/status-page/src/components/ui/data-table/data-table.tsx@@ -26,7 +26,7 @@ import {TableHead,TableHeader,TableRow,-} from "@/components/ui/table";+} from "@openstatus/ui/components/ui/table";import { Fragment } from "react";import type { DataTableActionBarProps } from "./data-table-action-bar";import type { DataTablePaginationProps } from "./data-table-pagination";diff --git a/apps/status-page/src/components/ui/dialog.tsx b/apps/status-page/src/components/ui/dialog.tsxdeleted file mode 100644index 3f639a55a..000000000--- a/apps/status-page/src/components/ui/dialog.tsx+++ /dev/null@@ -1,135 +0,0 @@-"use client";--import * as DialogPrimitive from "@radix-ui/react-dialog";-import { XIcon } from "lucide-react";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Dialog({- ...props-}: React.ComponentProps<typeof DialogPrimitive.Root>) {- return <DialogPrimitive.Root data-slot="dialog" {...props} />;-}--function DialogTrigger({- ...props-}: React.ComponentProps<typeof DialogPrimitive.Trigger>) {- return <DialogPrimitive.Trigger data-slot="dialog-trigger" {...props} />;-}--function DialogPortal({- ...props-}: React.ComponentProps<typeof DialogPrimitive.Portal>) {- return <DialogPrimitive.Portal data-slot="dialog-portal" {...props} />;-}--function DialogClose({- ...props-}: React.ComponentProps<typeof DialogPrimitive.Close>) {- return <DialogPrimitive.Close data-slot="dialog-close" {...props} />;-}--function DialogOverlay({- className,- ...props-}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {- return (- <DialogPrimitive.Overlay- data-slot="dialog-overlay"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",- className,- )}- {...props}- />- );-}--function DialogContent({- className,- children,- ...props-}: React.ComponentProps<typeof DialogPrimitive.Content>) {- return (- <DialogPortal data-slot="dialog-portal">- <DialogOverlay />- <DialogPrimitive.Content- data-slot="dialog-content"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:max-w-lg",- className,- )}- {...props}- >- {children}- <DialogPrimitive.Close className="absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0">- <XIcon />- <span className="sr-only">Close</span>- </DialogPrimitive.Close>- </DialogPrimitive.Content>- </DialogPortal>- );-}--function DialogHeader({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="dialog-header"- className={cn("flex flex-col gap-2 text-center sm:text-left", className)}- {...props}- />- );-}--function DialogFooter({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="dialog-footer"- className={cn(- "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",- className,- )}- {...props}- />- );-}--function DialogTitle({- className,- ...props-}: React.ComponentProps<typeof DialogPrimitive.Title>) {- return (- <DialogPrimitive.Title- data-slot="dialog-title"- className={cn("font-semibold text-lg leading-none", className)}- {...props}- />- );-}--function DialogDescription({- className,- ...props-}: React.ComponentProps<typeof DialogPrimitive.Description>) {- return (- <DialogPrimitive.Description- data-slot="dialog-description"- className={cn("text-muted-foreground text-sm", className)}- {...props}- />- );-}--export {- Dialog,- DialogClose,- DialogContent,- DialogDescription,- DialogFooter,- DialogHeader,- DialogOverlay,- DialogPortal,- DialogTitle,- DialogTrigger,-};diff --git a/apps/status-page/src/components/ui/dropdown-menu.tsx b/apps/status-page/src/components/ui/dropdown-menu.tsxdeleted file mode 100644index 5b73af0b5..000000000--- a/apps/status-page/src/components/ui/dropdown-menu.tsx+++ /dev/null@@ -1,257 +0,0 @@-"use client";--import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";-import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";-import type * as React from "react";--import { cn } from "@/lib/utils";--function DropdownMenu({- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {- return <DropdownMenuPrimitive.Root data-slot="dropdown-menu" {...props} />;-}--function DropdownMenuPortal({- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {- return (- <DropdownMenuPrimitive.Portal data-slot="dropdown-menu-portal" {...props} />- );-}--function DropdownMenuTrigger({- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {- return (- <DropdownMenuPrimitive.Trigger- data-slot="dropdown-menu-trigger"- {...props}- />- );-}--function DropdownMenuContent({- className,- sideOffset = 4,- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {- return (- <DropdownMenuPrimitive.Portal>- <DropdownMenuPrimitive.Content- data-slot="dropdown-menu-content"- sideOffset={sideOffset}- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",- className,- )}- {...props}- />- </DropdownMenuPrimitive.Portal>- );-}--function DropdownMenuGroup({- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {- return (- <DropdownMenuPrimitive.Group data-slot="dropdown-menu-group" {...props} />- );-}--function DropdownMenuItem({- className,- inset,- variant = "default",- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {- inset?: boolean;- variant?: "default" | "destructive";-}) {- return (- <DropdownMenuPrimitive.Item- data-slot="dropdown-menu-item"- data-inset={inset}- data-variant={variant}- className={cn(- "data-[variant=destructive]:*:[svg]:!text-destructive relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[disabled]:opacity-50 data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- {...props}- />- );-}--function DropdownMenuCheckboxItem({- className,- children,- checked,- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {- return (- <DropdownMenuPrimitive.CheckboxItem- data-slot="dropdown-menu-checkbox-item"- className={cn(- "relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- checked={checked}- {...props}- >- <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">- <DropdownMenuPrimitive.ItemIndicator>- <CheckIcon className="size-4" />- </DropdownMenuPrimitive.ItemIndicator>- </span>- {children}- </DropdownMenuPrimitive.CheckboxItem>- );-}--function DropdownMenuRadioGroup({- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {- return (- <DropdownMenuPrimitive.RadioGroup- data-slot="dropdown-menu-radio-group"- {...props}- />- );-}--function DropdownMenuRadioItem({- className,- children,- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {- return (- <DropdownMenuPrimitive.RadioItem- data-slot="dropdown-menu-radio-item"- className={cn(- "relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- {...props}- >- <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">- <DropdownMenuPrimitive.ItemIndicator>- <CircleIcon className="size-2 fill-current" />- </DropdownMenuPrimitive.ItemIndicator>- </span>- {children}- </DropdownMenuPrimitive.RadioItem>- );-}--function DropdownMenuLabel({- className,- inset,- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {- inset?: boolean;-}) {- return (- <DropdownMenuPrimitive.Label- data-slot="dropdown-menu-label"- data-inset={inset}- className={cn(- "px-2 py-1.5 font-medium text-sm data-[inset]:pl-8",- className,- )}- {...props}- />- );-}--function DropdownMenuSeparator({- className,- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {- return (- <DropdownMenuPrimitive.Separator- data-slot="dropdown-menu-separator"- className={cn("-mx-1 my-1 h-px bg-border", className)}- {...props}- />- );-}--function DropdownMenuShortcut({- className,- ...props-}: React.ComponentProps<"span">) {- return (- <span- data-slot="dropdown-menu-shortcut"- className={cn(- "ml-auto text-muted-foreground text-xs tracking-widest",- className,- )}- {...props}- />- );-}--function DropdownMenuSub({- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {- return <DropdownMenuPrimitive.Sub data-slot="dropdown-menu-sub" {...props} />;-}--function DropdownMenuSubTrigger({- className,- inset,- children,- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {- inset?: boolean;-}) {- return (- <DropdownMenuPrimitive.SubTrigger- data-slot="dropdown-menu-sub-trigger"- data-inset={inset}- className={cn(- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[inset]:pl-8 data-[state=open]:text-accent-foreground",- className,- )}- {...props}- >- {children}- <ChevronRightIcon className="ml-auto size-4" />- </DropdownMenuPrimitive.SubTrigger>- );-}--function DropdownMenuSubContent({- className,- ...props-}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {- return (- <DropdownMenuPrimitive.SubContent- data-slot="dropdown-menu-sub-content"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=closed]:animate-out data-[state=open]:animate-in",- className,- )}- {...props}- />- );-}--export {- DropdownMenu,- DropdownMenuPortal,- DropdownMenuTrigger,- DropdownMenuContent,- DropdownMenuGroup,- DropdownMenuLabel,- DropdownMenuItem,- DropdownMenuCheckboxItem,- DropdownMenuRadioGroup,- DropdownMenuRadioItem,- DropdownMenuSeparator,- DropdownMenuShortcut,- DropdownMenuSub,- DropdownMenuSubTrigger,- DropdownMenuSubContent,-};diff --git a/apps/status-page/src/components/ui/form.tsx b/apps/status-page/src/components/ui/form.tsxdeleted file mode 100644index 105428b1a..000000000--- a/apps/status-page/src/components/ui/form.tsx+++ /dev/null@@ -1,168 +0,0 @@-"use client";--import type * as LabelPrimitive from "@radix-ui/react-label";-import { Slot } from "@radix-ui/react-slot";-import * as React from "react";-import {- Controller,- type ControllerProps,- type FieldPath,- type FieldValues,- FormProvider,- useFormContext,- useFormState,-} from "react-hook-form";--import { Label } from "@/components/ui/label";-import { cn } from "@/lib/utils";--const Form = FormProvider;--type FormFieldContextValue<- TFieldValues extends FieldValues = FieldValues,- TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,-> = {- name: TName;-};--const FormFieldContext = React.createContext<FormFieldContextValue>(- {} as FormFieldContextValue,-);--const FormField = <- TFieldValues extends FieldValues = FieldValues,- TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,->({- ...props-}: ControllerProps<TFieldValues, TName>) => {- return (- <FormFieldContext.Provider value={{ name: props.name }}>- <Controller {...props} />- </FormFieldContext.Provider>- );-};--const useFormField = () => {- const fieldContext = React.useContext(FormFieldContext);- const itemContext = React.useContext(FormItemContext);- const { getFieldState } = useFormContext();- const formState = useFormState({ name: fieldContext.name });- const fieldState = getFieldState(fieldContext.name, formState);-- if (!fieldContext) {- throw new Error("useFormField should be used within <FormField>");- }-- const { id } = itemContext;-- return {- id,- name: fieldContext.name,- formItemId: `${id}-form-item`,- formDescriptionId: `${id}-form-item-description`,- formMessageId: `${id}-form-item-message`,- ...fieldState,- };-};--type FormItemContextValue = {- id: string;-};--const FormItemContext = React.createContext<FormItemContextValue>(- {} as FormItemContextValue,-);--function FormItem({ className, ...props }: React.ComponentProps<"div">) {- const id = React.useId();-- return (- <FormItemContext.Provider value={{ id }}>- <div- data-slot="form-item"- className={cn("grid gap-2", className)}- {...props}- />- </FormItemContext.Provider>- );-}--function FormLabel({- className,- ...props-}: React.ComponentProps<typeof LabelPrimitive.Root>) {- const { error, formItemId } = useFormField();-- return (- <Label- data-slot="form-label"- data-error={!!error}- className={cn("data-[error=true]:text-destructive", className)}- htmlFor={formItemId}- {...props}- />- );-}--function FormControl({ ...props }: React.ComponentProps<typeof Slot>) {- const { error, formItemId, formDescriptionId, formMessageId } =- useFormField();-- return (- <Slot- data-slot="form-control"- id={formItemId}- aria-describedby={- !error- ? `${formDescriptionId}`- : `${formDescriptionId} ${formMessageId}`- }- aria-invalid={!!error}- {...props}- />- );-}--function FormDescription({ className, ...props }: React.ComponentProps<"p">) {- const { formDescriptionId } = useFormField();-- return (- <p- data-slot="form-description"- id={formDescriptionId}- className={cn("text-muted-foreground text-sm", className)}- {...props}- />- );-}--function FormMessage({ className, ...props }: React.ComponentProps<"p">) {- const { error, formMessageId } = useFormField();- const body = error ? String(error?.message ?? "") : props.children;-- if (!body) {- return null;- }-- return (- <p- data-slot="form-message"- id={formMessageId}- className={cn("text-destructive text-sm", className)}- {...props}- >- {body}- </p>- );-}--export {- useFormField,- Form,- FormItem,- FormLabel,- FormControl,- FormDescription,- FormMessage,- FormField,-};diff --git a/apps/status-page/src/components/ui/hover-card.tsx b/apps/status-page/src/components/ui/hover-card.tsxdeleted file mode 100644index 815a2f199..000000000--- a/apps/status-page/src/components/ui/hover-card.tsx+++ /dev/null@@ -1,44 +0,0 @@-"use client";--import * as HoverCardPrimitive from "@radix-ui/react-hover-card";-import type * as React from "react";--import { cn } from "@/lib/utils";--function HoverCard({- ...props-}: React.ComponentProps<typeof HoverCardPrimitive.Root>) {- return <HoverCardPrimitive.Root data-slot="hover-card" {...props} />;-}--function HoverCardTrigger({- ...props-}: React.ComponentProps<typeof HoverCardPrimitive.Trigger>) {- return (- <HoverCardPrimitive.Trigger data-slot="hover-card-trigger" {...props} />- );-}--function HoverCardContent({- className,- align = "center",- sideOffset = 4,- ...props-}: React.ComponentProps<typeof HoverCardPrimitive.Content>) {- return (- <HoverCardPrimitive.Portal data-slot="hover-card-portal">- <HoverCardPrimitive.Content- data-slot="hover-card-content"- align={align}- sideOffset={sideOffset}- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=closed]:animate-out data-[state=open]:animate-in",- className,- )}- {...props}- />- </HoverCardPrimitive.Portal>- );-}--export { HoverCard, HoverCardTrigger, HoverCardContent };diff --git a/apps/status-page/src/components/ui/input-group.tsx b/apps/status-page/src/components/ui/input-group.tsxdeleted file mode 100644index 8253c159c..000000000--- a/apps/status-page/src/components/ui/input-group.tsx+++ /dev/null@@ -1,170 +0,0 @@-"use client";--import { type VariantProps, cva } from "class-variance-authority";-import type * as React from "react";--import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import { Textarea } from "@/components/ui/textarea";-import { cn } from "@/lib/utils";--function InputGroup({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="input-group"- role="group"- className={cn(- "group/input-group relative flex w-full items-center rounded-md border border-input shadow-xs outline-none transition-[color,box-shadow] dark:bg-input/30",- "h-9 min-w-0 has-[>textarea]:h-auto",-- // Variants based on alignment.- "has-[>[data-align=inline-start]]:[&>input]:pl-2",- "has-[>[data-align=inline-end]]:[&>input]:pr-2",- "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3",- "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3",-- // Focus state.- "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50",-- // Error state.- "has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40",-- className,- )}- {...props}- />- );-}--const inputGroupAddonVariants = cva(- "text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50",- {- variants: {- align: {- "inline-start":- "order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]",- "inline-end":- "order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]",- "block-start":- "order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5",- "block-end":- "order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5",- },- },- defaultVariants: {- align: "inline-start",- },- },-);--function InputGroupAddon({- className,- align = "inline-start",- ...props-}: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>) {- return (- <div- role="group"- data-slot="input-group-addon"- data-align={align}- className={cn(inputGroupAddonVariants({ align }), className)}- onClick={(e) => {- if ((e.target as HTMLElement).closest("button")) {- return;- }- e.currentTarget.parentElement?.querySelector("input")?.focus();- }}- {...props}- />- );-}--const inputGroupButtonVariants = cva(- "text-sm shadow-none flex gap-2 items-center",- {- variants: {- size: {- xs: "h-6 gap-1 px-2 rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-3.5 has-[>svg]:px-2",- sm: "h-8 px-2.5 gap-1.5 rounded-md has-[>svg]:px-2.5",- "icon-xs":- "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",- "icon-sm": "size-8 p-0 has-[>svg]:p-0",- },- },- defaultVariants: {- size: "xs",- },- },-);--function InputGroupButton({- className,- type = "button",- variant = "ghost",- size = "xs",- ...props-}: Omit<React.ComponentProps<typeof Button>, "size"> &- VariantProps<typeof inputGroupButtonVariants>) {- return (- <Button- type={type}- data-size={size}- variant={variant}- className={cn(inputGroupButtonVariants({ size }), className)}- {...props}- />- );-}--function InputGroupText({ className, ...props }: React.ComponentProps<"span">) {- return (- <span- className={cn(- "flex items-center gap-2 text-muted-foreground text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none",- className,- )}- {...props}- />- );-}--function InputGroupInput({- className,- ...props-}: React.ComponentProps<"input">) {- return (- <Input- data-slot="input-group-control"- className={cn(- "flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent",- className,- )}- {...props}- />- );-}--function InputGroupTextarea({- className,- ...props-}: React.ComponentProps<"textarea">) {- return (- <Textarea- data-slot="input-group-control"- className={cn(- "flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent",- className,- )}- {...props}- />- );-}--export {- InputGroup,- InputGroupAddon,- InputGroupButton,- InputGroupText,- InputGroupInput,- InputGroupTextarea,-};diff --git a/apps/status-page/src/components/ui/popover.tsx b/apps/status-page/src/components/ui/popover.tsxdeleted file mode 100644index 5c5f19968..000000000--- a/apps/status-page/src/components/ui/popover.tsx+++ /dev/null@@ -1,48 +0,0 @@-"use client";--import * as PopoverPrimitive from "@radix-ui/react-popover";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Popover({- ...props-}: React.ComponentProps<typeof PopoverPrimitive.Root>) {- return <PopoverPrimitive.Root data-slot="popover" {...props} />;-}--function PopoverTrigger({- ...props-}: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {- return <PopoverPrimitive.Trigger data-slot="popover-trigger" {...props} />;-}--function PopoverContent({- className,- align = "center",- sideOffset = 4,- ...props-}: React.ComponentProps<typeof PopoverPrimitive.Content>) {- return (- <PopoverPrimitive.Portal>- <PopoverPrimitive.Content- data-slot="popover-content"- align={align}- sideOffset={sideOffset}- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=closed]:animate-out data-[state=open]:animate-in",- className,- )}- {...props}- />- </PopoverPrimitive.Portal>- );-}--function PopoverAnchor({- ...props-}: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {- return <PopoverPrimitive.Anchor data-slot="popover-anchor" {...props} />;-}--export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };diff --git a/apps/status-page/src/components/ui/radio-group.tsx b/apps/status-page/src/components/ui/radio-group.tsxdeleted file mode 100644index b1137030b..000000000--- a/apps/status-page/src/components/ui/radio-group.tsx+++ /dev/null@@ -1,45 +0,0 @@-"use client";--import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";-import { CircleIcon } from "lucide-react";-import type * as React from "react";--import { cn } from "@/lib/utils";--function RadioGroup({- className,- ...props-}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {- return (- <RadioGroupPrimitive.Root- data-slot="radio-group"- className={cn("grid gap-3", className)}- {...props}- />- );-}--function RadioGroupItem({- className,- ...props-}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {- return (- <RadioGroupPrimitive.Item- data-slot="radio-group-item"- className={cn(- "aspect-square size-4 shrink-0 rounded-full border border-input text-primary shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:ring-destructive/40",- className,- )}- {...props}- >- <RadioGroupPrimitive.Indicator- data-slot="radio-group-indicator"- className="relative flex items-center justify-center"- >- <CircleIcon className="-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 size-2 fill-primary" />- </RadioGroupPrimitive.Indicator>- </RadioGroupPrimitive.Item>- );-}--export { RadioGroup, RadioGroupItem };diff --git a/apps/status-page/src/components/ui/select.tsx b/apps/status-page/src/components/ui/select.tsxdeleted file mode 100644index ee4e8514e..000000000--- a/apps/status-page/src/components/ui/select.tsx+++ /dev/null@@ -1,185 +0,0 @@-"use client";--import * as SelectPrimitive from "@radix-ui/react-select";-import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Select({- ...props-}: React.ComponentProps<typeof SelectPrimitive.Root>) {- return <SelectPrimitive.Root data-slot="select" {...props} />;-}--function SelectGroup({- ...props-}: React.ComponentProps<typeof SelectPrimitive.Group>) {- return <SelectPrimitive.Group data-slot="select-group" {...props} />;-}--function SelectValue({- ...props-}: React.ComponentProps<typeof SelectPrimitive.Value>) {- return <SelectPrimitive.Value data-slot="select-value" {...props} />;-}--function SelectTrigger({- className,- size = "default",- children,- ...props-}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {- size?: "sm" | "default";-}) {- return (- <SelectPrimitive.Trigger- data-slot="select-trigger"- data-size={size}- className={cn(- "flex w-fit items-center justify-between gap-2 whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[size=default]:h-9 data-[size=sm]:h-8 data-[placeholder]:text-muted-foreground *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:hover:bg-input/50 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- {...props}- >- {children}- <SelectPrimitive.Icon asChild>- <ChevronDownIcon className="size-4 opacity-50" />- </SelectPrimitive.Icon>- </SelectPrimitive.Trigger>- );-}--function SelectContent({- className,- children,- position = "popper",- ...props-}: React.ComponentProps<typeof SelectPrimitive.Content>) {- return (- <SelectPrimitive.Portal>- <SelectPrimitive.Content- data-slot="select-content"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=closed]:animate-out data-[state=open]:animate-in",- position === "popper" &&- "data-[side=left]:-translate-x-1 data-[side=top]:-translate-y-1 data-[side=right]:translate-x-1 data-[side=bottom]:translate-y-1",- className,- )}- position={position}- {...props}- >- <SelectScrollUpButton />- <SelectPrimitive.Viewport- className={cn(- "p-1",- position === "popper" &&- "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1",- )}- >- {children}- </SelectPrimitive.Viewport>- <SelectScrollDownButton />- </SelectPrimitive.Content>- </SelectPrimitive.Portal>- );-}--function SelectLabel({- className,- ...props-}: React.ComponentProps<typeof SelectPrimitive.Label>) {- return (- <SelectPrimitive.Label- data-slot="select-label"- className={cn("px-2 py-1.5 text-muted-foreground text-xs", className)}- {...props}- />- );-}--function SelectItem({- className,- children,- ...props-}: React.ComponentProps<typeof SelectPrimitive.Item>) {- return (- <SelectPrimitive.Item- data-slot="select-item"- className={cn(- "relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",- className,- )}- {...props}- >- <span className="absolute right-2 flex size-3.5 items-center justify-center">- <SelectPrimitive.ItemIndicator>- <CheckIcon className="size-4" />- </SelectPrimitive.ItemIndicator>- </span>- <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>- </SelectPrimitive.Item>- );-}--function SelectSeparator({- className,- ...props-}: React.ComponentProps<typeof SelectPrimitive.Separator>) {- return (- <SelectPrimitive.Separator- data-slot="select-separator"- className={cn("-mx-1 pointer-events-none my-1 h-px bg-border", className)}- {...props}- />- );-}--function SelectScrollUpButton({- className,- ...props-}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) {- return (- <SelectPrimitive.ScrollUpButton- data-slot="select-scroll-up-button"- className={cn(- "flex cursor-default items-center justify-center py-1",- className,- )}- {...props}- >- <ChevronUpIcon className="size-4" />- </SelectPrimitive.ScrollUpButton>- );-}--function SelectScrollDownButton({- className,- ...props-}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>) {- return (- <SelectPrimitive.ScrollDownButton- data-slot="select-scroll-down-button"- className={cn(- "flex cursor-default items-center justify-center py-1",- className,- )}- {...props}- >- <ChevronDownIcon className="size-4" />- </SelectPrimitive.ScrollDownButton>- );-}--export {- Select,- SelectContent,- SelectGroup,- SelectItem,- SelectLabel,- SelectScrollDownButton,- SelectScrollUpButton,- SelectSeparator,- SelectTrigger,- SelectValue,-};diff --git a/apps/status-page/src/components/ui/separator.tsx b/apps/status-page/src/components/ui/separator.tsxdeleted file mode 100644index 8fc1c16d4..000000000--- a/apps/status-page/src/components/ui/separator.tsx+++ /dev/null@@ -1,28 +0,0 @@-"use client";--import * as SeparatorPrimitive from "@radix-ui/react-separator";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Separator({- className,- orientation = "horizontal",- decorative = true,- ...props-}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {- return (- <SeparatorPrimitive.Root- data-slot="separator-root"- decorative={decorative}- orientation={orientation}- className={cn(- "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=vertical]:h-full data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px",- className,- )}- {...props}- />- );-}--export { Separator };diff --git a/apps/status-page/src/components/ui/sheet.tsx b/apps/status-page/src/components/ui/sheet.tsxdeleted file mode 100644index e220a2275..000000000--- a/apps/status-page/src/components/ui/sheet.tsx+++ /dev/null@@ -1,139 +0,0 @@-"use client";--import * as SheetPrimitive from "@radix-ui/react-dialog";-import { XIcon } from "lucide-react";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {- return <SheetPrimitive.Root data-slot="sheet" {...props} />;-}--function SheetTrigger({- ...props-}: React.ComponentProps<typeof SheetPrimitive.Trigger>) {- return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />;-}--function SheetClose({- ...props-}: React.ComponentProps<typeof SheetPrimitive.Close>) {- return <SheetPrimitive.Close data-slot="sheet-close" {...props} />;-}--function SheetPortal({- ...props-}: React.ComponentProps<typeof SheetPrimitive.Portal>) {- return <SheetPrimitive.Portal data-slot="sheet-portal" {...props} />;-}--function SheetOverlay({- className,- ...props-}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {- return (- <SheetPrimitive.Overlay- data-slot="sheet-overlay"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",- className,- )}- {...props}- />- );-}--function SheetContent({- className,- children,- side = "right",- ...props-}: React.ComponentProps<typeof SheetPrimitive.Content> & {- side?: "top" | "right" | "bottom" | "left";-}) {- return (- <SheetPortal>- <SheetOverlay />- <SheetPrimitive.Content- data-slot="sheet-content"- className={cn(- "fixed z-50 flex flex-col gap-4 bg-background shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=open]:animate-in data-[state=closed]:duration-300 data-[state=open]:duration-500",- side === "right" &&- "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",- side === "left" &&- "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",- side === "top" &&- "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",- side === "bottom" &&- "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",- className,- )}- {...props}- >- {children}- <SheetPrimitive.Close className="absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">- <XIcon className="size-4" />- <span className="sr-only">Close</span>- </SheetPrimitive.Close>- </SheetPrimitive.Content>- </SheetPortal>- );-}--function SheetHeader({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="sheet-header"- className={cn("flex flex-col gap-1.5 p-4", className)}- {...props}- />- );-}--function SheetFooter({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="sheet-footer"- className={cn("mt-auto flex flex-col gap-2 p-4", className)}- {...props}- />- );-}--function SheetTitle({- className,- ...props-}: React.ComponentProps<typeof SheetPrimitive.Title>) {- return (- <SheetPrimitive.Title- data-slot="sheet-title"- className={cn("font-semibold text-foreground", className)}- {...props}- />- );-}--function SheetDescription({- className,- ...props-}: React.ComponentProps<typeof SheetPrimitive.Description>) {- return (- <SheetPrimitive.Description- data-slot="sheet-description"- className={cn("text-muted-foreground text-sm", className)}- {...props}- />- );-}--export {- Sheet,- SheetTrigger,- SheetClose,- SheetContent,- SheetHeader,- SheetFooter,- SheetTitle,- SheetDescription,-};diff --git a/apps/status-page/src/components/ui/skeleton.tsx b/apps/status-page/src/components/ui/skeleton.tsxdeleted file mode 100644index da6c299b6..000000000--- a/apps/status-page/src/components/ui/skeleton.tsx+++ /dev/null@@ -1,13 +0,0 @@-import { cn } from "@/lib/utils";--function Skeleton({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="skeleton"- className={cn("animate-pulse rounded-md bg-accent", className)}- {...props}- />- );-}--export { Skeleton };diff --git a/apps/status-page/src/components/ui/sonner.tsx b/apps/status-page/src/components/ui/sonner.tsxdeleted file mode 100644index f96a98d91..000000000--- a/apps/status-page/src/components/ui/sonner.tsx+++ /dev/null@@ -1,25 +0,0 @@-"use client";--import { useTheme } from "next-themes";-import { Toaster as Sonner, type ToasterProps } from "sonner";--const Toaster = ({ ...props }: ToasterProps) => {- const { theme = "system" } = useTheme();-- return (- <Sonner- theme={theme as ToasterProps["theme"]}- className="toaster group"- style={- {- "--normal-bg": "var(--popover)",- "--normal-text": "var(--popover-foreground)",- "--normal-border": "var(--border)",- } as React.CSSProperties- }- {...props}- />- );-};--export { Toaster };diff --git a/apps/status-page/src/components/ui/sortable.tsx b/apps/status-page/src/components/ui/sortable.tsxdeleted file mode 100644index 9b6ee53a2..000000000--- a/apps/status-page/src/components/ui/sortable.tsx+++ /dev/null@@ -1,581 +0,0 @@-"use client";--import {- type Announcements,- DndContext,- type DndContextProps,- type DragEndEvent,- DragOverlay,- type DraggableSyntheticListeners,- type DropAnimation,- KeyboardSensor,- MouseSensor,- type ScreenReaderInstructions,- TouchSensor,- type UniqueIdentifier,- closestCenter,- closestCorners,- defaultDropAnimationSideEffects,- useSensor,- useSensors,-} from "@dnd-kit/core";-import {- restrictToHorizontalAxis,- restrictToParentElement,- restrictToVerticalAxis,-} from "@dnd-kit/modifiers";-import {- SortableContext,- type SortableContextProps,- arrayMove,- horizontalListSortingStrategy,- sortableKeyboardCoordinates,- useSortable,- verticalListSortingStrategy,-} from "@dnd-kit/sortable";-import { CSS } from "@dnd-kit/utilities";-import { Slot } from "@radix-ui/react-slot";-import * as React from "react";-import * as ReactDOM from "react-dom";--import { composeEventHandlers, useComposedRefs } from "@/lib/composition";-import { cn } from "@/lib/utils";--const orientationConfig = {- vertical: {- modifiers: [restrictToVerticalAxis, restrictToParentElement],- strategy: verticalListSortingStrategy,- collisionDetection: closestCenter,- },- horizontal: {- modifiers: [restrictToHorizontalAxis, restrictToParentElement],- strategy: horizontalListSortingStrategy,- collisionDetection: closestCenter,- },- mixed: {- modifiers: [restrictToParentElement],- strategy: undefined,- collisionDetection: closestCorners,- },-};--const ROOT_NAME = "Sortable";-const CONTENT_NAME = "SortableContent";-const ITEM_NAME = "SortableItem";-const ITEM_HANDLE_NAME = "SortableItemHandle";-const OVERLAY_NAME = "SortableOverlay";--const SORTABLE_ERRORS = {- [ROOT_NAME]: `\`${ROOT_NAME}\` components must be within \`${ROOT_NAME}\``,- [CONTENT_NAME]: `\`${CONTENT_NAME}\` must be within \`${ROOT_NAME}\``,- [ITEM_NAME]: `\`${ITEM_NAME}\` must be within \`${CONTENT_NAME}\``,- [ITEM_HANDLE_NAME]: `\`${ITEM_HANDLE_NAME}\` must be within \`${ITEM_NAME}\``,- [OVERLAY_NAME]: `\`${OVERLAY_NAME}\` must be within \`${ROOT_NAME}\``,-} as const;--interface SortableRootContextValue<T> {- id: string;- items: UniqueIdentifier[];- modifiers: DndContextProps["modifiers"];- strategy: SortableContextProps["strategy"];- activeId: UniqueIdentifier | null;- setActiveId: (id: UniqueIdentifier | null) => void;- getItemValue: (item: T) => UniqueIdentifier;- flatCursor: boolean;-}--const SortableRootContext =- React.createContext<SortableRootContextValue<unknown> | null>(null);-SortableRootContext.displayName = ROOT_NAME;--function useSortableContext(name: keyof typeof SORTABLE_ERRORS) {- const context = React.useContext(SortableRootContext);- if (!context) {- throw new Error(SORTABLE_ERRORS[name]);- }- return context;-}--interface GetItemValue<T> {- /**- * Callback that returns a unique identifier for each sortable item. Required for array of objects.- * @example getItemValue={(item) => item.id}- */- getItemValue: (item: T) => UniqueIdentifier;-}--type SortableProps<T> = DndContextProps & {- value: T[];- onValueChange?: (items: T[]) => void;- onMove?: (- event: DragEndEvent & { activeIndex: number; overIndex: number },- ) => void;- strategy?: SortableContextProps["strategy"];- orientation?: "vertical" | "horizontal" | "mixed";- flatCursor?: boolean;-} & (T extends object ? GetItemValue<T> : Partial<GetItemValue<T>>);--function Sortable<T>(props: SortableProps<T>) {- const {- value,- onValueChange,- collisionDetection,- modifiers,- strategy,- onMove,- orientation = "vertical",- flatCursor = false,- getItemValue: getItemValueProp,- accessibility,- ...sortableProps- } = props;- const id = React.useId();- const [activeId, setActiveId] = React.useState<UniqueIdentifier | null>(null);-- const sensors = useSensors(- useSensor(MouseSensor),- useSensor(TouchSensor),- useSensor(KeyboardSensor, {- coordinateGetter: sortableKeyboardCoordinates,- }),- );- const config = React.useMemo(- () => orientationConfig[orientation],- [orientation],- );-- const getItemValue = React.useCallback(- (item: T): UniqueIdentifier => {- if (typeof item === "object" && !getItemValueProp) {- throw new Error(- "getItemValue is required when using array of objects.",- );- }- return getItemValueProp- ? getItemValueProp(item)- : (item as UniqueIdentifier);- },- [getItemValueProp],- );-- const items = React.useMemo(() => {- return value.map((item) => getItemValue(item));- }, [value, getItemValue]);-- const onDragEnd = React.useCallback(- (event: DragEndEvent) => {- const { active, over } = event;- if (over && active.id !== over?.id) {- const activeIndex = value.findIndex(- (item) => getItemValue(item) === active.id,- );- const overIndex = value.findIndex(- (item) => getItemValue(item) === over.id,- );-- if (onMove) {- onMove({ ...event, activeIndex, overIndex });- } else {- onValueChange?.(arrayMove(value, activeIndex, overIndex));- }- }- setActiveId(null);- },- [value, onValueChange, onMove, getItemValue],- );-- const announcements: Announcements = React.useMemo(- () => ({- onDragStart({ active }) {- const activeValue = active.id.toString();- return `Grabbed sortable item "${activeValue}". Current position is ${- active.data.current?.sortable.index + 1- } of ${value.length}. Use arrow keys to move, space to drop.`;- },- onDragOver({ active, over }) {- if (over) {- const overIndex = over.data.current?.sortable.index ?? 0;- const activeIndex = active.data.current?.sortable.index ?? 0;- const moveDirection = overIndex > activeIndex ? "down" : "up";- const activeValue = active.id.toString();- return `Sortable item "${activeValue}" moved ${moveDirection} to position ${- overIndex + 1- } of ${value.length}.`;- }- return "Sortable item is no longer over a droppable area. Press escape to cancel.";- },- onDragEnd({ active, over }) {- const activeValue = active.id.toString();- if (over) {- const overIndex = over.data.current?.sortable.index ?? 0;- return `Sortable item "${activeValue}" dropped at position ${- overIndex + 1- } of ${value.length}.`;- }- return `Sortable item "${activeValue}" dropped. No changes were made.`;- },- onDragCancel({ active }) {- const activeIndex = active.data.current?.sortable.index ?? 0;- const activeValue = active.id.toString();- return `Sorting cancelled. Sortable item "${activeValue}" returned to position ${- activeIndex + 1- } of ${value.length}.`;- },- onDragMove({ active, over }) {- if (over) {- const overIndex = over.data.current?.sortable.index ?? 0;- const activeIndex = active.data.current?.sortable.index ?? 0;- const moveDirection = overIndex > activeIndex ? "down" : "up";- const activeValue = active.id.toString();- return `Sortable item "${activeValue}" is moving ${moveDirection} to position ${- overIndex + 1- } of ${value.length}.`;- }- return "Sortable item is no longer over a droppable area. Press escape to cancel.";- },- }),- [value],- );-- const screenReaderInstructions: ScreenReaderInstructions = React.useMemo(- () => ({- draggable: `- To pick up a sortable item, press space or enter.- While dragging, use the ${- orientation === "vertical"- ? "up and down"- : orientation === "horizontal"- ? "left and right"- : "arrow"- } keys to move the item.- Press space or enter again to drop the item in its new position, or press escape to cancel.- `,- }),- [orientation],- );-- const contextValue = React.useMemo(- () => ({- id,- items,- modifiers: modifiers ?? config.modifiers,- strategy: strategy ?? config.strategy,- activeId,- setActiveId,- getItemValue,- flatCursor,- }),- [- id,- items,- modifiers,- strategy,- config.modifiers,- config.strategy,- activeId,- getItemValue,- flatCursor,- ],- );-- return (- <SortableRootContext.Provider- value={contextValue as SortableRootContextValue<unknown>}- >- <DndContext- collisionDetection={collisionDetection ?? config.collisionDetection}- modifiers={modifiers ?? config.modifiers}- sensors={sensors}- {...sortableProps}- id={id}- onDragStart={composeEventHandlers(- sortableProps.onDragStart,- ({ active }) => setActiveId(active.id),- )}- onDragEnd={composeEventHandlers(sortableProps.onDragEnd, onDragEnd)}- onDragCancel={composeEventHandlers(sortableProps.onDragCancel, () =>- setActiveId(null),- )}- accessibility={{- announcements,- screenReaderInstructions,- ...accessibility,- }}- />- </SortableRootContext.Provider>- );-}--const SortableContentContext = React.createContext<boolean>(false);-SortableContentContext.displayName = CONTENT_NAME;--interface SortableContentProps extends React.ComponentPropsWithoutRef<"div"> {- strategy?: SortableContextProps["strategy"];- children: React.ReactNode;- asChild?: boolean;- withoutSlot?: boolean;-}--const SortableContent = React.forwardRef<HTMLDivElement, SortableContentProps>(- (props, forwardedRef) => {- const {- strategy: strategyProp,- asChild,- withoutSlot,- children,- ...contentProps- } = props;- const context = useSortableContext(CONTENT_NAME);-- const ContentPrimitive = asChild ? Slot : "div";-- return (- <SortableContentContext.Provider value={true}>- <SortableContext- items={context.items}- strategy={strategyProp ?? context.strategy}- >- {withoutSlot ? (- children- ) : (- <ContentPrimitive {...contentProps} ref={forwardedRef}>- {children}- </ContentPrimitive>- )}- </SortableContext>- </SortableContentContext.Provider>- );- },-);-SortableContent.displayName = CONTENT_NAME;--interface SortableItemContextValue {- id: string;- attributes: React.HTMLAttributes<HTMLElement>;- listeners: DraggableSyntheticListeners | undefined;- setActivatorNodeRef: (node: HTMLElement | null) => void;- isDragging?: boolean;- disabled?: boolean;-}--const SortableItemContext =- React.createContext<SortableItemContextValue | null>(null);-SortableItemContext.displayName = ITEM_NAME;--interface SortableItemProps extends React.ComponentPropsWithoutRef<"div"> {- value: UniqueIdentifier;- asHandle?: boolean;- asChild?: boolean;- disabled?: boolean;-}--const SortableItem = React.forwardRef<HTMLDivElement, SortableItemProps>(- (props, forwardedRef) => {- const {- value,- style,- asHandle,- asChild,- disabled,- className,- ...itemProps- } = props;- const inSortableContent = React.useContext(SortableContentContext);- const inSortableOverlay = React.useContext(SortableOverlayContext);-- if (!inSortableContent && !inSortableOverlay) {- throw new Error(SORTABLE_ERRORS[ITEM_NAME]);- }-- if (value === "") {- throw new Error(`\`${ITEM_NAME}\` value cannot be an empty string`);- }-- const context = useSortableContext(ITEM_NAME);- const id = React.useId();- const {- attributes,- listeners,- setNodeRef,- setActivatorNodeRef,- transform,- transition,- isDragging,- } = useSortable({ id: value, disabled });-- const composedRef = useComposedRefs(forwardedRef, (node) => {- if (disabled) return;- setNodeRef(node);- if (asHandle) setActivatorNodeRef(node);- });-- const composedStyle = React.useMemo<React.CSSProperties>(() => {- return {- transform: CSS.Translate.toString(transform),- transition,- ...style,- };- }, [transform, transition, style]);-- const itemContext = React.useMemo<SortableItemContextValue>(- () => ({- id,- attributes,- listeners,- setActivatorNodeRef,- isDragging,- disabled,- }),- [id, attributes, listeners, setActivatorNodeRef, isDragging, disabled],- );-- const ItemPrimitive = asChild ? Slot : "div";-- return (- <SortableItemContext.Provider value={itemContext}>- <ItemPrimitive- id={id}- data-dragging={isDragging ? "" : undefined}- {...itemProps}- {...(asHandle ? attributes : {})}- {...(asHandle ? listeners : {})}- tabIndex={disabled ? undefined : 0}- ref={composedRef}- style={composedStyle}- className={cn(- "focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1",- {- "touch-none select-none": asHandle,- "cursor-default": context.flatCursor,- "data-dragging:cursor-grabbing": !context.flatCursor,- "cursor-grab": !isDragging && asHandle && !context.flatCursor,- "opacity-50": isDragging,- "pointer-events-none opacity-50": disabled,- },- className,- )}- />- </SortableItemContext.Provider>- );- },-);-SortableItem.displayName = ITEM_NAME;--interface SortableItemHandleProps- extends React.ComponentPropsWithoutRef<"button"> {- asChild?: boolean;-}--const SortableItemHandle = React.forwardRef<- HTMLButtonElement,- SortableItemHandleProps->((props, forwardedRef) => {- const { asChild, disabled, className, ...itemHandleProps } = props;- const itemContext = React.useContext(SortableItemContext);- if (!itemContext) {- throw new Error(SORTABLE_ERRORS[ITEM_HANDLE_NAME]);- }- const context = useSortableContext(ITEM_HANDLE_NAME);-- const isDisabled = disabled ?? itemContext.disabled;-- const composedRef = useComposedRefs(forwardedRef, (node) => {- if (!isDisabled) return;- itemContext.setActivatorNodeRef(node);- });-- const HandlePrimitive = asChild ? Slot : "button";-- return (- <HandlePrimitive- type="button"- aria-controls={itemContext.id}- data-dragging={itemContext.isDragging ? "" : undefined}- {...itemHandleProps}- {...itemContext.attributes}- {...itemContext.listeners}- ref={composedRef}- className={cn(- "select-none disabled:pointer-events-none disabled:opacity-50",- context.flatCursor- ? "cursor-default"- : "cursor-grab data-dragging:cursor-grabbing",- className,- )}- disabled={isDisabled}- />- );-});-SortableItemHandle.displayName = ITEM_HANDLE_NAME;--const SortableOverlayContext = React.createContext(false);-SortableOverlayContext.displayName = OVERLAY_NAME;--const dropAnimation: DropAnimation = {- sideEffects: defaultDropAnimationSideEffects({- styles: {- active: {- opacity: "0.4",- },- },- }),-};--interface SortableOverlayProps- extends Omit<React.ComponentPropsWithoutRef<typeof DragOverlay>, "children"> {- container?: Element | DocumentFragment | null;- children?:- | ((params: { value: UniqueIdentifier }) => React.ReactNode)- | React.ReactNode;-}--function SortableOverlay(props: SortableOverlayProps) {- const { container: containerProp, children, ...overlayProps } = props;- const context = useSortableContext(OVERLAY_NAME);-- const [mounted, setMounted] = React.useState(false);- React.useLayoutEffect(() => setMounted(true), []);-- const container =- containerProp ?? (mounted ? globalThis.document?.body : null);-- if (!container) return null;-- return ReactDOM.createPortal(- <DragOverlay- dropAnimation={dropAnimation}- modifiers={context.modifiers}- className={cn(!context.flatCursor && "cursor-grabbing")}- {...overlayProps}- >- <SortableOverlayContext.Provider value={true}>- {context.activeId- ? typeof children === "function"- ? children({ value: context.activeId })- : children- : null}- </SortableOverlayContext.Provider>- </DragOverlay>,- container,- );-}--const Root = Sortable;-const Content = SortableContent;-const Item = SortableItem;-const ItemHandle = SortableItemHandle;-const Overlay = SortableOverlay;--export {- Root,- Content,- Item,- ItemHandle,- Overlay,- //- Sortable,- SortableContent,- SortableItem,- SortableItemHandle,- SortableOverlay,-};diff --git a/apps/status-page/src/components/ui/switch.tsx b/apps/status-page/src/components/ui/switch.tsxdeleted file mode 100644index 727e54404..000000000--- a/apps/status-page/src/components/ui/switch.tsx+++ /dev/null@@ -1,31 +0,0 @@-"use client";--import * as SwitchPrimitive from "@radix-ui/react-switch";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Switch({- className,- ...props-}: React.ComponentProps<typeof SwitchPrimitive.Root>) {- return (- <SwitchPrimitive.Root- data-slot="switch"- className={cn(- "peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs outline-none transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80",- className,- )}- {...props}- >- <SwitchPrimitive.Thumb- data-slot="switch-thumb"- className={cn(- "pointer-events-none block size-4 rounded-full bg-background ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground",- )}- />- </SwitchPrimitive.Root>- );-}--export { Switch };diff --git a/apps/status-page/src/components/ui/tabs.tsx b/apps/status-page/src/components/ui/tabs.tsxdeleted file mode 100644index ba16df9e1..000000000--- a/apps/status-page/src/components/ui/tabs.tsx+++ /dev/null@@ -1,66 +0,0 @@-"use client";--import * as TabsPrimitive from "@radix-ui/react-tabs";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Tabs({- className,- ...props-}: React.ComponentProps<typeof TabsPrimitive.Root>) {- return (- <TabsPrimitive.Root- data-slot="tabs"- className={cn("flex flex-col gap-2", className)}- {...props}- />- );-}--function TabsList({- className,- ...props-}: React.ComponentProps<typeof TabsPrimitive.List>) {- return (- <TabsPrimitive.List- data-slot="tabs-list"- className={cn(- "inline-flex h-9 w-fit items-center justify-center rounded-lg bg-muted p-[3px] text-muted-foreground",- className,- )}- {...props}- />- );-}--function TabsTrigger({- className,- ...props-}: React.ComponentProps<typeof TabsPrimitive.Trigger>) {- return (- <TabsPrimitive.Trigger- data-slot="tabs-trigger"- className={cn(- "inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md border border-transparent px-2 py-1 font-medium text-foreground text-sm transition-[color,box-shadow] focus-visible:border-ring focus-visible:outline-1 focus-visible:outline-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:shadow-sm dark:text-muted-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",- className,- )}- {...props}- />- );-}--function TabsContent({- className,- ...props-}: React.ComponentProps<typeof TabsPrimitive.Content>) {- return (- <TabsPrimitive.Content- data-slot="tabs-content"- className={cn("flex-1 outline-none", className)}- {...props}- />- );-}--export { Tabs, TabsList, TabsTrigger, TabsContent };diff --git a/apps/status-page/src/components/ui/tooltip.tsx b/apps/status-page/src/components/ui/tooltip.tsxdeleted file mode 100644index 0b2f4a597..000000000--- a/apps/status-page/src/components/ui/tooltip.tsx+++ /dev/null@@ -1,61 +0,0 @@-"use client";--import * as TooltipPrimitive from "@radix-ui/react-tooltip";-import type * as React from "react";--import { cn } from "@/lib/utils";--function TooltipProvider({- delayDuration = 0,- ...props-}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {- return (- <TooltipPrimitive.Provider- data-slot="tooltip-provider"- delayDuration={delayDuration}- {...props}- />- );-}--function Tooltip({- ...props-}: React.ComponentProps<typeof TooltipPrimitive.Root>) {- return (- <TooltipProvider>- <TooltipPrimitive.Root data-slot="tooltip" {...props} />- </TooltipProvider>- );-}--function TooltipTrigger({- ...props-}: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {- return <TooltipPrimitive.Trigger data-slot="tooltip-trigger" {...props} />;-}--function TooltipContent({- className,- sideOffset = 0,- children,- ...props-}: React.ComponentProps<typeof TooltipPrimitive.Content>) {- return (- <TooltipPrimitive.Portal>- <TooltipPrimitive.Content- data-slot="tooltip-content"- sideOffset={sideOffset}- className={cn(- "fade-in-0 zoom-in-95 data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in text-balance rounded-md bg-foreground px-3 py-1.5 text-background text-xs data-[state=closed]:animate-out",- className,- )}- {...props}- >- {children}- <TooltipPrimitive.Arrow className="z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" />- </TooltipPrimitive.Content>- </TooltipPrimitive.Portal>- );-}--export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };diff --git a/apps/status-page/src/hooks/use-cookie-state.ts b/apps/status-page/src/hooks/use-cookie-state.tsdeleted file mode 100644index 926bf8782..000000000--- a/apps/status-page/src/hooks/use-cookie-state.ts+++ /dev/null@@ -1,41 +0,0 @@-"use client";--import { useCallback, useEffect, useState } from "react";--export function useCookieState<T extends string>(- name: string,- defaultValue?: T,- config?: { expires?: number },-) {- const [state, setState] = useState<T | undefined>();-- const handleChange = useCallback(- (value: T) => {- if (document) {- const date = new Date();- date.setTime(date.getTime() + 365 * 24 * 60 * 60 * 1000); // in one year- document.cookie = `${name}=${value}; path=/; expires=${- config?.expires ?? date.toUTCString()- }`;- setState(value);- }- },- [name, config],- );-- useEffect(() => {- if (document) {- const cookie = document.cookie- .split("; ")- .find((row) => row.startsWith(name));- if (!cookie) {- setState(defaultValue);- return;- }- const value = cookie.split("=")[1] as T;- setState(value);- }- }, [defaultValue, name]);-- return [state, handleChange] as const;-}diff --git a/apps/status-page/src/hooks/use-copy-to-clipboard.ts b/apps/status-page/src/hooks/use-copy-to-clipboard.tsdeleted file mode 100644index 656ceefc2..000000000--- a/apps/status-page/src/hooks/use-copy-to-clipboard.ts+++ /dev/null@@ -1,52 +0,0 @@-"use client";--import { useCallback, useState } from "react";-import { toast } from "sonner";--export function useCopyToClipboard() {- const [text, setText] = useState<string | null>(null);-- const copy = useCallback(- async (- text: string,- {- timeout = 3000,- withToast = true,- successMessage = "Copied to clipboard",- }: {- timeout?: number;- withToast?: boolean;- successMessage?: string;- },- ) => {- if (!navigator?.clipboard) {- console.warn("Clipboard not supported");- return false;- }-- try {- await navigator.clipboard.writeText(text);- setText(text);-- if (timeout) {- setTimeout(() => {- setText(null);- }, timeout);- }-- if (withToast) {- toast.success(successMessage);- }-- return true;- } catch (error) {- console.warn("Copy failed", error);- setText(null);- return false;- }- },- [],- );-- return { text, copy, isCopied: text !== null };-}diff --git a/apps/status-page/src/hooks/use-media-query.ts b/apps/status-page/src/hooks/use-media-query.tsdeleted file mode 100644index 7ac3915ab..000000000--- a/apps/status-page/src/hooks/use-media-query.ts+++ /dev/null@@ -1,19 +0,0 @@-import * as React from "react";--export function useMediaQuery(query: string) {- const [value, setValue] = React.useState(false);-- React.useEffect(() => {- function onChange(event: MediaQueryListEvent) {- setValue(event.matches);- }-- const result = matchMedia(query);- result.addEventListener("change", onChange);- setValue(result.matches);-- return () => result.removeEventListener("change", onChange);- }, [query]);-- return value;-}diff --git a/apps/status-page/src/lib/chart.ts b/apps/status-page/src/lib/chart.tsnew file mode 100644index 000000000..cb8da6013--- /dev/null+++ b/apps/status-page/src/lib/chart.ts@@ -0,0 +1,40 @@+import type { ChartConfig } from "@openstatus/ui/components/ui/chart";++// Helper to extract item config from a payload.+export function getPayloadConfigFromPayload(+ config: ChartConfig,+ payload: unknown,+ key: string,+) {+ if (typeof payload !== "object" || payload === null) {+ return undefined;+ }++ const payloadPayload =+ "payload" in payload &&+ typeof payload.payload === "object" &&+ payload.payload !== null+ ? payload.payload+ : undefined;++ let configLabelKey: string = key;++ if (+ key in payload &&+ typeof payload[key as keyof typeof payload] === "string"+ ) {+ configLabelKey = payload[key as keyof typeof payload] as string;+ } else if (+ payloadPayload &&+ key in payloadPayload &&+ typeof payloadPayload[key as keyof typeof payloadPayload] === "string"+ ) {+ configLabelKey = payloadPayload[+ key as keyof typeof payloadPayload+ ] as string;+ }++ return configLabelKey in config+ ? config[configLabelKey]+ : config[key as keyof typeof config];+}diff --git a/apps/web/next-env.d.ts b/apps/web/next-env.d.tsindex c4b7818fb..9edff1c7c 100644--- a/apps/web/next-env.d.ts+++ b/apps/web/next-env.d.ts@@ -1,6 +1,6 @@/// <reference types="next" />/// <reference types="next/image-types/global" />-import "./.next/dev/types/routes.d.ts";+import "./.next/types/routes.d.ts";// NOTE: This file should not be edited// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.diff --git a/apps/web/package.json b/apps/web/package.jsonindex 621795832..b479c87fe 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -5,7 +5,8 @@"scripts": {"env": "bun env.ts","dev": "next dev",- "build": "next build",+ "build:registry": "turbo run registry:build --filter=@openstatus/ui",+ "build": "pnpm build:registry && next build","start": "next start","lint": "next lint","tsc": "tsc --noEmit"@@ -41,6 +42,7 @@"@openstatus/upstash": "workspace:*","@openstatus/utils": "workspace:*","@radix-ui/react-portal": "1.1.9",+ "@radix-ui/react-slot": "1.2.3","@sentry/nextjs": "10.31.0","@stripe/stripe-js": "2.1.6","@t3-oss/env-nextjs": "0.7.0",@@ -60,7 +62,7 @@"clsx": "2.1.1","cmdk": "1.1.1","cobe": "0.6.3",- "date-fns": "2.30.0",+ "date-fns": "3.6.0","date-fns-tz": "2.0.0","feed": "4.2.2","gray-matter": "4.0.3",diff --git a/apps/web/src/app/(landing)/play/checker/[slug]/client.tsx b/apps/web/src/app/(landing)/play/checker/[slug]/client.tsxindex 42697067e..78c7033b2 100644--- a/apps/web/src/app/(landing)/play/checker/[slug]/client.tsx+++ b/apps/web/src/app/(landing)/play/checker/[slug]/client.tsx@@ -9,7 +9,7 @@ import {} from "@/lib/checker/utils";import { cn } from "@/lib/utils";import { type Region, regionDict } from "@openstatus/regions";-import { Button } from "@openstatus/ui";+import { Button } from "@openstatus/ui/components/ui/button";import {Dialog,DialogContent,@@ -17,9 +17,14 @@ import {DialogHeader,DialogTitle,DialogTrigger,-} from "@openstatus/ui";-import { Input } from "@openstatus/ui";-import { Tabs, TabsContent, TabsList, TabsTrigger } from "@openstatus/ui";+} from "@openstatus/ui/components/ui/dialog";+import { Input } from "@openstatus/ui/components/ui/input";+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";import { useState } from "react";import { handleExportCSV } from "../utils";diff --git a/apps/web/src/app/(landing)/play/checker/client.tsx b/apps/web/src/app/(landing)/play/checker/client.tsxindex a822d00fb..29600de5c 100644--- a/apps/web/src/app/(landing)/play/checker/client.tsx+++ b/apps/web/src/app/(landing)/play/checker/client.tsx@@ -15,15 +15,15 @@ import {type Region,regionDict,} from "@openstatus/regions";-import { Button } from "@openstatus/ui";-import { Input } from "@openstatus/ui";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@openstatus/ui";+} from "@openstatus/ui/components/ui/select";import Link from "next/link";import { useRouter } from "next/navigation";import { useQueryStates } from "nuqs";@@ -409,12 +409,12 @@ export function DetailsButtonLink() {return (<Buttonvariant="default"- className="h-full w-full rounded-none p-4 text-base"+ className="h-auto! flex-1 rounded-none p-4 text-base"asChild><Linkhref={`/play/checker/${id}`}- className="no-underline! text-background!"+ className="no-underline! w-full text-background!">Response details</Link>@@ -432,7 +432,7 @@ export function ExportToCSVButton() {return (<Buttonvariant="outline"- className="h-full w-full rounded-none p-4 text-base"+ className="h-auto! flex-1 cursor-pointer rounded-none p-4 text-base"onClick={() => handleExportCSV(values)}>Export to CSVdiff --git a/apps/web/src/app/(landing)/play/checker/page.tsx b/apps/web/src/app/(landing)/play/checker/page.tsxindex 981bf5817..eca16fac5 100644--- a/apps/web/src/app/(landing)/play/checker/page.tsx+++ b/apps/web/src/app/(landing)/play/checker/page.tsx@@ -65,7 +65,7 @@ export default async function Page(props: {<Form defaultMethod={data?.method} defaultUrl={data?.url} /><ResponseStatus /><ResultTable />- <div className="flex gap-2">+ <div className="flex w-full gap-2"><ExportToCSVButton /><DetailsButtonLink /></div>diff --git a/apps/web/src/app/(landing)/play/curl/client.tsx b/apps/web/src/app/(landing)/play/curl/client.tsxindex 22487078b..7bfb8526e 100644--- a/apps/web/src/app/(landing)/play/curl/client.tsx+++ b/apps/web/src/app/(landing)/play/curl/client.tsx@@ -1,18 +1,18 @@"use client";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { Button } from "@openstatus/ui";-import { Checkbox } from "@openstatus/ui";-import { Input } from "@openstatus/ui";-import { Label } from "@openstatus/ui";+import { Button } from "@openstatus/ui/components/ui/button";+import { Checkbox } from "@openstatus/ui/components/ui/checkbox";+import { Input } from "@openstatus/ui/components/ui/input";+import { Label } from "@openstatus/ui/components/ui/label";import {Select,SelectContent,SelectItem,SelectTrigger,SelectValue,-} from "@openstatus/ui";-import { Textarea } from "@openstatus/ui";+} from "@openstatus/ui/components/ui/select";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";import { Fragment, useState } from "react";type Values = {diff --git a/apps/web/src/app/(landing)/play/uptime-sla/client.tsx b/apps/web/src/app/(landing)/play/uptime-sla/client.tsxindex 6c45dff15..e0819f28c 100644--- a/apps/web/src/app/(landing)/play/uptime-sla/client.tsx+++ b/apps/web/src/app/(landing)/play/uptime-sla/client.tsx@@ -1,13 +1,13 @@"use client";-import { Button } from "@openstatus/ui";-import { Input } from "@openstatus/ui";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";import {TabsContent,TabsList,Tabs as TabsPrimitive,TabsTrigger,-} from "@openstatus/ui";+} from "@openstatus/ui/components/ui/tabs";import { useState } from "react";const periods = ["days", "weeks", "months", "years"] as const;diff --git a/apps/web/src/app/_components/background.tsx b/apps/web/src/app/_components/background.tsxdeleted file mode 100644index b764f9c13..000000000--- a/apps/web/src/app/_components/background.tsx+++ /dev/null@@ -1,42 +0,0 @@-"use client";-import useMouseMove from "@/hooks/use-mouse-move";-import type { ReactNode } from "react";--export default function Background({ children }: { children: ReactNode }) {- // --x and --y will be updated based on mouse position- useMouseMove();- return (- <>- <div className="-z-50 fixed top-0 left-0">- <div className="sticky top-0 left-0 h-screen w-screen overflow-hidden">- <div className="absolute inset-0 z-[-1] bg-muted-foreground/15" />- <div className="-translate-x-1/2 -translate-y-1/2 absolute top-(--y) left-(--x) z-[-1] h-56 w-56 rounded-full bg-gradient-radial from-0% from-muted-foreground/40 to-90% to-transparent blur-md" />- <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">- <defs>- <pattern- id="dotted-pattern"- width="16"- height="16"- patternUnits="userSpaceOnUse"- >- <circle cx="2" cy="2" r="1" fill="black" />- </pattern>- <mask id="dots-mask">- <rect width="100%" height="100%" fill="white" />- <rect width="100%" height="100%" fill="url(#dotted-pattern)" />- </mask>- </defs>- <rect- width="100%"- height="100%"- fill="hsl(var(--background))"- mask="url(#dots-mask)"- />- </svg>- </div>- </div>-- {children}- </>- );-}diff --git a/apps/web/src/app/_components/submit-button.tsx b/apps/web/src/app/_components/submit-button.tsxdeleted file mode 100644index 33b26fa28..000000000--- a/apps/web/src/app/_components/submit-button.tsx+++ /dev/null@@ -1,20 +0,0 @@-"use client";--import { useFormStatus } from "react-dom";--import { Button } from "@openstatus/ui/src/components/button";--import { LoadingAnimation } from "@/components/loading-animation";--export function SubmitButton() {- const { pending } = useFormStatus();- return (- <Button- type="submit"- disabled={pending}- className="h-auto w-20 disabled:opacity-100"- >- {pending ? <LoadingAnimation /> : "Join"}- </Button>- );-}diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsxindex ce116ee7d..ace0d12f4 100644--- a/apps/web/src/app/layout.tsx+++ b/apps/web/src/app/layout.tsx@@ -6,7 +6,6 @@ import { Inter } from "next/font/google";import LocalFont from "next/font/local";import { ThemeProvider } from "@/components/theme-provider";-import { Toaster } from "@/components/ui/sonner";import { env } from "@/env";import {defaultMetadata,@@ -14,6 +13,7 @@ import {twitterMetadata,} from "@/lib/metadata/shared-metadata";import { TRPCReactQueryProvider } from "@/trpc/rq-client";+import { Toaster } from "@openstatus/ui/components/ui/sonner";import PlausibleProvider from "next-plausible";import { NuqsAdapter } from "nuqs/adapters/next/app";diff --git a/apps/web/src/components/icon-cloud-provider.tsx b/apps/web/src/components/icon-cloud-provider.tsxindex 30c004cf1..085748495 100644--- a/apps/web/src/components/icon-cloud-provider.tsx+++ b/apps/web/src/components/icon-cloud-provider.tsx@@ -5,7 +5,7 @@ import {TooltipContent,TooltipProvider,TooltipTrigger,-} from "@openstatus/ui";+} from "@openstatus/ui/components/ui/tooltip";import { Globe } from "lucide-react";export function IconCloudProvider({diff --git a/apps/web/src/components/kbd.tsx b/apps/web/src/components/kbd.tsxdeleted file mode 100644index 3509d0acf..000000000--- a/apps/web/src/components/kbd.tsx+++ /dev/null@@ -1,55 +0,0 @@-import { type VariantProps, cva } from "class-variance-authority";-// Copy Pasta from: https://github.com/sadmann7/shadcn-table/blob/main/src/components/kbd.tsx#L54-import * as React from "react";--import { cn } from "@/lib/utils";--const kbdVariants = cva(- "select-none rounded border px-1.5 py-px font-mono text-[0.7rem] font-normal shadow-xs disabled:opacity-50",- {- variants: {- variant: {- default: "bg-accent text-accent-foreground",- outline: "bg-background text-foreground",- },- },- defaultVariants: {- variant: "default",- },- },-);--export interface KbdProps- extends React.ComponentPropsWithoutRef<"kbd">,- VariantProps<typeof kbdVariants> {- /**- * The title of the `abbr` element inside the `kbd` element.- * @default undefined- * @type string | undefined- * @example title="Command"- */- abbrTitle?: string;-}--const Kbd = React.forwardRef<HTMLUnknownElement, KbdProps>(- ({ abbrTitle, children, className, variant, ...props }, ref) => {- return (- <kbd- className={cn(kbdVariants({ variant, className }))}- ref={ref}- {...props}- >- {abbrTitle ? (- <abbr title={abbrTitle} className="no-underline">- {children}- </abbr>- ) : (- children- )}- </kbd>- );- },-);-Kbd.displayName = "Kbd";--export { Kbd };diff --git a/apps/web/src/components/ui/sonner.tsx b/apps/web/src/components/ui/sonner.tsxdeleted file mode 100644index d4b762411..000000000--- a/apps/web/src/components/ui/sonner.tsx+++ /dev/null@@ -1,32 +0,0 @@-"use client";--import { useTheme } from "next-themes";-import { Toaster as Sonner } from "sonner";--type ToasterProps = React.ComponentProps<typeof Sonner>;--const Toaster = ({ ...props }: ToasterProps) => {- const { theme = "system" } = useTheme();-- return (- <Sonner- theme={theme as ToasterProps["theme"]}- className="toaster group"- toastOptions={{- classNames: {- toast:- "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",- description: "group-[.toast]:text-muted-foreground",- actionButton:- "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",- cancelButton:- "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",- closeButton: "group-[.toast]:text-muted-foreground",- },- }}- {...props}- />- );-};--export { Toaster };diff --git a/apps/web/src/content/cmdk.tsx b/apps/web/src/content/cmdk.tsxindex b9bce23f9..b46fa0419 100644--- a/apps/web/src/content/cmdk.tsx+++ b/apps/web/src/content/cmdk.tsx@@ -1,8 +1,6 @@"use client";import type { MDXData } from "@/content/utils";-import { useDebounce } from "@/hooks/use-debounce";-import { cn } from "@/lib/utils";import {Command,CommandEmpty,@@ -12,10 +10,14 @@ import {CommandLoading,CommandSeparator,CommandShortcut,+} from "@openstatus/ui/components/ui/command";+import {Dialog,DialogContent,DialogTitle,-} from "@openstatus/ui";+} from "@openstatus/ui/components/ui/dialog";+import { useDebounce } from "@openstatus/ui/hooks/use-debounce";+import { cn } from "@openstatus/ui/lib/utils";import { useQuery } from "@tanstack/react-query";import { Command as CommandPrimitive } from "cmdk";import { Loader2, Search } from "lucide-react";diff --git a/apps/web/src/content/copy-button.tsx b/apps/web/src/content/copy-button.tsxindex f03d985d7..851b5860b 100644--- a/apps/web/src/content/copy-button.tsx+++ b/apps/web/src/content/copy-button.tsx@@ -1,8 +1,8 @@"use client";-import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard";-import { cn } from "@/lib/utils";-import { Button } from "@openstatus/ui";+import { Button } from "@openstatus/ui/components/ui/button";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { cn } from "@openstatus/ui/lib/utils";export function CopyButton({className,diff --git a/apps/web/src/content/header.tsx b/apps/web/src/content/header.tsxindex 76c601026..59d83cdb9 100644--- a/apps/web/src/content/header.tsx+++ b/apps/web/src/content/header.tsx@@ -4,7 +4,7 @@ import {DropdownMenuContent,DropdownMenuItem,DropdownMenuTrigger,-} from "@openstatus/ui";+} from "@openstatus/ui/components/ui/dropdown-menu";import Link from "next/link";import { CmdK } from "./cmdk";import { LogoWithContextMenu } from "./logo-with-context-menu";diff --git a/apps/web/src/content/logo-with-context-menu.tsx b/apps/web/src/content/logo-with-context-menu.tsxindex ccda688e8..fc1563701 100644--- a/apps/web/src/content/logo-with-context-menu.tsx+++ b/apps/web/src/content/logo-with-context-menu.tsx@@ -5,7 +5,7 @@ import {ContextMenuContent,ContextMenuItem,ContextMenuTrigger,-} from "@openstatus/ui";+} from "@openstatus/ui/components/ui/context-menu";import Image from "next/image";import Link from "next/link";diff --git a/apps/web/src/content/mdx.tsx b/apps/web/src/content/mdx.tsxindex 6eef37e44..8c3ec93d0 100644--- a/apps/web/src/content/mdx.tsx+++ b/apps/web/src/content/mdx.tsx@@ -2,7 +2,7 @@ import { existsSync } from "node:fs";import { join } from "node:path";import { getImageDimensions } from "@/lib/image-dimensions";import { cn } from "@/lib/utils";-import { Button } from "@openstatus/ui";+import { Button } from "@openstatus/ui/components/ui/button";import { MDXRemote, type MDXRemoteProps } from "next-mdx-remote/rsc";import Image from "next/image";import Link from "next/link";diff --git a/apps/web/src/content/simple-chart.tsx b/apps/web/src/content/simple-chart.tsxindex 42cfe9aba..420f684d4 100644--- a/apps/web/src/content/simple-chart.tsx+++ b/apps/web/src/content/simple-chart.tsx@@ -1,12 +1,12 @@"use client";import { cn } from "@/lib/utils";-import type { ChartConfig } from "@openstatus/ui";+import type { ChartConfig } from "@openstatus/ui/components/ui/chart";import {ChartContainer,ChartTooltip,ChartTooltipContent,-} from "@openstatus/ui";+} from "@openstatus/ui/components/ui/chart";import { Line, LineChart, XAxis } from "recharts";const chartConfig = {diff --git a/apps/web/src/hooks/use-debounce.ts b/apps/web/src/hooks/use-debounce.tsdeleted file mode 100644index 3a34896de..000000000--- a/apps/web/src/hooks/use-debounce.ts+++ /dev/null@@ -1,16 +0,0 @@-import * as React from "react";--// consider using https://github.com/xnimorz/use-debounce-export function useDebounce<T>(value: T, delay?: number): T {- const [debouncedValue, setDebouncedValue] = React.useState<T>(value);-- React.useEffect(() => {- const timer = setTimeout(() => setDebouncedValue(value), delay ?? 500);-- return () => {- clearTimeout(timer);- };- }, [value, delay]);-- return debouncedValue;-}diff --git a/apps/web/src/hooks/use-mouse-move.tsx b/apps/web/src/hooks/use-mouse-move.tsxdeleted file mode 100644index 7f5fb22e4..000000000--- a/apps/web/src/hooks/use-mouse-move.tsx+++ /dev/null@@ -1,28 +0,0 @@-"use client";--import React from "react";--export default function useMouseMove() {- React.useEffect(() => {- function mouseMoveEvent(e: MouseEvent) {- const scale = window.visualViewport?.scale;- // disable mouse movement on viewport zoom - causes page to slow down- if (scale === 1) {- const body = document.body;-- const targetX = e.clientX;- const targetY = e.clientY;-- // TODO: make it move around cursor so you feal like its floating around it- // the animation requires tranformX and transformY on the HTML Element- body.style.setProperty("--x", `${targetX}px`);- body.style.setProperty("--y", `${targetY}px`);- }- }-- document.addEventListener("mousemove", mouseMoveEvent);- return () => {- document.removeEventListener("mousemove", mouseMoveEvent);- };- }, []);-}diff --git a/apps/web/src/hooks/use-update-search-params.ts b/apps/web/src/hooks/use-update-search-params.tsdeleted file mode 100644index ce9faab87..000000000--- a/apps/web/src/hooks/use-update-search-params.ts+++ /dev/null@@ -1,33 +0,0 @@-import { useSearchParams } from "next/navigation";-import * as React from "react";--/**- *- * @deprecated use `nuqs` instead- */-export default function useUpdateSearchParams() {- const searchParams = useSearchParams();-- /**- * Get a new searchParams string by merging the current searchParams with a provided key/value pair.- * If param is `null`, will be deleted.- */- const update = React.useCallback(- (params: Record<string, boolean | string | number | null>) => {- const newSearchParams = new URLSearchParams(searchParams?.toString());-- for (const [key, value] of Object.entries(params)) {- if (value === null) {- newSearchParams.delete(key);- } else {- newSearchParams.set(key, String(value));- }- }-- return newSearchParams.toString();- },- [searchParams],- );-- return update;-}diff --git a/apps/web/src/hooks/use-window-scroll.ts b/apps/web/src/hooks/use-window-scroll.tsdeleted file mode 100644index e98e56e5a..000000000--- a/apps/web/src/hooks/use-window-scroll.ts+++ /dev/null@@ -1,41 +0,0 @@-// Props: https://github.com/uidotdev/usehooks/blob/90fbbb4cc085e74e50c36a62a5759a40c62bb98e/index.js#L1310--import * as React from "react";--export function useWindowScroll() {- const [state, setState] = React.useState<{- x: number | null;- y: number | null;- }>({- x: null,- y: null,- });-- // biome-ignore lint/suspicious/noExplicitAny: <explanation>- const scrollTo = React.useCallback((...args: any[]) => {- if (typeof args[0] === "object") {- window.scrollTo(args[0]);- } else if (typeof args[0] === "number" && typeof args[1] === "number") {- window.scrollTo(args[0], args[1]);- } else {- throw new Error(- "Invalid arguments passed to scrollTo. See here for more info. https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo",- );- }- }, []);-- React.useLayoutEffect(() => {- const handleScroll = () => {- setState({ x: window.scrollX, y: window.scrollY });- };-- handleScroll();- window.addEventListener("scroll", handleScroll);-- return () => {- window.removeEventListener("scroll", handleScroll);- };- }, []);-- return [state, scrollTo] as const;-}diff --git a/apps/web/src/hooks/use-window-size.ts b/apps/web/src/hooks/use-window-size.tsdeleted file mode 100644index e6b16d738..000000000--- a/apps/web/src/hooks/use-window-size.ts+++ /dev/null@@ -1,43 +0,0 @@-// CREDITS: https://github.com/steven-tey/precedent/blob/main/lib/hooks/use-window-size.ts-import { useEffect, useState } from "react";--export default function useWindowSize() {- const [windowSize, setWindowSize] = useState<{- width: number | undefined;- height: number | undefined;- }>({- width: undefined,- height: undefined,- });-- useEffect(() => {- // Handler to call on window resize- function handleResize() {- // Set window width/height to state- setWindowSize({- width: window.innerWidth,- height: window.innerHeight,- });- }-- // Add event listener- window.addEventListener("resize", handleResize);-- // Call handler right away so state gets updated with initial window size- handleResize();-- // Remove event listener on cleanup- return () => window.removeEventListener("resize", handleResize);- }, []); // Empty array ensures that effect is only run on mount-- return {- windowSize,- isMobile: typeof windowSize?.width === "number" && windowSize?.width < 640,- isTablet:- typeof windowSize?.width === "number" &&- windowSize?.width >= 640 &&- windowSize?.width < 1024,- isDesktop:- typeof windowSize?.width === "number" && windowSize?.width >= 1024,- };-}diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.cssindex db1f9b619..14df45004 100644--- a/apps/web/src/styles/globals.css+++ b/apps/web/src/styles/globals.css@@ -1,4 +1,5 @@@import 'tailwindcss';+@import '@openstatus/ui/globals';@plugin 'tailwindcss-animate';@plugin '@tailwindcss/container-queries';@@ -6,49 +7,7 @@@source '../../../../packages/ui/**/*.{ts,tsx}';@source '../../node_modules/@openstatus/react/**/*.{js,ts,jsx,tsx}';-@custom-variant dark (&:is(.dark *));-@theme {- --color-background: var(--background);- --color-foreground: var(--foreground);- --color-sidebar-ring: var(--sidebar-ring);- --color-sidebar-border: var(--sidebar-border);- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);- --color-sidebar-accent: var(--sidebar-accent);- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);- --color-sidebar-primary: var(--sidebar-primary);- --color-sidebar-foreground: var(--sidebar-foreground);- --color-sidebar: var(--sidebar);- --color-chart-5: var(--chart-5);- --color-chart-4: var(--chart-4);- --color-chart-3: var(--chart-3);- --color-chart-2: var(--chart-2);- --color-chart-1: var(--chart-1);- --color-ring: var(--ring);- --color-input: var(--input);- --color-border: var(--border);- --color-destructive: var(--destructive);- --color-accent-foreground: var(--accent-foreground);- --color-accent: var(--accent);- --color-muted-foreground: var(--muted-foreground);- --color-muted: var(--muted);- --color-secondary-foreground: var(--secondary-foreground);- --color-secondary: var(--secondary);- --color-primary-foreground: var(--primary-foreground);- --color-primary: var(--primary);- --color-popover-foreground: var(--popover-foreground);- --color-popover: var(--popover);- --color-card-foreground: var(--card-foreground);- --color-card: var(--card);- --radius-sm: calc(var(--radius) - 4px);- --radius-md: calc(var(--radius) - 2px);- --radius-lg: var(--radius);- --radius-xl: calc(var(--radius) + 4px);-- --color-success: var(--success);- --color-warning: var(--warning);- --color-info: var(--info);---color-sh-class: var(--sh-class);--color-sh-identifier: var(--sh-identifier);--color-sh-sign: var(--sh-sign);@@ -116,61 +75,6 @@@layer base {:root {- --radius: 0.625rem;- --background: oklch(1 0 0);- --foreground: oklch(0.145 0 0);- --card: oklch(1 0 0);- --card-foreground: oklch(0.145 0 0);- --popover: oklch(1 0 0);- --popover-foreground: oklch(0.145 0 0);- --primary: oklch(0.205 0 0);- --primary-foreground: oklch(0.985 0 0);- --secondary: oklch(0.97 0 0);- --secondary-foreground: oklch(0.205 0 0);- --muted: oklch(0.97 0 0);- --muted-foreground: oklch(0.556 0 0);- --accent: oklch(0.97 0 0);- --accent-foreground: oklch(0.205 0 0);- --destructive: oklch(0.577 0.245 27.325);- --border: oklch(0.922 0 0);- --input: oklch(0.922 0 0);- --ring: oklch(0.708 0 0);- --chart-1: oklch(0.646 0.222 41.116);- --chart-2: oklch(0.6 0.118 184.704);- --chart-3: oklch(0.398 0.07 227.392);- --chart-4: oklch(0.828 0.189 84.429);- --chart-5: oklch(0.769 0.188 70.08);- --sidebar: oklch(0.985 0 0);- --sidebar-foreground: oklch(0.145 0 0);- --sidebar-primary: oklch(0.205 0 0);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.97 0 0);- --sidebar-accent-foreground: oklch(0.205 0 0);- --sidebar-border: oklch(0.922 0 0);- --sidebar-ring: oklch(0.708 0 0);-- --success: oklch(0.72 0.19 150);- --warning: oklch(0.77 0.16 70);- --info: oklch(0.62 0.19 260);-- --rainbow-1: oklch(0.64 0.21 25);- --rainbow-2: oklch(0.70 0.19 48);- --rainbow-3: oklch(0.77 0.16 70);- --rainbow-4: oklch(0.80 0.16 86);- --rainbow-5: oklch(0.77 0.20 131);- --rainbow-6: oklch(0.72 0.19 150);- --rainbow-7: oklch(0.70 0.15 162);- --rainbow-8: oklch(0.70 0.12 183);- --rainbow-9: oklch(0.71 0.13 215);- --rainbow-10: oklch(0.68 0.15 237);- --rainbow-11: oklch(0.62 0.19 260);- --rainbow-12: oklch(0.59 0.20 277);- --rainbow-13: oklch(0.61 0.22 293);- --rainbow-14: oklch(0.63 0.23 304);- --rainbow-15: oklch(0.67 0.26 322);- --rainbow-16: oklch(0.66 0.21 354);- --rainbow-17: oklch(0.65 0.22 16);---sh-class: #2d5e9d;--sh-identifier: #354150;--sh-sign: #8996a3;@@ -183,92 +87,38 @@}.dark {- --background: oklch(0.145 0 0);- --foreground: oklch(0.985 0 0);- --card: oklch(0.205 0 0);- --card-foreground: oklch(0.985 0 0);- --popover: oklch(0.205 0 0);- --popover-foreground: oklch(0.985 0 0);- --primary: oklch(0.922 0 0);- --primary-foreground: oklch(0.205 0 0);- --secondary: oklch(0.269 0 0);- --secondary-foreground: oklch(0.985 0 0);- --muted: oklch(0.269 0 0);- --muted-foreground: oklch(0.708 0 0);- --accent: oklch(0.269 0 0);- --accent-foreground: oklch(0.985 0 0);- --destructive: oklch(0.704 0.191 22.216);- --border: oklch(1 0 0 / 10%);- --input: oklch(1 0 0 / 15%);- --ring: oklch(0.556 0 0);- --chart-1: oklch(0.488 0.243 264.376);- --chart-2: oklch(0.696 0.17 162.48);- --chart-3: oklch(0.769 0.188 70.08);- --chart-4: oklch(0.627 0.265 303.9);- --chart-5: oklch(0.645 0.246 16.439);- --sidebar: oklch(0.205 0 0);- --sidebar-foreground: oklch(0.985 0 0);- --sidebar-primary: oklch(0.488 0.243 264.376);- --sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.269 0 0);- --sidebar-accent-foreground: oklch(0.985 0 0);- --sidebar-border: oklch(1 0 0 / 10%);- --sidebar-ring: oklch(0.556 0 0);-- --success: oklch(0.72 0.19 150);- --warning: oklch(0.77 0.16 70);- --info: oklch(0.62 0.19 260);-- --rainbow-1: oklch(0.64 0.21 25);- --rainbow-2: oklch(0.70 0.19 48);- --rainbow-3: oklch(0.77 0.16 70);- --rainbow-4: oklch(0.80 0.16 86);- --rainbow-5: oklch(0.77 0.20 131);- --rainbow-6: oklch(0.72 0.19 150);- --rainbow-7: oklch(0.70 0.15 162);- --rainbow-8: oklch(0.70 0.12 183);- --rainbow-9: oklch(0.71 0.13 215);- --rainbow-10: oklch(0.68 0.15 237);- --rainbow-11: oklch(0.62 0.19 260);- --rainbow-12: oklch(0.59 0.20 277);- --rainbow-13: oklch(0.61 0.22 293);- --rainbow-14: oklch(0.63 0.23 304);- --rainbow-15: oklch(0.67 0.26 322);- --rainbow-16: oklch(0.66 0.21 354);- --rainbow-17: oklch(0.65 0.22 16);---sh-class: #4c97f8;--sh-identifier: white;--sh-keyword: #f47067;--sh-string: #0fa295;}-}--@layer base {- * {- @apply border-border;- }- body {- @apply bg-background text-foreground;- }.dark [data-theme='dark'] {display: block;}-+[data-theme='dark'] {display: none;}-+[data-theme='light'] {display: block;}-+.dark [data-theme='light'] {display: none;}}+@layer base {+ * {+ @apply border-border outline-ring/50;+ }+ body {+ @apply bg-background text-foreground;+ }+}+/* Typography */::selection {diff --git a/packages/api/package.json b/packages/api/package.jsonindex e078e322d..fe356e00e 100644--- a/packages/api/package.json+++ b/packages/api/package.json@@ -26,7 +26,7 @@"@trpc/server": "11.4.4","@unkey/api": "2.2.0","@vercel/blob": "0.23.3",- "date-fns": "2.30.0",+ "date-fns": "3.6.0","nanoid": "5.0.7","nanoid-dictionary": "5.0.0-beta.1","next": "16.0.10",diff --git a/packages/ui/REGISTRY.md b/packages/ui/REGISTRY.mdnew file mode 100644index 000000000..a80f5a4a7--- /dev/null+++ b/packages/ui/REGISTRY.md@@ -0,0 +1,83 @@+# OpenStatus UI Registry++This package provides a shadcn/ui registry that can be used to install OpenStatus UI components.++## Building the Registry++The registry is automatically built when building the web app. To manually build:++```bash+pnpm registry:build+```++This will:+1. Transform all `@openstatus/ui/*` imports to `@/*`+2. Build the shadcn registry+3. Copy the registry files to `apps/web/public/r/`++## Using the Registry++Once deployed, the registry will be available at:++```+https://openstatus.dev/r/registry.json+```++Users can install components from this registry using:++```bash+npx shadcn@latest add https://openstatus.dev/r/example+```++Or configure it as their registry in `components.json`:++```json+{+ "$schema": "https://ui.shadcn.com/schema.json",+ "registry": "https://openstatus.dev/r"+}+```++## Adding Components to the Registry++To add a new component to the registry, update `packages/ui/registry.json`:++```json+{+ "items": [+ {+ "name": "your-component",+ "type": "registry:block",+ "title": "Your Component",+ "description": "Description of your component",+ "registryDependencies": ["button", "card"],+ "files": [+ {+ "path": "src/components/blocks/your-component.tsx",+ "type": "registry:ui",+ "target": "components/blocks/your-component.tsx"+ }+ ]+ }+ ]+}+```++Then run `pnpm registry:build` to regenerate the registry.++## Build Process++The build process is integrated with Turborepo:++- The web app build depends on `@openstatus/ui#registry:build`+- This ensures the registry is always up-to-date when deploying the web app+- Registry files are copied to `apps/web/public/r/` and served statically++## Development++The registry source files are in `packages/ui/src/`:+- `src/components/ui/*` - UI components+- `src/components/blocks/*` - Component blocks+- `src/lib/*` - Utility functions++All imports use `@openstatus/ui/*` internally, which are transformed to `@/*` during the registry build.diff --git a/packages/ui/components.json b/packages/ui/components.jsonnew file mode 100644index 000000000..7b1389bfa--- /dev/null+++ b/packages/ui/components.json@@ -0,0 +1,21 @@+{+ "$schema": "https://ui.shadcn.com/schema.json",+ "style": "new-york",+ "rsc": true,+ "tsx": true,+ "tailwind": {+ "config": "",+ "css": "src/globals.css",+ "baseColor": "neutral",+ "cssVariables": true,+ "prefix": ""+ },+ "aliases": {+ "components": "@openstatus/ui/components",+ "utils": "@openstatus/ui/lib/utils",+ "ui": "@openstatus/ui/components/ui",+ "lib": "@openstatus/ui/lib",+ "hooks": "@openstatus/ui/hooks"+ },+ "iconLibrary": "lucide"+}diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex aa403fbcd..ff35f56c2 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -1,11 +1,31 @@{"name": "@openstatus/ui","version": "0.0.0",- "main": "./src/index.tsx",- "types": "./src/index.tsx","license": "MIT",+ "exports": {+ "./components/ui/*": {+ "types": "./src/components/ui/*.tsx",+ "default": "./src/components/ui/*.tsx"+ },+ "./components/blocks/*": {+ "types": "./src/components/blocks/*.tsx",+ "default": "./src/components/blocks/*.tsx"+ },+ "./lib/*": {+ "types": "./src/lib/*.ts",+ "default": "./src/lib/*.ts"+ },+ "./hooks/*": {+ "types": "./src/hooks/*.ts",+ "default": "./src/hooks/*.ts"+ },+ "./globals": "./src/globals.css"+ },"scripts": {- "lint": "biome lint \"**/*.ts*\""+ "build": "echo '@openstatus/ui has no build step (registry builds separately)'",+ "registry:build": "node scripts/transform-imports.mjs && cd dist && shadcn build && cd .. && node scripts/copy-to-web.mjs",+ "lint": "biome lint \"**/*.ts*\"",+ "tsc": "tsc --noEmit"},"devDependencies": {"@biomejs/biome": "1.9.4",@@ -14,10 +34,13 @@"@types/node": "22.10.2","@types/react": "19.2.2","@types/react-dom": "19.2.2",+ "glob": "11.0.0",+ "shadcn": "3.8.4","tailwindcss": "4.1.8","typescript": "5.9.3"},"dependencies": {+ "@date-fns/utc": "2.1.0","@dnd-kit/core": "6.3.1","@dnd-kit/modifiers": "9.0.0","@dnd-kit/sortable": "10.0.0",@@ -25,43 +48,44 @@"@hookform/resolvers": "5.1.0","@radix-ui/react-accordion": "1.2.2","@radix-ui/react-alert-dialog": "1.1.4",- "@radix-ui/react-avatar": "1.1.2",- "@radix-ui/react-checkbox": "1.1.3",- "@radix-ui/react-collapsible": "1.1.2",+ "@radix-ui/react-avatar": "1.1.10",+ "@radix-ui/react-checkbox": "1.3.2",+ "@radix-ui/react-collapsible": "1.1.11","@radix-ui/react-context-menu": "2.2.4",- "@radix-ui/react-dialog": "1.1.4",- "@radix-ui/react-dropdown-menu": "2.1.4",- "@radix-ui/react-hover-card": "1.1.4",- "@radix-ui/react-label": "2.1.1",+ "@radix-ui/react-dialog": "1.1.14",+ "@radix-ui/react-dropdown-menu": "2.1.15",+ "@radix-ui/react-hover-card": "1.1.14",+ "@radix-ui/react-label": "2.1.7","@radix-ui/react-navigation-menu": "1.2.3",- "@radix-ui/react-popover": "1.1.4",- "@radix-ui/react-progress": "1.1.1",- "@radix-ui/react-radio-group": "1.2.2",- "@radix-ui/react-select": "2.1.4",- "@radix-ui/react-separator": "1.1.1",- "@radix-ui/react-slider": "1.2.2",- "@radix-ui/react-slot": "1.1.1",- "@radix-ui/react-switch": "1.1.2",- "@radix-ui/react-tabs": "1.1.2",- "@radix-ui/react-toggle": "1.1.1",- "@radix-ui/react-tooltip": "1.1.6",+ "@radix-ui/react-popover": "1.1.14",+ "@radix-ui/react-progress": "1.1.7",+ "@radix-ui/react-radio-group": "1.3.7",+ "@radix-ui/react-select": "2.2.5",+ "@radix-ui/react-separator": "1.1.7",+ "@radix-ui/react-slider": "1.3.5",+ "@radix-ui/react-slot": "1.2.3",+ "@radix-ui/react-switch": "1.2.5",+ "@radix-ui/react-tabs": "1.1.12",+ "@radix-ui/react-toggle": "1.1.10",+ "@radix-ui/react-tooltip": "1.2.7","class-variance-authority": "0.7.1","clsx": "2.1.1","cmdk": "1.1.1",- "date-fns": "2.30.0",+ "date-fns": "3.6.0","lucide-react": "0.525.0","luxon": "3.5.0","next": "16.0.10",+ "radix-ui": "1.4.3","react": "19.2.3","react-day-picker": "8.10.1","react-hook-form": "7.68.0",- "recharts": "2.15.0",+ "recharts": "2.15.4","tailwind-merge": "2.5.5","tailwindcss-animate": "1.0.7","zod": "4.1.13"},"peerDependencies": {- "next-themes": "0.2.1",- "sonner": "1.7.1"+ "next-themes": "0.4.6",+ "sonner": "2.0.5"}}diff --git a/packages/ui/registry.json b/packages/ui/registry.jsonnew file mode 100644index 000000000..758597416--- /dev/null+++ b/packages/ui/registry.json@@ -0,0 +1,329 @@+{+ "$schema": "https://ui.shadcn.com/schema/registry.json",+ "name": "openstatus",+ "homepage": "https://openstatus.dev",+ "version": "0.1.0",+ "style": "default",+ "tailwind": {+ "config": {+ "theme": {+ "extend": {+ "colors": {+ "success": "hsl(var(--success))",+ "success-foreground": "hsl(var(--success-foreground))",+ "warning": "hsl(var(--warning))",+ "warning-foreground": "hsl(var(--warning-foreground))",+ "destructive": "hsl(var(--destructive))",+ "destructive-foreground": "hsl(var(--destructive-foreground))",+ "info": "hsl(var(--info))",+ "info-foreground": "hsl(var(--info-foreground))"+ }+ }+ }+ }+ },+ "cssVars": {+ "light": {+ "success": "142.1 76.2% 36.3%",+ "success-foreground": "355.7 100% 97.3%",+ "warning": "38 92% 50%",+ "warning-foreground": "48 96% 89%",+ "destructive": "0 84.2% 60.2%",+ "destructive-foreground": "0 0% 98%",+ "info": "221.2 83.2% 53.3%",+ "info-foreground": "210 40% 98%"+ },+ "dark": {+ "success": "142.1 70.6% 45.3%",+ "success-foreground": "144.9 80.4% 10%",+ "warning": "38 92% 50%",+ "warning-foreground": "48 96% 89%",+ "destructive": "0 72.2% 50.6%",+ "destructive-foreground": "0 85.7% 97.3%",+ "info": "217.2 91.2% 59.8%",+ "info-foreground": "222.2 47.4% 11.2%"+ }+ },+ "items": [+ {+ "name": "example",+ "type": "registry:block",+ "title": "Example",+ "description": "Example block",+ "registryDependencies": ["card", "button"],+ "files": [+ {+ "path": "src/components/blocks/example.tsx",+ "type": "registry:ui",+ "target": "components/blocks/example.tsx"+ }+ ]+ },+ {+ "name": "use-media-query",+ "type": "registry:hook",+ "title": "Use Media Query",+ "description": "React hook for responsive media query detection",+ "files": [+ {+ "path": "src/hooks/use-media-query.ts",+ "type": "registry:hook",+ "target": "hooks/use-media-query.ts"+ }+ ]+ },+ {+ "name": "use-copy-to-clipboard",+ "type": "registry:hook",+ "title": "Use Copy to Clipboard",+ "description": "React hook for copying text to clipboard with toast notifications",+ "registryDependencies": ["sonner"],+ "files": [+ {+ "path": "src/hooks/use-copy-to-clipboard.ts",+ "type": "registry:hook",+ "target": "hooks/use-copy-to-clipboard.ts"+ }+ ]+ },+ {+ "name": "status-types",+ "type": "registry:lib",+ "title": "Status Types",+ "description": "TypeScript type definitions for status components",+ "files": [+ {+ "path": "src/components/blocks/status.types.ts",+ "type": "registry:lib",+ "target": "components/blocks/status.types.ts"+ }+ ]+ },+ {+ "name": "status-utils",+ "type": "registry:lib",+ "title": "Status Utilities",+ "description": "Utility functions for status formatting and display",+ "dependencies": ["date-fns"],+ "files": [+ {+ "path": "src/components/blocks/status.utils.ts",+ "type": "registry:lib",+ "target": "components/blocks/status.utils.ts"+ }+ ]+ },+ {+ "name": "status-icon",+ "type": "registry:block",+ "title": "Status Icon",+ "description": "Unified status icon component with variants for different contexts",+ "registryDependencies": ["status-types"],+ "dependencies": ["lucide-react"],+ "files": [+ {+ "path": "src/components/blocks/status-icon.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-icon.tsx"+ }+ ]+ },+ {+ "name": "status-layout",+ "type": "registry:block",+ "title": "Status Layout",+ "description": "Layout primitives for composing status displays (Status, StatusHeader, StatusTitle, etc.)",+ "registryDependencies": ["status-icon"],+ "files": [+ {+ "path": "src/components/blocks/status-layout.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-layout.tsx"+ }+ ]+ },+ {+ "name": "status-blank",+ "type": "registry:block",+ "title": "Status Blank States",+ "description": "Empty and skeleton state components for loading and no-data scenarios",+ "files": [+ {+ "path": "src/components/blocks/status-blank.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-blank.tsx"+ }+ ]+ },+ {+ "name": "status-timestamp",+ "type": "registry:block",+ "title": "Status Timestamp",+ "description": "Interactive timestamp display with tooltip (simple) or hover-card (rich) variants showing multiple timezone formats",+ "registryDependencies": [+ "hover-card",+ "tooltip",+ "use-copy-to-clipboard",+ "use-media-query"+ ],+ "dependencies": ["date-fns", "@date-fns/[email protected]", "lucide-react"],+ "files": [+ {+ "path": "src/components/blocks/status-timestamp.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-timestamp.tsx"+ }+ ]+ },+ {+ "name": "status-banner",+ "type": "registry:block",+ "title": "Status Banner",+ "description": "Alert-style status banner with tabs support and timestamp display",+ "registryDependencies": [+ "status-icon",+ "status-types",+ "status-utils",+ "status-timestamp",+ "tabs"+ ],+ "files": [+ {+ "path": "src/components/blocks/status-banner.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-banner.tsx"+ }+ ]+ },+ {+ "name": "status-component",+ "type": "registry:block",+ "title": "Status Component",+ "description": "Monitor component primitives for building status displays",+ "registryDependencies": [+ "status-icon",+ "status-types",+ "skeleton",+ "tooltip",+ "use-media-query"+ ],+ "dependencies": ["date-fns", "lucide-react"],+ "files": [+ {+ "path": "src/components/blocks/status-component.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-component.tsx"+ }+ ]+ },+ {+ "name": "status-component-group",+ "type": "registry:block",+ "title": "Status Component Group",+ "description": "Collapsible group wrapper for status components",+ "registryDependencies": [+ "status-component",+ "status-types",+ "collapsible"+ ],+ "files": [+ {+ "path": "src/components/blocks/status-component-group.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-component-group.tsx"+ }+ ]+ },+ {+ "name": "status-events",+ "type": "registry:block",+ "title": "Status Events",+ "description": "Event timeline components for displaying status reports and maintenance updates",+ "registryDependencies": [+ "status-types",+ "status-utils",+ "status-timestamp",+ "badge",+ "separator",+ "tooltip"+ ],+ "dependencies": ["date-fns", "lucide-react"],+ "files": [+ {+ "path": "src/components/blocks/status-events.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-events.tsx"+ }+ ]+ },+ {+ "name": "status-bar",+ "type": "registry:block",+ "title": "Status Bar",+ "description": "Interactive status timeline with hover, keyboard navigation, and event display",+ "registryDependencies": [+ "status-types",+ "status-utils",+ "hover-card",+ "separator",+ "skeleton",+ "use-media-query"+ ],+ "dependencies": ["date-fns"],+ "files": [+ {+ "path": "src/components/blocks/status-bar.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-bar.tsx"+ }+ ]+ },+ {+ "name": "status-feed",+ "type": "registry:block",+ "title": "Status Feed",+ "description": "Unified feed component combining status reports and maintenance events",+ "registryDependencies": ["status-blank", "status-events", "status-types"],+ "files": [+ {+ "path": "src/components/blocks/status-feed.tsx",+ "type": "registry:ui",+ "target": "components/blocks/status-feed.tsx"+ }+ ]+ },+ {+ "name": "status-complete",+ "type": "registry:block",+ "title": "Status Page (Complete)",+ "description": "Complete status page components including all primitives, displays, and interactive elements",+ "registryDependencies": [+ "status-types",+ "status-utils",+ "status-icon",+ "status-layout",+ "status-blank",+ "status-banner",+ "status-component",+ "status-component-group",+ "status-events",+ "status-bar",+ "status-feed"+ ]+ },+ {+ "name": "status-essentials",+ "type": "registry:block",+ "title": "Status Page (Essentials)",+ "description": "Essential status page components for basic status displays",+ "registryDependencies": [+ "status-types",+ "status-utils",+ "status-icon",+ "status-layout",+ "status-banner",+ "status-blank"+ ]+ }+ ]+}diff --git a/packages/ui/scripts/copy-to-web.mjs b/packages/ui/scripts/copy-to-web.mjsnew file mode 100644index 000000000..8e8b059c0--- /dev/null+++ b/packages/ui/scripts/copy-to-web.mjs@@ -0,0 +1,37 @@+#!/usr/bin/env node++import { cpSync, existsSync, mkdirSync } from "node:fs";+import { dirname, join } from "node:path";+import { fileURLToPath } from "node:url";++const __filename = fileURLToPath(import.meta.url);+const __dirname = dirname(__filename);+const ROOT_DIR = join(__dirname, "..");+const DIST_PUBLIC_DIR = join(ROOT_DIR, "dist/public");+const PUBLIC_DIR = join(ROOT_DIR, "public");+const WEB_APP_PUBLIC_DIR = join(ROOT_DIR, "../../apps/web/public");++console.log("📦 Copying registry to web app...");++// Check if the registry was built in dist/public/r or public/r+let registryDir = join(DIST_PUBLIC_DIR, "r");+if (!existsSync(registryDir)) {+ registryDir = join(PUBLIC_DIR, "r");+ if (!existsSync(registryDir)) {+ console.error("❌ Registry not found at dist/public/r/ or public/r/");+ console.error(" Run 'pnpm registry:build' first");+ process.exit(1);+ }+}++// Ensure web app public directory exists+if (!existsSync(WEB_APP_PUBLIC_DIR)) {+ mkdirSync(WEB_APP_PUBLIC_DIR, { recursive: true });+}++// Copy registry to web app+const targetDir = join(WEB_APP_PUBLIC_DIR, "r");+cpSync(registryDir, targetDir, { recursive: true, force: true });++console.log(`✅ Registry copied to ${targetDir}`);+console.log("🌐 The registry is now available in the web app!");diff --git a/packages/ui/scripts/transform-imports.mjs b/packages/ui/scripts/transform-imports.mjsnew file mode 100644index 000000000..4202d1638--- /dev/null+++ b/packages/ui/scripts/transform-imports.mjs@@ -0,0 +1,151 @@+#!/usr/bin/env node++import {+ cpSync,+ existsSync,+ mkdirSync,+ readFileSync,+ rmSync,+ writeFileSync,+} from "node:fs";+import { dirname, join } from "node:path";+import { fileURLToPath } from "node:url";+import { globSync } from "glob";++const __filename = fileURLToPath(import.meta.url);+const __dirname = dirname(__filename);+const ROOT_DIR = join(__dirname, "..");+const SRC_DIR = join(ROOT_DIR, "src");+const DIST_DIR = join(ROOT_DIR, "dist");++console.log("🔄 Starting import transformation...");++// Clean up any existing dist directory+if (existsSync(DIST_DIR)) {+ rmSync(DIST_DIR, { recursive: true, force: true });+}++// Create dist directory+mkdirSync(DIST_DIR, { recursive: true });++// Copy source files to dist directory+console.log("📁 Copying source files to dist directory...");+cpSync(SRC_DIR, join(DIST_DIR, "src"), { recursive: true });++// Transform imports in all TypeScript/TSX files+console.log("✨ Transforming imports from @openstatus/ui to @...");+const files = globSync("**/*.{ts,tsx}", {+ cwd: join(DIST_DIR, "src"),+ absolute: true,+});++let transformCount = 0;+for (const file of files) {+ let content = readFileSync(file, "utf-8");+ const originalContent = content;++ // Replace all @openstatus/ui imports with @+ content = content.replace(+ /@openstatus\/ui\/(components|lib|hooks|types)/g,+ "@/$1",+ );++ if (content !== originalContent) {+ writeFileSync(file, content, "utf-8");+ transformCount++;+ }+}++console.log(`✅ Transformed ${transformCount} files`);++// Create a temporary tsconfig.json with updated paths+console.log("📝 Creating temporary tsconfig.json...");+const originalTsConfig = JSON.parse(+ readFileSync(join(ROOT_DIR, "tsconfig.json"), "utf-8"),+);+const tmpTsConfig = {+ ...originalTsConfig,+ compilerOptions: {+ ...originalTsConfig.compilerOptions,+ paths: {+ "@/*": ["./src/*"],+ },+ },+};+writeFileSync(+ join(DIST_DIR, "tsconfig.json"),+ JSON.stringify(tmpTsConfig, null, 2),+ "utf-8",+);++// Transform and copy registry.json with full URLs for custom dependencies+console.log("📋 Transforming registry.json...");+const registryJsonPath = join(ROOT_DIR, "registry.json");+if (existsSync(registryJsonPath)) {+ const registryJson = JSON.parse(readFileSync(registryJsonPath, "utf-8"));++ // Determine the base URL for the registry+ const baseUrl = process.env.VERCEL_URL+ ? `https://${process.env.VERCEL_URL}/r`+ : "https://openstatus.dev/r";++ console.log(`🔗 Using registry base URL: ${baseUrl}`);++ // Transform registryDependencies for all items+ if (registryJson.items) {+ for (const item of registryJson.items) {+ if (+ item.registryDependencies &&+ Array.isArray(item.registryDependencies)+ ) {+ item.registryDependencies = item.registryDependencies.map((dep) => {+ // Prefix custom OpenStatus components (status-* and use-*) with full URL+ if (dep.startsWith("status-") || dep.startsWith("use-")) {+ return `${baseUrl}/${dep}.json`;+ }+ // Leave shadcn components unprefixed+ return dep;+ });+ }+ }+ }++ writeFileSync(+ join(DIST_DIR, "registry.json"),+ JSON.stringify(registryJson, null, 2),+ "utf-8",+ );+ console.log(+ "✅ Transformed registry.json with full URLs for custom dependencies",+ );+}++// Transform and copy components.json+console.log("📝 Transforming components.json...");+const componentsJsonPath = join(ROOT_DIR, "components.json");+if (existsSync(componentsJsonPath)) {+ const componentsJson = JSON.parse(readFileSync(componentsJsonPath, "utf-8"));++ // Transform aliases from @openstatus/ui to @+ if (componentsJson.aliases) {+ const transformedAliases = {};+ for (const [key, value] of Object.entries(componentsJson.aliases)) {+ if (typeof value === "string") {+ transformedAliases[key] = value.replace(/^@openstatus\/ui\//, "@/");+ } else {+ transformedAliases[key] = value;+ }+ }+ componentsJson.aliases = transformedAliases;+ }++ writeFileSync(+ join(DIST_DIR, "components.json"),+ JSON.stringify(componentsJson, null, 2),+ "utf-8",+ );+ console.log("✅ Transformed components.json aliases");+}++console.log("✅ Transformation complete! Transformed files ready in dist/");+console.log("🏗️ Next step: Run shadcn build in the dist directory");diff --git a/packages/ui/src/components/accordion.tsx b/packages/ui/src/components/accordion.tsxdeleted file mode 100644index d331113be..000000000--- a/packages/ui/src/components/accordion.tsx+++ /dev/null@@ -1,60 +0,0 @@-"use client";--import * as AccordionPrimitive from "@radix-ui/react-accordion";-import { ChevronDown } from "lucide-react";-import * as React from "react";--import { cn } from "../lib/utils";--const Accordion = AccordionPrimitive.Root;--const AccordionItem = React.forwardRef<- React.ElementRef<typeof AccordionPrimitive.Item>,- React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>->(({ className, ...props }, ref) => (- <AccordionPrimitive.Item- ref={ref}- className={cn("border-b", className)}- {...props}- />-));-AccordionItem.displayName = "AccordionItem";--const AccordionTrigger = React.forwardRef<- React.ElementRef<typeof AccordionPrimitive.Trigger>,- React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>->(({ className, children, ...props }, ref) => (- <AccordionPrimitive.Header className="flex">- <AccordionPrimitive.Trigger- ref={ref}- className={cn(- "flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",- className,- )}- {...props}- >- {children}- <ChevronDown className="h-4 w-4 shrink-0 transition-transform duration-200" />- </AccordionPrimitive.Trigger>- </AccordionPrimitive.Header>-));-AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;--const AccordionContent = React.forwardRef<- React.ElementRef<typeof AccordionPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>->(({ className, children, ...props }, ref) => (- <AccordionPrimitive.Content- ref={ref}- className={cn(- "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all",- className,- )}- {...props}- >- <div className="pb-4 pt-0">{children}</div>- </AccordionPrimitive.Content>-));-AccordionContent.displayName = AccordionPrimitive.Content.displayName;--export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };diff --git a/packages/ui/src/components/alert-dialog.tsx b/packages/ui/src/components/alert-dialog.tsxdeleted file mode 100644index 4f69d36d4..000000000--- a/packages/ui/src/components/alert-dialog.tsx+++ /dev/null@@ -1,144 +0,0 @@-"use client";--import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";-import * as React from "react";--import { buttonVariants } from "../components/button";-import { cn } from "../lib/utils";--const AlertDialog = AlertDialogPrimitive.Root;--const AlertDialogTrigger = AlertDialogPrimitive.Trigger;--const AlertDialogPortal = ({- ...props-}: AlertDialogPrimitive.AlertDialogPortalProps) => (- <AlertDialogPrimitive.Portal {...props} />-);-AlertDialogPortal.displayName = AlertDialogPrimitive.Portal.displayName;--const AlertDialogOverlay = React.forwardRef<- React.ElementRef<typeof AlertDialogPrimitive.Overlay>,- React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>->(({ className, children, ...props }, ref) => (- <AlertDialogPrimitive.Overlay- className={cn(- "bg-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs",- className- )}- {...props}- ref={ref}- />-));-AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;--const AlertDialogContent = React.forwardRef<- React.ElementRef<typeof AlertDialogPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>->(({ className, ...props }, ref) => (- <AlertDialogPortal>- <AlertDialogOverlay />- <AlertDialogPrimitive.Content- ref={ref}- className={cn(- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",- className- )}- {...props}- />- </AlertDialogPortal>-));-AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;--const AlertDialogHeader = ({- className,- ...props-}: React.HTMLAttributes<HTMLDivElement>) => (- <div- className={cn(- "flex flex-col space-y-2 text-center sm:text-left",- className- )}- {...props}- />-);-AlertDialogHeader.displayName = "AlertDialogHeader";--const AlertDialogFooter = ({- className,- ...props-}: React.HTMLAttributes<HTMLDivElement>) => (- <div- className={cn(- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",- className- )}- {...props}- />-);-AlertDialogFooter.displayName = "AlertDialogFooter";--const AlertDialogTitle = React.forwardRef<- React.ElementRef<typeof AlertDialogPrimitive.Title>,- React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>->(({ className, ...props }, ref) => (- <AlertDialogPrimitive.Title- ref={ref}- className={cn("text-lg font-semibold", className)}- {...props}- />-));-AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;--const AlertDialogDescription = React.forwardRef<- React.ElementRef<typeof AlertDialogPrimitive.Description>,- React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>->(({ className, ...props }, ref) => (- <AlertDialogPrimitive.Description- ref={ref}- className={cn("text-muted-foreground text-sm", className)}- {...props}- />-));-AlertDialogDescription.displayName =- AlertDialogPrimitive.Description.displayName;--const AlertDialogAction = React.forwardRef<- React.ElementRef<typeof AlertDialogPrimitive.Action>,- React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>->(({ className, ...props }, ref) => (- <AlertDialogPrimitive.Action- ref={ref}- className={cn(buttonVariants(), className)}- {...props}- />-));-AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;--const AlertDialogCancel = React.forwardRef<- React.ElementRef<typeof AlertDialogPrimitive.Cancel>,- React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>->(({ className, ...props }, ref) => (- <AlertDialogPrimitive.Cancel- ref={ref}- className={cn(- buttonVariants({ variant: "outline" }),- "mt-2 sm:mt-0",- className- )}- {...props}- />-));-AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;--export {- AlertDialog,- AlertDialogTrigger,- AlertDialogContent,- AlertDialogHeader,- AlertDialogFooter,- AlertDialogTitle,- AlertDialogDescription,- AlertDialogAction,- AlertDialogCancel,-};diff --git a/packages/ui/src/components/alert.tsx b/packages/ui/src/components/alert.tsxdeleted file mode 100644index dc1a1fb9d..000000000--- a/packages/ui/src/components/alert.tsx+++ /dev/null@@ -1,60 +0,0 @@-import { cva } from "class-variance-authority";-import type { VariantProps } from "class-variance-authority";-import * as React from "react";--import { cn } from "../lib/utils";--const alertVariants = cva(- "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",- {- variants: {- variant: {- default: "bg-background text-foreground",- destructive:- "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",- },- },- defaultVariants: {- variant: "default",- },- }-);--const Alert = React.forwardRef<- HTMLDivElement,- React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>->(({ className, variant, ...props }, ref) => (- <div- ref={ref}- role="alert"- className={cn(alertVariants({ variant }), className)}- {...props}- />-));-Alert.displayName = "Alert";--const AlertTitle = React.forwardRef<- HTMLParagraphElement,- React.HTMLAttributes<HTMLHeadingElement>->(({ className, ...props }, ref) => (- <h5- ref={ref}- className={cn("mb-1 font-medium leading-none tracking-tight", className)}- {...props}- />-));-AlertTitle.displayName = "AlertTitle";--const AlertDescription = React.forwardRef<- HTMLParagraphElement,- React.HTMLAttributes<HTMLParagraphElement>->(({ className, ...props }, ref) => (- <div- ref={ref}- className={cn("text-sm [&_p]:leading-relaxed", className)}- {...props}- />-));-AlertDescription.displayName = "AlertDescription";--export { Alert, AlertTitle, AlertDescription };diff --git a/packages/ui/src/components/avatar.tsx b/packages/ui/src/components/avatar.tsxdeleted file mode 100644index 3b35718cc..000000000--- a/packages/ui/src/components/avatar.tsx+++ /dev/null@@ -1,50 +0,0 @@-"use client";--import * as AvatarPrimitive from "@radix-ui/react-avatar";-import * as React from "react";--import { cn } from "../lib/utils";--const Avatar = React.forwardRef<- React.ElementRef<typeof AvatarPrimitive.Root>,- React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>->(({ className, ...props }, ref) => (- <AvatarPrimitive.Root- ref={ref}- className={cn(- "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",- className,- )}- {...props}- />-));-Avatar.displayName = AvatarPrimitive.Root.displayName;--const AvatarImage = React.forwardRef<- React.ElementRef<typeof AvatarPrimitive.Image>,- React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>->(({ className, ...props }, ref) => (- <AvatarPrimitive.Image- ref={ref}- className={cn("aspect-square h-full w-full", className)}- {...props}- />-));-AvatarImage.displayName = AvatarPrimitive.Image.displayName;--const AvatarFallback = React.forwardRef<- React.ElementRef<typeof AvatarPrimitive.Fallback>,- React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>->(({ className, ...props }, ref) => (- <AvatarPrimitive.Fallback- ref={ref}- className={cn(- "bg-muted flex h-full w-full items-center justify-center rounded-full",- className,- )}- {...props}- />-));-AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;--export { Avatar, AvatarImage, AvatarFallback };diff --git a/packages/ui/src/components/badge.tsx b/packages/ui/src/components/badge.tsxdeleted file mode 100644index e9c26fe53..000000000--- a/packages/ui/src/components/badge.tsx+++ /dev/null@@ -1,36 +0,0 @@-import { cva } from "class-variance-authority";-import type { VariantProps } from "class-variance-authority";--import { cn } from "../lib/utils";--const badgeVariants = cva(- "inline-flex items-center border rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",- {- variants: {- variant: {- default:- "bg-primary hover:bg-primary/80 border-transparent text-primary-foreground",- secondary:- "bg-secondary hover:bg-secondary/80 border-transparent text-secondary-foreground",- destructive:- "bg-destructive hover:bg-destructive/80 border-transparent text-destructive-foreground",- outline: "text-foreground",- },- },- defaultVariants: {- variant: "default",- },- }-);--export interface BadgeProps- extends React.HTMLAttributes<HTMLDivElement>,- VariantProps<typeof badgeVariants> {}--function Badge({ className, variant, ...props }: BadgeProps) {- return (- <div className={cn(badgeVariants({ variant }), className)} {...props} />- );-}--export { Badge, badgeVariants };diff --git a/packages/ui/src/components/blocks/README.md b/packages/ui/src/components/blocks/README.mdnew file mode 100644index 000000000..ba7d982d8--- /dev/null+++ b/packages/ui/src/components/blocks/README.md@@ -0,0 +1 @@+> elements composed out ui primitives\ No newline at end of filediff --git a/packages/ui/src/components/blocks/example.tsx b/packages/ui/src/components/blocks/example.tsxnew file mode 100644index 000000000..09ce49eda--- /dev/null+++ b/packages/ui/src/components/blocks/example.tsx@@ -0,0 +1,20 @@+import { Button } from "@openstatus/ui/components/ui/button";+import {+ Card,+ CardContent,+ CardHeader,+ CardTitle,+} from "@openstatus/ui/components/ui/card";++export function ExampleBlock() {+ return (+ <Card>+ <CardHeader>+ <CardTitle>Example</CardTitle>+ </CardHeader>+ <CardContent>+ <Button>Click me</Button>+ </CardContent>+ </Card>+ );+}diff --git a/packages/ui/src/components/blocks/status-banner.tsx b/packages/ui/src/components/blocks/status-banner.tsxnew file mode 100644index 000000000..3bc4937be--- /dev/null+++ b/packages/ui/src/components/blocks/status-banner.tsx@@ -0,0 +1,223 @@+import {+ Tabs,+ TabsContent,+ TabsList,+ TabsTrigger,+} from "@openstatus/ui/components/ui/tabs";+import { cn } from "@openstatus/ui/lib/utils";+import { systemStatusLabels } from "@openstatus/ui/components/blocks/status.utils";+import { StatusIcon as UnifiedStatusIcon } from "@openstatus/ui/components/blocks/status-icon";+import type { StatusType } from "@openstatus/ui/components/blocks/status.types";+import { StatusTimestamp } from "@openstatus/ui/components/blocks/status-timestamp";++export function StatusBanner({+ className,+ status,+}: React.ComponentProps<"div"> & {+ status?: Exclude<StatusType, "empty">;+}) {+ return (+ <StatusBannerContainer+ status={status}+ className={cn(+ "flex items-center gap-3 px-3 py-2 sm:px-4 sm:py-3",+ "data-[status=success]:bg-success/20",+ "data-[status=degraded]:bg-warning/20",+ "data-[status=error]:bg-destructive/20",+ "data-[status=info]:bg-info/20",+ className,+ )}+ >+ <StatusBannerIcon className="flex-shrink-0" />+ <div className="flex flex-1 flex-wrap items-center justify-between gap-2">+ <StatusBannerMessage className="font-semibold text-xl" />+ <StatusTimestamp date={new Date()} className="text-xs" />+ </div>+ </StatusBannerContainer>+ );+}++export function StatusBannerContainer({+ className,+ children,+ status,+}: React.ComponentProps<"div"> & {+ status?: Exclude<StatusType, "empty">;+}) {+ return (+ <div+ data-slot="status-banner"+ data-status={status}+ className={cn(+ "group/status-banner overflow-hidden rounded-lg border",+ "data-[status=success]:border-success data-[status=success]:bg-success/5 dark:data-[status=success]:bg-success/10",+ "data-[status=degraded]:border-warning data-[status=degraded]:bg-warning/5 dark:data-[status=degraded]:bg-warning/10",+ "data-[status=error]:border-destructive data-[status=error]:bg-destructive/5 dark:data-[status=error]:bg-destructive/10",+ "data-[status=info]:border-info data-[status=info]:bg-info/5 dark:data-[status=info]:bg-info/10",+ className,+ )}+ >+ {children}+ </div>+ );+}++export function StatusBannerMessage({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className={cn(className)} {...props}>+ <span className="hidden group-data-[status=success]/status-banner:block">+ {systemStatusLabels.success.long}+ </span>+ <span className="hidden group-data-[status=degraded]/status-banner:block">+ {systemStatusLabels.degraded.long}+ </span>+ <span className="hidden group-data-[status=error]/status-banner:block">+ {systemStatusLabels.error.long}+ </span>+ <span className="hidden group-data-[status=info]/status-banner:block">+ {systemStatusLabels.info.long}+ </span>+ </div>+ );+}++export function StatusBannerTitle({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "px-3 py-2 font-medium text-background",+ "group-data-[status=success]/status-banner:bg-success",+ "group-data-[status=degraded]/status-banner:bg-warning",+ "group-data-[status=error]/status-banner:bg-destructive",+ "group-data-[status=info]/status-banner:bg-info",+ className,+ )}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusBannerContent({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn("flex flex-col gap-2 px-3 py-2 sm:px-4 sm:py-3", className)}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusBannerIcon({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <UnifiedStatusIcon variant="banner" className={className} {...props} />+ );+}++// Tabs Components++export function StatusBannerTabs({+ className,+ children,+ status,+ ...props+}: React.ComponentProps<typeof Tabs> & {+ status?: Exclude<StatusType, "empty">;+}) {+ return (+ <Tabs+ data-slot="status-banner-tabs"+ data-status={status}+ className={cn(+ "gap-0",+ "data-[status=success]:bg-success/20",+ "data-[status=degraded]:bg-warning/20",+ "data-[status=error]:bg-destructive/20",+ "data-[status=info]:bg-info/20",+ className,+ )}+ {...props}+ >+ {children}+ </Tabs>+ );+}++export function StatusBannerTabsList({+ className,+ children,+ ...props+}: React.ComponentProps<typeof TabsList>) {+ return (+ <div className={cn("rounded-t-lg", "w-full overflow-x-auto")}>+ <TabsList+ className={cn(+ "rounded-none rounded-t-lg p-0",+ "border-none",+ className,+ )}+ {...props}+ >+ {children}+ </TabsList>+ </div>+ );+}++export function StatusBannerTabsTrigger({+ className,+ children,+ status,+ ...props+}: React.ComponentProps<typeof TabsTrigger> & {+ status?: Exclude<StatusType, "empty">;+}) {+ return (+ <TabsTrigger+ data-slot="status-banner-tabs-trigger"+ data-status={status}+ className={cn(+ "font-mono",+ "rounded-none border-none focus-visible:ring-inset",+ "h-full text-foreground data-[state=active]:text-background dark:text-foreground dark:data-[state=active]:text-background",+ "data-[state=active]:data-[status=success]:bg-success data-[status=success]:bg-success/50 dark:data-[state=active]:data-[status=success]:bg-success dark:data-[status=success]:bg-success/50",+ "data-[state=active]:data-[status=degraded]:bg-warning data-[status=degraded]:bg-warning/50 dark:data-[state=active]:data-[status=degraded]:bg-warning dark:data-[status=degraded]:bg-warning/50",+ "data-[state=active]:data-[status=error]:bg-destructive data-[status=error]:bg-destructive/50 dark:data-[state=active]:data-[status=error]:bg-destructive dark:data-[status=error]:bg-destructive/50",+ "data-[state=active]:data-[status=info]:bg-info data-[status=info]:bg-info/50 dark:data-[state=active]:data-[status=info]:bg-info dark:data-[status=info]:bg-info/50",+ "data-[state=active]:shadow-none",+ className,+ )}+ {...props}+ >+ {children}+ </TabsTrigger>+ );+}++export function StatusBannerTabsContent({+ className,+ children,+ ...props+}: React.ComponentProps<typeof TabsContent>) {+ return (+ <TabsContent className={cn("-mx-3", className)} {...props}>+ {children}+ </TabsContent>+ );+}diff --git a/packages/ui/src/components/blocks/status-bar.tsx b/packages/ui/src/components/blocks/status-bar.tsxnew file mode 100644index 000000000..189306f4d--- /dev/null+++ b/packages/ui/src/components/blocks/status-bar.tsx@@ -0,0 +1,588 @@+"use client";++import {+ HoverCard,+ HoverCardContent,+ HoverCardTrigger,+} from "@openstatus/ui/components/ui/hover-card";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import { useMediaQuery } from "@openstatus/ui/hooks/use-media-query";+import { cn } from "@openstatus/ui/lib/utils";+import { formatDistanceStrict } from "date-fns";+import { useCallback, useEffect, useRef, useState, forwardRef } from "react";+import {+ statusColors,+ formatDateRange,+ requestStatusLabels,+} from "@openstatus/ui/components/blocks/status.utils";+import type {+ StatusBarData,+ StatusEventType,+ StatusType,+} from "@openstatus/ui/components/blocks/status.types";++interface StatusBarProps {+ data: StatusBarData[];+ renderCard?: (+ data: StatusBarData["card"][number],+ index: number,+ ) => React.ReactNode;+ renderBar?: (+ data: StatusBarData["bar"][number],+ index: number,+ ) => React.ReactNode;+ renderEvent?: (+ data: StatusBarData["events"][number],+ index: number,+ ) => React.ReactNode;+}++interface UseStatusBarProps {+ dataLength: number;+ isTouch: boolean;+}++type InteractionType = "pin" | "hover" | "focus" | null;++/**+ * Custom hook to manage StatusBar state and interactions+ * Provides headless logic for keyboard navigation, mouse/touch interactions, and focus management+ */+function useStatusBar({ dataLength, isTouch }: UseStatusBarProps) {+ const [activeIndex, setActiveIndex] = useState<number | null>(null);+ const [interactionType, setInteractionType] = useState<InteractionType>(null);+ const buttonRefs = useRef<(HTMLElement | null)[]>([]);+ const hoverTimeoutRef = useRef<NodeJS.Timeout | null>(null);+ const containerRef = useRef<HTMLDivElement>(null);++ // Clear hover timeout on unmount+ useEffect(() => {+ return () => {+ if (hoverTimeoutRef.current) {+ clearTimeout(hoverTimeoutRef.current);+ }+ };+ }, []);++ // Handle clicks outside to close pinned card+ useEffect(() => {+ if (interactionType !== "pin" || activeIndex === null) return;++ const handleOutsideClick = (e: MouseEvent) => {+ if (+ containerRef.current &&+ !containerRef.current.contains(e.target as Node)+ ) {+ setActiveIndex(null);+ setInteractionType(null);+ }+ };++ document.addEventListener("mousedown", handleOutsideClick);+ return () => document.removeEventListener("mousedown", handleOutsideClick);+ }, [interactionType, activeIndex]);++ const clearHoverTimeout = useCallback(() => {+ if (hoverTimeoutRef.current) {+ clearTimeout(hoverTimeoutRef.current);+ hoverTimeoutRef.current = null;+ }+ }, []);++ const handleClick = useCallback(+ (index: number) => {+ clearHoverTimeout();+ setActiveIndex((prev) => {+ if (prev === index) {+ setInteractionType(null);+ return null;+ }+ setInteractionType("pin");+ return index;+ });+ },+ [clearHoverTimeout],+ );++ const handleHoverStart = useCallback(+ (index: number) => {+ // On touch devices, don't show hover state+ if (isTouch) return;++ clearHoverTimeout();+ setActiveIndex(index);+ setInteractionType("hover");+ },+ [isTouch, clearHoverTimeout],+ );++ const handleHoverEnd = useCallback(() => {+ // Only clear hover state, not pinned or focused+ if (interactionType !== "hover") return;++ hoverTimeoutRef.current = setTimeout(() => {+ setActiveIndex(null);+ setInteractionType(null);+ }, 100);+ }, [interactionType]);++ const handleFocus = useCallback((index: number) => {+ setActiveIndex(index);+ setInteractionType("focus");+ }, []);++ const handleBlur = useCallback((e: React.FocusEvent) => {+ // Only clear if not moving to another bar+ const relatedTarget = e.relatedTarget as HTMLElement;+ const isMovingToAnotherBar =+ relatedTarget &&+ relatedTarget.closest('[role="toolbar"]') === containerRef.current &&+ relatedTarget.getAttribute("role") === "button";++ if (!isMovingToAnotherBar) {+ setActiveIndex(null);+ setInteractionType(null);+ }+ }, []);++ const handleKeyDown = useCallback(+ (e: React.KeyboardEvent, currentIndex: number) => {+ switch (e.key) {+ case "Escape":+ e.preventDefault();+ setActiveIndex(null);+ setInteractionType(null);+ clearHoverTimeout();+ buttonRefs.current[currentIndex]?.blur();+ break;++ case "ArrowLeft":+ e.preventDefault();+ {+ const newIndex =+ currentIndex > 0 ? currentIndex - 1 : dataLength - 1;+ buttonRefs.current[newIndex]?.focus();+ }+ break;++ case "ArrowRight":+ e.preventDefault();+ {+ const newIndex =+ currentIndex < dataLength - 1 ? currentIndex + 1 : 0;+ buttonRefs.current[newIndex]?.focus();+ }+ break;++ case "ArrowUp":+ e.preventDefault();+ {+ // Navigate to previous monitor's status bar+ const prevMonitor = containerRef.current?.closest(+ '[data-slot="status-monitor"]',+ )?.previousElementSibling;+ if (prevMonitor) {+ const prevBar = prevMonitor.querySelector('[role="toolbar"]');+ if (prevBar) {+ const prevButtons = prevBar.querySelectorAll('[role="button"]');+ const targetButton = prevButtons[currentIndex] as HTMLElement;+ targetButton?.focus();+ }+ }+ }+ break;++ case "ArrowDown":+ e.preventDefault();+ {+ // Navigate to next monitor's status bar+ const nextMonitor = containerRef.current?.closest(+ '[data-slot="status-monitor"]',+ )?.nextElementSibling;+ if (nextMonitor) {+ const nextBar = nextMonitor.querySelector('[role="toolbar"]');+ if (nextBar) {+ const nextButtons = nextBar.querySelectorAll('[role="button"]');+ const targetButton = nextButtons[currentIndex] as HTMLElement;+ targetButton?.focus();+ }+ }+ }+ break;++ case "Enter":+ case " ":+ e.preventDefault();+ handleClick(currentIndex);+ break;+ }+ },+ [dataLength, clearHoverTimeout, handleClick],+ );++ const setButtonRef = useCallback((index: number, el: HTMLElement | null) => {+ buttonRefs.current[index] = el;+ }, []);++ return {+ activeIndex,+ isOpen: activeIndex !== null,+ interactionType,+ containerRef,+ handlers: {+ onClick: handleClick,+ onHoverStart: handleHoverStart,+ onHoverEnd: handleHoverEnd,+ onHoverCardEnter: clearHoverTimeout,+ onHoverCardLeave: () => {+ setActiveIndex(null);+ setInteractionType(null);+ },+ onFocus: handleFocus,+ onBlur: handleBlur,+ onKeyDown: handleKeyDown,+ },+ setButtonRef,+ };+}++/**+ * StatusBar - An interactive status timeline component+ *+ * Displays a timeline of status data with interactive hover cards showing detailed information.+ * Supports keyboard navigation, mouse hover, and touch interactions.+ *+ * @example+ * ```tsx+ * <StatusBar data={statusData} />+ * ```+ *+ * @example+ * ```tsx+ * // With custom renderers+ * <StatusBar+ * data={statusData}+ * renderCard={(card, index) => <CustomCard {...card} />}+ * renderBar={(bar, index) => <CustomBar {...bar} />}+ * renderEvent={(event, index) => <CustomEvent {...event} />}+ * />+ * ```+ */+export function StatusBar({+ data,+ renderCard,+ renderBar,+ renderEvent,+}: StatusBarProps) {+ const isTouch = useMediaQuery("(hover: none)");+ const { activeIndex, interactionType, containerRef, handlers, setButtonRef } =+ useStatusBar({+ dataLength: data.length,+ isTouch,+ });++ return (+ <div+ ref={containerRef}+ className="flex h-[50px] w-full items-end"+ role="toolbar"+ aria-label="Status tracker"+ >+ {data.map((item, index) => {+ const isActive = activeIndex === index;+ const isPinned = isActive && interactionType === "pin";++ return (+ <StatusBarItem+ key={item.day}+ ref={(el) => setButtonRef(index, el)}+ index={index}+ item={item}+ isActive={isActive}+ isPinned={isPinned}+ isTouch={isTouch}+ isLastItem={index === data.length - 1}+ handlers={handlers}+ renderCard={renderCard}+ renderBar={renderBar}+ renderEvent={renderEvent}+ />+ );+ })}+ </div>+ );+}++interface StatusBarItemProps {+ index: number;+ item: StatusBarData;+ isActive: boolean;+ isPinned: boolean;+ isTouch: boolean;+ isLastItem: boolean;+ handlers: ReturnType<typeof useStatusBar>["handlers"];+ renderCard?: StatusBarProps["renderCard"];+ renderBar?: StatusBarProps["renderBar"];+ renderEvent?: StatusBarProps["renderEvent"];+}++const StatusBarItem = forwardRef<HTMLDivElement, StatusBarItemProps>(+ (+ {+ index,+ item,+ isActive,+ isPinned,+ isTouch,+ isLastItem,+ handlers,+ renderCard,+ renderBar,+ renderEvent,+ },+ ref,+ ) => {+ return (+ <HoverCard openDelay={0} closeDelay={0} open={isActive}>+ <HoverCardTrigger asChild>+ <div+ ref={ref}+ className={cn(+ "group relative mx-px flex h-full w-full cursor-pointer flex-col rounded-full outline-none first:ml-0 last:mr-0 hover:opacity-80 focus-visible:opacity-80 focus-visible:ring-[2px] focus-visible:ring-ring/50 data-[aria-pressed=true]:opacity-80",+ "overflow-hidden rounded-full",+ )}+ onClick={() => handlers.onClick(index)}+ onFocus={() => handlers.onFocus(index)}+ onBlur={handlers.onBlur}+ onMouseEnter={() => handlers.onHoverStart(index)}+ onMouseLeave={handlers.onHoverEnd}+ onKeyDown={(e) => handlers.onKeyDown(e, index)}+ tabIndex={isLastItem && !isActive ? 0 : isActive ? 0 : -1}+ role="button"+ aria-label={`Day ${index + 1} status`}+ aria-pressed={isPinned}+ aria-expanded={isActive}+ >+ {/* Render bar segments */}+ {item.bar.map((segment, segmentIndex) => {+ if (renderBar) {+ return renderBar(segment, segmentIndex);+ }+ return (+ <div+ key={`${item.day}-${segment.status}-${segmentIndex}`}+ className={cn("w-full transition-all", {+ "rounded-t-full": segmentIndex === 0,+ "rounded-b-full": segmentIndex === item.bar.length - 1,+ })}+ style={{+ height: `${segment.height}%`,+ backgroundColor: statusColors[segment.status],+ }}+ />+ );+ })}+ </div>+ </HoverCardTrigger>+ <HoverCardContent+ side="top"+ align="center"+ className="w-auto min-w-40 p-0"+ onMouseEnter={handlers.onHoverCardEnter}+ onMouseLeave={handlers.onHoverCardLeave}+ onPointerDownOutside={(e) => {+ // Prevent closing on touch devices when clicking the card+ if (isTouch) {+ e.preventDefault();+ }+ }}+ >+ <StatusBarCard+ item={item}+ isPinned={isPinned}+ isTouch={isTouch}+ renderCard={renderCard}+ renderEvent={renderEvent}+ />+ </HoverCardContent>+ </HoverCard>+ );+ },+);++StatusBarItem.displayName = "StatusBarItem";++interface StatusBarCardProps {+ item: StatusBarData;+ isPinned: boolean;+ isTouch: boolean;+ renderCard?: StatusBarProps["renderCard"];+ renderEvent?: StatusBarProps["renderEvent"];+}++/**+ * StatusBarCard - The hover card content for a status bar item+ */+function StatusBarCard({+ item,+ isPinned,+ isTouch,+ renderCard,+ renderEvent,+}: StatusBarCardProps) {+ return (+ <div>+ <div className="p-2 text-xs">+ {new Date(item.day).toLocaleDateString("default", {+ day: "numeric",+ month: "short",+ year: "numeric",+ })}+ </div>+ <Separator />+ <div className="space-y-1 p-2 text-sm">+ {item.card.map((cardItem, cardIndex) => {+ if (renderCard) {+ return renderCard(cardItem, cardIndex);+ }+ return (+ <StatusBarContent+ key={`${item.day}-card-${cardIndex}`}+ status={cardItem.status}+ value={cardItem.value}+ />+ );+ })}+ </div>+ {item.events.length > 0 && (+ <>+ <Separator />+ <div className="p-2">+ {item.events.map((event, eventIndex) => {+ if (renderEvent) {+ return renderEvent(event, eventIndex);+ }+ return (+ <StatusBarEvent+ key={`${event.id}-${event.type}`}+ type={event.type}+ name={event.name}+ from={event.from}+ to={event.to}+ />+ );+ })}+ </div>+ </>+ )}+ {isPinned && !isTouch && (+ <>+ <Separator />+ <div className="flex cursor-pointer items-center p-2 text-muted-foreground text-xs">+ <span>Click again to unpin</span>+ <kbd className="ml-auto inline-flex h-5 max-h-5 min-w-5 items-center justify-center rounded border border-input bg-background px-1.5 font-mono text-[10px] font-medium text-muted-foreground">+ Esc+ </kbd>+ </div>+ </>+ )}+ </div>+ );+}++export function StatusBarSkeleton({+ className,+ ...props+}: React.ComponentProps<typeof Skeleton>) {+ return (+ <Skeleton+ className={cn("h-[50px] w-full rounded-none bg-muted", className)}+ {...props}+ />+ );+}++function StatusBarContent({+ status,+ value,+}: {+ status: StatusType;+ value: string;+}) {+ return (+ <div className="flex items-baseline gap-4">+ <div className="flex items-center gap-2">+ <div+ className="h-2.5 w-2.5 rounded-sm"+ style={{+ backgroundColor: statusColors[status],+ }}+ />+ <div className="text-sm">{requestStatusLabels[status]}</div>+ </div>+ <div className="ml-auto font-mono text-muted-foreground text-xs tracking-tight">+ {value}+ </div>+ </div>+ );+}++/**+ * StatusBarEvent - Displays an event badge in the status bar card+ */+export function StatusBarEvent({+ name,+ from,+ to,+ type,+}: {+ name: string;+ from?: Date | null;+ to?: Date | null;+ type: StatusEventType;+}) {+ if (!from) return null;++ const status =+ type === "incident" ? "error" : type === "report" ? "degraded" : "info";++ return (+ <div className="group relative text-sm">+ {/* NOTE: this is to make the text truncate based on the width of the sibling element */}+ {/* REMINDER: height needs to be equal the text height */}+ <div className="h-4 w-full" />+ <div className="absolute inset-0 text-muted-foreground hover:text-foreground">+ <div className="flex items-center gap-2">+ <div+ className="h-2.5 w-2.5 shrink-0 rounded-sm"+ style={{+ backgroundColor: statusColors[status],+ }}+ />+ <div className="truncate">{name}</div>+ </div>+ </div>+ <div className="mt-1 text-muted-foreground text-xs">+ {formatDateRange(from, to ?? undefined)}{" "}+ <span className="ml-1.5 font-mono text-muted-foreground/70">+ {formatDuration({ from, to, name, type })}+ </span>+ </div>+ </div>+ );+}++const formatDuration = ({+ from,+ to,+ name,+}: React.ComponentProps<typeof StatusBarEvent>) => {+ if (!from) return null;+ if (!to) return "ongoing";+ const duration = formatDistanceStrict(from, to);+ const isMultipleIncidents = name.includes("Downtime (");+ if (isMultipleIncidents) return `across ${duration}`;+ if (duration === "0 seconds") return null;+ return duration;+};diff --git a/packages/ui/src/components/blocks/status-blank.tsx b/packages/ui/src/components/blocks/status-blank.tsxnew file mode 100644index 000000000..592f7282e--- /dev/null+++ b/packages/ui/src/components/blocks/status-blank.tsx@@ -0,0 +1,240 @@+import { cn } from "@openstatus/ui/lib/utils";++export function StatusBlankContainer({+ children,+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "flex flex-col items-center justify-center gap-2.5 rounded-lg border bg-muted/30 px-3 py-2 text-center sm:px-8 sm:py-6",+ className,+ )}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusBlankTitle({+ children,+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className={cn("font-medium", className)} {...props}>+ {children}+ </div>+ );+}++export function StatusBlankDescription({+ children,+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn("font-mono text-muted-foreground text-sm", className)}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusBlankContent({+ children,+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className={cn("space-y-1", className)} {...props}>+ {children}+ </div>+ );+}++export function StatusBlankReport({ ...props }: React.ComponentProps<"div">) {+ return (+ <StatusBlankPage {...props}>+ <StatusBlankPageHeader />+ <div className="flex w-full flex-col">+ <StatusBlankReportUpdate />+ <StatusBlankReportUpdate />+ </div>+ <StatusBlankOverlay />+ </StatusBlankPage>+ );+}++export function StatusBlankMonitor({ ...props }: React.ComponentProps<"div">) {+ return (+ <StatusBlankPage {...props}>+ <StatusBlankPageHeader />+ <StatusBlankMonitorUptime />+ <StatusBlankOverlay />+ </StatusBlankPage>+ );+}++export function StatusBlankPage({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "relative flex w-full max-w-xs flex-1 flex-col items-center justify-center gap-4 overflow-hidden rounded-lg border border-border/70 bg-background px-3 py-2 text-center",+ className,+ )}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusBlankPageHeader({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "flex w-full items-center justify-between gap-4",+ className,+ )}+ {...props}+ >+ <div className="size-3 rounded-sm bg-accent/60" />+ <div className="flex flex-row gap-1">+ <div className="h-3 w-8 rounded-sm bg-accent/60" />+ <div className="h-3 w-8 rounded-sm bg-accent/60" />+ <div className="h-3 w-8 rounded-sm bg-accent/60" />+ </div>+ <div className="h-3 w-8 rounded-sm bg-accent/60" />+ </div>+ );+}++export function StatusBlankMonitorUptime({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "flex w-full flex-col items-center justify-between gap-1",+ className,+ )}+ {...props}+ >+ <div className="flex w-full flex-row gap-1">+ <div className="h-3 w-8 rounded-sm bg-accent" />+ <div className="h-3 w-12 rounded-sm bg-accent" />+ <div className="h-3 w-10 rounded-sm bg-accent" />+ </div>+ <div className="flex w-full flex-row items-end gap-0.5">+ {Array.from({ length: 30 }).map((_, index) => (+ <div+ key={index}+ className={cn(+ "h-12 flex-1 rounded-sm bg-accent",+ [10, 20].includes(index) && "h-8",+ [25].includes(index) && "h-10",+ )}+ />+ ))}+ </div>+ </div>+ );+}++export function StatusBlankReportUpdate({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className={cn("flex w-full items-start gap-2", className)} {...props}>+ <div className="flex h-full flex-col items-center gap-0.5">+ <div className="size-3 rounded-sm bg-accent" />+ </div>+ <div className="flex flex-1 flex-col gap-1 pb-2">+ <div className="flex items-center gap-1">+ <div className="h-3 w-12 rounded-sm bg-accent" />+ <div className="h-3 w-16 rounded-sm bg-accent" />+ </div>+ <div className="h-3 w-full rounded-sm bg-accent" />+ <div className="h-3 w-full rounded-sm bg-accent" />+ </div>+ </div>+ );+}++export function StatusBlankOverlay({+ children,+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "absolute inset-0 flex flex-col items-center justify-center gap-2 bg-gradient-to-b from-40% from-transparent to-background p-2",+ className,+ )}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusBlankEvents({+ title = "No reports found",+ description = "No reports found for this status page.",+ ...props+}: React.ComponentProps<typeof StatusBlankContainer> & {+ title?: string;+ description?: string;+}) {+ return (+ <StatusBlankContainer {...props}>+ <div className="relative mt-8 flex w-full flex-col items-center justify-center">+ <StatusBlankReport className="-top-16 absolute scale-60 opacity-50" />+ <StatusBlankReport className="-top-8 absolute scale-80 opacity-80" />+ <StatusBlankReport />+ </div>+ <StatusBlankContent>+ <StatusBlankTitle>{title}</StatusBlankTitle>+ <StatusBlankDescription>{description}</StatusBlankDescription>+ </StatusBlankContent>+ </StatusBlankContainer>+ );+}++export function StatusBlankMonitors({+ title = "No public monitors",+ description = "No public monitors have been added to this page.",+ ...props+}: React.ComponentProps<typeof StatusBlankContainer> & {+ title?: string;+ description?: string;+}) {+ return (+ <StatusBlankContainer {...props}>+ <div className="relative mt-8 flex w-full flex-col items-center justify-center">+ <StatusBlankMonitor className="-top-16 absolute scale-60 opacity-50" />+ <StatusBlankMonitor className="-top-8 absolute scale-80 opacity-80" />+ <StatusBlankMonitor />+ </div>+ <StatusBlankContent>+ <StatusBlankTitle>{title}</StatusBlankTitle>+ <StatusBlankDescription>{description}</StatusBlankDescription>+ </StatusBlankContent>+ </StatusBlankContainer>+ );+}diff --git a/packages/ui/src/components/blocks/status-component-group.tsx b/packages/ui/src/components/blocks/status-component-group.tsxnew file mode 100644index 000000000..5ce8a8de7--- /dev/null+++ b/packages/ui/src/components/blocks/status-component-group.tsx@@ -0,0 +1,73 @@+"use client";++import {+ Collapsible,+ CollapsibleContent,+ CollapsibleTrigger,+} from "@openstatus/ui/components/ui/collapsible";+import { cn } from "@openstatus/ui/lib/utils";+import { useEffect, useState } from "react";+import {+ StatusComponentIcon,+ StatusComponentStatus,+} from "@openstatus/ui/components/blocks/status-component";+import type { StatusType } from "@openstatus/ui/components/blocks/status.types";++export function StatusComponentGroup({+ children,+ title,+ status,+ className,+ defaultOpen = false,+ ...props+}: React.ComponentProps<typeof CollapsibleTrigger> & {+ title: string;+ status?: Exclude<StatusType, "empty">;+ children?: React.ReactNode;+ defaultOpen?: boolean;+}) {+ const [mounted, setMounted] = useState(false);++ useEffect(() => {+ setMounted(true);+ }, []);++ return (+ <Collapsible+ defaultOpen={defaultOpen}+ className={cn(+ "-mx-3",+ "rounded-lg border border-transparent bg-muted/50 hover:border-border/50 data-[state=open]:border-border/50 data-[state=open]:bg-muted/50",+ className,+ )}+ >+ <CollapsibleTrigger+ className={cn(+ "group/component flex w-full items-center justify-between gap-2 rounded-lg px-3 py-2 font-medium font-mono",+ "cursor-pointer",+ className,+ )}+ data-variant={status}+ aria-label={`Toggle ${title} status details`}+ {...props}+ >+ {title}+ <div className="flex items-center gap-2">+ <StatusComponentStatus className="text-sm" />+ <StatusComponentIcon />+ </div>+ </CollapsibleTrigger>+ <CollapsibleContent+ data-animate={mounted}+ className={cn(+ "flex flex-col gap-3 border-border/50 border-t px-3 py-2",+ "overflow-hidden",+ // REMINDER: otherwise, if defaultOpen is true, the animation will be triggered and we have a layout shift+ "data-[animate=true]:data-[state=closed]:animate-collapsible-up data-[animate=true]:data-[state=open]:animate-collapsible-down",+ )}+ >+ {children}+ </CollapsibleContent>+ </Collapsible>+ );+}diff --git a/packages/ui/src/components/blocks/status-component.tsx b/packages/ui/src/components/blocks/status-component.tsxnew file mode 100644index 000000000..10324962b--- /dev/null+++ b/packages/ui/src/components/blocks/status-component.tsx@@ -0,0 +1,163 @@+"use client";++import { Skeleton } from "@openstatus/ui/components/ui/skeleton";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@openstatus/ui/components/ui/tooltip";+import { useMediaQuery } from "@openstatus/ui/hooks/use-media-query";+import { cn } from "@openstatus/ui/lib/utils";+import { formatDistanceToNowStrict } from "date-fns";+import { InfoIcon } from "lucide-react";+import { useState } from "react";+import { StatusIcon as UnifiedStatusIcon } from "@openstatus/ui/components/blocks/status-icon";+import type { StatusBarData } from "@openstatus/ui/components/blocks/status.types";+import { systemStatusLabels } from "@openstatus/ui/components/blocks/status.utils";++// NOTE: The main StatusComponent composed component has been removed - it contained business logic+// The app should compose these primitives based on its own business logic++// maybe add a StatusComponent as example how to use the primitives++export function StatusComponentTitle({+ children,+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "truncate font-medium font-mono text-base text-foreground leading-5",+ className,+ )}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusComponentDescription({+ onClick,+ children,+ ...props+}: React.ComponentProps<typeof TooltipTrigger>) {+ const isTouch = useMediaQuery("(hover: none)");+ const [open, setOpen] = useState(false);++ if (!children) return null;++ return (+ <TooltipProvider delayDuration={0}>+ <Tooltip open={open} onOpenChange={setOpen}>+ <TooltipTrigger+ onClick={(e) => {+ if (isTouch) setOpen((prev) => !prev);+ onClick?.(e);+ }}+ className="rounded-full"+ {...props}+ >+ <InfoIcon className="size-4 text-muted-foreground" />+ </TooltipTrigger>+ <TooltipContent>+ <p>{children}</p>+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ );+}++export function StatusComponentIcon({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <UnifiedStatusIcon variant="component" className={className} {...props} />+ );+}++export function StatusComponentFooter({+ data,+ isLoading,+}: {+ data: StatusBarData[];+ isLoading?: boolean;+}) {+ return (+ <div className="flex flex-row items-center justify-between font-mono text-muted-foreground text-xs leading-none">+ <div>+ {isLoading ? (+ <Skeleton className="h-3 w-18" />+ ) : data.length > 0 ? (+ formatDistanceToNowStrict(new Date(data[0].day), {+ unit: "day",+ addSuffix: true,+ })+ ) : (+ "-"+ )}+ </div>+ <div>today</div>+ </div>+ );+}++export function StatusComponentUptime({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ {...props}+ className={cn(+ "font-mono text-foreground/80 text-sm leading-none",+ className,+ )}+ >+ {children}+ </div>+ );+}++export function StatusComponentUptimeSkeleton({+ className,+ ...props+}: React.ComponentProps<typeof Skeleton>) {+ return <Skeleton className={cn("h-4 w-16", className)} {...props} />;+}++export function StatusComponentStatus({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "font-mono text-sm leading-none",+ "group-data-[variant=success]/component:text-success",+ "group-data-[variant=degraded]/component:text-warning",+ "group-data-[variant=error]/component:text-destructive",+ "group-data-[variant=info]/component:text-info",+ className,+ )}+ {...props}+ >+ <span className="hidden group-data-[variant=success]/component:block">+ {systemStatusLabels.success.short}+ </span>+ <span className="hidden group-data-[variant=degraded]/component:block">+ {systemStatusLabels.degraded.short}+ </span>+ <span className="hidden group-data-[variant=error]/component:block">+ {systemStatusLabels.error.short}+ </span>+ <span className="hidden group-data-[variant=info]/component:block">+ {systemStatusLabels.info.short}+ </span>+ </div>+ );+}diff --git a/packages/ui/src/components/blocks/status-events.tsx b/packages/ui/src/components/blocks/status-events.tsxnew file mode 100644index 000000000..ca050a578--- /dev/null+++ b/packages/ui/src/components/blocks/status-events.tsx@@ -0,0 +1,432 @@+import { Badge } from "@openstatus/ui/components/ui/badge";+import { Separator } from "@openstatus/ui/components/ui/separator";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@openstatus/ui/components/ui/tooltip";+import { cn } from "@openstatus/ui/lib/utils";+import { formatDistanceStrict } from "date-fns";+import { Check } from "lucide-react";+import {+ formatDateRange,+ incidentStatusLabels,+ formatDate,+ formatDateTime,+} from "@openstatus/ui/components/blocks/status.utils";+import type { StatusReportUpdateType } from "@openstatus/ui/components/blocks/status.types";+import { StatusTimestamp } from "@openstatus/ui/components/blocks/status-timestamp";++export function StatusEventGroup({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn("flex flex-col gap-4", className)}+ role="feed"+ aria-label="Status events and updates"+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusEvent({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className={cn("relative flex flex-col gap-2", className)} {...props}>+ {children}+ </div>+ );+}++export function StatusEventContent({+ className,+ hoverable = true,+ children,+ ...props+}: React.ComponentProps<"div"> & {+ hoverable?: boolean;+}) {+ return (+ <div+ data-hoverable={hoverable}+ className={cn(+ "group -mx-3 -my-2 flex flex-col gap-2 rounded-lg border border-transparent px-3 py-2",+ "data-[hoverable=true]:hover:cursor-pointer data-[hoverable=true]:hover:border-border/50 data-[hoverable=true]:hover:bg-muted/50",+ className,+ )}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusEventTitle({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className={cn("font-medium", className)} {...props}>+ {children}+ </div>+ );+}++export function StatusEventTitleCheck({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className={cn("flex items-center pl-1", className)} {...props}>+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger aria-label="Report resolved">+ <div className="rounded-full border border-success/20 bg-success/10 p-0.5 text-success">+ <Check className="size-3 shrink-0" aria-hidden="true" />+ </div>+ </TooltipTrigger>+ <TooltipContent>+ <p>Report resolved</p>+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ </div>+ );+}++export function StatusEventAffected({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className={cn("flex flex-wrap gap-1", className)} {...props}>+ {children}+ </div>+ );+}++export function StatusEventAffectedBadge({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <Badge+ variant="secondary"+ className={cn("text-[10px]", className)}+ {...props}+ >+ {children}+ </Badge>+ );+}++export function StatusEventDate({+ className,+ date,+ ...props+}: React.ComponentProps<"div"> & {+ date: Date;+}) {+ const isFuture = date > new Date();+ const distance = formatDistanceStrict(date, new Date(), { addSuffix: true });+ return (+ <div className={cn("flex gap-2 lg:flex-col", className)} {...props}>+ <div className="font-medium text-foreground">+ {formatDate(date, { month: "short" })}+ </div>{" "}+ <Badge+ variant="secondary"+ className={cn(+ "text-[10px]",+ isFuture ? "bg-info text-background dark:text-foreground" : "",+ )}+ >+ {distance}+ </Badge>+ </div>+ );+}++export function StatusEventAside({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div className="lg:-left-32 border border-transparent lg:absolute lg:top-0 lg:h-full">+ <div className={cn("lg:sticky lg:top-0 lg:left-0", className)} {...props}>+ {children}+ </div>+ </div>+ );+}++interface StatusReportUpdate {+ date: Date;+ message: string;+ status: StatusReportUpdateType;+}++export function StatusEventTimelineReport({+ className,+ updates,+ withDot = true,+ maxUpdates,+ ...props+}: React.ComponentProps<"div"> & {+ updates: StatusReportUpdate[];+ withDot?: boolean;+ maxUpdates?: number;+}) {+ const sortedUpdates = [...updates].sort(+ (a, b) => b.date.getTime() - a.date.getTime(),+ );+ const displayedUpdates = maxUpdates+ ? sortedUpdates.slice(0, maxUpdates)+ : sortedUpdates;++ return (+ <div className={cn("text-muted-foreground text-sm", className)} {...props}>+ {/* NOTE: make sure they are sorted by date */}+ {displayedUpdates.map((update, index) => {+ const updateDate = new Date(update.date);+ let durationText: string | undefined;++ if (index === 0) {+ const startedAt = new Date(+ sortedUpdates[sortedUpdates.length - 1].date,+ );+ const duration = formatDistanceStrict(startedAt, updateDate);++ if (duration !== "0 seconds" && update.status === "resolved") {+ durationText = `(in ${duration})`;+ }+ } else {+ const lastUpdateDate = new Date(displayedUpdates[index - 1].date);+ const timeFromLast = formatDistanceStrict(updateDate, lastUpdateDate);+ durationText = `(${timeFromLast} earlier)`;+ }++ return (+ <StatusEventTimelineReportUpdate+ key={index}+ report={update}+ duration={durationText}+ withSeparator={index !== displayedUpdates.length - 1}+ withDot={withDot}+ isLast={index === displayedUpdates.length - 1}+ />+ );+ })}+ </div>+ );+}++export function StatusEventTimelineReportUpdate({+ report,+ duration,+ withSeparator = true,+ withDot = true,+ isLast = false,+}: {+ report: StatusReportUpdate;+ withSeparator?: boolean;+ duration?: string;+ withDot?: boolean;+ isLast?: boolean;+}) {+ return (+ <div data-variant={report.status} className="group">+ <div className="flex flex-row items-center justify-between gap-2">+ <div className="flex flex-row gap-4">+ {withDot ? (+ <div className="flex flex-col">+ <div className="flex h-5 flex-col items-center justify-center">+ <StatusEventTimelineDot />+ </div>+ {withSeparator ? <StatusEventTimelineSeparator /> : null}+ </div>+ ) : null}+ <div className={cn(isLast ? "mb-0" : "mb-2")}>+ <StatusEventTimelineTitle>+ <span>{incidentStatusLabels[report.status]}</span>{" "}+ <span className="text-muted-foreground/70">·</span>{" "}+ <span className="font-mono text-muted-foreground text-xs">+ <StatusTimestamp date={report.date} variant="rich" asChild>+ <span>{formatDateTime(report.date)}</span>+ </StatusTimestamp>+ </span>{" "}+ {duration ? (+ <span className="font-mono text-muted-foreground/70 text-xs">+ {duration}+ </span>+ ) : null}+ </StatusEventTimelineTitle>+ <StatusEventTimelineMessage>+ {report.message.trim() === "" ? (+ <span className="text-muted-foreground/70">-</span>+ ) : (+ // NOTE: App should wrap this with ProcessMessage if needed+ <span>{report.message}</span>+ )}+ </StatusEventTimelineMessage>+ </div>+ </div>+ </div>+ </div>+ );+}++interface StatusMaintenanceUpdate {+ title: string;+ message: string;+ from: Date;+ to: Date;+}++export function StatusEventTimelineMaintenance({+ maintenance,+ withDot = true,+}: {+ maintenance: StatusMaintenanceUpdate;+ withDot?: boolean;+}) {+ const duration = formatDistanceStrict(maintenance.from, maintenance.to);+ const range = formatDateRange(maintenance.from, maintenance.to);+ // NOTE: because formatDateRange is sure to return a range, we can split it into two dates+ const [from, to] = range.split(" - ");+ return (+ <div data-variant="maintenance" className="group">+ <div className="flex flex-row items-center justify-between gap-2">+ <div className="flex flex-row gap-4">+ {withDot ? (+ <div className="flex flex-col">+ <div className="flex h-5 flex-col items-center justify-center">+ <StatusEventTimelineDot />+ </div>+ </div>+ ) : null}+ {/* NOTE: is always last, no need for className="mb-2" */}+ <div>+ <StatusEventTimelineTitle>+ <span>{maintenance.title}</span>{" "}+ <span className="text-muted-foreground/70">·</span>{" "}+ <span className="font-mono text-muted-foreground text-xs">+ <StatusTimestamp+ date={maintenance.from}+ variant="rich"+ asChild+ >+ <span>{from}</span>+ </StatusTimestamp>+ {" - "}+ <StatusTimestamp date={maintenance.to} variant="rich" asChild>+ <span>{to}</span>+ </StatusTimestamp>+ </span>{" "}+ {duration ? (+ <span className="font-mono text-muted-foreground/70 text-xs">+ (for {duration})+ </span>+ ) : null}+ </StatusEventTimelineTitle>+ <StatusEventTimelineMessage>+ {maintenance.message.trim() === "" ? (+ <span className="text-muted-foreground/70">-</span>+ ) : (+ maintenance.message+ )}+ </StatusEventTimelineMessage>+ </div>+ </div>+ </div>+ </div>+ );+}++export function StatusEventTimelineTitle({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn("font-medium text-foreground text-sm", className)}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusEventTimelineMessage({+ className,+ children,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "py-1.5 font-mono text-muted-foreground text-sm",+ className,+ )}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusEventTimelineDot({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "size-2.5 shrink-0 rounded-full bg-muted",+ "group-data-[variant=resolved]:bg-success",+ "group-data-[variant=monitoring]:bg-info",+ "group-data-[variant=identified]:bg-warning",+ "group-data-[variant=investigating]:bg-destructive",+ "group-data-[variant=maintenance]:bg-info",+ className,+ )}+ {...props}+ />+ );+}++export function StatusEventTimelineSeparator({+ className,+ ...props+}: React.ComponentProps<typeof Separator>) {+ return (+ <Separator+ orientation="vertical"+ className={cn(+ "mx-auto flex-1",+ "group-data-[variant=resolved]:bg-success",+ "group-data-[variant=monitoring]:bg-info",+ "group-data-[variant=identified]:bg-warning",+ "group-data-[variant=investigating]:bg-destructive",+ "group-data-[variant=maintenance]:bg-info",+ className,+ )}+ {...props}+ />+ );+}diff --git a/packages/ui/src/components/blocks/status-feed.tsx b/packages/ui/src/components/blocks/status-feed.tsxnew file mode 100644index 000000000..7c6024ceb--- /dev/null+++ b/packages/ui/src/components/blocks/status-feed.tsx@@ -0,0 +1,169 @@+"use client";+import { useMemo } from "react";+import {+ StatusBlankContainer,+ StatusBlankContent,+ StatusBlankDescription,+ StatusBlankReport,+ StatusBlankTitle,+} from "@openstatus/ui/components/blocks/status-blank";+import {+ StatusEvent,+ StatusEventAffected,+ StatusEventAffectedBadge,+ StatusEventAside,+ StatusEventContent,+ StatusEventDate,+ StatusEventGroup,+ StatusEventTimelineMaintenance,+ StatusEventTimelineReport,+ StatusEventTitle,+} from "@openstatus/ui/components/blocks/status-events";+import type {+ StatusReport,+ Maintenance,+} from "@openstatus/ui/components/blocks/status.types";++type UnifiedEvent = {+ id: number;+ title: string;+ startDate: Date;+} & (+ | { type: "report"; data: StatusReport }+ | { type: "maintenance"; data: Maintenance }+);++/**+ * Type guard to check if an event is a status report+ */+function isStatusReport(+ event: UnifiedEvent,+): event is UnifiedEvent & { type: "report"; data: StatusReport } {+ return event.type === "report";+}++/**+ * Type guard to check if an event is a maintenance+ */+function isMaintenance(+ event: UnifiedEvent,+): event is UnifiedEvent & { type: "maintenance"; data: Maintenance } {+ return event.type === "maintenance";+}++export function StatusFeed({+ statusReports = [],+ maintenances = [],+ ...props+}: React.ComponentProps<"div"> & {+ statusReports?: StatusReport[];+ maintenances?: Maintenance[];+}) {+ // Memoize the unified events array to prevent flicker on re-renders+ const unifiedEvents = useMemo<UnifiedEvent[]>(() => {+ return [+ ...statusReports.map(+ (report): UnifiedEvent => ({+ id: report.id,+ title: report.title,+ type: "report",+ startDate:+ report.updates[report.updates.length - 1]?.date || new Date(),+ data: report,+ }),+ ),+ ...maintenances.map(+ (maintenance): UnifiedEvent => ({+ id: maintenance.id,+ title: maintenance.title,+ type: "maintenance",+ startDate: maintenance.from,+ data: maintenance,+ }),+ ),+ ].sort((a, b) => b.startDate.getTime() - a.startDate.getTime());+ }, [statusReports, maintenances]);++ if (unifiedEvents.length === 0) {+ return (+ <StatusBlankContainer>+ <div className="relative mt-8 flex w-full flex-col items-center justify-center">+ <StatusBlankReport className="-top-16 absolute scale-60 opacity-50" />+ <StatusBlankReport className="-top-8 absolute scale-80 opacity-80" />+ <StatusBlankReport />+ </div>+ <StatusBlankContent>+ <StatusBlankTitle>No recent notifications</StatusBlankTitle>+ <StatusBlankDescription>+ There have been no reports within the last 7 days.+ </StatusBlankDescription>+ </StatusBlankContent>+ </StatusBlankContainer>+ );+ }++ return (+ <StatusEventGroup {...props}>+ {unifiedEvents.map((event) => {+ // Use stable key to prevent flicker+ const key = `${event.type}-${event.id}`;++ if (isStatusReport(event)) {+ const report = event.data;+ return (+ <StatusEvent key={key}>+ <StatusEventAside>+ <StatusEventDate date={event.startDate} />+ </StatusEventAside>+ <StatusEventContent>+ <StatusEventTitle>{report.title}</StatusEventTitle>+ {report.affected.length > 0 && (+ <StatusEventAffected>+ {report.affected.map((affected, index) => (+ <StatusEventAffectedBadge key={index}>+ {affected}+ </StatusEventAffectedBadge>+ ))}+ </StatusEventAffected>+ )}+ <StatusEventTimelineReport updates={report.updates} />+ </StatusEventContent>+ </StatusEvent>+ );+ }++ if (isMaintenance(event)) {+ const maintenance = event.data;+ return (+ <StatusEvent key={key}>+ <StatusEventAside>+ <StatusEventDate date={event.startDate} />+ </StatusEventAside>+ <StatusEventContent>+ <StatusEventTitle>{maintenance.title}</StatusEventTitle>+ {maintenance.affected.length > 0 && (+ <StatusEventAffected>+ {maintenance.affected.map((affected, index) => (+ <StatusEventAffectedBadge key={index}>+ {affected}+ </StatusEventAffectedBadge>+ ))}+ </StatusEventAffected>+ )}+ <StatusEventTimelineMaintenance+ maintenance={{+ title: maintenance.title,+ message: maintenance.message,+ from: maintenance.from,+ to: maintenance.to,+ }}+ />+ </StatusEventContent>+ </StatusEvent>+ );+ }+ return null;+ })}+ </StatusEventGroup>+ );+}diff --git a/packages/ui/src/components/blocks/status-icon.tsx b/packages/ui/src/components/blocks/status-icon.tsxnew file mode 100644index 000000000..46652e503--- /dev/null+++ b/packages/ui/src/components/blocks/status-icon.tsx@@ -0,0 +1,132 @@+import { cn } from "@openstatus/ui/lib/utils";+import {+ AlertCircleIcon,+ CheckIcon,+ TriangleAlertIcon,+ WrenchIcon,+} from "lucide-react";+import type { StatusType } from "@openstatus/ui/components/blocks/status.types";++interface StatusIconProps extends React.ComponentProps<"div"> {+ /**+ * The status type to display+ */+ status?: StatusType;+ /**+ * The variant determines the CSS selector pattern used for status-based styling+ * - "default": Uses group-data-[variant=...] (for Status component)+ * - "banner": Uses group-data-[status=...]/status-banner (for StatusBanner component)+ * - "component": Uses group-data-[variant=...]/component (for StatusComponent)+ */+ variant?: "default" | "banner" | "component";+}++/**+ * StatusIcon - A unified icon component for displaying status indicators+ *+ * This component renders the appropriate icon based on the status type:+ * - success: CheckIcon+ * - degraded: TriangleAlertIcon+ * - error: AlertCircleIcon+ * - info: WrenchIcon+ * - empty: No icon (muted background)+ *+ * @example+ * // In Status component context+ * <StatusIcon variant="default" />+ *+ * @example+ * // In StatusBanner context+ * <StatusIcon variant="banner" />+ *+ * @example+ * // In StatusComponent context+ * <StatusIcon variant="component" />+ */+export function StatusIcon({+ className,+ variant = "default",+ status,+ ...props+}: StatusIconProps) {+ // Define size classes based on variant+ const sizeClasses =+ variant === "component"+ ? "size-[12.5px] [&>svg]:size-[9px]"+ : "size-7 [&>svg]:size-4";++ // Define status-based classes based on variant+ const statusClasses = (() => {+ switch (variant) {+ case "banner":+ return [+ "group-data-[status=success]/status-banner:bg-success",+ "group-data-[status=degraded]/status-banner:bg-warning",+ "group-data-[status=error]/status-banner:bg-destructive",+ "group-data-[status=info]/status-banner:bg-info",+ ];+ case "component":+ return [+ "group-data-[variant=success]/component:bg-success",+ "group-data-[variant=degraded]/component:bg-warning",+ "group-data-[variant=error]/component:bg-destructive",+ "group-data-[variant=info]/component:bg-info",+ ];+ case "default":+ default:+ return [+ "group-data-[variant=success]:bg-success",+ "group-data-[variant=degraded]:bg-warning",+ "group-data-[variant=error]:bg-destructive",+ "group-data-[variant=info]:bg-info",+ ];+ }+ })();++ // Define icon visibility classes based on variant+ const iconVisibilityClasses = (() => {+ switch (variant) {+ case "banner":+ return {+ success: "group-data-[status=success]/status-banner:block",+ degraded: "group-data-[status=degraded]/status-banner:block",+ error: "group-data-[status=error]/status-banner:block",+ info: "group-data-[status=info]/status-banner:block",+ };+ case "component":+ return {+ success: "group-data-[variant=success]/component:block",+ degraded: "group-data-[variant=degraded]/component:block",+ error: "group-data-[variant=error]/component:block",+ info: "group-data-[variant=info]/component:block",+ };+ case "default":+ default:+ return {+ success: "group-data-[variant=success]:block",+ degraded: "group-data-[variant=degraded]:block",+ error: "group-data-[variant=error]:block",+ info: "group-data-[variant=info]:block",+ };+ }+ })();++ return (+ <div+ className={cn(+ "flex items-center justify-center rounded-full bg-muted text-background",+ sizeClasses,+ ...statusClasses,+ className,+ )}+ {...props}+ >+ <CheckIcon className={cn("hidden", iconVisibilityClasses.success)} />+ <TriangleAlertIcon+ className={cn("hidden", iconVisibilityClasses.degraded)}+ />+ <AlertCircleIcon className={cn("hidden", iconVisibilityClasses.error)} />+ <WrenchIcon className={cn("hidden", iconVisibilityClasses.info)} />+ </div>+ );+}diff --git a/packages/ui/src/components/blocks/status-layout.tsx b/packages/ui/src/components/blocks/status-layout.tsxnew file mode 100644index 000000000..7c0e7718f--- /dev/null+++ b/packages/ui/src/components/blocks/status-layout.tsx@@ -0,0 +1,93 @@+import { cn } from "@openstatus/ui/lib/utils";+import { StatusIcon as UnifiedStatusIcon } from "@openstatus/ui/components/blocks/status-icon";++export function Status({+ children,+ className,+ variant = "success",+ ...props+}: React.ComponentProps<"div"> & {+ variant?: "success" | "degraded" | "error" | "info";+}) {+ return (+ <div+ data-variant={variant}+ data-slot="status"+ className={cn("group peer flex flex-col gap-8", className)}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusBrand({+ src,+ alt,+ className,+ ...props+}: React.ComponentProps<"img">) {+ return (+ // biome-ignore lint/a11y/useAltText: <explanation>+ <img src={src} alt={alt} className={cn("size-8", className)} {...props} />+ );+}++export function StatusHeader({+ children,+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="status-header"+ className={cn("@container/status-header", className)}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusTitle({+ children,+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <div+ className={cn(+ "font-semibold text-foreground text-lg leading-none",+ className,+ )}+ {...props}+ >+ {children}+ </div>+ );+}++export function StatusDescription({+ children,+ className,+}: React.ComponentProps<"div">) {+ return (+ <div className={cn("text-muted-foreground", className)}>{children}</div>+ );+}++export function StatusContent({+ children,+ className,+}: React.ComponentProps<"div">) {+ return <div className={cn("flex flex-col gap-3", className)}>{children}</div>;+}++export function StatusIcon({+ className,+ ...props+}: React.ComponentProps<"div">) {+ return (+ <UnifiedStatusIcon variant="default" className={className} {...props} />+ );+}diff --git a/packages/ui/src/components/blocks/status-timestamp.tsx b/packages/ui/src/components/blocks/status-timestamp.tsxnew file mode 100644index 000000000..1d40f1c49--- /dev/null+++ b/packages/ui/src/components/blocks/status-timestamp.tsx@@ -0,0 +1,195 @@+import { UTCDate } from "@date-fns/utc";+import { format, formatDistanceToNowStrict } from "date-fns";+import { Check, Copy } from "lucide-react";+import { useEffect, useState } from "react";++import type { HoverCardContentProps } from "@radix-ui/react-hover-card";++import {+ HoverCard,+ HoverCardContent,+ HoverCardTrigger,+} from "@openstatus/ui/components/ui/hover-card";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@openstatus/ui/components/ui/tooltip";+import { useCopyToClipboard } from "@openstatus/ui/hooks/use-copy-to-clipboard";+import { useMediaQuery } from "@openstatus/ui/hooks/use-media-query";+import { cn } from "@openstatus/ui/lib/utils";++type BaseProps = {+ date: Date;+ variant?: "simple" | "rich";+ className?: string;+};++type SimpleVariantProps = BaseProps &+ React.ComponentProps<typeof TooltipTrigger> & {+ variant?: "simple";+ };++type RichVariantProps = BaseProps &+ React.ComponentProps<typeof HoverCardTrigger> & {+ variant: "rich";+ side?: HoverCardContentProps["side"];+ align?: HoverCardContentProps["align"];+ alignOffset?: HoverCardContentProps["alignOffset"];+ sideOffset?: HoverCardContentProps["sideOffset"];+ };++type StatusTimestampProps = SimpleVariantProps | RichVariantProps;++export function StatusTimestamp(props: StatusTimestampProps) {+ const { date, variant = "simple", className, ...rest } = props;++ if (variant === "rich") {+ const {+ side = "right",+ align = "start",+ alignOffset = -4,+ sideOffset,+ children,+ onClick,+ ...triggerProps+ } = rest as Omit<RichVariantProps, "date" | "variant" | "className">;++ return (+ <RichTimestamp+ date={date}+ side={side}+ align={align}+ alignOffset={alignOffset}+ sideOffset={sideOffset}+ className={className}+ onClick={onClick}+ {...triggerProps}+ >+ {children}+ </RichTimestamp>+ );+ }++ const { children, ...triggerProps } = rest as Omit<+ SimpleVariantProps,+ "date" | "variant" | "className"+ >;++ return (+ <SimpleTimestamp date={date} className={className} {...triggerProps}>+ {children}+ </SimpleTimestamp>+ );+}++function SimpleTimestamp({+ date,+ className,+ children,+ ...props+}: Omit<SimpleVariantProps, "variant">) {+ return (+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger+ className={cn(+ "font-mono text-muted-foreground underline decoration-muted-foreground/30 decoration-dashed underline-offset-4",+ className,+ )}+ {...props}+ >+ {children || format(new UTCDate(date), "LLL dd, y HH:mm (z)")}+ </TooltipTrigger>+ <TooltipContent>+ <p className="font-mono">{format(date, "LLL dd, y HH:mm (z)")}</p>+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ );+}++function RichTimestamp({+ date,+ side = "right",+ align = "start",+ alignOffset = -4,+ sideOffset,+ className,+ children,+ onClick,+ ...props+}: Omit<RichVariantProps, "variant">) {+ const [open, setOpen] = useState(false);+ const isTouch = useMediaQuery("(hover: none)");+ const [_, setRerender] = useState(0);++ const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;+ const relative = formatDistanceToNowStrict(date, { addSuffix: true });+ const formatted = format(date, "LLL dd, y HH:mm:ss");+ const utc = format(new UTCDate(date), "LLL dd, y HH:mm:ss");++ useEffect(() => {+ // only setInterval if open+ if (!open) return;++ const interval = setInterval(() => {+ setRerender((prev) => prev + 1);+ }, 1000);++ return () => clearInterval(interval);+ }, [open]);++ return (+ <HoverCard openDelay={0} closeDelay={0} open={open} onOpenChange={setOpen}>+ <HoverCardTrigger+ className={className}+ onClick={(e) => {+ // NOTE: support touch devices+ if (isTouch) setOpen((prev) => !prev);+ onClick?.(e);+ }}+ {...props}+ >+ {children}+ </HoverCardTrigger>+ <HoverCardContent+ className="z-10 w-auto p-2"+ {...{ side, align, alignOffset, sideOffset }}+ >+ <dl className="flex flex-col gap-1">+ <Row value={formatted} label={timezone} />+ <Row value={utc} label="UTC" />+ <Row value={relative} label="Relative" />+ </dl>+ </HoverCardContent>+ </HoverCard>+ );+}++function Row({ value, label }: { value: string; label: string }) {+ const { copy, isCopied } = useCopyToClipboard();++ return (+ <div+ className="group flex items-center justify-between gap-4 text-sm"+ onClick={(e) => {+ e.stopPropagation();+ copy(value, { withToast: true });+ }}+ >+ <dt className="text-muted-foreground">{label}</dt>+ <dd className="flex items-center gap-1 truncate font-mono">+ <span className="invisible group-hover:visible">+ {!isCopied ? (+ <Copy className="h-3 w-3" />+ ) : (+ <Check className="h-3 w-3" />+ )}+ </span>+ {value}+ </dd>+ </div>+ );+}diff --git a/packages/ui/src/components/blocks/status.types.ts b/packages/ui/src/components/blocks/status.types.tsnew file mode 100644index 000000000..f4c247a4c--- /dev/null+++ b/packages/ui/src/components/blocks/status.types.ts@@ -0,0 +1,50 @@+export type StatusType = "success" | "degraded" | "error" | "info" | "empty";+export type StatusEventType = "incident" | "report" | "maintenance";+export type StatusReportUpdateType = "investigating" | "identified" | "monitoring" | "resolved"++export interface StatusReportUpdate {+ date: Date;+ message: string;+ status: StatusReportUpdateType;+}++export interface StatusReport {+ id: number;+ title: string;+ affected: string[];+ updates: StatusReportUpdate[];+}++export interface Maintenance {+ id: number;+ title: string;+ affected: string[];+ message: string;+ from: Date;+ to: Date;+}++// Discriminated union for status events+export type StatusEventData =+ | { type: "report"; data: StatusReport }+ | { type: "maintenance"; data: Maintenance };++export type StatusBarData = {+ day: string;+ bar: {+ status: StatusType;+ // NOTE: is in percentage! should sum up to 100%+ height: number;+ }[];+ card: {+ status: StatusType;+ value: string;+ }[];+ events: {+ id: number;+ name: string;+ type: StatusEventType;+ from: Date | null;+ to: Date | null;+ }[];+}\ No newline at end of filediff --git a/packages/ui/src/components/blocks/status.utils.ts b/packages/ui/src/components/blocks/status.utils.tsnew file mode 100644index 000000000..ddee1ac7b--- /dev/null+++ b/packages/ui/src/components/blocks/status.utils.ts@@ -0,0 +1,214 @@+import { endOfDay, isSameDay, startOfDay } from "date-fns";++/**+ * Formats a date range in a human-readable format.+ *+ * NOTE: While Intl.DateTimeFormat.formatRange() is available in modern browsers,+ * we use a custom implementation to have fine-grained control over the output format+ * and to handle edge cases like "Since", "Until", and "All time" consistently.+ * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatRange+ *+ * @param from - Start date of the range (optional)+ * @param to - End date of the range (optional)+ * @param locale - Locale string for formatting (default: "en-US")+ * @returns A formatted date range string+ *+ * @example+ * formatDateRange(new Date('2024-01-01'), new Date('2024-01-05'))+ * // => "January 1, 2024 - January 5, 2024"+ *+ * @example+ * formatDateRange(new Date('2024-01-01 10:00'), new Date('2024-01-01 15:00'))+ * // => "January 1, 10:00 AM - 3:00 PM"+ */+export function formatDateRange(from?: Date, to?: Date) {+ const sameDay = from && to && isSameDay(from, to);+ const isFromStartDay = from && startOfDay(from).getTime() === from.getTime();+ const isToEndDay = to && endOfDay(to).getTime() === to.getTime();++ if (sameDay) {+ if (from && to && from.getTime() === to.getTime()) {+ return formatDateTime(from);+ }+ if (from && to) {+ return `${formatDateTime(from)} - ${formatTime(to)}`;+ }+ }++ if (from && to) {+ if (isFromStartDay && isToEndDay) {+ return `${formatDate(from)} - ${formatDate(to)}`;+ }+ return `${formatDateTime(from)} - ${formatDateTime(to)}`;+ }++ if (to) {+ return `Until ${formatDateTime(to)}`;+ }++ if (from) {+ return `Since ${formatDateTime(from)}`;+ }++ return "All time";+}++/**+ * Formats a date with locale support.+ *+ * @param date - The date to format+ * @param options - Intl.DateTimeFormatOptions to customize the output+ * @param locale - Locale string for formatting (default: "en-US")+ * @returns A formatted date string+ */+export function formatDate(+ date: Date,+ options?: Intl.DateTimeFormatOptions,+ locale = "en-US",+) {+ return date.toLocaleDateString(locale, {+ year: "numeric",+ month: "long",+ day: "numeric",+ ...options,+ });+}++/**+ * Formats a date with time, with locale support.+ *+ * @param date - The date to format+ * @param locale - Locale string for formatting (default: "en-US")+ * @returns A formatted date and time string+ */+export function formatDateTime(date: Date, locale = "en-US") {+ return date.toLocaleDateString(locale, {+ month: "long",+ day: "numeric",+ hour: "numeric",+ minute: "numeric",+ });+}++/**+ * Formats a time with locale support.+ *+ * @param date - The date to format+ * @param locale - Locale string for formatting (default: "en-US")+ * @returns A formatted time string+ */+export function formatTime(date: Date, locale = "en-US") {+ return date.toLocaleTimeString(locale, {+ hour: "numeric",+ minute: "numeric",+ });+}++import type {+ StatusReportUpdateType,+ StatusType,+} from "@openstatus/ui/components/blocks/status.types";++/**+ * System status display messages+ * Used for displaying status banner and component statuses+ */+export const systemStatusLabels: Record<+ StatusType,+ { long: string; short: string }+> = {+ success: {+ long: "All Systems Operational",+ short: "Operational",+ },+ degraded: {+ long: "Degraded Performance",+ short: "Degraded",+ },+ error: {+ long: "Partial Outage",+ short: "Outage",+ },+ info: {+ long: "Maintenance",+ short: "Maintenance",+ },+ empty: {+ long: "No Data",+ short: "No Data",+ },+} as const;++/**+ * Legacy messages object for backwards compatibility+ * @deprecated Use systemStatusLabels instead+ */+export const messages = {+ long: {+ success: systemStatusLabels.success.long,+ degraded: systemStatusLabels.degraded.long,+ error: systemStatusLabels.error.long,+ info: systemStatusLabels.info.long,+ empty: systemStatusLabels.empty.long,+ },+ short: {+ success: systemStatusLabels.success.short,+ degraded: systemStatusLabels.degraded.short,+ error: systemStatusLabels.error.short,+ info: systemStatusLabels.info.short,+ empty: systemStatusLabels.empty.short,+ },+} as const;++/**+ * Request status labels+ * Used for displaying individual request statuses+ */+export const requestStatusLabels: Record<StatusType, string> = {+ success: "Normal",+ degraded: "Degraded",+ error: "Error",+ info: "Maintenance",+ empty: "No Data",+} as const;++/**+ * Legacy requests object for backwards compatibility+ * @deprecated Use requestStatusLabels instead+ */+export const requests = requestStatusLabels;++/**+ * Incident status labels+ * Used for displaying incident report update statuses+ */+export const incidentStatusLabels: Record<StatusReportUpdateType, string> = {+ resolved: "Resolved",+ monitoring: "Monitoring",+ identified: "Identified",+ investigating: "Investigating",+} as const;++/**+ * Legacy status object for backwards compatibility+ * @deprecated Use incidentStatusLabels instead+ */+export const status = incidentStatusLabels;++/**+ * CSS variable mappings for status colors+ * Maps StatusType to corresponding CSS custom properties+ */+export const statusColors: Record<StatusType, string> = {+ success: "var(--success)",+ degraded: "var(--warning)",+ error: "var(--destructive)",+ info: "var(--info)",+ empty: "var(--muted)",+} as const;++/**+ * Legacy colors object for backwards compatibility+ * @deprecated Use statusColors instead+ */+export const colors = statusColors;diff --git a/packages/ui/src/components/breadcrumb.tsx b/packages/ui/src/components/breadcrumb.tsxdeleted file mode 100644index a9b2d6ab0..000000000--- a/packages/ui/src/components/breadcrumb.tsx+++ /dev/null@@ -1,115 +0,0 @@-import * as React from "react";-import { Slot } from "@radix-ui/react-slot";-import { ChevronRight, MoreHorizontal } from "lucide-react";--import { cn } from "../lib/utils";--const Breadcrumb = React.forwardRef<- HTMLElement,- React.ComponentPropsWithoutRef<"nav"> & {- separator?: React.ReactNode;- }->(({ ...props }, ref) => <nav ref={ref} aria-label="breadcrumb" {...props} />);-Breadcrumb.displayName = "Breadcrumb";--const BreadcrumbList = React.forwardRef<- HTMLOListElement,- React.ComponentPropsWithoutRef<"ol">->(({ className, ...props }, ref) => (- <ol- ref={ref}- className={cn(- "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",- className- )}- {...props}- />-));-BreadcrumbList.displayName = "BreadcrumbList";--const BreadcrumbItem = React.forwardRef<- HTMLLIElement,- React.ComponentPropsWithoutRef<"li">->(({ className, ...props }, ref) => (- <li- ref={ref}- className={cn("inline-flex items-center gap-1.5", className)}- {...props}- />-));-BreadcrumbItem.displayName = "BreadcrumbItem";--const BreadcrumbLink = React.forwardRef<- HTMLAnchorElement,- React.ComponentPropsWithoutRef<"a"> & {- asChild?: boolean;- }->(({ asChild, className, ...props }, ref) => {- const Comp = asChild ? Slot : "a";-- return (- <Comp- ref={ref}- className={cn("transition-colors hover:text-foreground", className)}- {...props}- />- );-});-BreadcrumbLink.displayName = "BreadcrumbLink";--const BreadcrumbPage = React.forwardRef<- HTMLSpanElement,- React.ComponentPropsWithoutRef<"span">->(({ className, ...props }, ref) => (- <span- ref={ref}- role="link"- aria-disabled="true"- aria-current="page"- className={cn("font-normal text-foreground", className)}- {...props}- />-));-BreadcrumbPage.displayName = "BreadcrumbPage";--const BreadcrumbSeparator = ({- children,- className,- ...props-}: React.ComponentProps<"li">) => (- <li- role="presentation"- aria-hidden="true"- className={cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className)}- {...props}- >- {children ?? <ChevronRight />}- </li>-);-BreadcrumbSeparator.displayName = "BreadcrumbSeparator";--const BreadcrumbEllipsis = ({- className,- ...props-}: React.ComponentProps<"span">) => (- <span- role="presentation"- aria-hidden="true"- className={cn("flex h-9 w-9 items-center justify-center", className)}- {...props}- >- <MoreHorizontal className="h-4 w-4" />- <span className="sr-only">More</span>- </span>-);-BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";--export {- Breadcrumb,- BreadcrumbList,- BreadcrumbItem,- BreadcrumbLink,- BreadcrumbPage,- BreadcrumbSeparator,- BreadcrumbEllipsis,-};diff --git a/packages/ui/src/components/button-with-disable-tooltip.tsx b/packages/ui/src/components/button-with-disable-tooltip.tsxdeleted file mode 100644index 3d6e86859..000000000--- a/packages/ui/src/components/button-with-disable-tooltip.tsx+++ /dev/null@@ -1,45 +0,0 @@-import { cn } from "../lib/utils";-import { Button } from "./button";-import type { ButtonProps } from "./button";-import {- Tooltip,- TooltipContent,- TooltipProvider,- TooltipTrigger,-} from "./tooltip";--interface ButtonWithDisableTooltipProps extends ButtonProps {- tooltip: string;-}--export const ButtonWithDisableTooltip = ({- tooltip,- disabled,- className,- ...props-}: ButtonWithDisableTooltipProps) => {- const ButtonComponent = (- <Button- {...props}- disabled={disabled}- className={cn(className, disabled && "pointer-events-none")}- />- );-- if (disabled) {- // If the button is disabled, we wrap it in a tooltip since- // we don't want to show the tooltip if the button is enabled.- return (- <TooltipProvider>- <Tooltip>- <TooltipTrigger asChild>- <span>{ButtonComponent}</span>- </TooltipTrigger>- <TooltipContent>{tooltip}</TooltipContent>- </Tooltip>- </TooltipProvider>- );- }-- return ButtonComponent;-};diff --git a/packages/ui/src/components/button.tsx b/packages/ui/src/components/button.tsxdeleted file mode 100644index 927dea7a7..000000000--- a/packages/ui/src/components/button.tsx+++ /dev/null@@ -1,59 +0,0 @@-import { Slot } from "@radix-ui/react-slot";-import { cva } from "class-variance-authority";-import type { VariantProps } from "class-variance-authority";-import * as React from "react";--import { cn } from "../lib/utils";--const buttonVariants = cva(- "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",- {- variants: {- variant: {- default:- "bg-primary text-primary-foreground shadow-sm hover:bg-primary/90",- destructive:- "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90",- outline:- "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",- secondary:- "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",- ghost: "hover:bg-accent hover:text-accent-foreground",- link: "text-primary underline-offset-4 hover:underline",- },- size: {- default: "h-9 px-4 py-2",- sm: "h-8 rounded-md px-3 text-xs",- lg: "h-10 rounded-md px-8",- icon: "h-9 w-9",- },- },- defaultVariants: {- variant: "default",- size: "default",- },- },-);--export interface ButtonProps- extends React.ButtonHTMLAttributes<HTMLButtonElement>,- VariantProps<typeof buttonVariants> {- asChild?: boolean;-}--const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(- ({ className, variant, size, asChild = false, disabled, ...props }, ref) => {- const Comp = asChild ? Slot : "button";- return (- <Comp- className={cn(buttonVariants({ variant, size, className }))}- ref={ref}- disabled={disabled}- {...props}- />- );- },-);-Button.displayName = "Button";--export { Button, buttonVariants };diff --git a/packages/ui/src/components/calendar.tsx b/packages/ui/src/components/calendar.tsxdeleted file mode 100644index 28b27607f..000000000--- a/packages/ui/src/components/calendar.tsx+++ /dev/null@@ -1,63 +0,0 @@-"use client";--import { ChevronLeft, ChevronRight } from "lucide-react";-import { DayPicker } from "react-day-picker";--import { buttonVariants } from "../components/button";-import { cn } from "../lib/utils";--export type CalendarProps = React.ComponentProps<typeof DayPicker>;--function Calendar({- className,- classNames,- showOutsideDays = true,- ...props-}: CalendarProps) {- return (- <DayPicker- showOutsideDays={showOutsideDays}- className={cn("p-3", className)}- classNames={{- months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",- month: "space-y-4",- caption: "flex justify-center pt-1 relative items-center",- caption_label: "text-sm font-medium",- nav: "space-x-1 flex items-center",- nav_button: cn(- buttonVariants({ variant: "outline" }),- "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"- ),- nav_button_previous: "absolute left-1",- nav_button_next: "absolute right-1",- table: "w-full border-collapse space-y-1",- head_row: "flex",- head_cell:- "text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",- row: "flex w-full mt-2",- cell: "text-center text-sm p-0 relative [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",- day: cn(- buttonVariants({ variant: "ghost" }),- "h-8 w-8 p-0 font-normal aria-selected:opacity-100"- ),- day_selected:- "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",- day_today: "bg-accent text-accent-foreground",- day_outside: "text-muted-foreground opacity-50",- day_disabled: "text-muted-foreground opacity-50",- day_range_middle:- "aria-selected:bg-accent aria-selected:text-accent-foreground",- day_hidden: "invisible",- ...classNames,- }}- components={{- IconLeft: ({ ...props }) => <ChevronLeft className="h-4 w-4" />,- IconRight: ({ ...props }) => <ChevronRight className="h-4 w-4" />,- }}- {...props}- />- );-}-Calendar.displayName = "Calendar";--export { Calendar };diff --git a/packages/ui/src/components/card.tsx b/packages/ui/src/components/card.tsxdeleted file mode 100644index 64cf658c3..000000000--- a/packages/ui/src/components/card.tsx+++ /dev/null@@ -1,83 +0,0 @@-import * as React from "react";--import { cn } from "../lib/utils";--const Card = React.forwardRef<- HTMLDivElement,- React.HTMLAttributes<HTMLDivElement>->(({ className, ...props }, ref) => (- <div- ref={ref}- className={cn(- "bg-card text-card-foreground rounded-xl border shadow-sm",- className,- )}- {...props}- />-));-Card.displayName = "Card";--const CardHeader = React.forwardRef<- HTMLDivElement,- React.HTMLAttributes<HTMLDivElement>->(({ className, ...props }, ref) => (- <div- ref={ref}- className={cn("flex flex-col space-y-1.5 p-6", className)}- {...props}- />-));-CardHeader.displayName = "CardHeader";--const CardTitle = React.forwardRef<- HTMLParagraphElement,- React.HTMLAttributes<HTMLHeadingElement>->(({ className, ...props }, ref) => (- <h3- ref={ref}- className={cn("font-semibold leading-none tracking-tight", className)}- {...props}- />-));-CardTitle.displayName = "CardTitle";--const CardDescription = React.forwardRef<- HTMLParagraphElement,- React.HTMLAttributes<HTMLParagraphElement>->(({ className, ...props }, ref) => (- <p- ref={ref}- className={cn("text-muted-foreground text-sm", className)}- {...props}- />-));-CardDescription.displayName = "CardDescription";--const CardContent = React.forwardRef<- HTMLDivElement,- React.HTMLAttributes<HTMLDivElement>->(({ className, ...props }, ref) => (- <div ref={ref} className={cn("p-6 pt-0", className)} {...props} />-));-CardContent.displayName = "CardContent";--const CardFooter = React.forwardRef<- HTMLDivElement,- React.HTMLAttributes<HTMLDivElement>->(({ className, ...props }, ref) => (- <div- ref={ref}- className={cn(" flex items-center p-6 pt-0", className)}- {...props}- />-));-CardFooter.displayName = "CardFooter";--export {- Card,- CardHeader,- CardFooter,- CardTitle,- CardDescription,- CardContent,-};diff --git a/packages/ui/src/components/chart.tsx b/packages/ui/src/components/chart.tsxdeleted file mode 100644index 2863c7693..000000000--- a/packages/ui/src/components/chart.tsx+++ /dev/null@@ -1,365 +0,0 @@-"use client";--import * as React from "react";-import * as RechartsPrimitive from "recharts";--import { cn } from "@/lib/utils";--// Format: { THEME_NAME: CSS_SELECTOR }-const THEMES = { light: "", dark: ".dark" } as const;--export type ChartConfig = {- [k in string]: {- label?: React.ReactNode;- icon?: React.ComponentType;- } & (- | { color?: string; theme?: never }- | { color?: never; theme: Record<keyof typeof THEMES, string> }- );-};--type ChartContextProps = {- config: ChartConfig;-};--const ChartContext = React.createContext<ChartContextProps | null>(null);--function useChart() {- const context = React.useContext(ChartContext);-- if (!context) {- throw new Error("useChart must be used within a <ChartContainer />");- }-- return context;-}--const ChartContainer = React.forwardRef<- HTMLDivElement,- React.ComponentProps<"div"> & {- config: ChartConfig;- children: React.ComponentProps<- typeof RechartsPrimitive.ResponsiveContainer- >["children"];- }->(({ id, className, children, config, ...props }, ref) => {- const uniqueId = React.useId();- const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;-- return (- <ChartContext.Provider value={{ config }}>- <div- data-chart={chartId}- ref={ref}- className={cn(- "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-hidden [&_.recharts-surface]:outline-hidden",- className- )}- {...props}- >- <ChartStyle id={chartId} config={config} />- <RechartsPrimitive.ResponsiveContainer>- {children}- </RechartsPrimitive.ResponsiveContainer>- </div>- </ChartContext.Provider>- );-});-ChartContainer.displayName = "Chart";--const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {- const colorConfig = Object.entries(config).filter(- ([_, config]) => config.theme || config.color- );-- if (!colorConfig.length) {- return null;- }-- return (- <style- dangerouslySetInnerHTML={{- __html: Object.entries(THEMES)- .map(- ([theme, prefix]) => `-${prefix} [data-chart=${id}] {-${colorConfig- .map(([key, itemConfig]) => {- const color =- itemConfig.theme?.[theme as keyof typeof itemConfig.theme] ||- itemConfig.color;- return color ? ` --color-${key}: ${color};` : null;- })- .join("\n")}-}-`- )- .join("\n"),- }}- />- );-};--const ChartTooltip = RechartsPrimitive.Tooltip;--const ChartTooltipContent = React.forwardRef<- HTMLDivElement,- React.ComponentProps<typeof RechartsPrimitive.Tooltip> &- React.ComponentProps<"div"> & {- hideLabel?: boolean;- hideIndicator?: boolean;- indicator?: "line" | "dot" | "dashed";- nameKey?: string;- labelKey?: string;- }->(- (- {- active,- payload,- className,- indicator = "dot",- hideLabel = false,- hideIndicator = false,- label,- labelFormatter,- labelClassName,- formatter,- color,- nameKey,- labelKey,- },- ref- ) => {- const { config } = useChart();-- const tooltipLabel = React.useMemo(() => {- if (hideLabel || !payload?.length) {- return null;- }-- const [item] = payload;- const key = `${labelKey || item.dataKey || item.name || "value"}`;- const itemConfig = getPayloadConfigFromPayload(config, item, key);- const value =- !labelKey && typeof label === "string"- ? config[label as keyof typeof config]?.label || label- : itemConfig?.label;-- if (labelFormatter) {- return (- <div className={cn("font-medium", labelClassName)}>- {labelFormatter(value, payload)}- </div>- );- }-- if (!value) {- return null;- }-- return <div className={cn("font-medium", labelClassName)}>{value}</div>;- }, [- label,- labelFormatter,- payload,- hideLabel,- labelClassName,- config,- labelKey,- ]);-- if (!active || !payload?.length) {- return null;- }-- const nestLabel = payload.length === 1 && indicator !== "dot";-- return (- <div- ref={ref}- className={cn(- "grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",- className- )}- >- {!nestLabel ? tooltipLabel : null}- <div className="grid gap-1.5">- {payload.map((item, index) => {- const key = `${nameKey || item.name || item.dataKey || "value"}`;- const itemConfig = getPayloadConfigFromPayload(config, item, key);- const indicatorColor = color || item.payload.fill || item.color;-- return (- <div- key={item.dataKey}- className={cn(- "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",- indicator === "dot" && "items-center"- )}- >- {formatter && item?.value !== undefined && item.name ? (- formatter(item.value, item.name, item, index, item.payload)- ) : (- <>- {itemConfig?.icon ? (- <itemConfig.icon />- ) : (- !hideIndicator && (- <div- className={cn(- "shrink-0 rounded-[2px] border-border bg-(--color-bg)",- {- "h-2.5 w-2.5": indicator === "dot",- "w-1": indicator === "line",- "w-0 border-[1.5px] border-dashed bg-transparent":- indicator === "dashed",- "my-0.5": nestLabel && indicator === "dashed",- }- )}- style={- {- "--color-bg": indicatorColor,- "--color-border": indicatorColor,- } as React.CSSProperties- }- />- )- )}- <div- className={cn(- "flex flex-1 justify-between leading-none",- nestLabel ? "items-end" : "items-center"- )}- >- <div className="grid gap-1.5">- {nestLabel ? tooltipLabel : null}- <span className="text-muted-foreground">- {itemConfig?.label || item.name}- </span>- </div>- {item.value && (- <span className="font-mono font-medium tabular-nums text-foreground">- {item.value.toLocaleString()}- </span>- )}- </div>- </>- )}- </div>- );- })}- </div>- </div>- );- }-);-ChartTooltipContent.displayName = "ChartTooltip";--const ChartLegend = RechartsPrimitive.Legend;--const ChartLegendContent = React.forwardRef<- HTMLDivElement,- React.ComponentProps<"div"> &- Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {- hideIcon?: boolean;- nameKey?: string;- }->(- (- { className, hideIcon = false, payload, verticalAlign = "bottom", nameKey },- ref- ) => {- const { config } = useChart();-- if (!payload?.length) {- return null;- }-- return (- <div- ref={ref}- className={cn(- "flex items-center justify-center gap-4",- verticalAlign === "top" ? "pb-3" : "pt-3",- className- )}- >- {payload.map((item) => {- const key = `${nameKey || item.dataKey || "value"}`;- const itemConfig = getPayloadConfigFromPayload(config, item, key);-- return (- <div- key={item.value}- className={cn(- "flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"- )}- >- {itemConfig?.icon && !hideIcon ? (- <itemConfig.icon />- ) : (- <div- className="h-2 w-2 shrink-0 rounded-[2px]"- style={{- backgroundColor: item.color,- }}- />- )}- {itemConfig?.label}- </div>- );- })}- </div>- );- }-);-ChartLegendContent.displayName = "ChartLegend";--// Helper to extract item config from a payload.-function getPayloadConfigFromPayload(- config: ChartConfig,- payload: unknown,- key: string-) {- if (typeof payload !== "object" || payload === null) {- return undefined;- }-- const payloadPayload =- "payload" in payload &&- typeof payload.payload === "object" &&- payload.payload !== null- ? payload.payload- : undefined;-- let configLabelKey: string = key;-- if (- key in payload &&- typeof payload[key as keyof typeof payload] === "string"- ) {- configLabelKey = payload[key as keyof typeof payload] as string;- } else if (- payloadPayload &&- key in payloadPayload &&- typeof payloadPayload[key as keyof typeof payloadPayload] === "string"- ) {- configLabelKey = payloadPayload[- key as keyof typeof payloadPayload- ] as string;- }-- return configLabelKey in config- ? config[configLabelKey]- : config[key as keyof typeof config];-}--export {- ChartContainer,- ChartTooltip,- ChartTooltipContent,- ChartLegend,- ChartLegendContent,- ChartStyle,-};diff --git a/packages/ui/src/components/checkbox.tsx b/packages/ui/src/components/checkbox.tsxdeleted file mode 100644index 9720a984d..000000000--- a/packages/ui/src/components/checkbox.tsx+++ /dev/null@@ -1,30 +0,0 @@-"use client";--import * as CheckboxPrimitive from "@radix-ui/react-checkbox";-import { Check } from "lucide-react";-import * as React from "react";--import { cn } from "../lib/utils";--const Checkbox = React.forwardRef<- React.ElementRef<typeof CheckboxPrimitive.Root>,- React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>->(({ className, ...props }, ref) => (- <CheckboxPrimitive.Root- ref={ref}- className={cn(- "border-primary ring-offset-background focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground peer h-4 w-4 shrink-0 rounded-sm border focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",- className,- )}- {...props}- >- <CheckboxPrimitive.Indicator- className={cn("flex items-center justify-center text-current")}- >- <Check className="h-4 w-4" />- </CheckboxPrimitive.Indicator>- </CheckboxPrimitive.Root>-));-Checkbox.displayName = CheckboxPrimitive.Root.displayName;--export { Checkbox };diff --git a/packages/ui/src/components/collapsible.tsx b/packages/ui/src/components/collapsible.tsxdeleted file mode 100644index cb003d175..000000000--- a/packages/ui/src/components/collapsible.tsx+++ /dev/null@@ -1,11 +0,0 @@-"use client";--import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";--const Collapsible = CollapsiblePrimitive.Root;--const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;--const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;--export { Collapsible, CollapsibleTrigger, CollapsibleContent };diff --git a/packages/ui/src/components/command.tsx b/packages/ui/src/components/command.tsxdeleted file mode 100644index ed119d428..000000000--- a/packages/ui/src/components/command.tsx+++ /dev/null@@ -1,168 +0,0 @@-"use client";--import type { DialogProps } from "@radix-ui/react-dialog";-import { Command as CommandPrimitive } from "cmdk";-import { Search } from "lucide-react";-import * as React from "react";--import { cn } from "../lib/utils";-import { Dialog, DialogContent } from "./dialog";--const Command = React.forwardRef<- React.ElementRef<typeof CommandPrimitive>,- React.ComponentPropsWithoutRef<typeof CommandPrimitive>->(({ className, ...props }, ref) => (- <CommandPrimitive- ref={ref}- className={cn(- "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",- className- )}- {...props}- />-));-Command.displayName = CommandPrimitive.displayName;--type CommandDialogProps = DialogProps;--const CommandDialog = ({ children, ...props }: CommandDialogProps) => {- return (- <Dialog {...props}>- <DialogContent className="overflow-hidden p-0 shadow-2xl">- <Command className="[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5">- {children}- </Command>- </DialogContent>- </Dialog>- );-};--const CommandInput = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Input>,- React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>->(({ className, ...props }, ref) => (- <div className="flex items-center border-b px-3" cmdk-input-wrapper="">- <Search className="mr-2 h-4 w-4 shrink-0 opacity-50" />- <CommandPrimitive.Input- ref={ref}- className={cn(- "placeholder:text-foreground-muted flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",- className- )}- {...props}- />- </div>-));--CommandInput.displayName = CommandPrimitive.Input.displayName;--const CommandList = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.List>,- React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>->(({ className, ...props }, ref) => (- <CommandPrimitive.List- ref={ref}- className={cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)}- {...props}- />-));--CommandList.displayName = CommandPrimitive.List.displayName;--const CommandEmpty = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Empty>,- React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>->((props, ref) => (- <CommandPrimitive.Empty- ref={ref}- className="py-6 text-center text-sm"- {...props}- />-));--CommandEmpty.displayName = CommandPrimitive.Empty.displayName;--const CommandGroup = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Group>,- React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>->(({ className, ...props }, ref) => (- <CommandPrimitive.Group- ref={ref}- className={cn(- "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",- className- )}- {...props}- />-));--CommandGroup.displayName = CommandPrimitive.Group.displayName;--const CommandSeparator = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Separator>,- React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>->(({ className, ...props }, ref) => (- <CommandPrimitive.Separator- ref={ref}- className={cn("bg-border -mx-1 h-px", className)}- {...props}- />-));-CommandSeparator.displayName = CommandPrimitive.Separator.displayName;--const CommandItem = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Item>,- React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>->(({ className, ...props }, ref) => (- <CommandPrimitive.Item- ref={ref}- className={cn(- "aria-selected:bg-accent aria-selected:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden data-[disabled='true']:pointer-events-none data-[disabled='true']:opacity-50",- className- )}- {...props}- />-));--CommandItem.displayName = CommandPrimitive.Item.displayName;--const CommandShortcut = ({- className,- ...props-}: React.HTMLAttributes<HTMLSpanElement>) => {- return (- <span- className={cn(- "text-muted-foreground ml-auto text-xs tracking-widest",- className- )}- {...props}- />- );-};-CommandShortcut.displayName = "CommandShortcut";--const CommandLoading = React.forwardRef<- React.ElementRef<typeof CommandPrimitive.Loading>,- React.ComponentPropsWithoutRef<typeof CommandPrimitive.Loading>->(({ className, ...props }, ref) => (- <CommandPrimitive.Loading- ref={ref}- className={cn("px-2 py-1.5 text-sm", className)}- {...props}- />-));-CommandLoading.displayName = CommandPrimitive.Loading.displayName;--export {- Command,- CommandDialog,- CommandInput,- CommandList,- CommandLoading,- CommandEmpty,- CommandGroup,- CommandItem,- CommandShortcut,- CommandSeparator,-};diff --git a/packages/ui/src/components/date-picker.tsx b/packages/ui/src/components/date-picker.tsxdeleted file mode 100644index c7323d303..000000000--- a/packages/ui/src/components/date-picker.tsx+++ /dev/null@@ -1,42 +0,0 @@-"use client";--import { format } from "date-fns";-import { Calendar as CalendarIcon } from "lucide-react";--import { Button } from "../components/button";-import { Calendar } from "../components/calendar";-import { Popover, PopoverContent, PopoverTrigger } from "../components/popover";-import { cn } from "../lib/utils";--export function DatePicker({- date,- setDate,-}: {- date?: Date;- setDate: (date?: Date) => void;-}) {- return (- <Popover>- <PopoverTrigger asChild>- <Button- variant={"outline"}- className={cn(- "w-full justify-start text-left font-normal",- !date && "text-muted-foreground"- )}- >- <CalendarIcon className="mr-2 h-4 w-4" />- {date ? format(date, "PPP") : <span>Pick a date</span>}- </Button>- </PopoverTrigger>- <PopoverContent className="w-auto p-0">- <Calendar- mode="single"- selected={date}- onSelect={setDate}- initialFocus- />- </PopoverContent>- </Popover>- );-}diff --git a/packages/ui/src/components/date-time-picker-popover.tsx b/packages/ui/src/components/date-time-picker-popover.tsxdeleted file mode 100644index fb886c9b2..000000000--- a/packages/ui/src/components/date-time-picker-popover.tsx+++ /dev/null@@ -1,92 +0,0 @@-// CREDITS: https://gist.github.com/fernandops26/da681c4b12e52191803b4fcb040cdebb-"use client";--import { Calendar as CalendarIcon } from "lucide-react";-import { DateTime } from "luxon";-import * as React from "react";-import type { SelectSingleEventHandler } from "react-day-picker";--import { cn } from "../lib/utils";-import { Button } from "./button";-import { Calendar } from "./calendar";-import { Input } from "./input";-import { Label } from "./label";-import { Popover, PopoverContent, PopoverTrigger } from "./popover";--interface DateTimePickerProps {- date: Date;- setDate: (date: Date) => void;- className?: string;-}--export function DateTimePickerPopover({- date,- setDate,- className,-}: DateTimePickerProps) {- const [selectedDateTime, setSelectedDateTime] = React.useState<DateTime>(- DateTime.fromJSDate(date)- );-- const handleSelect: SelectSingleEventHandler = (_day, selected) => {- const selectedDay = DateTime.fromJSDate(selected);- const modifiedDay = selectedDay.set({- hour: selectedDateTime.hour,- minute: selectedDateTime.minute,- });-- setSelectedDateTime(modifiedDay);- setDate(modifiedDay.toJSDate());- };-- const handleTimeChange: React.ChangeEventHandler<HTMLInputElement> = (e) => {- const { value } = e.target;- const hours = Number.parseInt(value.split(":")[0] || "00", 10);- const minutes = Number.parseInt(value.split(":")[1] || "00", 10);- const modifiedDay = selectedDateTime.set({ hour: hours, minute: minutes });-- setSelectedDateTime(modifiedDay);- setDate(modifiedDay.toJSDate());- };-- return (- <Popover>- <PopoverTrigger asChild className="z-10">- <Button- variant={"outline"}- className={cn(- "w-[280px] justify-start text-left font-normal",- !date && "text-muted-foreground",- className- )}- suppressHydrationWarning // because timestamp is not same, server and client- >- <CalendarIcon className="mr-2 h-4 w-4" />- {date ? (- selectedDateTime.toFormat("DDD HH:mm")- ) : (- <span>Pick a date</span>- )}- </Button>- </PopoverTrigger>- <PopoverContent className="w-auto p-0">- <Calendar- mode="single"- selected={selectedDateTime.toJSDate()}- onSelect={handleSelect}- initialFocus- />- <div className="px-4 pb-4 pt-0">- <Label>Time</Label>- {/* TODO: style it properly! */}- <Input- type="time"- onChange={handleTimeChange}- value={selectedDateTime.toFormat("HH:mm")}- />- </div>- {!selectedDateTime && <p>Please pick a day.</p>}- </PopoverContent>- </Popover>- );-}diff --git a/packages/ui/src/components/date-time-picker.tsx b/packages/ui/src/components/date-time-picker.tsxdeleted file mode 100644index 4213cb56e..000000000--- a/packages/ui/src/components/date-time-picker.tsx+++ /dev/null@@ -1,68 +0,0 @@-// CREDITS: https://gist.github.com/fernandops26/da681c4b12e52191803b4fcb040cdebb-"use client";--import { DateTime } from "luxon";-import * as React from "react";-import type { SelectSingleEventHandler } from "react-day-picker";--import { Calendar } from "../components/calendar";-import { Input } from "../components/input";-import { Label } from "../components/label";--interface DateTimePickerProps {- date: Date;- setDate: (date: Date) => void;- className?: string;-}--export function DateTimePicker({- date,- setDate,- className,-}: DateTimePickerProps) {- const [selectedDateTime, setSelectedDateTime] = React.useState<DateTime>(- DateTime.fromJSDate(date),- );-- const handleSelect: SelectSingleEventHandler = (_day, selected) => {- const selectedDay = DateTime.fromJSDate(selected);- const modifiedDay = selectedDay.set({- hour: selectedDateTime.hour,- minute: selectedDateTime.minute,- });-- setSelectedDateTime(modifiedDay);- setDate(modifiedDay.toJSDate());- };-- const handleTimeChange: React.ChangeEventHandler<HTMLInputElement> = (e) => {- const { value } = e.target;- const hours = Number.parseInt(value.split(":")[0] || "00", 10);- const minutes = Number.parseInt(value.split(":")[1] || "00", 10);- const modifiedDay = selectedDateTime.set({ hour: hours, minute: minutes });-- setSelectedDateTime(modifiedDay);- setDate(modifiedDay.toJSDate());- };-- return (- <div className={className}>- <Calendar- mode="single"- selected={selectedDateTime.toJSDate()}- onSelect={handleSelect}- initialFocus- />- <div className="px-4 pb-4 pt-0">- <Label>Time</Label>- {/* TODO: style it properly! */}- <Input- type="time"- onChange={handleTimeChange}- value={selectedDateTime.toFormat("HH:mm")}- />- </div>- {!selectedDateTime && <p>Please pick a day.</p>}- </div>- );-}diff --git a/packages/ui/src/components/dialog.tsx b/packages/ui/src/components/dialog.tsxdeleted file mode 100644index adc8603e5..000000000--- a/packages/ui/src/components/dialog.tsx+++ /dev/null@@ -1,135 +0,0 @@-"use client";--import * as DialogPrimitive from "@radix-ui/react-dialog";-import { XIcon } from "lucide-react";-import type * as React from "react";--import { cn } from "@/lib/utils";--function Dialog({- ...props-}: React.ComponentProps<typeof DialogPrimitive.Root>) {- return <DialogPrimitive.Root data-slot="dialog" {...props} />;-}--function DialogTrigger({- ...props-}: React.ComponentProps<typeof DialogPrimitive.Trigger>) {- return <DialogPrimitive.Trigger data-slot="dialog-trigger" {...props} />;-}--function DialogPortal({- ...props-}: React.ComponentProps<typeof DialogPrimitive.Portal>) {- return <DialogPrimitive.Portal data-slot="dialog-portal" {...props} />;-}--function DialogClose({- ...props-}: React.ComponentProps<typeof DialogPrimitive.Close>) {- return <DialogPrimitive.Close data-slot="dialog-close" {...props} />;-}--function DialogOverlay({- className,- ...props-}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {- return (- <DialogPrimitive.Overlay- data-slot="dialog-overlay"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=open]:animate-in",- className- )}- {...props}- />- );-}--function DialogContent({- className,- children,- ...props-}: React.ComponentProps<typeof DialogPrimitive.Content>) {- return (- <DialogPortal data-slot="dialog-portal">- <DialogOverlay />- <DialogPrimitive.Content- data-slot="dialog-content"- className={cn(- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=open]:animate-in sm:max-w-lg",- className- )}- {...props}- >- {children}- <DialogPrimitive.Close className="absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0">- <XIcon />- <span className="sr-only">Close</span>- </DialogPrimitive.Close>- </DialogPrimitive.Content>- </DialogPortal>- );-}--function DialogHeader({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="dialog-header"- className={cn("flex flex-col gap-2 text-center sm:text-left", className)}- {...props}- />- );-}--function DialogFooter({ className, ...props }: React.ComponentProps<"div">) {- return (- <div- data-slot="dialog-footer"- className={cn(- "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",- className- )}- {...props}- />- );-}--function DialogTitle({- className,- ...props-}: React.ComponentProps<typeof DialogPrimitive.Title>) {- return (- <DialogPrimitive.Title- data-slot="dialog-title"- className={cn("font-semibold text-lg leading-none", className)}- {...props}- />- );-}--function DialogDescription({- className,- ...props-}: React.ComponentProps<typeof DialogPrimitive.Description>) {- return (- <DialogPrimitive.Description- data-slot="dialog-description"- className={cn("text-muted-foreground text-sm", className)}- {...props}- />- );-}--export {- Dialog,- DialogClose,- DialogContent,- DialogDescription,- DialogFooter,- DialogHeader,- DialogOverlay,- DialogPortal,- DialogTitle,- DialogTrigger,-};diff --git a/packages/ui/src/components/dropdown-menu.tsx b/packages/ui/src/components/dropdown-menu.tsxdeleted file mode 100644index 6a0e2cd5c..000000000--- a/packages/ui/src/components/dropdown-menu.tsx+++ /dev/null@@ -1,200 +0,0 @@-"use client";--import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";-import { Check, ChevronRight, Circle } from "lucide-react";-import * as React from "react";--import { cn } from "../lib/utils";--const DropdownMenu = DropdownMenuPrimitive.Root;--const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;--const DropdownMenuGroup = DropdownMenuPrimitive.Group;--const DropdownMenuPortal = DropdownMenuPrimitive.Portal;--const DropdownMenuSub = DropdownMenuPrimitive.Sub;--const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;--const DropdownMenuSubTrigger = React.forwardRef<- React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,- React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {- inset?: boolean;- }->(({ className, inset, children, ...props }, ref) => (- <DropdownMenuPrimitive.SubTrigger- ref={ref}- className={cn(- "focus:bg-accent data-[state=open]:bg-accent flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden",- inset && "pl-8",- className,- )}- {...props}- >- {children}- <ChevronRight className="ml-auto h-4 w-4" />- </DropdownMenuPrimitive.SubTrigger>-));-DropdownMenuSubTrigger.displayName =- DropdownMenuPrimitive.SubTrigger.displayName;--const DropdownMenuSubContent = React.forwardRef<- React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,- React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>->(({ className, ...props }, ref) => (- <DropdownMenuPrimitive.SubContent- ref={ref}- className={cn(- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-lg",- className,- )}- {...props}- />-));-DropdownMenuSubContent.displayName =- DropdownMenuPrimitive.SubContent.displayName;--const DropdownMenuContent = React.forwardRef<- React.ElementRef<typeof DropdownMenuPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>->(({ className, sideOffset = 4, ...props }, ref) => (- <DropdownMenuPrimitive.Portal>- <DropdownMenuPrimitive.Content- ref={ref}- sideOffset={sideOffset}- className={cn(- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-md",- className,- )}- {...props}- />- </DropdownMenuPrimitive.Portal>-));-DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;--const DropdownMenuItem = React.forwardRef<- React.ElementRef<typeof DropdownMenuPrimitive.Item>,- React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {- inset?: boolean;- }->(({ className, inset, ...props }, ref) => (- <DropdownMenuPrimitive.Item- ref={ref}- className={cn(- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden transition-colors data-disabled:pointer-events-none data-disabled:opacity-50",- inset && "pl-8",- className,- )}- {...props}- />-));-DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;--const DropdownMenuCheckboxItem = React.forwardRef<- React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,- React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>->(({ className, children, checked, ...props }, ref) => (- <DropdownMenuPrimitive.CheckboxItem- ref={ref}- className={cn(- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors data-disabled:pointer-events-none data-disabled:opacity-50",- className,- )}- checked={checked}- {...props}- >- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">- <DropdownMenuPrimitive.ItemIndicator>- <Check className="h-4 w-4" />- </DropdownMenuPrimitive.ItemIndicator>- </span>- {children}- </DropdownMenuPrimitive.CheckboxItem>-));-DropdownMenuCheckboxItem.displayName =- DropdownMenuPrimitive.CheckboxItem.displayName;--const DropdownMenuRadioItem = React.forwardRef<- React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,- React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>->(({ className, children, ...props }, ref) => (- <DropdownMenuPrimitive.RadioItem- ref={ref}- className={cn(- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors data-disabled:pointer-events-none data-disabled:opacity-50",- className,- )}- {...props}- >- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">- <DropdownMenuPrimitive.ItemIndicator>- <Circle className="h-2 w-2 fill-current" />- </DropdownMenuPrimitive.ItemIndicator>- </span>- {children}- </DropdownMenuPrimitive.RadioItem>-));-DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;--const DropdownMenuLabel = React.forwardRef<- React.ElementRef<typeof DropdownMenuPrimitive.Label>,- React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {- inset?: boolean;- }->(({ className, inset, ...props }, ref) => (- <DropdownMenuPrimitive.Label- ref={ref}- className={cn(- "px-2 py-1.5 text-sm font-semibold",- inset && "pl-8",- className,- )}- {...props}- />-));-DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;--const DropdownMenuSeparator = React.forwardRef<- React.ElementRef<typeof DropdownMenuPrimitive.Separator>,- React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>->(({ className, ...props }, ref) => (- <DropdownMenuPrimitive.Separator- ref={ref}- className={cn("bg-muted -mx-1 my-1 h-px", className)}- {...props}- />-));-DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;--const DropdownMenuShortcut = ({- className,- ...props-}: React.HTMLAttributes<HTMLSpanElement>) => {- return (- <span- className={cn("ml-auto text-xs tracking-widest opacity-60", className)}- {...props}- />- );-};-DropdownMenuShortcut.displayName = "DropdownMenuShortcut";--export {- DropdownMenu,- DropdownMenuTrigger,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuCheckboxItem,- DropdownMenuRadioItem,- DropdownMenuLabel,- DropdownMenuSeparator,- DropdownMenuShortcut,- DropdownMenuGroup,- DropdownMenuPortal,- DropdownMenuSub,- DropdownMenuSubContent,- DropdownMenuSubTrigger,- DropdownMenuRadioGroup,-};diff --git a/packages/ui/src/components/form.tsx b/packages/ui/src/components/form.tsxdeleted file mode 100644index dd6ec0d2d..000000000--- a/packages/ui/src/components/form.tsx+++ /dev/null@@ -1,173 +0,0 @@-"use client";--import type * as LabelPrimitive from "@radix-ui/react-label";-import { Slot } from "@radix-ui/react-slot";-import React, { createContext, forwardRef, useContext, useId } from "react";-import type { ControllerProps, FieldPath, FieldValues } from "react-hook-form";-import { Controller, FormProvider, useFormContext } from "react-hook-form";--import { Label } from "../components/label";-import { cn } from "../lib/utils";--const Form = FormProvider;--type FormFieldContextValue<- TFieldValues extends FieldValues = FieldValues,- TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,-> = {- name: TName;-};--const FormFieldContext = createContext<FormFieldContextValue>(- {} as FormFieldContextValue,-);--const FormField = <- TFieldValues extends FieldValues = FieldValues,- TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,->({- ...props-}: ControllerProps<TFieldValues, TName>) => {- return (- <FormFieldContext.Provider value={{ name: props.name }}>- <Controller {...props} />- </FormFieldContext.Provider>- );-};--const useFormField = () => {- const fieldContext = useContext(FormFieldContext);- const itemContext = useContext(FormItemContext);- const { getFieldState, formState } = useFormContext();-- const fieldState = getFieldState(fieldContext.name, formState);-- if (!fieldContext) {- throw new Error("useFormField should be used within <FormField>");- }-- const { id } = itemContext;-- return {- id,- name: fieldContext.name,- formItemId: `${id}-form-item`,- formDescriptionId: `${id}-form-item-description`,- formMessageId: `${id}-form-item-message`,- ...fieldState,- };-};--type FormItemContextValue = {- id: string;-};--const FormItemContext = createContext<FormItemContextValue>(- {} as FormItemContextValue,-);--const FormItem = forwardRef<- HTMLDivElement,- React.HTMLAttributes<HTMLDivElement>->(({ className, ...props }, ref) => {- const id = useId();-- return (- <FormItemContext.Provider value={{ id }}>- <div ref={ref} className={cn("space-y-2", className)} {...props} />- </FormItemContext.Provider>- );-});-FormItem.displayName = "FormItem";--const FormLabel = React.forwardRef<- React.ElementRef<typeof LabelPrimitive.Root>,- React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>->(({ className, ...props }, ref) => {- const { error, formItemId } = useFormField();-- return (- <Label- ref={ref}- className={cn(error && "text-destructive", className)}- htmlFor={formItemId}- {...props}- />- );-});-FormLabel.displayName = "FormLabel";--const FormControl = React.forwardRef<- React.ElementRef<typeof Slot>,- React.ComponentPropsWithoutRef<typeof Slot>->(({ ...props }, ref) => {- const { error, formItemId, formDescriptionId, formMessageId } =- useFormField();-- return (- <Slot- ref={ref}- id={formItemId}- aria-describedby={- !error- ? `${formDescriptionId}`- : `${formDescriptionId} ${formMessageId}`- }- aria-invalid={!!error}- {...props}- />- );-});-FormControl.displayName = "FormControl";--const FormDescription = React.forwardRef<- HTMLParagraphElement,- React.HTMLAttributes<HTMLParagraphElement>->(({ className, ...props }, ref) => {- const { formDescriptionId } = useFormField();-- return (- <p- ref={ref}- id={formDescriptionId}- className={cn("text-muted-foreground text-sm", className)}- {...props}- />- );-});-FormDescription.displayName = "FormDescription";--const FormMessage = React.forwardRef<- HTMLParagraphElement,- React.HTMLAttributes<HTMLParagraphElement>->(({ className, children, ...props }, ref) => {- const { error, formMessageId } = useFormField();- const body = error ? String(error?.message) : children;-- if (!body) {- return null;- }-- return (- <p- ref={ref}- id={formMessageId}- className={cn("text-destructive text-sm font-medium", className)}- {...props}- >- {body}- </p>- );-});-FormMessage.displayName = "FormMessage";--export {- useFormField,- Form,- FormItem,- FormLabel,- FormControl,- FormDescription,- FormMessage,- FormField,-};diff --git a/packages/ui/src/components/hover-card.tsx b/packages/ui/src/components/hover-card.tsxdeleted file mode 100644index 4397ed4e6..000000000--- a/packages/ui/src/components/hover-card.tsx+++ /dev/null@@ -1,34 +0,0 @@-"use client";--import * as HoverCardPrimitive from "@radix-ui/react-hover-card";-import * as React from "react";--import { cn } from "../lib/utils";--const HoverCard = HoverCardPrimitive.Root;--// REMINDER: fixes the Safari 17.4. bug where portal floats somewhere-const HoverCardPortal = HoverCardPrimitive.Portal;--const HoverCardTrigger = HoverCardPrimitive.Trigger;--const HoverCardContent = React.forwardRef<- React.ElementRef<typeof HoverCardPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>->(({ className, align = "center", sideOffset = 4, ...props }, ref) => (- <HoverCardPortal>- <HoverCardPrimitive.Content- ref={ref}- align={align}- sideOffset={sideOffset}- className={cn(- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 rounded-md border p-4 shadow-md outline-hidden",- className,- )}- {...props}- />- </HoverCardPortal>-));-HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;--export { HoverCard, HoverCardPortal, HoverCardTrigger, HoverCardContent };diff --git a/packages/ui/src/components/input-with-addons.tsx b/packages/ui/src/components/input-with-addons.tsxdeleted file mode 100644index 5eccb9c7a..000000000--- a/packages/ui/src/components/input-with-addons.tsx+++ /dev/null@@ -1,40 +0,0 @@-import * as React from "react";--import { cn } from "../lib/utils";--export interface InputWithAddonsProps- extends React.InputHTMLAttributes<HTMLInputElement> {- leading?: React.ReactNode;- trailing?: React.ReactNode;-}--const InputWithAddons = React.forwardRef<- HTMLInputElement,- InputWithAddonsProps->(({ leading, trailing, className, ...props }, ref) => {- return (- <div className="border-input ring-offset-background focus-within:ring-ring group flex h-10 w-full rounded-md border bg-transparent text-sm focus-within:outline-hidden focus-within:ring-2 focus-within:ring-offset-2">- {leading ? (- <div className="border-input bg-muted border-r px-3 py-2">- {leading}- </div>- ) : null}- <input- className={cn(- "bg-background placeholder:text-muted-foreground w-full rounded-md px-3 py-2 focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-50",- className- )}- ref={ref}- {...props}- />- {trailing ? (- <div className="border-input bg-muted border-l px-3 py-2">- {trailing}- </div>- ) : null}- </div>- );-});-InputWithAddons.displayName = "InputWithAddons";--export { InputWithAddons };diff --git a/packages/ui/src/components/input.tsx b/packages/ui/src/components/input.tsxdeleted file mode 100644index 62816dbb7..000000000--- a/packages/ui/src/components/input.tsx+++ /dev/null@@ -1,24 +0,0 @@-import * as React from "react";--import { cn } from "../lib/utils";--export type InputProps = React.InputHTMLAttributes<HTMLInputElement>;--const Input = React.forwardRef<HTMLInputElement, InputProps>(- ({ className, type, ...props }, ref) => {- return (- <input- type={type}- className={cn(- "border-input ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",- className,- )}- ref={ref}- {...props}- />- );- },-);-Input.displayName = "Input";--export { Input };diff --git a/packages/ui/src/components/label.tsx b/packages/ui/src/components/label.tsxdeleted file mode 100644index 0cbeab137..000000000--- a/packages/ui/src/components/label.tsx+++ /dev/null@@ -1,28 +0,0 @@-// THIS IS **NOT** a shadcn ui component. TBD if we want to keep `import/consistent-type-specifier-style`-// https://ui.shadcn.com/docs/components/label--"use client";--import { cva } from "class-variance-authority";-import type { VariantProps } from "class-variance-authority";-import * as React from "react";--import { cn } from "../lib/utils";--const labelVariants = cva(- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",-);--export interface LabelProps- extends React.LabelHTMLAttributes<HTMLLabelElement>,- VariantProps<typeof labelVariants> {}--const Label = React.forwardRef<HTMLLabelElement, LabelProps>(- ({ className, ...props }, ref) => (- <label ref={ref} className={cn(labelVariants(), className)} {...props} />- ),-);--Label.displayName = "Label";--export { Label };diff --git a/packages/ui/src/components/multi-select.tsx b/packages/ui/src/components/multi-select.tsxdeleted file mode 100644index 89827b9bf..000000000--- a/packages/ui/src/components/multi-select.tsx+++ /dev/null@@ -1,133 +0,0 @@-"use client";--import { Command as CommandPrimitive } from "cmdk";-import { X } from "lucide-react";-import * as React from "react";--import { Badge } from "./badge";-import { Command, CommandGroup, CommandItem, CommandList } from "./command";--type Option = Record<"value" | "label", string | number>;--export interface MultiSelectProps {- options?: Option[];- onChange?: (values: Option[]) => void;- placeholder?: string;-}--export const MultiSelect = ({- onChange,- options = [],- ...props-}: MultiSelectProps) => {- const inputRef = React.useRef<HTMLInputElement>(null);- const [open, setOpen] = React.useState(false);- const [selected, setSelected] = React.useState<Option[]>([]);- const [inputValue, setInputValue] = React.useState("");-- const handleUnselect = React.useCallback((option: Option) => {- setSelected((prev) => prev.filter((s) => s.value !== option.value));- }, []);-- const handleKeyDown = React.useCallback(- (e: React.KeyboardEvent<HTMLDivElement>) => {- const input = inputRef.current;- if (input) {- if (e.key === "Delete" || e.key === "Backspace") {- if (input.value === "") {- setSelected((prev) => {- const newSelected = [...prev];- newSelected.pop();- return newSelected;- });- }- }- // This is not a default behaviour of the <input /> field- if (e.key === "Escape") {- input.blur();- }- }- },- []- );-- const selectables = options.filter((option) => !selected.includes(option));-- React.useEffect(() => {- onChange?.(selected);- }, [selected, onChange]);-- return (- <Command- onKeyDown={handleKeyDown}- className="overflow-visible bg-transparent"- >- <div className="border-input ring-offset-background focus-within:ring-ring group rounded-md border px-3 py-2 text-sm focus-within:ring-2 focus-within:ring-offset-2">- <div className="flex flex-wrap gap-1">- {selected.map((option) => {- return (- <Badge key={option.value} variant="secondary">- {option.label}- <button- type="button"- className="ring-offset-background focus:ring-ring ml-1 rounded-full outline-hidden focus:ring-2 focus:ring-offset-2"- onKeyDown={(e) => {- if (e.key === "Enter") {- handleUnselect(option);- }- }}- onMouseDown={(e) => {- e.preventDefault();- e.stopPropagation();- }}- onClick={() => handleUnselect(option)}- >- <X className="text-muted-foreground hover:text-foreground h-3 w-3" />- </button>- </Badge>- );- })}- {/* Avoid having the "Search" Icon */}- <CommandPrimitive.Input- ref={inputRef}- value={inputValue}- onValueChange={setInputValue}- onBlur={() => setOpen(false)}- onFocus={() => setOpen(true)}- className="placeholder:text-muted-foreground ml-2 flex-1 bg-transparent outline-hidden"- {...props}- />- </div>- </div>- <div className="relative mt-2">- {open && selectables.length > 0 ? (- <div className="bg-popover text-popover-foreground animate-in absolute top-0 z-10 w-full rounded-md border shadow-md outline-hidden">- <CommandList>- <CommandGroup className="h-full overflow-auto">- {selectables.map((option) => {- return (- <CommandItem- key={option.value}- onMouseDown={(e) => {- e.preventDefault();- e.stopPropagation();- }}- onSelect={(_value) => {- setInputValue("");- setSelected((prev) => [...prev, option]);- }}- value={String(option.label)}- className={"cursor-pointer"}- >- {option.label}- </CommandItem>- );- })}- </CommandGroup>- </CommandList>- </div>- ) : null}- </div>- </Command>- );-};diff --git a/packages/ui/src/components/navigation-menu.tsx b/packages/ui/src/components/navigation-menu.tsxdeleted file mode 100644index 64de84820..000000000--- a/packages/ui/src/components/navigation-menu.tsx+++ /dev/null@@ -1,128 +0,0 @@-import * as React from "react";-import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";-import { cva } from "class-variance-authority";-import { ChevronDown } from "lucide-react";--import { cn } from "@/lib/utils";--const NavigationMenu = React.forwardRef<- React.ElementRef<typeof NavigationMenuPrimitive.Root>,- React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>->(({ className, children, ...props }, ref) => (- <NavigationMenuPrimitive.Root- ref={ref}- className={cn(- "relative z-10 flex max-w-max flex-1 items-center justify-center",- className- )}- {...props}- >- {children}- <NavigationMenuViewport />- </NavigationMenuPrimitive.Root>-));-NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;--const NavigationMenuList = React.forwardRef<- React.ElementRef<typeof NavigationMenuPrimitive.List>,- React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>->(({ className, ...props }, ref) => (- <NavigationMenuPrimitive.List- ref={ref}- className={cn(- "group flex flex-1 list-none items-center justify-center space-x-1",- className- )}- {...props}- />-));-NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;--const NavigationMenuItem = NavigationMenuPrimitive.Item;--const navigationMenuTriggerStyle = cva(- "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-active:bg-accent/50 data-[state=open]:bg-accent/50"-);--const NavigationMenuTrigger = React.forwardRef<- React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,- React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>->(({ className, children, ...props }, ref) => (- <NavigationMenuPrimitive.Trigger- ref={ref}- className={cn(navigationMenuTriggerStyle(), "group", className)}- {...props}- >- {children}{" "}- <ChevronDown- className="relative top-px ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180"- aria-hidden="true"- />- </NavigationMenuPrimitive.Trigger>-));-NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;--const NavigationMenuContent = React.forwardRef<- React.ElementRef<typeof NavigationMenuPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>->(({ className, ...props }, ref) => (- <NavigationMenuPrimitive.Content- ref={ref}- className={cn(- "left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",- className- )}- {...props}- />-));-NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;--const NavigationMenuLink = NavigationMenuPrimitive.Link;--const NavigationMenuViewport = React.forwardRef<- React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,- React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>->(({ className, ...props }, ref) => (- <div className={cn("absolute left-0 top-full flex justify-center")}>- <NavigationMenuPrimitive.Viewport- className={cn(- "origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-(--radix-navigation-menu-viewport-width)",- className- )}- ref={ref}- {...props}- />- </div>-));-NavigationMenuViewport.displayName =- NavigationMenuPrimitive.Viewport.displayName;--const NavigationMenuIndicator = React.forwardRef<- React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,- React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>->(({ className, ...props }, ref) => (- <NavigationMenuPrimitive.Indicator- ref={ref}- className={cn(- "top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",- className- )}- {...props}- >- <div className="relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" />- </NavigationMenuPrimitive.Indicator>-));-NavigationMenuIndicator.displayName =- NavigationMenuPrimitive.Indicator.displayName;--export {- navigationMenuTriggerStyle,- NavigationMenu,- NavigationMenuList,- NavigationMenuItem,- NavigationMenuContent,- NavigationMenuTrigger,- NavigationMenuLink,- NavigationMenuIndicator,- NavigationMenuViewport,-};diff --git a/packages/ui/src/components/pagination.tsx b/packages/ui/src/components/pagination.tsxdeleted file mode 100644index f910954ce..000000000--- a/packages/ui/src/components/pagination.tsx+++ /dev/null@@ -1,118 +0,0 @@-import * as React from "react";-import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";-import Link from "next/link";--import { cn } from "@/lib/utils";-import { ButtonProps, buttonVariants } from "./button";--const Pagination = ({ className, ...props }: React.ComponentProps<"nav">) => (- <nav- role="navigation"- aria-label="pagination"- className={cn("mx-auto flex w-full justify-center", className)}- {...props}- />-);-Pagination.displayName = "Pagination";--const PaginationContent = React.forwardRef<- HTMLUListElement,- React.ComponentProps<"ul">->(({ className, ...props }, ref) => (- <ul- ref={ref}- className={cn("flex flex-row items-center gap-1", className)}- {...props}- />-));-PaginationContent.displayName = "PaginationContent";--const PaginationItem = React.forwardRef<- HTMLLIElement,- React.ComponentProps<"li">->(({ className, ...props }, ref) => (- <li ref={ref} className={cn("", className)} {...props} />-));-PaginationItem.displayName = "PaginationItem";--type PaginationLinkProps = {- isActive?: boolean;-} & Pick<ButtonProps, "size"> &- React.ComponentProps<typeof Link>;--const PaginationLink = ({- className,- isActive,- size = "icon",- ...props-}: PaginationLinkProps) => (- <Link- aria-current={isActive ? "page" : undefined}- className={cn(- buttonVariants({- variant: isActive ? "outline" : "ghost",- size,- }),- className- )}- {...props}- />-);-PaginationLink.displayName = "PaginationLink";--const PaginationPrevious = ({- className,- ...props-}: React.ComponentProps<typeof PaginationLink>) => (- <PaginationLink- aria-label="Go to previous page"- size="default"- className={cn("gap-1 pl-2.5", className)}- {...props}- >- <ChevronLeft className="h-4 w-4" />- <span>Prev</span>- </PaginationLink>-);-PaginationPrevious.displayName = "PaginationPrevious";--const PaginationNext = ({- className,- ...props-}: React.ComponentProps<typeof PaginationLink>) => (- <PaginationLink- aria-label="Go to next page"- size="default"- className={cn("gap-1 pr-2.5", className)}- {...props}- >- <span>Next</span>- <ChevronRight className="h-4 w-4" />- </PaginationLink>-);-PaginationNext.displayName = "PaginationNext";--const PaginationEllipsis = ({- className,- ...props-}: React.ComponentProps<"span">) => (- <span- aria-hidden- className={cn("flex h-9 w-9 items-center justify-center", className)}- {...props}- >- <MoreHorizontal className="h-4 w-4" />- <span className="sr-only">More pages</span>- </span>-);-PaginationEllipsis.displayName = "PaginationEllipsis";--export {- Pagination,- PaginationContent,- PaginationEllipsis,- PaginationItem,- PaginationLink,- PaginationNext,- PaginationPrevious,-};diff --git a/packages/ui/src/components/popover.tsx b/packages/ui/src/components/popover.tsxdeleted file mode 100644index 0863e880e..000000000--- a/packages/ui/src/components/popover.tsx+++ /dev/null@@ -1,31 +0,0 @@-"use client";--import * as PopoverPrimitive from "@radix-ui/react-popover";-import * as React from "react";--import { cn } from "../lib/utils";--const Popover = PopoverPrimitive.Root;--const PopoverTrigger = PopoverPrimitive.Trigger;--const PopoverContent = React.forwardRef<- React.ElementRef<typeof PopoverPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>->(({ className, align = "center", sideOffset = 4, ...props }, ref) => (- <PopoverPrimitive.Portal>- <PopoverPrimitive.Content- ref={ref}- align={align}- sideOffset={sideOffset}- className={cn(- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-md border p-4 shadow-md outline-hidden",- className,- )}- {...props}- />- </PopoverPrimitive.Portal>-));-PopoverContent.displayName = PopoverPrimitive.Content.displayName;--export { Popover, PopoverTrigger, PopoverContent };diff --git a/packages/ui/src/components/progress.tsx b/packages/ui/src/components/progress.tsxdeleted file mode 100644index 9cc8d9f68..000000000--- a/packages/ui/src/components/progress.tsx+++ /dev/null@@ -1,28 +0,0 @@-"use client";--import * as ProgressPrimitive from "@radix-ui/react-progress";-import * as React from "react";--import { cn } from "@/lib/utils";--const Progress = React.forwardRef<- React.ElementRef<typeof ProgressPrimitive.Root>,- React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>->(({ className, value, ...props }, ref) => (- <ProgressPrimitive.Root- ref={ref}- className={cn(- "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",- className,- )}- {...props}- >- <ProgressPrimitive.Indicator- className="bg-primary h-full w-full flex-1 transition-all"- style={{ transform: `translateX(-${100 - (value || 0)}%)` }}- />- </ProgressPrimitive.Root>-));-Progress.displayName = ProgressPrimitive.Root.displayName;--export { Progress };diff --git a/packages/ui/src/components/radio-group.tsx b/packages/ui/src/components/radio-group.tsxdeleted file mode 100644index 2adb67e50..000000000--- a/packages/ui/src/components/radio-group.tsx+++ /dev/null@@ -1,44 +0,0 @@-"use client";--import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";-import { Circle } from "lucide-react";-import * as React from "react";--import { cn } from "../lib/utils";--const RadioGroup = React.forwardRef<- React.ElementRef<typeof RadioGroupPrimitive.Root>,- React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>->(({ className, ...props }, ref) => {- return (- <RadioGroupPrimitive.Root- className={cn("grid gap-2", className)}- {...props}- ref={ref}- />- );-});-RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;--const RadioGroupItem = React.forwardRef<- React.ElementRef<typeof RadioGroupPrimitive.Item>,- React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>->(({ className, ...props }, ref) => {- return (- <RadioGroupPrimitive.Item- ref={ref}- className={cn(- "border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",- className,- )}- {...props}- >- <RadioGroupPrimitive.Indicator className="flex items-center justify-center">- <Circle className="h-2.5 w-2.5 fill-current text-current" />- </RadioGroupPrimitive.Indicator>- </RadioGroupPrimitive.Item>- );-});-RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;--export { RadioGroup, RadioGroupItem };diff --git a/packages/ui/src/components/select.tsx b/packages/ui/src/components/select.tsxdeleted file mode 100644index 9edba53c0..000000000--- a/packages/ui/src/components/select.tsx+++ /dev/null@@ -1,138 +0,0 @@-"use client";--import * as SelectPrimitive from "@radix-ui/react-select";-import { Check, ChevronDown } from "lucide-react";-import * as React from "react";--import { cn } from "../lib/utils";-import { cva, VariantProps } from "class-variance-authority";--const Select = SelectPrimitive.Root;--const SelectGroup = SelectPrimitive.Group;--const SelectValue = SelectPrimitive.Value;--const selectVariants = cva(- "flex w-full h-10 items-center justify-between px-3 rounded-md border border-input ring-offset-background py-2 text-sm placeholder:text-muted-foreground focus:ring-ring focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",- {- variants: {- variant: {- default: "bg-transparent",-- ghost: "border-none space-x-2",- },- },- defaultVariants: {- variant: "default",- },- }-);-export interface SelectTriggerProps- extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>,- VariantProps<typeof selectVariants> {}--const SelectTrigger = React.forwardRef<- React.ElementRef<typeof SelectPrimitive.Trigger>,- SelectTriggerProps->(({ className, children, ...props }, ref) => (- <SelectPrimitive.Trigger- ref={ref}- className={cn(selectVariants({ variant: props.variant }), className)}- {...props}- >- {children}- <SelectPrimitive.Icon asChild>- <ChevronDown className="h-4 w-4 opacity-50" />- </SelectPrimitive.Icon>- </SelectPrimitive.Trigger>-));-SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;--const SelectContent = React.forwardRef<- React.ElementRef<typeof SelectPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>->(({ className, children, position = "popper", ...props }, ref) => (- <SelectPrimitive.Portal>- <SelectPrimitive.Content- ref={ref}- className={cn(- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 min-w-32 overflow-hidden rounded-md border shadow-md",- position === "popper" &&- "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",- className- )}- position={position}- {...props}- >- <SelectPrimitive.Viewport- className={cn(- "p-1",- position === "popper" &&- "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)"- )}- >- {children}- </SelectPrimitive.Viewport>- </SelectPrimitive.Content>- </SelectPrimitive.Portal>-));-SelectContent.displayName = SelectPrimitive.Content.displayName;--const SelectLabel = React.forwardRef<- React.ElementRef<typeof SelectPrimitive.Label>,- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>->(({ className, ...props }, ref) => (- <SelectPrimitive.Label- ref={ref}- className={cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)}- {...props}- />-));-SelectLabel.displayName = SelectPrimitive.Label.displayName;--const SelectItem = React.forwardRef<- React.ElementRef<typeof SelectPrimitive.Item>,- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>->(({ className, children, ...props }, ref) => (- <SelectPrimitive.Item- ref={ref}- className={cn(- "focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden data-disabled:pointer-events-none data-disabled:opacity-50",- className- )}- {...props}- >- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">- <SelectPrimitive.ItemIndicator>- <Check className="h-4 w-4" />- </SelectPrimitive.ItemIndicator>- </span>-- <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>- </SelectPrimitive.Item>-));-SelectItem.displayName = SelectPrimitive.Item.displayName;--const SelectSeparator = React.forwardRef<- React.ElementRef<typeof SelectPrimitive.Separator>,- React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>->(({ className, ...props }, ref) => (- <SelectPrimitive.Separator- ref={ref}- className={cn("bg-muted -mx-1 my-1 h-px", className)}- {...props}- />-));-SelectSeparator.displayName = SelectPrimitive.Separator.displayName;--export {- Select,- SelectGroup,- SelectValue,- SelectTrigger,- SelectContent,- SelectLabel,- SelectItem,- SelectSeparator,-};diff --git a/packages/ui/src/components/separator.tsx b/packages/ui/src/components/separator.tsxdeleted file mode 100644index a881ba35c..000000000--- a/packages/ui/src/components/separator.tsx+++ /dev/null@@ -1,31 +0,0 @@-"use client";--import * as SeparatorPrimitive from "@radix-ui/react-separator";-import * as React from "react";--import { cn } from "../lib/utils";--const Separator = React.forwardRef<- React.ElementRef<typeof SeparatorPrimitive.Root>,- React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>->(- (- { className, orientation = "horizontal", decorative = true, ...props },- ref,- ) => (- <SeparatorPrimitive.Root- ref={ref}- decorative={decorative}- orientation={orientation}- className={cn(- "bg-border shrink-0",- orientation === "horizontal" ? "h-px w-full" : "h-full w-px",- className,- )}- {...props}- />- ),-);-Separator.displayName = SeparatorPrimitive.Root.displayName;--export { Separator };diff --git a/packages/ui/src/components/sheet.tsx b/packages/ui/src/components/sheet.tsxdeleted file mode 100644index 883ed2d16..000000000--- a/packages/ui/src/components/sheet.tsx+++ /dev/null@@ -1,140 +0,0 @@-"use client";--import * as React from "react";-import * as SheetPrimitive from "@radix-ui/react-dialog";-import { cva, type VariantProps } from "class-variance-authority";-import { X } from "lucide-react";--import { cn } from "@/lib/utils";--const Sheet = SheetPrimitive.Root;--const SheetTrigger = SheetPrimitive.Trigger;--const SheetClose = SheetPrimitive.Close;--const SheetPortal = SheetPrimitive.Portal;--const SheetOverlay = React.forwardRef<- React.ElementRef<typeof SheetPrimitive.Overlay>,- React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>->(({ className, ...props }, ref) => (- <SheetPrimitive.Overlay- className={cn(- "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",- className- )}- {...props}- ref={ref}- />-));-SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;--const sheetVariants = cva(- "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",- {- variants: {- side: {- top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",- bottom:- "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",- left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",- right:- "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm",- },- },- defaultVariants: {- side: "right",- },- }-);--interface SheetContentProps- extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,- VariantProps<typeof sheetVariants> {}--const SheetContent = React.forwardRef<- React.ElementRef<typeof SheetPrimitive.Content>,- SheetContentProps->(({ side = "right", className, children, ...props }, ref) => (- <SheetPortal>- <SheetOverlay />- <SheetPrimitive.Content- ref={ref}- className={cn(sheetVariants({ side }), className)}- {...props}- >- {children}- <SheetPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">- <X className="h-4 w-4" />- <span className="sr-only">Close</span>- </SheetPrimitive.Close>- </SheetPrimitive.Content>- </SheetPortal>-));-SheetContent.displayName = SheetPrimitive.Content.displayName;--const SheetHeader = ({- className,- ...props-}: React.HTMLAttributes<HTMLDivElement>) => (- <div- className={cn(- "flex flex-col space-y-2 text-center sm:text-left",- className- )}- {...props}- />-);-SheetHeader.displayName = "SheetHeader";--const SheetFooter = ({- className,- ...props-}: React.HTMLAttributes<HTMLDivElement>) => (- <div- className={cn(- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",- className- )}- {...props}- />-);-SheetFooter.displayName = "SheetFooter";--const SheetTitle = React.forwardRef<- React.ElementRef<typeof SheetPrimitive.Title>,- React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>->(({ className, ...props }, ref) => (- <SheetPrimitive.Title- ref={ref}- className={cn("text-lg font-semibold text-foreground", className)}- {...props}- />-));-SheetTitle.displayName = SheetPrimitive.Title.displayName;--const SheetDescription = React.forwardRef<- React.ElementRef<typeof SheetPrimitive.Description>,- React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>->(({ className, ...props }, ref) => (- <SheetPrimitive.Description- ref={ref}- className={cn("text-sm text-muted-foreground", className)}- {...props}- />-));-SheetDescription.displayName = SheetPrimitive.Description.displayName;--export {- Sheet,- SheetPortal,- SheetOverlay,- SheetTrigger,- SheetClose,- SheetContent,- SheetHeader,- SheetFooter,- SheetTitle,- SheetDescription,-};diff --git a/packages/ui/src/components/skeleton.tsx b/packages/ui/src/components/skeleton.tsxdeleted file mode 100644index 183a13489..000000000--- a/packages/ui/src/components/skeleton.tsx+++ /dev/null@@ -1,15 +0,0 @@-import { cn } from "../lib/utils";--function Skeleton({- className,- ...props-}: React.HTMLAttributes<HTMLDivElement>) {- return (- <div- className={cn("bg-primary/10 animate-pulse rounded-md", className)}- {...props}- />- );-}--export { Skeleton };diff --git a/packages/ui/src/components/slider.tsx b/packages/ui/src/components/slider.tsxdeleted file mode 100644index df94d2071..000000000--- a/packages/ui/src/components/slider.tsx+++ /dev/null@@ -1,28 +0,0 @@-"use client";--import * as React from "react";-import * as SliderPrimitive from "@radix-ui/react-slider";--import { cn } from "../lib/utils";--const Slider = React.forwardRef<- React.ElementRef<typeof SliderPrimitive.Root>,- React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>->(({ className, ...props }, ref) => (- <SliderPrimitive.Root- ref={ref}- className={cn(- "relative flex w-full touch-none select-none items-center",- className- )}- {...props}- >- <SliderPrimitive.Track className="relative h-2 w-full grow overflow-hidden rounded-full bg-secondary">- <SliderPrimitive.Range className="absolute h-full bg-primary" />- </SliderPrimitive.Track>- <SliderPrimitive.Thumb className="block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" />- </SliderPrimitive.Root>-));-Slider.displayName = SliderPrimitive.Root.displayName;--export { Slider };diff --git a/packages/ui/src/components/sonner.tsx b/packages/ui/src/components/sonner.tsxdeleted file mode 100644index d4b762411..000000000--- a/packages/ui/src/components/sonner.tsx+++ /dev/null@@ -1,32 +0,0 @@-"use client";--import { useTheme } from "next-themes";-import { Toaster as Sonner } from "sonner";--type ToasterProps = React.ComponentProps<typeof Sonner>;--const Toaster = ({ ...props }: ToasterProps) => {- const { theme = "system" } = useTheme();-- return (- <Sonner- theme={theme as ToasterProps["theme"]}- className="toaster group"- toastOptions={{- classNames: {- toast:- "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",- description: "group-[.toast]:text-muted-foreground",- actionButton:- "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",- cancelButton:- "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",- closeButton: "group-[.toast]:text-muted-foreground",- },- }}- {...props}- />- );-};--export { Toaster };diff --git a/packages/ui/src/components/sortable.tsx b/packages/ui/src/components/sortable.tsxdeleted file mode 100644index 0c646528b..000000000--- a/packages/ui/src/components/sortable.tsx+++ /dev/null@@ -1,274 +0,0 @@-"use client";--import * as React from "react";-import type {- DndContextProps,- DraggableSyntheticListeners,- DropAnimation,- UniqueIdentifier,-} from "@dnd-kit/core";-import {- closestCenter,- defaultDropAnimationSideEffects,- DndContext,- DragOverlay,- KeyboardSensor,- MouseSensor,- TouchSensor,- useSensor,- useSensors,-} from "@dnd-kit/core";-import {- restrictToParentElement,- restrictToVerticalAxis,-} from "@dnd-kit/modifiers";-import {- arrayMove,- SortableContext,- useSortable,- verticalListSortingStrategy,-} from "@dnd-kit/sortable";-import type { SortableContextProps } from "@dnd-kit/sortable";-import { CSS } from "@dnd-kit/utilities";-import { Slot } from "@radix-ui/react-slot";-import type { SlotProps } from "@radix-ui/react-slot";--import { composeRefs } from "../lib/compose-refs";-import { cn } from "../lib/utils";-import { Button } from "./button";-import type { ButtonProps } from "./button";--interface SortableProps<TData extends { id: UniqueIdentifier }>- extends DndContextProps {- /**- * An array of data items that the sortable component will render.- * @example- * value={[- * { id: 1, name: 'Item 1' },- * { id: 2, name: 'Item 2' },- * ]}- */- value: TData[];-- /**- * An optional callback function that is called when the order of the data items changes.- * It receives the new array of items as its argument.- * @example- * onValueChange={(items) => console.log(items)}- */- onValueChange?: (items: TData[]) => void;-- /**- * An optional callback function that is called when an item is moved.- * It receives an event object with `activeIndex` and `overIndex` properties, representing the original and new positions of the moved item.- * This will override the default behavior of updating the order of the data items.- * @type (event: { activeIndex: number; overIndex: number }) => void- * @example- * onMove={(event) => console.log(`Item moved from index ${event.activeIndex} to index ${event.overIndex}`)}- */- onMove?: (event: { activeIndex: number; overIndex: number }) => void;-- /**- * A collision detection strategy that will be used to determine the closest sortable item.- * @default closestCenter- * @type DndContextProps["collisionDetection"]- */- collisionDetection?: DndContextProps["collisionDetection"];-- /**- * An array of modifiers that will be used to modify the behavior of the sortable component.- * @default- * [restrictToVerticalAxis, restrictToParentElement]- * @type Modifier[]- */- modifiers?: DndContextProps["modifiers"];-- /**- * A sorting strategy that will be used to determine the new order of the data items.- * @default verticalListSortingStrategy- * @type SortableContextProps["strategy"]- */- strategy?: SortableContextProps["strategy"];-- /**- * An optional React node that is rendered on top of the sortable component.- * It can be used to display additional information or controls.- * @default null- * @type React.ReactNode | null- * @example- * overlay={<Skeleton className="w-full h-8" />}- */- overlay?: React.ReactNode | null;-}--function Sortable<TData extends { id: UniqueIdentifier }>({- value,- onValueChange,- collisionDetection = closestCenter,- modifiers = [restrictToVerticalAxis, restrictToParentElement],- strategy = verticalListSortingStrategy,- onMove,- children,- overlay,- ...props-}: SortableProps<TData>) {- const [activeId, setActiveId] = React.useState<UniqueIdentifier | null>(null);-- const sensors = useSensors(- useSensor(MouseSensor),- useSensor(TouchSensor),- useSensor(KeyboardSensor),- );-- return (- <DndContext- modifiers={modifiers}- sensors={sensors}- onDragStart={({ active }) => setActiveId(active.id)}- onDragEnd={({ active, over }) => {- if (over && active.id !== over?.id) {- const activeIndex = value.findIndex((item) => item.id === active.id);- const overIndex = value.findIndex((item) => item.id === over.id);-- if (onMove) {- onMove({ activeIndex, overIndex });- } else {- onValueChange?.(arrayMove(value, activeIndex, overIndex));- }- }- setActiveId(null);- }}- onDragCancel={() => setActiveId(null)}- collisionDetection={collisionDetection}- {...props}- >- <SortableContext items={value} strategy={strategy}>- {children}- </SortableContext>- {overlay ? (- <SortableOverlay activeId={activeId}>{overlay}</SortableOverlay>- ) : null}- </DndContext>- );-}--const dropAnimationOpts: DropAnimation = {- sideEffects: defaultDropAnimationSideEffects({- styles: {- active: {- opacity: "0.4",- },- },- }),-};--interface SortableOverlayProps- extends React.ComponentPropsWithRef<typeof DragOverlay> {- activeId?: UniqueIdentifier | null;-}--function SortableOverlay({- activeId,- dropAnimation = dropAnimationOpts,- children,- ...props-}: SortableOverlayProps) {- return (- <DragOverlay dropAnimation={dropAnimation} {...props}>- {activeId ? (- <SortableItem value={activeId} asChild>- {children}- </SortableItem>- ) : null}- </DragOverlay>- );-}--interface SortableItemContextProps {- attributes: React.HTMLAttributes<HTMLElement>;- listeners: DraggableSyntheticListeners | undefined;-}--const SortableItemContext = React.createContext<SortableItemContextProps>({- attributes: {},- listeners: undefined,-});--function useSortableItem() {- const context = React.useContext(SortableItemContext);-- if (!context) {- throw new Error("useSortableItem must be used within a SortableItem");- }-- return context;-}--interface SortableItemProps extends SlotProps {- value: UniqueIdentifier;- asChild?: boolean;-}--const SortableItem = React.forwardRef<HTMLDivElement, SortableItemProps>(- ({ asChild, className, value, ...props }, ref) => {- const {- attributes,- listeners,- setNodeRef,- transform,- transition,- isDragging,- } = useSortable({ id: value });-- const context = React.useMemo(- () => ({- attributes,- listeners,- }),- [attributes, listeners],- );- const style: React.CSSProperties = {- opacity: isDragging ? 0.4 : undefined,- transform: CSS.Translate.toString(transform),- transition,- };-- const Comp = asChild ? Slot : "div";-- return (- <SortableItemContext.Provider value={context}>- <Comp- className={cn(isDragging && "cursor-grabbing", className)}- ref={composeRefs(ref, setNodeRef as React.Ref<HTMLDivElement>)}- style={style}- {...props}- />- </SortableItemContext.Provider>- );- },-);-SortableItem.displayName = "SortableItem";--interface SortableDragHandleProps extends ButtonProps {- withHandle?: boolean;-}--const SortableDragHandle = React.forwardRef<- HTMLButtonElement,- SortableDragHandleProps->(({ className, ...props }, ref) => {- const { attributes, listeners } = useSortableItem();-- return (- <Button- ref={composeRefs(ref)}- className={cn("cursor-grab", className)}- {...attributes}- {...listeners}- {...props}- />- );-});-SortableDragHandle.displayName = "SortableDragHandle";--export { Sortable, SortableDragHandle, SortableItem, SortableOverlay };diff --git a/packages/ui/src/components/switch.tsx b/packages/ui/src/components/switch.tsxdeleted file mode 100644index 16d13fdb5..000000000--- a/packages/ui/src/components/switch.tsx+++ /dev/null@@ -1,29 +0,0 @@-"use client";--import * as SwitchPrimitives from "@radix-ui/react-switch";-import * as React from "react";--import { cn } from "../lib/utils";--const Switch = React.forwardRef<- React.ElementRef<typeof SwitchPrimitives.Root>,- React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>->(({ className, ...props }, ref) => (- <SwitchPrimitives.Root- className={cn(- "focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",- className,- )}- {...props}- ref={ref}- >- <SwitchPrimitives.Thumb- className={cn(- "bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0",- )}- />- </SwitchPrimitives.Root>-));-Switch.displayName = SwitchPrimitives.Root.displayName;--export { Switch };diff --git a/packages/ui/src/components/table.tsx b/packages/ui/src/components/table.tsxdeleted file mode 100644index 99a4c2a55..000000000--- a/packages/ui/src/components/table.tsx+++ /dev/null@@ -1,117 +0,0 @@-import * as React from "react";--import { cn } from "../lib/utils";--const Table = React.forwardRef<- HTMLTableElement,- React.HTMLAttributes<HTMLTableElement>->(({ className, ...props }, ref) => (- <div className="w-full overflow-auto">- <table- ref={ref}- className={cn("w-full caption-bottom text-sm", className)}- {...props}- />- </div>-));-Table.displayName = "Table";--const TableHeader = React.forwardRef<- HTMLTableSectionElement,- React.HTMLAttributes<HTMLTableSectionElement>->(({ className, ...props }, ref) => (- <thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />-));-TableHeader.displayName = "TableHeader";--const TableBody = React.forwardRef<- HTMLTableSectionElement,- React.HTMLAttributes<HTMLTableSectionElement>->(({ className, ...props }, ref) => (- <tbody- ref={ref}- className={cn("[&_tr:last-child]:border-0", className)}- {...props}- />-));-TableBody.displayName = "TableBody";--const TableFooter = React.forwardRef<- HTMLTableSectionElement,- React.HTMLAttributes<HTMLTableSectionElement>->(({ className, ...props }, ref) => (- <tfoot- ref={ref}- className={cn("bg-primary text-primary-foreground font-medium", className)}- {...props}- />-));-TableFooter.displayName = "TableFooter";--const TableRow = React.forwardRef<- HTMLTableRowElement,- React.HTMLAttributes<HTMLTableRowElement>->(({ className, ...props }, ref) => (- <tr- ref={ref}- className={cn(- "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",- className,- )}- {...props}- />-));-TableRow.displayName = "TableRow";--const TableHead = React.forwardRef<- HTMLTableCellElement,- React.ThHTMLAttributes<HTMLTableCellElement>->(({ className, ...props }, ref) => (- <th- ref={ref}- className={cn(- "text-muted-foreground h-10 px-2 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",- className,- )}- {...props}- />-));-TableHead.displayName = "TableHead";--const TableCell = React.forwardRef<- HTMLTableCellElement,- React.TdHTMLAttributes<HTMLTableCellElement>->(({ className, ...props }, ref) => (- <td- ref={ref}- className={cn(- "p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",- className,- )}- {...props}- />-));-TableCell.displayName = "TableCell";--const TableCaption = React.forwardRef<- HTMLTableCaptionElement,- React.HTMLAttributes<HTMLTableCaptionElement>->(({ className, ...props }, ref) => (- <caption- ref={ref}- className={cn("text-muted-foreground mt-4 text-sm", className)}- {...props}- />-));-TableCaption.displayName = "TableCaption";--export {- Table,- TableHeader,- TableBody,- TableFooter,- TableHead,- TableRow,- TableCell,- TableCaption,-};diff --git a/packages/ui/src/components/tabs.tsx b/packages/ui/src/components/tabs.tsxdeleted file mode 100644index 84f7114f7..000000000--- a/packages/ui/src/components/tabs.tsx+++ /dev/null@@ -1,55 +0,0 @@-"use client";--import * as TabsPrimitive from "@radix-ui/react-tabs";-import * as React from "react";--import { cn } from "../lib/utils";--const Tabs = TabsPrimitive.Root;--const TabsList = React.forwardRef<- React.ElementRef<typeof TabsPrimitive.List>,- React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>->(({ className, ...props }, ref) => (- <TabsPrimitive.List- ref={ref}- className={cn(- "bg-muted text-muted-foreground inline-flex h-10 items-center justify-center rounded-md p-1",- className,- )}- {...props}- />-));-TabsList.displayName = TabsPrimitive.List.displayName;--const TabsTrigger = React.forwardRef<- React.ElementRef<typeof TabsPrimitive.Trigger>,- React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>->(({ className, ...props }, ref) => (- <TabsPrimitive.Trigger- ref={ref}- className={cn(- "ring-offset-background focus-visible:ring-ring data-[state=active]:bg-background data-[state=active]:text-foreground inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-xs",- className,- )}- {...props}- />-));-TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;--const TabsContent = React.forwardRef<- React.ElementRef<typeof TabsPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>->(({ className, ...props }, ref) => (- <TabsPrimitive.Content- ref={ref}- className={cn(- "ring-offset-background focus-visible:ring-ring mt-2 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2",- className,- )}- {...props}- />-));-TabsContent.displayName = TabsPrimitive.Content.displayName;--export { Tabs, TabsList, TabsTrigger, TabsContent };diff --git a/packages/ui/src/components/textarea.tsx b/packages/ui/src/components/textarea.tsxdeleted file mode 100644index d85234c54..000000000--- a/packages/ui/src/components/textarea.tsx+++ /dev/null@@ -1,23 +0,0 @@-import * as React from "react";--import { cn } from "../lib/utils";--export type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;--const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(- ({ className, ...props }, ref) => {- return (- <textarea- className={cn(- "border-input ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[80px] w-full rounded-md border bg-transparent px-3 py-2 text-sm focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",- className,- )}- ref={ref}- {...props}- />- );- },-);-Textarea.displayName = "Textarea";--export { Textarea };diff --git a/packages/ui/src/components/toggle.tsx b/packages/ui/src/components/toggle.tsxdeleted file mode 100644index 40adf74c3..000000000--- a/packages/ui/src/components/toggle.tsx+++ /dev/null@@ -1,46 +0,0 @@-"use client";--import * as TogglePrimitive from "@radix-ui/react-toggle";-import { cva } from "class-variance-authority";-import type { VariantProps } from "class-variance-authority";-import * as React from "react";--import { cn } from "@/lib/utils";--const toggleVariants = cva(- "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",- {- variants: {- variant: {- default: "bg-transparent",- outline:- "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",- },- size: {- default: "h-10 px-3",- sm: "h-9 px-2.5",- lg: "h-11 px-5",- },- },- defaultVariants: {- variant: "default",- size: "default",- },- },-);--const Toggle = React.forwardRef<- React.ElementRef<typeof TogglePrimitive.Root>,- React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> &- VariantProps<typeof toggleVariants>->(({ className, variant, size, ...props }, ref) => (- <TogglePrimitive.Root- ref={ref}- className={cn(toggleVariants({ variant, size, className }))}- {...props}- />-));--Toggle.displayName = TogglePrimitive.Root.displayName;--export { Toggle, toggleVariants };diff --git a/packages/ui/src/components/tooltip.tsx b/packages/ui/src/components/tooltip.tsxdeleted file mode 100644index ccdb6e9d3..000000000--- a/packages/ui/src/components/tooltip.tsx+++ /dev/null@@ -1,41 +0,0 @@-"use client";--import * as TooltipPrimitive from "@radix-ui/react-tooltip";-import * as React from "react";--import { cn } from "../lib/utils";--const TooltipProvider = TooltipPrimitive.Provider;--const Tooltip = TooltipPrimitive.Root;--// REMINDER: fixes the Safari 17.4. bug where portal floats somewhere-const TooltipPortal = TooltipPrimitive.Portal;--const TooltipTrigger = TooltipPrimitive.Trigger;--const TooltipContent = React.forwardRef<- React.ElementRef<typeof TooltipPrimitive.Content>,- React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>->(({ className, sideOffset = 4, ...props }, ref) => (- <TooltipPortal>- <TooltipPrimitive.Content- ref={ref}- sideOffset={sideOffset}- className={cn(- "bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md border px-3 py-1.5 text-sm shadow-md",- className- )}- {...props}- />- </TooltipPortal>-));-TooltipContent.displayName = TooltipPrimitive.Content.displayName;--export {- Tooltip,- TooltipTrigger,- TooltipPortal,- TooltipContent,- TooltipProvider,-};diff --git a/apps/status-page/src/components/ui/alert-dialog.tsx b/packages/ui/src/components/ui/alert-dialog.tsxsimilarity index 97%rename from apps/status-page/src/components/ui/alert-dialog.tsxrename to packages/ui/src/components/ui/alert-dialog.tsxindex d8e1d34ed..494768235 100644--- a/apps/status-page/src/components/ui/alert-dialog.tsx+++ b/packages/ui/src/components/ui/alert-dialog.tsx@@ -3,8 +3,8 @@import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";import type * as React from "react";-import { buttonVariants } from "@/components/ui/button";-import { cn } from "@/lib/utils";+import { buttonVariants } from "@openstatus/ui/components/ui/button";+import { cn } from "@openstatus/ui/lib/utils";function AlertDialog({...propsdiff --git a/apps/status-page/src/components/ui/alert.tsx b/packages/ui/src/components/ui/alert.tsxsimilarity index 97%rename from apps/status-page/src/components/ui/alert.tsxrename to packages/ui/src/components/ui/alert.tsxindex 4f74e7b2b..077cd9ea0 100644--- a/apps/status-page/src/components/ui/alert.tsx+++ b/packages/ui/src/components/ui/alert.tsx@@ -1,7 +1,7 @@import { type VariantProps, cva } from "class-variance-authority";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";const alertVariants = cva("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",diff --git a/apps/dashboard/src/components/ui/avatar.tsx b/packages/ui/src/components/ui/avatar.tsxsimilarity index 95%rename from apps/dashboard/src/components/ui/avatar.tsxrename to packages/ui/src/components/ui/avatar.tsxindex 98e4243f8..d8d216b16 100644--- a/apps/dashboard/src/components/ui/avatar.tsx+++ b/packages/ui/src/components/ui/avatar.tsx@@ -3,7 +3,7 @@import * as AvatarPrimitive from "@radix-ui/react-avatar";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Avatar({className,diff --git a/apps/dashboard/src/components/ui/badge.tsx b/packages/ui/src/components/ui/badge.tsxsimilarity index 97%rename from apps/dashboard/src/components/ui/badge.tsxrename to packages/ui/src/components/ui/badge.tsxindex e5ffef1c2..d7d3f5359 100644--- a/apps/dashboard/src/components/ui/badge.tsx+++ b/packages/ui/src/components/ui/badge.tsx@@ -2,7 +2,7 @@ import { Slot } from "@radix-ui/react-slot";import { type VariantProps, cva } from "class-variance-authority";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";const badgeVariants = cva("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",diff --git a/apps/dashboard/src/components/ui/breadcrumb.tsx b/packages/ui/src/components/ui/breadcrumb.tsxsimilarity index 98%rename from apps/dashboard/src/components/ui/breadcrumb.tsxrename to packages/ui/src/components/ui/breadcrumb.tsxindex 95e809620..d8674fa45 100644--- a/apps/dashboard/src/components/ui/breadcrumb.tsx+++ b/packages/ui/src/components/ui/breadcrumb.tsx@@ -2,7 +2,7 @@ import { Slot } from "@radix-ui/react-slot";import { ChevronRight, MoreHorizontal } from "lucide-react";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Breadcrumb({ ...props }: React.ComponentProps<"nav">) {return <nav aria-label="breadcrumb" data-slot="breadcrumb" {...props} />;diff --git a/apps/dashboard/src/components/ui/button-group.tsx b/packages/ui/src/components/ui/button-group.tsxsimilarity index 94%rename from apps/dashboard/src/components/ui/button-group.tsxrename to packages/ui/src/components/ui/button-group.tsxindex 16dd752e2..365d23130 100644--- a/apps/dashboard/src/components/ui/button-group.tsx+++ b/packages/ui/src/components/ui/button-group.tsx@@ -1,8 +1,8 @@import { Slot } from "@radix-ui/react-slot";import { type VariantProps, cva } from "class-variance-authority";-import { Separator } from "@/components/ui/separator";-import { cn } from "@/lib/utils";+import { Separator } from "@openstatus/ui/components/ui/separator";+import { cn } from "@openstatus/ui/lib/utils";const buttonGroupVariants = cva("flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md has-[>[data-slot=button-group]]:gap-2",diff --git a/apps/dashboard/src/components/ui/button.tsx b/packages/ui/src/components/ui/button.tsxsimilarity index 100%rename from apps/dashboard/src/components/ui/button.tsxrename to packages/ui/src/components/ui/button.tsxdiff --git a/apps/status-page/src/components/ui/calendar.tsx b/packages/ui/src/components/ui/calendar.tsxsimilarity index 96%rename from apps/status-page/src/components/ui/calendar.tsxrename to packages/ui/src/components/ui/calendar.tsxindex 07f4a92b9..6c8079de8 100644--- a/apps/status-page/src/components/ui/calendar.tsx+++ b/packages/ui/src/components/ui/calendar.tsx@@ -4,8 +4,8 @@ import { ChevronLeft, ChevronRight } from "lucide-react";import type * as React from "react";import { DayPicker } from "react-day-picker";-import { buttonVariants } from "@/components/ui/button";-import { cn } from "@/lib/utils";+import { buttonVariants } from "@openstatus/ui/components/ui/button";+import { cn } from "@openstatus/ui/lib/utils";function Calendar({className,diff --git a/apps/dashboard/src/components/ui/card.tsx b/packages/ui/src/components/ui/card.tsxsimilarity index 97%rename from apps/dashboard/src/components/ui/card.tsxrename to packages/ui/src/components/ui/card.tsxindex cee9feaeb..4a9a943a2 100644--- a/apps/dashboard/src/components/ui/card.tsx+++ b/packages/ui/src/components/ui/card.tsx@@ -1,6 +1,6 @@import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Card({ className, ...props }: React.ComponentProps<"div">) {return (diff --git a/apps/dashboard/src/components/ui/chart.tsx b/packages/ui/src/components/ui/chart.tsxsimilarity index 99%rename from apps/dashboard/src/components/ui/chart.tsxrename to packages/ui/src/components/ui/chart.tsxindex 699ea35de..68d69b040 100644--- a/apps/dashboard/src/components/ui/chart.tsx+++ b/packages/ui/src/components/ui/chart.tsx@@ -3,7 +3,7 @@import * as React from "react";import * as RechartsPrimitive from "recharts";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";// Format: { THEME_NAME: CSS_SELECTOR }const THEMES = { light: "", dark: ".dark" } as const;@@ -24,7 +24,7 @@ type ChartContextProps = {const ChartContext = React.createContext<ChartContextProps | null>(null);-function useChart() {+export function useChart() {const context = React.useContext(ChartContext);if (!context) {diff --git a/apps/dashboard/src/components/ui/checkbox.tsx b/packages/ui/src/components/ui/checkbox.tsxsimilarity index 96%rename from apps/dashboard/src/components/ui/checkbox.tsxrename to packages/ui/src/components/ui/checkbox.tsxindex 26fdc1db1..ff2799983 100644--- a/apps/dashboard/src/components/ui/checkbox.tsx+++ b/packages/ui/src/components/ui/checkbox.tsx@@ -4,7 +4,7 @@ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";import { CheckIcon } from "lucide-react";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Checkbox({className,diff --git a/apps/dashboard/src/components/ui/collapsible.tsx b/packages/ui/src/components/ui/collapsible.tsxsimilarity index 100%rename from apps/dashboard/src/components/ui/collapsible.tsxrename to packages/ui/src/components/ui/collapsible.tsxdiff --git a/apps/dashboard/src/components/ui/command.tsx b/packages/ui/src/components/ui/command.tsxsimilarity index 91%rename from apps/dashboard/src/components/ui/command.tsxrename to packages/ui/src/components/ui/command.tsxindex 49a009fca..e38ace0b9 100644--- a/apps/dashboard/src/components/ui/command.tsx+++ b/packages/ui/src/components/ui/command.tsx@@ -10,8 +10,8 @@ import {DialogDescription,DialogHeader,DialogTitle,-} from "@/components/ui/dialog";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/dialog";+import { cn } from "@openstatus/ui/lib/utils";function Command({className,@@ -163,12 +163,27 @@ function CommandShortcut({/>);}+CommandShortcut.displayName = "CommandShortcut";++function CommandLoading({+ className,+ ...props+}: React.ComponentProps<typeof CommandPrimitive.Loading>) {+ return (+ <CommandPrimitive.Loading+ data-slot="command-loading"+ className={cn("px-2 py-1.5 text-sm", className)}+ {...props}+ />+ );+}export {Command,CommandDialog,CommandInput,CommandList,+ CommandLoading,CommandEmpty,CommandGroup,CommandItem,diff --git a/packages/ui/src/components/context-menu.tsx b/packages/ui/src/components/ui/context-menu.tsxsimilarity index 99%rename from packages/ui/src/components/context-menu.tsxrename to packages/ui/src/components/ui/context-menu.tsxindex 65e6c954d..9af7570c7 100644--- a/packages/ui/src/components/context-menu.tsx+++ b/packages/ui/src/components/ui/context-menu.tsx@@ -4,7 +4,7 @@ import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";import { Check, ChevronRight, Circle } from "lucide-react";import * as React from "react";-import { cn } from "../lib/utils";+import { cn } from "@openstatus/ui/lib/utils";const ContextMenu = ContextMenuPrimitive.Root;diff --git a/apps/dashboard/src/components/ui/dialog.tsx b/packages/ui/src/components/ui/dialog.tsxsimilarity index 98%rename from apps/dashboard/src/components/ui/dialog.tsxrename to packages/ui/src/components/ui/dialog.tsxindex 3f639a55a..a2a017d02 100644--- a/apps/dashboard/src/components/ui/dialog.tsx+++ b/packages/ui/src/components/ui/dialog.tsx@@ -4,7 +4,7 @@ import * as DialogPrimitive from "@radix-ui/react-dialog";import { XIcon } from "lucide-react";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Dialog({...propsdiff --git a/apps/dashboard/src/components/ui/dropdown-menu.tsx b/packages/ui/src/components/ui/dropdown-menu.tsxsimilarity index 99%rename from apps/dashboard/src/components/ui/dropdown-menu.tsxrename to packages/ui/src/components/ui/dropdown-menu.tsxindex 5b73af0b5..d86ba7fef 100644--- a/apps/dashboard/src/components/ui/dropdown-menu.tsx+++ b/packages/ui/src/components/ui/dropdown-menu.tsx@@ -4,7 +4,7 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function DropdownMenu({...propsdiff --git a/apps/dashboard/src/components/ui/form.tsx b/packages/ui/src/components/ui/form.tsxsimilarity index 97%rename from apps/dashboard/src/components/ui/form.tsxrename to packages/ui/src/components/ui/form.tsxindex 105428b1a..7398087fc 100644--- a/apps/dashboard/src/components/ui/form.tsx+++ b/packages/ui/src/components/ui/form.tsx@@ -13,8 +13,8 @@ import {useFormState,} from "react-hook-form";-import { Label } from "@/components/ui/label";-import { cn } from "@/lib/utils";+import { Label } from "@openstatus/ui/components/ui/label";+import { cn } from "@openstatus/ui/lib/utils";const Form = FormProvider;diff --git a/apps/dashboard/src/components/ui/hover-card.tsx b/packages/ui/src/components/ui/hover-card.tsxsimilarity index 96%rename from apps/dashboard/src/components/ui/hover-card.tsxrename to packages/ui/src/components/ui/hover-card.tsxindex 815a2f199..4ef4308c6 100644--- a/apps/dashboard/src/components/ui/hover-card.tsx+++ b/packages/ui/src/components/ui/hover-card.tsx@@ -3,7 +3,7 @@import * as HoverCardPrimitive from "@radix-ui/react-hover-card";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function HoverCard({...propsdiff --git a/apps/dashboard/src/components/ui/input-group.tsx b/packages/ui/src/components/ui/input-group.tsxsimilarity index 95%rename from apps/dashboard/src/components/ui/input-group.tsxrename to packages/ui/src/components/ui/input-group.tsxindex 8253c159c..78998d8a1 100644--- a/apps/dashboard/src/components/ui/input-group.tsx+++ b/packages/ui/src/components/ui/input-group.tsx@@ -3,10 +3,10 @@import { type VariantProps, cva } from "class-variance-authority";import type * as React from "react";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import { Textarea } from "@/components/ui/textarea";-import { cn } from "@/lib/utils";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";+import { Textarea } from "@openstatus/ui/components/ui/textarea";+import { cn } from "@openstatus/ui/lib/utils";function InputGroup({ className, ...props }: React.ComponentProps<"div">) {return (diff --git a/apps/status-page/src/components/ui/input.tsx b/packages/ui/src/components/ui/input.tsxsimilarity index 95%rename from apps/status-page/src/components/ui/input.tsxrename to packages/ui/src/components/ui/input.tsxindex a60356ddd..8d48e608a 100644--- a/apps/status-page/src/components/ui/input.tsx+++ b/packages/ui/src/components/ui/input.tsx@@ -1,6 +1,6 @@import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Input({ className, type, ...props }: React.ComponentProps<"input">) {return (diff --git a/apps/status-page/src/components/ui/kbd.tsx b/packages/ui/src/components/ui/kbd.tsxsimilarity index 67%rename from apps/status-page/src/components/ui/kbd.tsxrename to packages/ui/src/components/ui/kbd.tsxindex 8f12a685a..a217e149c 100644--- a/apps/status-page/src/components/ui/kbd.tsx+++ b/packages/ui/src/components/ui/kbd.tsx@@ -1,18 +1,18 @@-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils"function Kbd({ className, ...props }: React.ComponentProps<"kbd">) {return (<kbddata-slot="kbd"className={cn(- "pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm bg-muted px-1 font-medium font-sans text-muted-foreground text-xs",+ "bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none","[&_svg:not([class*='size-'])]:size-3","[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10",- className,+ className)}{...props}/>- );+ )}function KbdGroup({ className, ...props }: React.ComponentProps<"div">) {@@ -22,7 +22,7 @@ function KbdGroup({ className, ...props }: React.ComponentProps<"div">) {className={cn("inline-flex items-center gap-1", className)}{...props}/>- );+ )}-export { Kbd, KbdGroup };+export { Kbd, KbdGroup }diff --git a/apps/status-page/src/components/ui/label.tsx b/packages/ui/src/components/ui/label.tsxsimilarity index 92%rename from apps/status-page/src/components/ui/label.tsxrename to packages/ui/src/components/ui/label.tsxindex 67f975b6f..7683c786f 100644--- a/apps/status-page/src/components/ui/label.tsx+++ b/packages/ui/src/components/ui/label.tsx@@ -3,7 +3,7 @@import * as LabelPrimitive from "@radix-ui/react-label";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Label({className,diff --git a/apps/dashboard/src/components/ui/popover.tsx b/packages/ui/src/components/ui/popover.tsxsimilarity index 97%rename from apps/dashboard/src/components/ui/popover.tsxrename to packages/ui/src/components/ui/popover.tsxindex 5c5f19968..c4eaa3a1d 100644--- a/apps/dashboard/src/components/ui/popover.tsx+++ b/packages/ui/src/components/ui/popover.tsx@@ -3,7 +3,7 @@import * as PopoverPrimitive from "@radix-ui/react-popover";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Popover({...propsdiff --git a/apps/status-page/src/components/ui/progress.tsx b/packages/ui/src/components/ui/progress.tsxsimilarity index 93%rename from apps/status-page/src/components/ui/progress.tsxrename to packages/ui/src/components/ui/progress.tsxindex 2ee61a1b0..ea08f5c28 100644--- a/apps/status-page/src/components/ui/progress.tsx+++ b/packages/ui/src/components/ui/progress.tsx@@ -3,7 +3,7 @@import * as ProgressPrimitive from "@radix-ui/react-progress";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Progress({className,diff --git a/apps/dashboard/src/components/ui/radio-group.tsx b/packages/ui/src/components/ui/radio-group.tsxsimilarity index 96%rename from apps/dashboard/src/components/ui/radio-group.tsxrename to packages/ui/src/components/ui/radio-group.tsxindex b1137030b..b2e1e068d 100644--- a/apps/dashboard/src/components/ui/radio-group.tsx+++ b/packages/ui/src/components/ui/radio-group.tsx@@ -4,7 +4,7 @@ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";import { CircleIcon } from "lucide-react";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function RadioGroup({className,diff --git a/apps/dashboard/src/components/ui/select.tsx b/packages/ui/src/components/ui/select.tsxsimilarity index 99%rename from apps/dashboard/src/components/ui/select.tsxrename to packages/ui/src/components/ui/select.tsxindex ee4e8514e..ebe403792 100644--- a/apps/dashboard/src/components/ui/select.tsx+++ b/packages/ui/src/components/ui/select.tsx@@ -4,7 +4,7 @@ import * as SelectPrimitive from "@radix-ui/react-select";import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Select({...propsdiff --git a/apps/dashboard/src/components/ui/separator.tsx b/packages/ui/src/components/ui/separator.tsxsimilarity index 93%rename from apps/dashboard/src/components/ui/separator.tsxrename to packages/ui/src/components/ui/separator.tsxindex 5e944795f..8f020076d 100644--- a/apps/dashboard/src/components/ui/separator.tsx+++ b/packages/ui/src/components/ui/separator.tsx@@ -3,7 +3,7 @@import * as SeparatorPrimitive from "@radix-ui/react-separator";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Separator({className,diff --git a/apps/dashboard/src/components/ui/sheet.tsx b/packages/ui/src/components/ui/sheet.tsxsimilarity index 98%rename from apps/dashboard/src/components/ui/sheet.tsxrename to packages/ui/src/components/ui/sheet.tsxindex e220a2275..d673e24d5 100644--- a/apps/dashboard/src/components/ui/sheet.tsx+++ b/packages/ui/src/components/ui/sheet.tsx@@ -4,7 +4,7 @@ import * as SheetPrimitive from "@radix-ui/react-dialog";import { XIcon } from "lucide-react";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {return <SheetPrimitive.Root data-slot="sheet" {...props} />;diff --git a/apps/status-page/src/components/ui/sidebar.tsx b/packages/ui/src/components/ui/sidebar.tsxsimilarity index 97%rename from apps/status-page/src/components/ui/sidebar.tsxrename to packages/ui/src/components/ui/sidebar.tsxindex 059a32b2b..765228290 100644--- a/apps/status-page/src/components/ui/sidebar.tsx+++ b/packages/ui/src/components/ui/sidebar.tsx@@ -5,25 +5,25 @@ import { type VariantProps, cva } from "class-variance-authority";import { PanelLeftIcon } from "lucide-react";import * as React from "react";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import { Separator } from "@/components/ui/separator";+import { Button } from "@openstatus/ui/components/ui/button";+import { Input } from "@openstatus/ui/components/ui/input";+import { Separator } from "@openstatus/ui/components/ui/separator";import {Sheet,SheetContent,SheetDescription,SheetHeader,SheetTitle,-} from "@/components/ui/sheet";-import { Skeleton } from "@/components/ui/skeleton";+} from "@openstatus/ui/components/ui/sheet";+import { Skeleton } from "@openstatus/ui/components/ui/skeleton";import {Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,-} from "@/components/ui/tooltip";-import { useIsMobile } from "@/hooks/use-mobile";-import { cn } from "@/lib/utils";+} from "@openstatus/ui/components/ui/tooltip";+import { useIsMobile } from "@openstatus/ui/hooks/use-mobile";+import { cn } from "@openstatus/ui/lib/utils";const SIDEBAR_COOKIE_NAME = "sidebar_state";const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;diff --git a/apps/dashboard/src/components/ui/skeleton.tsx b/packages/ui/src/components/ui/skeleton.tsxsimilarity index 83%rename from apps/dashboard/src/components/ui/skeleton.tsxrename to packages/ui/src/components/ui/skeleton.tsxindex da6c299b6..eccaae7e2 100644--- a/apps/dashboard/src/components/ui/skeleton.tsx+++ b/packages/ui/src/components/ui/skeleton.tsx@@ -1,4 +1,4 @@-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Skeleton({ className, ...props }: React.ComponentProps<"div">) {return (diff --git a/apps/status-page/src/components/ui/slider.tsx b/packages/ui/src/components/ui/slider.tsxsimilarity index 97%rename from apps/status-page/src/components/ui/slider.tsxrename to packages/ui/src/components/ui/slider.tsxindex 2adaa9c59..849bea47f 100644--- a/apps/status-page/src/components/ui/slider.tsx+++ b/packages/ui/src/components/ui/slider.tsx@@ -3,7 +3,7 @@import * as SliderPrimitive from "@radix-ui/react-slider";import * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Slider({className,diff --git a/apps/dashboard/src/components/ui/sonner.tsx b/packages/ui/src/components/ui/sonner.tsxsimilarity index 100%rename from apps/dashboard/src/components/ui/sonner.tsxrename to packages/ui/src/components/ui/sonner.tsxdiff --git a/apps/dashboard/src/components/ui/switch.tsx b/packages/ui/src/components/ui/switch.tsxsimilarity index 96%rename from apps/dashboard/src/components/ui/switch.tsxrename to packages/ui/src/components/ui/switch.tsxindex 727e54404..b0f81c2a7 100644--- a/apps/dashboard/src/components/ui/switch.tsx+++ b/packages/ui/src/components/ui/switch.tsx@@ -3,7 +3,7 @@import * as SwitchPrimitive from "@radix-ui/react-switch";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Switch({className,diff --git a/apps/status-page/src/components/ui/table.tsx b/packages/ui/src/components/ui/table.tsxsimilarity index 98%rename from apps/status-page/src/components/ui/table.tsxrename to packages/ui/src/components/ui/table.tsxindex 4ea6433d0..cb0a1df6a 100644--- a/apps/status-page/src/components/ui/table.tsx+++ b/packages/ui/src/components/ui/table.tsx@@ -2,7 +2,7 @@import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Table({ className, ...props }: React.ComponentProps<"table">) {return (diff --git a/apps/dashboard/src/components/ui/tabs.tsx b/packages/ui/src/components/ui/tabs.tsxsimilarity index 97%rename from apps/dashboard/src/components/ui/tabs.tsxrename to packages/ui/src/components/ui/tabs.tsxindex ba16df9e1..e7a3a52ed 100644--- a/apps/dashboard/src/components/ui/tabs.tsx+++ b/packages/ui/src/components/ui/tabs.tsx@@ -3,7 +3,7 @@import * as TabsPrimitive from "@radix-ui/react-tabs";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Tabs({className,diff --git a/apps/status-page/src/components/ui/textarea.tsx b/packages/ui/src/components/ui/textarea.tsxsimilarity index 93%rename from apps/status-page/src/components/ui/textarea.tsxrename to packages/ui/src/components/ui/textarea.tsxindex fdb92c380..28beb98ad 100644--- a/apps/status-page/src/components/ui/textarea.tsx+++ b/packages/ui/src/components/ui/textarea.tsx@@ -1,6 +1,6 @@import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {return (diff --git a/apps/dashboard/src/components/ui/tooltip.tsx b/packages/ui/src/components/ui/tooltip.tsxsimilarity index 97%rename from apps/dashboard/src/components/ui/tooltip.tsxrename to packages/ui/src/components/ui/tooltip.tsxindex 1ae8e37e5..a58abe457 100644--- a/apps/dashboard/src/components/ui/tooltip.tsx+++ b/packages/ui/src/components/ui/tooltip.tsx@@ -3,7 +3,7 @@import * as TooltipPrimitive from "@radix-ui/react-tooltip";import type * as React from "react";-import { cn } from "@/lib/utils";+import { cn } from "@openstatus/ui/lib/utils";function TooltipProvider({delayDuration = 0,diff --git a/packages/ui/src/globals.css b/packages/ui/src/globals.cssnew file mode 100644index 000000000..0442a3824--- /dev/null+++ b/packages/ui/src/globals.css@@ -0,0 +1,169 @@+@import "tailwindcss";++@source "../**/*.{ts,tsx}";++@custom-variant dark (&:is(.dark *));++@theme inline {+ --color-background: var(--background);+ --color-foreground: var(--foreground);+ --color-card: var(--card);+ --color-card-foreground: var(--card-foreground);+ --color-popover: var(--popover);+ --color-popover-foreground: var(--popover-foreground);+ --color-primary: var(--primary);+ --color-primary-foreground: var(--primary-foreground);+ --color-secondary: var(--secondary);+ --color-secondary-foreground: var(--secondary-foreground);+ --color-muted: var(--muted);+ --color-muted-foreground: var(--muted-foreground);+ --color-accent: var(--accent);+ --color-accent-foreground: var(--accent-foreground);+ --color-destructive: var(--destructive);+ --color-border: var(--border);+ --color-input: var(--input);+ --color-ring: var(--ring);+ --color-chart-1: var(--chart-1);+ --color-chart-2: var(--chart-2);+ --color-chart-3: var(--chart-3);+ --color-chart-4: var(--chart-4);+ --color-chart-5: var(--chart-5);+ --color-sidebar: var(--sidebar);+ --color-sidebar-foreground: var(--sidebar-foreground);+ --color-sidebar-primary: var(--sidebar-primary);+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);+ --color-sidebar-accent: var(--sidebar-accent);+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);+ --color-sidebar-border: var(--sidebar-border);+ --color-sidebar-ring: var(--sidebar-ring);+ --radius-sm: calc(var(--radius) - 4px);+ --radius-md: calc(var(--radius) - 2px);+ --radius-lg: var(--radius);+ --radius-xl: calc(var(--radius) + 4px);++ --color-success: var(--success);+ --color-warning: var(--warning);+ --color-info: var(--info);+}++:root {+ --radius: 0.625rem;+ --background: oklch(1 0 0);+ --foreground: oklch(0.145 0 0);+ --card: oklch(1 0 0);+ --card-foreground: oklch(0.145 0 0);+ --popover: oklch(1 0 0);+ --popover-foreground: oklch(0.145 0 0);+ --primary: oklch(0.205 0 0);+ --primary-foreground: oklch(0.985 0 0);+ --secondary: oklch(0.97 0 0);+ --secondary-foreground: oklch(0.205 0 0);+ --muted: oklch(0.97 0 0);+ --muted-foreground: oklch(0.556 0 0);+ --accent: oklch(0.97 0 0);+ --accent-foreground: oklch(0.205 0 0);+ --destructive: oklch(0.577 0.245 27.325);+ --border: oklch(0.922 0 0);+ --input: oklch(0.922 0 0);+ --ring: oklch(0.708 0 0);+ --chart-1: oklch(0.646 0.222 41.116);+ --chart-2: oklch(0.6 0.118 184.704);+ --chart-3: oklch(0.398 0.07 227.392);+ --chart-4: oklch(0.828 0.189 84.429);+ --chart-5: oklch(0.769 0.188 70.08);+ --sidebar: oklch(0.985 0 0);+ --sidebar-foreground: oklch(0.145 0 0);+ --sidebar-primary: oklch(0.205 0 0);+ --sidebar-primary-foreground: oklch(0.985 0 0);+ --sidebar-accent: oklch(0.97 0 0);+ --sidebar-accent-foreground: oklch(0.205 0 0);+ --sidebar-border: oklch(0.922 0 0);+ --sidebar-ring: oklch(0.708 0 0);++ --success: oklch(0.72 0.19 150);+ --warning: oklch(0.77 0.16 70);+ --info: oklch(0.62 0.19 260);++ --rainbow-1: oklch(0.64 0.21 25);+ --rainbow-2: oklch(0.70 0.19 48);+ --rainbow-3: oklch(0.77 0.16 70);+ --rainbow-4: oklch(0.80 0.16 86);+ --rainbow-5: oklch(0.77 0.20 131);+ --rainbow-6: oklch(0.72 0.19 150);+ --rainbow-7: oklch(0.70 0.15 162);+ --rainbow-8: oklch(0.70 0.12 183);+ --rainbow-9: oklch(0.71 0.13 215);+ --rainbow-10: oklch(0.68 0.15 237);+ --rainbow-11: oklch(0.62 0.19 260);+ --rainbow-12: oklch(0.59 0.20 277);+ --rainbow-13: oklch(0.61 0.22 293);+ --rainbow-14: oklch(0.63 0.23 304);+ --rainbow-15: oklch(0.67 0.26 322);+ --rainbow-16: oklch(0.66 0.21 354);+ --rainbow-17: oklch(0.65 0.22 16);+}++.dark {+ --background: oklch(0.145 0 0);+ --foreground: oklch(0.985 0 0);+ --card: oklch(0.205 0 0);+ --card-foreground: oklch(0.985 0 0);+ --popover: oklch(0.205 0 0);+ --popover-foreground: oklch(0.985 0 0);+ --primary: oklch(0.922 0 0);+ --primary-foreground: oklch(0.205 0 0);+ --secondary: oklch(0.269 0 0);+ --secondary-foreground: oklch(0.985 0 0);+ --muted: oklch(0.269 0 0);+ --muted-foreground: oklch(0.708 0 0);+ --accent: oklch(0.269 0 0);+ --accent-foreground: oklch(0.985 0 0);+ --destructive: oklch(0.704 0.191 22.216);+ --border: oklch(1 0 0 / 10%);+ --input: oklch(1 0 0 / 15%);+ --ring: oklch(0.556 0 0);+ --chart-1: oklch(0.488 0.243 264.376);+ --chart-2: oklch(0.696 0.17 162.48);+ --chart-3: oklch(0.769 0.188 70.08);+ --chart-4: oklch(0.627 0.265 303.9);+ --chart-5: oklch(0.645 0.246 16.439);+ --sidebar: oklch(0.205 0 0);+ --sidebar-foreground: oklch(0.985 0 0);+ --sidebar-primary: oklch(0.488 0.243 264.376);+ --sidebar-primary-foreground: oklch(0.985 0 0);+ --sidebar-accent: oklch(0.269 0 0);+ --sidebar-accent-foreground: oklch(0.985 0 0);+ --sidebar-border: oklch(1 0 0 / 10%);+ --sidebar-ring: oklch(0.556 0 0);++ --success: oklch(0.72 0.19 150);+ --warning: oklch(0.77 0.16 70);+ --info: oklch(0.62 0.19 260);++ --rainbow-1: oklch(0.64 0.21 25);+ --rainbow-2: oklch(0.70 0.19 48);+ --rainbow-3: oklch(0.77 0.16 70);+ --rainbow-4: oklch(0.80 0.16 86);+ --rainbow-5: oklch(0.77 0.20 131);+ --rainbow-6: oklch(0.72 0.19 150);+ --rainbow-7: oklch(0.70 0.15 162);+ --rainbow-8: oklch(0.70 0.12 183);+ --rainbow-9: oklch(0.71 0.13 215);+ --rainbow-10: oklch(0.68 0.15 237);+ --rainbow-11: oklch(0.62 0.19 260);+ --rainbow-12: oklch(0.59 0.20 277);+ --rainbow-13: oklch(0.61 0.22 293);+ --rainbow-14: oklch(0.63 0.23 304);+ --rainbow-15: oklch(0.67 0.26 322);+ --rainbow-16: oklch(0.66 0.21 354);+ --rainbow-17: oklch(0.65 0.22 16);+}++@layer base {+ * {+ @apply border-border outline-ring/50;+ }+ body {+ @apply bg-background text-foreground;+ }+}diff --git a/apps/web/src/hooks/use-cookie-state.ts b/packages/ui/src/hooks/use-cookie-state.tssimilarity index 100%rename from apps/web/src/hooks/use-cookie-state.tsrename to packages/ui/src/hooks/use-cookie-state.tsdiff --git a/apps/web/src/hooks/use-copy-to-clipboard.ts b/packages/ui/src/hooks/use-copy-to-clipboard.tssimilarity index 81%rename from apps/web/src/hooks/use-copy-to-clipboard.tsrename to packages/ui/src/hooks/use-copy-to-clipboard.tsindex 612304fe0..744fd8464 100644--- a/apps/web/src/hooks/use-copy-to-clipboard.ts+++ b/packages/ui/src/hooks/use-copy-to-clipboard.ts@@ -1,3 +1,5 @@+"use client";+import { useCallback, useState } from "react";import { toast } from "sonner";@@ -10,7 +12,12 @@ export function useCopyToClipboard() {{timeout = 3000,withToast = false,- }: { timeout?: number; withToast?: boolean | string },+ successMessage = "Copied to clipboard",+ }: {+ timeout?: number;+ withToast?: boolean | string;+ successMessage?: string;+ },) => {if (!navigator?.clipboard) {console.warn("Clipboard not supported");@@ -31,7 +38,7 @@ export function useCopyToClipboard() {if (typeof withToast === "string") {toast.success(withToast);} else {- toast.success("Copied to clipboard");+ toast.success(successMessage);}}diff --git a/apps/status-page/src/hooks/use-debounce.ts b/packages/ui/src/hooks/use-debounce.tssimilarity index 96%rename from apps/status-page/src/hooks/use-debounce.tsrename to packages/ui/src/hooks/use-debounce.tsindex 3a34896de..1661b3cf0 100644--- a/apps/status-page/src/hooks/use-debounce.ts+++ b/packages/ui/src/hooks/use-debounce.ts@@ -1,3 +1,5 @@+"use client";+import * as React from "react";// consider using https://github.com/xnimorz/use-debouncediff --git a/apps/web/src/hooks/use-media-query.ts b/packages/ui/src/hooks/use-media-query.tssimilarity index 97%rename from apps/web/src/hooks/use-media-query.tsrename to packages/ui/src/hooks/use-media-query.tsindex 74e6a4a46..0e7b9edc4 100644--- a/apps/web/src/hooks/use-media-query.ts+++ b/packages/ui/src/hooks/use-media-query.ts@@ -1,3 +1,5 @@+"use client";+import { useEffect, useState } from "react";type MediaQuery = string | number;diff --git a/apps/status-page/src/hooks/use-mobile.ts b/packages/ui/src/hooks/use-mobile.tssimilarity index 97%rename from apps/status-page/src/hooks/use-mobile.tsrename to packages/ui/src/hooks/use-mobile.tsindex a93d58393..db81feaeb 100644--- a/apps/status-page/src/hooks/use-mobile.ts+++ b/packages/ui/src/hooks/use-mobile.ts@@ -1,3 +1,5 @@+"use client";+import * as React from "react";const MOBILE_BREAKPOINT = 768;diff --git a/packages/ui/src/index.tsx b/packages/ui/src/index.tsxdeleted file mode 100644index 7c177e6a9..000000000--- a/packages/ui/src/index.tsx+++ /dev/null@@ -1,44 +0,0 @@-export * from "./components/accordion";-export * from "./components/avatar";-export * from "./components/alert-dialog";-export * from "./components/alert";-export * from "./components/badge";-export * from "./components/button-with-disable-tooltip";-export * from "./components/button";-export * from "./components/calendar";-export * from "./components/card";-export * from "./components/checkbox";-export * from "./components/command";-export * from "./components/context-menu";-export * from "./components/date-picker";-export * from "./components/dialog";-export * from "./components/dropdown-menu";-export * from "./components/form";-export * from "./components/hover-card";-export * from "./components/input-with-addons";-export * from "./components/input";-export * from "./components/label";-export * from "./components/pagination";-export * from "./components/popover";-export * from "./components/progress";-export * from "./components/radio-group";-export * from "./components/select";-export * from "./components/separator";-export * from "./components/skeleton";-export * from "./components/switch";-export * from "./components/table";-export * from "./components/textarea";-export * from "./components/tooltip";-export * from "./components/tabs";-export * from "./components/date-time-picker";-export * from "./components/date-time-picker-popover";-export * from "./components/sheet";-export * from "./components/multi-select";-export * from "./components/toggle";-export * from "./components/collapsible";-export * from "./components/sonner";-export * from "./components/sortable";-export * from "./components/navigation-menu";-export * from "./components/slider";-export * from "./components/chart";-export * from "./components/breadcrumb";diff --git a/packages/ui/src/styles.css b/packages/ui/src/styles.cssdeleted file mode 100644index e69de29bb..000000000diff --git a/packages/ui/tailwind.config.ts b/packages/ui/tailwind.config.tsdeleted file mode 100644index 4804b7113..000000000--- a/packages/ui/tailwind.config.ts+++ /dev/null@@ -1,88 +0,0 @@-// eslint-disable-next-line @typescript-eslint/no-var-requires-const { fontFamily } = require("tailwindcss/defaultTheme");--/** @type {import('tailwindcss').Config} */-module.exports = {- darkMode: ["class"],- content: [- "src/**/*.{ts,tsx}",- // for vercel integration- "../../packages/integrations/**/*.{ts,tsx}",- "../../packages/ui/**/*.{ts,tsx}",- ],- theme: {- container: {- center: true,- padding: "2rem",- screens: {- "2xl": "1400px",- },- },- extend: {- // REMINDER: added for background.tsx- backgroundImage: {- "gradient-radial": "radial-gradient(var(--tw-gradient-stops))",- },- colors: {- border: "hsl(var(--border))",- input: "hsl(var(--input))",- ring: "hsl(var(--ring))",- background: "hsl(var(--background))",- foreground: "hsl(var(--foreground))",- primary: {- DEFAULT: "hsl(var(--primary))",- foreground: "hsl(var(--primary-foreground))",- },- secondary: {- DEFAULT: "hsl(var(--secondary))",- foreground: "hsl(var(--secondary-foreground))",- },- destructive: {- DEFAULT: "hsl(var(--destructive))",- foreground: "hsl(var(--destructive-foreground))",- },- muted: {- DEFAULT: "hsl(var(--muted))",- foreground: "hsl(var(--muted-foreground))",- },- accent: {- DEFAULT: "hsl(var(--accent))",- foreground: "hsl(var(--accent-foreground))",- },- popover: {- DEFAULT: "hsl(var(--popover))",- foreground: "hsl(var(--popover-foreground))",- },- card: {- DEFAULT: "hsl(var(--card))",- foreground: "hsl(var(--card-foreground))",- },- },- borderRadius: {- lg: "var(--radius)",- md: "calc(var(--radius) - 2px)",- sm: "calc(var(--radius) - 4px)",- },- fontFamily: {- sans: ["var(--font-geist-sans)", ...fontFamily.sans],- mono: ["var(--font-geist-mono)", ...fontFamily.mono],- cal: ["var(--font-calsans)"],- },- keyframes: {- "accordion-down": {- from: { height: 0 },- to: { height: "var(--radix-accordion-content-height)" },- },- "accordion-up": {- from: { height: "var(--radix-accordion-content-height)" },- to: { height: 0 },- },- },- animation: {- "accordion-down": "accordion-down 0.2s ease-out",- "accordion-up": "accordion-up 0.2s ease-out",- },- },- },- plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],-};diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.jsonindex cec44c664..b1b076b69 100644--- a/packages/ui/tsconfig.json+++ b/packages/ui/tsconfig.json@@ -4,7 +4,7 @@"exclude": ["dist", "build", "node_modules"],"compilerOptions": {"paths": {- "@/*": ["./src/*"]+ "@openstatus/ui/*": ["./src/*"]}}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 3a00923a4..2f19447fc 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -73,7 +73,7 @@ importers:version: 0.15.15'@openpanel/nextjs':specifier: 1.0.8- version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -146,6 +146,9 @@ importers:'@openstatus/tracker':specifier: workspace:*version: link:../../packages/tracker+ '@openstatus/ui':+ specifier: workspace:*+ version: link:../../packages/ui'@openstatus/upstash':specifier: workspace:*version: link:../../packages/upstash@@ -211,7 +214,7 @@ importers:version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: 10.31.0- version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/stripe-js':specifier: 2.1.6version: 2.1.6@@ -226,7 +229,7 @@ importers:'@trpc/next':specifier: 11.4.4- version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: 11.4.4version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -249,23 +252,23 @@ importers:specifier: 1.1.1version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])date-fns:- specifier: 2.30.0- version: 2.30.0+ specifier: 3.6.0+ version: 3.6.0lucide-react:specifier: 0.525.0version: 0.525.0([email protected])next:specifier: 16.0.10- version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])next-auth:specifier: 5.0.0-beta.29- version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])next-themes:specifier: 0.4.6nuqs:specifier: 2.8.5- version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])random-word-slugs:specifier: 0.1.7version: 0.1.7@@ -274,7 +277,7 @@ importers:version: 19.2.3react-day-picker:specifier: 8.10.1- version: 8.10.1([email protected])([email protected])+ version: 8.10.1([email protected])([email protected])react-dom:specifier: 19.2.3version: 19.2.3([email protected])@@ -334,8 +337,8 @@ importers:specifier: 19.2.2version: 19.2.2(@types/[email protected])shadcn:- specifier: 2.7.0- version: 2.7.0(@types/[email protected])([email protected])+ specifier: 3.8.4tailwindcss:specifier: 4.1.11version: 4.1.11@@ -626,7 +629,7 @@ importers:version: 0.15.15'@openpanel/nextjs':specifier: 1.0.8- version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -654,6 +657,9 @@ importers:'@openstatus/tracker':specifier: workspace:*version: link:../../packages/tracker+ '@openstatus/ui':+ specifier: workspace:*+ version: link:../../packages/ui'@openstatus/utils':specifier: workspace:*version: link:../../packages/utils@@ -716,7 +722,7 @@ importers:version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: 10.31.0- version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/stripe-js':specifier: 2.1.6version: 2.1.6@@ -731,7 +737,7 @@ importers:'@trpc/next':specifier: 11.4.4- version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: 11.4.4version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -751,8 +757,8 @@ importers:specifier: 1.1.1version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])date-fns:- specifier: 2.30.0- version: 2.30.0+ specifier: 3.6.0+ version: 3.6.0feed:specifier: 4.2.2version: 4.2.2@@ -761,25 +767,25 @@ importers:version: 0.525.0([email protected])next:specifier: 16.0.10- version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])next-auth:specifier: 5.0.0-beta.29- version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])next-plausible:specifier: 3.12.5- version: 3.12.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 3.12.5([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])next-themes:specifier: 0.4.6nuqs:specifier: 2.8.5- version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])react:specifier: 19.2.3version: 19.2.3react-day-picker:specifier: 8.10.1- version: 8.10.1([email protected])([email protected])+ version: 8.10.1([email protected])([email protected])react-dom:specifier: 19.2.3version: 19.2.3([email protected])@@ -839,8 +845,8 @@ importers:specifier: 19.2.2version: 19.2.2(@types/[email protected])shadcn:- specifier: 2.7.0- version: 2.7.0(@types/[email protected])([email protected])+ specifier: 3.8.4tailwindcss:specifier: 4.1.11version: 4.1.11@@ -870,7 +876,7 @@ importers:version: 0.15.15'@openpanel/nextjs':specifier: 1.0.8- version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 1.0.8([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])'@openstatus/analytics':specifier: workspace:*version: link:../../packages/analytics@@ -943,9 +949,12 @@ importers:'@radix-ui/react-portal':specifier: 1.1.9version: 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot':+ specifier: 1.2.3+ version: 1.2.3(@types/[email protected])([email protected])'@sentry/nextjs':specifier: 10.31.0- version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 10.31.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/stripe-js':specifier: 2.1.6version: 2.1.6@@ -972,7 +981,7 @@ importers:'@trpc/next':specifier: 11.4.4- version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])'@trpc/react-query':specifier: 11.4.4version: 11.4.4(@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected])@@ -1001,11 +1010,11 @@ importers:specifier: 0.6.3version: 0.6.3date-fns:- specifier: 2.30.0- version: 2.30.0+ specifier: 3.6.0+ version: 3.6.0date-fns-tz:specifier: 2.0.0- version: 2.0.0([email protected])+ version: 2.0.0([email protected])feed:specifier: 4.2.2version: 4.2.2@@ -1020,22 +1029,22 @@ importers:version: 5.0.7next:specifier: 16.0.10- version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])next-auth:specifier: 5.0.0-beta.29- version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])next-mdx-remote:specifier: 5.0.0version: 5.0.0(@types/[email protected])([email protected])next-plausible:specifier: 3.12.5- version: 3.12.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 3.12.5([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])next-themes:specifier: 0.4.6nuqs:specifier: 2.8.5- version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 2.8.5([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])random-word-slugs:specifier: 0.1.7version: 0.1.7@@ -1044,7 +1053,7 @@ importers:version: 19.2.3react-day-picker:specifier: 8.10.1- version: 8.10.1([email protected])([email protected])+ version: 8.10.1([email protected])([email protected])react-dom:specifier: 19.2.3version: 19.2.3([email protected])@@ -1322,8 +1331,8 @@ importers:specifier: 0.23.3version: 0.23.3date-fns:- specifier: 2.30.0- version: 2.30.0+ specifier: 3.6.0+ version: 3.6.0nanoid:specifier: 5.0.7version: 5.0.7@@ -1332,7 +1341,7 @@ importers:version: 5.0.0-beta.1next:specifier: 16.0.10- version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])random-word-slugs:specifier: 0.1.7version: 0.1.7@@ -1422,7 +1431,7 @@ importers:version: 0.31.4next-auth:specifier: 5.0.0-beta.29- version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 5.0.0-beta.29([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])typescript:specifier: 5.9.3version: 5.9.3@@ -1970,8 +1979,6 @@ importers:specifier: 5.9.3version: 5.9.3- packages/react/dist: {}-packages/regions:dependencies:zod:@@ -2039,6 +2046,9 @@ importers:packages/ui:dependencies:+ '@date-fns/utc':+ specifier: 2.1.0+ version: 2.1.0'@dnd-kit/core':specifier: 6.3.1@@ -2061,65 +2071,65 @@ importers:specifier: 1.1.4version: 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-avatar':- specifier: 1.1.2- version: 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.10+ version: 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-checkbox':- specifier: 1.1.3- version: 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.3.2+ version: 1.3.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-collapsible':- specifier: 1.1.2- version: 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.11+ version: 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-context-menu':specifier: 2.2.4version: 2.2.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-dialog':- specifier: 1.1.4- version: 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.14+ version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-dropdown-menu':- specifier: 2.1.4- version: 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 2.1.15+ version: 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-hover-card':- specifier: 1.1.4- version: 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.14+ version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-label':- specifier: 2.1.1- version: 2.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 2.1.7+ version: 2.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-navigation-menu':specifier: 1.2.3version: 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-popover':- specifier: 1.1.4- version: 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.14+ version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-progress':- specifier: 1.1.1- version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.7+ version: 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-radio-group':- specifier: 1.2.2- version: 1.2.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.3.7+ version: 1.3.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-select':- specifier: 2.1.4- version: 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 2.2.5+ version: 2.2.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-separator':- specifier: 1.1.1- version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.7+ version: 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slider':- specifier: 1.2.2- version: 1.2.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.3.5+ version: 1.3.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slot':- specifier: 1.1.1- version: 1.1.1(@types/[email protected])([email protected])+ specifier: 1.2.3+ version: 1.2.3(@types/[email protected])([email protected])'@radix-ui/react-switch':- specifier: 1.1.2- version: 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.2.5+ version: 1.2.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-tabs':- specifier: 1.1.2- version: 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.12+ version: 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-toggle':- specifier: 1.1.1- version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.1.10+ version: 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-tooltip':- specifier: 1.1.6- version: 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: 1.2.7+ version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])class-variance-authority:specifier: 0.7.1version: 0.7.1@@ -2130,8 +2140,8 @@ importers:specifier: 1.1.1version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])date-fns:- specifier: 2.30.0- version: 2.30.0+ specifier: 3.6.0+ version: 3.6.0lucide-react:specifier: 0.525.0version: 0.525.0([email protected])@@ -2140,25 +2150,28 @@ importers:version: 3.5.0next:specifier: 16.0.10- version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ version: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])next-themes:- specifier: 0.2.1- version: 0.2.1([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ specifier: 0.4.6+ radix-ui:+ specifier: 1.4.3+ version: 1.4.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react:specifier: 19.2.3version: 19.2.3react-day-picker:specifier: 8.10.1- version: 8.10.1([email protected])([email protected])+ version: 8.10.1([email protected])([email protected])react-hook-form:specifier: 7.68.0version: 7.68.0([email protected])recharts:- specifier: 2.15.0+ specifier: 2.15.4sonner:- specifier: 1.7.1+ specifier: 2.0.5tailwind-merge:specifier: 2.5.5version: 2.5.5@@ -2187,6 +2200,12 @@ importers:'@types/react-dom':specifier: 19.2.2version: 19.2.2(@types/[email protected])+ glob:+ specifier: 11.0.0+ version: 11.0.0+ shadcn:+ specifier: 3.8.4tailwindcss:specifier: 4.1.8version: 4.1.8@@ -2251,8 +2270,8 @@ packages:'@antfu/[email protected]':resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==}- '@antfu/[email protected]':- resolution: {integrity: sha512-C90iyzm/jLV7Lomv2UzwWUzRv9WZr1oRsFRKsX5HjQL4EXrbi9H/RtBkjCP+NF+ABZXUKpAa4F1dkoTaea4zHg==}+ '@antfu/[email protected]':+ resolution: {integrity: sha512-9q/yCljni37pkMr4sPrI3G4jqdIk074+iukc5aFJl7kmDCCsiJrbZ6zKxnES1Gwg+i9RcDZwvktl23puGslmvA==}hasBin: true'@antfu/[email protected]':@@ -2537,6 +2556,10 @@ packages:resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==}engines: {node: '>=6.9.0'}@@ -2549,6 +2572,10 @@ packages:resolution: {integrity: sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==}engines: {node: '>=6.9.0'}@@ -2575,12 +2602,22 @@ packages:resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==}engines: {node: '>=6.9.0'}peerDependencies:'@babel/core': ^7.0.0+ '@babel/[email protected]':+ resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0+'@babel/[email protected]':resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==}engines: {node: '>=6.9.0'}@@ -2589,6 +2626,10 @@ packages:resolution: {integrity: sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==}engines: {node: '>=6.9.0'}@@ -2620,12 +2661,29 @@ packages:engines: {node: '>=6.0.0'}hasBin: true+ '@babel/[email protected]':+ resolution: {integrity: sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==}+ engines: {node: '>=6.0.0'}+ hasBin: true++ '@babel/[email protected]':+ resolution: {integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0+'@babel/[email protected]':resolution: {integrity: sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==}engines: {node: '>=6.9.0'}peerDependencies:'@babel/core': ^7.0.0-0+ '@babel/[email protected]':+ resolution: {integrity: sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0+'@babel/[email protected]':resolution: {integrity: sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==}engines: {node: '>=6.9.0'}@@ -2644,6 +2702,12 @@ packages:peerDependencies:'@babel/core': ^7.0.0-0+ '@babel/[email protected]':+ resolution: {integrity: sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==}+ engines: {node: '>=6.9.0'}+ peerDependencies:+ '@babel/core': ^7.0.0-0+'@babel/[email protected]':resolution: {integrity: sha512-h7iEYiW4HebClDEhtvFObtPmIvrd1SSfpI9EhOeKk4CtIK/ngBWFpuhCzhdmRKtg71ylcue+9I6dv54XYO1epQ==}engines: {node: '>=6.9.0'}@@ -2656,14 +2720,26 @@ packages:resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}+ engines: {node: '>=6.9.0'}+'@biomejs/[email protected]':resolution: {integrity: sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==}engines: {node: '>=14.21.3'}@@ -2918,9 +2994,19 @@ packages:peerDependencies:react: '>=16.8.0'+ '@dotenvx/[email protected]':+ resolution: {integrity: sha512-CaQcc8JvtzQhUSm9877b6V4Tb7HCotkcyud9X2YwdqtQKwgljkMRwU96fVYKnzN3V0Hj74oP7Es+vZ0mS+Aa1w==}+ hasBin: true+'@drizzle-team/[email protected]':resolution: {integrity: sha512-z33Il7l5dKjUgGULTqBsQBQwckHh5AbIuxhdsIxDDiZAzBOrZO6q9ogcWC65kU382AfynTfgNumVcNIjuIua6w==}+ '@ecies/[email protected]':+ resolution: {integrity: sha512-GalEZH4JgOMHYYcYmVqnFirFsjZHeoGMDt9IxEnM9F7GRUUyUksJ7Ou53L83WHJq3RWKD3AcBpo0iQh0oMpf8A==}+ engines: {bun: '>=1', deno: '>=2', node: '>=16'}+ peerDependencies:+ '@noble/ciphers': ^1.0.0+'@emmetio/[email protected]':resolution: {integrity: sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==}@@ -3353,6 +3439,12 @@ packages:engines: {node: '>=6'}hasBin: true+ '@hono/[email protected]':+ resolution: {integrity: sha512-vHL6w3ecZsky+8P5MD+eFfaGTyCeOHUIFYMGpQGbrBTSmNNoxv0if69rEZ5giu36weC5saFuznL411gRX7bJDw==}+ engines: {node: '>=18.14.1'}+ peerDependencies:+ hono: ^4+'@hono/[email protected]':resolution: {integrity: sha512-027grZBrRGDPor8mRd+QOBcSpUlF07YrTp/WFDXZhbvWZ+1LrZdERUqcdg1gBGDUTanHhd9ucblpNNN6+V1bxg==}peerDependencies:@@ -3808,8 +3900,8 @@ packages:'@types/react': '>=16'react: '>=16'- '@modelcontextprotocol/[email protected]':- resolution: {integrity: sha512-MCGd4K9aZKvuSqdoBkdMvZNcYXCkZRYVs/Gh92mdV5IHbctX9H9uIvd4X93+9g8tBbXv08sxc/QHXTzf8y65bA==}+ '@modelcontextprotocol/[email protected]':+ resolution: {integrity: sha512-Y5RmPncpiDtTXDbLKswIJzTqu2hyBKxTNsgKqKclDbhIgg1wgtf1fRuvxgTnRfcnxtvvgbIEcqUOzZrJ6iSReg==}engines: {node: '>=18'}peerDependencies:'@cfworker/json-schema': ^4.1.1@@ -3879,6 +3971,18 @@ packages:cpu: [x64]os: [win32]+ '@noble/[email protected]':+ resolution: {integrity: sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==}+ engines: {node: ^14.21.3 || >=16}++ '@noble/[email protected]':+ resolution: {integrity: sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==}+ engines: {node: ^14.21.3 || >=16}++ '@noble/[email protected]':+ resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}+ engines: {node: ^14.21.3 || >=16}+'@nodelib/[email protected]':resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}engines: {node: '>= 8'}@@ -4523,9 +4627,6 @@ packages:'@protobufjs/[email protected]':resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}- '@radix-ui/[email protected]':- resolution: {integrity: sha512-V3gRzhVNU1ldS5XhAPTom1fOIo4ccrjjJgmE+LI2h/WaFpHmx0MQApT+KZHnx8abG6Avtfcz4WoEciMnpFT3HQ==}-'@radix-ui/[email protected]':resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==}@@ -4535,6 +4636,35 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-XnbHrrprsNqZKQhStrSwgRUQzoCI1glLzdw79xiZPoofhGICeZRSQ3dIxAKH1gb3OHfNf4d6f+vAv3kil2eggA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==}++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-XM+E4WXl0OqUJFovy6GjmxxFyx9opfCAIUku4dlKRd5YEPqt4kALOkQOp0Of6reHuUkJuiPBEc5k0o4z4lTC8A==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-b1oh54x4DMCdGsB4/7ahiSrViXxaBwRPotiZNnYXjLha9vfuURSAZErki6qjDoSIV0eXx5v57XnTGVtGwnfp2g==}peerDependencies:@@ -4561,6 +4691,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-A6Kh23qZDLy3PSU4bh2UJZznOrUdHImIXqF8YtUa6CN73f8EOO9XlXSCd9IHyPvIquTaa/kwaSWzZTtUvgXVGw==}peerDependencies:@@ -4600,8 +4743,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Yq6lvO9HQyPwev1onK1daHCHqXVLzPhSVjmsNjCa2Zcxy2f7uJD2itDtxknv6FzAKCwD1qQkeVDmX/cev13n/g==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4613,8 +4756,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-GaC7bXQZ5VgZvVvsJ5mu/AEbjYLnhhkoidOboC50Z6FFlLA03wG2ianUoH+zgDQ31/9gCF59bE4+2bBgTyMiig==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4626,8 +4769,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-HD7/ocp8f1B3e6OHygH0n7ZKjONkhciy1Nh0yuBgObqThc3oyx+vuMfFHKAknXRHHWVE9XvXStxJFyjUmB8PIw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-yd+dI56KZqawxKZrJ31eENUwqc1QSqg4OZ15rybGjF2ZNwMO+wCyHzAVLRp9qoYJf7kYy0YpZ2b0JCzJ42HZpA==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4639,8 +4782,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-yd+dI56KZqawxKZrJ31eENUwqc1QSqg4OZ15rybGjF2ZNwMO+wCyHzAVLRp9qoYJf7kYy0YpZ2b0JCzJ42HZpA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4665,6 +4808,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-PliMB63vxz7vggcyq0IxNYk8vGDrLXVWw4+W4B8YnwI1s18x7YZYqlG9PLX7XxAJUi0g2DxP4XKJMFHh/iVh9A==}peerDependencies:@@ -4722,6 +4878,19 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-O8morBEW+HsVG28gYDZPTrT9UUovQUlJue5YO836tiTJhuIWBm/zQHc7j388sHWtdH/xUZurK9olD2+pcqx5ww==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-ap4wdGwK52rJxGkwukU1NrnEodsUFQIooANKu+ey7d6raQ2biTcEf8za1zr0mgFHieevRTB2nK4dJeN8pTAZGQ==}peerDependencies:@@ -4766,6 +4935,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-Ur7EV1IwQGCyaAuyDRiOLA5JIUZxELJljF+MbM/2NC0BYwfuRrbpS30BiQBJrVruscgUkieKkqXYDOoByaxIoA==}peerDependencies:@@ -4810,6 +4992,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-onrWn/72lQoEucDmJnr8uczSNTujT0vJnA/X5+3AkChVPowr8n1yvIKIabhWyMQeMvvmdpsvcyDqx3X1LEXCPg==}peerDependencies:@@ -4836,8 +5031,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-iXU1Ab5ecM+yEepGAWK8ZhMyKX4ubFdCNtol4sT9D0OVErG9PNElfx3TQhjw7n7BC5nFVz68/5//clWy+8TXzA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4867,6 +5062,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-01omzJAYRxXdG2/he/+xy+c8a8gCydoQ1yOxnWNcRhrrBW5W+RQJ22EK1SaO8tb3WoUsuEw7mJjBozPzihDFjA==}peerDependencies:@@ -4893,6 +5097,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-QM70k4Zwjttifr5a4sZFts9fn8FzHYvQ5PiB19O2HsYibaHSVt9fH9rzB0XZo/YcM+b7t/p7lYCT/F5eOeF5yQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-CPYZ24Mhirm+g6D8jArmLzjYu4Eyg3TTUHswR26QgzXBHBe64BO/RHOJKzmF/Dxb4y4f9PKyJdwm/O/AhNkb+Q==}peerDependencies:@@ -4906,8 +5123,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-QSUUnRA3PQ2UhvoCv3eYvMnCAgGQW+sTu86QPuNb+ZMi+ZENd6UWpiXbcWDQ4AEaKF9KKpCHBeaJz9Rw6lRlaQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4937,8 +5154,8 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-UUw5E4e/2+4kFMH7+YxORXGWggtY6sM8WIwh5RZchhLuUg2H1hc98Py+pr8HMz6rdaYrK2t296ZEjYLOCO5uUw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4950,8 +5167,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-tVlmA3Vb9n8SZSd+YSbuFR66l87Wiy4du+YE+0hzKQEANA+7cWKH1WgqcEX4pXqxUFQKrWQGHdvEfw00TjFiew==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4963,8 +5180,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-tVlmA3Vb9n8SZSd+YSbuFR66l87Wiy4du+YE+0hzKQEANA+7cWKH1WgqcEX4pXqxUFQKrWQGHdvEfw00TjFiew==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -4989,8 +5206,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-IQWAsQ7dsLIYDrn0WqPU+cdM7MONTv9nqrLVYoie3BPiabSfUVDe6Fr+oEt0Cofsr9ONDcDe9xhmJbL1Uq1yKg==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-EB1FktTz5xRRi2Er974AUQZWg2yVBb1yjip38/lgwtCVRd3a+maUoGHN/xs9Yv8SY8QwbSEb+YrxGadVWbEutA==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5002,8 +5219,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-ODz16+1iIbGUfFEfKx2HTPKizg2MN39uIOV8MXeHnmdd3i/N9Wt7vU46wbHsqA0xoaQyXVcs0KIlBdOA2Y95bw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5015,8 +5232,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-aUACAkXx8LaFymDma+HQVji7WhvEhpFJ7+qPz17Nf4lLZqtreGOFRiNQWQmhzp7kEWg9cOyyQJpdIMUMPc/CPw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-IQWAsQ7dsLIYDrn0WqPU+cdM7MONTv9nqrLVYoie3BPiabSfUVDe6Fr+oEt0Cofsr9ONDcDe9xhmJbL1Uq1yKg==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5028,8 +5245,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-3kn5Me69L+jv82EKRuQCXdYyf1DqHwD2U/sxoNgBGCB7K9TRc3bQamQ+5EPM9EvyPdli0W41sROd+ZU1dTCztw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-ycS4rbwURavDPVjCb5iS3aG4lURFDILi6sKI/WITUMZ13gMmn/xGjpLoqBAalhJaDk8I3UbCM5GzKHrnzwHbvg==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5041,8 +5258,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-IUFAccz1JyKcf/RjB552PlWwxjeCJB8/4KxT7EhBHOJM+mN7LdW+B3kacJXILm32xawcMMjb2i0cIZpo+f9kiQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-/UuCrDBWravcaMix4TdT+qlNdVwOM1Nck9kWx/vafXsdfj1ChfhOdfi3cy9SGBpWgTXwYCuboT/oYpJy3clqfw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5054,8 +5271,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-NciRqhXnGojhT93RPyDaMPfLH3ZSl4jjIFbZQ1b/vxvZEdHsBZ49wP9w8L3HzUQwep01LcWtkUvm0OVB5JAHTw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-ODz16+1iIbGUfFEfKx2HTPKizg2MN39uIOV8MXeHnmdd3i/N9Wt7vU46wbHsqA0xoaQyXVcs0KIlBdOA2Y95bw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5067,7 +5284,72 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-3kn5Me69L+jv82EKRuQCXdYyf1DqHwD2U/sxoNgBGCB7K9TRc3bQamQ+5EPM9EvyPdli0W41sROd+ZU1dTCztw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-IUFAccz1JyKcf/RjB552PlWwxjeCJB8/4KxT7EhBHOJM+mN7LdW+B3kacJXILm32xawcMMjb2i0cIZpo+f9kiQ==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-NciRqhXnGojhT93RPyDaMPfLH3ZSl4jjIFbZQ1b/vxvZEdHsBZ49wP9w8L3HzUQwep01LcWtkUvm0OVB5JAHTw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':resolution: {integrity: sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==}peerDependencies:'@types/react': '*'@@ -5106,8 +5388,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-sHCWTtxwNn3L3fH8qAfnF3WbUZycW93SM1j3NFDzXBiz8D6F5UTTy8G1+WFEaiCdvCVRJWj6N2R4Xq6HdiHmDg==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5119,8 +5401,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-sHCWTtxwNn3L3fH8qAfnF3WbUZycW93SM1j3NFDzXBiz8D6F5UTTy8G1+WFEaiCdvCVRJWj6N2R4Xq6HdiHmDg==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5132,8 +5414,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5145,8 +5427,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-6diOawA84f/eMxFHcWut0aE1C2kyE9dOyCTQOMRR2C/qPiXz/X0SaiA/RLbapQaXUCmy0/hLMf9meSccD1N0pA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-9hQc4+GNVtJAIEPEqlYqW5RiYdrr8ea5XQ0ZOnD6fgru+83kqT15mq2OCcbe8KnjRZl5vF3ks69AKz3kh1jrhg==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5171,8 +5453,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-E0MLLGfOP0l8P/NxgVzfXJ8w3Ch8cdO6UDzJfDChu4EJDy+/WdO5LqpdY8PYnCErkmZH3gZhDL1K7kQ41fAHuQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-9w5XhD0KPOrm92OTTE0SysH3sYzHsSTHNvZgUBo/VZ80VdYyB5RneDbc0dKpURS24IxkoFRu/hI0i4XyfFwY6g==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5184,8 +5466,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-9w5XhD0KPOrm92OTTE0SysH3sYzHsSTHNvZgUBo/VZ80VdYyB5RneDbc0dKpURS24IxkoFRu/hI0i4XyfFwY6g==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-VBKYIYImA5zsxACdisNQ3BjCBfmbGH3kQlnFVqlWU4tXwjy7cGX8ta80BcrO+WJXIn5iBylEH3K6ZTlee//lgQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5223,8 +5505,21 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-pOkb2u8KgO47j/h7AylCj7dJsm69BXcjkrvTqMptFqsE2i0p8lHkfgneXKjAgPzBMivnoMyt8o4KiV4wYzDdyQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5249,8 +5544,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-RRiNRSrD8iUiXriq/Y5n4/3iE8HzqgLHsusUSg5jVpU2+3tqcUFPJXHDymwEypunc2sWxDUS3UC+rkZRlHedsw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5275,8 +5570,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-sNlU06ii1/ZcbHf8I9En54ZPW0Vil/yPVg4vQMcFNjrIx51jsHbFl1HYHQvCIWJSr1q0ZmA+iIs/ZTv8h7HHSA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-rkfe2pU2NBAYfGaxa3Mqosi7VZEWX5CxKaanRv0vZd4Zhl9fvQrg0VM93dv3xGLGfrHuoTRF3JXH8nb9g+B3fw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5288,8 +5583,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-rkfe2pU2NBAYfGaxa3Mqosi7VZEWX5CxKaanRv0vZd4Zhl9fvQrg0VM93dv3xGLGfrHuoTRF3JXH8nb9g+B3fw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-JPYb1GuM1bxfjMRlNLE+BcmBC8onfCi60Blk7OBqi2MLTFdS+8401U4uFjnwkOr49BLmXxLC6JHkvAsx5OJvHw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5328,8 +5623,8 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-zGukiWHjEdBCRyXvKR6iXAQG6qXm2esuAD6kDOi9Cn+1X6ev3ASo4+CsYaD6Fov9r/AQFekqnD/7+V0Cs6/98g==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-5ijLkak6ZMylXsaImpZ8u4Rlf5grRmoc0p0QeX9VJtlrM4f5m3nCTX8tWga/zOA8PZYIR/t0p2Mnvd7InrJ6yQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5341,8 +5636,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-5ijLkak6ZMylXsaImpZ8u4Rlf5grRmoc0p0QeX9VJtlrM4f5m3nCTX8tWga/zOA8PZYIR/t0p2Mnvd7InrJ6yQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5367,8 +5662,34 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-9u/tQJMcC2aGq7KXpGivMm1mgq7oRJKXphDwdypPd/j21j/2znamPU8WkXgnhUaTrSFNIt8XhOyCAupg8/GbwQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-3OSz3TacUWy4WtOXV38DggwxoqJK4+eDkNMl5Z/MJZaoUPaP4/9lf81xXMe1I2ReTAptverZUpbPY4wWwWyL5g==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-5umnS0T8JQzQT6HbPyO7Hh9dgd82NmS36DQr+X/YJ9ctFNCiiQd6IJAYYZ33LUwm8M+taCz5t2ui29fHZc4Y6Q==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5380,8 +5701,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-i77tcgObYr743IonC1hrsnnPmszDRn8p+EGUsUt+5a/JFn28fxaM88Py6V2mc8J5kELMWishI0rLnuGLFD/nnQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-lS1odchhFTeZv3xwHH31YPObmJn8gOg7Lq12inrr0+BH/l3Tsq32VfjqH1oh80ARM3mlkfMic15n0kg4sD1poQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5393,8 +5714,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-TLB5D8QLExS1uDn7+wH/bjEmRurNMTzNrtq7IjaS4kjion9NtzsTGkvR5+i7yc9q01Pi2KMM2cN3f8UG4IvvXA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-4ol06/1bLoFu1nwUqzdD4Y5RZ9oDdKeiHIsntug54Hcr1pgaHiPqHFEaXI1IFP/EsOfROQZ8Mig9VTIRza6Tjg==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -5419,6 +5740,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-tY7sVt1yL9ozIxvmbtN5qtmH2krXcBCfjEiCgKGLqunJHvgvZG2Pcl2oQ3kbcZARb1BGEHdkLzcYGO8ynVlieg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==}peerDependencies:@@ -5906,6 +6240,9 @@ packages:resolution: {integrity: sha512-fNcaZbZKoZ2PvoW+KJHmk4au8ZukgWlb6qLK3k/SLkfsTggN3DO4PR57ch6cyl2WhwENNbw+iI+ss7fTRcPnOA==}engines: {node: '>=18'}+ '@sec-ant/[email protected]':+ resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}+'@selderee/[email protected]':resolution: {integrity: sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==}@@ -6074,6 +6411,10 @@ packages:'@shikijs/[email protected]':resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==}+ '@sindresorhus/[email protected]':+ resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==}+ engines: {node: '>=18'}+'@smithy/[email protected]':resolution: {integrity: sha512-wRlta7GuLWpTqtFfGo+nZyOO1vEvewdNR1R4rTxpC8XU6vG/NDyrFBhwLZsqg1NUoR1noVaXJPC/7ZK47QCySw==}engines: {node: '>=14.0.0'}@@ -6599,8 +6940,8 @@ packages:react-dom: '>=18.2.0'typescript: '>=5.7.2'- '@ts-morph/[email protected]':- resolution: {integrity: sha512-Unz/WHmd4pGax91rdIKWi51wnVUW11QttMEPpBiBgIewnc9UQIX7UDLxr5vRlqeByXCwhkF6VabSsI0raWcyAQ==}+ '@ts-morph/[email protected]':+ resolution: {integrity: sha512-Wf29UqxWDpc+i61k3oIOzcUfQt79PIT9y/MWfAGlrkjg6lBC1hwDECLXPVJAhWjiGbfBCxZd65F/LIZF3+jeJQ==}'@tsconfig/[email protected]':resolution: {integrity: sha512-UCYBaeFvM11aU2y3YPZ//O5Rhj+xKyzy7mvcIoAjASbigy8mHMryP5cK7dgjlz2hWxh1g5pLw084E0a/wlUSFQ==}@@ -6824,6 +7165,9 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}+ '@types/[email protected]':+ resolution: {integrity: sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==}+'@types/[email protected]':resolution: {integrity: sha512-nH45Lk7oPIJ1RVOF6JgFI6Dy0QpHEzq4QecZhvguxYPDwT8c93prCMqAtiIttm39voZ+DDR+qkNnMpJmMBRqag==}@@ -7052,6 +7396,10 @@ packages:resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}engines: {node: '>=12'}+ resolution: {integrity: sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==}+ engines: {node: '>=14'}+resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}@@ -7169,9 +7517,6 @@ packages:resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==}- resolution: {integrity: sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==}-resolution: {integrity: sha512-nfDwkulwiZYQIGwxdy0RUmowMhKcFVcYXUU7m4QlKYim1rUtg83xm2yjZ40QjDuc291AJjjeSc9b++AWHSgSHw==}engines: {node: '>=18'}@@ -7213,9 +7558,6 @@ packages:resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==}- resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==}-resolution: {integrity: sha512-2dNB+dBwAcFW7RSd4y5vKycRjouKVklSwPk4EjBKWvcMYUBOqZGGNzV7+b2tfKBG3BeRXnozbnegVKR1azuATg==}@@ -7227,6 +7569,10 @@ packages:resolution: {integrity: sha512-fL99nxdOWvV4LqjmC+8Q9kW3M4QTtTR1eePs94v5ctGqU8OeceWrSUaRw3JYb7tU3FkMIAjkueehrHPPPGKi5Q==}+ resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-7Q/6vkyYAwOmQNRw75x+4yRtZCZJXUDmHHlFdkiV0wgv/reNjtJwpu1jPJ0w2kbEpIM0uoKI3S4/f39dU7AjSA==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}@@ -7344,10 +7690,6 @@ packages:resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==}engines: {node: '>=8'}- resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}-resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}engines: {node: '>=18'}@@ -7392,8 +7734,8 @@ packages:resolution: {integrity: sha512-WHr7X4o1ym94GZ96h7b1pNemZJacbOzd02dZtnVwuC4oWBaLg96PBmp2rIS1SAhUDhhC/QyS9WEqkpZIs/ZBTg==}- resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==}+ resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==}resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==}@@ -7437,6 +7779,10 @@ packages:resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==}engines: {node: '>=18'}+ resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}@@ -7495,10 +7841,6 @@ packages:resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}engines: {node: '>= 0.6'}- resolution: {integrity: sha512-vXiThu1/rlos7EGu8TuNZQEg2e9TvhH9dmS4T4ZVzB7Ao1agEZ6EG3sn5n+hZRYUgduISd1HpngFzAZiDGm5vQ==}- engines: {node: '>=18'}-resolution: {integrity: sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==}engines: {node: '>=18'}@@ -7518,8 +7860,8 @@ packages:resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==}engines: {node: '>=10'}- resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==}+ resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==}engines: {node: '>=14'}peerDependencies:typescript: '>=4.9.5'@@ -7630,9 +7972,8 @@ packages:peerDependencies:date-fns: '>=2.0.0'- resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==}- engines: {node: '>=0.11'}+ resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==}resolution: {integrity: sha512-rBMW+F2TXryBwB54Q0d8drNEI+TfoS9JpNTAoVpukbWEhjXQq4rySFYLaqXMFXwdv61Zb2OHtj5bviSoimqxRQ==}@@ -7666,6 +8007,14 @@ packages:resolution: {integrity: sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==}+ resolution: {integrity: sha512-9JmrhGZpOlEgOLdQgSm0zxFaYoQon408V1v49aqTWuXENVlnCuY9JBZcXZiCsZQWDjTm5Qf/nIvAy77mXDAjEg==}+ peerDependencies:+ babel-plugin-macros: ^3.1.0+ peerDependenciesMeta:+ babel-plugin-macros:+ optional: true+resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==}engines: {node: '>=4.0.0'}@@ -7674,9 +8023,21 @@ packages:resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==}+ resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}@@ -7740,6 +8101,10 @@ packages:resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==}engines: {node: '>=0.3.1'}+ resolution: {integrity: sha512-qejHi7bcSD4hQAZE0tNAawRK1ZtafHDmMTMkrrIGgSLl7hTnQHmKCeB45xAcbfTqK2zowkM3j3bHt/4b/ARbYQ==}+ engines: {node: '>=0.3.1'}+resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}engines: {node: '>=8'}@@ -7778,6 +8143,10 @@ packages:resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==}engines: {node: '>=12'}+ resolution: {integrity: sha512-mudtfb4zRB4bVvdj0xRo+e6duH1csJRM8IukBqfTRvHotn9+LBXB8ynAidP9zHqoRC/fsllXgk4kCKlR21fIhw==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-tCPWVZWZqWVx2XUsVpJRnH9Mx0ClVOf5YUHerZ5so1OKSlqww4zy1R5ksEdGRcO3tM3zj0PYN6V48TbQCL1RfA==}hasBin: true@@ -7897,6 +8266,10 @@ packages:resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==}+ resolution: {integrity: sha512-TOOURki4G7sD1wDCjj7NfLaXZZ49dFOeEb5y39IXpb8p0hRzVvfvzZHOi5JcT+PpyAbi/Y+lxPb8eTag2WYH8w==}+ engines: {bun: '>=1', deno: '>=2', node: '>=16'}+resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}@@ -7945,6 +8318,10 @@ packages:resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==}engines: {node: '>=0.12'}+ resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}@@ -8102,18 +8479,18 @@ packages:resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}engines: {node: '>=10'}- resolution: {integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==}- engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0}+ resolution: {integrity: sha512-9Be3ZoN4LmYR90tUoVu2te2BsbzHfhJyfEiAVfz7N5/zv+jduIfLrV2xdQXOHbaD6KgpGdO9PRPM1Y4Q9QkPkA==}+ engines: {node: ^18.19.0 || >=20.5.0}- resolution: {integrity: sha512-7iN8iPMDzOMHPUYllBEsQdWVB6fPDMPqwjBaFrgr4Jgr/+okjvzAy+UHlYYL/Vs0OsOrMkwS6PJDkFlJwoxUnw==}+ resolution: {integrity: sha512-PCZEIEIxqwhzw4KF0n7QF4QqruVTcF73O5kFKUnGOyjbCCgizBBiFaYpd/fnBLUMPw/BWw9OsiN7GgrNYr7j6g==}engines: {node: '>= 16'}peerDependencies:express: '>= 4.11'- resolution: {integrity: sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==}+ resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==}engines: {node: '>= 18'}@@ -8185,6 +8562,10 @@ packages:resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==}engines: {node: '>=8'}+ resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}engines: {node: '>=8'}@@ -8262,6 +8643,12 @@ packages:resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}+ resolution: {integrity: sha512-sR9BNCjBg6LNgwvxlBd0sBABvQitkLzoVY9MYYROQVX/FvfJ4Mai9LsGhDgd8qYdds0bY77VzYd5iuB+v5rwQQ==}++ resolution: {integrity: sha512-Tt4kuxLXFKHy8KT40zwsUPUkg1CrsgY25FxA2U/j/0WgEDCk3ddc/zLTCCcbSHX9FcKtLuVaDGtGE/STWC+j3Q==}+resolution: {integrity: sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ==}engines: {node: '>=14'}@@ -8302,6 +8689,10 @@ packages:resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==}engines: {node: '>=10'}+ resolution: {integrity: sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ==}@@ -8321,16 +8712,24 @@ packages:resolution: {integrity: sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==}+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]+ hasBin: true++ resolution: {integrity: sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==}+ engines: {node: 20 || >=22}+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]hasBin: trueresolution: {integrity: sha512-vuNwKSaKiqm7g0THUBu2x7ckSs3XJLXE+2ssL7/MfTGPLLcrJQ/4Uq1CjPTtO5cCIiRxqvN6Twy1qOwhL0Xjcw==}engines: {node: 20 || >=22}+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]hasBin: trueresolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}- deprecated: Glob versions prior to v9 are no longer supported+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==}@@ -8499,6 +8898,10 @@ packages:resolution: {integrity: sha512-PmQi306+M/ct/m5s66Hrg+adPnkD5jiO6IjA7WhWw0gSBSo1EcRegwuI1deZ+wd5pzCGynCcn2DprnE4/yEV4w==}engines: {node: '>=16.9.0'}+ resolution: {integrity: sha512-eVkB/CYCCei7K2WElZW9yYQFWssG0DhaDhVvr7wy5jJ22K+ck8fWW0EsLpB0sITUTvPnc97+rrbQqIr5iqiy9Q==}+ engines: {node: '>=16.9.0'}+resolution: {integrity: sha512-r26WwwbKD3BAYdfB294knNnegNda7VfV1tVn66D9Kvl9WQTdrR+5eKdoeaQNHQcC3Gr0KBikzAtjd6VsRGVSaw==}engines: {node: '>=16.0.0'}@@ -8544,10 +8947,6 @@ packages:resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==}engines: {node: '>= 6'}- resolution: {integrity: sha512-ONsE3+yfZF2caH5+bJlcddtWqNI3Gvs5A38+ngvljxaBiRXRswym2c7yf8UAeFpRFKjFNHIFEHqR/OLAWJzyiA==}- engines: {node: '>= 14'}-resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==}engines: {node: '>= 14'}@@ -8556,9 +8955,9 @@ packages:resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==}engines: {node: '>=10.17.0'}- resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==}- engines: {node: '>=14.18.0'}+ resolution: {integrity: sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==}+ engines: {node: '>=18.18.0'}resolution: {integrity: sha512-06r/TitrM88Mg5FdUXAKL96dJMzgqLE5dv3ryBAra4KCwD9mJ4ndOTS95ZuymIGoE+2hzfdaMak2X11/es7ZWg==}@@ -8617,6 +9016,10 @@ packages:resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}engines: {node: '>=12'}+ resolution: {integrity: sha512-NWv9YLW4PoW2B7xtzaS3NCot75m6nK7Icdv0o3lfMceJVRfSoQwqD4wEH5rLwoKJwUiZ/rfpiVBhnaF0FK4HoA==}+ engines: {node: '>= 12'}+resolution: {integrity: sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==}engines: {node: '>= 12'}@@ -8683,6 +9086,10 @@ packages:resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==}+ resolution: {integrity: sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==}engines: {node: '>=14.16'}@@ -8740,9 +9147,9 @@ packages:resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}engines: {node: '>=8'}- resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==}+ engines: {node: '>=18'}resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==}@@ -8774,6 +9181,10 @@ packages:resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}+ resolution: {integrity: sha512-mIcis6w+JiQf3P7t7mg/35GKB4T1FQsBOtMIvuKw4YErj5RjtbhcTd5/I30fmkmGMwvI0WlzSNN+27K0QCMkAw==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA==}@@ -8802,6 +9213,9 @@ packages:resolution: {integrity: sha512-MpcPtHLE5EmztuFIqB0vzHAWJPpmN1E6L4oo+kze56LIs3MyXIj9ZHMDxqOvkP38gBR7K1v3jqd4WU2+nrfONQ==}+ resolution: {integrity: sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==}+resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}engines: {node: '>=10'}@@ -9033,10 +9447,6 @@ packages:resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==}engines: {node: '>=10'}- resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==}- engines: {node: '>=12'}-resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==}engines: {node: '>=18'}@@ -9320,10 +9730,6 @@ packages:resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}engines: {node: '>=6'}- resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==}- engines: {node: '>=12'}-resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}engines: {node: '>=18'}@@ -9335,10 +9741,6 @@ packages:resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}- resolution: {integrity: sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==}- engines: {node: '>=10'}-resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}engines: {node: '>=16 || 14 >=14.17'}@@ -9358,11 +9760,6 @@ packages:resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==}hasBin: true- resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==}- engines: {node: '>=10'}- hasBin: true-resolution: {integrity: sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==}@@ -9469,13 +9866,6 @@ packages:react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0- resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}- peerDependencies:- next: '*'- react: '*'- react-dom: '*'-resolution: {integrity: sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==}peerDependencies:@@ -9551,9 +9941,9 @@ packages:resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}engines: {node: '>=8'}- resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ resolution: {integrity: sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==}+ engines: {node: '>=18'}resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}@@ -9599,6 +9989,10 @@ packages:resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==}+ engines: {node: '>= 10'}+resolution: {integrity: sha512-2W4oUZlVaqAPAil6FUg/difl6YhqhUR7x2eZY4bQCko22UXg3hptq9KLQdqFClV+Wu85UX7hNtdGTngi/1BxcA==}@@ -9616,10 +10010,6 @@ packages:resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}engines: {node: '>=6'}- resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==}- engines: {node: '>=12'}-resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==}engines: {node: '>=18'}@@ -9630,6 +10020,10 @@ packages:resolution: {integrity: sha512-3VhUGN3w2eYxnTzHn+ikMI+fp/96KoRSVK9/kMTcFqj1NRDh2IhQCKvYxDnWePKRXY/AqH+Fuiyb7VHSzBjHfA==}+ resolution: {integrity: sha512-smsWv2LzFjP03xmvFoJ331ss6h+jixfA4UUV/Bsiyuu4YJPfN+FIQGOIiv4w9/+MoHkfkJ22UIaQWRVFRfH6Vw==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-jaL+HgTq2Gj5jRcfdutgRGLosCy/hT8sQf6VOy+P+g36cZOjI1iukdPnijC+4CmeRzg/jEllJUboEic2FhxhtQ==}@@ -9641,10 +10035,6 @@ packages:resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==}engines: {node: '>=10'}- resolution: {integrity: sha512-ERAyNnZOfqM+Ao3RAvIXkYh5joP220yf59gVe2X/cI6SiCxIdi4c9HZKZD8R6q/RDXEje1THBju6iExiSsgJaQ==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}-resolution: {integrity: sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==}engines: {node: '>=18'}@@ -9743,6 +10133,10 @@ packages:resolution: {integrity: sha512-mhHgobPPua5kZ98EF4HWiH167JWBfl4pvAIXXdbaVohtK7a6YBOy56kvhCqduqyo/f3yrHFWmqmiMg/BkBkYYQ==}+ resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-/2qh0lav6CmI15FzA3i/2Bzk2zCgQhGMkvhOhKNcBVQ1ldgpbfiNTVslmooUmWJcADi1f1kIeynbDRVzNlfR6Q==}@@ -9889,6 +10283,10 @@ packages:resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}engines: {node: '>=4'}+ resolution: {integrity: sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==}+ engines: {node: '>=4'}+resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}engines: {node: ^10 || ^12 || >=14}@@ -9917,6 +10315,10 @@ packages:resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-ubnauqoGczeGISiOh6RjX0/cdaF8v/oDXIjO85XALCQjwQP+SB4RDXXtvZ6yTYSjG+PC1QRP2AhPgCEsM2EvUw==}peerDependencies:@@ -9930,6 +10332,10 @@ packages:engines: {node: '>=14'}hasBin: true+ resolution: {integrity: sha512-gjVS5hOP+M3wMm5nmNOucbIrqudzs9v/57bWRHQWLYklXqoXKrVfYW2W9+glfGsqtPgpiz5WwyEEB+ksXIx3gQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}engines: {node: '>=6'}@@ -9993,6 +10399,19 @@ packages:resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}+ resolution: {integrity: sha512-aWizCQiyeAenIdUbqEpXgRA1ya65P13NKn/W8rWkcN0OPkRDxdBVLWnIEDsS2RpwCK2nobI7oMUSmexzTDyAmA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+resolution: {integrity: sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==}@@ -10142,6 +10561,13 @@ packages:react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ resolution: {integrity: sha512-UT/q6fwS3c1dHbXv2uFgYJ9BMFHu3fwnd7AYZaEQhXuYQ4hgsxLvsUXzGdKeZrW5xopzDCvuA2N41WJ88I7zIw==}+ engines: {node: '>=14'}+ peerDependencies:+ react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+resolution: {integrity: sha512-8GtdyqaBcDfva+GUKDr3nev3VpKAhup1+RvkMvUxURHpW7QyIvk9F5wz7Vzo06CEMSilw6uArgRqhpiUcWp8ew==}@@ -10284,10 +10710,6 @@ packages:resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==}engines: {node: '>=8'}- resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}-resolution: {integrity: sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==}engines: {node: '>=18'}@@ -10341,6 +10763,10 @@ packages:resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==}engines: {node: '>= 18'}+ resolution: {integrity: sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==}engines: {node: '>=0.12.0'}@@ -10410,8 +10836,8 @@ packages:resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}- resolution: {integrity: sha512-NzkUf58HI3AxcrdnmAgdN3oT0f2J5CyFKMi2exdVLtoRW+A5GxADxWqhWKRvBmdWoiPDuqYeb3ScZxhlS9aflA==}+ resolution: {integrity: sha512-pSad/m1+PGzB0aLsRBV0EkyGg9al1nJqYUuucg6d8v8xZspPZ5/ehGNEp5M4b1KQYqdO5/gGPbkhVbgmXqG9Pw==}hasBin: true@@ -10512,12 +10938,6 @@ packages:resolution: {integrity: sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A==}engines: {node: '>= 10.0.0', npm: '>= 3.0.0'}- resolution: {integrity: sha512-b6LHBfH32SoVasRFECrdY8p8s7hXPDn3OHUFbZZbiB1ctLS9Gdh6rpX2dVrpQA0kiL5jcRzDDldwwLkSKk3+QQ==}- peerDependencies:- react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc- react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc-resolution: {integrity: sha512-YwbHQO6cSso3HBXlbCkgrgzDNIhws14r4MO87Ofy+cV2X7ES4pOoAK3+veSmVTvqNx1BWUxlhPmZzP00Crk2aQ==}peerDependencies:@@ -10594,10 +11014,6 @@ packages:resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==}engines: {node: '>= 0.8'}- resolution: {integrity: sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==}- engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}-resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==}engines: {node: '>=18'}@@ -10656,9 +11072,9 @@ packages:resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==}engines: {node: '>=6'}- resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==}- engines: {node: '>=12'}+ resolution: {integrity: sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==}+ engines: {node: '>=18'}resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==}@@ -10905,8 +11321,8 @@ packages:resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}- resolution: {integrity: sha512-Kg5u0mk19PIIe4islUI/HWRvm9bC1lHejK4S0oh1zaZ77TMZAEmQC0sHQYiu2RgCQFZKXz1fMVi/7nOOeirznA==}+ resolution: {integrity: sha512-ztMO++owQnz8c/gIENcM9XfCEzgoGphTv+nKpYNM1bgsdOVC/jRZuEBf6N+mLLDNg68Kl+GgUZfOySaRiG1/Ug==}resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==}@@ -11071,6 +11487,10 @@ packages:resolution: {integrity: sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==}+ resolution: {integrity: sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==}@@ -11302,6 +11722,10 @@ packages:resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==}engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}+ resolution: {integrity: sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A==}+ engines: {node: ^20.17.0 || >=22.9.0}+resolution: {integrity: sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==}engines: {node: '>= 0.10'}@@ -11542,6 +11966,11 @@ packages:engines: {node: '>= 8'}hasBin: true+ resolution: {integrity: sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==}+ engines: {node: ^16.13.0 || >=18.0.0}+ hasBin: true+resolution: {integrity: sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==}engines: {node: '>=18'}@@ -11592,6 +12021,10 @@ packages:utf-8-validate:optional: true+ resolution: {integrity: sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==}hasBin: true@@ -11667,11 +12100,6 @@ packages:resolution: {integrity: sha512-8F0OI5dpWIA5IGG5NHUg9staDwz/ZPxZtvGVf01j7vHqSyZ0raHY+78atOVxRqb73AotX22uV1pXt3gYSstGag==}- resolution: {integrity: sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==}- peerDependencies:- zod: ^3.25 || ^4-resolution: {integrity: sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==}peerDependencies:@@ -11706,8 +12134,13 @@ snapshots:package-manager-detector: 1.5.0tinyexec: 1.0.2- '@antfu/[email protected]': {}-+ '@antfu/[email protected]':+ dependencies:+ ansis: 4.2.0+ fzf: 0.5.2+ package-manager-detector: 1.6.0+ tinyexec: 1.0.2+'@antfu/[email protected]': {}'@apm-js-collab/[email protected]': {}@@ -12443,6 +12876,12 @@ snapshots:js-tokens: 4.0.0picocolors: 1.1.1+ '@babel/[email protected]':+ dependencies:+ '@babel/helper-validator-identifier': 7.28.5+ js-tokens: 4.0.0+ picocolors: 1.1.1+'@babel/[email protected]': {}'@babel/[email protected]':@@ -12473,6 +12912,14 @@ snapshots:'@jridgewell/trace-mapping': 0.3.31jsesc: 3.1.0+ '@babel/[email protected]':+ dependencies:+ '@babel/parser': 7.29.0+ '@babel/types': 7.29.0+ '@jridgewell/gen-mapping': 0.3.13+ '@jridgewell/trace-mapping': 0.3.31+ jsesc: 3.1.0+'@babel/[email protected]':dependencies:'@babel/types': 7.28.5@@ -12514,6 +12961,13 @@ snapshots:transitivePeerDependencies:- supports-color+ '@babel/[email protected]':+ dependencies:+ '@babel/traverse': 7.29.0+ '@babel/types': 7.29.0+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.28.5@@ -12523,12 +12977,23 @@ snapshots:transitivePeerDependencies:- supports-color+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.28.5+ '@babel/helper-module-imports': 7.28.6+ '@babel/helper-validator-identifier': 7.28.5+ '@babel/traverse': 7.29.0+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]':dependencies:'@babel/types': 7.28.5'@babel/[email protected]': {}+ '@babel/[email protected]': {}+'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.28.5@@ -12560,11 +13025,28 @@ snapshots:dependencies:'@babel/types': 7.28.5+ '@babel/[email protected]':+ dependencies:+ '@babel/types': 7.29.0++ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.28.5+ '@babel/helper-plugin-utils': 7.28.6+'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.28.5'@babel/helper-plugin-utils': 7.27.1+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.28.5+ '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])+ '@babel/helper-plugin-utils': 7.28.6+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.28.5@@ -12586,6 +13068,17 @@ snapshots:transitivePeerDependencies:- supports-color+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.28.5+ '@babel/helper-plugin-utils': 7.27.1+ '@babel/helper-validator-option': 7.27.1+ '@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])+ '@babel/plugin-transform-modules-commonjs': 7.28.6(@babel/[email protected])+ '@babel/plugin-transform-typescript': 7.28.5(@babel/[email protected])+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]':dependencies:core-js-pure: 3.47.0@@ -12598,6 +13091,12 @@ snapshots:'@babel/parser': 7.28.5'@babel/types': 7.28.5+ '@babel/[email protected]':+ dependencies:+ '@babel/code-frame': 7.29.0+ '@babel/parser': 7.29.0+ '@babel/types': 7.29.0+'@babel/[email protected]':dependencies:'@babel/code-frame': 7.27.1@@ -12610,11 +13109,28 @@ snapshots:transitivePeerDependencies:- supports-color+ '@babel/[email protected]':+ dependencies:+ '@babel/code-frame': 7.29.0+ '@babel/generator': 7.29.1+ '@babel/helper-globals': 7.28.0+ '@babel/parser': 7.29.0+ '@babel/template': 7.28.6+ '@babel/types': 7.29.0+ debug: 4.4.3+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]':dependencies:'@babel/helper-string-parser': 7.27.1'@babel/helper-validator-identifier': 7.28.5+ '@babel/[email protected]':+ dependencies:+ '@babel/helper-string-parser': 7.27.1+ '@babel/helper-validator-identifier': 7.28.5+'@biomejs/[email protected]':optionalDependencies:'@biomejs/cli-darwin-arm64': 1.8.3@@ -12813,8 +13329,24 @@ snapshots:react: 19.2.3tslib: 2.8.1+ '@dotenvx/[email protected]':+ dependencies:+ commander: 11.1.0+ dotenv: 17.2.4+ eciesjs: 0.4.17+ execa: 5.1.1+ fdir: 6.5.0([email protected])+ ignore: 5.3.2+ object-treeify: 1.1.33+ picomatch: 4.0.3+ which: 4.0.0+'@drizzle-team/[email protected]': {}+ '@ecies/[email protected](@noble/[email protected])':+ dependencies:+ '@noble/ciphers': 1.3.0+'@emmetio/[email protected]':dependencies:'@emmetio/scanner': 1.0.4@@ -13163,6 +13695,10 @@ snapshots:protobufjs: 7.5.4yargs: 17.7.2+ '@hono/[email protected]([email protected])':+ dependencies:+ hono: 4.11.8+'@hono/[email protected]([email protected])':dependencies:hono: 4.11.3@@ -13405,6 +13941,13 @@ snapshots:'@inquirer/[email protected]': {}+ '@inquirer/[email protected](@types/[email protected])':+ dependencies:+ '@inquirer/core': 10.3.2(@types/[email protected])+ '@inquirer/type': 3.0.10(@types/[email protected])+ optionalDependencies:+ '@types/node': 22.10.2+'@inquirer/[email protected](@types/[email protected])':dependencies:'@inquirer/core': 10.3.2(@types/[email protected])@@ -13412,6 +13955,19 @@ snapshots:optionalDependencies:'@types/node': 24.0.8+ '@inquirer/[email protected](@types/[email protected])':+ dependencies:+ '@inquirer/ansi': 1.0.2+ '@inquirer/figures': 1.0.15+ '@inquirer/type': 3.0.10(@types/[email protected])+ cli-width: 4.1.0+ mute-stream: 2.0.0+ signal-exit: 4.1.0+ wrap-ansi: 6.2.0+ yoctocolors-cjs: 2.1.3+ optionalDependencies:+ '@types/node': 22.10.2+'@inquirer/[email protected](@types/[email protected])':dependencies:'@inquirer/ansi': 1.0.2@@ -13434,6 +13990,10 @@ snapshots:'@inquirer/[email protected]': {}+ '@inquirer/[email protected](@types/[email protected])':+ optionalDependencies:+ '@types/node': 22.10.2+'@inquirer/[email protected](@types/[email protected])':optionalDependencies:'@types/node': 24.0.8@@ -13606,8 +14166,9 @@ snapshots:'@types/react': 19.2.2react: 19.2.3- '@modelcontextprotocol/[email protected]([email protected])':+ '@modelcontextprotocol/[email protected]([email protected])':dependencies:+ '@hono/node-server': 1.19.9([email protected])ajv: 8.17.1ajv-formats: 3.0.1([email protected])content-type: 1.0.5@@ -13615,12 +14176,15 @@ snapshots:cross-spawn: 7.0.6eventsource: 3.0.7eventsource-parser: 3.0.6- express: 5.1.0- express-rate-limit: 7.5.1([email protected])+ express: 5.2.1+ express-rate-limit: 8.2.1([email protected])+ hono: 4.11.8+ jose: 6.1.3+ json-schema-typed: 8.0.2pkce-challenge: 5.0.1raw-body: 3.0.2zod: 3.25.76- zod-to-json-schema: 3.25.0([email protected])+ zod-to-json-schema: 3.25.1([email protected])transitivePeerDependencies:- supports-color@@ -13668,6 +14232,14 @@ snapshots:'@next/[email protected]':optional: true+ '@noble/[email protected]': {}++ '@noble/[email protected]':+ dependencies:+ '@noble/hashes': 1.8.0++ '@noble/[email protected]': {}+'@nodelib/[email protected]':dependencies:'@nodelib/fs.stat': 2.0.5@@ -13694,10 +14266,10 @@ snapshots:'@openpanel/web': 1.0.1astro: 5.16.6(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- '@openpanel/[email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':+ '@openpanel/[email protected]([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':dependencies:'@openpanel/web': 1.0.1- next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])react: 19.2.3react-dom: 19.2.3([email protected])@@ -14253,14 +14825,40 @@ snapshots:'@protobufjs/[email protected]': {}- '@radix-ui/[email protected]': {}-'@radix-ui/[email protected]': {}'@radix-ui/[email protected]': {}'@radix-ui/[email protected]': {}+ '@radix-ui/[email protected]': {}++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.1@@ -14292,6 +14890,20 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.1@@ -14324,6 +14936,15 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])@@ -14337,57 +14958,61 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])'@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2+ '@radix-ui/primitive': 1.1.3'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])@@ -14449,6 +15074,20 @@ snapshots:optionalDependencies:'@types/react': 19.2.2+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.1@@ -14497,6 +15136,28 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.1@@ -14544,6 +15205,19 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.1@@ -14572,15 +15246,15 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-menu': 2.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:@@ -14599,6 +15273,12 @@ snapshots:optionalDependencies:'@types/react': 19.2.2+ dependencies:+ react: 19.2.3+ optionalDependencies:+ '@types/react': 19.2.2+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])@@ -14621,6 +15301,20 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-label': 2.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2@@ -14638,17 +15332,17 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-popper': 1.2.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:@@ -14669,40 +15363,57 @@ snapshots:optionalDependencies:'@types/react': 19.2.2- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ aria-hidden: 1.2.6react: 19.2.3react-dom: 19.2.3([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2+ '@radix-ui/primitive': 1.1.3'@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])'@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])aria-hidden: 1.2.6@@ -14739,6 +15450,46 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.1@@ -14761,6 +15512,42 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/number': 1.1.1+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.0(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2@@ -14784,21 +15571,21 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])aria-hidden: 1.2.6react: 19.2.3react-dom: 19.2.3([email protected])@@ -14843,6 +15630,24 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-arrow': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/rect': 1.1.1+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+'@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -14883,37 +15688,37 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-slot': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-slot': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-slot': 1.2.4(@types/[email protected])([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.4(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:@@ -14930,33 +15735,33 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2+ '@radix-ui/primitive': 1.1.3'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])'@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])'@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])@@ -15000,31 +15805,36 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/number': 1.1.0- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-collection': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- aria-hidden: 1.2.6+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/number': 1.1.1+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])- react-remove-scroll: 2.7.1(@types/[email protected])([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])@@ -15058,11 +15868,31 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/number': 1.1.1+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ aria-hidden: 1.2.6react: 19.2.3react-dom: 19.2.3([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])@@ -15076,29 +15906,29 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/number': 1.1.0- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-collection': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/number': 1.1.1+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/number': 1.1.1- '@radix-ui/primitive': 1.1.2+ '@radix-ui/primitive': 1.1.3'@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])@@ -15135,24 +15965,24 @@ snapshots:optionalDependencies:'@types/react': 19.2.2- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2+ '@radix-ui/primitive': 1.1.3'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])'@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -15181,47 +16011,77 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-separator': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle-group': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.2.3react-dom: 19.2.3([email protected])optionalDependencies:@@ -15248,6 +16108,26 @@ snapshots:'@types/react': 19.2.2'@types/react-dom': 19.2.2(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+dependencies:react: 19.2.3@@ -15463,7 +16343,7 @@ snapshots:'@react-email/[email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected])':dependencies:- next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])transitivePeerDependencies:- '@babel/core'- '@opentelemetry/api'@@ -15623,6 +16503,8 @@ snapshots:type-fest: 4.41.0zod: 3.25.76+ '@sec-ant/[email protected]': {}+'@selderee/[email protected]':dependencies:domhandler: 5.0.3@@ -15721,7 +16603,7 @@ snapshots:'@sentry/types': 8.9.2'@sentry/utils': 8.9.2- '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':+ '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/semantic-conventions': 1.38.0@@ -15734,7 +16616,7 @@ snapshots:'@sentry/react': 10.31.0([email protected])'@sentry/vercel-edge': 10.31.0'@sentry/webpack-plugin': 4.6.1([email protected])- next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])resolve: 1.22.8rollup: 4.53.3stacktrace-parser: 0.1.11@@ -15874,6 +16756,8 @@ snapshots:'@shikijs/[email protected]': {}+ '@sindresorhus/[email protected]': {}+'@smithy/[email protected]':dependencies:'@smithy/types': 2.12.0@@ -16423,11 +17307,11 @@ snapshots:'@trpc/server': 11.4.4([email protected])typescript: 5.9.3- '@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])':+ '@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected](@tanstack/[email protected]([email protected]))(@trpc/[email protected](@trpc/[email protected]([email protected]))([email protected]))(@trpc/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected]))(@trpc/[email protected]([email protected]))([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])':dependencies:'@trpc/server': 11.4.4([email protected])- next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])react: 19.2.3react-dom: 19.2.3([email protected])typescript: 5.9.3@@ -16457,11 +17341,10 @@ snapshots:react-dom: 19.2.3([email protected])typescript: 5.9.3- '@ts-morph/[email protected]':+ '@ts-morph/[email protected]':dependencies:fast-glob: 3.3.3- minimatch: 7.4.6- mkdirp: 2.1.6+ minimatch: 10.1.1path-browserify: 1.0.1'@tsconfig/[email protected]': {}@@ -16736,6 +17619,8 @@ snapshots:'@types/[email protected]': {}+ '@types/[email protected]': {}+'@types/[email protected]': {}'@types/[email protected]':@@ -17017,6 +17902,8 @@ snapshots:+ [email protected]: {}+@@ -17214,12 +18101,6 @@ snapshots:inherits: 2.0.4readable-stream: 3.6.2- dependencies:- buffer: 6.0.3- inherits: 2.0.4- readable-stream: 3.6.2-dependencies:bytes: 3.1.2@@ -17283,11 +18164,6 @@ snapshots:base64-js: 1.5.1ieee754: 1.2.1- dependencies:- base64-js: 1.5.1- ieee754: 1.2.1-[email protected](@types/[email protected]):@@ -17299,6 +18175,10 @@ snapshots:dependencies:'@types/node': 24.0.8+ dependencies:+ run-applescript: 7.1.0+dependencies:esbuild: 0.18.20@@ -17422,10 +18302,6 @@ snapshots:dependencies:restore-cursor: 3.1.0- dependencies:- restore-cursor: 4.0.0-dependencies:restore-cursor: 5.1.0@@ -17466,7 +18342,7 @@ snapshots:dependencies:phenomenon: 1.6.0- [email protected]: {}+ [email protected]: {}@@ -17504,6 +18380,8 @@ snapshots:+ [email protected]: {}+@@ -17551,8 +18429,6 @@ snapshots:- [email protected]: {}-@@ -17574,12 +18450,12 @@ snapshots:path-type: 4.0.0yaml: 1.10.2dependencies:+ env-paths: 2.2.1import-fresh: 3.3.1js-yaml: 4.1.1parse-json: 5.2.0- path-type: 4.0.0optionalDependencies:typescript: 5.9.3@@ -17671,13 +18547,11 @@ snapshots:dependencies:- date-fns: 2.30.0+ date-fns: 3.6.0- dependencies:- '@babel/runtime': 7.28.4+ [email protected]: {}dependencies:@@ -17699,14 +18573,27 @@ snapshots:dependencies:character-entities: 2.0.2+ optionalDependencies:+ babel-plugin-macros: 3.1.0++ [email protected]: {}++ dependencies:+ bundle-name: 4.1.0+ default-browser-id: 5.0.1+dependencies:clone: 1.0.4+ [email protected]: {}+@@ -17758,6 +18645,8 @@ snapshots:+ [email protected]: {}+dependencies:path-type: 4.0.0@@ -17799,6 +18688,8 @@ snapshots:+ [email protected]: {}+dependencies:'@drizzle-team/brocli': 0.10.2@@ -17841,6 +18732,13 @@ snapshots:dependencies:safe-buffer: 5.2.1+ dependencies:+ '@ecies/ciphers': 0.2.5(@noble/[email protected])+ '@noble/ciphers': 1.3.0+ '@noble/curves': 1.9.7+ '@noble/hashes': 1.8.0+@@ -17894,6 +18792,8 @@ snapshots:+ [email protected]: {}+@@ -18094,23 +18994,27 @@ snapshots:signal-exit: 3.0.7strip-final-newline: 2.0.0dependencies:+ '@sindresorhus/merge-streams': 4.0.0cross-spawn: 7.0.6- get-stream: 6.0.1- human-signals: 4.3.1- is-stream: 3.0.0- merge-stream: 2.0.0- npm-run-path: 5.3.0- onetime: 6.0.0- signal-exit: 3.0.7- strip-final-newline: 3.0.0+ figures: 6.1.0+ get-stream: 9.0.1+ human-signals: 8.0.1+ is-plain-obj: 4.1.0+ is-stream: 4.0.1+ npm-run-path: 6.0.0+ pretty-ms: 9.3.0+ signal-exit: 4.1.0+ strip-final-newline: 4.0.0+ yoctocolors: 2.1.2dependencies:- express: 5.1.0+ express: 5.2.1+ ip-address: 10.0.1dependencies:accepts: 2.0.0body-parser: 2.2.1@@ -18119,6 +19023,7 @@ snapshots:cookie: 0.7.2cookie-signature: 1.2.2debug: 4.4.3+ depd: 2.0.0encodeurl: 2.0.0escape-html: 1.0.3etag: 1.8.1@@ -18212,6 +19117,10 @@ snapshots:dependencies:escape-string-regexp: 1.0.5+ dependencies:+ is-unicode-supported: 2.1.0+dependencies:to-regex-range: 5.0.1@@ -18303,6 +19212,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+dependencies:extend: 3.0.2@@ -18353,6 +19266,11 @@ snapshots:+ dependencies:+ '@sec-ant/readable-stream': 0.4.1+ is-stream: 4.0.1+dependencies:resolve-pkg-maps: 1.0.0@@ -18382,6 +19300,15 @@ snapshots:package-json-from-dist: 1.0.1path-scurry: 1.11.1+ dependencies:+ foreground-child: 3.3.1+ jackspeak: 4.1.1+ minimatch: 10.1.1+ minipass: 7.1.2+ package-json-from-dist: 1.0.1+ path-scurry: 2.0.1+dependencies:foreground-child: 3.3.1@@ -18750,6 +19677,8 @@ snapshots:+ [email protected]: {}+@@ -18814,13 +19743,6 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- agent-base: 7.1.4- debug: 4.4.3- transitivePeerDependencies:- - supports-color-dependencies:agent-base: 7.1.4@@ -18830,7 +19752,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}dependencies:@@ -18913,6 +19835,8 @@ snapshots:+ [email protected]: {}+@@ -18958,6 +19882,8 @@ snapshots:+ [email protected]: {}+dependencies:is-docker: 3.0.0@@ -18994,7 +19920,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}@@ -19016,6 +19942,8 @@ snapshots:+ [email protected]: {}+dependencies:node-fetch: 2.7.0@@ -19047,6 +19975,8 @@ snapshots:+ [email protected]: {}+@@ -19245,11 +20175,6 @@ snapshots:chalk: 4.1.2is-unicode-supported: 0.1.0- dependencies:- chalk: 5.6.2- is-unicode-supported: 1.3.0-dependencies:chalk: 5.6.2@@ -19802,8 +20727,6 @@ snapshots:- [email protected]: {}-@@ -19814,10 +20737,6 @@ snapshots:dependencies:brace-expansion: 1.1.12- dependencies:- brace-expansion: 2.0.2-dependencies:brace-expansion: 2.0.2@@ -19834,8 +20753,6 @@ snapshots:dependencies:minimist: 1.2.8- [email protected]: {}-dependencies:acorn: 8.15.0@@ -19851,13 +20768,38 @@ snapshots:+ dependencies:+ '@inquirer/confirm': 5.1.21(@types/[email protected])+ '@mswjs/interceptors': 0.40.0+ '@open-draft/deferred-promise': 2.2.0+ '@types/statuses': 2.0.6+ cookie: 1.1.1+ graphql: 16.12.0+ headers-polyfill: 4.0.3+ is-node-process: 1.2.0+ outvariant: 1.4.3+ path-to-regexp: 6.3.0+ picocolors: 1.1.1+ rettime: 0.7.0+ statuses: 2.0.2+ strict-event-emitter: 0.5.1+ tough-cookie: 6.0.0+ type-fest: 5.2.0+ until-async: 3.0.2+ yargs: 17.7.2+ optionalDependencies:+ typescript: 5.9.3+ transitivePeerDependencies:+ - '@types/node'+dependencies:'@inquirer/confirm': 5.1.21(@types/[email protected])'@mswjs/interceptors': 0.40.0'@open-draft/deferred-promise': 2.2.0'@types/statuses': 2.0.6- cookie: 1.1.0+ cookie: 1.1.1graphql: 16.12.0headers-polyfill: 4.0.3is-node-process: 1.2.0@@ -19906,10 +20848,10 @@ snapshots:- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]):+ [email protected]([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]):dependencies:'@auth/core': 0.40.0- next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])react: 19.2.3@@ -19925,15 +20867,9 @@ snapshots:- '@types/react'- supports-color- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):- dependencies:- next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])- react: 19.2.3- react-dom: 19.2.3([email protected])-- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:- next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])react: 19.2.3react-dom: 19.2.3([email protected])@@ -19942,7 +20878,7 @@ snapshots:react: 19.2.3react-dom: 19.2.3([email protected])- [email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]):dependencies:'@next/env': 16.0.10'@swc/helpers': 0.5.15@@ -19950,7 +20886,7 @@ snapshots:postcss: 8.4.31react: 19.2.3react-dom: 19.2.3([email protected])- styled-jsx: 5.1.6(@babel/[email protected])([email protected])optionalDependencies:'@next/swc-darwin-arm64': 16.0.10'@next/swc-darwin-x64': 16.0.10@@ -20014,20 +20950,21 @@ snapshots:dependencies:path-key: 3.1.1dependencies:path-key: 4.0.0+ unicorn-magic: 0.3.0dependencies:boolbase: 1.0.0- [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]):+ [email protected]([email protected](@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected]))([email protected]):dependencies:'@standard-schema/spec': 1.0.0react: 19.2.3optionalDependencies:- next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ next: 16.0.10(@babel/[email protected])(@opentelemetry/[email protected])([email protected])([email protected]([email protected]))([email protected])dependencies:@@ -20045,6 +20982,8 @@ snapshots:+ [email protected]: {}+dependencies:destr: 2.0.5@@ -20065,10 +21004,6 @@ snapshots:dependencies:mimic-fn: 2.1.0- dependencies:- mimic-fn: 4.0.0-dependencies:mimic-function: 5.0.1@@ -20081,6 +21016,15 @@ snapshots:regex: 6.0.1regex-recursion: 6.0.2+ dependencies:+ default-browser: 5.5.0+ define-lazy-prop: 3.0.0+ is-in-ssh: 1.0.0+ is-inside-container: 1.0.0+ powershell-utils: 0.1.0+ wsl-utils: 0.3.1+dependencies:yaml: 2.8.1@@ -20108,18 +21052,6 @@ snapshots:strip-ansi: 6.0.1wcwidth: 1.0.1- dependencies:- chalk: 5.6.2- cli-cursor: 4.0.0- cli-spinners: 2.9.2- is-interactive: 2.0.0- is-unicode-supported: 1.3.0- log-symbols: 5.1.0- stdin-discarder: 0.1.0- strip-ansi: 7.1.2- wcwidth: 1.0.1-dependencies:chalk: 5.6.2@@ -20285,6 +21217,8 @@ snapshots:unist-util-visit-children: 3.0.0vfile: 6.0.3+ [email protected]: {}+@@ -20418,6 +21352,11 @@ snapshots:cssesc: 3.0.0util-deprecate: 1.0.2+ dependencies:+ cssesc: 3.0.0+ util-deprecate: 1.0.2+dependencies:nanoid: 3.3.11@@ -20446,6 +21385,8 @@ snapshots:dependencies:xtend: 4.0.2+ [email protected]: {}+dependencies:preact: 10.24.3@@ -20454,6 +21395,10 @@ snapshots:+ dependencies:+ parse-ms: 4.0.0+@@ -20528,6 +21473,69 @@ snapshots:+ [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-accessible-icon': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-accordion': 1.2.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-alert-dialog': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-arrow': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-aspect-ratio': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-avatar': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-checkbox': 1.3.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context-menu': 2.2.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dialog': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dropdown-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-form': 0.1.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-hover-card': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-label': 2.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-menubar': 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-navigation-menu': 1.2.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-one-time-password-field': 0.1.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-password-toggle-field': 0.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popover': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-progress': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-radio-group': 1.3.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-scroll-area': 1.2.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-select': 2.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-separator': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slider': 1.3.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-switch': 1.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tabs': 1.1.13(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toast': 1.2.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle-group': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toolbar': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tooltip': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ optionalDependencies:+ '@types/react': 19.2.2+ '@types/react-dom': 19.2.2(@types/[email protected])+@@ -20552,9 +21560,9 @@ snapshots:minimist: 1.2.8strip-json-comments: 2.0.1dependencies:- date-fns: 2.30.0+ date-fns: 3.6.0react: 19.2.3@@ -20702,6 +21710,19 @@ snapshots:tiny-invariant: 1.3.3victory-vendor: 36.9.2+ dependencies:+ clsx: 2.1.1+ eventemitter3: 4.0.7+ lodash: 4.17.21+ react: 19.2.3+ react-dom: 19.2.3([email protected])+ react-is: 18.3.1+ recharts-scale: 0.4.5+ tiny-invariant: 1.3.3+ victory-vendor: 36.9.2+dependencies:'@types/estree': 1.0.8@@ -20935,11 +21956,6 @@ snapshots:onetime: 5.1.2signal-exit: 3.0.7- dependencies:- onetime: 5.1.2- signal-exit: 3.0.7-dependencies:onetime: 7.0.0@@ -21033,6 +22049,8 @@ snapshots:transitivePeerDependencies:- supports-color+ [email protected]: {}+@@ -21122,36 +22140,91 @@ snapshots:dependencies:- '@antfu/ni': 23.3.1+ '@antfu/ni': 25.0.0'@babel/core': 7.28.5'@babel/parser': 7.28.5'@babel/plugin-transform-typescript': 7.28.5(@babel/[email protected])- '@modelcontextprotocol/sdk': 1.23.0([email protected])- commander: 10.0.1- cosmiconfig: 8.3.6([email protected])+ '@babel/preset-typescript': 7.28.5(@babel/[email protected])+ '@dotenvx/dotenvx': 1.52.0+ '@modelcontextprotocol/sdk': 1.26.0([email protected])+ '@types/validate-npm-package-name': 4.0.2+ browserslist: 4.28.1+ commander: 14.0.3+ cosmiconfig: 9.0.0([email protected])+ dedent: 1.7.1([email protected])deepmerge: 4.3.1- diff: 5.2.0- execa: 7.2.0+ diff: 8.0.3+ execa: 9.6.1+ fast-glob: 3.3.3+ fs-extra: 11.3.2+ fuzzysort: 3.1.0+ https-proxy-agent: 7.0.6+ kleur: 4.1.5+ msw: 2.12.3(@types/[email protected])([email protected])+ node-fetch: 3.3.2+ open: 11.0.0+ ora: 8.2.0+ postcss: 8.5.6+ postcss-selector-parser: 7.1.1+ prompts: 2.4.2+ recast: 0.23.11+ stringify-object: 5.0.0+ tailwind-merge: 3.3.1+ ts-morph: 26.0.0+ tsconfig-paths: 4.2.0+ validate-npm-package-name: 7.0.2+ zod: 3.25.76+ zod-to-json-schema: 3.25.1([email protected])+ transitivePeerDependencies:+ - '@cfworker/json-schema'+ - '@types/node'+ - babel-plugin-macros+ - supports-color+ - typescript++ dependencies:+ '@antfu/ni': 25.0.0+ '@babel/core': 7.28.5+ '@babel/parser': 7.28.5+ '@babel/plugin-transform-typescript': 7.28.5(@babel/[email protected])+ '@babel/preset-typescript': 7.28.5(@babel/[email protected])+ '@dotenvx/dotenvx': 1.52.0+ '@modelcontextprotocol/sdk': 1.26.0([email protected])+ '@types/validate-npm-package-name': 4.0.2+ browserslist: 4.28.1+ commander: 14.0.3+ cosmiconfig: 9.0.0([email protected])+ dedent: 1.7.1([email protected])+ deepmerge: 4.3.1+ diff: 8.0.3+ execa: 9.6.1fast-glob: 3.3.3fs-extra: 11.3.2- https-proxy-agent: 6.2.1+ fuzzysort: 3.1.0+ https-proxy-agent: 7.0.6kleur: 4.1.5msw: 2.12.3(@types/[email protected])([email protected])node-fetch: 3.3.2- ora: 6.3.1- postcss: 8.4.38+ open: 11.0.0+ ora: 8.2.0+ postcss: 8.5.6+ postcss-selector-parser: 7.1.1prompts: 2.4.2recast: 0.23.11stringify-object: 5.0.0- ts-morph: 18.0.0+ tailwind-merge: 3.3.1+ ts-morph: 26.0.0tsconfig-paths: 4.2.0+ validate-npm-package-name: 7.0.2zod: 3.25.76- zod-to-json-schema: 3.25.0([email protected])+ zod-to-json-schema: 3.25.1([email protected])transitivePeerDependencies:- '@cfworker/json-schema'- '@types/node'+ - babel-plugin-macros- supports-color- typescript@@ -21339,11 +22412,6 @@ snapshots:ip-address: 10.1.0smart-buffer: 4.2.0- dependencies:- react: 19.2.3- react-dom: 19.2.3([email protected])-dependencies:react: 19.2.3@@ -21437,10 +22505,6 @@ snapshots:- dependencies:- bl: 5.1.0-@@ -21500,7 +22564,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}@@ -21529,12 +22593,13 @@ snapshots:dependencies:inline-style-parser: 0.2.7dependencies:client-only: 0.0.1react: 19.2.3optionalDependencies:'@babel/core': 7.28.5+ babel-plugin-macros: 3.1.0@@ -21744,10 +22809,10 @@ snapshots:dependencies:- '@ts-morph/common': 0.19.0- code-block-writer: 12.0.0+ '@ts-morph/common': 0.27.0+ code-block-writer: 13.0.3dependencies:@@ -21954,6 +23019,8 @@ snapshots:pako: 0.2.9tiny-inflate: 1.0.3+ [email protected]: {}+dependencies:'@types/unist': 2.0.11@@ -22157,6 +23224,8 @@ snapshots:+ [email protected]: {}+@@ -22409,6 +23478,10 @@ snapshots:dependencies:isexe: 2.0.0+ dependencies:+ isexe: 3.1.2+dependencies:string-width: 7.2.0@@ -22445,6 +23518,11 @@ snapshots:+ dependencies:+ is-wsl: 3.1.0+ powershell-utils: 0.1.0+dependencies:sax: 1.4.3@@ -22508,10 +23586,6 @@ snapshots:- dependencies:- zod: 3.25.76-dependencies:zod: 3.25.76diff --git a/turbo.json b/turbo.jsonindex e13cf2a76..7d319815b 100644--- a/turbo.json+++ b/turbo.json@@ -2,6 +2,9 @@"$schema": "https://turbo.build/schema.json","globalDependencies": ["**/.env.*local"],"tasks": {+ "registry:build": {+ "outputs": ["public/r/**"]+ },"build": {"dependsOn": ["^build"],"env": [