Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
wip
ameer2468fe565f952d29
diff --git a/apps/web/app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsx b/apps/web/app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsxindex 0379cea21..9522c52cf 100644--- a/apps/web/app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsx+++ b/apps/web/app/dashboard/_components/AdminNavbar/AdminDesktopNav.tsx@@ -1,23 +1,55 @@"use client";import { Logo } from "@cap/ui";+import clsx from "clsx";+import { ChevronLeft, ChevronRight } from "lucide-react";import Link from "next/link";+import { useState } from "react";import { AdminNavItems } from "./AdminNavItems";export const AdminDesktopNav = () => {+ const [collapsed, setCollapsed] = useState(+ localStorage.getItem("sidebarCollapsed") === "true"+ );+ const toggleCollapse = () => {+ setCollapsed(!collapsed);+ localStorage.setItem("sidebarCollapsed", String(!collapsed));+ };+return (<>- <div className="hidden h-full lg:flex lg:flex-shrink-0 group">- <div className="flex flex-col w-[200px]">- <div className="flex overflow-y-auto flex-col flex-grow h-full">- <div className="flex flex-col flex-shrink-0 items-start px-5 h-full justify-top">+ <div+ className={clsx(+ "hidden h-full transition-all duration-300 lg:flex lg:flex-shrink-0 group",+ collapsed ? "w-[70px]" : "w-[250px]",+ "relative"+ )}+ >+ <div className="flex flex-col w-full max-w-[220px] mx-auto">+ <div className="flex overflow-hidden flex-col flex-grow h-full">+ <div className="flex flex-col flex-shrink-0 items-start px-3 w-full h-full justify-top"><div className="flex justify-center w-full h-[10vh] items-center"><Link href="/dashboard">- <Logo className="w-auto h-9" />+ <Logo+ hideLogoName={collapsed}+ className={collapsed ? "w-8" : "w-24"}+ /></Link></div>- <AdminNavItems />+ <AdminNavItems collapsed={collapsed} /></div></div>++ {/* Collapse toggle button - moved outside the overflow container */}+ <button+ onClick={toggleCollapse}+ className="absolute right-[-12px] hover:border-gray-500 top-[50%] transform -translate-y-1/2 bg-white rounded-full p-1 border border-gray-200 hover:bg-gray-50 transition-colors z-10"+ >+ {collapsed ? (+ <ChevronRight size={16} className="text-gray-500" />+ ) : (+ <ChevronLeft size={16} className="text-gray-500" />+ )}+ </button></div></div></>diff --git a/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx b/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsxindex 8c47f4597..0209f93c8 100644--- a/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx+++ b/apps/web/app/dashboard/_components/AdminNavbar/AdminNavItems.tsx@@ -9,6 +9,7 @@ import {Popover,PopoverContent,PopoverTrigger,+ Tooltip,} from "@cap/ui";import { classNames } from "@cap/utils";import {@@ -37,6 +38,7 @@ import {DialogHeader,DialogTitle,} from "@cap/ui";+import clsx from "clsx";import { signOut } from "next-auth/react";import { updateActiveSpace } from "./server";@@ -74,7 +76,7 @@ const Download = ({ className }: { className: string }) => (</svg>);-export const AdminNavItems = () => {+export const AdminNavItems = ({ collapsed }: { collapsed?: boolean }) => {const pathname = usePathname();const [open, setOpen] = useState(false);const { spaceData, activeSpace, user, isSubscribed } = useSharedContext();@@ -106,16 +108,20 @@ export const AdminNavItems = () => {icon: Building,subNav: [],},- user.email.endsWith("@cap.so") && {- name: "Admin",- href: "/dashboard/admin",- icon: () => {},- subNav: [],- },- ].filter(Boolean);+ ...(user.email.endsWith("@cap.so")+ ? [+ {+ name: "Admin",+ href: "/dashboard/admin",+ icon: Building, // Using Building icon as a fallback+ subNav: [],+ },+ ]+ : []),+ ];const navItemClass =- "flex items-center justify-start py-2 px-3 rounded-2xl outline-none tracking-tight w-full";+ "flex items-center justify-start py-2 px-3 rounded-2xl outline-none tracking-tight w-full overflow-hidden";const [dialogOpen, setDialogOpen] = useState(false);@@ -141,7 +147,7 @@ export const AdminNavItems = () => {</div></div></PopoverTrigger>- <PopoverContent className="z-10 p-0 mt-2 w-[calc(100%-20%)] mx-auto bg-white">+ <PopoverContent className="z-10 p-0 mt-2 w-[calc(100%-10%)] mx-auto bg-white"><Command><CommandInput placeholder="Search spaces..." /><CommandEmpty>No spaces found</CommandEmpty>@@ -169,7 +175,7 @@ export const AdminNavItems = () => {);})}<DialogTrigger className="w-full">- <CommandItem className="rounded-lg bg-filler aria-selected:bg-gray-200">+ <CommandItem className="bg-gray-100 rounded-lg border border-gray-200 aria-selected:bg-gray-200"><Plus className="mr-1 w-4 h-auto" /><span className="text-sm">Add new space</span></CommandItem>@@ -183,44 +189,60 @@ export const AdminNavItems = () => {className="flex flex-col justify-between w-full h-full"aria-label="Sidebar">- <div className="mt-8 space-y-2.5">+ <div+ className={clsx("mt-8 space-y-2.5", collapsed ? "items-center" : "")}+ >{manageNavigation.map((item) => (<div key={item.name}>- <Link- passHref- prefetch={false}- href={item.href}- className={classNames(- pathname.includes(item.href)- ? "bg-white text-gray-400 border-[1px] border-gray-200 shadow-[0_1.5px_3px_0px] shadow-gray-200"- : "hover:opacity-75",- navItemClass- )}- >- <item.icon- className={classNames("flex-shrink-0 w-5 h-5 stroke-[1.5px]")}- aria-hidden="true"- />- <span className="text-base ml-2.5 text-gray-400">- {item.name}- </span>- </Link>+ <div className="flex justify-center">+ <Tooltip content={item.name} disable={collapsed === false}>+ <Link+ passHref+ prefetch={false}+ href={item.href}+ className={classNames(+ pathname.includes(item.href)+ ? "bg-white text-gray-400 border-[1px] border-gray-200 shadow-[0_1.5px_3px_0px] shadow-gray-200"+ : "hover:opacity-75",+ navItemClass+ )}+ >+ <item.icon+ className={classNames(+ "flex-shrink-0 w-5 h-5 stroke-[1.5px]"+ )}+ aria-hidden="true"+ />+ <span className="text-base ml-2.5 text-gray-400 truncate">+ {item.name}+ </span>+ </Link>+ </Tooltip>+ </div></div>))}</div><div className="mt-auto"><div className="pb-5 mb-3 w-full border-b-2 border-gray-200 border-dotted">- <UsageButton subscribed={isSubscribed} />+ <UsageButton collapsed={collapsed} subscribed={isSubscribed} /></div><Popover open={menuOpen} onOpenChange={setMenuOpen}><PopoverTrigger asChild>- <div className="flex justify-between items-center p-2 rounded-lg transition-colors cursor-pointer hover:bg-gray-100">- <div className="flex items-center">- <Avatar name={user.name ?? "User"} className="w-8 h-8" />- <span className="ml-2 text-sm">{user.name ?? "User"}</span>+ {collapsed ? (+ <Tooltip content={user.name ?? "User"}>+ <div className="flex justify-center items-center p-2 rounded-lg transition-colors cursor-pointer hover:bg-gray-100">+ <Avatar name={user.name ?? "User"} className="w-8 h-8" />+ </div>+ </Tooltip>+ ) : (+ <div className="flex justify-between items-center p-2 rounded-lg transition-colors cursor-pointer hover:bg-gray-100">+ <div className="flex items-center">+ <Avatar name={user.name ?? "User"} className="w-8 h-8" />+ <span className="ml-2 text-sm">{user.name ?? "User"}</span>+ </div>+ <MoreVertical className="w-5 h-5 text-gray-500 group-hover:text-gray-500" /></div>- <MoreVertical className="w-5 h-5 text-gray-500 group-hover:text-gray-500" />- </div>+ )}</PopoverTrigger><PopoverContent className="p-1 w-48 bg-gray-100"><Command>diff --git a/apps/web/app/dashboard/_components/DashboardInner.tsx b/apps/web/app/dashboard/_components/DashboardInner.tsxnew file mode 100644index 000000000..9cd5fec0d--- /dev/null+++ b/apps/web/app/dashboard/_components/DashboardInner.tsx@@ -0,0 +1,26 @@+"use client";++export default function DashboardInner({+ children,+ title,+ emptyCondition,+ emptyComponent,+}: {+ children: React.ReactNode;+ title: string;+ emptyCondition?: boolean;+ emptyComponent?: React.ReactNode;+}) {+ return (+ <>+ <div className="h-[100vh] flex flex-col items-between gap-5 pt-5">+ <div className="h-[5vh] w-full justify-between flex items-center">+ <p className="text-xl text-gray-500">{title}</p>+ </div>+ <div className="flex flex-grow h-[90vh] bg-gray-100 rounded-tl-2xl p-8 border-[1px] border-gray-200">+ {emptyCondition ? emptyComponent : children}+ </div>+ </div>+ </>+ );+}diff --git a/apps/web/app/dashboard/_components/DynamicSharedLayout.tsx b/apps/web/app/dashboard/_components/DynamicSharedLayout.tsxindex 785af4d6b..e0602875b 100644--- a/apps/web/app/dashboard/_components/DynamicSharedLayout.tsx+++ b/apps/web/app/dashboard/_components/DynamicSharedLayout.tsx@@ -1,9 +1,9 @@"use client";-import { createContext, useContext } from "react";-import AdminDesktopNav from "@/app/dashboard/_components/AdminNavbar/AdminDesktopNav";import AdminMobileNav from "@/app/dashboard/_components/AdminNavbar/AdminMobileNav";-import { users, spaces } from "@cap/database/schema";import { Space } from "@/app/dashboard/layout";+import { users } from "@cap/database/schema";+import { createContext, useContext } from "react";+import AdminDesktopNav from "./AdminNavbar/AdminDesktopNav";type SharedContext = {spaceData: Space[] | null;@@ -29,11 +29,11 @@ export default function DynamicSharedLayout({}) {return (<Context.Provider value={{ spaceData, activeSpace, user, isSubscribed }}>- <div className="dashboard-layout h-screen min-h-full flex">+ <div className="flex h-screen min-h-full dashboard-layout"><AdminDesktopNav />- <div className="flex-1 overflow-auto focus:outline-none">+ <div className="overflow-auto flex-1 focus:outline-none"><AdminMobileNav />- <main className="min-h-screen w-full">{children}</main>+ <main className="w-full min-h-screen">{children}</main></div></div></Context.Provider>diff --git a/apps/web/app/dashboard/caps/Caps.tsx b/apps/web/app/dashboard/caps/Caps.tsxindex 437e9803d..894837514 100644--- a/apps/web/app/dashboard/caps/Caps.tsx+++ b/apps/web/app/dashboard/caps/Caps.tsx@@ -5,6 +5,7 @@ import { VideoMetadata } from "@cap/database/types";import { useRouter, useSearchParams } from "next/navigation";import { useEffect, useState } from "react";import toast from "react-hot-toast";+import DashboardInner from "../_components/DashboardInner";import { CapCard } from "./components/CapCard";import { CapPagination } from "./components/CapPagination";import { EmptyCapState } from "./components/EmptyCapState";@@ -80,35 +81,30 @@ export const Caps = ({};return (- <div className="h-[100vh] flex flex-col items-between gap-5 pt-5">- <div className="h-[5vh] flex items-center">- <p className="text-3xl text-gray-500">My Caps</p>- </div>- <div className="flex flex-grow h-[90vh] bg-gray-100 rounded-t-2xl p-8 border-[1px] border-gray-200">- {data.length === 0 ? (- <EmptyCapState userName={user?.name || ""} />- ) : (- <div className="flex flex-col w-full h-full">- <div className="grid grid-cols-2 gap-4 md:grid-cols-3 xl:grid-cols-4">- {data.map((cap) => (- <CapCard- key={cap.id}- cap={cap}- analytics={analytics[cap.id] || 0}- onDelete={deleteCap}- userId={user?.id}- userSpaces={userSpaces}- />- ))}- </div>- {(data.length > limit || data.length === limit || page !== 1) && (- <div className="mt-4">- <CapPagination currentPage={page} totalPages={totalPages} />- </div>- )}+ <DashboardInner+ title="My Caps"+ emptyCondition={data.length === 0}+ emptyComponent={<EmptyCapState userName={user?.name || ""} />}+ >+ <div className="flex flex-col w-full h-full">+ <div className="grid grid-cols-2 gap-4 md:grid-cols-3 xl:grid-cols-4">+ {data.map((cap) => (+ <CapCard+ key={cap.id}+ cap={cap}+ analytics={analytics[cap.id] || 0}+ onDelete={deleteCap}+ userId={user?.id}+ userSpaces={userSpaces}+ />+ ))}+ </div>+ {(data.length > limit || data.length === limit || page !== 1) && (+ <div className="mt-4">+ <CapPagination currentPage={page} totalPages={totalPages} /></div>)}</div>- </div>+ </DashboardInner>);};diff --git a/apps/web/app/dashboard/shared-caps/SharedCaps.tsx b/apps/web/app/dashboard/shared-caps/SharedCaps.tsxindex 1825aea93..3f2793ea5 100644--- a/apps/web/app/dashboard/shared-caps/SharedCaps.tsx+++ b/apps/web/app/dashboard/shared-caps/SharedCaps.tsx@@ -1,12 +1,13 @@"use client";+import { getVideoAnalytics } from "@/actions/videos/get-analytics";+import { useSharedContext } from "@/app/dashboard/_components/DynamicSharedLayout";+import { VideoMetadata } from "@cap/database/types";import { useRouter, useSearchParams } from "next/navigation";import { useEffect, useState } from "react";-import { useSharedContext } from "@/app/dashboard/_components/DynamicSharedLayout";-import { SharedCapCard } from "./components/SharedCapCard";-import { EmptySharedCapState } from "./components/EmptySharedCapState";+import DashboardInner from "../_components/DashboardInner";import { CapPagination } from "../caps/components/CapPagination";-import { VideoMetadata } from "@cap/database/types";-import { getVideoAnalytics } from "@/actions/videos/get-analytics";+import { EmptySharedCapState } from "./components/EmptySharedCapState";+import { SharedCapCard } from "./components/SharedCapCard";type SharedVideoData = {id: string;@@ -51,33 +52,30 @@ export const SharedCaps = ({}, [data]);return (- <div className="flex flex-col min-h-[calc(100vh-30px)] h-full">- <div className="mb-3">- <h1 className="text-3xl font-medium">Shared Caps</h1>- </div>- <div className="flex-grow flex inner">- {data.length === 0 ? (- <EmptySharedCapState spaceName={activeSpace?.space.name || ""} />- ) : (- <div className="flex flex-col w-full h-full">- <div className="grid grid-cols-2 md:grid-cols-3 xl:grid-cols-4 gap-4">- {data.map((cap) => (- <SharedCapCard- key={cap.id}- cap={cap}- analytics={analytics[cap.id] || 0}- spaceName={activeSpace?.space.name || ""}- />- ))}- </div>- {(data.length > limit || data.length === limit || page !== 1) && (- <div className="mt-4">- <CapPagination currentPage={page} totalPages={totalPages} />- </div>- )}+ <DashboardInner+ title="Shared Caps"+ emptyCondition={data.length === 0}+ emptyComponent={+ <EmptySharedCapState spaceName={activeSpace?.space.name || ""} />+ }+ >+ <div className="flex flex-col w-full h-full">+ <div className="grid grid-cols-2 gap-4 md:grid-cols-3 xl:grid-cols-4">+ {data.map((cap) => (+ <SharedCapCard+ key={cap.id}+ cap={cap}+ analytics={analytics[cap.id] || 0}+ spaceName={activeSpace?.space.name || ""}+ />+ ))}+ </div>+ {(data.length > limit || data.length === limit || page !== 1) && (+ <div className="mt-4">+ <CapPagination currentPage={page} totalPages={totalPages} /></div>)}</div>- </div>+ </DashboardInner>);};diff --git a/apps/web/components/Tooltip.tsx b/apps/web/components/Tooltip.tsxnew file mode 100644index 000000000..5eb43d5e8--- /dev/null+++ b/apps/web/components/Tooltip.tsx@@ -0,0 +1,37 @@+"use client";++import React, { ReactNode } from "react";+import { Tooltip as ReactTooltip } from "react-tooltip";++interface TooltipProps {+ children: ReactNode;+ content: string;+ id?: string;+ className?: string;+}++export const Tooltip = ({+ children,+ content,+ id,+ className,+}: TooltipProps) => {+ const tooltipId = id || `tooltip-${Math.random().toString(36).substring(2, 9)}`;++ return (+ <>+ <div+ data-tooltip-id={tooltipId}+ data-tooltip-content={content}+ className={className}+ >+ {children}+ </div>+ <ReactTooltip+ id={tooltipId}+ place="right"+ className="z-50 px-2 py-1 text-xs border border-gray-200 bg-gray-50 text-gray-600 rounded shadow-lg"+ />+ </>+ );+}diff --git a/apps/web/components/UsageButton.tsx b/apps/web/components/UsageButton.tsxindex b625e1c62..ce8d6f669 100644--- a/apps/web/components/UsageButton.tsx+++ b/apps/web/components/UsageButton.tsx@@ -1,23 +1,52 @@+import { Button, Tooltip } from "@cap/ui";+import { faArrowUp, faCheck } from "@fortawesome/free-solid-svg-icons";+import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";+import clsx from "clsx";import Link from "next/link";-export const UsageButton = ({ subscribed }: { subscribed: boolean }) => {+export const UsageButton = ({+ subscribed,+ collapsed,+}: {+ subscribed: boolean;+ collapsed: boolean;+}) => {return (- <Link href={subscribed ? "/dashboard/settings/workspace" : "/pricing"}>- <div className="w-full flex items-center justify-center bg-white border border-gray-200 rounded-xl py-2 px-4 hover:border-blue-500 transition-all">- {subscribed ? (- <div className="text-primary font-medium tracking-tighter">- Cap Pro- </div>- ) : (- <span className="text-sm">- Upgrade to{" "}- <span className="bg-blue-500 text-sm text-white py-1 px-1.5 rounded-[8px]">- Pro- </span>{" "}- plan- </span>- )}- </div>- </Link>+ <Tooltip content={subscribed ? "Cap Pro" : "Upgrade to Pro"}>+ <Link+ className="flex justify-center mx-auto w-full"+ href={subscribed ? "/dashboard/settings/workspace" : "/pricing"}+ >+ <Button+ size="lg"+ className={clsx(+ "overflow-hidden truncate",+ collapsed ? "p-0 w-10 h-10 rounded-full min-w-10" : "w-full"+ )}+ variant="primary"+ >+ <img+ src="/illustrations/cloud-1.png"+ className="absolute w-32 opacity-30 left-[-32px]"+ />+ <img+ src="/illustrations/cloud-2.png"+ className="absolute w-32 opacity-30 right-[-82px]"+ />+ <FontAwesomeIcon+ className={clsx(+ "text-gray-50 drop-shadow-[0_0_2px_rgba(255,255,255,0.5)]",+ collapsed ? "mr-0" : "mr-1"+ )}+ icon={subscribed ? faCheck : faArrowUp}+ />+ {collapsed ? null : (+ <p className="text-gray-50 drop-shadow-[0_0_2px_rgba(255,255,255,0.5)]">+ {subscribed ? "Cap Pro" : "Upgrade to Pro"}+ </p>+ )}+ </Button>+ </Link>+ </Tooltip>);};diff --git a/apps/web/public/rive/capsempty.riv b/apps/web/public/rive/capsempty.rivindex 10c76b4d2..fd0a32cce 100644Binary files a/apps/web/public/rive/capsempty.riv and b/apps/web/public/rive/capsempty.riv differdiff --git a/packages/ui/package.json b/packages/ui/package.jsonindex a4da3dd6e..ce92548b3 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -46,6 +46,7 @@"@radix-ui/react-popover": "^1.0.7","@radix-ui/react-slot": "^1.0.2","@radix-ui/react-switch": "^1.1.0",+ "@radix-ui/react-tooltip": "^1.2.0","@tailwindcss/typography": "^0.5.9","class-variance-authority": "^0.7.0","cmdk": "^0.2.0",diff --git a/packages/ui/src/components/Cmdk.tsx b/packages/ui/src/components/Cmdk.tsxindex 90428911f..73d37518b 100644--- a/packages/ui/src/components/Cmdk.tsx+++ b/packages/ui/src/components/Cmdk.tsx@@ -1,9 +1,9 @@"use client";-import * as React from "react";import { DialogProps } from "@radix-ui/react-dialog";import { Command as CommandPrimitive } from "cmdk";import { Search } from "lucide-react";+import * as React from "react";import { classNames } from "@cap/utils";import { Dialog, DialogContent } from "./Dialog";@@ -15,7 +15,7 @@ const Command = React.forwardRef<<CommandPrimitiveref={ref}className={classNames(- "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",+ "flex overflow-hidden flex-col w-full h-full rounded-md bg-popover text-popover-foreground",className)}{...props}@@ -41,12 +41,12 @@ 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" />+ <div className="flex items-center px-3 border-b" cmdk-input-wrapper="">+ <Search className="mr-2 w-4 h-4 opacity-50 shrink-0" /><CommandPrimitive.Inputref={ref}className={classNames(- "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",+ "flex py-3 w-full h-11 text-sm bg-transparent rounded-md outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",className)}{...props}@@ -63,7 +63,7 @@ const CommandList = React.forwardRef<<CommandPrimitive.Listref={ref}className={classNames(- "max-h-[300px] overflow-y-auto overflow-x-hidden",+ "overflow-y-auto overflow-x-hidden max-h-[300px]",className)}{...props}@@ -120,7 +120,7 @@ const CommandItem = React.forwardRef<<CommandPrimitive.Itemref={ref}className={classNames(- "relative flex cursor-pointer text-gray-400 select-none items-center rounded-sm px-2 py-2.5 text-[0.875rem] outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",+ "relative flex cursor-pointer text-gray-400 select-none items-center rounded-sm px-2 py-2 text-[0.875rem] outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",className)}{...props}@@ -148,11 +148,11 @@ CommandShortcut.displayName = "CommandShortcut";export {Command,CommandDialog,- CommandInput,- CommandList,CommandEmpty,CommandGroup,+ CommandInput,CommandItem,- CommandShortcut,+ CommandList,CommandSeparator,+ CommandShortcut,};diff --git a/packages/ui/src/components/Tooltip.tsx b/packages/ui/src/components/Tooltip.tsxnew file mode 100644index 000000000..287a2656b--- /dev/null+++ b/packages/ui/src/components/Tooltip.tsx@@ -0,0 +1,46 @@+"use client";++import { classNames } from "@cap/utils";+import * as TooltipPrimitive from "@radix-ui/react-tooltip";+import * as React from "react";++const Tooltip = ({+ children,+ content,+ className,+ position = "top",+ disable,+}: {+ children: React.ReactNode;+ content: string;+ className?: string;+ position?: "top" | "bottom" | "left" | "right";+ disable?: boolean;+}) => {+ return (+ <TooltipPrimitive.Provider>+ <TooltipPrimitive.Root>+ <TooltipPrimitive.Trigger disabled={disable} asChild>+ {children}+ </TooltipPrimitive.Trigger>+ <TooltipPrimitive.Portal>+ <TooltipPrimitive.Content+ side={position}+ className={classNames(+ "select-none rounded bg-white px-[15px] py-2.5 text-[15px] leading-none text-violet11 shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] will-change-[transform,opacity] data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade",+ className+ )}+ sideOffset={5}+ >+ {content}+ <TooltipPrimitive.Arrow className="fill-white" />+ </TooltipPrimitive.Content>+ </TooltipPrimitive.Portal>+ </TooltipPrimitive.Root>+ </TooltipPrimitive.Provider>+ );+};++Tooltip.displayName = TooltipPrimitive.Root.displayName;++export { Tooltip };diff --git a/packages/ui/src/components/icons/Logo.tsx b/packages/ui/src/components/icons/Logo.tsxindex 33a0fc4d8..080567004 100644--- a/packages/ui/src/components/icons/Logo.tsx+++ b/packages/ui/src/components/icons/Logo.tsx@@ -3,18 +3,23 @@ export const Logo = ({showVersion,showBeta,white,+ hideLogoName,}: {className: string;showVersion?: boolean;showBeta?: boolean;white?: boolean;+ hideLogoName?: boolean;}) => {+ const viewBoxDimensions = hideLogoName ? "0 0 40 40" : "0 0 120 40";+return (<div className="flex items-center space-x-1"><svg+ viewBox={viewBoxDimensions}xmlns="http://www.w3.org/2000/svg"+ preserveAspectRatio="xMidYMid meet"fill="none"- viewBox="0 0 103 40"className={className}>{/* <rect@@ -37,19 +42,21 @@ export const Logo = ({<pathfill="#4785FF"d="M20 36c8.837 0 16-7.163 16-16 0-8.836-7.163-16-16-16-8.836 0-16 7.164-16 16 0 8.837 7.164 16 16 16z"- ></path>+ /><pathfill="#ADC9FF"d="M20 33c7.18 0 13-5.82 13-13S27.18 7 20 7 7 12.82 7 20s5.82 13 13 13z"- ></path>+ /><pathfill="#fff"d="M20 30c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10z"- ></path>- <path- fill={white ? "#ffffff" : "#12161F"}- d="M58.416 30.448c-5.404 0-9.212-3.864-9.212-10.36 0-6.384 3.668-10.416 9.268-10.416 5.068 0 7.784 2.66 8.624 7.168l-3.808.196c-.476-2.604-2.072-4.2-4.816-4.2-3.388 0-5.488 2.828-5.488 7.252 0 4.48 2.156 7.196 5.46 7.196 2.94 0 4.508-1.708 4.956-4.564l3.808.196c-.784 4.676-3.752 7.532-8.792 7.532zm16.23-.112c-3.137 0-5.209-1.484-5.209-4.088 0-2.576 1.596-3.948 4.872-4.592l4.956-.98c0-2.1-.98-3.192-2.856-3.192-1.764 0-2.716.812-3.052 2.324l-3.668-.168c.588-3.136 2.996-4.928 6.72-4.928 4.256 0 6.44 2.24 6.44 6.216v5.432c0 .812.28 1.036.84 1.036h.476V30c-.224.056-.812.112-1.288.112-1.624 0-2.828-.588-3.136-2.436-.728 1.596-2.632 2.66-5.096 2.66zm.727-2.604c2.38 0 3.892-1.512 3.892-3.78v-.84l-3.864.784c-1.596.308-2.24.98-2.24 2.016 0 1.176.784 1.82 2.212 1.82zM86.874 34.2V15.048h3.444l.056 2.212c.868-1.652 2.52-2.548 4.48-2.548 4.256 0 6.356 3.5 6.356 7.812s-2.128 7.812-6.384 7.812c-1.904 0-3.556-.924-4.368-2.38V34.2h-3.584zm7.112-6.776c2.184 0 3.5-1.82 3.5-4.9s-1.316-4.9-3.5-4.9-3.528 1.652-3.528 4.9 1.316 4.9 3.528 4.9z"- ></path>+ />+ {!hideLogoName && (+ <path+ fill={white ? "#ffffff" : "#12161F"}+ d="M58.416 30.448c-5.404 0-9.212-3.864-9.212-10.36 0-6.384 3.668-10.416 9.268-10.416 5.068 0 7.784 2.66 8.624 7.168l-3.808.196c-.476-2.604-2.072-4.2-4.816-4.2-3.388 0-5.488 2.828-5.488 7.252 0 4.48 2.156 7.196 5.46 7.196 2.94 0 4.508-1.708 4.956-4.564l3.808.196c-.784 4.676-3.752 7.532-8.792 7.532zm16.23-.112c-3.137 0-5.209-1.484-5.209-4.088 0-2.576 1.596-3.948 4.872-4.592l4.956-.98c0-2.1-.98-3.192-2.856-3.192-1.764 0-2.716.812-3.052 2.324l-3.668-.168c.588-3.136 2.996-4.928 6.72-4.928 4.256 0 6.44 2.24 6.44 6.216v5.432c0 .812.28 1.036.84 1.036h.476V30c-.224.056-.812.112-1.288.112-1.624 0-2.828-.588-3.136-2.436-.728 1.596-2.632 2.66-5.096 2.66zm.727-2.604c2.38 0 3.892-1.512 3.892-3.78v-.84l-3.864.784c-1.596.308-2.24.98-2.24 2.016 0 1.176.784 1.82 2.212 1.82zM86.874 34.2V15.048h3.444l.056 2.212c.868-1.652 2.52-2.548 4.48-2.548 4.256 0 6.356 3.5 6.356 7.812s-2.128 7.812-6.384 7.812c-1.904 0-3.556-.924-4.368-2.38V34.2h-3.584zm7.112-6.776c2.184 0 3.5-1.82 3.5-4.9s-1.316-4.9-3.5-4.9-3.528 1.652-3.528 4.9 1.316 4.9 3.528 4.9z"+ />+ )}</svg>{showVersion && (<spandiff --git a/packages/ui/src/index.tsx b/packages/ui/src/index.tsxindex 847f635f5..9245bfc72 100644--- a/packages/ui/src/index.tsx+++ b/packages/ui/src/index.tsx@@ -7,21 +7,22 @@ export * from "./components/icons/Logo";export * from "./components/icons/LogoBadge";// Layout+export * from "./components/LogoSpinner";export * from "./components/SkeletonPage";export * from "./components/SkeletonRows";-export * from "./components/LogoSpinner";// UIexport * from "./components/Button";+export * from "./components/Card";export * from "./components/Cmdk";export * from "./components/Dialog";-export * from "./components/Popover";-export * from "./components/Card";-export * from "./components/NavigationMenu";export * from "./components/Dropdown";+export * from "./components/NavigationMenu";export * from "./components/Pagination";+export * from "./components/Popover";export * from "./components/Switch";export * from "./components/Table";+export * from "./components/Tooltip";// Forms & Inputsexport * from "./components/input/Form";diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 839f24970..f73292f9e 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -867,6 +867,9 @@ importers:'@radix-ui/react-switch':specifier: ^1.1.0version: 1.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tooltip':+ specifier: ^1.2.0+ version: 1.2.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@tailwindcss/typography':specifier: ^0.5.9@@ -4231,6 +4234,9 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-XnbHrrprsNqZKQhStrSwgRUQzoCI1glLzdw79xiZPoofhGICeZRSQ3dIxAKH1gb3OHfNf4d6f+vAv3kil2eggA==}+'@radix-ui/[email protected]':resolution: {integrity: sha512-FmlW1rCg7hBpEBwFbjHwCW6AmWLQM6g/v0Sn8XbP9NvmSZ2San1FpQeyPtufzOMSIx7Y4dzjlHoifhp+7NkZhw==}peerDependencies:@@ -4244,6 +4250,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-2dvVU4jva0qkNZH6HHWuSz5FN5GeU5tymvCgutF8WaXz9WnD1NgUhy73cqzkjkN4Zkn8lfTPv5JIfrC221W+Nw==}+ 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-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==}peerDependencies:@@ -4280,6 +4299,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==}+ 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-1pVM9RfOQ+n/N5PJK33kRSKsr1glNxomxONs5c49MliinBY6Yw2Q995qfBUUo0/Mbg05B/sGA0gkgPI7kmSHBg==}peerDependencies:@@ -4294,6 +4322,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==}+ 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-Yn9YU+QlHYLWwV1XfKiqnGVpWYWk6MeBVM6x/bcoyPvxgjQGoeT35482viLPctTMWoMw0PoHgqfSox7Ig+957Q==}peerDependencies:@@ -4341,6 +4378,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-7gpgMT2gyKym9Jz2ZhlRXSg2y6cNQIK8d/cqBZ0RBCaps8pFryCWXiUKI+uHGFrhMrbGUP7U6PWgiXzIxoyF3Q==}+ 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-y8E+x9fBq9qvteD2Zwa4397pUVhYsh9iq44b5RD5qu1GMJWBCBuVg1hMyItbc6+zH00TxGRqd9Iot4wzf3OoBQ==}peerDependencies:@@ -4401,6 +4451,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==}+ 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-peLblDlFw/ngk3UWq0VnYaOLy6agTZZ+MUO/WhVfm14vJGML+xH4FAl2XQGLqdefjNb7ApRg6Yn7U42ZhmYXdw==}peerDependencies:@@ -4466,6 +4525,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-iNb9LYUMkne9zIahukgQmHlSBp9XWGeQQ7FvUGNk45ywzOb6kQa+Ca38OphXlWDiKvyneo9S+KSJsLfLt8812A==}+ 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-a8qyFO/Xb99d8wQdu4o7qnigNjTPG123uADNecz0eX4usnQEj7o+cG4ZX4zkqq98NYekT7UoEQIjxBNWIFuqTA==}peerDependencies:@@ -4485,6 +4557,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-ps/67ZqsFm+Mb6lSPJpfhRLrVL2i2fntgCmGMqqth4eaGUf+knAuuRtWVJrNjUhExgmdRqftSgzpf0DF0n6yXA==}+ 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-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==}peerDependencies:@@ -4504,6 +4589,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-IrVLIhskYhH3nLvtcBLQFZr61tBG7wx7O3kEmdzcYwRGAEBmBicGGL7ATzNgruYJ3xBTbuzEEq9OXJM3PAX3tA==}+ 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-EyXe6mnRlHZ8b6f4ilTDrXmkLShICIuOTTj0GX4w1rp+wSxf3+TD05u1UOITC8VsJ2a9nwHvdXtOXEOl0Cw/zQ==}peerDependencies:@@ -4523,6 +4621,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Pf/t/GkndH7CQ8wE2hbkXA+WyZ83fhQQn5DDmwDiDo6AwN/fhaH8oqZ0jRjMrO2iaMhDi6P1HRx6AZwyMinY1g==}+ 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-EA6AMGeq9AEeQDeSH0aZgG198qkfHSbvWTf1HvoDmOB5bBG/qTxjYMWUKMnYiV6J/iP/J8MEFSuB2zRU2n7ODA==}peerDependencies:@@ -4559,6 +4670,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-ujc+V6r0HNDviYqIK3rW4ffgYiZ8g5DEHrGJVk4x7kTlLXRDILnKX9vAUYeIsLOoDpDJ0ujpqMkjH4w2ofuo6w==}+ 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-OBzy5WAj641k0AOSpKQtreDMe+isX0MQJ1IVyF03ucdF3DunOnROVrjWs8zsXUxC3zfZ6JL9HFVCUlMghz9dJw==}peerDependencies:@@ -4572,6 +4692,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-b1Sdc75s7zN9B8ONQTGBSHL3XS8+IcjcOIY51fhM4R1Hx8s0YbgqgyNZiri4qcYMVZK8hfCZVBiyCm7N9rs0rw==}+ 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-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==}peerDependencies:@@ -4586,6 +4719,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==}+ 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-FohDoZvk3mEXh9AWAVyRTYR4Sq7/gavuofglmiXB2g1aKyboUD4YtgWxKj8O5n+Uak52gXQ4wKz5IFST4vtJHg==}peerDependencies:@@ -4600,6 +4742,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-YnEXIy8/ga01Y1PN0VfaNH//MhA91JlEGVBDxDzROqwrAtG5Yr2QGEPz8A/rJA3C7ZAHryOYGaUv8fLSW2H/mg==}+ 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-JwfBCUIfhXRxKExgIqGa4CQsiMemo1Xt0W/B4ei3fpzpvPENKpMKQ8mZSB6Acj3ebrAEgi2xiQvcI1PAAodvyg==}peerDependencies:@@ -4614,6 +4765,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==}+ 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-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==}peerDependencies:@@ -4628,6 +4788,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==}+ 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-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==}peerDependencies:@@ -4646,6 +4815,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w==}+ 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-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==}peerDependencies:@@ -4655,6 +4833,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ==}+ 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-N8MDZqtgCgG5S3aV60INAB475osJousYpZ4cTJ2cFbMpdHS5Y6loLTH8LPtkj2QN0x93J30HT/M3qJXM0+lyeQ==}peerDependencies:@@ -4668,9 +4855,25 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-oXSF3ZQRd5fvomd9hmUCb2EHSZbPp3ZSHAHJJU/DlF9XoFkJBBW8RHU/E8WEH+RbSfJd/QFA0sl8ClJXknBwHQ==}+ 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-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==}+'@react-email/[email protected]':resolution: {integrity: sha512-vjJ5P1MUNWV0KNivaEWA6MGj/I3c764qQJMsKjCHlW6mkFJ4SXbm2OlQFtKAb++Bj8LDqBlnE6oW77bWcMc0NA==}peerDependencies:@@ -5542,10 +5745,10 @@ packages:react-dom:optional: true- '@storybook/[email protected]':- resolution: {integrity: sha512-eImTYftI0rnRI0kT7zYpUbroFjDUagBG7jiLzMMgTycadx2q47NiROEA7aXuIpslGsyx1XuFafK0cayWqnSfGA==}+ '@storybook/[email protected]':+ resolution: {integrity: sha512-m6mR8SX4A40I+uPjbBjsV5Kitaqialau7J3PmkoV+1Cp2NC5DqGTPCV6SkyLznVIzxG/7uEbIB1d071upwAu0w==}peerDependencies:- storybook: ^9.0.0-alpha.18+ storybook: ^9.0.0-alpha.19vite: ^5.0.0 || ^6.0.0'@storybook/[email protected]':@@ -5556,10 +5759,10 @@ packages:peerDependencies:storybook: ^8.3.3- '@storybook/[email protected]':- resolution: {integrity: sha512-171/oPA72aSh/wubXl6moLsEjxNg4O1ItJfkESAPx0LQKftMlEDyRp1wRFOZMxIuLAVom92OoJdWk4iAOz8Tfw==}+ '@storybook/[email protected]':+ resolution: {integrity: sha512-Kw9IiBbzjhfvGJpjry2YhOZXM5xPUirok4Nggl3nsEKmA6179b8BmNL+thU5zjzmU4RH2W5IJDqCO1qKTAvQQw==}peerDependencies:- storybook: ^9.0.0-alpha.18+ storybook: ^9.0.0-alpha.19'@storybook/[email protected]':resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}@@ -17092,6 +17295,8 @@ snapshots:'@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-primitive': 2.0.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -17101,6 +17306,15 @@ snapshots:'@types/react': 18.3.9'@types/react-dom': 19.1.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.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ optionalDependencies:+ '@types/react': 18.3.9+ '@types/react-dom': 19.1.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-compose-refs': 1.1.0(@types/[email protected])([email protected])@@ -17131,6 +17345,12 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+'@radix-ui/[email protected]([email protected])':dependencies:'@babel/runtime': 7.25.6@@ -17142,6 +17362,12 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+'@radix-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.25.6@@ -17216,6 +17442,19 @@ snapshots:'@types/react': 18.3.9'@types/react-dom': 19.1.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+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.0.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: 18.3.1+ react-dom: 18.3.1([email protected])+ optionalDependencies:+ '@types/react': 18.3.9+ '@types/react-dom': 19.1.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.0@@ -17275,6 +17514,13 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+'@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.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -17373,6 +17619,24 @@ snapshots:'@types/react': 18.3.9'@types/react-dom': 19.1.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.3(@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.0.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: 18.3.1+ react-dom: 18.3.1([email protected])+ optionalDependencies:+ '@types/react': 18.3.9+ '@types/react-dom': 19.1.2(@types/[email protected])+dependencies:'@babel/runtime': 7.25.6@@ -17390,6 +17654,16 @@ snapshots:'@types/react': 18.3.9'@types/react-dom': 19.1.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.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ optionalDependencies:+ '@types/react': 18.3.9+ '@types/react-dom': 19.1.2(@types/[email protected])+dependencies:'@babel/runtime': 7.25.6@@ -17408,6 +17682,16 @@ snapshots:'@types/react': 18.3.9'@types/react-dom': 19.1.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-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: 18.3.1+ react-dom: 18.3.1([email protected])+ optionalDependencies:+ '@types/react': 18.3.9+ '@types/react-dom': 19.1.2(@types/[email protected])+dependencies:'@babel/runtime': 7.25.6@@ -17424,6 +17708,15 @@ snapshots:'@types/react': 18.3.9'@types/react-dom': 19.1.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-slot': 1.2.0(@types/[email protected])([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ optionalDependencies:+ '@types/react': 18.3.9+ '@types/react-dom': 19.1.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.0@@ -17462,6 +17755,13 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+'@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.0@@ -17477,6 +17777,26 @@ snapshots:'@types/react': 18.3.9'@types/react-dom': 19.1.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+ '@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.6(@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.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.0.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ optionalDependencies:+ '@types/react': 18.3.9+ '@types/react-dom': 19.1.2(@types/[email protected])+'@radix-ui/[email protected]([email protected])':dependencies:'@babel/runtime': 7.25.6@@ -17488,6 +17808,12 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+'@radix-ui/[email protected]([email protected])':dependencies:'@babel/runtime': 7.25.6@@ -17501,6 +17827,13 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+'@radix-ui/[email protected]([email protected])':dependencies:'@babel/runtime': 7.25.6@@ -17514,6 +17847,13 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+'@radix-ui/[email protected]([email protected])':dependencies:'@babel/runtime': 7.25.6@@ -17525,6 +17865,12 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+dependencies:react: 18.3.1@@ -17538,6 +17884,13 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ '@radix-ui/rect': 1.1.1+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+dependencies:'@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])@@ -17545,6 +17898,13 @@ snapshots:optionalDependencies:'@types/react': 18.3.9+ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 18.3.1+ optionalDependencies:+ '@types/react': 18.3.9+'@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.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -17554,8 +17914,19 @@ snapshots:'@types/react': 18.3.9'@types/react-dom': 19.1.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.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ optionalDependencies:+ '@types/react': 18.3.9+ '@types/react-dom': 19.1.2(@types/[email protected])+'@radix-ui/[email protected]': {}+ '@radix-ui/[email protected]': {}+'@react-email/[email protected]([email protected])':dependencies:react: 18.3.1@@ -18554,9 +18925,9 @@ snapshots:react: 18.3.1react-dom: 18.3.1([email protected])- '@storybook/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ '@storybook/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':dependencies:- '@storybook/csf-plugin': 9.0.0-alpha.18([email protected])+ '@storybook/csf-plugin': 9.0.0-alpha.19([email protected])browser-assert: 1.2.1storybook: 8.3.3ts-dedent: 2.2.0@@ -18587,7 +18958,7 @@ snapshots:storybook: 8.3.3unplugin: 1.16.1- '@storybook/[email protected]([email protected])':+ '@storybook/[email protected]([email protected])':dependencies:storybook: 8.3.3unplugin: 1.16.1@@ -21779,7 +22150,7 @@ snapshots:'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.57.1eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])+ eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color@@ -27359,7 +27730,7 @@ snapshots:[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])):dependencies:- '@storybook/builder-vite': 9.0.0-alpha.18([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ '@storybook/builder-vite': 9.0.0-alpha.19([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected]))transitivePeerDependencies:- storybook- vite