@bison-lab/ui 3.38.0 → 3.39.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.mjs CHANGED
@@ -18,6 +18,7 @@ import Link$1 from "@tiptap/extension-link";
18
18
  import Underline$1 from "@tiptap/extension-underline";
19
19
  import TextAlign from "@tiptap/extension-text-align";
20
20
  import { Toaster as Toaster$1, toast } from "sonner";
21
+ import { attachEdgeShade } from "@bison-lab/tokens/dom";
21
22
  import { flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
22
23
  import { Command as Command$1 } from "cmdk";
23
24
  //#region src/lib/semantic-action-tones.ts
@@ -3463,14 +3464,60 @@ const AccordionContent = React.forwardRef(({ className, children, ...props }, re
3463
3464
  AccordionContent.displayName = Accordion$1.Content.displayName;
3464
3465
  //#endregion
3465
3466
  //#region src/components/table.tsx
3466
- const Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
3467
- className: "relative w-full overflow-auto",
3468
- children: /* @__PURE__ */ jsx("table", {
3469
- ref,
3470
- className: cn("w-full caption-bottom text-sm", className),
3471
- ...props
3472
- })
3473
- }));
3467
+ /**
3468
+ * A pinned cell is sticky and opaque — without a background the scrolling rows
3469
+ * would show through it. The shadow fades in only once there is content hidden
3470
+ * under that edge; the 0..1 strength comes from the scroller (see `Table`).
3471
+ *
3472
+ * The shadow is mixed from `--foreground` rather than black: the library themes
3473
+ * light and dark, and a black shadow on a dark surface is no shadow at all.
3474
+ *
3475
+ * The divider carries the rest of the weight. A shadow that only appears once
3476
+ * you have already scrolled cannot tell you a column is anchored; the border
3477
+ * says so from the first glance, which is what a reader needs.
3478
+ *
3479
+ * The background is `--bl-table-row-bg`, which each row sets for itself, rather
3480
+ * than a fixed colour. A pinned cell must be opaque or the scrolling rows show
3481
+ * through it, but painting it `bg-background` cuts a pale hole in the row's
3482
+ * hover and selected tints — the pinned columns stay white while the middle of
3483
+ * the row highlights.
3484
+ *
3485
+ * It carries `transition-colors` for the same reason the row does. A custom
3486
+ * property is not itself animatable, but the `background-color` it resolves to
3487
+ * is, so without this the pinned cells snap while the rest of the row fades.
3488
+ */
3489
+ const pinClasses = (pin) => pin === "start" ? "sticky left-0 z-20 border-r transition-colors bg-[var(--bl-table-row-bg,hsl(var(--background)))] [box-shadow:8px_0_12px_-4px_color-mix(in_srgb,hsl(var(--foreground))_calc(22%*var(--bl-table-shade-start,0)),transparent)]" : pin === "end" ? "sticky right-0 z-20 border-l transition-colors bg-[var(--bl-table-row-bg,hsl(var(--background)))] [box-shadow:-8px_0_12px_-4px_color-mix(in_srgb,hsl(var(--foreground))_calc(22%*var(--bl-table-shade-end,0)),transparent)]" : void 0;
3490
+ /**
3491
+ * The composited equivalents of the row's own translucent tints. A pinned cell
3492
+ * cannot use `bg-muted/50` — stacked over the row's own tint it would double —
3493
+ * so each state names the colour the row actually ends up showing.
3494
+ */
3495
+ const ROW_BG = "[--bl-table-row-bg:hsl(var(--background))] hover:[--bl-table-row-bg:color-mix(in_srgb,hsl(var(--muted))_50%,hsl(var(--background)))] data-[state=selected]:[--bl-table-row-bg:hsl(var(--muted))]";
3496
+ const Table = React.forwardRef(({ className, ...props }, ref) => {
3497
+ const scroller = React.useRef(null);
3498
+ const [scrollable, setScrollable] = React.useState(false);
3499
+ React.useLayoutEffect(() => {
3500
+ const el = scroller.current;
3501
+ if (!el) return;
3502
+ return attachEdgeShade(el, {
3503
+ activeSelector: "[data-pinned]",
3504
+ onOverflowChange: setScrollable
3505
+ });
3506
+ });
3507
+ return /* @__PURE__ */ jsx("div", {
3508
+ ref: scroller,
3509
+ "data-slot": "table-scroller",
3510
+ className: "relative w-full overflow-auto rounded-[inherit] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
3511
+ tabIndex: scrollable ? 0 : void 0,
3512
+ role: scrollable ? "group" : void 0,
3513
+ "aria-label": scrollable ? "Scrollable table" : void 0,
3514
+ children: /* @__PURE__ */ jsx("table", {
3515
+ ref,
3516
+ className: cn("w-full caption-bottom text-sm", className),
3517
+ ...props
3518
+ })
3519
+ });
3520
+ });
3474
3521
  Table.displayName = "Table";
