@bison-lab/ui 3.37.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
@@ -956,49 +957,76 @@ const buttonVariants = cva("relative inline-flex items-center justify-center whi
956
957
  fullWidth: {
957
958
  true: "w-full",
958
959
  false: ""
960
+ },
961
+ withIcon: {
962
+ true: "gap-2 [&_svg]:shrink-0",
963
+ false: ""
959
964
  }
960
965
  },
966
+ compoundVariants: [
967
+ {
968
+ withIcon: true,
969
+ size: "sm",
970
+ class: "[&_svg]:size-3.5"
971
+ },
972
+ {
973
+ withIcon: true,
974
+ size: "md",
975
+ class: "[&_svg]:size-4"
976
+ },
977
+ {
978
+ withIcon: true,
979
+ size: "lg",
980
+ class: "[&_svg]:size-5"
981
+ },
982
+ {
983
+ withIcon: true,
984
+ size: "icon",
985
+ class: "[&_svg]:size-4"
986
+ }
987
+ ],
961
988
  defaultVariants: {
962
989
  variant: "default",
963
990
  size: "md",
964
- fullWidth: false
991
+ fullWidth: false,
992
+ withIcon: false
965
993
  }
966
994
  });
967
- const Button = React.forwardRef(({ className, variant, size, fullWidth, asChild = false, loading = false, disabled, children, ...props }, ref) => {
995
+ const Button = React.forwardRef(({ className, variant, size, fullWidth, withIcon, asChild = false, loading = false, disabled, icon, children, ...props }, ref) => {
968
996
  const Comp = asChild ? Slot.Slot : "button";
997
+ const classes = cn(buttonVariants({
998
+ variant,
999
+ size,
1000
+ fullWidth,
1001
+ withIcon: withIcon ?? icon != null
1002
+ }), className);
969
1003
  if (asChild) return /* @__PURE__ */ jsx(Comp, {
970
- className: cn(buttonVariants({
971
- variant,
972
- size,
973
- fullWidth,
974
- className
975
- })),
1004
+ className: classes,
976
1005
  ref,
977
1006
  "aria-busy": loading || void 0,
978
1007
  ...props,
979
1008
  children
980
1009
  });
981
1010
  const spinnerSizeClass = size === "sm" ? "h-3 w-3" : size === "lg" ? "h-5 w-5" : "h-4 w-4";
1011
+ const label = /* @__PURE__ */ jsxs(Fragment, { children: [icon != null && /* @__PURE__ */ jsx("span", {
1012
+ "aria-hidden": "true",
1013
+ children: icon
1014
+ }), children] });
982
1015
  return /* @__PURE__ */ jsx("button", {
983
- className: cn(buttonVariants({
984
- variant,
985
- size,
986
- fullWidth,
987
- className
988
- })),
1016
+ className: classes,
989
1017
  ref,
990
1018
  disabled: disabled || loading,
991
1019
  "aria-busy": loading || void 0,
992
1020
  "data-loading": loading || void 0,
993
1021
  ...props,
994
1022
  children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
995
- className: "inline-flex items-center justify-center opacity-0",
996
- children
1023
+ className: "inline-flex items-center justify-center gap-[inherit] opacity-0",
1024
+ children: label
997
1025
  }), /* @__PURE__ */ jsx("span", {
998
1026
  "aria-hidden": "true",
999
1027
  className: "pointer-events-none absolute inset-0 flex items-center justify-center",
1000
1028
  children: /* @__PURE__ */ jsx(LoaderCircle, { className: cn("animate-spin", spinnerSizeClass) })
1001
- })] }) : children
1029
+ })] }) : label
1002
1030
  });
1003
1031
  });
1004
1032
  Button.displayName = "Button";
@@ -3436,14 +3464,60 @@ const AccordionContent = React.forwardRef(({ className, children, ...props }, re
3436
3464
  AccordionContent.displayName = Accordion$1.Content.displayName;
3437
3465
  //#endregion
3438
3466
  //#region src/components/table.tsx
3439
- const Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", {
3440
- className: "relative w-full overflow-auto",
3441
- children: /* @__PURE__ */ jsx("table", {
3442
- ref,
3443
- className: cn("w-full caption-bottom text-sm", className),
3444
- ...props
3445
- })
3446
- }));
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
+ });
3447
3521
  Table.displayName = "Table";
3448
3522
  const TableHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", {
3449
3523
  ref,
@@ -3459,25 +3533,27 @@ const TableBody = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
3459
3533
  TableBody.displayName = "TableBody";
3460
3534
  const TableFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tfoot", {
3461
3535
  ref,
3462
- 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),
3463
3537
  ...props
3464
3538
  }));
3465
3539
  TableFooter.displayName = "TableFooter";
3466
3540
  const TableRow = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tr", {
