@cogentic-co/ds 0.6.0 → 0.6.1

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.ts CHANGED
@@ -1109,7 +1109,11 @@ declare function Slider({ className, defaultValue, value, min, max, ...props }:
1109
1109
 
1110
1110
  declare const Toaster: ({ theme, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
1111
1111
 
1112
- declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
1112
+ type SpinnerProps = React.ComponentProps<"svg"> & {
1113
+ /** Spinner style. "circle" is a rotating arc, "lines" is radiating line segments. Defaults to "circle". */
1114
+ variant?: "circle" | "lines";
1115
+ };
1116
+ declare function Spinner({ variant, className, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
1113
1117
 
1114
1118
  type SplitPaneDirection = "horizontal" | "vertical";
1115
1119
  interface SplitPaneProps extends Omit<React.ComponentProps<"div">, "dir"> {
@@ -1542,4 +1546,4 @@ interface AppShellProps {
1542
1546
  }
1543
1547
  declare function AppShell({ logo, nav, footerNav, user, breadcrumbs, headerActions, userMenuItems, onLogout, sidebarHeaderExtra, linkComponent: Link, children, className, }: AppShellProps): react_jsx_runtime.JSX.Element;
1544
1548
 
1545
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedCounter, type AnimatedCounterProps, AppShell, type AppShellLogo, type AppShellProps, type AppShellUser, type ApprovalAction, ApprovalActions, type ApprovalActionsProps, ApprovalButton, ApprovalDialog, ArticleCard, type ArticleCardProps, AsciiShader, type AsciiShaderProps, AspectRatio, AuditLog, type AuditLogAction, AuditLogContent, AuditLogDetail, AuditLogEntry, type AuditLogEntryProps, AuditLogIcon, AuditLogMessage, AuditLogMeta, AuditLogTime, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BgShader, type BgShaderProps, Blockquote, BlockyShader, type BlockyShaderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, type BreadcrumbSegment, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Callout, type CalloutProps, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CaseCard, type CaseCardAlert, type CaseCardAssignee, type CaseCardProps, type CaseCardTransaction, Checkbox, CodeBlock, type CodeBlockProps, Col, type ColProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, CommentActions, CommentAuthor, CommentAvatar, CommentBody, CommentContent, CommentHeader, type CommentProps, CommentThread, CommentTime, ComplianceScore, type ComplianceScoreProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type CtaLink, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, DataTableFacetedFilter, type DataTableFacetedFilterOption, type DataTableFacetedFilterProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, DataTableToolbar, type DataTableToolbarProps, DataTableViewOptions, type DataTableViewOptionsProps, DatePicker, type DatePickerPreset, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DeadlineCountdown, type DeadlineCountdownProps, DescriptionList, DescriptionListDetail, DescriptionListItem, DescriptionListTerm, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EASE_OUT, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EntityHeader, type EntityHeaderMeta, type EntityHeaderProps, FADE_UP, FadeIn, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileUpload, type FileUploadProps, FilterBar, FilterChip, FilterClear, Grid, type GridProps, H1, H2, H3, H4, HoverCard, HoverCardContent, HoverCardTrigger, InlineCode, InlineEdit, type InlineEditProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Large, Lead, List, LoadingOverlay, type LoadingOverlayProps, LogoVasp, type LogoVaspProps, Marquee, type MarqueeProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Muted, NativeSelect, NativeSelectOptGroup, NativeSelectOption, type NavGroup, type NavItem, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NumberInput, type NumberInputProps, P, PageCta, type PageCtaProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PolicyBanner, type PolicyBannerProps, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, Prose, type ProseProps, type RGB, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RiskGauge, type RiskGaugeProps, SLIDE_UP_VARIANT, STAGGER_CHILDREN, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, SegmentedControl, type SegmentedControlProps, 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, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Small, Spinner, SplitPane, type SplitPaneDirection, SplitPaneDivider, type SplitPaneDividerProps, SplitPanePanel, type SplitPanePanelProps, type SplitPaneProps, Stat, StatLabel, StatTrend, type StatTrendProps, StatValue, StatusIndicator, type StatusIndicatorProps, StepProgress, StepProgressConnector, StepProgressContent, StepProgressDescription, StepProgressIndicator, type StepProgressIndicatorProps, StepProgressItem, type StepProgressItemProps, type StepProgressProps, type StepProgressStatus, StepProgressTitle, StripedBar, type StripedBarProps, type StripedBarSegment, SubtleShader, type Palette as SubtleShaderPalette, type SubtleShaderProps, Switch, TRANSITION_DEFAULT, TRANSITION_FAST, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TeamCard, type TeamCardProps, Textarea, type ThemeColors, ThemeScript, Timeline, TimelineContent, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineItemProps, TimelineTime, TimelineTitle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typewriter, type TypewriterLine, type TypewriterProps, type Urgency, type UseCarouselOptions, type UseClipboardOptions, type UseDataTableOptions, type UseDisclosureReturn, type UseIntersectionObserverOptions, VIEWPORT_ONCE, VisuallyHidden, WaffleChart, type WaffleChartMode, type WaffleChartProps, type WaffleChartSegment, type WaffleChartSize, badgeVariants, buttonGroupVariants, buttonVariants, calloutVariants, cn, complianceScoreVariants, deadlineCountdownVariants, headerVariants as entityHeaderVariants, logoVaspVariants, navigationMenuTriggerStyle, policyBannerVariants, TIER_COLORS as riskGaugeTierColors, statusIndicatorVariants, stepProgressVariants, tabsListVariants, tagVariants, timeAgo, toggleVariants, trendVariants, useAnimationTimer, useCarousel, useCarouselState, useClipboard, useComboboxAnchor, useCycleIndex, useDataTable, useDebounce, useDisclosure, useIntersectionObserver, useIsMobile, useLocalStorage, useMediaQuery, useSidebar, waffleChartVariants };
1549
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AnimatedCounter, type AnimatedCounterProps, AppShell, type AppShellLogo, type AppShellProps, type AppShellUser, type ApprovalAction, ApprovalActions, type ApprovalActionsProps, ApprovalButton, ApprovalDialog, ArticleCard, type ArticleCardProps, AsciiShader, type AsciiShaderProps, AspectRatio, AuditLog, type AuditLogAction, AuditLogContent, AuditLogDetail, AuditLogEntry, type AuditLogEntryProps, AuditLogIcon, AuditLogMessage, AuditLogMeta, AuditLogTime, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BgShader, type BgShaderProps, Blockquote, BlockyShader, type BlockyShaderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, type BreadcrumbSegment, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Callout, type CalloutProps, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CaseCard, type CaseCardAlert, type CaseCardAssignee, type CaseCardProps, type CaseCardTransaction, Checkbox, CodeBlock, type CodeBlockProps, Col, type ColProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Comment, CommentActions, CommentAuthor, CommentAvatar, CommentBody, CommentContent, CommentHeader, type CommentProps, CommentThread, CommentTime, ComplianceScore, type ComplianceScoreProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type CtaLink, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, DataTableFacetedFilter, type DataTableFacetedFilterOption, type DataTableFacetedFilterProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, DataTableToolbar, type DataTableToolbarProps, DataTableViewOptions, type DataTableViewOptionsProps, DatePicker, type DatePickerPreset, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DeadlineCountdown, type DeadlineCountdownProps, DescriptionList, DescriptionListDetail, DescriptionListItem, DescriptionListTerm, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EASE_OUT, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EntityHeader, type EntityHeaderMeta, type EntityHeaderProps, FADE_UP, FadeIn, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileUpload, type FileUploadProps, FilterBar, FilterChip, FilterClear, Grid, type GridProps, H1, H2, H3, H4, HoverCard, HoverCardContent, HoverCardTrigger, InlineCode, InlineEdit, type InlineEditProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Large, Lead, List, LoadingOverlay, type LoadingOverlayProps, LogoVasp, type LogoVaspProps, Marquee, type MarqueeProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Muted, NativeSelect, NativeSelectOptGroup, NativeSelectOption, type NavGroup, type NavItem, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NumberInput, type NumberInputProps, P, PageCta, type PageCtaProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PolicyBanner, type PolicyBannerProps, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, Prose, type ProseProps, type RGB, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RiskGauge, type RiskGaugeProps, SLIDE_UP_VARIANT, STAGGER_CHILDREN, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, SegmentedControl, type SegmentedControlProps, 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, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Small, Spinner, type SpinnerProps, SplitPane, type SplitPaneDirection, SplitPaneDivider, type SplitPaneDividerProps, SplitPanePanel, type SplitPanePanelProps, type SplitPaneProps, Stat, StatLabel, StatTrend, type StatTrendProps, StatValue, StatusIndicator, type StatusIndicatorProps, StepProgress, StepProgressConnector, StepProgressContent, StepProgressDescription, StepProgressIndicator, type StepProgressIndicatorProps, StepProgressItem, type StepProgressItemProps, type StepProgressProps, type StepProgressStatus, StepProgressTitle, StripedBar, type StripedBarProps, type StripedBarSegment, SubtleShader, type Palette as SubtleShaderPalette, type SubtleShaderProps, Switch, TRANSITION_DEFAULT, TRANSITION_FAST, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TeamCard, type TeamCardProps, Textarea, type ThemeColors, ThemeScript, Timeline, TimelineContent, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineItemProps, TimelineTime, TimelineTitle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typewriter, type TypewriterLine, type TypewriterProps, type Urgency, type UseCarouselOptions, type UseClipboardOptions, type UseDataTableOptions, type UseDisclosureReturn, type UseIntersectionObserverOptions, VIEWPORT_ONCE, VisuallyHidden, WaffleChart, type WaffleChartMode, type WaffleChartProps, type WaffleChartSegment, type WaffleChartSize, badgeVariants, buttonGroupVariants, buttonVariants, calloutVariants, cn, complianceScoreVariants, deadlineCountdownVariants, headerVariants as entityHeaderVariants, logoVaspVariants, navigationMenuTriggerStyle, policyBannerVariants, TIER_COLORS as riskGaugeTierColors, statusIndicatorVariants, stepProgressVariants, tabsListVariants, tagVariants, timeAgo, toggleVariants, trendVariants, useAnimationTimer, useCarousel, useCarouselState, useClipboard, useComboboxAnchor, useCycleIndex, useDataTable, useDebounce, useDisclosure, useIntersectionObserver, useIsMobile, useLocalStorage, useMediaQuery, useSidebar, waffleChartVariants };
package/dist/index.js CHANGED
@@ -936,7 +936,10 @@ function AuditLogEntry(_a) {
936
936
  __spreadValues({
937
937
  "data-slot": "audit-log-entry",
938
938
  "data-action": action,
939
- className: cn("flex items-start gap-3 px-4 py-3 text-sm transition-colors hover:bg-muted/50", className)
939
+ className: cn(
940
+ "flex items-start gap-3 px-4 py-3 text-sm transition-colors hover:bg-muted/50",
941
+ className
942
+ )
940
943
  }, props)
941
944
  );
942
945
  }
@@ -1304,14 +1307,22 @@ function BgShader({ className, colors = DEFAULT_COLORS }) {
1304
1307
  mq.removeEventListener("change", onMotionChange);
1305
1308
  };
1306
1309
  }, []);
1307
- return /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: cn("absolute inset-0 opacity-50", className), "data-slot": "bg-shader", children: /* @__PURE__ */ jsx(
1308
- "canvas",
1310
+ return /* @__PURE__ */ jsx(
1311
+ "div",
1309
1312
  {
1310
- ref: canvasRef,
1311
- className: "block h-full w-full",
1312
- style: { imageRendering: "pixelated" }
1313
+ "aria-hidden": "true",
1314
+ className: cn("absolute inset-0 opacity-50", className),
1315
+ "data-slot": "bg-shader",
1316
+ children: /* @__PURE__ */ jsx(
1317
+ "canvas",
1318
+ {
1319
+ ref: canvasRef,
1320
+ className: "block h-full w-full",
1321
+ style: { imageRendering: "pixelated" }
1322
+ }
1323
+ )
1313
1324
  }
1314
- ) });
1325
+ );
1315
1326
  }