3475
3522
  const TableHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", {
3476
3523
  ref,
@@ -3486,25 +3533,27 @@ const TableBody = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3486
3533
  TableBody.displayName = "TableBody";
3487
3534
  const TableFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", {
3488
3535
  ref,
3489
- className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className),
3536
+ className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", "[&>tr]:[--bl-table-row-bg:color-mix(in_srgb,hsl(var(--muted))_50%,hsl(var(--background)))]", className),
3490
3537
  ...props
3491
3538
  }));
3492
3539
  TableFooter.displayName = "TableFooter";
3493
3540
  const TableRow = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tr", {
3494
3541
  ref,
3495
- className: cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", className),
3542
+ className: cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", ROW_BG, className),
3496
3543
  ...props
3497
3544
  }));
3498
3545
  TableRow.displayName = "TableRow";
3499
- const TableHead = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("th", {
3546
+ const TableHead = React.forwardRef(({ className, pin, ...props }, ref) => /* @__PURE__ */ jsx("th", {
3500
3547
  ref,
3501
- className: cn("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", className),
3548
+ "data-pinned": pin,
3549
+ className: cn("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", pinClasses(pin), className),
3502
3550
  ...props
3503
3551
  }));
3504
3552
  TableHead.displayName = "TableHead";
3505
- const TableCell = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("td", {
3553
+ const TableCell = React.forwardRef(({ className, pin, ...props }, ref) => /* @__PURE__ */ jsx("td", {
3506
3554
  ref,
3507
- className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
3555
+ "data-pinned": pin,
3556
+ className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", pinClasses(pin), className),
3508
3557
  ...props
3509
3558
  }));
3510
3559
  TableCell.displayName = "TableCell";
@@ -3515,6 +3564,57 @@ const TableCaption = React.forwardRef(({ className, ...props }, ref) => /* @__PU
3515
3564
  }));
3516
3565
  TableCaption.displayName = "TableCaption";
3517
3566
  //#endregion
3567
+ //#region src/components/data-table-totals.ts
3568
+ /** A client-side table can total what it holds; a server-paginated one cannot. */
3569
+ function totalledRows(table) {
3570
+ if (table.options.manualPagination) return null;
3571
+ return table.getFilteredRowModel().rows.map((row) => row.original);
3572
+ }
3573
+ function numbersFrom(rows, accessor) {
3574
+ const values = [];
3575
+ for (const row of rows) {
3576
+ const value = accessor(row);
3577
+ if (typeof value === "number" && Number.isFinite(value)) values.push(value);
3578
+ }
3579
+ return values;
3580
+ }
3581
+ /** Round away float noise without pretending to more precision than we have. */
3582
+ const round = (value) => Math.round(value * 100) / 100;
3583
+ /** Sum of a column across every filtered row. */
3584
+ function sumFooter(accessor) {
3585
+ return ({ table }) => {
3586
+ const rows = totalledRows(table);
3587
+ if (!rows) return null;
3588
+ const total = numbersFrom(rows, accessor).reduce((sum, value) => sum + value, 0);
3589
+ return String(round(total));
3590
+ };
3591
+ }
3592
+ /** Mean of a column across every filtered row that holds a number. */
3593
+ function avgFooter(accessor) {
3594
+ return ({ table }) => {
3595
+ const rows = totalledRows(table);
3596
+ if (!rows) return null;
3597
+ const values = numbersFrom(rows, accessor);
3598
+ if (values.length === 0) return null;
3599
+ return String(round(values.reduce((sum, value) => sum + value, 0) / values.length));
3600
+ };
3601
+ }
3602
+ /**
3603
+ * How many rows the filter left behind.
3604
+ *
3605
+ * The result is always labelled (`"12 rows"`), because a count is not a total
3606
+ * of the column it sits under: a bare number beneath a column of email
3607
+ * addresses reads as a sum of that column. Pass a noun to name what is being
3608
+ * counted — `countFooter("payments")` renders `"12 payments"`.
3609
+ */
3610
+ function countFooter(noun = "rows") {
3611
+ return ({ table }) => {
3612
+ const rows = totalledRows(table);
3613
+ if (!rows) return null;
3614
+ return `${rows.length} ${noun}`;
3615
+ };
3616
+ }
3617
+ //#endregion
3518
3618
  //#region src/components/data-table.tsx
3519
3619
  const sizeClasses = {
3520
3620
  sm: {
@@ -3570,6 +3670,22 @@ function createSelectionColumn() {
3570
3670
  size: 40
3571
3671
  };
3572
3672
  }
3673
+ /**
3674
+ * Translate TanStack's pinning state into the primitives' `pin` prop plus the
3675
+ * offset that stacks a second pinned column beside the first.
3676
+ */
3677
+ function pinProps(column) {
3678
+ const pinned = column.getIsPinned();
3679
+ if (pinned === "left") return {
3680
+ pin: "start",
3681
+ style: { left: `${column.getStart("left")}px` }
3682
+ };
3683
+ if (pinned === "right") return {
3684
+ pin: "end",
3685
+ style: { right: `${column.getAfter("right")}px` }
3686
+ };
3687
+ return {};
3688
+ }
3573
3689
  function useDensitySize() {
3574
3690
  const ref = React.useRef(null);
3575
3691
  const [size, setSize] = React.useState("md");
@@ -3590,7 +3706,7 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
3590
3706
  20,
3591
3707
  30,
3592
3708
  50
3593
- ], enableRowSelection = false, onRowSelectionChange, totalRows, paginationState: controlledPagination, onPaginationChange, sortingState: controlledSorting, onSortingChange: onSortingChangeProp, filterState: controlledFilters, onFilterChange, showColumnToggle = true, toolbarActions, size: sizeProp, emptyMessage = "No results.", className }, ref) {
3709
+ ], enableRowSelection = false, onRowSelectionChange, totalRows, paginationState: controlledPagination, onPaginationChange, sortingState: controlledSorting, onSortingChange: onSortingChangeProp, filterState: controlledFilters, onFilterChange, showColumnToggle = true, toolbarActions, pinnedColumns, showFooter = false, size: sizeProp, emptyMessage = "No results.", className }, ref) {
3594
3710
  const isServerSide = totalRows !== void 0;
3595
3711
  const [internalSorting, setInternalSorting] = React.useState([]);
3596
3712
  const [internalFilters, setInternalFilters] = React.useState([]);
@@ -3617,9 +3733,15 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
3617
3733
  if (!enableRowSelection) return columns;
3618
3734
  return [createSelectionColumn(), ...columns];
3619
3735
  }, [columns, enableRowSelection]);
3736
+ const columnPinning = React.useMemo(() => ({
3737
+ left: pinnedColumns?.left ?? [],
3738
+ right: pinnedColumns?.right ?? []
3739
+ }), [pinnedColumns]);
3740
+ const hasPinnedColumns = columnPinning.left.length > 0 || columnPinning.right.length > 0;
3620
3741
  const table = useReactTable({
3621
3742
  data,
3622
3743
  columns: finalColumns,
3744
+ initialState: { columnPinning },
3623
3745
  state: {
3624
3746
  sorting,
3625
3747
  columnFilters,
@@ -3683,6 +3805,7 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
3683
3805
  table.getAllColumns().filter((col) => col.getCanHide()).map((col) => /* @__PURE__ */ jsx(DropdownMenuCheckboxItem, {
3684
3806
  className: "capitalize",
3685
3807
  checked: col.getIsVisible(),
3808
+ onSelect: (event) => event.preventDefault(),
3686
3809
  onCheckedChange: (value) => col.toggleVisibility(!!value),
3687
3810
  children: col.id
3688
3811
  }, col.id))
@@ -3692,21 +3815,48 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
3692
3815
  }),
3693
3816
  /* @__PURE__ */ jsx("div", {
3694
3817
  className: "rounded-md border",
3695
- children: /* @__PURE__ */ jsxs(Table, { children: [/* @__PURE__ */ jsx(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx(TableRow, { children: headerGroup.headers.map((header) => /* @__PURE__ */ jsx(TableHead, {
3696
- className: sc.header,
3697
- style: { width: header.column.id === "_select" ? 40 : header.getSize() !== 150 ? header.getSize() : void 0 },
3698
- children: header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext())
3699
- }, header.id)) }, headerGroup.id)) }), /* @__PURE__ */ jsx(TableBody, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx(TableRow, {
3700
- "data-state": row.getIsSelected() && "selected",
3701
- children: row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx(TableCell, {
3702
- className: sc.cell,
3703
- children: flexRender(cell.column.columnDef.cell, cell.getContext())
3704
- }, cell.id))
3705
- }, row.id)) : /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, {
3706
- colSpan: finalColumns.length,
3707
- className: "h-24 text-center",
3708
- children: emptyMessage
3709
- }) }) })] })
3818
+ children: /* @__PURE__ */ jsxs(Table, {
3819
+ className: cn(hasPinnedColumns && "min-w-max"),
3820
+ children: [
3821
+ /* @__PURE__ */ jsx(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx(TableRow, { children: headerGroup.headers.map((header) => {
3822
+ const pinned = pinProps(header.column);
3823
+ return /* @__PURE__ */ jsx(TableHead, {
3824
+ pin: pinned.pin,
3825
+ className: sc.header,
3826
+ style: {
3827
+ ...pinned.style,
3828
+ width: header.column.id === "_select" ? 40 : header.getSize() !== 150 ? header.getSize() : void 0
3829
+ },
3830
+ children: header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext())
3831
+ }, header.id);
3832
+ }) }, headerGroup.id)) }),
3833
+ /* @__PURE__ */ jsx(TableBody, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx(TableRow, {
3834
+ "data-state": row.getIsSelected() && "selected",
3835
+ children: row.getVisibleCells().map((cell) => {
3836
+ const pinned = pinProps(cell.column);
3837
+ return /* @__PURE__ */ jsx(TableCell, {
3838
+ pin: pinned.pin,
3839
+ className: sc.cell,
3840
+ style: pinned.style,
3841
+ children: flexRender(cell.column.columnDef.cell, cell.getContext())
3842
+ }, cell.id);
3843
+ })
3844
+ }, row.id)) : /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, {
3845
+ colSpan: finalColumns.length,
3846
+ className: "h-24 text-center",
3847
+ children: emptyMessage
3848
+ }) }) }),
3849
+ showFooter && /* @__PURE__ */ jsx(TableFooter, { children: table.getFooterGroups().map((footerGroup) => /* @__PURE__ */ jsx(TableRow, { children: footerGroup.headers.map((header) => {
3850
+ const pinned = pinProps(header.column);
3851
+ return /* @__PURE__ */ jsx(TableCell, {
3852
+ pin: pinned.pin,
3853
+ className: sc.cell,
3854
+ style: pinned.style,
3855
+ children: header.isPlaceholder ? null : flexRender(header.column.columnDef.footer, header.getContext())
3856
+ }, header.id);
3857
+ }) }, footerGroup.id)) })
3858
+ ]
3859
+ })
3710
3860
  }),
