@nerds-with-charisma/revit-ui 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/button.tsx","../src/lib/utils.ts","../src/theme/motion.ts","../src/components/input.tsx","../src/theme/field.ts","../src/components/card.tsx","../src/components/card-header.tsx","../src/components/card-title.tsx","../src/components/card-description.tsx","../src/components/card-content.tsx","../src/components/card-footer.tsx","../src/components/select.tsx","../src/components/select-group.tsx","../src/components/select-value.tsx","../src/components/select-trigger.tsx","../src/components/select-content.tsx","../src/components/select-scroll-down-button.tsx","../src/components/select-scroll-up-button.tsx","../src/components/select-item.tsx","../src/components/select-label.tsx","../src/components/select-separator.tsx","../src/components/dialog.tsx","../src/components/dialog-trigger.tsx","../src/components/dialog-content.tsx","../src/components/dialog-overlay.tsx","../src/components/dialog-portal.tsx","../src/components/dialog-header.tsx","../src/components/dialog-footer.tsx","../src/components/dialog-title.tsx","../src/components/dialog-description.tsx","../src/components/dialog-close.tsx","../src/components/label.tsx","../src/components/textarea.tsx","../src/components/checkbox.tsx","../src/components/badge.tsx","../src/components/switch.tsx","../src/components/radio-group.tsx","../src/components/radio-group-item.tsx","../src/components/tabs.tsx","../src/components/tabs-list.tsx","../src/components/tabs-trigger.tsx","../src/components/tabs-content.tsx","../src/components/tooltip-provider.tsx","../src/components/tooltip.tsx","../src/components/tooltip-trigger.tsx","../src/components/tooltip-content.tsx","../src/components/separator.tsx","../src/components/accordion.tsx","../src/components/accordion-item.tsx","../src/components/accordion-trigger.tsx","../src/components/accordion-content.tsx","../src/components/alert.tsx","../src/components/alert-title.tsx","../src/components/alert-description.tsx","../src/components/avatar.tsx","../src/components/avatar-image.tsx","../src/components/avatar-fallback.tsx","../src/components/dropdown-menu.tsx","../src/components/dropdown-menu-trigger.tsx","../src/components/dropdown-menu-content.tsx","../src/components/dropdown-menu-item.tsx","../src/components/dropdown-menu-label.tsx","../src/components/dropdown-menu-separator.tsx","../src/components/popover.tsx","../src/components/popover-trigger.tsx","../src/components/popover-content.tsx","../src/components/sheet.tsx","../src/components/sheet-trigger.tsx","../src/components/sheet-content.tsx","../src/components/sheet-header.tsx","../src/components/sheet-title.tsx","../src/components/sheet-description.tsx","../src/components/skeleton.tsx","../src/components/slider.tsx","../src/components/table.tsx","../src/components/table-header.tsx","../src/components/table-body.tsx","../src/components/table-footer.tsx","../src/components/table-row.tsx","../src/components/table-head.tsx","../src/components/table-cell.tsx","../src/components/table-caption.tsx","../src/components/pagination.tsx","../src/components/pagination-content.tsx","../src/components/pagination-item.tsx","../src/components/pagination-link.tsx","../src/components/pagination-previous.tsx","../src/components/pagination-next.tsx","../src/components/pagination-ellipsis.tsx","../src/components/breadcrumb.tsx","../src/components/breadcrumb-list.tsx","../src/components/breadcrumb-item.tsx","../src/components/breadcrumb-link.tsx","../src/components/breadcrumb-page.tsx","../src/components/breadcrumb-separator.tsx","../src/components/form.tsx","../src/components/password-input.tsx","../src/components/form-control.tsx","../src/components/form-description.tsx","../src/components/form-item.tsx","../src/components/form-label.tsx","../src/components/form-message.tsx","../src/components/revit-form.tsx","../src/components/toaster.tsx","../src/components/command.tsx","../src/components/command-input.tsx","../src/components/command-list.tsx","../src/components/command-empty.tsx","../src/components/command-group.tsx","../src/components/command-item.tsx","../src/components/combobox.tsx","../src/components/context-menu.tsx","../src/components/context-menu-trigger.tsx","../src/components/context-menu-content.tsx","../src/theme/overlay.ts","../src/components/context-menu-item.tsx","../src/components/alert-dialog.tsx","../src/components/alert-dialog-trigger.tsx","../src/components/alert-dialog-content.tsx","../src/components/alert-dialog-overlay.tsx","../src/components/alert-dialog-header.tsx","../src/components/alert-dialog-footer.tsx","../src/components/alert-dialog-title.tsx","../src/components/alert-dialog-description.tsx","../src/components/alert-dialog-action.tsx","../src/components/alert-dialog-cancel.tsx","../src/components/hover-card.tsx","../src/components/hover-card-trigger.tsx","../src/components/hover-card-content.tsx","../src/components/progress.tsx","../src/components/toggle.tsx","../src/components/toggle-group.tsx","../src/components/toggle-group-item.tsx","../src/components/scroll-area.tsx","../src/components/collapsible.tsx","../src/components/collapsible-trigger.tsx","../src/components/collapsible-content.tsx","../src/components/calendar.tsx","../src/components/date-picker.tsx","../src/components/chart-container.tsx","../src/components/chart-tooltip.tsx","../src/components/carousel.tsx","../src/components/drawer.tsx","../src/components/menubar.tsx","../src/components/navigation-menu.tsx","../src/components/resizable.tsx","../src/components/sidebar.tsx","../src/components/input-otp.tsx","../src/components/aspect-ratio.tsx","../src/theme/surfaces.ts","../src/components/frost-panel.tsx","../src/components/frost-nav.tsx","../src/components/frost-tile.tsx","../src/components/frost-fab.tsx","../src/components/brand-gradient.tsx","../src/components/image-scrim.tsx","../src/components/search-bar.tsx","../src/components/confirm-dialog.tsx","../src/components/command-dialog.tsx","../src/components/pagination-bar.tsx","../src/theme/tokensToCss.ts","../src/theme/tokens.revit.ts","../src/theme/RevitUIProvider.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport type { ButtonHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst buttonVariants = cva(\n `inline-flex items-center justify-center gap-2 whitespace-nowrap font-sans text-sm font-semibold uppercase tracking-[0.12em] ${motion.surface} hover:scale-[1.02] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`,\n {\n variants: {\n variant: {\n default:\n 'rounded-pill border-2 border-primary bg-primary text-primary-foreground shadow-[0_8px_12px_6px_rgba(0,0,0,0.07)] hover:bg-primary/90 focus-visible:ring-brand-off-black focus-visible:ring-offset-primary',\n secondary:\n 'rounded-pill border-2 border-secondary bg-secondary text-secondary-foreground shadow-[0_12px_24px_rgba(0,0,0,0.07)] hover:bg-secondary/90',\n outline:\n 'rounded-pill border-2 border-border bg-card text-card-foreground shadow-[0_14px_22px_rgba(0,0,0,0.03)] hover:border-primary hover:bg-primary/25',\n ghost: 'rounded-pill hover:bg-accent hover:text-accent-foreground',\n link: 'rounded-none tracking-normal normal-case underline-offset-4 hover:underline',\n destructive:\n 'rounded-pill border-2 border-destructive bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',\n },\n size: {\n default: 'px-3.5 py-2 text-[11px] md:px-4 md:text-[12px]',\n sm: 'px-3 py-1.5 text-[10px]',\n lg: 'min-w-[10rem] px-6 py-3 text-sm sm:min-w-[12rem]',\n icon: 'size-9 rounded-pill p-0',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\ntype ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &\n VariantProps<typeof buttonVariants> & {\n asChild?: boolean\n }\n\nexport const Button = ({ className, variant, size, asChild = false, ...props }: ButtonProps) => {\n const Comp = asChild ? Slot : 'button'\n return (\n <Comp\n data-id=\"Button\"\n data-slot=\"button\"\n className={cn(buttonVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { buttonVariants }\nexport type { ButtonProps }\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport const cn = (...inputs: ClassValue[]) => {\n return twMerge(clsx(inputs))\n}\n","/**\n * Shared motion — keep surfaces feeling the same.\n */\nexport const motion = {\n surface:\n 'transition-[transform,color,background-color,border-color,box-shadow,opacity] duration-200 ease-out',\n}\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { InputHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\nconst inputVariants = cva(`w-full ${fieldSurface} file:border-0 file:bg-transparent file:text-sm file:font-medium`, {\n variants: {\n variant: {\n default: 'rounded-md',\n pill: 'rounded-pill',\n filled: 'rounded-md bg-muted',\n },\n size: {\n default: 'h-12 px-5 py-3 text-base',\n sm: 'h-9 px-3 py-1 text-sm',\n md: 'h-11 px-4 py-2 text-base md:text-sm',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n})\n\ntype InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> &\n VariantProps<typeof inputVariants>\n\nexport const Input = ({ className, type, variant, size, ...props }: InputProps) => {\n return (\n <input\n data-id=\"Input\"\n data-slot=\"input\"\n type={type}\n className={cn(inputVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { inputVariants }\nexport type { InputProps }\n","import { motion } from './motion'\n\n/** Shared field chrome — white fill, mist border (Revit search/outline). */\nexport const fieldSurface = `border border-border bg-card font-sans text-foreground outline-none ${motion.surface} placeholder:text-muted-foreground hover:border-primary focus-visible:border-primary focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] disabled:cursor-not-allowed disabled:opacity-50`\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst cardVariants = cva(`font-sans text-card-foreground ${motion.surface}`, {\n variants: {\n variant: {\n default: 'rounded-lg border border-border bg-card shadow-[0_18px_40px_rgba(0,0,0,0.04)]',\n elevated: 'rounded-xl bg-card shadow-[0_24px_48px_rgba(0,0,0,0.12)]',\n frost:\n 'rounded-lg border border-white/55 bg-white/0 shadow-[0_1px_0_rgba(255,255,255,0.2)_inset,0_12px_40px_rgba(0,0,0,0.04)] backdrop-blur-xl backdrop-saturate-150',\n outline: 'rounded-lg border border-border bg-transparent shadow-none',\n },\n size: {\n sm: '[&_[data-slot=card-header]]:p-4 [&_[data-slot=card-content]]:px-4 [&_[data-slot=card-content]]:pb-4 [&_[data-slot=card-footer]]:p-4 [&_[data-slot=card-footer]]:pt-0',\n default: '',\n lg: '[&_[data-slot=card-header]]:p-8 [&_[data-slot=card-content]]:px-8 [&_[data-slot=card-content]]:pb-8 [&_[data-slot=card-footer]]:p-8 [&_[data-slot=card-footer]]:pt-0',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n})\n\ntype CardProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants>\n\nexport const Card = ({ className, variant, size, ...props }: CardProps) => {\n return (\n <div\n data-id=\"Card\"\n data-slot=\"card\"\n className={cn(cardVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { cardVariants }\nexport type { CardProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardHeaderProps = HTMLAttributes<HTMLDivElement>\n\nexport const CardHeader = ({ className, ...props }: CardHeaderProps) => {\n return (\n <div\n data-id=\"CardHeader\"\n data-slot=\"card-header\"\n className={cn('flex flex-col gap-1.5 p-6', className)}\n {...props}\n />\n )\n}\n\nexport type { CardHeaderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardTitleProps = HTMLAttributes<HTMLHeadingElement>\n\nexport const CardTitle = ({ className, ...props }: CardTitleProps) => {\n return (\n <h3\n data-id=\"CardTitle\"\n data-slot=\"card-title\"\n className={cn('font-sans text-xl font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n )\n}\n\nexport type { CardTitleProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardDescriptionProps = HTMLAttributes<HTMLParagraphElement>\n\nexport const CardDescription = ({ className, ...props }: CardDescriptionProps) => {\n return (\n <p\n data-id=\"CardDescription\"\n data-slot=\"card-description\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { CardDescriptionProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardContentProps = HTMLAttributes<HTMLDivElement>\n\nexport const CardContent = ({ className, ...props }: CardContentProps) => {\n return (\n <div\n data-id=\"CardContent\"\n data-slot=\"card-content\"\n className={cn('p-6 pt-0', className)}\n {...props}\n />\n )\n}\n\nexport type { CardContentProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardFooterProps = HTMLAttributes<HTMLDivElement>\n\nexport const CardFooter = ({ className, ...props }: CardFooterProps) => {\n return (\n <div\n data-id=\"CardFooter\"\n data-slot=\"card-footer\"\n className={cn('flex items-center gap-2 p-6 pt-0', className)}\n {...props}\n />\n )\n}\n\nexport type { CardFooterProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\n\nexport const Select = SelectPrimitive.Root\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\n\nexport const SelectGroup = SelectPrimitive.Group\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\n\nexport const SelectValue = SelectPrimitive.Value\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { ChevronDown } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\nconst selectTriggerVariants = cva(\n `flex w-full items-center justify-between gap-2 ${fieldSurface} data-[placeholder]:text-muted-foreground [&_svg]:size-4 [&_svg]:opacity-50`,\n {\n variants: {\n variant: {\n default: 'rounded-md',\n pill: 'rounded-pill',\n filled: 'rounded-md bg-muted',\n },\n size: {\n default: 'h-12 px-5 py-3 text-base',\n sm: 'h-9 px-3 py-1 text-sm',\n md: 'h-11 px-4 py-2 text-base md:text-sm',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\ntype SelectTriggerProps = ComponentProps<typeof SelectPrimitive.Trigger> &\n VariantProps<typeof selectTriggerVariants>\n\nexport const SelectTrigger = ({\n className,\n variant,\n size,\n children,\n ...props\n}: SelectTriggerProps) => {\n return (\n <SelectPrimitive.Trigger\n data-id=\"SelectTrigger\"\n data-slot=\"select-trigger\"\n className={cn(selectTriggerVariants({ variant, size }), className)}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <ChevronDown />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n )\n}\n\nexport { selectTriggerVariants }\nexport type { SelectTriggerProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { SelectScrollDownButton } from './select-scroll-down-button'\nimport { SelectScrollUpButton } from './select-scroll-up-button'\n\ntype SelectContentProps = ComponentProps<typeof SelectPrimitive.Content>\n\nexport const SelectContent = ({\n className,\n children,\n position = 'popper',\n ...props\n}: SelectContentProps) => {\n return (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n data-id=\"SelectContent\"\n data-slot=\"select-content\"\n className={cn(\n 'revit-ui relative z-50 max-h-96 min-w-32 overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)] 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',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n className,\n )}\n position={position}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n 'p-1',\n position === 'popper' &&\n 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n )\n}\n\nexport type { SelectContentProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { ChevronDown } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SelectScrollDownButtonProps = ComponentProps<typeof SelectPrimitive.ScrollDownButton>\n\nexport const SelectScrollDownButton = ({ className, ...props }: SelectScrollDownButtonProps) => {\n return (\n <SelectPrimitive.ScrollDownButton\n data-id=\"SelectScrollDownButton\"\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDown className=\"size-4\" />\n </SelectPrimitive.ScrollDownButton>\n )\n}\n\nexport type { SelectScrollDownButtonProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { ChevronUp } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SelectScrollUpButtonProps = ComponentProps<typeof SelectPrimitive.ScrollUpButton>\n\nexport const SelectScrollUpButton = ({ className, ...props }: SelectScrollUpButtonProps) => {\n return (\n <SelectPrimitive.ScrollUpButton\n data-id=\"SelectScrollUpButton\"\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUp className=\"size-4\" />\n </SelectPrimitive.ScrollUpButton>\n )\n}\n\nexport type { SelectScrollUpButtonProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { Check } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype SelectItemProps = ComponentProps<typeof SelectPrimitive.Item>\n\nexport const SelectItem = ({ className, children, ...props }: SelectItemProps) => {\n return (\n <SelectPrimitive.Item\n data-id=\"SelectItem\"\n data-slot=\"select-item\"\n className={cn(\n `relative flex w-full cursor-default select-none items-center rounded-md py-2 pl-8 pr-2 text-sm outline-none ${motion.surface} focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <SelectPrimitive.ItemIndicator>\n <Check className=\"size-4\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n )\n}\n\nexport type { SelectItemProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SelectLabelProps = ComponentProps<typeof SelectPrimitive.Label>\n\nexport const SelectLabel = ({ className, ...props }: SelectLabelProps) => {\n return (\n <SelectPrimitive.Label\n data-id=\"SelectLabel\"\n className={cn('px-2 py-1.5 text-xs font-semibold uppercase tracking-[0.12em]', className)}\n {...props}\n />\n )\n}\n\nexport type { SelectLabelProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SelectSeparatorProps = ComponentProps<typeof SelectPrimitive.Separator>\n\nexport const SelectSeparator = ({ className, ...props }: SelectSeparatorProps) => {\n return (\n <SelectPrimitive.Separator\n data-id=\"SelectSeparator\"\n className={cn('-mx-1 my-1 h-px bg-border', className)}\n {...props}\n />\n )\n}\n\nexport type { SelectSeparatorProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const Dialog = DialogPrimitive.Root\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const DialogTrigger = DialogPrimitive.Trigger\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport { X } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\nimport { DialogOverlay } from './dialog-overlay'\nimport { DialogPortal } from './dialog-portal'\n\ntype DialogContentProps = ComponentProps<typeof DialogPrimitive.Content>\n\nexport const DialogContent = ({ className, children, ...props }: DialogContentProps) => {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n data-id=\"DialogContent\"\n data-slot=\"dialog-content\"\n className={cn(\n `revit-ui fixed top-1/2 left-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border border-border bg-card p-6 text-card-foreground shadow-[0_24px_48px_rgba(0,0,0,0.12)] ${motion.surface} 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`,\n className,\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close\n data-id=\"DialogClose\"\n className={`absolute top-4 right-4 rounded-pill p-1 opacity-70 ${motion.surface} hover:bg-muted hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`}\n >\n <X className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n )\n}\n\nexport type { DialogContentProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogOverlayProps = ComponentProps<typeof DialogPrimitive.Overlay>\n\nexport const DialogOverlay = ({ className, ...props }: DialogOverlayProps) => {\n return (\n <DialogPrimitive.Overlay\n data-id=\"DialogOverlay\"\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { DialogOverlayProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const DialogPortal = DialogPrimitive.Portal\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogHeaderProps = HTMLAttributes<HTMLDivElement>\n\nexport const DialogHeader = ({ className, ...props }: DialogHeaderProps) => {\n return (\n <div\n data-id=\"DialogHeader\"\n className={cn('flex flex-col gap-1.5 text-center sm:text-left', className)}\n {...props}\n />\n )\n}\n\nexport type { DialogHeaderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogFooterProps = HTMLAttributes<HTMLDivElement>\n\nexport const DialogFooter = ({ className, ...props }: DialogFooterProps) => {\n return (\n <div\n data-id=\"DialogFooter\"\n className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n )\n}\n\nexport type { DialogFooterProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogTitleProps = ComponentProps<typeof DialogPrimitive.Title>\n\nexport const DialogTitle = ({ className, ...props }: DialogTitleProps) => {\n return (\n <DialogPrimitive.Title\n data-id=\"DialogTitle\"\n className={cn('font-sans text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n )\n}\n\nexport type { DialogTitleProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogDescriptionProps = ComponentProps<typeof DialogPrimitive.Description>\n\nexport const DialogDescription = ({ className, ...props }: DialogDescriptionProps) => {\n return (\n <DialogPrimitive.Description\n data-id=\"DialogDescription\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { DialogDescriptionProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const DialogClose = DialogPrimitive.Close\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\nconst labelVariants = cva(\n 'font-sans leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',\n {\n variants: {\n variant: {\n default: 'text-sm font-medium',\n eyebrow: 'text-xs font-bold uppercase tracking-[0.22em] text-brand-gold',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n },\n)\n\ntype LabelProps = ComponentProps<'label'> & VariantProps<typeof labelVariants>\n\nexport const Label = ({ className, variant, ...props }: LabelProps) => {\n return <label data-id=\"Label\" className={cn(labelVariants({ variant }), className)} {...props} />\n}\n\nexport { labelVariants }\nexport type { LabelProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { TextareaHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\nconst textareaVariants = cva(`min-h-24 w-full resize-y ${fieldSurface}`, {\n variants: {\n variant: {\n default: 'rounded-md',\n filled: 'rounded-md bg-muted',\n },\n size: {\n default: 'px-5 py-3 text-base',\n sm: 'min-h-20 px-3 py-2 text-sm',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n})\n\ntype TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> &\n VariantProps<typeof textareaVariants>\n\nexport const Textarea = ({ className, variant, size, ...props }: TextareaProps) => {\n return (\n <textarea\n data-id=\"Textarea\"\n data-slot=\"textarea\"\n className={cn(textareaVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { textareaVariants }\nexport type { TextareaProps }\n","'use client'\n\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox'\nimport { Check } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype CheckboxProps = ComponentProps<typeof CheckboxPrimitive.Root>\n\nexport const Checkbox = ({ className, ...props }: CheckboxProps) => {\n return (\n <CheckboxPrimitive.Root\n data-id=\"Checkbox\"\n data-slot=\"checkbox\"\n className={cn(\n `peer size-5 shrink-0 rounded-sm border border-border bg-card ${motion.surface} hover:border-primary focus-visible:border-primary focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground`,\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator className=\"flex items-center justify-center text-current\">\n <Check className=\"size-3.5 stroke-[3]\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n )\n}\n\nexport type { CheckboxProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst badgeVariants = cva(\n `inline-flex items-center font-sans font-semibold uppercase tracking-[0.12em] ${motion.surface}`,\n {\n variants: {\n variant: {\n default: 'rounded-pill border-2 border-primary bg-primary text-primary-foreground',\n tag: 'rounded-pill border-2 border-border bg-card text-card-foreground hover:border-primary hover:bg-primary/25',\n outline: 'rounded-pill border border-border bg-card text-foreground',\n secondary: 'rounded-pill border-2 border-secondary bg-secondary text-secondary-foreground',\n destructive: 'rounded-pill border-2 border-destructive bg-destructive text-destructive-foreground',\n },\n size: {\n default: 'px-3.5 py-1.5 text-[11px]',\n sm: 'px-2.5 py-1 text-[10px]',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\ntype BadgeProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>\n\nexport const Badge = ({ className, variant, size, ...props }: BadgeProps) => {\n return (\n <span data-id=\"Badge\" className={cn(badgeVariants({ variant, size }), className)} {...props} />\n )\n}\n\nexport { badgeVariants }\nexport type { BadgeProps }\n","'use client'\n\nimport * as SwitchPrimitive from '@radix-ui/react-switch'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype SwitchProps = ComponentProps<typeof SwitchPrimitive.Root>\n\nexport const Switch = ({ className, ...props }: SwitchProps) => {\n return (\n <SwitchPrimitive.Root\n data-id=\"Switch\"\n data-slot=\"switch\"\n className={cn(\n `peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-pill border border-border bg-muted ${motion.surface} focus-visible:border-primary focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary`,\n className,\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-id=\"SwitchThumb\"\n className={`pointer-events-none block size-5 rounded-pill bg-card shadow-sm ${motion.surface} data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5`}\n />\n </SwitchPrimitive.Root>\n )\n}\n\nexport type { SwitchProps }\n","'use client'\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype RadioGroupProps = ComponentProps<typeof RadioGroupPrimitive.Root>\n\nexport const RadioGroup = ({ className, ...props }: RadioGroupProps) => {\n return (\n <RadioGroupPrimitive.Root\n data-id=\"RadioGroup\"\n className={cn('grid gap-2', className)}\n {...props}\n />\n )\n}\n\nexport type { RadioGroupProps }\n","'use client'\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { Circle } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype RadioGroupItemProps = ComponentProps<typeof RadioGroupPrimitive.Item>\n\nexport const RadioGroupItem = ({ className, ...props }: RadioGroupItemProps) => {\n return (\n <RadioGroupPrimitive.Item\n data-id=\"RadioGroupItem\"\n className={cn(\n `aspect-square size-5 rounded-full border border-border bg-card ${motion.surface} hover:border-primary focus-visible:border-primary focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary`,\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"size-2.5 fill-primary text-primary\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n )\n}\n\nexport type { RadioGroupItemProps }\n","'use client'\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\n\nexport const Tabs = TabsPrimitive.Root\n","'use client'\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TabsListProps = ComponentProps<typeof TabsPrimitive.List>\n\nexport const TabsList = ({ className, ...props }: TabsListProps) => {\n return (\n <TabsPrimitive.List\n data-id=\"TabsList\"\n className={cn(\n 'inline-flex items-center gap-1 rounded-pill border border-border bg-card p-1',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { TabsListProps }\n","'use client'\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>\n\nexport const TabsTrigger = ({ className, ...props }: TabsTriggerProps) => {\n return (\n <TabsPrimitive.Trigger\n data-id=\"TabsTrigger\"\n className={cn(\n `inline-flex items-center justify-center rounded-pill px-4 py-2 font-sans text-[11px] font-semibold uppercase tracking-[0.12em] ${motion.surface} hover:bg-muted focus-visible:outline-none focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground`,\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { TabsTriggerProps }\n","'use client'\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype TabsContentProps = ComponentProps<typeof TabsPrimitive.Content>\n\nexport const TabsContent = ({ className, ...props }: TabsContentProps) => {\n return (\n <TabsPrimitive.Content\n data-id=\"TabsContent\"\n className={cn(`mt-4 outline-none ${motion.surface} focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)]`, className)}\n {...props}\n />\n )\n}\n\nexport type { TabsContentProps }\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport type { ComponentProps } from 'react'\n\ntype TooltipProviderProps = ComponentProps<typeof TooltipPrimitive.Provider>\n\nexport const TooltipProvider = ({ delayDuration = 200, ...props }: TooltipProviderProps) => {\n return <TooltipPrimitive.Provider delayDuration={delayDuration} {...props} />\n}\n\nexport type { TooltipProviderProps }\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\n\nexport const Tooltip = TooltipPrimitive.Root\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\n\nexport const TooltipTrigger = TooltipPrimitive.Trigger\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TooltipContentProps = ComponentProps<typeof TooltipPrimitive.Content>\n\nexport const TooltipContent = ({ className, sideOffset = 8, ...props }: TooltipContentProps) => {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-id=\"TooltipContent\"\n sideOffset={sideOffset}\n className={cn(\n 'z-50 rounded-md border border-border bg-card px-3 py-1.5 font-sans text-xs text-card-foreground shadow-[0_12px_24px_rgba(0,0,0,0.08)] 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',\n className,\n )}\n {...props}\n />\n </TooltipPrimitive.Portal>\n )\n}\n\nexport type { TooltipContentProps }\n","import * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SeparatorProps = ComponentProps<typeof SeparatorPrimitive.Root>\n\nexport const Separator = ({\n className,\n orientation = 'horizontal',\n decorative = true,\n ...props\n}: SeparatorProps) => {\n return (\n <SeparatorPrimitive.Root\n data-id=\"Separator\"\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { SeparatorProps }\n","'use client'\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion'\n\nexport const Accordion = AccordionPrimitive.Root\n","'use client'\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AccordionItemProps = ComponentProps<typeof AccordionPrimitive.Item>\n\nexport const AccordionItem = ({ className, ...props }: AccordionItemProps) => {\n return (\n <AccordionPrimitive.Item\n data-id=\"AccordionItem\"\n className={cn('border-b border-border', className)}\n {...props}\n />\n )\n}\n\nexport type { AccordionItemProps }\n","'use client'\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion'\nimport { ChevronDown } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype AccordionTriggerProps = ComponentProps<typeof AccordionPrimitive.Trigger>\n\nexport const AccordionTrigger = ({ className, children, ...props }: AccordionTriggerProps) => {\n return (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n data-id=\"AccordionTrigger\"\n className={cn(\n `flex flex-1 items-center justify-between py-4 text-left font-sans text-sm font-semibold ${motion.surface} hover:text-brand-gold focus-visible:outline-none focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] [&[data-state=open]>svg]:rotate-180`,\n className,\n )}\n {...props}\n >\n {children}\n <ChevronDown className={`size-4 shrink-0 ${motion.surface}`} />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n )\n}\n\nexport type { AccordionTriggerProps }\n","'use client'\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AccordionContentProps = ComponentProps<typeof AccordionPrimitive.Content>\n\nexport const AccordionContent = ({ className, children, ...props }: AccordionContentProps) => {\n return (\n <AccordionPrimitive.Content\n data-id=\"AccordionContent\"\n className=\"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n {...props}\n >\n <div className={cn('pb-4 text-muted-foreground', className)}>{children}</div>\n </AccordionPrimitive.Content>\n )\n}\n\nexport type { AccordionContentProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\nconst alertVariants = cva('relative w-full rounded-lg border px-4 py-3 font-sans text-sm', {\n variants: {\n variant: {\n default: 'border-border bg-card text-card-foreground',\n warning: 'border-primary/60 bg-primary/15 text-foreground',\n destructive: 'border-destructive/40 bg-destructive/10 text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n})\n\ntype AlertProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n\nexport const Alert = ({ className, variant, ...props }: AlertProps) => {\n return (\n <div data-id=\"Alert\" role=\"alert\" className={cn(alertVariants({ variant }), className)} {...props} />\n )\n}\n\nexport { alertVariants }\nexport type { AlertProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertTitleProps = HTMLAttributes<HTMLHeadingElement>\n\nexport const AlertTitle = ({ className, ...props }: AlertTitleProps) => {\n return (\n <h5\n data-id=\"AlertTitle\"\n className={cn('mb-1 font-sans text-sm font-semibold tracking-tight', className)}\n {...props}\n />\n )\n}\n\nexport type { AlertTitleProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDescriptionProps = HTMLAttributes<HTMLParagraphElement>\n\nexport const AlertDescription = ({ className, ...props }: AlertDescriptionProps) => {\n return (\n <p data-id=\"AlertDescription\" className={cn('text-sm text-muted-foreground', className)} {...props} />\n )\n}\n\nexport type { AlertDescriptionProps }\n","'use client'\n\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AvatarProps = ComponentProps<typeof AvatarPrimitive.Root>\n\nexport const Avatar = ({ className, ...props }: AvatarProps) => {\n return (\n <AvatarPrimitive.Root\n data-id=\"Avatar\"\n className={cn('relative flex size-10 shrink-0 overflow-hidden rounded-pill', className)}\n {...props}\n />\n )\n}\n\nexport type { AvatarProps }\n","'use client'\n\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AvatarImageProps = ComponentProps<typeof AvatarPrimitive.Image>\n\nexport const AvatarImage = ({ className, ...props }: AvatarImageProps) => {\n return (\n <AvatarPrimitive.Image\n data-id=\"AvatarImage\"\n className={cn('aspect-square size-full object-cover', className)}\n {...props}\n />\n )\n}\n\nexport type { AvatarImageProps }\n","'use client'\n\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AvatarFallbackProps = ComponentProps<typeof AvatarPrimitive.Fallback>\n\nexport const AvatarFallback = ({ className, ...props }: AvatarFallbackProps) => {\n return (\n <AvatarPrimitive.Fallback\n data-id=\"AvatarFallback\"\n className={cn(\n 'flex size-full items-center justify-center bg-primary font-sans text-xs font-semibold uppercase text-primary-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { AvatarFallbackProps }\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\n\nexport const DropdownMenu = DropdownMenuPrimitive.Root\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\n\nexport const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DropdownMenuContentProps = ComponentProps<typeof DropdownMenuPrimitive.Content>\n\nexport const DropdownMenuContent = ({\n className,\n sideOffset = 8,\n ...props\n}: DropdownMenuContentProps) => {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n data-id=\"DropdownMenuContent\"\n sideOffset={sideOffset}\n className={cn(\n 'z-50 min-w-40 overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)] 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',\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n )\n}\n\nexport type { DropdownMenuContentProps }\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype DropdownMenuItemProps = ComponentProps<typeof DropdownMenuPrimitive.Item>\n\nexport const DropdownMenuItem = ({ className, ...props }: DropdownMenuItemProps) => {\n return (\n <DropdownMenuPrimitive.Item\n data-id=\"DropdownMenuItem\"\n className={cn(\n `relative flex cursor-default items-center rounded-md px-3 py-2 text-sm outline-none ${motion.surface} focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { DropdownMenuItemProps }\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DropdownMenuLabelProps = ComponentProps<typeof DropdownMenuPrimitive.Label>\n\nexport const DropdownMenuLabel = ({ className, ...props }: DropdownMenuLabelProps) => {\n return (\n <DropdownMenuPrimitive.Label\n data-id=\"DropdownMenuLabel\"\n className={cn('px-3 py-2 text-xs font-semibold uppercase tracking-[0.12em]', className)}\n {...props}\n />\n )\n}\n\nexport type { DropdownMenuLabelProps }\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DropdownMenuSeparatorProps = ComponentProps<typeof DropdownMenuPrimitive.Separator>\n\nexport const DropdownMenuSeparator = ({ className, ...props }: DropdownMenuSeparatorProps) => {\n return (\n <DropdownMenuPrimitive.Separator\n data-id=\"DropdownMenuSeparator\"\n className={cn('-mx-1 my-1 h-px bg-border', className)}\n {...props}\n />\n )\n}\n\nexport type { DropdownMenuSeparatorProps }\n","'use client'\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover'\n\nexport const Popover = PopoverPrimitive.Root\n","'use client'\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover'\n\nexport const PopoverTrigger = PopoverPrimitive.Trigger\n","'use client'\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype PopoverContentProps = ComponentProps<typeof PopoverPrimitive.Content>\n\nexport const PopoverContent = ({\n className,\n align = 'center',\n sideOffset = 8,\n ...props\n}: PopoverContentProps) => {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-id=\"PopoverContent\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 w-72 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)] outline-none 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',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n )\n}\n\nexport type { PopoverContentProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const Sheet = DialogPrimitive.Root\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const SheetTrigger = DialogPrimitive.Trigger\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { X } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\nimport { DialogOverlay } from './dialog-overlay'\nimport { DialogPortal } from './dialog-portal'\n\nconst sheetContentVariants = cva(\n `fixed z-50 flex flex-col gap-4 border-border bg-card p-6 text-card-foreground shadow-[0_24px_48px_rgba(0,0,0,0.12)] ${motion.surface} data-[state=open]:animate-in data-[state=closed]:animate-out`,\n {\n variants: {\n side: {\n right:\n 'inset-y-0 right-0 h-full w-full max-w-sm border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right',\n left: 'inset-y-0 left-0 h-full w-full max-w-sm border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left',\n top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top',\n bottom:\n 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom',\n },\n },\n defaultVariants: {\n side: 'right',\n },\n },\n)\n\ntype SheetContentProps = ComponentProps<typeof DialogPrimitive.Content> &\n VariantProps<typeof sheetContentVariants>\n\nexport const SheetContent = ({ className, children, side, ...props }: SheetContentProps) => {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n data-id=\"SheetContent\"\n className={cn(sheetContentVariants({ side }), className)}\n {...props}\n >\n {children}\n <DialogPrimitive.Close\n data-id=\"SheetClose\"\n className={`absolute top-4 right-4 rounded-pill p-1 opacity-70 ${motion.surface} hover:bg-muted hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`}\n >\n <X className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n )\n}\n\nexport { sheetContentVariants }\nexport type { SheetContentProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SheetHeaderProps = HTMLAttributes<HTMLDivElement>\n\nexport const SheetHeader = ({ className, ...props }: SheetHeaderProps) => {\n return (\n <div data-id=\"SheetHeader\" className={cn('flex flex-col gap-1.5 pr-8', className)} {...props} />\n )\n}\n\nexport type { SheetHeaderProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SheetTitleProps = ComponentProps<typeof DialogPrimitive.Title>\n\nexport const SheetTitle = ({ className, ...props }: SheetTitleProps) => {\n return (\n <DialogPrimitive.Title\n data-id=\"SheetTitle\"\n className={cn('font-sans text-lg font-semibold tracking-tight', className)}\n {...props}\n />\n )\n}\n\nexport type { SheetTitleProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SheetDescriptionProps = ComponentProps<typeof DialogPrimitive.Description>\n\nexport const SheetDescription = ({ className, ...props }: SheetDescriptionProps) => {\n return (\n <DialogPrimitive.Description\n data-id=\"SheetDescription\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { SheetDescriptionProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype SkeletonProps = HTMLAttributes<HTMLDivElement>\n\nexport const Skeleton = ({ className, ...props }: SkeletonProps) => {\n return (\n <div\n data-id=\"Skeleton\"\n className={cn(`animate-pulse rounded-md bg-muted ${motion.surface}`, className)}\n {...props}\n />\n )\n}\n\nexport type { SkeletonProps }\n","'use client'\n\nimport * as SliderPrimitive from '@radix-ui/react-slider'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype SliderProps = ComponentProps<typeof SliderPrimitive.Root>\n\nexport const Slider = ({ className, ...props }: SliderProps) => {\n return (\n <SliderPrimitive.Root\n data-id=\"Slider\"\n className={cn('relative flex w-full touch-none items-center select-none', className)}\n {...props}\n >\n <SliderPrimitive.Track\n data-id=\"SliderTrack\"\n className=\"relative h-2 w-full grow overflow-hidden rounded-pill bg-muted\"\n >\n <SliderPrimitive.Range className=\"absolute h-full bg-primary\" />\n </SliderPrimitive.Track>\n <SliderPrimitive.Thumb\n data-id=\"SliderThumb\"\n className={`block size-5 rounded-pill border border-primary bg-card ${motion.surface} focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`}\n />\n </SliderPrimitive.Root>\n )\n}\n\nexport type { SliderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableProps = HTMLAttributes<HTMLTableElement>\n\nexport const Table = ({ className, ...props }: TableProps) => {\n return (\n <div data-id=\"TableWrap\" className=\"relative w-full overflow-auto\">\n <table data-id=\"Table\" className={cn('w-full caption-bottom text-sm', className)} {...props} />\n </div>\n )\n}\n\nexport type { TableProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableHeaderProps = HTMLAttributes<HTMLTableSectionElement>\n\nexport const TableHeader = ({ className, ...props }: TableHeaderProps) => {\n return <thead data-id=\"TableHeader\" className={cn('[&_tr]:border-b', className)} {...props} />\n}\n\nexport type { TableHeaderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableBodyProps = HTMLAttributes<HTMLTableSectionElement>\n\nexport const TableBody = ({ className, ...props }: TableBodyProps) => {\n return (\n <tbody data-id=\"TableBody\" className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n )\n}\n\nexport type { TableBodyProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableFooterProps = HTMLAttributes<HTMLTableSectionElement>\n\nexport const TableFooter = ({ className, ...props }: TableFooterProps) => {\n return (\n <tfoot\n data-id=\"TableFooter\"\n className={cn('border-t bg-muted/50 font-medium [&>tr]:last:border-b-0', className)}\n {...props}\n />\n )\n}\n\nexport type { TableFooterProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype TableRowProps = HTMLAttributes<HTMLTableRowElement>\n\nexport const TableRow = ({ className, ...props }: TableRowProps) => {\n return (\n <tr\n data-id=\"TableRow\"\n className={cn(\n `border-b border-border ${motion.surface} hover:bg-muted/50 data-[state=selected]:bg-muted`,\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { TableRowProps }\n","import type { ThHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableHeadProps = ThHTMLAttributes<HTMLTableCellElement>\n\nexport const TableHead = ({ className, ...props }: TableHeadProps) => {\n return (\n <th\n data-id=\"TableHead\"\n className={cn(\n 'h-12 px-4 text-left align-middle font-sans text-xs font-semibold uppercase tracking-[0.12em] text-muted-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { TableHeadProps }\n","import type { TdHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableCellProps = TdHTMLAttributes<HTMLTableCellElement>\n\nexport const TableCell = ({ className, ...props }: TableCellProps) => {\n return <td data-id=\"TableCell\" className={cn('p-4 align-middle', className)} {...props} />\n}\n\nexport type { TableCellProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableCaptionProps = HTMLAttributes<HTMLTableCaptionElement>\n\nexport const TableCaption = ({ className, ...props }: TableCaptionProps) => {\n return (\n <caption\n data-id=\"TableCaption\"\n className={cn('mt-4 text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { TableCaptionProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype PaginationProps = ComponentProps<'nav'>\n\nexport const Pagination = ({ className, ...props }: PaginationProps) => {\n return (\n <nav\n data-id=\"Pagination\"\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n )\n}\n\nexport type { PaginationProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype PaginationContentProps = ComponentProps<'ul'>\n\nexport const PaginationContent = ({ className, ...props }: PaginationContentProps) => {\n return (\n <ul data-id=\"PaginationContent\" className={cn('flex flex-row items-center gap-1', className)} {...props} />\n )\n}\n\nexport type { PaginationContentProps }\n","import type { ComponentProps } from 'react'\n\ntype PaginationItemProps = ComponentProps<'li'>\n\nexport const PaginationItem = (props: PaginationItemProps) => {\n return <li data-id=\"PaginationItem\" {...props} />\n}\n\nexport type { PaginationItemProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { buttonVariants } from './button'\n\ntype PaginationLinkProps = ComponentProps<'a'> & {\n isActive?: boolean\n}\n\nexport const PaginationLink = ({ className, isActive, ...props }: PaginationLinkProps) => {\n return (\n <a\n data-id=\"PaginationLink\"\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({ variant: isActive ? 'default' : 'outline', size: 'icon' }),\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { PaginationLinkProps }\n","import { ChevronLeft } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { PaginationLink } from './pagination-link'\n\ntype PaginationPreviousProps = ComponentProps<typeof PaginationLink>\n\nexport const PaginationPrevious = ({ className, ...props }: PaginationPreviousProps) => {\n return (\n <PaginationLink\n aria-label=\"Go to previous page\"\n className={cn('w-auto gap-1 px-3', className)}\n {...props}\n >\n <ChevronLeft className=\"size-4\" />\n <span>Prev</span>\n </PaginationLink>\n )\n}\n\nexport type { PaginationPreviousProps }\n","import { ChevronRight } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { PaginationLink } from './pagination-link'\n\ntype PaginationNextProps = ComponentProps<typeof PaginationLink>\n\nexport const PaginationNext = ({ className, ...props }: PaginationNextProps) => {\n return (\n <PaginationLink aria-label=\"Go to next page\" className={cn('w-auto gap-1 px-3', className)} {...props}>\n <span>Next</span>\n <ChevronRight className=\"size-4\" />\n </PaginationLink>\n )\n}\n\nexport type { PaginationNextProps }\n","import { MoreHorizontal } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype PaginationEllipsisProps = ComponentProps<'span'>\n\nexport const PaginationEllipsis = ({ className, ...props }: PaginationEllipsisProps) => {\n return (\n <span\n data-id=\"PaginationEllipsis\"\n aria-hidden\n className={cn('flex size-9 items-center justify-center', className)}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n )\n}\n\nexport type { PaginationEllipsisProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbProps = ComponentProps<'nav'>\n\nexport const Breadcrumb = ({ ...props }: BreadcrumbProps) => {\n return <nav data-id=\"Breadcrumb\" aria-label=\"breadcrumb\" {...props} />\n}\n\nexport type { BreadcrumbProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbListProps = ComponentProps<'ol'>\n\nexport const BreadcrumbList = ({ className, ...props }: BreadcrumbListProps) => {\n return (\n <ol\n data-id=\"BreadcrumbList\"\n className={cn('flex flex-wrap items-center gap-1.5 text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { BreadcrumbListProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbItemProps = ComponentProps<'li'>\n\nexport const BreadcrumbItem = ({ className, ...props }: BreadcrumbItemProps) => {\n return <li data-id=\"BreadcrumbItem\" className={cn('inline-flex items-center gap-1.5', className)} {...props} />\n}\n\nexport type { BreadcrumbItemProps }\n","import { Slot } from '@radix-ui/react-slot'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype BreadcrumbLinkProps = ComponentProps<'a'> & {\n asChild?: boolean\n}\n\nexport const BreadcrumbLink = ({ asChild, className, ...props }: BreadcrumbLinkProps) => {\n const Comp = asChild ? Slot : 'a'\n return (\n <Comp\n data-id=\"BreadcrumbLink\"\n className={cn(`${motion.surface} hover:text-foreground`, className)}\n {...props}\n />\n )\n}\n\nexport type { BreadcrumbLinkProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbPageProps = ComponentProps<'span'>\n\nexport const BreadcrumbPage = ({ className, ...props }: BreadcrumbPageProps) => {\n return (\n <span\n data-id=\"BreadcrumbPage\"\n role=\"link\"\n aria-disabled=\"true\"\n aria-current=\"page\"\n className={cn('font-medium text-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { BreadcrumbPageProps }\n","import { ChevronRight } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbSeparatorProps = ComponentProps<'li'>\n\nexport const BreadcrumbSeparator = ({ children, className, ...props }: BreadcrumbSeparatorProps) => {\n return (\n <li data-id=\"BreadcrumbSeparator\" role=\"presentation\" aria-hidden className={cn('[&>svg]:size-3.5', className)} {...props}>\n {children ?? <ChevronRight />}\n </li>\n )\n}\n\nexport type { BreadcrumbSeparatorProps }\n","'use client'\n\nimport { createContext, useContext, type ComponentProps } from 'react'\nimport {\n Controller,\n type ControllerProps,\n type FieldPath,\n type FieldValues,\n FormProvider,\n useFormContext,\n} from 'react-hook-form'\n\nexport const Form = FormProvider\n\ntype FormFieldContextValue<\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n> = {\n name: TName\n}\n\nconst FormFieldContext = createContext<FormFieldContextValue>({} as FormFieldContextValue)\n\nexport const FormField = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n>({\n ...props\n}: ControllerProps<TFieldValues, TName>) => {\n return (\n <FormFieldContext value={{ name: props.name }}>\n <Controller {...props} />\n </FormFieldContext>\n )\n}\n\ntype FormItemContextValue = {\n id: string\n}\n\nconst FormItemContext = createContext<FormItemContextValue>({} as FormItemContextValue)\n\nexport const useFormField = () => {\n const fieldContext = useContext(FormFieldContext)\n const itemContext = useContext(FormItemContext)\n const { getFieldState, formState } = useFormContext()\n const fieldState = getFieldState(fieldContext.name, formState)\n if (!fieldContext.name) {\n throw new Error('useFormField must be used within FormField')\n }\n const { id } = itemContext\n return {\n id,\n name: fieldContext.name,\n formItemId: `${id}-form-item`,\n formDescriptionId: `${id}-form-item-description`,\n formMessageId: `${id}-form-item-message`,\n ...fieldState,\n }\n}\n\nexport { useForm } from 'react-hook-form'\nexport { FormItemContext }\nexport type { FormFieldContextValue, ComponentProps }\n","'use client'\n\nimport { Eye, EyeOff } from 'lucide-react'\nimport { useState, type ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { Input } from './input'\n\ntype PasswordInputProps = Omit<ComponentProps<typeof Input>, 'type'> & {\n showPasswordToggle?: boolean\n}\n\nexport const PasswordInput = ({\n className,\n showPasswordToggle = true,\n ...props\n}: PasswordInputProps) => {\n const [isVisible, isVisibleSetter] = useState(false)\n\n return (\n <div className=\"relative\" data-id=\"PasswordInput\">\n <Input\n type={isVisible ? 'text' : 'password'}\n className={cn(showPasswordToggle && 'pr-12', className)}\n {...props}\n />\n {showPasswordToggle ? (\n <button\n type=\"button\"\n className=\"absolute top-1/2 right-4 -translate-y-1/2 text-muted-foreground hover:text-foreground\"\n aria-label={isVisible ? 'Hide password' : 'Show password'}\n onClick={() => isVisibleSetter((current) => !current)}\n >\n {isVisible ? <EyeOff className=\"size-5\" /> : <Eye className=\"size-5\" />}\n </button>\n ) : null}\n </div>\n )\n}\n\nexport type { PasswordInputProps }\n","'use client'\n\nimport { Slot } from '@radix-ui/react-slot'\nimport type { ComponentProps } from 'react'\nimport { useFormField } from './form'\n\ntype FormControlProps = ComponentProps<typeof Slot>\n\nexport const FormControl = ({ ...props }: FormControlProps) => {\n const { error, formItemId, formDescriptionId, formMessageId } = useFormField()\n return (\n <Slot\n data-id=\"FormControl\"\n id={formItemId}\n aria-describedby={!error ? formDescriptionId : `${formDescriptionId} ${formMessageId}`}\n aria-invalid={!!error}\n {...props}\n />\n )\n}\n\nexport type { FormControlProps }\n","'use client'\n\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { useFormField } from './form'\n\ntype FormDescriptionProps = HTMLAttributes<HTMLParagraphElement>\n\nexport const FormDescription = ({ className, ...props }: FormDescriptionProps) => {\n const { formDescriptionId } = useFormField()\n return (\n <p\n data-id=\"FormDescription\"\n id={formDescriptionId}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { FormDescriptionProps }\n","'use client'\n\nimport { useId, type HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { FormItemContext } from './form'\n\ntype FormItemProps = HTMLAttributes<HTMLDivElement>\n\nexport const FormItem = ({ className, ...props }: FormItemProps) => {\n const id = useId()\n return (\n <FormItemContext value={{ id }}>\n <div data-id=\"FormItem\" className={cn('flex flex-col gap-2', className)} {...props} />\n </FormItemContext>\n )\n}\n\nexport type { FormItemProps }\n","'use client'\n\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { Label } from './label'\nimport { useFormField } from './form'\n\ntype FormLabelProps = ComponentProps<typeof Label>\n\nexport const FormLabel = ({ className, ...props }: FormLabelProps) => {\n const { error, formItemId } = useFormField()\n return (\n <Label\n data-id=\"FormLabel\"\n htmlFor={formItemId}\n className={cn(error && 'text-destructive', className)}\n {...props}\n />\n )\n}\n\nexport type { FormLabelProps }\n","'use client'\n\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { useFormField } from './form'\n\ntype FormMessageProps = HTMLAttributes<HTMLParagraphElement>\n\nexport const FormMessage = ({ className, children, ...props }: FormMessageProps) => {\n const { error, formMessageId } = useFormField()\n const body = error ? String(error.message ?? '') : children\n if (!body) {\n return null\n }\n return (\n <p\n data-id=\"FormMessage\"\n id={formMessageId}\n className={cn('text-sm font-medium text-destructive', className)}\n {...props}\n >\n {body}\n </p>\n )\n}\n\nexport type { FormMessageProps }\n","'use client'\n\nimport type { DefaultValues, FieldValues, Resolver } from 'react-hook-form'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\nimport { Checkbox } from './checkbox'\nimport {\n Form,\n FormField,\n useForm,\n} from './form'\nimport { FormControl } from './form-control'\nimport { FormDescription } from './form-description'\nimport { FormItem } from './form-item'\nimport { FormLabel } from './form-label'\nimport { FormMessage } from './form-message'\nimport { Input, type InputProps } from './input'\nimport { Label } from './label'\nimport { PasswordInput, type PasswordInputProps } from './password-input'\nimport { RadioGroup } from './radio-group'\nimport { RadioGroupItem } from './radio-group-item'\nimport { Select } from './select'\nimport { SelectContent } from './select-content'\nimport { SelectItem } from './select-item'\nimport { SelectTrigger } from './select-trigger'\nimport { SelectValue } from './select-value'\nimport { Switch } from './switch'\nimport { Textarea, type TextareaProps } from './textarea'\n\ntype RevitFormOption = {\n value: string\n label: string\n}\n\ntype RevitFormFieldBase = {\n name: string\n label: string\n description?: string\n}\n\ntype RevitFormForgotPassword = {\n label?: string\n href?: string\n onClick?: () => void\n}\n\ntype RevitFormField =\n | (RevitFormFieldBase & {\n type: 'input'\n placeholder?: string\n inputProps?: Omit<InputProps, 'name' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'ref'>\n })\n | (RevitFormFieldBase & {\n type: 'password'\n placeholder?: string\n showPasswordToggle?: boolean\n forgotPassword?: RevitFormForgotPassword\n inputProps?: Omit<PasswordInputProps, 'name' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'ref' | 'showPasswordToggle'>\n })\n | (RevitFormFieldBase & {\n type: 'textarea'\n placeholder?: string\n textareaProps?: Omit<TextareaProps, 'name' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'ref'>\n })\n | (RevitFormFieldBase & { type: 'checkbox' })\n | (RevitFormFieldBase & { type: 'switch' })\n | (RevitFormFieldBase & {\n type: 'select'\n placeholder?: string\n options: RevitFormOption[]\n })\n | (RevitFormFieldBase & {\n type: 'radio'\n options: RevitFormOption[]\n })\n\ntype RevitFormProps<TFieldValues extends FieldValues = FieldValues> = {\n defaultValues: DefaultValues<TFieldValues>\n fields: RevitFormField[]\n onSubmit: (values: TFieldValues) => void | Promise<void>\n resolver?: Resolver<TFieldValues>\n submitLabel?: string\n hideSubmit?: boolean\n className?: string\n fieldClassName?: string\n}\n\nconst RevitFormFieldControl = ({\n field,\n config,\n}: {\n field: { value: unknown; onChange: (value: unknown) => void; onBlur: () => void; name: string }\n config: RevitFormField\n}) => {\n switch (config.type) {\n case 'input':\n return (\n <Input\n placeholder={config.placeholder}\n {...config.inputProps}\n name={field.name}\n value={(field.value as string) ?? ''}\n onBlur={field.onBlur}\n onChange={field.onChange}\n />\n )\n case 'password':\n return (\n <PasswordInput\n placeholder={config.placeholder}\n showPasswordToggle={config.showPasswordToggle ?? true}\n {...config.inputProps}\n name={field.name}\n value={(field.value as string) ?? ''}\n onBlur={field.onBlur}\n onChange={field.onChange}\n />\n )\n case 'textarea':\n return (\n <Textarea\n placeholder={config.placeholder}\n {...config.textareaProps}\n name={field.name}\n value={(field.value as string) ?? ''}\n onBlur={field.onBlur}\n onChange={field.onChange}\n />\n )\n case 'checkbox':\n return (\n <Checkbox\n checked={Boolean(field.value)}\n name={field.name}\n onBlur={field.onBlur}\n onCheckedChange={field.onChange}\n />\n )\n case 'switch':\n return (\n <Switch\n checked={Boolean(field.value)}\n name={field.name}\n onBlur={field.onBlur}\n onCheckedChange={field.onChange}\n />\n )\n case 'select':\n return (\n <Select onValueChange={field.onChange} value={(field.value as string) ?? ''}>\n <FormControl>\n <SelectTrigger>\n <SelectValue placeholder={config.placeholder} />\n </SelectTrigger>\n </FormControl>\n <SelectContent>\n {config.options.map((option, index) => (\n <SelectItem key={`${config.name}-${option.value}--${index}`} value={option.value}>\n {option.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n )\n case 'radio':\n return (\n <RadioGroup onValueChange={field.onChange} value={(field.value as string) ?? ''}>\n {config.options.map((option, index) => {\n const optionId = `${config.name}-${option.value}--${index}`\n return (\n <div key={optionId} className=\"flex items-center gap-2\">\n <RadioGroupItem id={optionId} value={option.value} />\n <Label htmlFor={optionId}>{option.label}</Label>\n </div>\n )\n })}\n </RadioGroup>\n )\n default:\n return null\n }\n}\n\nconst isInlineField = (type: RevitFormField['type']) => type === 'checkbox' || type === 'switch'\n\nconst RevitFormFieldLabel = ({ config }: { config: RevitFormField }) => {\n if (config.type !== 'password' || !config.forgotPassword) {\n return <FormLabel>{config.label}</FormLabel>\n }\n\n const forgotLabel = config.forgotPassword.label ?? 'Forgot Password?'\n const linkClassName = 'text-sm font-normal text-muted-foreground hover:text-foreground'\n\n return (\n <div className=\"flex items-center justify-between\">\n <FormLabel className=\"mb-0\">{config.label}</FormLabel>\n {config.forgotPassword.href ? (\n <a className={linkClassName} href={config.forgotPassword.href}>\n {forgotLabel}\n </a>\n ) : (\n <button className={linkClassName} type=\"button\" onClick={config.forgotPassword.onClick}>\n {forgotLabel}\n </button>\n )}\n </div>\n )\n}\n\nexport const RevitForm = <TFieldValues extends FieldValues = FieldValues>({\n className,\n defaultValues,\n fieldClassName,\n fields,\n hideSubmit = false,\n onSubmit,\n resolver,\n submitLabel = 'Submit',\n}: RevitFormProps<TFieldValues>) => {\n const form = useForm<TFieldValues>({\n defaultValues,\n resolver,\n })\n\n return (\n <Form {...form}>\n <form\n className={cn('flex flex-col gap-4', className)}\n data-id=\"RevitForm\"\n onSubmit={form.handleSubmit(onSubmit)}\n >\n {fields.map((config) => (\n <FormField\n key={config.name}\n control={form.control}\n name={config.name as never}\n render={({ field }) => (\n <FormItem\n className={cn(isInlineField(config.type) && 'flex flex-row items-center gap-3 space-y-0', fieldClassName)}\n >\n {!isInlineField(config.type) ? <RevitFormFieldLabel config={config} /> : null}\n {config.type === 'select' ? (\n <RevitFormFieldControl config={config} field={field} />\n ) : (\n <FormControl>\n <RevitFormFieldControl config={config} field={field} />\n </FormControl>\n )}\n {isInlineField(config.type) ? (\n <div className=\"space-y-1 leading-none\">\n <FormLabel className=\"font-normal\">{config.label}</FormLabel>\n {config.description ? <FormDescription>{config.description}</FormDescription> : null}\n </div>\n ) : config.description ? (\n <FormDescription>{config.description}</FormDescription>\n ) : null}\n <FormMessage />\n </FormItem>\n )}\n />\n ))}\n {!hideSubmit ? <Button type=\"submit\">{submitLabel}</Button> : null}\n </form>\n </Form>\n )\n}\n\nexport type { RevitFormField, RevitFormForgotPassword, RevitFormOption, RevitFormProps }\n","'use client'\n\nimport { Toaster as SonnerToaster, toast } from 'sonner'\nimport type { ComponentProps } from 'react'\n\ntype ToasterProps = ComponentProps<typeof SonnerToaster>\n\nexport const Toaster = ({ ...props }: ToasterProps) => {\n return (\n <SonnerToaster\n data-id=\"Toaster\"\n theme=\"light\"\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n 'group toast border border-border bg-card text-card-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)]',\n description: 'text-muted-foreground',\n actionButton: 'bg-primary text-primary-foreground',\n cancelButton: 'bg-muted text-muted-foreground',\n },\n }}\n {...props}\n />\n )\n}\n\nexport { toast }\nexport type { ToasterProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CommandProps = ComponentProps<typeof CommandPrimitive>\n\nexport const Command = ({ className, ...props }: CommandProps) => {\n return (\n <CommandPrimitive\n data-id=\"Command\"\n className={cn(\n 'flex h-full w-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { CommandProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport { Search } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\ntype CommandInputProps = ComponentProps<typeof CommandPrimitive.Input>\n\nexport const CommandInput = ({ className, ...props }: CommandInputProps) => {\n return (\n <div className=\"flex items-center border-b border-border px-3\" data-id=\"CommandInputWrap\">\n <Search className=\"mr-2 size-4 shrink-0 opacity-50\" />\n <CommandPrimitive.Input\n data-id=\"CommandInput\"\n className={cn(\n `flex h-11 w-full bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`,\n className,\n )}\n {...props}\n />\n </div>\n )\n}\n\nexport { fieldSurface }\nexport type { CommandInputProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CommandListProps = ComponentProps<typeof CommandPrimitive.List>\n\nexport const CommandList = ({ className, ...props }: CommandListProps) => {\n return (\n <CommandPrimitive.List\n data-id=\"CommandList\"\n className={cn('max-h-64 overflow-y-auto overflow-x-hidden p-1', className)}\n {...props}\n />\n )\n}\n\nexport type { CommandListProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CommandEmptyProps = ComponentProps<typeof CommandPrimitive.Empty>\n\nexport const CommandEmpty = ({ className, ...props }: CommandEmptyProps) => {\n return (\n <CommandPrimitive.Empty\n data-id=\"CommandEmpty\"\n className={cn('py-6 text-center text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { CommandEmptyProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CommandGroupProps = ComponentProps<typeof CommandPrimitive.Group>\n\nexport const CommandGroup = ({ className, ...props }: CommandGroupProps) => {\n return (\n <CommandPrimitive.Group\n data-id=\"CommandGroup\"\n className={cn(\n 'overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-[0.12em] [&_[cmdk-group-heading]]:text-muted-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { CommandGroupProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype CommandItemProps = ComponentProps<typeof CommandPrimitive.Item>\n\nexport const CommandItem = ({ className, ...props }: CommandItemProps) => {\n return (\n <CommandPrimitive.Item\n data-id=\"CommandItem\"\n className={cn(\n `relative flex cursor-default items-center rounded-md px-3 py-2 text-sm outline-none ${motion.surface} data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50`,\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { CommandItemProps }\n","'use client'\n\nimport { useState } from 'react'\nimport { Check, ChevronsUpDown } from 'lucide-react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\nimport { Command } from './command'\nimport { CommandEmpty } from './command-empty'\nimport { CommandInput } from './command-input'\nimport { CommandItem } from './command-item'\nimport { CommandList } from './command-list'\nimport { Popover } from './popover'\nimport { PopoverContent } from './popover-content'\nimport { PopoverTrigger } from './popover-trigger'\n\ntype ComboboxOption = {\n value: string\n label: string\n}\n\ntype ComboboxProps = {\n options: ComboboxOption[]\n value?: string\n onValueChange?: (value: string) => void\n placeholder?: string\n emptyText?: string\n className?: string\n}\n\nexport const Combobox = ({\n options,\n value,\n onValueChange,\n placeholder = 'Select…',\n emptyText = 'No results.',\n className,\n}: ComboboxProps) => {\n const [open, openSetter] = useState(false)\n const selected = options.find((option) => option.value === value)\n\n return (\n <Popover open={open} onOpenChange={openSetter}>\n <PopoverTrigger asChild>\n <Button\n data-id=\"Combobox\"\n variant=\"outline\"\n role=\"combobox\"\n aria-expanded={open}\n className={cn('w-full justify-between normal-case tracking-normal', className)}\n >\n {selected?.label ?? placeholder}\n <ChevronsUpDown className=\"size-4 opacity-50\" />\n </Button>\n </PopoverTrigger>\n <PopoverContent className=\"w-[var(--radix-popover-trigger-width)] p-0\">\n <Command>\n <CommandInput placeholder={placeholder} />\n <CommandList>\n <CommandEmpty>{emptyText}</CommandEmpty>\n {options.map((option) => (\n <CommandItem\n key={option.value}\n value={option.value}\n onSelect={() => {\n onValueChange?.(option.value === value ? '' : option.value)\n openSetter(false)\n }}\n >\n <Check className={cn('mr-2 size-4', value === option.value ? 'opacity-100' : 'opacity-0')} />\n {option.label}\n </CommandItem>\n ))}\n </CommandList>\n </Command>\n </PopoverContent>\n </Popover>\n )\n}\n\nexport type { ComboboxProps, ComboboxOption }\n","'use client'\n\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu'\n\nexport const ContextMenu = ContextMenuPrimitive.Root\n","'use client'\n\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu'\n\nexport const ContextMenuTrigger = ContextMenuPrimitive.Trigger\n","'use client'\n\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { overlayPanel } from '../theme/overlay'\n\ntype ContextMenuContentProps = ComponentProps<typeof ContextMenuPrimitive.Content>\n\nexport const ContextMenuContent = ({ className, ...props }: ContextMenuContentProps) => {\n return (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n data-id=\"ContextMenuContent\"\n className={cn(overlayPanel, 'min-w-40 p-1', className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n )\n}\n\nexport type { ContextMenuContentProps }\n","import { motion } from './motion'\n\nexport const overlayPanel = `z-50 overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)] ${motion.surface}`\n\nexport const menuItem = `relative flex cursor-default items-center rounded-md px-3 py-2 text-sm outline-none ${motion.surface} focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`\n","'use client'\n\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { menuItem } from '../theme/overlay'\n\ntype ContextMenuItemProps = ComponentProps<typeof ContextMenuPrimitive.Item>\n\nexport const ContextMenuItem = ({ className, ...props }: ContextMenuItemProps) => {\n return (\n <ContextMenuPrimitive.Item data-id=\"ContextMenuItem\" className={cn(menuItem, className)} {...props} />\n )\n}\n\nexport type { ContextMenuItemProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\n\nexport const AlertDialog = AlertDialogPrimitive.Root\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\n\nexport const AlertDialogTrigger = AlertDialogPrimitive.Trigger\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\nimport { AlertDialogOverlay } from './alert-dialog-overlay'\n\ntype AlertDialogContentProps = ComponentProps<typeof AlertDialogPrimitive.Content>\n\nexport const AlertDialogContent = ({ className, ...props }: AlertDialogContentProps) => {\n return (\n <AlertDialogPrimitive.Portal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n data-id=\"AlertDialogContent\"\n className={cn(\n `fixed top-1/2 left-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border border-border bg-card p-6 shadow-[0_24px_48px_rgba(0,0,0,0.12)] ${motion.surface} 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`,\n className,\n )}\n {...props}\n />\n </AlertDialogPrimitive.Portal>\n )\n}\n\nexport type { AlertDialogContentProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogOverlayProps = ComponentProps<typeof AlertDialogPrimitive.Overlay>\n\nexport const AlertDialogOverlay = ({ className, ...props }: AlertDialogOverlayProps) => {\n return (\n <AlertDialogPrimitive.Overlay\n data-id=\"AlertDialogOverlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogOverlayProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogHeaderProps = HTMLAttributes<HTMLDivElement>\n\nexport const AlertDialogHeader = ({ className, ...props }: AlertDialogHeaderProps) => {\n return <div data-id=\"AlertDialogHeader\" className={cn('flex flex-col gap-2', className)} {...props} />\n}\n\nexport type { AlertDialogHeaderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogFooterProps = HTMLAttributes<HTMLDivElement>\n\nexport const AlertDialogFooter = ({ className, ...props }: AlertDialogFooterProps) => {\n return (\n <div\n data-id=\"AlertDialogFooter\"\n className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogFooterProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogTitleProps = ComponentProps<typeof AlertDialogPrimitive.Title>\n\nexport const AlertDialogTitle = ({ className, ...props }: AlertDialogTitleProps) => {\n return (\n <AlertDialogPrimitive.Title\n data-id=\"AlertDialogTitle\"\n className={cn('font-sans text-lg font-semibold', className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogTitleProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogDescriptionProps = ComponentProps<typeof AlertDialogPrimitive.Description>\n\nexport const AlertDialogDescription = ({ className, ...props }: AlertDialogDescriptionProps) => {\n return (\n <AlertDialogPrimitive.Description\n data-id=\"AlertDialogDescription\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogDescriptionProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { buttonVariants } from './button'\n\ntype AlertDialogActionProps = ComponentProps<typeof AlertDialogPrimitive.Action>\n\nexport const AlertDialogAction = ({ className, ...props }: AlertDialogActionProps) => {\n return (\n <AlertDialogPrimitive.Action\n data-id=\"AlertDialogAction\"\n className={cn(buttonVariants(), className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogActionProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { buttonVariants } from './button'\n\ntype AlertDialogCancelProps = ComponentProps<typeof AlertDialogPrimitive.Cancel>\n\nexport const AlertDialogCancel = ({ className, ...props }: AlertDialogCancelProps) => {\n return (\n <AlertDialogPrimitive.Cancel\n data-id=\"AlertDialogCancel\"\n className={cn(buttonVariants({ variant: 'outline' }), className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogCancelProps }\n","'use client'\n\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card'\n\nexport const HoverCard = HoverCardPrimitive.Root\n","'use client'\n\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card'\n\nexport const HoverCardTrigger = HoverCardPrimitive.Trigger\n","'use client'\n\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { overlayPanel } from '../theme/overlay'\n\ntype HoverCardContentProps = ComponentProps<typeof HoverCardPrimitive.Content>\n\nexport const HoverCardContent = ({\n className,\n align = 'center',\n sideOffset = 8,\n ...props\n}: HoverCardContentProps) => {\n return (\n <HoverCardPrimitive.Content\n data-id=\"HoverCardContent\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n overlayPanel,\n 'w-64 p-4 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',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { HoverCardContentProps }\n","'use client'\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype ProgressProps = ComponentProps<typeof ProgressPrimitive.Root>\n\nexport const Progress = ({ className, value, ...props }: ProgressProps) => {\n return (\n <ProgressPrimitive.Root\n data-id=\"Progress\"\n className={cn('relative h-2 w-full overflow-hidden rounded-pill bg-muted', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className={`h-full w-full flex-1 bg-primary ${motion.surface}`}\n style={{ transform: `translateX(-${100 - (value ?? 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n )\n}\n\nexport type { ProgressProps }\n","'use client'\n\nimport * as TogglePrimitive from '@radix-ui/react-toggle'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst toggleVariants = cva(\n `inline-flex items-center justify-center gap-2 rounded-pill font-sans text-sm font-semibold ${motion.surface} hover:bg-muted focus-visible:outline-none focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground`,\n {\n variants: {\n variant: {\n default: 'bg-transparent',\n outline: 'border border-border bg-card',\n },\n size: {\n default: 'h-9 px-3',\n sm: 'h-8 px-2.5 text-xs',\n lg: 'h-10 px-4',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\ntype ToggleProps = ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>\n\nexport const Toggle = ({ className, variant, size, ...props }: ToggleProps) => {\n return (\n <TogglePrimitive.Root\n data-id=\"Toggle\"\n className={cn(toggleVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { toggleVariants }\nexport type { ToggleProps }\n","'use client'\n\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'\nimport { type VariantProps } from 'class-variance-authority'\nimport type { ComponentProps } from 'react'\nimport { createContext, useContext } from 'react'\nimport { cn } from '../lib/utils'\nimport { toggleVariants } from './toggle'\n\nconst ToggleGroupContext = createContext<VariantProps<typeof toggleVariants>>({\n size: 'default',\n variant: 'default',\n})\n\ntype ToggleGroupProps = ComponentProps<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants>\n\nexport const ToggleGroup = ({ className, variant, size, children, ...props }: ToggleGroupProps) => {\n return (\n <ToggleGroupPrimitive.Root\n data-id=\"ToggleGroup\"\n className={cn('flex items-center gap-1', className)}\n {...props}\n >\n <ToggleGroupContext value={{ variant, size }}>{children}</ToggleGroupContext>\n </ToggleGroupPrimitive.Root>\n )\n}\n\nexport const useToggleGroup = () => useContext(ToggleGroupContext)\n\nexport type { ToggleGroupProps }\n","'use client'\n\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { toggleVariants } from './toggle'\nimport { useToggleGroup } from './toggle-group'\n\ntype ToggleGroupItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>\n\nexport const ToggleGroupItem = ({ className, children, ...props }: ToggleGroupItemProps) => {\n const { variant, size } = useToggleGroup()\n return (\n <ToggleGroupPrimitive.Item\n data-id=\"ToggleGroupItem\"\n className={cn(toggleVariants({ variant, size }), className)}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n )\n}\n\nexport type { ToggleGroupItemProps }\n","'use client'\n\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype ScrollAreaProps = ComponentProps<typeof ScrollAreaPrimitive.Root>\n\nexport const ScrollArea = ({ className, children, ...props }: ScrollAreaProps) => {\n return (\n <ScrollAreaPrimitive.Root data-id=\"ScrollArea\" className={cn('relative overflow-hidden', className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"size-full rounded-[inherit]\">{children}</ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n )\n}\n\ntype ScrollBarProps = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>\n\nexport const ScrollBar = ({ className, orientation = 'vertical', ...props }: ScrollBarProps) => {\n return (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n data-id=\"ScrollBar\"\n orientation={orientation}\n className={cn(\n 'flex touch-none p-px select-none',\n orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent',\n orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent',\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"relative flex-1 rounded-pill bg-border\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n )\n}\n\nexport type { ScrollAreaProps, ScrollBarProps }\n","'use client'\n\nimport * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\n\nexport const Collapsible = CollapsiblePrimitive.Root\n","'use client'\n\nimport * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\n\nexport const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger\n","'use client'\n\nimport * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CollapsibleContentProps = ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>\n\nexport const CollapsibleContent = ({ className, ...props }: CollapsibleContentProps) => {\n return (\n <CollapsiblePrimitive.CollapsibleContent\n data-id=\"CollapsibleContent\"\n className={cn(className)}\n {...props}\n />\n )\n}\n\nexport type { CollapsibleContentProps }\n","'use client'\n\nimport { DayPicker, type DayPickerProps } from 'react-day-picker'\nimport { cn } from '../lib/utils'\n\ntype CalendarProps = DayPickerProps\n\nexport const Calendar = ({ className, ...props }: CalendarProps) => {\n return (\n <DayPicker\n data-id=\"Calendar\"\n className={cn('p-3 font-sans', className)}\n {...props}\n />\n )\n}\n\nexport type { CalendarProps }\n","'use client'\n\nimport { format } from 'date-fns'\nimport { CalendarIcon } from 'lucide-react'\nimport { useState } from 'react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\nimport { Calendar } from './calendar'\nimport { Popover } from './popover'\nimport { PopoverContent } from './popover-content'\nimport { PopoverTrigger } from './popover-trigger'\n\ntype DatePickerProps = {\n value?: Date\n onValueChange?: (date: Date | undefined) => void\n placeholder?: string\n className?: string\n}\n\nexport const DatePicker = ({\n value,\n onValueChange,\n placeholder = 'Pick a date',\n className,\n}: DatePickerProps) => {\n const [open, openSetter] = useState(false)\n\n return (\n <Popover open={open} onOpenChange={openSetter}>\n <PopoverTrigger asChild>\n <Button\n data-id=\"DatePicker\"\n variant=\"outline\"\n className={cn(\n 'w-full justify-start normal-case tracking-normal',\n !value && 'text-muted-foreground',\n className,\n )}\n >\n <CalendarIcon className=\"size-4\" />\n {value ? format(value, 'PPP') : placeholder}\n </Button>\n </PopoverTrigger>\n <PopoverContent className=\"w-auto p-0\">\n <Calendar\n mode=\"single\"\n selected={value}\n onSelect={(date) => {\n onValueChange?.(date)\n openSetter(false)\n }}\n />\n </PopoverContent>\n </Popover>\n )\n}\n\nexport type { DatePickerProps }\n","'use client'\n\nimport type { ComponentProps } from 'react'\nimport { ResponsiveContainer } from 'recharts'\nimport { cn } from '../lib/utils'\n\ntype ChartContainerProps = ComponentProps<'div'> & {\n children: ComponentProps<typeof ResponsiveContainer>['children']\n}\n\nexport const ChartContainer = ({ className, children, ...props }: ChartContainerProps) => {\n return (\n <div data-id=\"ChartContainer\" className={cn('h-64 w-full', className)} {...props}>\n <ResponsiveContainer width=\"100%\" height=\"100%\">\n {children}\n </ResponsiveContainer>\n </div>\n )\n}\n\nexport type { ChartContainerProps }\n","'use client'\n\nexport { Tooltip as ChartTooltip } from 'recharts'\nexport type { TooltipProps as ChartTooltipProps } from 'recharts'\n","'use client'\n\nimport useEmblaCarousel, { type UseEmblaCarouselType } from 'embla-carousel-react'\nimport { ChevronLeft, ChevronRight } from 'lucide-react'\nimport { createContext, useContext, type ComponentProps, type KeyboardEvent } from 'react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\n\ntype CarouselApi = UseEmblaCarouselType[1]\ntype CarouselOptions = Parameters<typeof useEmblaCarousel>[0]\n\ntype CarouselContextValue = {\n carouselRef: ReturnType<typeof useEmblaCarousel>[0]\n api: CarouselApi\n scrollPrev: () => void\n scrollNext: () => void\n}\n\nconst CarouselContext = createContext<CarouselContextValue | null>(null)\n\nexport const useCarousel = () => {\n const context = useContext(CarouselContext)\n if (!context) {\n throw new Error('useCarousel must be used within Carousel')\n }\n return context\n}\n\ntype CarouselProps = ComponentProps<'div'> & {\n opts?: CarouselOptions\n}\n\nexport const Carousel = ({ className, opts, children, ...props }: CarouselProps) => {\n const [carouselRef, api] = useEmblaCarousel(opts)\n const scrollPrev = () => api?.scrollPrev()\n const scrollNext = () => api?.scrollNext()\n\n const onKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n if (event.key === 'ArrowLeft') {\n event.preventDefault()\n scrollPrev()\n }\n if (event.key === 'ArrowRight') {\n event.preventDefault()\n scrollNext()\n }\n }\n\n return (\n <CarouselContext value={{ carouselRef, api, scrollPrev, scrollNext }}>\n <div\n data-id=\"Carousel\"\n className={cn('relative', className)}\n role=\"region\"\n aria-roledescription=\"carousel\"\n onKeyDown={onKeyDown}\n {...props}\n >\n {children}\n </div>\n </CarouselContext>\n )\n}\n\nexport const CarouselContent = ({ className, ...props }: ComponentProps<'div'>) => {\n const { carouselRef } = useCarousel()\n return (\n <div ref={carouselRef} className=\"overflow-hidden\">\n <div data-id=\"CarouselContent\" className={cn('flex', className)} {...props} />\n </div>\n )\n}\n\nexport const CarouselItem = ({ className, ...props }: ComponentProps<'div'>) => {\n return (\n <div\n data-id=\"CarouselItem\"\n role=\"group\"\n aria-roledescription=\"slide\"\n className={cn('min-w-0 shrink-0 grow-0 basis-full', className)}\n {...props}\n />\n )\n}\n\nexport const CarouselPrevious = ({ className, ...props }: ComponentProps<typeof Button>) => {\n const { scrollPrev } = useCarousel()\n return (\n <Button\n data-id=\"CarouselPrevious\"\n variant=\"outline\"\n size=\"icon\"\n className={cn('absolute top-1/2 -left-4 -translate-y-1/2', className)}\n onClick={scrollPrev}\n {...props}\n >\n <ChevronLeft />\n <span className=\"sr-only\">Previous slide</span>\n </Button>\n )\n}\n\nexport const CarouselNext = ({ className, ...props }: ComponentProps<typeof Button>) => {\n const { scrollNext } = useCarousel()\n return (\n <Button\n data-id=\"CarouselNext\"\n variant=\"outline\"\n size=\"icon\"\n className={cn('absolute top-1/2 -right-4 -translate-y-1/2', className)}\n onClick={scrollNext}\n {...props}\n >\n <ChevronRight />\n <span className=\"sr-only\">Next slide</span>\n </Button>\n )\n}\n\nexport type { CarouselApi, CarouselProps }\n","'use client'\n\nimport type { ComponentProps } from 'react'\nimport { Drawer as VaulDrawer } from 'vaul'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nexport const Drawer = VaulDrawer.Root\nexport const DrawerTrigger = VaulDrawer.Trigger\nexport const DrawerClose = VaulDrawer.Close\nexport const DrawerPortal = VaulDrawer.Portal\n\ntype DrawerOverlayProps = ComponentProps<typeof VaulDrawer.Overlay>\n\nexport const DrawerOverlay = ({ className, ...props }: DrawerOverlayProps) => {\n return (\n <VaulDrawer.Overlay\n data-id=\"DrawerOverlay\"\n className={cn('fixed inset-0 z-50 bg-black/40', className)}\n {...props}\n />\n )\n}\n\ntype DrawerContentProps = ComponentProps<typeof VaulDrawer.Content>\n\nexport const DrawerContent = ({ className, children, ...props }: DrawerContentProps) => {\n return (\n <VaulDrawer.Portal>\n <DrawerOverlay />\n <VaulDrawer.Content\n data-id=\"DrawerContent\"\n className={cn(\n `fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-xl border border-border bg-card ${motion.surface}`,\n className,\n )}\n {...props}\n >\n <div className=\"mx-auto mt-4 h-1.5 w-12 rounded-pill bg-muted\" />\n {children}\n </VaulDrawer.Content>\n </VaulDrawer.Portal>\n )\n}\n\nexport const DrawerTitle = ({ className, ...props }: ComponentProps<typeof VaulDrawer.Title>) => {\n return (\n <VaulDrawer.Title\n data-id=\"DrawerTitle\"\n className={cn('px-4 pt-4 font-sans text-lg font-semibold', className)}\n {...props}\n />\n )\n}\n\nexport const DrawerDescription = ({\n className,\n ...props\n}: ComponentProps<typeof VaulDrawer.Description>) => {\n return (\n <VaulDrawer.Description\n data-id=\"DrawerDescription\"\n className={cn('px-4 pb-4 text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { DrawerContentProps, DrawerOverlayProps }\n","'use client'\n\nimport * as MenubarPrimitive from '@radix-ui/react-menubar'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { menuItem, overlayPanel } from '../theme/overlay'\n\nexport const Menubar = ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Root>) => {\n return (\n <MenubarPrimitive.Root\n data-id=\"Menubar\"\n className={cn('flex h-10 items-center gap-1 rounded-lg border border-border bg-card p-1', className)}\n {...props}\n />\n )\n}\n\nexport const MenubarMenu: typeof MenubarPrimitive.Menu = MenubarPrimitive.Menu\nexport const MenubarTrigger = ({\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Trigger>) => {\n return (\n <MenubarPrimitive.Trigger\n data-id=\"MenubarTrigger\"\n className={cn(\n 'rounded-md px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent data-[state=open]:bg-accent',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport const MenubarContent = ({\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Content>) => {\n return (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n data-id=\"MenubarContent\"\n className={cn(overlayPanel, 'min-w-40 p-1', className)}\n {...props}\n />\n </MenubarPrimitive.Portal>\n )\n}\n\nexport const MenubarItem = ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Item>) => {\n return <MenubarPrimitive.Item data-id=\"MenubarItem\" className={cn(menuItem, className)} {...props} />\n}\n\nexport const MenubarSeparator = ({\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Separator>) => {\n return (\n <MenubarPrimitive.Separator\n data-id=\"MenubarSeparator\"\n className={cn('-mx-1 my-1 h-px bg-border', className)}\n {...props}\n />\n )\n}\n","'use client'\n\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport { ChevronDown } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { overlayPanel } from '../theme/overlay'\n\nexport const NavigationMenu = ({\n className,\n children,\n ...props\n}: ComponentProps<typeof NavigationMenuPrimitive.Root>) => {\n return (\n <NavigationMenuPrimitive.Root\n data-id=\"NavigationMenu\"\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuPrimitive.Viewport\n className={cn(\n overlayPanel,\n 'absolute top-full mt-2 origin-top-center overflow-hidden data-[state=open]:animate-in data-[state=closed]:animate-out',\n )}\n />\n </NavigationMenuPrimitive.Root>\n )\n}\n\nexport const NavigationMenuList = ({\n className,\n ...props\n}: ComponentProps<typeof NavigationMenuPrimitive.List>) => {\n return (\n <NavigationMenuPrimitive.List\n data-id=\"NavigationMenuList\"\n className={cn('flex flex-1 list-none items-center gap-1', className)}\n {...props}\n />\n )\n}\n\nexport const NavigationMenuItem: typeof NavigationMenuPrimitive.Item = NavigationMenuPrimitive.Item\n\nexport const NavigationMenuTrigger = ({\n className,\n children,\n ...props\n}: ComponentProps<typeof NavigationMenuPrimitive.Trigger>) => {\n return (\n <NavigationMenuPrimitive.Trigger\n data-id=\"NavigationMenuTrigger\"\n className={cn(\n 'inline-flex h-10 items-center gap-1 rounded-pill px-4 text-sm font-medium hover:bg-accent',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronDown className=\"size-3\" />\n </NavigationMenuPrimitive.Trigger>\n )\n}\n\nexport const NavigationMenuContent = ({\n className,\n ...props\n}: ComponentProps<typeof NavigationMenuPrimitive.Content>) => {\n return (\n <NavigationMenuPrimitive.Content\n data-id=\"NavigationMenuContent\"\n className={cn('p-4', className)}\n {...props}\n />\n )\n}\n\nexport const NavigationMenuLink: typeof NavigationMenuPrimitive.Link = NavigationMenuPrimitive.Link\n","'use client'\n\nimport { Group, Panel, Separator } from 'react-resizable-panels'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype ResizablePanelGroupProps = ComponentProps<typeof Group>\n\nexport const ResizablePanelGroup = ({ className, ...props }: ResizablePanelGroupProps) => {\n return (\n <Group data-id=\"ResizablePanelGroup\" className={cn('flex h-full w-full', className)} {...props} />\n )\n}\n\nexport const ResizablePanel: typeof Panel = Panel\n\ntype ResizableHandleProps = ComponentProps<typeof Separator>\n\nexport const ResizableHandle = ({ className, ...props }: ResizableHandleProps) => {\n return (\n <Separator\n data-id=\"ResizableHandle\"\n className={cn('bg-border focus-visible:bg-primary data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=horizontal]:w-px', className)}\n {...props}\n />\n )\n}\n\nexport type { ResizablePanelGroupProps, ResizableHandleProps }\n","'use client'\n\nimport { PanelLeft } from 'lucide-react'\nimport {\n createContext,\n useContext,\n useMemo,\n useState,\n type ComponentProps,\n type CSSProperties,\n} from 'react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\n\ntype SidebarContextValue = {\n isOpen: boolean\n isOpenSetter: (open: boolean) => void\n}\n\nconst SidebarContext = createContext<SidebarContextValue | null>(null)\n\nexport const useSidebar = () => {\n const context = useContext(SidebarContext)\n if (!context) {\n throw new Error('useSidebar must be used within SidebarProvider')\n }\n return context\n}\n\ntype SidebarProviderProps = ComponentProps<'div'> & {\n defaultOpen?: boolean\n}\n\nexport const SidebarProvider = ({\n defaultOpen = true,\n className,\n style,\n children,\n ...props\n}: SidebarProviderProps) => {\n const [isOpen, isOpenSetter] = useState(defaultOpen)\n const value = useMemo(() => ({ isOpen, isOpenSetter }), [isOpen])\n return (\n <SidebarContext value={value}>\n <div\n data-id=\"SidebarProvider\"\n className={cn('flex min-h-svh w-full', className)}\n style={\n {\n '--sidebar-width': '16rem',\n ...style,\n } as CSSProperties\n }\n {...props}\n >\n {children}\n </div>\n </SidebarContext>\n )\n}\n\nexport const Sidebar = ({ className, children, ...props }: ComponentProps<'aside'>) => {\n const { isOpen } = useSidebar()\n return (\n <aside\n data-id=\"Sidebar\"\n data-state={isOpen ? 'open' : 'closed'}\n className={cn(\n 'border-r border-border bg-card text-card-foreground transition-[width] duration-200',\n isOpen ? 'w-[var(--sidebar-width)]' : 'w-0 overflow-hidden',\n className,\n )}\n {...props}\n >\n {isOpen ? children : null}\n </aside>\n )\n}\n\nexport const SidebarInset = ({ className, ...props }: ComponentProps<'main'>) => {\n return <main data-id=\"SidebarInset\" className={cn('flex flex-1 flex-col', className)} {...props} />\n}\n\nexport const SidebarTrigger = ({ className, ...props }: ComponentProps<typeof Button>) => {\n const { isOpen, isOpenSetter } = useSidebar()\n return (\n <Button\n data-id=\"SidebarTrigger\"\n variant=\"ghost\"\n size=\"icon\"\n className={className}\n onClick={() => isOpenSetter(!isOpen)}\n {...props}\n >\n <PanelLeft />\n <span className=\"sr-only\">Toggle sidebar</span>\n </Button>\n )\n}\n\nexport const SidebarHeader = ({ className, ...props }: ComponentProps<'div'>) => {\n return <div data-id=\"SidebarHeader\" className={cn('p-4', className)} {...props} />\n}\n\nexport const SidebarContent = ({ className, ...props }: ComponentProps<'div'>) => {\n return <div data-id=\"SidebarContent\" className={cn('flex-1 p-2', className)} {...props} />\n}\n\nexport const SidebarFooter = ({ className, ...props }: ComponentProps<'div'>) => {\n return <div data-id=\"SidebarFooter\" className={cn('p-4', className)} {...props} />\n}\n\nexport const SidebarMenu = ({ className, ...props }: ComponentProps<'ul'>) => {\n return <ul data-id=\"SidebarMenu\" className={cn('flex flex-col gap-1', className)} {...props} />\n}\n\nexport const SidebarMenuItem = ({ className, ...props }: ComponentProps<'li'>) => {\n return <li data-id=\"SidebarMenuItem\" className={cn(className)} {...props} />\n}\n\nexport const SidebarMenuButton = ({ className, ...props }: ComponentProps<'button'>) => {\n return (\n <button\n data-id=\"SidebarMenuButton\"\n className={cn(\n 'flex w-full items-center rounded-md px-3 py-2 text-left text-sm hover:bg-accent',\n className,\n )}\n {...props}\n />\n )\n}\n","'use client'\n\nimport { OTPInput, OTPInputContext } from 'input-otp'\nimport { useContext, type ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\ntype InputOTPProps = ComponentProps<typeof OTPInput>\n\nexport const InputOTP = ({ className, containerClassName, ...props }: InputOTPProps) => {\n return (\n <OTPInput\n data-id=\"InputOTP\"\n containerClassName={cn('flex items-center gap-2', containerClassName)}\n className={cn('disabled:cursor-not-allowed', className)}\n {...props}\n />\n )\n}\n\nexport const InputOTPGroup = ({ className, ...props }: ComponentProps<'div'>) => {\n return <div data-id=\"InputOTPGroup\" className={cn('flex items-center gap-2', className)} {...props} />\n}\n\nexport const InputOTPSlot = ({\n index,\n className,\n ...props\n}: ComponentProps<'div'> & { index: number }) => {\n const inputOTPContext = useContext(OTPInputContext)\n const slot = inputOTPContext.slots[index]\n return (\n <div\n data-id=\"InputOTPSlot\"\n className={cn(\n fieldSurface,\n 'relative flex h-12 w-10 items-center justify-center rounded-md text-sm',\n slot?.isActive && 'z-10 border-primary shadow-[0_0_0_3px_rgba(255,229,0,0.28)]',\n className,\n )}\n {...props}\n >\n {slot?.char}\n {slot?.hasFakeCaret ? (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"h-4 w-px animate-pulse bg-foreground\" />\n </div>\n ) : null}\n </div>\n )\n}\n\nexport type { InputOTPProps }\n","'use client'\n\nimport * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio'\n\nexport const AspectRatio = AspectRatioPrimitive.Root\n","/**\n * Surface recipes — frost, glass, brand gradients. Prefer helpers over copying CSS.\n */\nexport const surfaces = {\n frostPanel: 'revit-frost-panel rounded-lg',\n frostNav: 'revit-frost-nav rounded-pill',\n frostTile: 'revit-frost-tile overflow-hidden rounded-[20px]',\n frostFab: 'revit-frost-fab rounded-pill',\n brandGradient: 'revit-brand-gradient',\n scrimHero: 'revit-image-scrim-hero',\n scrimDetail: 'revit-image-scrim-detail',\n scrimFooter: 'revit-image-scrim-footer',\n} as const\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype FrostPanelProps = HTMLAttributes<HTMLDivElement>\n\nexport const FrostPanel = ({ className, ...props }: FrostPanelProps) => {\n return <div data-id=\"FrostPanel\" className={cn(surfaces.frostPanel, className)} {...props} />\n}\n\nexport type { FrostPanelProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype FrostNavProps = HTMLAttributes<HTMLElement> & {\n isOnLight?: boolean\n}\n\nexport const FrostNav = ({ className, isOnLight = false, ...props }: FrostNavProps) => {\n return (\n <nav\n data-id=\"FrostNav\"\n data-on-light={isOnLight ? 'true' : undefined}\n className={cn(surfaces.frostNav, className)}\n {...props}\n />\n )\n}\n\nexport type { FrostNavProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype FrostTileProps = HTMLAttributes<HTMLDivElement>\n\nexport const FrostTile = ({ className, ...props }: FrostTileProps) => {\n return <div data-id=\"FrostTile\" className={cn('group', surfaces.frostTile, className)} {...props} />\n}\n\nexport type { FrostTileProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype FrostFabProps = HTMLAttributes<HTMLDivElement>\n\nexport const FrostFab = ({ className, ...props }: FrostFabProps) => {\n return <div data-id=\"FrostFab\" className={cn(surfaces.frostFab, className)} {...props} />\n}\n\nexport type { FrostFabProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype BrandGradientProps = HTMLAttributes<HTMLDivElement>\n\nexport const BrandGradient = ({ className, ...props }: BrandGradientProps) => {\n return <div data-id=\"BrandGradient\" className={cn(surfaces.brandGradient, className)} {...props} />\n}\n\nexport type { BrandGradientProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\nconst imageScrimVariants = cva('pointer-events-none absolute inset-0', {\n variants: {\n variant: {\n hero: 'revit-image-scrim-hero',\n detail: 'revit-image-scrim-detail',\n footer: 'revit-image-scrim-footer',\n },\n },\n defaultVariants: {\n variant: 'hero',\n },\n})\n\ntype ImageScrimProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof imageScrimVariants>\n\nexport const ImageScrim = ({ className, variant, ...props }: ImageScrimProps) => {\n return (\n <div\n data-id=\"ImageScrim\"\n aria-hidden\n className={cn(imageScrimVariants({ variant }), className)}\n {...props}\n />\n )\n}\n\nexport { imageScrimVariants }\nexport type { ImageScrimProps }\n","import { Search } from 'lucide-react'\nimport type { FormEvent, InputHTMLAttributes, ReactNode } from 'react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\nimport { Input } from './input'\n\ntype SearchBarProps = {\n className?: string\n placeholder?: string\n value?: string\n defaultValue?: string\n onValueChange?: (value: string) => void\n onSearch?: (value: string) => void\n submitLabel?: ReactNode\n} & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onSubmit'>\n\nexport const SearchBar = ({\n className,\n placeholder = 'Search',\n value,\n defaultValue,\n onValueChange,\n onSearch,\n submitLabel = <Search className=\"size-4\" />,\n ...props\n}: SearchBarProps) => {\n const onSubmit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault()\n const formData = new FormData(event.currentTarget)\n const nextValue = String(formData.get('q') ?? '')\n onSearch?.(nextValue)\n }\n\n return (\n <form\n data-id=\"SearchBar\"\n onSubmit={onSubmit}\n className={cn(\n 'flex w-full overflow-hidden rounded-pill border border-border bg-card shadow-[0_8px_18px_rgba(0,0,0,0.04)] ring-2 ring-transparent transition-[box-shadow,border-color] duration-200 focus-within:ring-primary hover:border-primary',\n className,\n )}\n >\n <Input\n name=\"q\"\n variant=\"pill\"\n value={value}\n defaultValue={defaultValue}\n placeholder={placeholder}\n onChange={(event) => onValueChange?.(event.target.value)}\n className=\"rounded-none border-0 shadow-none ring-0 focus-visible:shadow-none\"\n {...props}\n />\n <Button type=\"submit\" size=\"icon\" className=\"rounded-none\" aria-label=\"Search\">\n {submitLabel}\n </Button>\n </form>\n )\n}\n\nexport type { SearchBarProps }\n","'use client'\n\nimport type { ReactNode } from 'react'\nimport { AlertDialog } from './alert-dialog'\nimport { AlertDialogAction } from './alert-dialog-action'\nimport { AlertDialogCancel } from './alert-dialog-cancel'\nimport { AlertDialogContent } from './alert-dialog-content'\nimport { AlertDialogDescription } from './alert-dialog-description'\nimport { AlertDialogFooter } from './alert-dialog-footer'\nimport { AlertDialogHeader } from './alert-dialog-header'\nimport { AlertDialogTitle } from './alert-dialog-title'\nimport { AlertDialogTrigger } from './alert-dialog-trigger'\n\ntype ConfirmDialogProps = {\n trigger: ReactNode\n title: string\n description?: string\n confirmLabel?: string\n cancelLabel?: string\n onConfirm?: () => void\n}\n\nexport const ConfirmDialog = ({\n trigger,\n title,\n description,\n confirmLabel = 'Confirm',\n cancelLabel = 'Cancel',\n onConfirm,\n}: ConfirmDialogProps) => {\n return (\n <AlertDialog>\n <AlertDialogTrigger asChild>{trigger}</AlertDialogTrigger>\n <AlertDialogContent data-id=\"ConfirmDialog\">\n <AlertDialogHeader>\n <AlertDialogTitle>{title}</AlertDialogTitle>\n {description ? <AlertDialogDescription>{description}</AlertDialogDescription> : null}\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>{cancelLabel}</AlertDialogCancel>\n <AlertDialogAction onClick={onConfirm}>{confirmLabel}</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n </AlertDialog>\n )\n}\n\nexport type { ConfirmDialogProps }\n","'use client'\n\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { Command } from './command'\nimport { Dialog } from './dialog'\nimport { DialogContent } from './dialog-content'\n\ntype CommandDialogProps = ComponentProps<typeof Dialog> & {\n children: ComponentProps<typeof Command>['children']\n contentClassName?: string\n}\n\nexport const CommandDialog = ({ children, contentClassName, ...props }: CommandDialogProps) => {\n return (\n <Dialog {...props}>\n <DialogContent data-id=\"CommandDialog\" className={cn('overflow-hidden p-0', contentClassName)}>\n <Command className=\"[&_[data-id=CommandInputWrap]]:h-12\">{children}</Command>\n </DialogContent>\n </Dialog>\n )\n}\n\nexport type { CommandDialogProps }\n","import type { ComponentProps } from 'react'\nimport { Pagination } from './pagination'\nimport { PaginationContent } from './pagination-content'\nimport { PaginationEllipsis } from './pagination-ellipsis'\nimport { PaginationItem } from './pagination-item'\nimport { PaginationLink } from './pagination-link'\nimport { PaginationNext } from './pagination-next'\nimport { PaginationPrevious } from './pagination-previous'\n\ntype PaginationBarProps = {\n page: number\n pageCount: number\n onPageChange?: (page: number) => void\n className?: string\n} & Omit<ComponentProps<typeof Pagination>, 'children'>\n\nexport const PaginationBar = ({\n page,\n pageCount,\n onPageChange,\n className,\n ...props\n}: PaginationBarProps) => {\n const pages = Array.from({ length: pageCount }, (_, index) => index + 1)\n const visible = pages.filter((item) => item === 1 || item === pageCount || Math.abs(item - page) <= 1)\n\n return (\n <Pagination data-id=\"PaginationBar\" className={className} {...props}>\n <PaginationContent>\n <PaginationItem>\n <PaginationPrevious\n href=\"#\"\n onClick={(event) => {\n event.preventDefault()\n if (page > 1) {\n onPageChange?.(page - 1)\n }\n }}\n />\n </PaginationItem>\n {visible.map((item, index) => {\n const previous = visible[index - 1]\n return (\n <PaginationItem key={`pagination-${item}--${index}`}>\n {previous && item - previous > 1 ? <PaginationEllipsis /> : null}\n <PaginationLink\n href=\"#\"\n isActive={item === page}\n onClick={(event) => {\n event.preventDefault()\n onPageChange?.(item)\n }}\n >\n {item}\n </PaginationLink>\n </PaginationItem>\n )\n })}\n <PaginationItem>\n <PaginationNext\n href=\"#\"\n onClick={(event) => {\n event.preventDefault()\n if (page < pageCount) {\n onPageChange?.(page + 1)\n }\n }}\n />\n </PaginationItem>\n </PaginationContent>\n </Pagination>\n )\n}\n\nexport type { PaginationBarProps }\n","/**\n * Flatten RevitThemeTokens into CSS custom properties.\n *\n * @example\n * tokensToCssVars(revitTokens)\n * // { '--revit-color-primary': '#FFE500', ... }\n */\n\nimport type { RevitColorTokens, RevitThemeTokens } from './types'\n\nconst colorToVars = (colors: RevitColorTokens, prefix: string) => {\n const vars: Record<string, string> = {\n [`${prefix}background`]: colors.background,\n [`${prefix}foreground`]: colors.foreground,\n [`${prefix}card`]: colors.card,\n [`${prefix}card-foreground`]: colors.cardForeground,\n [`${prefix}popover`]: colors.popover,\n [`${prefix}popover-foreground`]: colors.popoverForeground,\n [`${prefix}primary`]: colors.primary,\n [`${prefix}primary-foreground`]: colors.primaryForeground,\n [`${prefix}secondary`]: colors.secondary,\n [`${prefix}secondary-foreground`]: colors.secondaryForeground,\n [`${prefix}muted`]: colors.muted,\n [`${prefix}muted-foreground`]: colors.mutedForeground,\n [`${prefix}accent`]: colors.accent,\n [`${prefix}accent-foreground`]: colors.accentForeground,\n [`${prefix}destructive`]: colors.destructive,\n [`${prefix}destructive-foreground`]: colors.destructiveForeground,\n [`${prefix}border`]: colors.border,\n [`${prefix}input`]: colors.input,\n [`${prefix}ring`]: colors.ring,\n [`${prefix}brand-yellow`]: colors.brand.yellow,\n [`${prefix}brand-yellow-light`]: colors.brand.yellowLight,\n [`${prefix}brand-off-black`]: colors.brand.offBlack,\n [`${prefix}brand-pink`]: colors.brand.pink,\n [`${prefix}brand-purple`]: colors.brand.purple,\n [`${prefix}brand-blue`]: colors.brand.blue,\n [`${prefix}brand-gold`]: colors.brand.gold,\n [`${prefix}brand-brown`]: colors.brand.brown,\n [`${prefix}brand-umber`]: colors.brand.umber,\n [`${prefix}brand-mist`]: colors.brand.mist,\n }\n return vars\n}\n\nexport const tokensToCssVars = (tokens: RevitThemeTokens) => {\n const light = colorToVars(tokens.colors, '--revit-color-')\n const dark = colorToVars(tokens.colorsDark, '--revit-color-')\n const shared: Record<string, string> = {\n '--revit-radius-sm': tokens.radius.sm,\n '--revit-radius-md': tokens.radius.md,\n '--revit-radius-lg': tokens.radius.lg,\n '--revit-radius-xl': tokens.radius.xl,\n '--revit-radius-pill': tokens.radius.pill,\n '--revit-font-sans': tokens.fontFamily.sans,\n }\n return { light: { ...light, ...shared }, dark }\n}\n\nconst decls = (vars: Record<string, string>) =>\n Object.entries(vars)\n .map(([name, value]) => `${name}: ${value};`)\n .join('\\n ')\n\nexport const tokensToStylesheet = (tokens: RevitThemeTokens) => {\n const { light, dark } = tokensToCssVars(tokens)\n return `:root,\n.revit-ui {\n ${decls(light)}\n}\nhtml.dark,\nhtml[data-theme=\"dark\"],\n.dark,\n[data-theme=\"dark\"] {\n ${decls(dark)}\n}`\n}\n","/**\n * Example token file — Revit yellow brand. Duplicate and swap values to restyle the kit.\n *\n * @example\n * import { revitTokens } from '@nerds-with-charisma/revit-ui/theme/revit'\n * <RevitUIProvider tokens={revitTokens}>…</RevitUIProvider>\n */\n\nimport type { RevitColorTokens, RevitThemeTokens } from './types'\n\nconst brand = {\n yellow: '#FFE500',\n yellowLight: '#FFF06E',\n offBlack: '#2C2C2C',\n pink: '#FF005C',\n purple: '#BA00FF',\n blue: '#00FFFB',\n gold: '#B8A500',\n brown: '#78350F',\n umber: '#58483B',\n mist: '#F2F2F7',\n} as const\n\nconst light: RevitColorTokens = {\n background: '#ffffff',\n foreground: brand.offBlack,\n card: '#ffffff',\n cardForeground: brand.offBlack,\n popover: '#ffffff',\n popoverForeground: brand.offBlack,\n primary: brand.yellow,\n primaryForeground: '#000000',\n secondary: '#000000',\n secondaryForeground: '#ffffff',\n muted: brand.mist,\n mutedForeground: brand.umber,\n accent: brand.yellowLight,\n accentForeground: '#000000',\n destructive: '#FF002B',\n destructiveForeground: '#ffffff',\n border: brand.mist,\n input: brand.mist,\n ring: brand.yellow,\n brand,\n}\n\nconst dark: RevitColorTokens = {\n background: '#0f172a',\n foreground: '#ffffff',\n card: '#0f172a',\n cardForeground: '#ffffff',\n popover: '#0f172a',\n popoverForeground: '#ffffff',\n primary: brand.yellow,\n primaryForeground: '#000000',\n secondary: brand.yellow,\n secondaryForeground: '#000000',\n muted: '#1e293b',\n mutedForeground: '#cbd5e1',\n accent: '#1e293b',\n accentForeground: '#ffffff',\n destructive: '#FF002B',\n destructiveForeground: '#ffffff',\n border: '#334155',\n input: '#334155',\n ring: brand.yellow,\n brand,\n}\n\nexport const revitTokens: RevitThemeTokens = {\n colors: light,\n colorsDark: dark,\n radius: {\n sm: '0.375rem',\n md: '0.5rem',\n lg: '1.25rem',\n xl: '1.5rem',\n pill: '9999px',\n },\n fontFamily: {\n sans: 'Afacad, ui-sans-serif, system-ui, sans-serif',\n },\n}\n","import type { ReactNode } from 'react'\nimport { tokensToStylesheet } from './tokensToCss'\nimport { revitTokens } from './tokens.revit'\nimport type { RevitThemeTokens } from './types'\n\ntype RevitUIProviderProps = {\n tokens?: RevitThemeTokens\n children: ReactNode\n}\n\nexport const RevitUIProvider = ({ tokens = revitTokens, children }: RevitUIProviderProps) => {\n return (\n <>\n <style data-id=\"RevitUITheme\" dangerouslySetInnerHTML={{ __html: tokensToStylesheet(tokens) }} />\n <div data-id=\"RevitUIProvider\" className=\"revit-ui font-sans\">\n {children}\n </div>\n </>\n )\n}\n"],"mappings":";;;AAAA,SAAS,YAAY;AACrB,SAAS,WAA8B;;;ACDvC,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,IAAM,KAAK,IAAI,WAAyB;AAC7C,SAAO,QAAQ,KAAK,MAAM,CAAC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QAAQ,MAAM;AAAA,EACd,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,uBAAuB;AAAA,EACvB,QAAQ,MAAM;AAAA,EACd,OAAO,MAAM;AAAA,EACb,MAAM,MAAM;AAAA,EACZ;AACF;AAEA,IAAM,OAAyB;AAAA,EAC7B,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,SAAS,MAAM;AAAA,EACf,mBAAmB;AAAA,EACnB,WAAW,MAAM;AAAA,EACjB,qBAAqB;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AAAA,EACjB,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,uBAAuB;AAAA,EACvB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,MAAM,MAAM;AAAA,EACZ;AACF;AAEO,IAAM,cAAgC;AAAA,EAC3C,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,QAAQ;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,MAAM;AAAA,EACR;AAAA,EACA,YAAY;AAAA,IACV,MAAM;AAAA,EACR;AACF;;;ACtEI,mBACE,OAAAC,QADF,QAAAC,cAAA;AAFG,IAAM,kBAAkB,CAAC,EAAE,SAAS,aAAa,SAAS,MAA4B;AAC3F,SACE,gBAAAA,OAAA,YACE;AAAA,oBAAAD,OAAC,WAAM,WAAQ,gBAAe,yBAAyB,EAAE,QAAQ,mBAAmB,MAAM,EAAE,GAAG;AAAA,IAC/F,gBAAAA,OAAC,SAAI,WAAQ,mBAAkB,WAAU,sBACtC,UACH;AAAA,KACF;AAEJ;","names":["cva","jsx","cva","cva","jsx","cva","jsx","jsx","jsx","jsx","jsx","SelectPrimitive","SelectPrimitive","SelectPrimitive","cva","jsx","cva","SelectPrimitive","SelectPrimitive","ChevronDown","jsx","ChevronDown","SelectPrimitive","jsx","jsx","jsxs","SelectPrimitive","jsx","jsxs","SelectPrimitive","jsx","SelectPrimitive","jsx","DialogPrimitive","DialogPrimitive","DialogPrimitive","jsx","DialogPrimitive","jsx","jsxs","jsx","jsx","DialogPrimitive","jsx","DialogPrimitive","jsx","DialogPrimitive","cva","jsx","cva","Label","cva","jsx","cva","Check","jsx","Check","cva","jsx","cva","jsx","jsx","RadioGroupPrimitive","jsx","TabsPrimitive","jsx","TabsPrimitive","jsx","TabsPrimitive","jsx","jsx","TooltipPrimitive","TooltipPrimitive","TooltipPrimitive","jsx","jsx","Separator","AccordionPrimitive","jsx","AccordionPrimitive","ChevronDown","jsx","jsxs","ChevronDown","AccordionPrimitive","jsx","cva","jsx","cva","jsx","jsx","jsx","AvatarPrimitive","jsx","AvatarPrimitive","jsx","DropdownMenuPrimitive","DropdownMenuPrimitive","jsx","DropdownMenuPrimitive","jsx","DropdownMenuPrimitive","jsx","DropdownMenuPrimitive","jsx","PopoverPrimitive","PopoverPrimitive","jsx","DialogPrimitive","DialogPrimitive","DialogPrimitive","cva","X","jsx","jsxs","cva","X","jsx","DialogPrimitive","jsx","DialogPrimitive","jsx","jsx","jsx","jsxs","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsxs","jsx","jsxs","jsx","jsxs","jsx","jsx","jsx","Slot","jsx","Slot","jsx","ChevronRight","jsx","ChevronRight","jsx","jsx","jsxs","Slot","jsx","Slot","jsx","jsx","jsx","Label","jsx","jsx","jsxs","Label","jsx","jsx","CommandPrimitive","jsx","jsxs","CommandPrimitive","CommandPrimitive","jsx","CommandPrimitive","CommandPrimitive","jsx","CommandPrimitive","CommandPrimitive","jsx","CommandPrimitive","CommandPrimitive","jsx","CommandPrimitive","useState","Check","jsx","jsxs","useState","Check","ContextMenuPrimitive","ContextMenuPrimitive","jsx","ContextMenuPrimitive","jsx","AlertDialogPrimitive","AlertDialogPrimitive","AlertDialogPrimitive","jsx","jsx","jsxs","jsx","jsx","AlertDialogPrimitive","jsx","AlertDialogPrimitive","jsx","AlertDialogPrimitive","jsx","AlertDialogPrimitive","jsx","HoverCardPrimitive","HoverCardPrimitive","jsx","jsx","cva","jsx","cva","createContext","useContext","jsx","createContext","useContext","ToggleGroupPrimitive","jsx","jsx","jsxs","CollapsiblePrimitive","CollapsibleTrigger","CollapsiblePrimitive","jsx","CollapsibleContent","jsx","useState","jsx","jsxs","useState","jsx","Tooltip","ChevronLeft","ChevronRight","createContext","useContext","jsx","jsxs","createContext","useContext","ChevronLeft","ChevronRight","jsx","jsxs","jsx","ChevronDown","jsx","jsxs","ChevronDown","Group","Separator","jsx","Group","Separator","createContext","useContext","useState","jsx","jsxs","createContext","useContext","useState","useContext","jsx","jsxs","useContext","jsx","jsx","jsx","jsx","jsx","cva","jsx","cva","Search","jsx","jsxs","Search","jsx","jsxs","jsx","jsx","jsxs","light","dark","jsx","jsxs"]}
1
+ {"version":3,"sources":["../src/components/button.tsx","../src/lib/utils.ts","../src/theme/motion.ts","../src/components/input.tsx","../src/theme/field.ts","../src/components/card.tsx","../src/components/card-header.tsx","../src/components/card-title.tsx","../src/components/card-description.tsx","../src/components/card-content.tsx","../src/components/card-footer.tsx","../src/components/select.tsx","../src/components/select-group.tsx","../src/components/select-value.tsx","../src/components/select-trigger.tsx","../src/components/select-content.tsx","../src/components/select-scroll-down-button.tsx","../src/components/select-scroll-up-button.tsx","../src/components/select-item.tsx","../src/components/select-label.tsx","../src/components/select-separator.tsx","../src/components/dialog.tsx","../src/components/dialog-trigger.tsx","../src/components/dialog-content.tsx","../src/components/dialog-overlay.tsx","../src/components/dialog-portal.tsx","../src/components/dialog-header.tsx","../src/components/dialog-footer.tsx","../src/components/dialog-title.tsx","../src/components/dialog-description.tsx","../src/components/dialog-close.tsx","../src/components/label.tsx","../src/components/textarea.tsx","../src/components/checkbox.tsx","../src/components/badge.tsx","../src/components/switch.tsx","../src/components/radio-group.tsx","../src/components/radio-group-item.tsx","../src/components/tabs.tsx","../src/components/tabs-list.tsx","../src/components/tabs-trigger.tsx","../src/components/tabs-content.tsx","../src/components/tooltip-provider.tsx","../src/components/tooltip.tsx","../src/components/tooltip-trigger.tsx","../src/components/tooltip-content.tsx","../src/components/separator.tsx","../src/components/accordion.tsx","../src/components/accordion-item.tsx","../src/components/accordion-trigger.tsx","../src/components/accordion-content.tsx","../src/components/alert.tsx","../src/components/alert-title.tsx","../src/components/alert-description.tsx","../src/components/avatar.tsx","../src/components/avatar-image.tsx","../src/components/avatar-fallback.tsx","../src/components/dropdown-menu.tsx","../src/components/dropdown-menu-trigger.tsx","../src/components/dropdown-menu-content.tsx","../src/components/dropdown-menu-item.tsx","../src/components/dropdown-menu-label.tsx","../src/components/dropdown-menu-separator.tsx","../src/components/popover.tsx","../src/components/popover-trigger.tsx","../src/components/popover-content.tsx","../src/components/sheet.tsx","../src/components/sheet-trigger.tsx","../src/components/sheet-content.tsx","../src/components/sheet-header.tsx","../src/components/sheet-title.tsx","../src/components/sheet-description.tsx","../src/components/skeleton.tsx","../src/components/slider.tsx","../src/components/table.tsx","../src/components/table-header.tsx","../src/components/table-body.tsx","../src/components/table-footer.tsx","../src/components/table-row.tsx","../src/components/table-head.tsx","../src/components/table-cell.tsx","../src/components/table-caption.tsx","../src/components/pagination.tsx","../src/components/pagination-content.tsx","../src/components/pagination-item.tsx","../src/components/pagination-link.tsx","../src/components/pagination-previous.tsx","../src/components/pagination-next.tsx","../src/components/pagination-ellipsis.tsx","../src/components/breadcrumb.tsx","../src/components/breadcrumb-list.tsx","../src/components/breadcrumb-item.tsx","../src/components/breadcrumb-link.tsx","../src/components/breadcrumb-page.tsx","../src/components/breadcrumb-separator.tsx","../src/components/form.tsx","../src/components/password-input.tsx","../src/components/form-control.tsx","../src/components/form-description.tsx","../src/components/form-item.tsx","../src/components/form-label.tsx","../src/components/form-message.tsx","../src/components/revit-form.tsx","../src/components/field.tsx","../src/components/heading.tsx","../src/components/link.tsx","../src/components/text.tsx","../src/components/toaster.tsx","../src/components/command.tsx","../src/components/command-input.tsx","../src/components/command-list.tsx","../src/components/command-empty.tsx","../src/components/command-group.tsx","../src/components/command-item.tsx","../src/components/combobox.tsx","../src/components/context-menu.tsx","../src/components/context-menu-trigger.tsx","../src/components/context-menu-content.tsx","../src/theme/overlay.ts","../src/components/context-menu-item.tsx","../src/components/alert-dialog.tsx","../src/components/alert-dialog-trigger.tsx","../src/components/alert-dialog-content.tsx","../src/components/alert-dialog-overlay.tsx","../src/components/alert-dialog-header.tsx","../src/components/alert-dialog-footer.tsx","../src/components/alert-dialog-title.tsx","../src/components/alert-dialog-description.tsx","../src/components/alert-dialog-action.tsx","../src/components/alert-dialog-cancel.tsx","../src/components/hover-card.tsx","../src/components/hover-card-trigger.tsx","../src/components/hover-card-content.tsx","../src/components/progress.tsx","../src/components/toggle.tsx","../src/components/toggle-group.tsx","../src/components/toggle-group-item.tsx","../src/components/scroll-area.tsx","../src/components/collapsible.tsx","../src/components/collapsible-trigger.tsx","../src/components/collapsible-content.tsx","../src/components/calendar.tsx","../src/components/date-picker.tsx","../src/components/chart-container.tsx","../src/components/chart-tooltip.tsx","../src/components/carousel.tsx","../src/components/drawer.tsx","../src/components/menubar.tsx","../src/components/navigation-menu.tsx","../src/components/resizable.tsx","../src/components/sidebar.tsx","../src/components/input-otp.tsx","../src/components/aspect-ratio.tsx","../src/theme/surfaces.ts","../src/components/frost-panel.tsx","../src/components/frost-nav.tsx","../src/components/frost-tile.tsx","../src/components/frost-fab.tsx","../src/components/brand-gradient.tsx","../src/components/image-scrim.tsx","../src/components/search-bar.tsx","../src/components/confirm-dialog.tsx","../src/components/command-dialog.tsx","../src/components/pagination-bar.tsx","../src/theme/tokensToCss.ts","../src/theme/tokens.revit.ts","../src/theme/RevitUIProvider.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport type { ButtonHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst buttonVariants = cva(\n `inline-flex items-center justify-center gap-2 whitespace-nowrap font-sans text-sm font-semibold uppercase tracking-[0.12em] ${motion.surface} hover:scale-[1.02] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`,\n {\n variants: {\n variant: {\n default:\n 'rounded-pill border-2 border-primary bg-primary text-primary-foreground shadow-[0_8px_12px_6px_rgba(0,0,0,0.07)] hover:bg-primary/90 focus-visible:ring-brand-off-black focus-visible:ring-offset-primary',\n secondary:\n 'rounded-pill border-2 border-secondary bg-secondary text-secondary-foreground shadow-[0_12px_24px_rgba(0,0,0,0.07)] hover:bg-secondary/90',\n outline:\n 'rounded-pill border-2 border-border bg-card text-card-foreground shadow-[0_14px_22px_rgba(0,0,0,0.03)] hover:border-primary hover:bg-primary/25',\n ghost: 'rounded-pill hover:bg-accent hover:text-accent-foreground',\n link: 'rounded-none tracking-normal normal-case underline-offset-4 hover:underline',\n destructive:\n 'rounded-pill border-2 border-destructive bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',\n },\n size: {\n default: 'px-3.5 py-2 text-[11px] md:px-4 md:text-[12px]',\n sm: 'px-3 py-1.5 text-[10px]',\n lg: 'min-w-[10rem] px-6 py-3 text-sm sm:min-w-[12rem]',\n icon: 'size-9 rounded-pill p-0',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\ntype ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> &\n VariantProps<typeof buttonVariants> & {\n asChild?: boolean\n }\n\nexport const Button = ({ className, variant, size, asChild = false, ...props }: ButtonProps) => {\n const Comp = asChild ? Slot : 'button'\n return (\n <Comp\n data-id=\"Button\"\n data-slot=\"button\"\n className={cn(buttonVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { buttonVariants }\nexport type { ButtonProps }\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport const cn = (...inputs: ClassValue[]) => {\n return twMerge(clsx(inputs))\n}\n","/**\n * Shared motion — keep surfaces feeling the same.\n */\nexport const motion = {\n surface:\n 'transition-[transform,color,background-color,border-color,box-shadow,opacity] duration-200 ease-out',\n}\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { InputHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\nconst inputVariants = cva(`w-full ${fieldSurface} file:border-0 file:bg-transparent file:text-sm file:font-medium`, {\n variants: {\n variant: {\n default: 'rounded-md',\n pill: 'rounded-pill',\n filled: 'rounded-md bg-muted',\n },\n size: {\n default: 'h-12 px-5 py-3 text-base',\n sm: 'h-9 px-3 py-1 text-sm',\n md: 'h-11 px-4 py-2 text-base md:text-sm',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n})\n\ntype InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> &\n VariantProps<typeof inputVariants>\n\nexport const Input = ({ className, type, variant, size, ...props }: InputProps) => {\n return (\n <input\n data-id=\"Input\"\n data-slot=\"input\"\n type={type}\n className={cn(inputVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { inputVariants }\nexport type { InputProps }\n","import { motion } from './motion'\n\n/** Shared field chrome — white fill, mist border (Revit search/outline). */\nexport const fieldSurface = `border border-border bg-card font-sans text-foreground outline-none ${motion.surface} placeholder:text-muted-foreground hover:border-primary focus-visible:border-primary focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] disabled:cursor-not-allowed disabled:opacity-50`\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst cardVariants = cva(`font-sans text-card-foreground ${motion.surface}`, {\n variants: {\n variant: {\n default: 'rounded-lg border border-border bg-card shadow-[0_18px_40px_rgba(0,0,0,0.04)]',\n elevated: 'rounded-xl bg-card shadow-[0_24px_48px_rgba(0,0,0,0.12)]',\n frost:\n 'rounded-lg border border-white/55 bg-white/0 shadow-[0_1px_0_rgba(255,255,255,0.2)_inset,0_12px_40px_rgba(0,0,0,0.04)] backdrop-blur-xl backdrop-saturate-150',\n outline: 'rounded-lg border border-border bg-transparent shadow-none',\n },\n size: {\n sm: '[&_[data-slot=card-header]]:p-4 [&_[data-slot=card-content]]:px-4 [&_[data-slot=card-content]]:pb-4 [&_[data-slot=card-footer]]:p-4 [&_[data-slot=card-footer]]:pt-0',\n default: '',\n lg: '[&_[data-slot=card-header]]:p-8 [&_[data-slot=card-content]]:px-8 [&_[data-slot=card-content]]:pb-8 [&_[data-slot=card-footer]]:p-8 [&_[data-slot=card-footer]]:pt-0',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n})\n\ntype CardProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants>\n\nexport const Card = ({ className, variant, size, ...props }: CardProps) => {\n return (\n <div\n data-id=\"Card\"\n data-slot=\"card\"\n className={cn(cardVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { cardVariants }\nexport type { CardProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardHeaderProps = HTMLAttributes<HTMLDivElement>\n\nexport const CardHeader = ({ className, ...props }: CardHeaderProps) => {\n return (\n <div\n data-id=\"CardHeader\"\n data-slot=\"card-header\"\n className={cn('flex flex-col gap-1.5 p-6', className)}\n {...props}\n />\n )\n}\n\nexport type { CardHeaderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardTitleProps = HTMLAttributes<HTMLHeadingElement>\n\nexport const CardTitle = ({ className, ...props }: CardTitleProps) => {\n return (\n <h3\n data-id=\"CardTitle\"\n data-slot=\"card-title\"\n className={cn('font-sans text-xl font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n )\n}\n\nexport type { CardTitleProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardDescriptionProps = HTMLAttributes<HTMLParagraphElement>\n\nexport const CardDescription = ({ className, ...props }: CardDescriptionProps) => {\n return (\n <p\n data-id=\"CardDescription\"\n data-slot=\"card-description\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { CardDescriptionProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardContentProps = HTMLAttributes<HTMLDivElement>\n\nexport const CardContent = ({ className, ...props }: CardContentProps) => {\n return (\n <div\n data-id=\"CardContent\"\n data-slot=\"card-content\"\n className={cn('p-6 pt-0', className)}\n {...props}\n />\n )\n}\n\nexport type { CardContentProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CardFooterProps = HTMLAttributes<HTMLDivElement>\n\nexport const CardFooter = ({ className, ...props }: CardFooterProps) => {\n return (\n <div\n data-id=\"CardFooter\"\n data-slot=\"card-footer\"\n className={cn('flex items-center gap-2 p-6 pt-0', className)}\n {...props}\n />\n )\n}\n\nexport type { CardFooterProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\n\nexport const Select = SelectPrimitive.Root\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\n\nexport const SelectGroup = SelectPrimitive.Group\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\n\nexport const SelectValue = SelectPrimitive.Value\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { ChevronDown } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\nconst selectTriggerVariants = cva(\n `flex w-full items-center justify-between gap-2 ${fieldSurface} data-[placeholder]:text-muted-foreground [&_svg]:size-4 [&_svg]:opacity-50`,\n {\n variants: {\n variant: {\n default: 'rounded-md',\n pill: 'rounded-pill',\n filled: 'rounded-md bg-muted',\n },\n size: {\n default: 'h-12 px-5 py-3 text-base',\n sm: 'h-9 px-3 py-1 text-sm',\n md: 'h-11 px-4 py-2 text-base md:text-sm',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\ntype SelectTriggerProps = ComponentProps<typeof SelectPrimitive.Trigger> &\n VariantProps<typeof selectTriggerVariants>\n\nexport const SelectTrigger = ({\n className,\n variant,\n size,\n children,\n ...props\n}: SelectTriggerProps) => {\n return (\n <SelectPrimitive.Trigger\n data-id=\"SelectTrigger\"\n data-slot=\"select-trigger\"\n className={cn(selectTriggerVariants({ variant, size }), className)}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <ChevronDown />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n )\n}\n\nexport { selectTriggerVariants }\nexport type { SelectTriggerProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { SelectScrollDownButton } from './select-scroll-down-button'\nimport { SelectScrollUpButton } from './select-scroll-up-button'\n\ntype SelectContentProps = ComponentProps<typeof SelectPrimitive.Content>\n\nexport const SelectContent = ({\n className,\n children,\n position = 'popper',\n ...props\n}: SelectContentProps) => {\n return (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n data-id=\"SelectContent\"\n data-slot=\"select-content\"\n className={cn(\n 'revit-ui relative z-50 max-h-96 min-w-32 overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)] 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',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n className,\n )}\n position={position}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n 'p-1',\n position === 'popper' &&\n 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n )\n}\n\nexport type { SelectContentProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { ChevronDown } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SelectScrollDownButtonProps = ComponentProps<typeof SelectPrimitive.ScrollDownButton>\n\nexport const SelectScrollDownButton = ({ className, ...props }: SelectScrollDownButtonProps) => {\n return (\n <SelectPrimitive.ScrollDownButton\n data-id=\"SelectScrollDownButton\"\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDown className=\"size-4\" />\n </SelectPrimitive.ScrollDownButton>\n )\n}\n\nexport type { SelectScrollDownButtonProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { ChevronUp } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SelectScrollUpButtonProps = ComponentProps<typeof SelectPrimitive.ScrollUpButton>\n\nexport const SelectScrollUpButton = ({ className, ...props }: SelectScrollUpButtonProps) => {\n return (\n <SelectPrimitive.ScrollUpButton\n data-id=\"SelectScrollUpButton\"\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUp className=\"size-4\" />\n </SelectPrimitive.ScrollUpButton>\n )\n}\n\nexport type { SelectScrollUpButtonProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport { Check } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype SelectItemProps = ComponentProps<typeof SelectPrimitive.Item>\n\nexport const SelectItem = ({ className, children, ...props }: SelectItemProps) => {\n return (\n <SelectPrimitive.Item\n data-id=\"SelectItem\"\n data-slot=\"select-item\"\n className={cn(\n `relative flex w-full cursor-default select-none items-center rounded-md py-2 pl-8 pr-2 text-sm outline-none ${motion.surface} focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <SelectPrimitive.ItemIndicator>\n <Check className=\"size-4\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n )\n}\n\nexport type { SelectItemProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SelectLabelProps = ComponentProps<typeof SelectPrimitive.Label>\n\nexport const SelectLabel = ({ className, ...props }: SelectLabelProps) => {\n return (\n <SelectPrimitive.Label\n data-id=\"SelectLabel\"\n className={cn('px-2 py-1.5 text-xs font-semibold uppercase tracking-[0.12em]', className)}\n {...props}\n />\n )\n}\n\nexport type { SelectLabelProps }\n","'use client'\n\nimport * as SelectPrimitive from '@radix-ui/react-select'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SelectSeparatorProps = ComponentProps<typeof SelectPrimitive.Separator>\n\nexport const SelectSeparator = ({ className, ...props }: SelectSeparatorProps) => {\n return (\n <SelectPrimitive.Separator\n data-id=\"SelectSeparator\"\n className={cn('-mx-1 my-1 h-px bg-border', className)}\n {...props}\n />\n )\n}\n\nexport type { SelectSeparatorProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const Dialog = DialogPrimitive.Root\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const DialogTrigger = DialogPrimitive.Trigger\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport { X } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\nimport { DialogOverlay } from './dialog-overlay'\nimport { DialogPortal } from './dialog-portal'\n\ntype DialogContentProps = ComponentProps<typeof DialogPrimitive.Content>\n\nexport const DialogContent = ({ className, children, ...props }: DialogContentProps) => {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n data-id=\"DialogContent\"\n data-slot=\"dialog-content\"\n className={cn(\n `revit-ui fixed top-1/2 left-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border border-border bg-card p-6 text-card-foreground shadow-[0_24px_48px_rgba(0,0,0,0.12)] ${motion.surface} 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`,\n className,\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close\n data-id=\"DialogClose\"\n className={`absolute top-4 right-4 rounded-pill p-1 opacity-70 ${motion.surface} hover:bg-muted hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`}\n >\n <X className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n )\n}\n\nexport type { DialogContentProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogOverlayProps = ComponentProps<typeof DialogPrimitive.Overlay>\n\nexport const DialogOverlay = ({ className, ...props }: DialogOverlayProps) => {\n return (\n <DialogPrimitive.Overlay\n data-id=\"DialogOverlay\"\n data-slot=\"dialog-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { DialogOverlayProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const DialogPortal = DialogPrimitive.Portal\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogHeaderProps = HTMLAttributes<HTMLDivElement>\n\nexport const DialogHeader = ({ className, ...props }: DialogHeaderProps) => {\n return (\n <div\n data-id=\"DialogHeader\"\n className={cn('flex flex-col gap-1.5 text-center sm:text-left', className)}\n {...props}\n />\n )\n}\n\nexport type { DialogHeaderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogFooterProps = HTMLAttributes<HTMLDivElement>\n\nexport const DialogFooter = ({ className, ...props }: DialogFooterProps) => {\n return (\n <div\n data-id=\"DialogFooter\"\n className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n )\n}\n\nexport type { DialogFooterProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogTitleProps = ComponentProps<typeof DialogPrimitive.Title>\n\nexport const DialogTitle = ({ className, ...props }: DialogTitleProps) => {\n return (\n <DialogPrimitive.Title\n data-id=\"DialogTitle\"\n className={cn('font-sans text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n )\n}\n\nexport type { DialogTitleProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DialogDescriptionProps = ComponentProps<typeof DialogPrimitive.Description>\n\nexport const DialogDescription = ({ className, ...props }: DialogDescriptionProps) => {\n return (\n <DialogPrimitive.Description\n data-id=\"DialogDescription\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { DialogDescriptionProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const DialogClose = DialogPrimitive.Close\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\nconst labelVariants = cva(\n 'font-sans leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',\n {\n variants: {\n variant: {\n default: 'text-sm font-medium',\n eyebrow: 'text-xs font-bold uppercase tracking-[0.22em] text-brand-gold',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n },\n)\n\ntype LabelProps = ComponentProps<'label'> & VariantProps<typeof labelVariants>\n\nexport const Label = ({ className, variant, ...props }: LabelProps) => {\n return <label data-id=\"Label\" className={cn(labelVariants({ variant }), className)} {...props} />\n}\n\nexport { labelVariants }\nexport type { LabelProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { TextareaHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\nconst textareaVariants = cva(`min-h-24 w-full resize-y ${fieldSurface}`, {\n variants: {\n variant: {\n default: 'rounded-md',\n filled: 'rounded-md bg-muted',\n },\n size: {\n default: 'px-5 py-3 text-base',\n sm: 'min-h-20 px-3 py-2 text-sm',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n})\n\ntype TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> &\n VariantProps<typeof textareaVariants>\n\nexport const Textarea = ({ className, variant, size, ...props }: TextareaProps) => {\n return (\n <textarea\n data-id=\"Textarea\"\n data-slot=\"textarea\"\n className={cn(textareaVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { textareaVariants }\nexport type { TextareaProps }\n","'use client'\n\nimport * as CheckboxPrimitive from '@radix-ui/react-checkbox'\nimport { Check } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype CheckboxProps = ComponentProps<typeof CheckboxPrimitive.Root>\n\nexport const Checkbox = ({ className, ...props }: CheckboxProps) => {\n return (\n <CheckboxPrimitive.Root\n data-id=\"Checkbox\"\n data-slot=\"checkbox\"\n className={cn(\n `peer size-5 shrink-0 rounded-sm border border-border bg-card ${motion.surface} hover:border-primary focus-visible:border-primary focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground`,\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator className=\"flex items-center justify-center text-current\">\n <Check className=\"size-3.5 stroke-[3]\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n )\n}\n\nexport type { CheckboxProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst badgeVariants = cva(\n `inline-flex items-center font-sans font-semibold uppercase tracking-[0.12em] ${motion.surface}`,\n {\n variants: {\n variant: {\n default: 'rounded-pill border-2 border-primary bg-primary text-primary-foreground',\n tag: 'rounded-pill border-2 border-border bg-card text-card-foreground hover:border-primary hover:bg-primary/25',\n outline: 'rounded-pill border border-border bg-card text-foreground',\n secondary: 'rounded-pill border-2 border-secondary bg-secondary text-secondary-foreground',\n destructive: 'rounded-pill border-2 border-destructive bg-destructive text-destructive-foreground',\n },\n size: {\n default: 'px-3.5 py-1.5 text-[11px]',\n sm: 'px-2.5 py-1 text-[10px]',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\ntype BadgeProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>\n\nexport const Badge = ({ className, variant, size, ...props }: BadgeProps) => {\n return (\n <span data-id=\"Badge\" className={cn(badgeVariants({ variant, size }), className)} {...props} />\n )\n}\n\nexport { badgeVariants }\nexport type { BadgeProps }\n","'use client'\n\nimport * as SwitchPrimitive from '@radix-ui/react-switch'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype SwitchProps = ComponentProps<typeof SwitchPrimitive.Root>\n\nexport const Switch = ({ className, ...props }: SwitchProps) => {\n return (\n <SwitchPrimitive.Root\n data-id=\"Switch\"\n data-slot=\"switch\"\n className={cn(\n `peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-pill border border-border bg-muted ${motion.surface} focus-visible:border-primary focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary`,\n className,\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-id=\"SwitchThumb\"\n className={`pointer-events-none block size-5 rounded-pill bg-card shadow-sm ${motion.surface} data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5`}\n />\n </SwitchPrimitive.Root>\n )\n}\n\nexport type { SwitchProps }\n","'use client'\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype RadioGroupProps = ComponentProps<typeof RadioGroupPrimitive.Root>\n\nexport const RadioGroup = ({ className, ...props }: RadioGroupProps) => {\n return (\n <RadioGroupPrimitive.Root\n data-id=\"RadioGroup\"\n className={cn('grid gap-2', className)}\n {...props}\n />\n )\n}\n\nexport type { RadioGroupProps }\n","'use client'\n\nimport * as RadioGroupPrimitive from '@radix-ui/react-radio-group'\nimport { Circle } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype RadioGroupItemProps = ComponentProps<typeof RadioGroupPrimitive.Item>\n\nexport const RadioGroupItem = ({ className, ...props }: RadioGroupItemProps) => {\n return (\n <RadioGroupPrimitive.Item\n data-id=\"RadioGroupItem\"\n className={cn(\n `aspect-square size-5 rounded-full border border-border bg-card ${motion.surface} hover:border-primary focus-visible:border-primary focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary`,\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator className=\"flex items-center justify-center\">\n <Circle className=\"size-2.5 fill-primary text-primary\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n )\n}\n\nexport type { RadioGroupItemProps }\n","'use client'\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\n\nexport const Tabs = TabsPrimitive.Root\n","'use client'\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TabsListProps = ComponentProps<typeof TabsPrimitive.List>\n\nexport const TabsList = ({ className, ...props }: TabsListProps) => {\n return (\n <TabsPrimitive.List\n data-id=\"TabsList\"\n className={cn(\n 'inline-flex items-center gap-1 rounded-pill border border-border bg-card p-1',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { TabsListProps }\n","'use client'\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype TabsTriggerProps = ComponentProps<typeof TabsPrimitive.Trigger>\n\nexport const TabsTrigger = ({ className, ...props }: TabsTriggerProps) => {\n return (\n <TabsPrimitive.Trigger\n data-id=\"TabsTrigger\"\n className={cn(\n `inline-flex items-center justify-center rounded-pill px-4 py-2 font-sans text-[11px] font-semibold uppercase tracking-[0.12em] ${motion.surface} hover:bg-muted focus-visible:outline-none focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground`,\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { TabsTriggerProps }\n","'use client'\n\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype TabsContentProps = ComponentProps<typeof TabsPrimitive.Content>\n\nexport const TabsContent = ({ className, ...props }: TabsContentProps) => {\n return (\n <TabsPrimitive.Content\n data-id=\"TabsContent\"\n className={cn(`mt-4 outline-none ${motion.surface} focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)]`, className)}\n {...props}\n />\n )\n}\n\nexport type { TabsContentProps }\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport type { ComponentProps } from 'react'\n\ntype TooltipProviderProps = ComponentProps<typeof TooltipPrimitive.Provider>\n\nexport const TooltipProvider = ({ delayDuration = 200, ...props }: TooltipProviderProps) => {\n return <TooltipPrimitive.Provider delayDuration={delayDuration} {...props} />\n}\n\nexport type { TooltipProviderProps }\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\n\nexport const Tooltip = TooltipPrimitive.Root\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\n\nexport const TooltipTrigger = TooltipPrimitive.Trigger\n","'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TooltipContentProps = ComponentProps<typeof TooltipPrimitive.Content>\n\nexport const TooltipContent = ({ className, sideOffset = 8, ...props }: TooltipContentProps) => {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-id=\"TooltipContent\"\n sideOffset={sideOffset}\n className={cn(\n 'z-50 rounded-md border border-border bg-card px-3 py-1.5 font-sans text-xs text-card-foreground shadow-[0_12px_24px_rgba(0,0,0,0.08)] 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',\n className,\n )}\n {...props}\n />\n </TooltipPrimitive.Portal>\n )\n}\n\nexport type { TooltipContentProps }\n","import * as SeparatorPrimitive from '@radix-ui/react-separator'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SeparatorProps = ComponentProps<typeof SeparatorPrimitive.Root>\n\nexport const Separator = ({\n className,\n orientation = 'horizontal',\n decorative = true,\n ...props\n}: SeparatorProps) => {\n return (\n <SeparatorPrimitive.Root\n data-id=\"Separator\"\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { SeparatorProps }\n","'use client'\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion'\n\nexport const Accordion = AccordionPrimitive.Root\n","'use client'\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AccordionItemProps = ComponentProps<typeof AccordionPrimitive.Item>\n\nexport const AccordionItem = ({ className, ...props }: AccordionItemProps) => {\n return (\n <AccordionPrimitive.Item\n data-id=\"AccordionItem\"\n className={cn('border-b border-border', className)}\n {...props}\n />\n )\n}\n\nexport type { AccordionItemProps }\n","'use client'\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion'\nimport { ChevronDown } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype AccordionTriggerProps = ComponentProps<typeof AccordionPrimitive.Trigger>\n\nexport const AccordionTrigger = ({ className, children, ...props }: AccordionTriggerProps) => {\n return (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n data-id=\"AccordionTrigger\"\n className={cn(\n `flex flex-1 items-center justify-between py-4 text-left font-sans text-sm font-semibold ${motion.surface} hover:text-brand-gold focus-visible:outline-none focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] [&[data-state=open]>svg]:rotate-180`,\n className,\n )}\n {...props}\n >\n {children}\n <ChevronDown className={`size-4 shrink-0 ${motion.surface}`} />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n )\n}\n\nexport type { AccordionTriggerProps }\n","'use client'\n\nimport * as AccordionPrimitive from '@radix-ui/react-accordion'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AccordionContentProps = ComponentProps<typeof AccordionPrimitive.Content>\n\nexport const AccordionContent = ({ className, children, ...props }: AccordionContentProps) => {\n return (\n <AccordionPrimitive.Content\n data-id=\"AccordionContent\"\n className=\"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down\"\n {...props}\n >\n <div className={cn('pb-4 text-muted-foreground', className)}>{children}</div>\n </AccordionPrimitive.Content>\n )\n}\n\nexport type { AccordionContentProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\nconst alertVariants = cva('relative w-full rounded-lg border px-4 py-3 font-sans text-sm', {\n variants: {\n variant: {\n default: 'border-border bg-card text-card-foreground',\n warning: 'border-primary/60 bg-primary/15 text-foreground',\n destructive: 'border-destructive/40 bg-destructive/10 text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n})\n\ntype AlertProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n\nexport const Alert = ({ className, variant, ...props }: AlertProps) => {\n return (\n <div data-id=\"Alert\" role=\"alert\" className={cn(alertVariants({ variant }), className)} {...props} />\n )\n}\n\nexport { alertVariants }\nexport type { AlertProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertTitleProps = HTMLAttributes<HTMLHeadingElement>\n\nexport const AlertTitle = ({ className, ...props }: AlertTitleProps) => {\n return (\n <h5\n data-id=\"AlertTitle\"\n className={cn('mb-1 font-sans text-sm font-semibold tracking-tight', className)}\n {...props}\n />\n )\n}\n\nexport type { AlertTitleProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDescriptionProps = HTMLAttributes<HTMLParagraphElement>\n\nexport const AlertDescription = ({ className, ...props }: AlertDescriptionProps) => {\n return (\n <p data-id=\"AlertDescription\" className={cn('text-sm text-muted-foreground', className)} {...props} />\n )\n}\n\nexport type { AlertDescriptionProps }\n","'use client'\n\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AvatarProps = ComponentProps<typeof AvatarPrimitive.Root>\n\nexport const Avatar = ({ className, ...props }: AvatarProps) => {\n return (\n <AvatarPrimitive.Root\n data-id=\"Avatar\"\n className={cn('relative flex size-10 shrink-0 overflow-hidden rounded-pill', className)}\n {...props}\n />\n )\n}\n\nexport type { AvatarProps }\n","'use client'\n\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AvatarImageProps = ComponentProps<typeof AvatarPrimitive.Image>\n\nexport const AvatarImage = ({ className, ...props }: AvatarImageProps) => {\n return (\n <AvatarPrimitive.Image\n data-id=\"AvatarImage\"\n className={cn('aspect-square size-full object-cover', className)}\n {...props}\n />\n )\n}\n\nexport type { AvatarImageProps }\n","'use client'\n\nimport * as AvatarPrimitive from '@radix-ui/react-avatar'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AvatarFallbackProps = ComponentProps<typeof AvatarPrimitive.Fallback>\n\nexport const AvatarFallback = ({ className, ...props }: AvatarFallbackProps) => {\n return (\n <AvatarPrimitive.Fallback\n data-id=\"AvatarFallback\"\n className={cn(\n 'flex size-full items-center justify-center bg-primary font-sans text-xs font-semibold uppercase text-primary-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { AvatarFallbackProps }\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\n\nexport const DropdownMenu = DropdownMenuPrimitive.Root\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\n\nexport const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DropdownMenuContentProps = ComponentProps<typeof DropdownMenuPrimitive.Content>\n\nexport const DropdownMenuContent = ({\n className,\n sideOffset = 8,\n ...props\n}: DropdownMenuContentProps) => {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n data-id=\"DropdownMenuContent\"\n sideOffset={sideOffset}\n className={cn(\n 'z-50 min-w-40 overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)] 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',\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n )\n}\n\nexport type { DropdownMenuContentProps }\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype DropdownMenuItemProps = ComponentProps<typeof DropdownMenuPrimitive.Item>\n\nexport const DropdownMenuItem = ({ className, ...props }: DropdownMenuItemProps) => {\n return (\n <DropdownMenuPrimitive.Item\n data-id=\"DropdownMenuItem\"\n className={cn(\n `relative flex cursor-default items-center rounded-md px-3 py-2 text-sm outline-none ${motion.surface} focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { DropdownMenuItemProps }\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DropdownMenuLabelProps = ComponentProps<typeof DropdownMenuPrimitive.Label>\n\nexport const DropdownMenuLabel = ({ className, ...props }: DropdownMenuLabelProps) => {\n return (\n <DropdownMenuPrimitive.Label\n data-id=\"DropdownMenuLabel\"\n className={cn('px-3 py-2 text-xs font-semibold uppercase tracking-[0.12em]', className)}\n {...props}\n />\n )\n}\n\nexport type { DropdownMenuLabelProps }\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype DropdownMenuSeparatorProps = ComponentProps<typeof DropdownMenuPrimitive.Separator>\n\nexport const DropdownMenuSeparator = ({ className, ...props }: DropdownMenuSeparatorProps) => {\n return (\n <DropdownMenuPrimitive.Separator\n data-id=\"DropdownMenuSeparator\"\n className={cn('-mx-1 my-1 h-px bg-border', className)}\n {...props}\n />\n )\n}\n\nexport type { DropdownMenuSeparatorProps }\n","'use client'\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover'\n\nexport const Popover = PopoverPrimitive.Root\n","'use client'\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover'\n\nexport const PopoverTrigger = PopoverPrimitive.Trigger\n","'use client'\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype PopoverContentProps = ComponentProps<typeof PopoverPrimitive.Content>\n\nexport const PopoverContent = ({\n className,\n align = 'center',\n sideOffset = 8,\n ...props\n}: PopoverContentProps) => {\n return (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n data-id=\"PopoverContent\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 w-72 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)] outline-none 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',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n )\n}\n\nexport type { PopoverContentProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const Sheet = DialogPrimitive.Root\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\n\nexport const SheetTrigger = DialogPrimitive.Trigger\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { X } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\nimport { DialogOverlay } from './dialog-overlay'\nimport { DialogPortal } from './dialog-portal'\n\nconst sheetContentVariants = cva(\n `fixed z-50 flex flex-col gap-4 border-border bg-card p-6 text-card-foreground shadow-[0_24px_48px_rgba(0,0,0,0.12)] ${motion.surface} data-[state=open]:animate-in data-[state=closed]:animate-out`,\n {\n variants: {\n side: {\n right:\n 'inset-y-0 right-0 h-full w-full max-w-sm border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right',\n left: 'inset-y-0 left-0 h-full w-full max-w-sm border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left',\n top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top',\n bottom:\n 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom',\n },\n },\n defaultVariants: {\n side: 'right',\n },\n },\n)\n\ntype SheetContentProps = ComponentProps<typeof DialogPrimitive.Content> &\n VariantProps<typeof sheetContentVariants>\n\nexport const SheetContent = ({ className, children, side, ...props }: SheetContentProps) => {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n data-id=\"SheetContent\"\n className={cn(sheetContentVariants({ side }), className)}\n {...props}\n >\n {children}\n <DialogPrimitive.Close\n data-id=\"SheetClose\"\n className={`absolute top-4 right-4 rounded-pill p-1 opacity-70 ${motion.surface} hover:bg-muted hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`}\n >\n <X className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n )\n}\n\nexport { sheetContentVariants }\nexport type { SheetContentProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SheetHeaderProps = HTMLAttributes<HTMLDivElement>\n\nexport const SheetHeader = ({ className, ...props }: SheetHeaderProps) => {\n return (\n <div data-id=\"SheetHeader\" className={cn('flex flex-col gap-1.5 pr-8', className)} {...props} />\n )\n}\n\nexport type { SheetHeaderProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SheetTitleProps = ComponentProps<typeof DialogPrimitive.Title>\n\nexport const SheetTitle = ({ className, ...props }: SheetTitleProps) => {\n return (\n <DialogPrimitive.Title\n data-id=\"SheetTitle\"\n className={cn('font-sans text-lg font-semibold tracking-tight', className)}\n {...props}\n />\n )\n}\n\nexport type { SheetTitleProps }\n","'use client'\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype SheetDescriptionProps = ComponentProps<typeof DialogPrimitive.Description>\n\nexport const SheetDescription = ({ className, ...props }: SheetDescriptionProps) => {\n return (\n <DialogPrimitive.Description\n data-id=\"SheetDescription\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { SheetDescriptionProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype SkeletonProps = HTMLAttributes<HTMLDivElement>\n\nexport const Skeleton = ({ className, ...props }: SkeletonProps) => {\n return (\n <div\n data-id=\"Skeleton\"\n className={cn(`animate-pulse rounded-md bg-muted ${motion.surface}`, className)}\n {...props}\n />\n )\n}\n\nexport type { SkeletonProps }\n","'use client'\n\nimport * as SliderPrimitive from '@radix-ui/react-slider'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype SliderProps = ComponentProps<typeof SliderPrimitive.Root>\n\nexport const Slider = ({ className, ...props }: SliderProps) => {\n return (\n <SliderPrimitive.Root\n data-id=\"Slider\"\n className={cn('relative flex w-full touch-none items-center select-none', className)}\n {...props}\n >\n <SliderPrimitive.Track\n data-id=\"SliderTrack\"\n className=\"relative h-2 w-full grow overflow-hidden rounded-pill bg-muted\"\n >\n <SliderPrimitive.Range className=\"absolute h-full bg-primary\" />\n </SliderPrimitive.Track>\n <SliderPrimitive.Thumb\n data-id=\"SliderThumb\"\n className={`block size-5 rounded-pill border border-primary bg-card ${motion.surface} focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`}\n />\n </SliderPrimitive.Root>\n )\n}\n\nexport type { SliderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableProps = HTMLAttributes<HTMLTableElement>\n\nexport const Table = ({ className, ...props }: TableProps) => {\n return (\n <div data-id=\"TableWrap\" className=\"relative w-full overflow-auto\">\n <table data-id=\"Table\" className={cn('w-full caption-bottom text-sm', className)} {...props} />\n </div>\n )\n}\n\nexport type { TableProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableHeaderProps = HTMLAttributes<HTMLTableSectionElement>\n\nexport const TableHeader = ({ className, ...props }: TableHeaderProps) => {\n return <thead data-id=\"TableHeader\" className={cn('[&_tr]:border-b', className)} {...props} />\n}\n\nexport type { TableHeaderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableBodyProps = HTMLAttributes<HTMLTableSectionElement>\n\nexport const TableBody = ({ className, ...props }: TableBodyProps) => {\n return (\n <tbody data-id=\"TableBody\" className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n )\n}\n\nexport type { TableBodyProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableFooterProps = HTMLAttributes<HTMLTableSectionElement>\n\nexport const TableFooter = ({ className, ...props }: TableFooterProps) => {\n return (\n <tfoot\n data-id=\"TableFooter\"\n className={cn('border-t bg-muted/50 font-medium [&>tr]:last:border-b-0', className)}\n {...props}\n />\n )\n}\n\nexport type { TableFooterProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype TableRowProps = HTMLAttributes<HTMLTableRowElement>\n\nexport const TableRow = ({ className, ...props }: TableRowProps) => {\n return (\n <tr\n data-id=\"TableRow\"\n className={cn(\n `border-b border-border ${motion.surface} hover:bg-muted/50 data-[state=selected]:bg-muted`,\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { TableRowProps }\n","import type { ThHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableHeadProps = ThHTMLAttributes<HTMLTableCellElement>\n\nexport const TableHead = ({ className, ...props }: TableHeadProps) => {\n return (\n <th\n data-id=\"TableHead\"\n className={cn(\n 'h-12 px-4 text-left align-middle font-sans text-xs font-semibold uppercase tracking-[0.12em] text-muted-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { TableHeadProps }\n","import type { TdHTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableCellProps = TdHTMLAttributes<HTMLTableCellElement>\n\nexport const TableCell = ({ className, ...props }: TableCellProps) => {\n return <td data-id=\"TableCell\" className={cn('p-4 align-middle', className)} {...props} />\n}\n\nexport type { TableCellProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype TableCaptionProps = HTMLAttributes<HTMLTableCaptionElement>\n\nexport const TableCaption = ({ className, ...props }: TableCaptionProps) => {\n return (\n <caption\n data-id=\"TableCaption\"\n className={cn('mt-4 text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { TableCaptionProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype PaginationProps = ComponentProps<'nav'>\n\nexport const Pagination = ({ className, ...props }: PaginationProps) => {\n return (\n <nav\n data-id=\"Pagination\"\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n )\n}\n\nexport type { PaginationProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype PaginationContentProps = ComponentProps<'ul'>\n\nexport const PaginationContent = ({ className, ...props }: PaginationContentProps) => {\n return (\n <ul data-id=\"PaginationContent\" className={cn('flex flex-row items-center gap-1', className)} {...props} />\n )\n}\n\nexport type { PaginationContentProps }\n","import type { ComponentProps } from 'react'\n\ntype PaginationItemProps = ComponentProps<'li'>\n\nexport const PaginationItem = (props: PaginationItemProps) => {\n return <li data-id=\"PaginationItem\" {...props} />\n}\n\nexport type { PaginationItemProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { buttonVariants } from './button'\n\ntype PaginationLinkProps = ComponentProps<'a'> & {\n isActive?: boolean\n}\n\nexport const PaginationLink = ({ className, isActive, ...props }: PaginationLinkProps) => {\n return (\n <a\n data-id=\"PaginationLink\"\n aria-current={isActive ? 'page' : undefined}\n className={cn(\n buttonVariants({ variant: isActive ? 'default' : 'outline', size: 'icon' }),\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { PaginationLinkProps }\n","import { ChevronLeft } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { PaginationLink } from './pagination-link'\n\ntype PaginationPreviousProps = ComponentProps<typeof PaginationLink>\n\nexport const PaginationPrevious = ({ className, ...props }: PaginationPreviousProps) => {\n return (\n <PaginationLink\n aria-label=\"Go to previous page\"\n className={cn('w-auto gap-1 px-3', className)}\n {...props}\n >\n <ChevronLeft className=\"size-4\" />\n <span>Prev</span>\n </PaginationLink>\n )\n}\n\nexport type { PaginationPreviousProps }\n","import { ChevronRight } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { PaginationLink } from './pagination-link'\n\ntype PaginationNextProps = ComponentProps<typeof PaginationLink>\n\nexport const PaginationNext = ({ className, ...props }: PaginationNextProps) => {\n return (\n <PaginationLink aria-label=\"Go to next page\" className={cn('w-auto gap-1 px-3', className)} {...props}>\n <span>Next</span>\n <ChevronRight className=\"size-4\" />\n </PaginationLink>\n )\n}\n\nexport type { PaginationNextProps }\n","import { MoreHorizontal } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype PaginationEllipsisProps = ComponentProps<'span'>\n\nexport const PaginationEllipsis = ({ className, ...props }: PaginationEllipsisProps) => {\n return (\n <span\n data-id=\"PaginationEllipsis\"\n aria-hidden\n className={cn('flex size-9 items-center justify-center', className)}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n )\n}\n\nexport type { PaginationEllipsisProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbProps = ComponentProps<'nav'>\n\nexport const Breadcrumb = ({ ...props }: BreadcrumbProps) => {\n return <nav data-id=\"Breadcrumb\" aria-label=\"breadcrumb\" {...props} />\n}\n\nexport type { BreadcrumbProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbListProps = ComponentProps<'ol'>\n\nexport const BreadcrumbList = ({ className, ...props }: BreadcrumbListProps) => {\n return (\n <ol\n data-id=\"BreadcrumbList\"\n className={cn('flex flex-wrap items-center gap-1.5 text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { BreadcrumbListProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbItemProps = ComponentProps<'li'>\n\nexport const BreadcrumbItem = ({ className, ...props }: BreadcrumbItemProps) => {\n return <li data-id=\"BreadcrumbItem\" className={cn('inline-flex items-center gap-1.5', className)} {...props} />\n}\n\nexport type { BreadcrumbItemProps }\n","import { Slot } from '@radix-ui/react-slot'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype BreadcrumbLinkProps = ComponentProps<'a'> & {\n asChild?: boolean\n}\n\nexport const BreadcrumbLink = ({ asChild, className, ...props }: BreadcrumbLinkProps) => {\n const Comp = asChild ? Slot : 'a'\n return (\n <Comp\n data-id=\"BreadcrumbLink\"\n className={cn(`${motion.surface} hover:text-foreground`, className)}\n {...props}\n />\n )\n}\n\nexport type { BreadcrumbLinkProps }\n","import type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbPageProps = ComponentProps<'span'>\n\nexport const BreadcrumbPage = ({ className, ...props }: BreadcrumbPageProps) => {\n return (\n <span\n data-id=\"BreadcrumbPage\"\n role=\"link\"\n aria-disabled=\"true\"\n aria-current=\"page\"\n className={cn('font-medium text-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { BreadcrumbPageProps }\n","import { ChevronRight } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype BreadcrumbSeparatorProps = ComponentProps<'li'>\n\nexport const BreadcrumbSeparator = ({ children, className, ...props }: BreadcrumbSeparatorProps) => {\n return (\n <li data-id=\"BreadcrumbSeparator\" role=\"presentation\" aria-hidden className={cn('[&>svg]:size-3.5', className)} {...props}>\n {children ?? <ChevronRight />}\n </li>\n )\n}\n\nexport type { BreadcrumbSeparatorProps }\n","'use client'\n\nimport { createContext, useContext, type ComponentProps } from 'react'\nimport {\n Controller,\n type ControllerProps,\n type FieldPath,\n type FieldValues,\n FormProvider,\n useFormContext,\n} from 'react-hook-form'\n\nexport const Form = FormProvider\n\ntype FormFieldContextValue<\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n> = {\n name: TName\n}\n\nconst FormFieldContext = createContext<FormFieldContextValue>({} as FormFieldContextValue)\n\nexport const FormField = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n>({\n ...props\n}: ControllerProps<TFieldValues, TName>) => {\n return (\n <FormFieldContext value={{ name: props.name }}>\n <Controller {...props} />\n </FormFieldContext>\n )\n}\n\ntype FormItemContextValue = {\n id: string\n}\n\nconst FormItemContext = createContext<FormItemContextValue>({} as FormItemContextValue)\n\nexport const useFormField = () => {\n const fieldContext = useContext(FormFieldContext)\n const itemContext = useContext(FormItemContext)\n const { getFieldState, formState } = useFormContext()\n const fieldState = getFieldState(fieldContext.name, formState)\n if (!fieldContext.name) {\n throw new Error('useFormField must be used within FormField')\n }\n const { id } = itemContext\n return {\n id,\n name: fieldContext.name,\n formItemId: `${id}-form-item`,\n formDescriptionId: `${id}-form-item-description`,\n formMessageId: `${id}-form-item-message`,\n ...fieldState,\n }\n}\n\nexport { useForm } from 'react-hook-form'\nexport { FormItemContext }\nexport type { FormFieldContextValue, ComponentProps }\n","'use client'\n\nimport { Eye, EyeOff } from 'lucide-react'\nimport { useState, type ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { Input } from './input'\n\ntype PasswordInputProps = Omit<ComponentProps<typeof Input>, 'type'> & {\n showPasswordToggle?: boolean\n}\n\nexport const PasswordInput = ({\n className,\n showPasswordToggle = true,\n ...props\n}: PasswordInputProps) => {\n const [isVisible, isVisibleSetter] = useState(false)\n\n return (\n <div className=\"relative\" data-id=\"PasswordInput\">\n <Input\n type={isVisible ? 'text' : 'password'}\n className={cn(showPasswordToggle && 'pr-12', className)}\n {...props}\n />\n {showPasswordToggle ? (\n <button\n type=\"button\"\n className=\"absolute top-1/2 right-4 -translate-y-1/2 text-muted-foreground hover:text-foreground\"\n aria-label={isVisible ? 'Hide password' : 'Show password'}\n onClick={() => isVisibleSetter((current) => !current)}\n >\n {isVisible ? <EyeOff className=\"size-5\" /> : <Eye className=\"size-5\" />}\n </button>\n ) : null}\n </div>\n )\n}\n\nexport type { PasswordInputProps }\n","'use client'\n\nimport { Slot } from '@radix-ui/react-slot'\nimport type { ComponentProps } from 'react'\nimport { useFormField } from './form'\n\ntype FormControlProps = ComponentProps<typeof Slot>\n\nexport const FormControl = ({ ...props }: FormControlProps) => {\n const { error, formItemId, formDescriptionId, formMessageId } = useFormField()\n return (\n <Slot\n data-id=\"FormControl\"\n id={formItemId}\n aria-describedby={!error ? formDescriptionId : `${formDescriptionId} ${formMessageId}`}\n aria-invalid={!!error}\n {...props}\n />\n )\n}\n\nexport type { FormControlProps }\n","'use client'\n\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { useFormField } from './form'\n\ntype FormDescriptionProps = HTMLAttributes<HTMLParagraphElement>\n\nexport const FormDescription = ({ className, ...props }: FormDescriptionProps) => {\n const { formDescriptionId } = useFormField()\n return (\n <p\n data-id=\"FormDescription\"\n id={formDescriptionId}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { FormDescriptionProps }\n","'use client'\n\nimport { useId, type HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { FormItemContext } from './form'\n\ntype FormItemProps = HTMLAttributes<HTMLDivElement>\n\nexport const FormItem = ({ className, ...props }: FormItemProps) => {\n const id = useId()\n return (\n <FormItemContext value={{ id }}>\n <div data-id=\"FormItem\" className={cn('flex flex-col gap-2', className)} {...props} />\n </FormItemContext>\n )\n}\n\nexport type { FormItemProps }\n","'use client'\n\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { Label } from './label'\nimport { useFormField } from './form'\n\ntype FormLabelProps = ComponentProps<typeof Label>\n\nexport const FormLabel = ({ className, ...props }: FormLabelProps) => {\n const { error, formItemId } = useFormField()\n return (\n <Label\n data-id=\"FormLabel\"\n htmlFor={formItemId}\n className={cn(error && 'text-destructive', className)}\n {...props}\n />\n )\n}\n\nexport type { FormLabelProps }\n","'use client'\n\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { useFormField } from './form'\n\ntype FormMessageProps = HTMLAttributes<HTMLParagraphElement>\n\nexport const FormMessage = ({ className, children, ...props }: FormMessageProps) => {\n const { error, formMessageId } = useFormField()\n const body = error ? String(error.message ?? '') : children\n if (!body) {\n return null\n }\n return (\n <p\n data-id=\"FormMessage\"\n id={formMessageId}\n className={cn('text-sm font-medium text-destructive', className)}\n {...props}\n >\n {body}\n </p>\n )\n}\n\nexport type { FormMessageProps }\n","'use client'\n\nimport type { DefaultValues, FieldValues, Resolver } from 'react-hook-form'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\nimport { Checkbox } from './checkbox'\nimport {\n Form,\n FormField,\n useForm,\n} from './form'\nimport { FormControl } from './form-control'\nimport { FormDescription } from './form-description'\nimport { FormItem } from './form-item'\nimport { FormLabel } from './form-label'\nimport { FormMessage } from './form-message'\nimport { Input, type InputProps } from './input'\nimport { Label } from './label'\nimport { PasswordInput, type PasswordInputProps } from './password-input'\nimport { RadioGroup } from './radio-group'\nimport { RadioGroupItem } from './radio-group-item'\nimport { Select } from './select'\nimport { SelectContent } from './select-content'\nimport { SelectItem } from './select-item'\nimport { SelectTrigger } from './select-trigger'\nimport { SelectValue } from './select-value'\nimport { Switch } from './switch'\nimport { Textarea, type TextareaProps } from './textarea'\n\ntype RevitFormOption = {\n value: string\n label: string\n}\n\ntype RevitFormFieldBase = {\n name: string\n label: string\n description?: string\n}\n\ntype RevitFormForgotPassword = {\n label?: string\n href?: string\n onClick?: () => void\n}\n\ntype RevitFormField =\n | (RevitFormFieldBase & {\n type: 'input'\n placeholder?: string\n inputProps?: Omit<InputProps, 'name' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'ref'>\n })\n | (RevitFormFieldBase & {\n type: 'password'\n placeholder?: string\n showPasswordToggle?: boolean\n forgotPassword?: RevitFormForgotPassword\n inputProps?: Omit<PasswordInputProps, 'name' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'ref' | 'showPasswordToggle'>\n })\n | (RevitFormFieldBase & {\n type: 'textarea'\n placeholder?: string\n textareaProps?: Omit<TextareaProps, 'name' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'ref'>\n })\n | (RevitFormFieldBase & { type: 'checkbox' })\n | (RevitFormFieldBase & { type: 'switch' })\n | (RevitFormFieldBase & {\n type: 'select'\n placeholder?: string\n options: RevitFormOption[]\n })\n | (RevitFormFieldBase & {\n type: 'radio'\n options: RevitFormOption[]\n })\n\ntype RevitFormProps<TFieldValues extends FieldValues = FieldValues> = {\n defaultValues: DefaultValues<TFieldValues>\n fields: RevitFormField[]\n onSubmit: (values: TFieldValues) => void | Promise<void>\n resolver?: Resolver<TFieldValues>\n submitLabel?: string\n hideSubmit?: boolean\n className?: string\n fieldClassName?: string\n}\n\nconst RevitFormFieldControl = ({\n field,\n config,\n}: {\n field: { value: unknown; onChange: (value: unknown) => void; onBlur: () => void; name: string }\n config: RevitFormField\n}) => {\n switch (config.type) {\n case 'input':\n return (\n <Input\n placeholder={config.placeholder}\n {...config.inputProps}\n name={field.name}\n value={(field.value as string) ?? ''}\n onBlur={field.onBlur}\n onChange={field.onChange}\n />\n )\n case 'password':\n return (\n <PasswordInput\n placeholder={config.placeholder}\n showPasswordToggle={config.showPasswordToggle ?? true}\n {...config.inputProps}\n name={field.name}\n value={(field.value as string) ?? ''}\n onBlur={field.onBlur}\n onChange={field.onChange}\n />\n )\n case 'textarea':\n return (\n <Textarea\n placeholder={config.placeholder}\n {...config.textareaProps}\n name={field.name}\n value={(field.value as string) ?? ''}\n onBlur={field.onBlur}\n onChange={field.onChange}\n />\n )\n case 'checkbox':\n return (\n <Checkbox\n checked={Boolean(field.value)}\n name={field.name}\n onBlur={field.onBlur}\n onCheckedChange={field.onChange}\n />\n )\n case 'switch':\n return (\n <Switch\n checked={Boolean(field.value)}\n name={field.name}\n onBlur={field.onBlur}\n onCheckedChange={field.onChange}\n />\n )\n case 'select':\n return (\n <Select onValueChange={field.onChange} value={(field.value as string) ?? ''}>\n <FormControl>\n <SelectTrigger>\n <SelectValue placeholder={config.placeholder} />\n </SelectTrigger>\n </FormControl>\n <SelectContent>\n {config.options.map((option, index) => (\n <SelectItem key={`${config.name}-${option.value}--${index}`} value={option.value}>\n {option.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n )\n case 'radio':\n return (\n <RadioGroup onValueChange={field.onChange} value={(field.value as string) ?? ''}>\n {config.options.map((option, index) => {\n const optionId = `${config.name}-${option.value}--${index}`\n return (\n <div key={optionId} className=\"flex items-center gap-2\">\n <RadioGroupItem id={optionId} value={option.value} />\n <Label htmlFor={optionId}>{option.label}</Label>\n </div>\n )\n })}\n </RadioGroup>\n )\n default:\n return null\n }\n}\n\nconst isInlineField = (type: RevitFormField['type']) => type === 'checkbox' || type === 'switch'\n\nconst RevitFormFieldLabel = ({ config }: { config: RevitFormField }) => {\n if (config.type !== 'password' || !config.forgotPassword) {\n return <FormLabel>{config.label}</FormLabel>\n }\n\n const forgotLabel = config.forgotPassword.label ?? 'Forgot Password?'\n const linkClassName = 'text-sm font-normal text-muted-foreground hover:text-foreground'\n\n return (\n <div className=\"flex items-center justify-between\">\n <FormLabel className=\"mb-0\">{config.label}</FormLabel>\n {config.forgotPassword.href ? (\n <a className={linkClassName} href={config.forgotPassword.href}>\n {forgotLabel}\n </a>\n ) : (\n <button className={linkClassName} type=\"button\" onClick={config.forgotPassword.onClick}>\n {forgotLabel}\n </button>\n )}\n </div>\n )\n}\n\nexport const RevitForm = <TFieldValues extends FieldValues = FieldValues>({\n className,\n defaultValues,\n fieldClassName,\n fields,\n hideSubmit = false,\n onSubmit,\n resolver,\n submitLabel = 'Submit',\n}: RevitFormProps<TFieldValues>) => {\n const form = useForm<TFieldValues>({\n defaultValues,\n resolver,\n })\n\n return (\n <Form {...form}>\n <form\n className={cn('flex flex-col gap-4', className)}\n data-id=\"RevitForm\"\n onSubmit={form.handleSubmit(onSubmit)}\n >\n {fields.map((config) => (\n <FormField\n key={config.name}\n control={form.control}\n name={config.name as never}\n render={({ field }) => (\n <FormItem\n className={cn(isInlineField(config.type) && 'flex flex-row items-center gap-3 space-y-0', fieldClassName)}\n >\n {!isInlineField(config.type) ? <RevitFormFieldLabel config={config} /> : null}\n {config.type === 'select' ? (\n <RevitFormFieldControl config={config} field={field} />\n ) : (\n <FormControl>\n <RevitFormFieldControl config={config} field={field} />\n </FormControl>\n )}\n {isInlineField(config.type) ? (\n <div className=\"space-y-1 leading-none\">\n <FormLabel className=\"font-normal\">{config.label}</FormLabel>\n {config.description ? <FormDescription>{config.description}</FormDescription> : null}\n </div>\n ) : config.description ? (\n <FormDescription>{config.description}</FormDescription>\n ) : null}\n <FormMessage />\n </FormItem>\n )}\n />\n ))}\n {!hideSubmit ? <Button type=\"submit\">{submitLabel}</Button> : null}\n </form>\n </Form>\n )\n}\n\nexport type { RevitFormField, RevitFormForgotPassword, RevitFormOption, RevitFormProps }\n","'use client'\n\nimport { Slot } from '@radix-ui/react-slot'\nimport { useId, type ReactNode } from 'react'\nimport { cn } from '../lib/utils'\nimport { Label } from './label'\n\ntype FieldProps = {\n children: ReactNode\n className?: string\n description?: string\n error?: string\n htmlFor?: string\n label: string\n required?: boolean\n}\n\nexport const Field = ({\n children,\n className,\n description,\n error,\n htmlFor,\n label,\n required = false,\n}: FieldProps) => {\n const generatedId = useId()\n const fieldId = htmlFor ?? generatedId\n const descriptionId = description ? `${fieldId}-description` : undefined\n const errorId = error ? `${fieldId}-error` : undefined\n\n return (\n <div data-id=\"Field\" className={cn('flex flex-col gap-2', className)}>\n <Label htmlFor={fieldId}>\n {label}\n {required ? <span className=\"text-destructive\"> *</span> : null}\n </Label>\n <Slot\n aria-describedby={[descriptionId, errorId].filter(Boolean).join(' ') || undefined}\n aria-invalid={error ? true : undefined}\n id={fieldId}\n >\n {children}\n </Slot>\n {description ? (\n <p className=\"text-sm text-muted-foreground\" id={descriptionId}>\n {description}\n </p>\n ) : null}\n {error ? (\n <p className=\"text-sm font-medium text-destructive\" id={errorId}>\n {error}\n </p>\n ) : null}\n </div>\n )\n}\n\nexport type { FieldProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\nconst headingVariants = cva('font-sans', {\n variants: {\n variant: {\n page: 'text-2xl font-semibold tracking-tight text-foreground',\n title: 'text-xl font-semibold leading-none tracking-tight text-foreground',\n section: 'text-lg font-semibold tracking-tight text-foreground',\n eyebrow: 'text-xs font-bold uppercase tracking-[0.22em] text-brand-gold',\n subtitle: 'text-sm font-normal tracking-normal text-muted-foreground',\n },\n },\n defaultVariants: {\n variant: 'title',\n },\n})\n\nconst defaultTag = {\n page: 'h1',\n title: 'h2',\n section: 'h3',\n eyebrow: 'h2',\n subtitle: 'p',\n} as const\n\ntype HeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p'\n\ntype HeadingProps = HTMLAttributes<HTMLElement> &\n VariantProps<typeof headingVariants> & {\n as?: HeadingTag\n }\n\nexport const Heading = ({ as, className, variant = 'title', ...props }: HeadingProps) => {\n const Comp = as ?? defaultTag[variant ?? 'title']\n\n return (\n <Comp data-id=\"Heading\" className={cn(headingVariants({ variant }), className)} {...props} />\n )\n}\n\nexport { headingVariants }\nexport type { HeadingProps }\n","import { Slot } from '@radix-ui/react-slot'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst linkVariants = cva(`font-sans ${motion.surface} underline-offset-4`, {\n variants: {\n variant: {\n default: 'text-foreground underline hover:text-primary',\n muted: 'text-muted-foreground no-underline hover:text-foreground hover:underline',\n primary: 'font-semibold text-primary no-underline hover:underline',\n },\n size: {\n default: 'text-sm',\n sm: 'text-xs',\n base: 'text-base',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n})\n\ntype LinkProps = ComponentProps<'a'> &\n VariantProps<typeof linkVariants> & {\n asChild?: boolean\n }\n\nexport const Link = ({ asChild, className, size, variant, ...props }: LinkProps) => {\n const Comp = asChild ? Slot : 'a'\n\n return (\n <Comp data-id=\"Link\" className={cn(linkVariants({ variant, size }), className)} {...props} />\n )\n}\n\nexport { linkVariants }\nexport type { LinkProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\nconst textVariants = cva('font-sans', {\n variants: {\n variant: {\n body: 'text-base font-normal tracking-normal text-foreground',\n sm: 'text-sm font-normal tracking-normal text-foreground',\n muted: 'text-sm font-normal tracking-normal text-muted-foreground',\n lead: 'text-lg font-normal tracking-normal text-foreground',\n label: 'text-sm font-medium leading-none text-foreground',\n },\n },\n defaultVariants: {\n variant: 'body',\n },\n})\n\ntype TextProps = HTMLAttributes<HTMLParagraphElement> & VariantProps<typeof textVariants>\n\nexport const Text = ({ className, variant, ...props }: TextProps) => {\n return <p data-id=\"Text\" className={cn(textVariants({ variant }), className)} {...props} />\n}\n\nexport { textVariants }\nexport type { TextProps }\n","'use client'\n\nimport { Toaster as SonnerToaster, toast } from 'sonner'\nimport type { ComponentProps } from 'react'\n\ntype ToasterProps = ComponentProps<typeof SonnerToaster>\n\nexport const Toaster = ({ ...props }: ToasterProps) => {\n return (\n <SonnerToaster\n data-id=\"Toaster\"\n theme=\"light\"\n className=\"toaster group\"\n toastOptions={{\n classNames: {\n toast:\n 'group toast border border-border bg-card text-card-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)]',\n description: 'text-muted-foreground',\n actionButton: 'bg-primary text-primary-foreground',\n cancelButton: 'bg-muted text-muted-foreground',\n },\n }}\n {...props}\n />\n )\n}\n\nexport { toast }\nexport type { ToasterProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CommandProps = ComponentProps<typeof CommandPrimitive>\n\nexport const Command = ({ className, ...props }: CommandProps) => {\n return (\n <CommandPrimitive\n data-id=\"Command\"\n className={cn(\n 'flex h-full w-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { CommandProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport { Search } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\ntype CommandInputProps = ComponentProps<typeof CommandPrimitive.Input>\n\nexport const CommandInput = ({ className, ...props }: CommandInputProps) => {\n return (\n <div className=\"flex items-center border-b border-border px-3\" data-id=\"CommandInputWrap\">\n <Search className=\"mr-2 size-4 shrink-0 opacity-50\" />\n <CommandPrimitive.Input\n data-id=\"CommandInput\"\n className={cn(\n `flex h-11 w-full bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`,\n className,\n )}\n {...props}\n />\n </div>\n )\n}\n\nexport { fieldSurface }\nexport type { CommandInputProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CommandListProps = ComponentProps<typeof CommandPrimitive.List>\n\nexport const CommandList = ({ className, ...props }: CommandListProps) => {\n return (\n <CommandPrimitive.List\n data-id=\"CommandList\"\n className={cn('max-h-64 overflow-y-auto overflow-x-hidden p-1', className)}\n {...props}\n />\n )\n}\n\nexport type { CommandListProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CommandEmptyProps = ComponentProps<typeof CommandPrimitive.Empty>\n\nexport const CommandEmpty = ({ className, ...props }: CommandEmptyProps) => {\n return (\n <CommandPrimitive.Empty\n data-id=\"CommandEmpty\"\n className={cn('py-6 text-center text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { CommandEmptyProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CommandGroupProps = ComponentProps<typeof CommandPrimitive.Group>\n\nexport const CommandGroup = ({ className, ...props }: CommandGroupProps) => {\n return (\n <CommandPrimitive.Group\n data-id=\"CommandGroup\"\n className={cn(\n 'overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-[0.12em] [&_[cmdk-group-heading]]:text-muted-foreground',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { CommandGroupProps }\n","'use client'\n\nimport { Command as CommandPrimitive } from 'cmdk'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype CommandItemProps = ComponentProps<typeof CommandPrimitive.Item>\n\nexport const CommandItem = ({ className, ...props }: CommandItemProps) => {\n return (\n <CommandPrimitive.Item\n data-id=\"CommandItem\"\n className={cn(\n `relative flex cursor-default items-center rounded-md px-3 py-2 text-sm outline-none ${motion.surface} data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50`,\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { CommandItemProps }\n","'use client'\n\nimport { useState } from 'react'\nimport { Check, ChevronsUpDown } from 'lucide-react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\nimport { Command } from './command'\nimport { CommandEmpty } from './command-empty'\nimport { CommandInput } from './command-input'\nimport { CommandItem } from './command-item'\nimport { CommandList } from './command-list'\nimport { Popover } from './popover'\nimport { PopoverContent } from './popover-content'\nimport { PopoverTrigger } from './popover-trigger'\n\ntype ComboboxOption = {\n value: string\n label: string\n}\n\ntype ComboboxProps = {\n options: ComboboxOption[]\n value?: string\n onValueChange?: (value: string) => void\n placeholder?: string\n emptyText?: string\n className?: string\n}\n\nexport const Combobox = ({\n options,\n value,\n onValueChange,\n placeholder = 'Select…',\n emptyText = 'No results.',\n className,\n}: ComboboxProps) => {\n const [open, openSetter] = useState(false)\n const selected = options.find((option) => option.value === value)\n\n return (\n <Popover open={open} onOpenChange={openSetter}>\n <PopoverTrigger asChild>\n <Button\n data-id=\"Combobox\"\n variant=\"outline\"\n role=\"combobox\"\n aria-expanded={open}\n className={cn('w-full justify-between normal-case tracking-normal', className)}\n >\n {selected?.label ?? placeholder}\n <ChevronsUpDown className=\"size-4 opacity-50\" />\n </Button>\n </PopoverTrigger>\n <PopoverContent className=\"w-[var(--radix-popover-trigger-width)] p-0\">\n <Command>\n <CommandInput placeholder={placeholder} />\n <CommandList>\n <CommandEmpty>{emptyText}</CommandEmpty>\n {options.map((option) => (\n <CommandItem\n key={option.value}\n value={option.value}\n onSelect={() => {\n onValueChange?.(option.value === value ? '' : option.value)\n openSetter(false)\n }}\n >\n <Check className={cn('mr-2 size-4', value === option.value ? 'opacity-100' : 'opacity-0')} />\n {option.label}\n </CommandItem>\n ))}\n </CommandList>\n </Command>\n </PopoverContent>\n </Popover>\n )\n}\n\nexport type { ComboboxProps, ComboboxOption }\n","'use client'\n\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu'\n\nexport const ContextMenu = ContextMenuPrimitive.Root\n","'use client'\n\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu'\n\nexport const ContextMenuTrigger = ContextMenuPrimitive.Trigger\n","'use client'\n\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { overlayPanel } from '../theme/overlay'\n\ntype ContextMenuContentProps = ComponentProps<typeof ContextMenuPrimitive.Content>\n\nexport const ContextMenuContent = ({ className, ...props }: ContextMenuContentProps) => {\n return (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n data-id=\"ContextMenuContent\"\n className={cn(overlayPanel, 'min-w-40 p-1', className)}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n )\n}\n\nexport type { ContextMenuContentProps }\n","import { motion } from './motion'\n\nexport const overlayPanel = `z-50 overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-[0_18px_40px_rgba(0,0,0,0.08)] ${motion.surface}`\n\nexport const menuItem = `relative flex cursor-default items-center rounded-md px-3 py-2 text-sm outline-none ${motion.surface} focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`\n","'use client'\n\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { menuItem } from '../theme/overlay'\n\ntype ContextMenuItemProps = ComponentProps<typeof ContextMenuPrimitive.Item>\n\nexport const ContextMenuItem = ({ className, ...props }: ContextMenuItemProps) => {\n return (\n <ContextMenuPrimitive.Item data-id=\"ContextMenuItem\" className={cn(menuItem, className)} {...props} />\n )\n}\n\nexport type { ContextMenuItemProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\n\nexport const AlertDialog = AlertDialogPrimitive.Root\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\n\nexport const AlertDialogTrigger = AlertDialogPrimitive.Trigger\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\nimport { AlertDialogOverlay } from './alert-dialog-overlay'\n\ntype AlertDialogContentProps = ComponentProps<typeof AlertDialogPrimitive.Content>\n\nexport const AlertDialogContent = ({ className, ...props }: AlertDialogContentProps) => {\n return (\n <AlertDialogPrimitive.Portal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n data-id=\"AlertDialogContent\"\n className={cn(\n `fixed top-1/2 left-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border border-border bg-card p-6 shadow-[0_24px_48px_rgba(0,0,0,0.12)] ${motion.surface} 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`,\n className,\n )}\n {...props}\n />\n </AlertDialogPrimitive.Portal>\n )\n}\n\nexport type { AlertDialogContentProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogOverlayProps = ComponentProps<typeof AlertDialogPrimitive.Overlay>\n\nexport const AlertDialogOverlay = ({ className, ...props }: AlertDialogOverlayProps) => {\n return (\n <AlertDialogPrimitive.Overlay\n data-id=\"AlertDialogOverlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogOverlayProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogHeaderProps = HTMLAttributes<HTMLDivElement>\n\nexport const AlertDialogHeader = ({ className, ...props }: AlertDialogHeaderProps) => {\n return <div data-id=\"AlertDialogHeader\" className={cn('flex flex-col gap-2', className)} {...props} />\n}\n\nexport type { AlertDialogHeaderProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogFooterProps = HTMLAttributes<HTMLDivElement>\n\nexport const AlertDialogFooter = ({ className, ...props }: AlertDialogFooterProps) => {\n return (\n <div\n data-id=\"AlertDialogFooter\"\n className={cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogFooterProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogTitleProps = ComponentProps<typeof AlertDialogPrimitive.Title>\n\nexport const AlertDialogTitle = ({ className, ...props }: AlertDialogTitleProps) => {\n return (\n <AlertDialogPrimitive.Title\n data-id=\"AlertDialogTitle\"\n className={cn('font-sans text-lg font-semibold', className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogTitleProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype AlertDialogDescriptionProps = ComponentProps<typeof AlertDialogPrimitive.Description>\n\nexport const AlertDialogDescription = ({ className, ...props }: AlertDialogDescriptionProps) => {\n return (\n <AlertDialogPrimitive.Description\n data-id=\"AlertDialogDescription\"\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogDescriptionProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { buttonVariants } from './button'\n\ntype AlertDialogActionProps = ComponentProps<typeof AlertDialogPrimitive.Action>\n\nexport const AlertDialogAction = ({ className, ...props }: AlertDialogActionProps) => {\n return (\n <AlertDialogPrimitive.Action\n data-id=\"AlertDialogAction\"\n className={cn(buttonVariants(), className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogActionProps }\n","'use client'\n\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { buttonVariants } from './button'\n\ntype AlertDialogCancelProps = ComponentProps<typeof AlertDialogPrimitive.Cancel>\n\nexport const AlertDialogCancel = ({ className, ...props }: AlertDialogCancelProps) => {\n return (\n <AlertDialogPrimitive.Cancel\n data-id=\"AlertDialogCancel\"\n className={cn(buttonVariants({ variant: 'outline' }), className)}\n {...props}\n />\n )\n}\n\nexport type { AlertDialogCancelProps }\n","'use client'\n\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card'\n\nexport const HoverCard = HoverCardPrimitive.Root\n","'use client'\n\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card'\n\nexport const HoverCardTrigger = HoverCardPrimitive.Trigger\n","'use client'\n\nimport * as HoverCardPrimitive from '@radix-ui/react-hover-card'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { overlayPanel } from '../theme/overlay'\n\ntype HoverCardContentProps = ComponentProps<typeof HoverCardPrimitive.Content>\n\nexport const HoverCardContent = ({\n className,\n align = 'center',\n sideOffset = 8,\n ...props\n}: HoverCardContentProps) => {\n return (\n <HoverCardPrimitive.Content\n data-id=\"HoverCardContent\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n overlayPanel,\n 'w-64 p-4 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',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport type { HoverCardContentProps }\n","'use client'\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\ntype ProgressProps = ComponentProps<typeof ProgressPrimitive.Root>\n\nexport const Progress = ({ className, value, ...props }: ProgressProps) => {\n return (\n <ProgressPrimitive.Root\n data-id=\"Progress\"\n className={cn('relative h-2 w-full overflow-hidden rounded-pill bg-muted', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className={`h-full w-full flex-1 bg-primary ${motion.surface}`}\n style={{ transform: `translateX(-${100 - (value ?? 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n )\n}\n\nexport type { ProgressProps }\n","'use client'\n\nimport * as TogglePrimitive from '@radix-ui/react-toggle'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nconst toggleVariants = cva(\n `inline-flex items-center justify-center gap-2 rounded-pill font-sans text-sm font-semibold ${motion.surface} hover:bg-muted focus-visible:outline-none focus-visible:shadow-[0_0_0_3px_rgba(255,229,0,0.28)] disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground`,\n {\n variants: {\n variant: {\n default: 'bg-transparent',\n outline: 'border border-border bg-card',\n },\n size: {\n default: 'h-9 px-3',\n sm: 'h-8 px-2.5 text-xs',\n lg: 'h-10 px-4',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\ntype ToggleProps = ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>\n\nexport const Toggle = ({ className, variant, size, ...props }: ToggleProps) => {\n return (\n <TogglePrimitive.Root\n data-id=\"Toggle\"\n className={cn(toggleVariants({ variant, size }), className)}\n {...props}\n />\n )\n}\n\nexport { toggleVariants }\nexport type { ToggleProps }\n","'use client'\n\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'\nimport { type VariantProps } from 'class-variance-authority'\nimport type { ComponentProps } from 'react'\nimport { createContext, useContext } from 'react'\nimport { cn } from '../lib/utils'\nimport { toggleVariants } from './toggle'\n\nconst ToggleGroupContext = createContext<VariantProps<typeof toggleVariants>>({\n size: 'default',\n variant: 'default',\n})\n\ntype ToggleGroupProps = ComponentProps<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants>\n\nexport const ToggleGroup = ({ className, variant, size, children, ...props }: ToggleGroupProps) => {\n return (\n <ToggleGroupPrimitive.Root\n data-id=\"ToggleGroup\"\n className={cn('flex items-center gap-1', className)}\n {...props}\n >\n <ToggleGroupContext value={{ variant, size }}>{children}</ToggleGroupContext>\n </ToggleGroupPrimitive.Root>\n )\n}\n\nexport const useToggleGroup = () => useContext(ToggleGroupContext)\n\nexport type { ToggleGroupProps }\n","'use client'\n\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { toggleVariants } from './toggle'\nimport { useToggleGroup } from './toggle-group'\n\ntype ToggleGroupItemProps = ComponentProps<typeof ToggleGroupPrimitive.Item>\n\nexport const ToggleGroupItem = ({ className, children, ...props }: ToggleGroupItemProps) => {\n const { variant, size } = useToggleGroup()\n return (\n <ToggleGroupPrimitive.Item\n data-id=\"ToggleGroupItem\"\n className={cn(toggleVariants({ variant, size }), className)}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n )\n}\n\nexport type { ToggleGroupItemProps }\n","'use client'\n\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype ScrollAreaProps = ComponentProps<typeof ScrollAreaPrimitive.Root>\n\nexport const ScrollArea = ({ className, children, ...props }: ScrollAreaProps) => {\n return (\n <ScrollAreaPrimitive.Root data-id=\"ScrollArea\" className={cn('relative overflow-hidden', className)} {...props}>\n <ScrollAreaPrimitive.Viewport className=\"size-full rounded-[inherit]\">{children}</ScrollAreaPrimitive.Viewport>\n <ScrollBar />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n )\n}\n\ntype ScrollBarProps = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>\n\nexport const ScrollBar = ({ className, orientation = 'vertical', ...props }: ScrollBarProps) => {\n return (\n <ScrollAreaPrimitive.ScrollAreaScrollbar\n data-id=\"ScrollBar\"\n orientation={orientation}\n className={cn(\n 'flex touch-none p-px select-none',\n orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent',\n orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent',\n className,\n )}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"relative flex-1 rounded-pill bg-border\" />\n </ScrollAreaPrimitive.ScrollAreaScrollbar>\n )\n}\n\nexport type { ScrollAreaProps, ScrollBarProps }\n","'use client'\n\nimport * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\n\nexport const Collapsible = CollapsiblePrimitive.Root\n","'use client'\n\nimport * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\n\nexport const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger\n","'use client'\n\nimport * as CollapsiblePrimitive from '@radix-ui/react-collapsible'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype CollapsibleContentProps = ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>\n\nexport const CollapsibleContent = ({ className, ...props }: CollapsibleContentProps) => {\n return (\n <CollapsiblePrimitive.CollapsibleContent\n data-id=\"CollapsibleContent\"\n className={cn(className)}\n {...props}\n />\n )\n}\n\nexport type { CollapsibleContentProps }\n","'use client'\n\nimport { DayPicker, type DayPickerProps } from 'react-day-picker'\nimport { cn } from '../lib/utils'\n\ntype CalendarProps = DayPickerProps\n\nexport const Calendar = ({ className, ...props }: CalendarProps) => {\n return (\n <DayPicker\n data-id=\"Calendar\"\n className={cn('p-3 font-sans', className)}\n {...props}\n />\n )\n}\n\nexport type { CalendarProps }\n","'use client'\n\nimport { format } from 'date-fns'\nimport { CalendarIcon } from 'lucide-react'\nimport { useState } from 'react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\nimport { Calendar } from './calendar'\nimport { Popover } from './popover'\nimport { PopoverContent } from './popover-content'\nimport { PopoverTrigger } from './popover-trigger'\n\ntype DatePickerProps = {\n value?: Date\n onValueChange?: (date: Date | undefined) => void\n placeholder?: string\n className?: string\n}\n\nexport const DatePicker = ({\n value,\n onValueChange,\n placeholder = 'Pick a date',\n className,\n}: DatePickerProps) => {\n const [open, openSetter] = useState(false)\n\n return (\n <Popover open={open} onOpenChange={openSetter}>\n <PopoverTrigger asChild>\n <Button\n data-id=\"DatePicker\"\n variant=\"outline\"\n className={cn(\n 'w-full justify-start normal-case tracking-normal',\n !value && 'text-muted-foreground',\n className,\n )}\n >\n <CalendarIcon className=\"size-4\" />\n {value ? format(value, 'PPP') : placeholder}\n </Button>\n </PopoverTrigger>\n <PopoverContent className=\"w-auto p-0\">\n <Calendar\n mode=\"single\"\n selected={value}\n onSelect={(date) => {\n onValueChange?.(date)\n openSetter(false)\n }}\n />\n </PopoverContent>\n </Popover>\n )\n}\n\nexport type { DatePickerProps }\n","'use client'\n\nimport type { ComponentProps } from 'react'\nimport { ResponsiveContainer } from 'recharts'\nimport { cn } from '../lib/utils'\n\ntype ChartContainerProps = ComponentProps<'div'> & {\n children: ComponentProps<typeof ResponsiveContainer>['children']\n}\n\nexport const ChartContainer = ({ className, children, ...props }: ChartContainerProps) => {\n return (\n <div data-id=\"ChartContainer\" className={cn('h-64 w-full', className)} {...props}>\n <ResponsiveContainer width=\"100%\" height=\"100%\">\n {children}\n </ResponsiveContainer>\n </div>\n )\n}\n\nexport type { ChartContainerProps }\n","'use client'\n\nexport { Tooltip as ChartTooltip } from 'recharts'\nexport type { TooltipProps as ChartTooltipProps } from 'recharts'\n","'use client'\n\nimport useEmblaCarousel, { type UseEmblaCarouselType } from 'embla-carousel-react'\nimport { ChevronLeft, ChevronRight } from 'lucide-react'\nimport { createContext, useContext, type ComponentProps, type KeyboardEvent } from 'react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\n\ntype CarouselApi = UseEmblaCarouselType[1]\ntype CarouselOptions = Parameters<typeof useEmblaCarousel>[0]\n\ntype CarouselContextValue = {\n carouselRef: ReturnType<typeof useEmblaCarousel>[0]\n api: CarouselApi\n scrollPrev: () => void\n scrollNext: () => void\n}\n\nconst CarouselContext = createContext<CarouselContextValue | null>(null)\n\nexport const useCarousel = () => {\n const context = useContext(CarouselContext)\n if (!context) {\n throw new Error('useCarousel must be used within Carousel')\n }\n return context\n}\n\ntype CarouselProps = ComponentProps<'div'> & {\n opts?: CarouselOptions\n}\n\nexport const Carousel = ({ className, opts, children, ...props }: CarouselProps) => {\n const [carouselRef, api] = useEmblaCarousel(opts)\n const scrollPrev = () => api?.scrollPrev()\n const scrollNext = () => api?.scrollNext()\n\n const onKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {\n if (event.key === 'ArrowLeft') {\n event.preventDefault()\n scrollPrev()\n }\n if (event.key === 'ArrowRight') {\n event.preventDefault()\n scrollNext()\n }\n }\n\n return (\n <CarouselContext value={{ carouselRef, api, scrollPrev, scrollNext }}>\n <div\n data-id=\"Carousel\"\n className={cn('relative', className)}\n role=\"region\"\n aria-roledescription=\"carousel\"\n onKeyDown={onKeyDown}\n {...props}\n >\n {children}\n </div>\n </CarouselContext>\n )\n}\n\nexport const CarouselContent = ({ className, ...props }: ComponentProps<'div'>) => {\n const { carouselRef } = useCarousel()\n return (\n <div ref={carouselRef} className=\"overflow-hidden\">\n <div data-id=\"CarouselContent\" className={cn('flex', className)} {...props} />\n </div>\n )\n}\n\nexport const CarouselItem = ({ className, ...props }: ComponentProps<'div'>) => {\n return (\n <div\n data-id=\"CarouselItem\"\n role=\"group\"\n aria-roledescription=\"slide\"\n className={cn('min-w-0 shrink-0 grow-0 basis-full', className)}\n {...props}\n />\n )\n}\n\nexport const CarouselPrevious = ({ className, ...props }: ComponentProps<typeof Button>) => {\n const { scrollPrev } = useCarousel()\n return (\n <Button\n data-id=\"CarouselPrevious\"\n variant=\"outline\"\n size=\"icon\"\n className={cn('absolute top-1/2 -left-4 -translate-y-1/2', className)}\n onClick={scrollPrev}\n {...props}\n >\n <ChevronLeft />\n <span className=\"sr-only\">Previous slide</span>\n </Button>\n )\n}\n\nexport const CarouselNext = ({ className, ...props }: ComponentProps<typeof Button>) => {\n const { scrollNext } = useCarousel()\n return (\n <Button\n data-id=\"CarouselNext\"\n variant=\"outline\"\n size=\"icon\"\n className={cn('absolute top-1/2 -right-4 -translate-y-1/2', className)}\n onClick={scrollNext}\n {...props}\n >\n <ChevronRight />\n <span className=\"sr-only\">Next slide</span>\n </Button>\n )\n}\n\nexport type { CarouselApi, CarouselProps }\n","'use client'\n\nimport type { ComponentProps } from 'react'\nimport { Drawer as VaulDrawer } from 'vaul'\nimport { cn } from '../lib/utils'\nimport { motion } from '../theme/motion'\n\nexport const Drawer = VaulDrawer.Root\nexport const DrawerTrigger = VaulDrawer.Trigger\nexport const DrawerClose = VaulDrawer.Close\nexport const DrawerPortal = VaulDrawer.Portal\n\ntype DrawerOverlayProps = ComponentProps<typeof VaulDrawer.Overlay>\n\nexport const DrawerOverlay = ({ className, ...props }: DrawerOverlayProps) => {\n return (\n <VaulDrawer.Overlay\n data-id=\"DrawerOverlay\"\n className={cn('fixed inset-0 z-50 bg-black/40', className)}\n {...props}\n />\n )\n}\n\ntype DrawerContentProps = ComponentProps<typeof VaulDrawer.Content>\n\nexport const DrawerContent = ({ className, children, ...props }: DrawerContentProps) => {\n return (\n <VaulDrawer.Portal>\n <DrawerOverlay />\n <VaulDrawer.Content\n data-id=\"DrawerContent\"\n className={cn(\n `fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-xl border border-border bg-card ${motion.surface}`,\n className,\n )}\n {...props}\n >\n <div className=\"mx-auto mt-4 h-1.5 w-12 rounded-pill bg-muted\" />\n {children}\n </VaulDrawer.Content>\n </VaulDrawer.Portal>\n )\n}\n\nexport const DrawerTitle = ({ className, ...props }: ComponentProps<typeof VaulDrawer.Title>) => {\n return (\n <VaulDrawer.Title\n data-id=\"DrawerTitle\"\n className={cn('px-4 pt-4 font-sans text-lg font-semibold', className)}\n {...props}\n />\n )\n}\n\nexport const DrawerDescription = ({\n className,\n ...props\n}: ComponentProps<typeof VaulDrawer.Description>) => {\n return (\n <VaulDrawer.Description\n data-id=\"DrawerDescription\"\n className={cn('px-4 pb-4 text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n}\n\nexport type { DrawerContentProps, DrawerOverlayProps }\n","'use client'\n\nimport * as MenubarPrimitive from '@radix-ui/react-menubar'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { menuItem, overlayPanel } from '../theme/overlay'\n\nexport const Menubar = ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Root>) => {\n return (\n <MenubarPrimitive.Root\n data-id=\"Menubar\"\n className={cn('flex h-10 items-center gap-1 rounded-lg border border-border bg-card p-1', className)}\n {...props}\n />\n )\n}\n\nexport const MenubarMenu: typeof MenubarPrimitive.Menu = MenubarPrimitive.Menu\nexport const MenubarTrigger = ({\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Trigger>) => {\n return (\n <MenubarPrimitive.Trigger\n data-id=\"MenubarTrigger\"\n className={cn(\n 'rounded-md px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent data-[state=open]:bg-accent',\n className,\n )}\n {...props}\n />\n )\n}\n\nexport const MenubarContent = ({\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Content>) => {\n return (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n data-id=\"MenubarContent\"\n className={cn(overlayPanel, 'min-w-40 p-1', className)}\n {...props}\n />\n </MenubarPrimitive.Portal>\n )\n}\n\nexport const MenubarItem = ({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Item>) => {\n return <MenubarPrimitive.Item data-id=\"MenubarItem\" className={cn(menuItem, className)} {...props} />\n}\n\nexport const MenubarSeparator = ({\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Separator>) => {\n return (\n <MenubarPrimitive.Separator\n data-id=\"MenubarSeparator\"\n className={cn('-mx-1 my-1 h-px bg-border', className)}\n {...props}\n />\n )\n}\n","'use client'\n\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport { ChevronDown } from 'lucide-react'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { overlayPanel } from '../theme/overlay'\n\nexport const NavigationMenu = ({\n className,\n children,\n ...props\n}: ComponentProps<typeof NavigationMenuPrimitive.Root>) => {\n return (\n <NavigationMenuPrimitive.Root\n data-id=\"NavigationMenu\"\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuPrimitive.Viewport\n className={cn(\n overlayPanel,\n 'absolute top-full mt-2 origin-top-center overflow-hidden data-[state=open]:animate-in data-[state=closed]:animate-out',\n )}\n />\n </NavigationMenuPrimitive.Root>\n )\n}\n\nexport const NavigationMenuList = ({\n className,\n ...props\n}: ComponentProps<typeof NavigationMenuPrimitive.List>) => {\n return (\n <NavigationMenuPrimitive.List\n data-id=\"NavigationMenuList\"\n className={cn('flex flex-1 list-none items-center gap-1', className)}\n {...props}\n />\n )\n}\n\nexport const NavigationMenuItem: typeof NavigationMenuPrimitive.Item = NavigationMenuPrimitive.Item\n\nexport const NavigationMenuTrigger = ({\n className,\n children,\n ...props\n}: ComponentProps<typeof NavigationMenuPrimitive.Trigger>) => {\n return (\n <NavigationMenuPrimitive.Trigger\n data-id=\"NavigationMenuTrigger\"\n className={cn(\n 'inline-flex h-10 items-center gap-1 rounded-pill px-4 text-sm font-medium hover:bg-accent',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronDown className=\"size-3\" />\n </NavigationMenuPrimitive.Trigger>\n )\n}\n\nexport const NavigationMenuContent = ({\n className,\n ...props\n}: ComponentProps<typeof NavigationMenuPrimitive.Content>) => {\n return (\n <NavigationMenuPrimitive.Content\n data-id=\"NavigationMenuContent\"\n className={cn('p-4', className)}\n {...props}\n />\n )\n}\n\nexport const NavigationMenuLink: typeof NavigationMenuPrimitive.Link = NavigationMenuPrimitive.Link\n","'use client'\n\nimport { Group, Panel, Separator } from 'react-resizable-panels'\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\n\ntype ResizablePanelGroupProps = ComponentProps<typeof Group>\n\nexport const ResizablePanelGroup = ({ className, ...props }: ResizablePanelGroupProps) => {\n return (\n <Group data-id=\"ResizablePanelGroup\" className={cn('flex h-full w-full', className)} {...props} />\n )\n}\n\nexport const ResizablePanel: typeof Panel = Panel\n\ntype ResizableHandleProps = ComponentProps<typeof Separator>\n\nexport const ResizableHandle = ({ className, ...props }: ResizableHandleProps) => {\n return (\n <Separator\n data-id=\"ResizableHandle\"\n className={cn('bg-border focus-visible:bg-primary data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=horizontal]:w-px', className)}\n {...props}\n />\n )\n}\n\nexport type { ResizablePanelGroupProps, ResizableHandleProps }\n","'use client'\n\nimport { PanelLeft } from 'lucide-react'\nimport {\n createContext,\n useContext,\n useMemo,\n useState,\n type ComponentProps,\n type CSSProperties,\n} from 'react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\n\ntype SidebarContextValue = {\n isOpen: boolean\n isOpenSetter: (open: boolean) => void\n}\n\nconst SidebarContext = createContext<SidebarContextValue | null>(null)\n\nexport const useSidebar = () => {\n const context = useContext(SidebarContext)\n if (!context) {\n throw new Error('useSidebar must be used within SidebarProvider')\n }\n return context\n}\n\ntype SidebarProviderProps = ComponentProps<'div'> & {\n defaultOpen?: boolean\n}\n\nexport const SidebarProvider = ({\n defaultOpen = true,\n className,\n style,\n children,\n ...props\n}: SidebarProviderProps) => {\n const [isOpen, isOpenSetter] = useState(defaultOpen)\n const value = useMemo(() => ({ isOpen, isOpenSetter }), [isOpen])\n return (\n <SidebarContext value={value}>\n <div\n data-id=\"SidebarProvider\"\n className={cn('flex min-h-svh w-full', className)}\n style={\n {\n '--sidebar-width': '16rem',\n ...style,\n } as CSSProperties\n }\n {...props}\n >\n {children}\n </div>\n </SidebarContext>\n )\n}\n\nexport const Sidebar = ({ className, children, ...props }: ComponentProps<'aside'>) => {\n const { isOpen } = useSidebar()\n return (\n <aside\n data-id=\"Sidebar\"\n data-state={isOpen ? 'open' : 'closed'}\n className={cn(\n 'border-r border-border bg-card text-card-foreground transition-[width] duration-200',\n isOpen ? 'w-[var(--sidebar-width)]' : 'w-0 overflow-hidden',\n className,\n )}\n {...props}\n >\n {isOpen ? children : null}\n </aside>\n )\n}\n\nexport const SidebarInset = ({ className, ...props }: ComponentProps<'main'>) => {\n return <main data-id=\"SidebarInset\" className={cn('flex flex-1 flex-col', className)} {...props} />\n}\n\nexport const SidebarTrigger = ({ className, ...props }: ComponentProps<typeof Button>) => {\n const { isOpen, isOpenSetter } = useSidebar()\n return (\n <Button\n data-id=\"SidebarTrigger\"\n variant=\"ghost\"\n size=\"icon\"\n className={className}\n onClick={() => isOpenSetter(!isOpen)}\n {...props}\n >\n <PanelLeft />\n <span className=\"sr-only\">Toggle sidebar</span>\n </Button>\n )\n}\n\nexport const SidebarHeader = ({ className, ...props }: ComponentProps<'div'>) => {\n return <div data-id=\"SidebarHeader\" className={cn('p-4', className)} {...props} />\n}\n\nexport const SidebarContent = ({ className, ...props }: ComponentProps<'div'>) => {\n return <div data-id=\"SidebarContent\" className={cn('flex-1 p-2', className)} {...props} />\n}\n\nexport const SidebarFooter = ({ className, ...props }: ComponentProps<'div'>) => {\n return <div data-id=\"SidebarFooter\" className={cn('p-4', className)} {...props} />\n}\n\nexport const SidebarMenu = ({ className, ...props }: ComponentProps<'ul'>) => {\n return <ul data-id=\"SidebarMenu\" className={cn('flex flex-col gap-1', className)} {...props} />\n}\n\nexport const SidebarMenuItem = ({ className, ...props }: ComponentProps<'li'>) => {\n return <li data-id=\"SidebarMenuItem\" className={cn(className)} {...props} />\n}\n\nexport const SidebarMenuButton = ({ className, ...props }: ComponentProps<'button'>) => {\n return (\n <button\n data-id=\"SidebarMenuButton\"\n className={cn(\n 'flex w-full items-center rounded-md px-3 py-2 text-left text-sm hover:bg-accent',\n className,\n )}\n {...props}\n />\n )\n}\n","'use client'\n\nimport { OTPInput, OTPInputContext } from 'input-otp'\nimport { useContext, type ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { fieldSurface } from '../theme/field'\n\ntype InputOTPProps = ComponentProps<typeof OTPInput>\n\nexport const InputOTP = ({ className, containerClassName, ...props }: InputOTPProps) => {\n return (\n <OTPInput\n data-id=\"InputOTP\"\n containerClassName={cn('flex items-center gap-2', containerClassName)}\n className={cn('disabled:cursor-not-allowed', className)}\n {...props}\n />\n )\n}\n\nexport const InputOTPGroup = ({ className, ...props }: ComponentProps<'div'>) => {\n return <div data-id=\"InputOTPGroup\" className={cn('flex items-center gap-2', className)} {...props} />\n}\n\nexport const InputOTPSlot = ({\n index,\n className,\n ...props\n}: ComponentProps<'div'> & { index: number }) => {\n const inputOTPContext = useContext(OTPInputContext)\n const slot = inputOTPContext.slots[index]\n return (\n <div\n data-id=\"InputOTPSlot\"\n className={cn(\n fieldSurface,\n 'relative flex h-12 w-10 items-center justify-center rounded-md text-sm',\n slot?.isActive && 'z-10 border-primary shadow-[0_0_0_3px_rgba(255,229,0,0.28)]',\n className,\n )}\n {...props}\n >\n {slot?.char}\n {slot?.hasFakeCaret ? (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"h-4 w-px animate-pulse bg-foreground\" />\n </div>\n ) : null}\n </div>\n )\n}\n\nexport type { InputOTPProps }\n","'use client'\n\nimport * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio'\n\nexport const AspectRatio = AspectRatioPrimitive.Root\n","/**\n * Surface recipes — frost, glass, brand gradients. Prefer helpers over copying CSS.\n */\nexport const surfaces = {\n frostPanel: 'revit-frost-panel rounded-lg',\n frostNav: 'revit-frost-nav rounded-pill',\n frostTile: 'revit-frost-tile overflow-hidden rounded-[20px]',\n frostFab: 'revit-frost-fab rounded-pill',\n brandGradient: 'revit-brand-gradient',\n scrimHero: 'revit-image-scrim-hero',\n scrimDetail: 'revit-image-scrim-detail',\n scrimFooter: 'revit-image-scrim-footer',\n} as const\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype FrostPanelProps = HTMLAttributes<HTMLDivElement>\n\nexport const FrostPanel = ({ className, ...props }: FrostPanelProps) => {\n return <div data-id=\"FrostPanel\" className={cn(surfaces.frostPanel, className)} {...props} />\n}\n\nexport type { FrostPanelProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype FrostNavProps = HTMLAttributes<HTMLElement> & {\n isOnLight?: boolean\n}\n\nexport const FrostNav = ({ className, isOnLight = false, ...props }: FrostNavProps) => {\n return (\n <nav\n data-id=\"FrostNav\"\n data-on-light={isOnLight ? 'true' : undefined}\n className={cn(surfaces.frostNav, className)}\n {...props}\n />\n )\n}\n\nexport type { FrostNavProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype FrostTileProps = HTMLAttributes<HTMLDivElement>\n\nexport const FrostTile = ({ className, ...props }: FrostTileProps) => {\n return <div data-id=\"FrostTile\" className={cn('group', surfaces.frostTile, className)} {...props} />\n}\n\nexport type { FrostTileProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype FrostFabProps = HTMLAttributes<HTMLDivElement>\n\nexport const FrostFab = ({ className, ...props }: FrostFabProps) => {\n return <div data-id=\"FrostFab\" className={cn(surfaces.frostFab, className)} {...props} />\n}\n\nexport type { FrostFabProps }\n","import type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\nimport { surfaces } from '../theme/surfaces'\n\ntype BrandGradientProps = HTMLAttributes<HTMLDivElement>\n\nexport const BrandGradient = ({ className, ...props }: BrandGradientProps) => {\n return <div data-id=\"BrandGradient\" className={cn(surfaces.brandGradient, className)} {...props} />\n}\n\nexport type { BrandGradientProps }\n","import { cva, type VariantProps } from 'class-variance-authority'\nimport type { HTMLAttributes } from 'react'\nimport { cn } from '../lib/utils'\n\nconst imageScrimVariants = cva('pointer-events-none absolute inset-0', {\n variants: {\n variant: {\n hero: 'revit-image-scrim-hero',\n detail: 'revit-image-scrim-detail',\n footer: 'revit-image-scrim-footer',\n },\n },\n defaultVariants: {\n variant: 'hero',\n },\n})\n\ntype ImageScrimProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof imageScrimVariants>\n\nexport const ImageScrim = ({ className, variant, ...props }: ImageScrimProps) => {\n return (\n <div\n data-id=\"ImageScrim\"\n aria-hidden\n className={cn(imageScrimVariants({ variant }), className)}\n {...props}\n />\n )\n}\n\nexport { imageScrimVariants }\nexport type { ImageScrimProps }\n","import { Search } from 'lucide-react'\nimport type { FormEvent, InputHTMLAttributes, ReactNode } from 'react'\nimport { cn } from '../lib/utils'\nimport { Button } from './button'\nimport { Input } from './input'\n\ntype SearchBarProps = {\n className?: string\n placeholder?: string\n value?: string\n defaultValue?: string\n onValueChange?: (value: string) => void\n onSearch?: (value: string) => void\n submitLabel?: ReactNode\n} & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onSubmit'>\n\nexport const SearchBar = ({\n className,\n placeholder = 'Search',\n value,\n defaultValue,\n onValueChange,\n onSearch,\n submitLabel = <Search className=\"size-4\" />,\n ...props\n}: SearchBarProps) => {\n const onSubmit = (event: FormEvent<HTMLFormElement>) => {\n event.preventDefault()\n const formData = new FormData(event.currentTarget)\n const nextValue = String(formData.get('q') ?? '')\n onSearch?.(nextValue)\n }\n\n return (\n <form\n data-id=\"SearchBar\"\n onSubmit={onSubmit}\n className={cn(\n 'flex w-full overflow-hidden rounded-pill border border-border bg-card shadow-[0_8px_18px_rgba(0,0,0,0.04)] ring-2 ring-transparent transition-[box-shadow,border-color] duration-200 focus-within:ring-primary hover:border-primary',\n className,\n )}\n >\n <Input\n name=\"q\"\n variant=\"pill\"\n value={value}\n defaultValue={defaultValue}\n placeholder={placeholder}\n onChange={(event) => onValueChange?.(event.target.value)}\n className=\"rounded-none border-0 shadow-none ring-0 focus-visible:shadow-none\"\n {...props}\n />\n <Button type=\"submit\" size=\"icon\" className=\"rounded-none\" aria-label=\"Search\">\n {submitLabel}\n </Button>\n </form>\n )\n}\n\nexport type { SearchBarProps }\n","'use client'\n\nimport type { ReactNode } from 'react'\nimport { AlertDialog } from './alert-dialog'\nimport { AlertDialogAction } from './alert-dialog-action'\nimport { AlertDialogCancel } from './alert-dialog-cancel'\nimport { AlertDialogContent } from './alert-dialog-content'\nimport { AlertDialogDescription } from './alert-dialog-description'\nimport { AlertDialogFooter } from './alert-dialog-footer'\nimport { AlertDialogHeader } from './alert-dialog-header'\nimport { AlertDialogTitle } from './alert-dialog-title'\nimport { AlertDialogTrigger } from './alert-dialog-trigger'\n\ntype ConfirmDialogProps = {\n trigger: ReactNode\n title: string\n description?: string\n confirmLabel?: string\n cancelLabel?: string\n onConfirm?: () => void\n}\n\nexport const ConfirmDialog = ({\n trigger,\n title,\n description,\n confirmLabel = 'Confirm',\n cancelLabel = 'Cancel',\n onConfirm,\n}: ConfirmDialogProps) => {\n return (\n <AlertDialog>\n <AlertDialogTrigger asChild>{trigger}</AlertDialogTrigger>\n <AlertDialogContent data-id=\"ConfirmDialog\">\n <AlertDialogHeader>\n <AlertDialogTitle>{title}</AlertDialogTitle>\n {description ? <AlertDialogDescription>{description}</AlertDialogDescription> : null}\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>{cancelLabel}</AlertDialogCancel>\n <AlertDialogAction onClick={onConfirm}>{confirmLabel}</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n </AlertDialog>\n )\n}\n\nexport type { ConfirmDialogProps }\n","'use client'\n\nimport type { ComponentProps } from 'react'\nimport { cn } from '../lib/utils'\nimport { Command } from './command'\nimport { Dialog } from './dialog'\nimport { DialogContent } from './dialog-content'\n\ntype CommandDialogProps = ComponentProps<typeof Dialog> & {\n children: ComponentProps<typeof Command>['children']\n contentClassName?: string\n}\n\nexport const CommandDialog = ({ children, contentClassName, ...props }: CommandDialogProps) => {\n return (\n <Dialog {...props}>\n <DialogContent data-id=\"CommandDialog\" className={cn('overflow-hidden p-0', contentClassName)}>\n <Command className=\"[&_[data-id=CommandInputWrap]]:h-12\">{children}</Command>\n </DialogContent>\n </Dialog>\n )\n}\n\nexport type { CommandDialogProps }\n","import type { ComponentProps } from 'react'\nimport { Pagination } from './pagination'\nimport { PaginationContent } from './pagination-content'\nimport { PaginationEllipsis } from './pagination-ellipsis'\nimport { PaginationItem } from './pagination-item'\nimport { PaginationLink } from './pagination-link'\nimport { PaginationNext } from './pagination-next'\nimport { PaginationPrevious } from './pagination-previous'\n\ntype PaginationBarProps = {\n page: number\n pageCount: number\n onPageChange?: (page: number) => void\n className?: string\n} & Omit<ComponentProps<typeof Pagination>, 'children'>\n\nexport const PaginationBar = ({\n page,\n pageCount,\n onPageChange,\n className,\n ...props\n}: PaginationBarProps) => {\n const pages = Array.from({ length: pageCount }, (_, index) => index + 1)\n const visible = pages.filter((item) => item === 1 || item === pageCount || Math.abs(item - page) <= 1)\n\n return (\n <Pagination data-id=\"PaginationBar\" className={className} {...props}>\n <PaginationContent>\n <PaginationItem>\n <PaginationPrevious\n href=\"#\"\n onClick={(event) => {\n event.preventDefault()\n if (page > 1) {\n onPageChange?.(page - 1)\n }\n }}\n />\n </PaginationItem>\n {visible.map((item, index) => {\n const previous = visible[index - 1]\n return (\n <PaginationItem key={`pagination-${item}--${index}`}>\n {previous && item - previous > 1 ? <PaginationEllipsis /> : null}\n <PaginationLink\n href=\"#\"\n isActive={item === page}\n onClick={(event) => {\n event.preventDefault()\n onPageChange?.(item)\n }}\n >\n {item}\n </PaginationLink>\n </PaginationItem>\n )\n })}\n <PaginationItem>\n <PaginationNext\n href=\"#\"\n onClick={(event) => {\n event.preventDefault()\n if (page < pageCount) {\n onPageChange?.(page + 1)\n }\n }}\n />\n </PaginationItem>\n </PaginationContent>\n </Pagination>\n )\n}\n\nexport type { PaginationBarProps }\n","/**\n * Flatten RevitThemeTokens into CSS custom properties.\n *\n * @example\n * tokensToCssVars(revitTokens)\n * // { '--revit-color-primary': '#FFE500', ... }\n */\n\nimport type { RevitColorTokens, RevitThemeTokens } from './types'\n\nconst colorToVars = (colors: RevitColorTokens, prefix: string) => {\n const vars: Record<string, string> = {\n [`${prefix}background`]: colors.background,\n [`${prefix}foreground`]: colors.foreground,\n [`${prefix}card`]: colors.card,\n [`${prefix}card-foreground`]: colors.cardForeground,\n [`${prefix}popover`]: colors.popover,\n [`${prefix}popover-foreground`]: colors.popoverForeground,\n [`${prefix}primary`]: colors.primary,\n [`${prefix}primary-foreground`]: colors.primaryForeground,\n [`${prefix}secondary`]: colors.secondary,\n [`${prefix}secondary-foreground`]: colors.secondaryForeground,\n [`${prefix}muted`]: colors.muted,\n [`${prefix}muted-foreground`]: colors.mutedForeground,\n [`${prefix}accent`]: colors.accent,\n [`${prefix}accent-foreground`]: colors.accentForeground,\n [`${prefix}destructive`]: colors.destructive,\n [`${prefix}destructive-foreground`]: colors.destructiveForeground,\n [`${prefix}border`]: colors.border,\n [`${prefix}input`]: colors.input,\n [`${prefix}ring`]: colors.ring,\n [`${prefix}brand-yellow`]: colors.brand.yellow,\n [`${prefix}brand-yellow-light`]: colors.brand.yellowLight,\n [`${prefix}brand-off-black`]: colors.brand.offBlack,\n [`${prefix}brand-pink`]: colors.brand.pink,\n [`${prefix}brand-purple`]: colors.brand.purple,\n [`${prefix}brand-blue`]: colors.brand.blue,\n [`${prefix}brand-gold`]: colors.brand.gold,\n [`${prefix}brand-brown`]: colors.brand.brown,\n [`${prefix}brand-umber`]: colors.brand.umber,\n [`${prefix}brand-mist`]: colors.brand.mist,\n }\n return vars\n}\n\nexport const tokensToCssVars = (tokens: RevitThemeTokens) => {\n const light = colorToVars(tokens.colors, '--revit-color-')\n const dark = colorToVars(tokens.colorsDark, '--revit-color-')\n const shared: Record<string, string> = {\n '--revit-radius-sm': tokens.radius.sm,\n '--revit-radius-md': tokens.radius.md,\n '--revit-radius-lg': tokens.radius.lg,\n '--revit-radius-xl': tokens.radius.xl,\n '--revit-radius-pill': tokens.radius.pill,\n '--revit-font-sans': tokens.fontFamily.sans,\n }\n return { light: { ...light, ...shared }, dark }\n}\n\nconst decls = (vars: Record<string, string>) =>\n Object.entries(vars)\n .map(([name, value]) => `${name}: ${value};`)\n .join('\\n ')\n\nexport const tokensToStylesheet = (tokens: RevitThemeTokens) => {\n const { light, dark } = tokensToCssVars(tokens)\n return `:root,\n.revit-ui {\n ${decls(light)}\n}\nhtml.dark,\nhtml[data-theme=\"dark\"],\n.dark,\n[data-theme=\"dark\"] {\n ${decls(dark)}\n}`\n}\n","/**\n * Example token file — Revit yellow brand. Duplicate and swap values to restyle the kit.\n *\n * @example\n * import { revitTokens } from '@nerds-with-charisma/revit-ui/theme/revit'\n * <RevitUIProvider tokens={revitTokens}>…</RevitUIProvider>\n */\n\nimport type { RevitColorTokens, RevitThemeTokens } from './types'\n\nconst brand = {\n yellow: '#FFE500',\n yellowLight: '#FFF06E',\n offBlack: '#2C2C2C',\n pink: '#FF005C',\n purple: '#BA00FF',\n blue: '#00FFFB',\n gold: '#B8A500',\n brown: '#78350F',\n umber: '#58483B',\n mist: '#F2F2F7',\n} as const\n\nconst light: RevitColorTokens = {\n background: '#ffffff',\n foreground: brand.offBlack,\n card: '#ffffff',\n cardForeground: brand.offBlack,\n popover: '#ffffff',\n popoverForeground: brand.offBlack,\n primary: brand.yellow,\n primaryForeground: '#000000',\n secondary: '#000000',\n secondaryForeground: '#ffffff',\n muted: brand.mist,\n mutedForeground: brand.umber,\n accent: brand.yellowLight,\n accentForeground: '#000000',\n destructive: '#FF002B',\n destructiveForeground: '#ffffff',\n border: brand.mist,\n input: brand.mist,\n ring: brand.yellow,\n brand,\n}\n\nconst dark: RevitColorTokens = {\n background: '#0f172a',\n foreground: '#ffffff',\n card: '#0f172a',\n cardForeground: '#ffffff',\n popover: '#0f172a',\n popoverForeground: '#ffffff',\n primary: brand.yellow,\n primaryForeground: '#000000',\n secondary: brand.yellow,\n secondaryForeground: '#000000',\n muted: '#1e293b',\n mutedForeground: '#cbd5e1',\n accent: '#1e293b',\n accentForeground: '#ffffff',\n destructive: '#FF002B',\n destructiveForeground: '#ffffff',\n border: '#334155',\n input: '#334155',\n ring: brand.yellow,\n brand,\n}\n\nexport const revitTokens: RevitThemeTokens = {\n colors: light,\n colorsDark: dark,\n radius: {\n sm: '0.375rem',\n md: '0.5rem',\n lg: '1.25rem',\n xl: '1.5rem',\n pill: '9999px',\n },\n fontFamily: {\n sans: 'Afacad, ui-sans-serif, system-ui, sans-serif',\n },\n}\n","import type { ReactNode } from 'react'\nimport { tokensToStylesheet } from './tokensToCss'\nimport { revitTokens } from './tokens.revit'\nimport type { RevitThemeTokens } from './types'\n\ntype RevitUIProviderProps = {\n tokens?: RevitThemeTokens\n children: ReactNode\n}\n\nexport const RevitUIProvider = ({ tokens = revitTokens, children }: RevitUIProviderProps) => {\n return (\n <>\n <style data-id=\"RevitUITheme\" dangerouslySetInnerHTML={{ __html: tokensToStylesheet(tokens) }} />\n <div data-id=\"RevitUIProvider\" className=\"revit-ui font-sans\">\n {children}\n </div>\n </>\n )\n}\n"],"mappings":";;;AAAA,SAAS,YAAY;AACrB,SAAS,WAA8B;;;ACDvC,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,IAAM,KAAK,IAAI,WAAyB;AAC7C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;;;ACFO,IAAM,SAAS;AAAA,EACpB,SACE;AACJ;;;AFsCI;AAtCJ,IAAM,iBAAiB;AAAA,EACrB,+HAA+H,OAAO,OAAO;AAAA,EAC7I;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,WACE;AAAA,QACF,SACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,QACN,aACE;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;AAOO,IAAM,SAAS,CAAC,EAAE,WAAW,SAAS,MAAM,UAAU,OAAO,GAAG,MAAM,MAAmB;AAC9F,QAAM,OAAO,UAAU,OAAO;AAC9B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAQ;AAAA,MACR,aAAU;AAAA,MACV,WAAW,GAAG,eAAe,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AAa;AAAA,EACb,uBAAuB;AAAA,EACvB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,MAAM,MAAM;AAAA,EACZ;AACF;AAEO,IAAM,cAAgC;AAAA,EAC3C,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,QAAQ;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,MAAM;AAAA,EACR;AAAA,EACA,YAAY;AAAA,IACV,MAAM;AAAA,EACR;AACF;;;ACtEI,mBACE,OAAAC,QADF,QAAAC,cAAA;AAFG,IAAM,kBAAkB,CAAC,EAAE,SAAS,aAAa,SAAS,MAA4B;AAC3F,SACE,gBAAAA,OAAA,YACE;AAAA,oBAAAD,OAAC,WAAM,WAAQ,gBAAe,yBAAyB,EAAE,QAAQ,mBAAmB,MAAM,EAAE,GAAG;AAAA,IAC/F,gBAAAA,OAAC,SAAI,WAAQ,mBAAkB,WAAU,sBACtC,UACH;AAAA,KACF;AAEJ;","names":["cva","jsx","cva","cva","jsx","cva","jsx","jsx","jsx","jsx","jsx","SelectPrimitive","SelectPrimitive","SelectPrimitive","cva","jsx","cva","SelectPrimitive","SelectPrimitive","ChevronDown","jsx","ChevronDown","SelectPrimitive","jsx","jsx","jsxs","SelectPrimitive","jsx","jsxs","SelectPrimitive","jsx","SelectPrimitive","jsx","DialogPrimitive","DialogPrimitive","DialogPrimitive","jsx","DialogPrimitive","jsx","jsxs","jsx","jsx","DialogPrimitive","jsx","DialogPrimitive","jsx","DialogPrimitive","cva","jsx","cva","Label","cva","jsx","cva","Check","jsx","Check","cva","jsx","cva","jsx","jsx","RadioGroupPrimitive","jsx","TabsPrimitive","jsx","TabsPrimitive","jsx","TabsPrimitive","jsx","jsx","TooltipPrimitive","TooltipPrimitive","TooltipPrimitive","jsx","jsx","Separator","AccordionPrimitive","jsx","AccordionPrimitive","ChevronDown","jsx","jsxs","ChevronDown","AccordionPrimitive","jsx","cva","jsx","cva","jsx","jsx","jsx","AvatarPrimitive","jsx","AvatarPrimitive","jsx","DropdownMenuPrimitive","DropdownMenuPrimitive","jsx","DropdownMenuPrimitive","jsx","DropdownMenuPrimitive","jsx","DropdownMenuPrimitive","jsx","PopoverPrimitive","PopoverPrimitive","jsx","DialogPrimitive","DialogPrimitive","DialogPrimitive","cva","X","jsx","jsxs","cva","X","jsx","DialogPrimitive","jsx","DialogPrimitive","jsx","jsx","jsx","jsxs","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsx","jsxs","jsx","jsxs","jsx","jsxs","jsx","jsx","jsx","Slot","jsx","Slot","jsx","ChevronRight","jsx","ChevronRight","jsx","jsx","jsxs","Slot","jsx","Slot","jsx","jsx","jsx","Label","jsx","jsx","jsxs","Label","Slot","useId","jsx","jsxs","useId","Label","Slot","cva","jsx","cva","Slot","cva","jsx","cva","Slot","cva","jsx","cva","jsx","jsx","CommandPrimitive","jsx","jsxs","CommandPrimitive","CommandPrimitive","jsx","CommandPrimitive","CommandPrimitive","jsx","CommandPrimitive","CommandPrimitive","jsx","CommandPrimitive","CommandPrimitive","jsx","CommandPrimitive","useState","Check","jsx","jsxs","useState","Check","ContextMenuPrimitive","ContextMenuPrimitive","jsx","ContextMenuPrimitive","jsx","AlertDialogPrimitive","AlertDialogPrimitive","AlertDialogPrimitive","jsx","jsx","jsxs","jsx","jsx","AlertDialogPrimitive","jsx","AlertDialogPrimitive","jsx","AlertDialogPrimitive","jsx","AlertDialogPrimitive","jsx","HoverCardPrimitive","HoverCardPrimitive","jsx","jsx","cva","jsx","cva","createContext","useContext","jsx","createContext","useContext","ToggleGroupPrimitive","jsx","jsx","jsxs","CollapsiblePrimitive","CollapsibleTrigger","CollapsiblePrimitive","jsx","CollapsibleContent","jsx","useState","jsx","jsxs","useState","jsx","Tooltip","ChevronLeft","ChevronRight","createContext","useContext","jsx","jsxs","createContext","useContext","ChevronLeft","ChevronRight","jsx","jsxs","jsx","ChevronDown","jsx","jsxs","ChevronDown","Group","Separator","jsx","Group","Separator","createContext","useContext","useState","jsx","jsxs","createContext","useContext","useState","useContext","jsx","jsxs","useContext","jsx","jsx","jsx","jsx","jsx","cva","jsx","cva","Search","jsx","jsxs","Search","jsx","jsxs","jsx","jsx","jsxs","light","dark","jsx","jsxs"]}