1316
1327
  var CHARS2 = " .:-=+*#%@";
1317
1328
  var CELL2 = 14;
@@ -5937,10 +5948,27 @@ function KbdGroup(_a) {
5937
5948
  }, props)
5938
5949
  );
5939
5950
  }
5951
+ function LinesSpinner(props) {
5952
+ return /* @__PURE__ */ jsx(
5953
+ "svg",
5954
+ __spreadProps(__spreadValues({
5955
+ xmlns: "http://www.w3.org/2000/svg",
5956
+ viewBox: "0 0 24 24",
5957
+ fill: "none",
5958
+ stroke: "currentColor",
5959
+ strokeWidth: "2",
5960
+ strokeLinecap: "round",
5961
+ strokeLinejoin: "round"
5962
+ }, props), {
5963
+ children: /* @__PURE__ */ jsx("path", { d: "M12 2v4m0 12v4M4.93 4.93l2.83 2.83m8.48 8.48 2.83 2.83M2 12h4m12 0h4M4.93 19.07l2.83-2.83m8.48-8.48 2.83-2.83" })
5964
+ })
5965
+ );
5966
+ }
5940
5967
  function Spinner(_a) {
5941
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5968
+ var _b = _a, { variant = "circle", className } = _b, props = __objRest(_b, ["variant", "className"]);
5969
+ const Icon = variant === "lines" ? LinesSpinner : Loader2Icon;
5942
5970
  return /* @__PURE__ */ jsx(
5943
- Loader2Icon,
5971
+ Icon,
5944
5972
  __spreadValues({
5945
5973
  role: "status",
5946
5974
  "aria-label": "Loading",
@@ -8507,7 +8535,11 @@ function WaffleChart(_a) {
8507
8535
  }, [segments, totalCells, mode]);
8508
8536
  const { barBlocks: barBlockData, barDividerCount } = React4.useMemo(() => {
8509
8537
  var _a2;
8510
- if (mode !== "bar") return { barBlocks: [], barDividerCount: 0 };
8538
+ if (mode !== "bar")
8539
+ return {
8540
+ barBlocks: [],
8541
+ barDividerCount: 0
8542
+ };
8511
8543
  const blocks = [];
8512
8544
  for (const seg of segments) {
8513
8545
  const count = Math.round(seg.value / 100 * stripes);