@nswds/app 1.78.0 → 1.78.2

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.d.cts CHANGED
@@ -5,11 +5,11 @@ import React__default, { Dispatch, SetStateAction, Fragment, ReactNode, Componen
5
5
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
6
  import { VariantProps } from 'class-variance-authority';
7
7
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
8
- import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
9
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
8
+ import * as Headless from '@headlessui/react';
10
9
  import * as next_link from 'next/link';
11
10
  import { LinkProps } from 'next/link';
12
- import * as Headless from '@headlessui/react';
11
+ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
12
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
13
13
  import { DayPicker, DayButton } from 'react-day-picker';
14
14
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
15
15
  import * as RechartsPrimitive from 'recharts';
@@ -67,30 +67,37 @@ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<
67
67
  declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
68
68
  declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
69
69
 
70
- declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
71
- declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
72
- declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
70
+ declare const Link$1: React__default.ForwardRefExoticComponent<LinkProps<any> & Omit<React__default.DetailedHTMLProps<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React__default.RefAttributes<HTMLAnchorElement>>;
71
+
72
+ declare const buttonVariants$2: (props?: ({
73
+ variant?: "solid" | "soft" | "surface" | "outline" | "ghost" | null | undefined;
74
+ color?: "primary/grey" | "light" | "primary/white" | "white" | "grey" | "primary" | "secondary" | "tertiary" | "accent" | "danger" | null | undefined;
75
+ size?: "default" | "icon" | "sm" | "lg" | null | undefined;
76
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
77
+ type ButtonProps = VariantProps<typeof buttonVariants$2> & {
78
+ className?: string;
79
+ children: React__default.ReactNode;
80
+ } & (Omit<Headless.ButtonProps, 'as' | 'className'> | Omit<React__default.ComponentPropsWithoutRef<typeof Link$1>, 'className'>);
81
+ declare const Button$2: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLElement>>;
82
+ /**
83
+ * Expand the hit area to at least 44×44px on touch devices
84
+ */
85
+ declare function TouchTarget({ children }: {
86
+ children: React__default.ReactNode;
87
+ }): react_jsx_runtime.JSX.Element;
88
+
89
+ declare function AlertDialog(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
90
+ declare function AlertDialogTrigger(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
91
+ declare function AlertDialogPortal(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
73
92
  declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
74
93
  declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
75
- declare const AlertDialogHeader: {
76
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
77
- displayName: string;
78
- };
79
- declare const AlertDialogFooter: {
80
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
81
- displayName: string;
82
- };
94
+ declare function AlertDialogHeader(props: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
95
+ declare function AlertDialogFooter(props: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
83
96
  declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
84
97
  declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
85
- declare function AlertDialogAction({ className, variant, color, size, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action> & {
86
- variant?: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
87
- color?: 'primary/grey' | 'light' | 'primary/white' | 'white' | 'grey' | 'primary' | 'secondary' | 'tertiary' | 'accent' | 'danger';
88
- size?: 'default' | 'sm' | 'lg' | 'icon';
89
- }): react_jsx_runtime.JSX.Element;
90
- declare namespace AlertDialogAction {
91
- var displayName: string | undefined;
92
- }
93
- declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
98
+ type ButtonVariantProps = VariantProps<typeof buttonVariants$2>;
99
+ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ButtonVariantProps & React$1.RefAttributes<HTMLButtonElement>>;
100
+ declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ButtonVariantProps & React$1.RefAttributes<HTMLButtonElement>>;
94
101
 
95
102
  type ColorUtility = 'bg' | 'stroke' | 'fill' | 'text';
96
103
  declare const chartColors: {
@@ -521,10 +528,10 @@ interface MultiLevelPushMenuProps {
521
528
  initialTitle?: string;
522
529
  }
523
530
  type AnimationState = 'idle' | 'sliding-forward' | 'sliding-backward';
524
- type Link$1 = {
531
+ type Link = {
525
532
  href: string;
526
533
  title: string;
527
- links?: Link$1[];
534
+ links?: Link[];
528
535
  };
529
536
  type NavigationItem = {
530
537
  title: string;
@@ -549,7 +556,7 @@ interface PrevNextLinksProps {
549
556
  navigation: NavigationSection[];
550
557
  }
551
558
  type SidebarLinkProps = {
552
- link: Link$1;
559
+ link: Link;
553
560
  pathname: string;
554
561
  onLinkClick?: React.MouseEventHandler<HTMLAnchorElement>;
555
562
  depth: number;
@@ -711,25 +718,6 @@ declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentPr
711
718
 
712
719
  declare function Breadcrumbs({ homeLabel, pathLabels, showHome, transformLabel, maxItems, forceShow, demoPath, }: BreadcrumbsProps): react_jsx_runtime.JSX.Element | null;
713
720
 
714
- declare const Link: React__default.ForwardRefExoticComponent<LinkProps<any> & Omit<React__default.DetailedHTMLProps<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React__default.RefAttributes<HTMLAnchorElement>>;
715
-
716
- declare const buttonVariants$2: (props?: ({
717
- variant?: "solid" | "soft" | "surface" | "outline" | "ghost" | null | undefined;
718
- color?: "primary/grey" | "light" | "primary/white" | "white" | "grey" | "primary" | "secondary" | "tertiary" | "accent" | "danger" | null | undefined;
719
- size?: "default" | "icon" | "sm" | "lg" | null | undefined;
720
- } & class_variance_authority_types.ClassProp) | undefined) => string;
721
- type ButtonProps = VariantProps<typeof buttonVariants$2> & {
722
- className?: string;
723
- children: React__default.ReactNode;
724
- } & (Omit<Headless.ButtonProps, 'as' | 'className'> | Omit<React__default.ComponentPropsWithoutRef<typeof Link>, 'className'>);
725
- declare const Button$2: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLElement>>;
726
- /**
727
- * Expand the hit area to at least 44×44px on touch devices
728
- */
729
- declare function TouchTarget({ children }: {
730
- children: React__default.ReactNode;
731
- }): react_jsx_runtime.JSX.Element;
732
-
733
721
  declare const buttonVariants$1: (props?: ({
734
722
  variant?: "link" | "default" | "destructive" | "outline" | "ghost" | "secondary" | null | undefined;
735
723
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
@@ -5264,8 +5252,8 @@ interface NavigationProps {
5264
5252
  navigation: NavigationSection[];
5265
5253
  }
5266
5254
  declare function MainNavigation({ navigation }: NavigationProps): react_jsx_runtime.JSX.Element;
5267
- declare function TopLevel({ title, href }: Link$1): react_jsx_runtime.JSX.Element;
5268
- declare function MegaMenu({ title, href, links }: Link$1): react_jsx_runtime.JSX.Element;
5255
+ declare function TopLevel({ title, href }: Link): react_jsx_runtime.JSX.Element;
5256
+ declare function MegaMenu({ title, href, links }: Link): react_jsx_runtime.JSX.Element;
5269
5257
 
5270
5258
  declare function Masthead(): react_jsx_runtime.JSX.Element;
5271
5259
 
@@ -5922,7 +5910,7 @@ type TextProps = ({
5922
5910
  trim?: 'normal' | 'start' | 'end' | 'both';
5923
5911
  } & BaseProps);
5924
5912
  declare function Text({ className, trim, size, label, ...props }: TextProps): react_jsx_runtime.JSX.Element;
5925
- declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link>): react_jsx_runtime.JSX.Element;
5913
+ declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link$1>): react_jsx_runtime.JSX.Element;
5926
5914
  declare function Strong({ className, ...props }: React.ComponentPropsWithoutRef<'strong'>): react_jsx_runtime.JSX.Element;
5927
5915
  declare function Code({ className, ...props }: React.ComponentPropsWithoutRef<'code'>): react_jsx_runtime.JSX.Element;
5928
5916
 
@@ -6447,4 +6435,4 @@ declare const focusInput: string[];
6447
6435
  declare const hasErrorInput: string[];
6448
6436
  declare const focusRing: string[];
6449
6437
 
6450
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge$1 as Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button$2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel$1 as Carousel, type CarouselApi$1 as CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible$1 as Collapsible, CollapsibleContent$1 as CollapsibleContent, CollapsibleTrigger$1 as CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, type DataType, type DataTypeSelectProps, Description, DescriptionDetails, DescriptionList, DescriptionTerm, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent$1 as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem$1 as DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger$1 as DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field, FieldGroup, FieldLabel, Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HeroBannerSupportingImage, HoverCard$1 as HoverCard, HoverCardContent$1 as HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input$1 as Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loader, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, type Output, PageHeading, Pagination, PaginationGap, PaginationList, PaginationNext, PaginationPage, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea$1 as ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLink, type SidebarLinkProps, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavigation, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Suggestion, Suggestions, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, type TextTypeProps, Textarea$1 as Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$5 as TooltipProps, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, type TrackerBlockProps, Tooltip as TremorTooltip, type TypeExampleProps, type TypeSpecs, type Variant, type VariantCodeData, type Variants, type View, type ViewMode, ViewToggle, type ViewToggleProps, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants$1 as badgeVariants, brand, buttonVariants$2 as buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, diverging, domToSimple, focusInput, focusRing, generateColorThemes, generateDataVisColors, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, sequential, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, usePromptInputAttachments, useSelectorHeight, useSidebar, useToc };
6438
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge$1 as Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button$2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel$1 as Carousel, type CarouselApi$1 as CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible$1 as Collapsible, CollapsibleContent$1 as CollapsibleContent, CollapsibleTrigger$1 as CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, type DataType, type DataTypeSelectProps, Description, DescriptionDetails, DescriptionList, DescriptionTerm, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent$1 as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem$1 as DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger$1 as DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field, FieldGroup, FieldLabel, Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HeroBannerSupportingImage, HoverCard$1 as HoverCard, HoverCardContent$1 as HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input$1 as Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link$1 as Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loader, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, type Output, PageHeading, Pagination, PaginationGap, PaginationList, PaginationNext, PaginationPage, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea$1 as ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLink, type SidebarLinkProps, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavigation, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Suggestion, Suggestions, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, type TextTypeProps, Textarea$1 as Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$5 as TooltipProps, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, type TrackerBlockProps, Tooltip as TremorTooltip, type TypeExampleProps, type TypeSpecs, type Variant, type VariantCodeData, type Variants, type View, type ViewMode, ViewToggle, type ViewToggleProps, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants$1 as badgeVariants, brand, buttonVariants$2 as buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, diverging, domToSimple, focusInput, focusRing, generateColorThemes, generateDataVisColors, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, sequential, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, usePromptInputAttachments, useSelectorHeight, useSidebar, useToc };
package/dist/index.d.ts CHANGED
@@ -5,11 +5,11 @@ import React__default, { Dispatch, SetStateAction, Fragment, ReactNode, Componen
5
5
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
6
  import { VariantProps } from 'class-variance-authority';
7
7
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
8
- import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
9
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
8
+ import * as Headless from '@headlessui/react';
10
9
  import * as next_link from 'next/link';
11
10
  import { LinkProps } from 'next/link';
12
- import * as Headless from '@headlessui/react';
11
+ import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
12
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
13
13
  import { DayPicker, DayButton } from 'react-day-picker';
14
14
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
15
15
  import * as RechartsPrimitive from 'recharts';
@@ -67,30 +67,37 @@ declare function Alert({ className, variant, ...props }: React$1.ComponentProps<
67
67
  declare function AlertTitle({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
68
68
  declare function AlertDescription({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
69
69
 
70
- declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
71
- declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
72
- declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
70
+ declare const Link$1: React__default.ForwardRefExoticComponent<LinkProps<any> & Omit<React__default.DetailedHTMLProps<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React__default.RefAttributes<HTMLAnchorElement>>;
71
+
72
+ declare const buttonVariants$2: (props?: ({
73
+ variant?: "solid" | "soft" | "surface" | "outline" | "ghost" | null | undefined;
74
+ color?: "primary/grey" | "light" | "primary/white" | "white" | "grey" | "primary" | "secondary" | "tertiary" | "accent" | "danger" | null | undefined;
75
+ size?: "default" | "icon" | "sm" | "lg" | null | undefined;
76
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
77
+ type ButtonProps = VariantProps<typeof buttonVariants$2> & {
78
+ className?: string;
79
+ children: React__default.ReactNode;
80
+ } & (Omit<Headless.ButtonProps, 'as' | 'className'> | Omit<React__default.ComponentPropsWithoutRef<typeof Link$1>, 'className'>);
81
+ declare const Button$2: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLElement>>;
82
+ /**
83
+ * Expand the hit area to at least 44×44px on touch devices
84
+ */
85
+ declare function TouchTarget({ children }: {
86
+ children: React__default.ReactNode;
87
+ }): react_jsx_runtime.JSX.Element;
88
+
89
+ declare function AlertDialog(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
90
+ declare function AlertDialogTrigger(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
91
+ declare function AlertDialogPortal(props: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
73
92
  declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
74
93
  declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
75
- declare const AlertDialogHeader: {
76
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
77
- displayName: string;
78
- };
79
- declare const AlertDialogFooter: {
80
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
81
- displayName: string;
82
- };
94
+ declare function AlertDialogHeader(props: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
95
+ declare function AlertDialogFooter(props: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
83
96
  declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
84
97
  declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
85
- declare function AlertDialogAction({ className, variant, color, size, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action> & {
86
- variant?: 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
87
- color?: 'primary/grey' | 'light' | 'primary/white' | 'white' | 'grey' | 'primary' | 'secondary' | 'tertiary' | 'accent' | 'danger';
88
- size?: 'default' | 'sm' | 'lg' | 'icon';
89
- }): react_jsx_runtime.JSX.Element;
90
- declare namespace AlertDialogAction {
91
- var displayName: string | undefined;
92
- }
93
- declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
98
+ type ButtonVariantProps = VariantProps<typeof buttonVariants$2>;
99
+ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ButtonVariantProps & React$1.RefAttributes<HTMLButtonElement>>;
100
+ declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ButtonVariantProps & React$1.RefAttributes<HTMLButtonElement>>;
94
101
 
95
102
  type ColorUtility = 'bg' | 'stroke' | 'fill' | 'text';
96
103
  declare const chartColors: {
@@ -521,10 +528,10 @@ interface MultiLevelPushMenuProps {
521
528
  initialTitle?: string;
522
529
  }
523
530
  type AnimationState = 'idle' | 'sliding-forward' | 'sliding-backward';
524
- type Link$1 = {
531
+ type Link = {
525
532
  href: string;
526
533
  title: string;
527
- links?: Link$1[];
534
+ links?: Link[];
528
535
  };
529
536
  type NavigationItem = {
530
537
  title: string;
@@ -549,7 +556,7 @@ interface PrevNextLinksProps {
549
556
  navigation: NavigationSection[];
550
557
  }
551
558
  type SidebarLinkProps = {
552
- link: Link$1;
559
+ link: Link;
553
560
  pathname: string;
554
561
  onLinkClick?: React.MouseEventHandler<HTMLAnchorElement>;
555
562
  depth: number;
@@ -711,25 +718,6 @@ declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentPr
711
718
 
712
719
  declare function Breadcrumbs({ homeLabel, pathLabels, showHome, transformLabel, maxItems, forceShow, demoPath, }: BreadcrumbsProps): react_jsx_runtime.JSX.Element | null;
713
720
 
714
- declare const Link: React__default.ForwardRefExoticComponent<LinkProps<any> & Omit<React__default.DetailedHTMLProps<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React__default.RefAttributes<HTMLAnchorElement>>;
715
-
716
- declare const buttonVariants$2: (props?: ({
717
- variant?: "solid" | "soft" | "surface" | "outline" | "ghost" | null | undefined;
718
- color?: "primary/grey" | "light" | "primary/white" | "white" | "grey" | "primary" | "secondary" | "tertiary" | "accent" | "danger" | null | undefined;
719
- size?: "default" | "icon" | "sm" | "lg" | null | undefined;
720
- } & class_variance_authority_types.ClassProp) | undefined) => string;
721
- type ButtonProps = VariantProps<typeof buttonVariants$2> & {
722
- className?: string;
723
- children: React__default.ReactNode;
724
- } & (Omit<Headless.ButtonProps, 'as' | 'className'> | Omit<React__default.ComponentPropsWithoutRef<typeof Link>, 'className'>);
725
- declare const Button$2: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLElement>>;
726
- /**
727
- * Expand the hit area to at least 44×44px on touch devices
728
- */
729
- declare function TouchTarget({ children }: {
730
- children: React__default.ReactNode;
731
- }): react_jsx_runtime.JSX.Element;
732
-
733
721
  declare const buttonVariants$1: (props?: ({
734
722
  variant?: "link" | "default" | "destructive" | "outline" | "ghost" | "secondary" | null | undefined;
735
723
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
@@ -5264,8 +5252,8 @@ interface NavigationProps {
5264
5252
  navigation: NavigationSection[];
5265
5253
  }
5266
5254
  declare function MainNavigation({ navigation }: NavigationProps): react_jsx_runtime.JSX.Element;
5267
- declare function TopLevel({ title, href }: Link$1): react_jsx_runtime.JSX.Element;
5268
- declare function MegaMenu({ title, href, links }: Link$1): react_jsx_runtime.JSX.Element;
5255
+ declare function TopLevel({ title, href }: Link): react_jsx_runtime.JSX.Element;
5256
+ declare function MegaMenu({ title, href, links }: Link): react_jsx_runtime.JSX.Element;
5269
5257
 
5270
5258
  declare function Masthead(): react_jsx_runtime.JSX.Element;
5271
5259
 
@@ -5922,7 +5910,7 @@ type TextProps = ({
5922
5910
  trim?: 'normal' | 'start' | 'end' | 'both';
5923
5911
  } & BaseProps);
5924
5912
  declare function Text({ className, trim, size, label, ...props }: TextProps): react_jsx_runtime.JSX.Element;
5925
- declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link>): react_jsx_runtime.JSX.Element;
5913
+ declare function TextLink({ className, ...props }: React.ComponentPropsWithoutRef<typeof Link$1>): react_jsx_runtime.JSX.Element;
5926
5914
  declare function Strong({ className, ...props }: React.ComponentPropsWithoutRef<'strong'>): react_jsx_runtime.JSX.Element;
5927
5915
  declare function Code({ className, ...props }: React.ComponentPropsWithoutRef<'code'>): react_jsx_runtime.JSX.Element;
5928
5916
 
@@ -6447,4 +6435,4 @@ declare const focusInput: string[];
6447
6435
  declare const hasErrorInput: string[];
6448
6436
  declare const focusRing: string[];
6449
6437
 
6450
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge$1 as Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button$2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel$1 as Carousel, type CarouselApi$1 as CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible$1 as Collapsible, CollapsibleContent$1 as CollapsibleContent, CollapsibleTrigger$1 as CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, type DataType, type DataTypeSelectProps, Description, DescriptionDetails, DescriptionList, DescriptionTerm, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent$1 as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem$1 as DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger$1 as DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field, FieldGroup, FieldLabel, Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HeroBannerSupportingImage, HoverCard$1 as HoverCard, HoverCardContent$1 as HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input$1 as Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loader, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, type Output, PageHeading, Pagination, PaginationGap, PaginationList, PaginationNext, PaginationPage, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea$1 as ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLink, type SidebarLinkProps, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavigation, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Suggestion, Suggestions, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, type TextTypeProps, Textarea$1 as Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$5 as TooltipProps, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, type TrackerBlockProps, Tooltip as TremorTooltip, type TypeExampleProps, type TypeSpecs, type Variant, type VariantCodeData, type Variants, type View, type ViewMode, ViewToggle, type ViewToggleProps, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants$1 as badgeVariants, brand, buttonVariants$2 as buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, diverging, domToSimple, focusInput, focusRing, generateColorThemes, generateDataVisColors, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, sequential, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, usePromptInputAttachments, useSelectorHeight, useSidebar, useToc };
6438
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge$1 as Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button$2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel$1 as Carousel, type CarouselApi$1 as CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible$1 as Collapsible, CollapsibleContent$1 as CollapsibleContent, CollapsibleTrigger$1 as CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, type DataType, type DataTypeSelectProps, Description, DescriptionDetails, DescriptionList, DescriptionTerm, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent$1 as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem$1 as DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger$1 as DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field, FieldGroup, FieldLabel, Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HeroBannerSupportingImage, HoverCard$1 as HoverCard, HoverCardContent$1 as HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input$1 as Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link$1 as Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loader, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, type Output, PageHeading, Pagination, PaginationGap, PaginationList, PaginationNext, PaginationPage, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea$1 as ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLink, type SidebarLinkProps, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavigation, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Suggestion, Suggestions, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, type TextTypeProps, Textarea$1 as Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$5 as TooltipProps, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, type TrackerBlockProps, Tooltip as TremorTooltip, type TypeExampleProps, type TypeSpecs, type Variant, type VariantCodeData, type Variants, type View, type ViewMode, ViewToggle, type ViewToggleProps, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants$1 as badgeVariants, brand, buttonVariants$2 as buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, diverging, domToSimple, focusInput, focusRing, generateColorThemes, generateDataVisColors, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, sequential, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, usePromptInputAttachments, useSelectorHeight, useSidebar, useToc };
package/dist/index.js CHANGED
@@ -4502,89 +4502,132 @@ function TouchTarget({ children }) {
4502
4502
  children
4503
4503
  ] });
4504
4504
  }
4505
- var AlertDialog = AlertDialogPrimitive.Root;
4506
- var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
4507
- var AlertDialogPortal = AlertDialogPrimitive.Portal;
4508
- var AlertDialogOverlay = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4509
- AlertDialogPrimitive.Overlay,
4510
- {
4511
- className: cn(
4512
- "fixed inset-0 z-50 bg-black/80 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",
4513
- className
4514
- ),
4515
- ...props,
4516
- ref
4517
- }
4518
- ));
4519
- AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
4520
- var AlertDialogContent = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [
4521
- /* @__PURE__ */ jsx(AlertDialogOverlay, {}),
4522
- /* @__PURE__ */ jsx(
4523
- AlertDialogPrimitive.Content,
4505
+ function AlertDialog(props) {
4506
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Root, { "data-slot": "alert-dialog", ...props });
4507
+ }
4508
+ function AlertDialogTrigger(props) {
4509
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Trigger, { "data-slot": "alert-dialog-trigger", ...props });
4510
+ }
4511
+ function AlertDialogPortal(props) {
4512
+ return /* @__PURE__ */ jsx(AlertDialogPrimitive.Portal, { "data-slot": "alert-dialog-portal", ...props });
4513
+ }
4514
+ var AlertDialogOverlay = React5.forwardRef(function AlertDialogOverlay2({ className, ...props }, ref) {
4515
+ return /* @__PURE__ */ jsx(
4516
+ AlertDialogPrimitive.Overlay,
4524
4517
  {
4525
4518
  ref,
4519
+ "data-slot": "alert-dialog-overlay",
4526
4520
  className: cn(
4527
- "fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] data-[state=open]:zoom-in-95 sm:rounded-lg",
4521
+ "fixed inset-0 z-50 bg-black/50",
4522
+ "data-[state=closed]:animate-out data-[state=open]:animate-in",
4523
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
4528
4524
  className
4529
4525
  ),
4530
4526
  ...props
4531
4527
  }
4532
- )
4533
- ] }));
4534
- AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
4535
- var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
4536
- AlertDialogHeader.displayName = "AlertDialogHeader";
4537
- var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx(
4538
- "div",
4539
- {
4540
- className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
4541
- ...props
4542
- }
4543
- );
4544
- AlertDialogFooter.displayName = "AlertDialogFooter";
4545
- var AlertDialogTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4546
- AlertDialogPrimitive.Title,
4547
- {
4548
- ref,
4549
- className: cn("text-lg font-semibold", className),
4550
- ...props
4551
- }
4552
- ));
4553
- AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
4554
- var AlertDialogDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4555
- AlertDialogPrimitive.Description,
4556
- {
4557
- ref,
4558
- className: cn("text-sm text-muted-foreground", className),
4559
- ...props
4560
- }
4561
- ));
4562
- AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
4563
- function AlertDialogAction({
4528
+ );
4529
+ });
4530
+ var AlertDialogContent = React5.forwardRef(function AlertDialogContent2({ className, ...props }, ref) {
4531
+ return /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [
4532
+ /* @__PURE__ */ jsx(AlertDialogOverlay, {}),
4533
+ /* @__PURE__ */ jsx(
4534
+ AlertDialogPrimitive.Content,
4535
+ {
4536
+ ref,
4537
+ "data-slot": "alert-dialog-content",
4538
+ className: cn(
4539
+ "fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 sm:max-w-lg",
4540
+ "data-[state=closed]:animate-out data-[state=open]:animate-in",
4541
+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
4542
+ "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
4543
+ className
4544
+ ),
4545
+ ...props
4546
+ }
4547
+ )
4548
+ ] });
4549
+ });
4550
+ function AlertDialogHeader(props) {
4551
+ const { className, ...rest } = props;
4552
+ return /* @__PURE__ */ jsx(
4553
+ "div",
4554
+ {
4555
+ "data-slot": "alert-dialog-header",
4556
+ className: cn("flex flex-col gap-2 text-center sm:text-left", className),
4557
+ ...rest
4558
+ }
4559
+ );
4560
+ }
4561
+ function AlertDialogFooter(props) {
4562
+ const { className, ...rest } = props;
4563
+ return /* @__PURE__ */ jsx(
4564
+ "div",
4565
+ {
4566
+ "data-slot": "alert-dialog-footer",
4567
+ className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
4568
+ ...rest
4569
+ }
4570
+ );
4571
+ }
4572
+ var AlertDialogTitle = React5.forwardRef(function AlertDialogTitle2({ className, ...props }, ref) {
4573
+ return /* @__PURE__ */ jsx(
4574
+ AlertDialogPrimitive.Title,
4575
+ {
4576
+ ref,
4577
+ "data-slot": "alert-dialog-title",
4578
+ className: cn("text-lg font-semibold", className),
4579
+ ...props
4580
+ }
4581
+ );
4582
+ });
4583
+ var AlertDialogDescription = React5.forwardRef(function AlertDialogDescription2({ className, ...props }, ref) {
4584
+ return /* @__PURE__ */ jsx(
4585
+ AlertDialogPrimitive.Description,
4586
+ {
4587
+ ref,
4588
+ "data-slot": "alert-dialog-description",
4589
+ className: cn("text-sm text-muted-foreground", className),
4590
+ ...props
4591
+ }
4592
+ );
4593
+ });
4594
+ var AlertDialogAction = React5.forwardRef(function AlertDialogAction2({ className, variant, size, color: color2, ...props }, ref) {
4595
+ const variants = {
4596
+ ...variant && { variant },
4597
+ ...size && { size },
4598
+ ...typeof color2 !== "undefined" && { color: color2 }
4599
+ };
4600
+ return /* @__PURE__ */ jsx(
4601
+ AlertDialogPrimitive.Action,
4602
+ {
4603
+ ref,
4604
+ className: cn(buttonVariants(variants), className),
4605
+ ...props
4606
+ }
4607
+ );
4608
+ });
4609
+ var AlertDialogCancel = React5.forwardRef(function AlertDialogCancel2({
4564
4610
  className,
4565
4611
  variant,
4566
- color: color2,
4567
4612
  size,
4613
+ /* color if defined */
4614
+ color: color2,
4568
4615
  ...props
4569
- }) {
4616
+ }, ref) {
4617
+ const variants = {
4618
+ variant: variant ?? "outline",
4619
+ ...size && { size },
4620
+ ...typeof color2 !== "undefined" && { color: color2 }
4621
+ };
4570
4622
  return /* @__PURE__ */ jsx(
4571
- AlertDialogPrimitive.Action,
4623
+ AlertDialogPrimitive.Cancel,
4572
4624
  {
4573
- className: cn(buttonVariants({ variant, color: color2, size }), className),
4625
+ ref,
4626
+ className: cn(buttonVariants(variants), className),
4574
4627
  ...props
4575
4628
  }
4576
4629
  );
4577
- }
4578
- AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
4579
- var AlertDialogCancel = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4580
- AlertDialogPrimitive.Cancel,
4581
- {
4582
- ref,
4583
- className: cn(buttonVariants({ variant: "outline" }), "mt-2 sm:mt-0", className),
4584
- ...props
4585
- }
4586
- ));
4587
- AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
4630
+ });
4588
4631
  var useOnWindowResize = (handler) => {
4589
4632
  React5.useEffect(() => {
4590
4633
  const handleResize = () => {
@@ -17430,7 +17473,7 @@ function FormatToggle({ format, setFormat }) {
17430
17473
 
17431
17474
  // package.json
17432
17475
  var package_default = {
17433
- version: "1.77.3"};
17476
+ version: "1.78.0"};
17434
17477
  var SluggerContext = React5__default.createContext(null);
17435
17478
  function flattenText(nodes) {
17436
17479
  if (nodes == null || typeof nodes === "boolean") return "";