3467
3541
  ref,
3468
- 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),
3469
3543
  ...props
3470
3544
  }));
3471
3545
  TableRow.displayName = "TableRow";
3472
- const TableHead = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("th", {
3546
+ const TableHead = React.forwardRef(({ className, pin, ...props }, ref) => /* @__PURE__ */ jsx("th", {
3473
3547
  ref,
3474
- 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),
3475
3550
  ...props
3476
3551
  }));
3477
3552
  TableHead.displayName = "TableHead";
3478
- const TableCell = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("td", {
3553
+ const TableCell = React.forwardRef(({ className, pin, ...props }, ref) => /* @__PURE__ */ jsx("td", {
3479
3554
  ref,
3480
- 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),
3481
3557
  ...props
3482
3558
  }));
3483
3559
  TableCell.displayName = "TableCell";
@@ -3488,6 +3564,57 @@ const TableCaption = React.forwardRef(({ className, ...props }, ref) => /* @__PU
3488
3564
  }));
3489
3565
  TableCaption.displayName = "TableCaption";
3490
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
3491
3618
  //#region src/components/data-table.tsx
3492
3619
  const sizeClasses = {
3493
3620
  sm: {
@@ -3543,6 +3670,22 @@ function createSelectionColumn() {
3543
3670
  size: 40
3544
3671
  };
3545
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
+ }
3546
3689
  function useDensitySize() {
3547
3690
  const ref = React.useRef(null);
3548
3691
  const [size, setSize] = React.useState("md");
@@ -3563,7 +3706,7 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
3563
3706
  20,
3564
3707
  30,
3565
3708
  50
3566
- ], 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) {
3567
3710
  const isServerSide = totalRows !== void 0;
3568
3711
  const [internalSorting, setInternalSorting] = React.useState([]);
3569
3712
  const [internalFilters, setInternalFilters] = React.useState([]);
@@ -3590,9 +3733,15 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
3590
3733
  if (!enableRowSelection) return columns;
3591
3734
  return [createSelectionColumn(), ...columns];
3592
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;
3593
3741
  const table = useReactTable({
3594
3742
  data,
3595
3743
  columns: finalColumns,
3744
+ initialState: { columnPinning },
3596
3745
  state: {
3597
3746
  sorting,
3598
3747
  columnFilters,
@@ -3656,6 +3805,7 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
3656
3805
  table.getAllColumns().filter((col) => col.getCanHide()).map((col) => /* @__PURE__ */ jsx(DropdownMenuCheckboxItem, {
3657
3806
  className: "capitalize",
3658
3807
  checked: col.getIsVisible(),
3808
+ onSelect: (event) => event.preventDefault(),
3659
3809
  onCheckedChange: (value) => col.toggleVisibility(!!value),
3660
3810
  children: col.id
3661
3811
  }, col.id))
@@ -3665,21 +3815,48 @@ function DataTableInner({ columns, data, filterColumn, filterPlaceholder = "Filt
3665
3815
  }),
3666
3816
  /* @__PURE__ */ jsx("div", {
3667
3817
  className: "rounded-md border",
3668
- children: /* @__PURE__ */ jsxs(Table, { children: [/* @__PURE__ */ jsx(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx(TableRow, { children: headerGroup.headers.map((header) => /* @__PURE__ */ jsx(TableHead, {
3669
- className: sc.header,
3670
- style: { width: header.column.id === "_select" ? 40 : header.getSize() !== 150 ? header.getSize() : void 0 },
3671
- children: header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext())
3672
- }, header.id)) }, headerGroup.id)) }), /* @__PURE__ */ jsx(TableBody, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx(TableRow, {
3673
- "data-state": row.getIsSelected() && "selected",
3674
- children: row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx(TableCell, {
3675
- className: sc.cell,
3676
- children: flexRender(cell.column.columnDef.cell, cell.getContext())
3677
- }, cell.id))
3678
- }, row.id)) : /* @__PURE__ */ jsx(TableRow, { children: /* @__PURE__ */ jsx(TableCell, {
3679
- colSpan: finalColumns.length,
3680
- className: "h-24 text-center",
3681
- children: emptyMessage
3682
- }) }) })] })
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
+ })
3683
3860
  }),
3684
3861
  (pagination || enableRowSelection) && /* @__PURE__ */ jsxs("div", {
3685
3862
  className: "flex items-center justify-between px-2",
@@ -9104,6 +9281,6 @@ const ContrastStrip = React.forwardRef(({ checks, mode = "both", failingOnly = f
9104
9281
  });
9105
9282
  ContrastStrip.displayName = "ContrastStrip";
9106
9283
  //#endregion
9107
- 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 };
9108
9285
 
9109
9286
  //# sourceMappingURL=index.mjs.map