3711
3861
  (pagination || enableRowSelection) && /* @__PURE__ */ jsxs("div", {
3712
3862
  className: "flex items-center justify-between px-2",
@@ -9131,6 +9281,6 @@ const ContrastStrip = React.forwardRef(({ checks, mode = "both", failingOnly = f
9131
9281
  });
9132
9282
  ContrastStrip.displayName = "ContrastStrip";
9133
9283
  //#endregion
9134
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppSidebarBlock, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BisonProvider, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CHROME_LOOK_CLASSES, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, CodeInput, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContrastStrip, CurrencyInput, DataTable, DataTableColumnHeader, DatePicker, DateRangePicker, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, EmptyStateBlock, FAQColumnsBlock, FieldGroupScope, FieldProvider, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, JsonLd, Kbd, Label, LookSurface, MaintenanceBlock, MediaCard, MegaMenuPanel, NapBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, OutlinedField, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverTrigger, ProcessStepsBlock, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, Rating, ResetPasswordBlock, ResourcesBlock, ReviewsBlock, RotatingBadge, SavedPing, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowcasePanelsBlock, Sidebar, SidebarBlock, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, SocialProviders, Spinner, StatsBandBlock, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperLabel, StepperSeparator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, TestimonialMasonry, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, ThemeShowcase, TimePicker, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, switchVariants, testimonialInitials, themeShowcaseSections, toast, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
9284
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppSidebarBlock, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BisonProvider, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CHROME_LOOK_CLASSES, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, CodeInput, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContrastStrip, CurrencyInput, DataTable, DataTableColumnHeader, DatePicker, DateRangePicker, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, EmptyStateBlock, FAQColumnsBlock, FieldGroupScope, FieldProvider, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, JsonLd, Kbd, Label, LookSurface, MaintenanceBlock, MediaCard, MegaMenuPanel, NapBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, OutlinedField, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverTrigger, ProcessStepsBlock, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, Rating, ResetPasswordBlock, ResourcesBlock, ReviewsBlock, RotatingBadge, SavedPing, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowcasePanelsBlock, Sidebar, SidebarBlock, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, SocialProviders, Spinner, StatsBandBlock, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperLabel, StepperSeparator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, TestimonialMasonry, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, ThemeShowcase, TimePicker, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, avgFooter, badgeVariants, buttonVariants, cn, countFooter, dateRangePresets, editableTitleVariants, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, sumFooter, switchVariants, testimonialInitials, themeShowcaseSections, toast, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
9135
9285
 
9136
9286
  //# sourceMappingURL=index.mjs.map