@bison-lab/ui 3.9.0 → 3.22.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.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
 
2
2
  import { ClassValue } from "clsx";
3
3
  import * as React$1 from "react";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
5
  import { BrandColors, ContrastCheck, DensityPreset, FontWeightMap, MotionPreset, RadiusPreset, ShadowPreset } from "@bison-lab/tokens";
5
6
  import { FontId } from "@bison-lab/fonts";
6
- import * as react_jsx_runtime0 from "react/jsx-runtime";
7
7
  import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1, unstable_PasswordToggleField } from "radix-ui";
8
8
  import { VariantProps } from "class-variance-authority";
9
9
  import { DateRange, DayPicker } from "react-day-picker";
@@ -30,6 +30,230 @@ declare const actionNegativeToneClasses = "border border-destructive-200/90 bg-d
30
30
  /** @deprecated Use `actionNeutralToneClasses` + `variant="actionNeutral"` on Button. */
31
31
  declare const actionNeutralIconChromeClasses = "border border-border bg-muted/80 text-muted-foreground shadow-sm hover:border-border-strong hover:bg-muted hover:text-foreground dark:border-border dark:bg-muted/50 dark:hover:bg-muted/80 dark:hover:text-foreground";
32
32
  //#endregion
33
+ //#region src/lib/render-link.d.ts
34
+ interface RenderLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
35
+ href: string;
36
+ children: React$1.ReactNode;
37
+ }
38
+ /**
39
+ * Renders one link. A block that emits anchors takes this so a consumer can
40
+ * hand every destination to a router — Next's `<Link>`, a TanStack `<Link>` —
41
+ * instead of the plain `<a>` used by default. `target` and `rel` arrive
42
+ * already set for a new-tab link; the renderer only has to spread them.
43
+ */
44
+ type RenderLink = (props: RenderLinkProps) => React$1.ReactNode;
45
+ /** The default: a plain anchor. */
46
+ declare const renderPlainLink: RenderLink;
47
+ /** `target` and `rel` together, or neither: a bare `target` is a tabnabbing hole. */
48
+ declare function newTabAttributes(newTab: boolean | undefined): Pick<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel">;
49
+ //#endregion
50
+ //#region src/blocks/layout/floating-nav-block.d.ts
51
+ /** The props `renderLink` receives. The same shape every block uses. */
52
+ type FloatingNavLinkProps = RenderLinkProps;
53
+ /**
54
+ * Renders one link. Supply it to hand every destination to a router — Next's
55
+ * `<Link>`, a TanStack `<Link>` — instead of the plain `<a>` used by default.
56
+ */
57
+ type FloatingNavRenderLink = RenderLink;
58
+ interface FloatingNavSubItem {
59
+ /** Link label shown in the panel. */
60
+ label: React$1.ReactNode;
61
+ /** Destination. Doubles as the React key, so keep it unique per panel. */
62
+ href: string;
63
+ /** Supporting line under the label. */
64
+ description?: React$1.ReactNode;
65
+ /** Leading glyph. Any node — the library never picks an icon for you here. */
66
+ icon?: React$1.ReactNode;
67
+ }
68
+ interface FloatingNavItem {
69
+ /** Label on the bar. Doubles as the React key, so keep it unique. */
70
+ label: string;
71
+ /** Destination for a plain link. Ignored when the item opens a panel. */
72
+ href?: string;
73
+ /** Sub-items. Their presence turns the item into a mega-menu trigger. */
74
+ items?: FloatingNavSubItem[];
75
+ /** A whole custom panel. Takes precedence over `items`. */
76
+ content?: React$1.ReactNode;
77
+ /** Columns in the default `items` panel (default: 2). */
78
+ columns?: 1 | 2 | 3;
79
+ /** Marks the current page — sets `aria-current` on a link. */
80
+ active?: boolean;
81
+ }
82
+ interface FloatingNavBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "content"> {
83
+ /** Brand mark, rendered verbatim at the start of the bar. */
84
+ logo?: React$1.ReactNode;
85
+ /** The bar's navigation items. */
86
+ items?: FloatingNavItem[];
87
+ /** Trailing slot for calls to action, a theme toggle, an avatar. */
88
+ actions?: React$1.ReactNode;
89
+ /** Render every link through a router component instead of a plain `<a>`. */
90
+ renderLink?: FloatingNavRenderLink;
91
+ /**
92
+ * Holds the named item's panel open, by its `label`, with no hover or click.
93
+ * A CMS live preview uses it to show the panel being edited; nothing else
94
+ * should, because a panel that will not close is a broken menu.
95
+ */
96
+ openItem?: string;
97
+ /** Slide the bar away when the page scrolls down (default: `true`). */
98
+ hideOnScroll?: boolean;
99
+ /** Pixels scrolled before hiding may start (default: 80). */
100
+ scrollThreshold?: number;
101
+ /**
102
+ * `false` (default) anchors each mega-menu panel under its own trigger.
103
+ * `true` uses the shared, animated viewport centered under the bar.
104
+ */
105
+ viewport?: boolean;
106
+ /**
107
+ * Where the bar swaps its desktop links for the drawer button (default:
108
+ * `"md"`). A bar carrying `MegaMenuPanel` content must say `"lg"`: the
109
+ * panel flattens below `lg`, and between the two breakpoints a desktop
110
+ * dropdown would open onto the flat mobile list.
111
+ */
112
+ breakpoint?: "md" | "lg";
113
+ /** Accessible name for the `<nav>` (default: `"Main"`). */
114
+ navLabel?: string;
115
+ /** Accessible name for the mobile menu button (default: `"Toggle menu"`). */
116
+ mobileMenuLabel?: string;
117
+ /** Classes for the width-constraining container. */
118
+ containerClassName?: string;
119
+ /** Classes for the bar surface — background, border, radius, blur. */
120
+ navClassName?: string;
121
+ }
122
+ declare const FloatingNavBlock: React$1.ForwardRefExoticComponent<FloatingNavBlockProps & React$1.RefAttributes<HTMLElement>>;
123
+ //#endregion
124
+ //#region src/blocks/layout/mega-menu-panel.d.ts
125
+ /** A column's share of the row. 33 and 66 are real thirds, so 33+33+33 fills it. */
126
+ type MegaMenuWidth = 25 | 33 | 50 | 66 | 75 | 100;
127
+ /**
128
+ * The caps a panel can take: 22rem, 42rem, 48rem. There is no "full": a panel
129
+ * anchors under its own trigger, so it cannot span the bar, and capped at the
130
+ * room a trigger has it would only equal `wide`.
131
+ */
132
+ type MegaMenuMaxWidth = "narrow" | "standard" | "wide";
133
+ interface MegaMenuLink {
134
+ label: string;
135
+ href: string;
136
+ /** Supporting line under the label. */
137
+ description?: string;
138
+ /** Key into `variants`; only a featured link reads it. */
139
+ variant?: string;
140
+ /** Key into `icons`; only a list link reads it. */
141
+ icon?: string;
142
+ newTab?: boolean;
143
+ }
144
+ interface MegaMenuSection {
145
+ /** Small heading above the group. The eyebrow belongs to the section, never to a link. */
146
+ eyebrow?: string;
147
+ /** `featured` gives each link a chip and a larger title; `list` (default) is a plain rail. */
148
+ display?: "featured" | "list";
149
+ /** Below `lg` the panel flattens; descriptions are dropped unless this is `false`. */
150
+ hideDescriptionsOnMobile?: boolean;
151
+ links: MegaMenuLink[];
152
+ }
153
+ interface MegaMenuColumn {
154
+ /** Percent token. Defaults to 100. */
155
+ width?: MegaMenuWidth;
156
+ /** Draw a line on the left of this column. */
157
+ divider?: boolean;
158
+ sections: MegaMenuSection[];
159
+ }
160
+ interface MegaMenuFooterLink {
161
+ label: string;
162
+ href: string;
163
+ newTab?: boolean;
164
+ }
165
+ interface MegaMenuFooter {
166
+ /** The section's own landing page. A trigger is a button, so without this it is unreachable from the bar. */
167
+ overview?: MegaMenuFooterLink;
168
+ /** The call to action, on the `Button` primitive. */
169
+ cta?: MegaMenuFooterLink;
170
+ }
171
+ interface MegaMenuPanelData {
172
+ /** A token. Defaults to `standard`. */
173
+ maxWidth?: MegaMenuMaxWidth;
174
+ columns: MegaMenuColumn[];
175
+ /** No strip renders when both links are absent. */
176
+ footer?: MegaMenuFooter;
177
+ }
178
+ interface MegaMenuItem {
179
+ /** Label on the bar. Doubles as the React key, so keep it unique. */
180
+ label: string;
181
+ /** The landing page. Optional: a trigger with no landing page is allowed. */
182
+ href?: string;
183
+ /** Its presence turns the item into a mega-menu trigger. */
184
+ panel?: MegaMenuPanelData;
185
+ }
186
+ interface MegaMenu {
187
+ items: MegaMenuItem[];
188
+ }
189
+ /** How a featured link is dressed. The consuming site decides what "featured" looks like. */
190
+ interface MegaMenuVariant {
191
+ /** Classes for the box around the icon. */
192
+ chip?: string;
193
+ /** Classes added to the title, typically a `group-hover:` colour. */
194
+ title?: string;
195
+ icon?: React$1.ReactNode;
196
+ }
197
+ type MegaMenuVariants = Record<string, MegaMenuVariant>;
198
+ type MegaMenuIcons = Record<string, React$1.ReactNode>;
199
+ interface MegaMenuPanelProps extends MegaMenuPanelData, Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
200
+ variants?: MegaMenuVariants;
201
+ icons?: MegaMenuIcons;
202
+ /** Render every link through a router component instead of a plain `<a>`. */
203
+ renderLink?: RenderLink;
204
+ }
205
+ declare function megaMenuGridColumns(columns: MegaMenuColumn[]): string;
206
+ declare const MegaMenuPanel: React$1.ForwardRefExoticComponent<MegaMenuPanelProps & React$1.RefAttributes<HTMLDivElement>>;
207
+ interface MegaMenuToFloatingNavOptions {
208
+ /** Marks the current section; receives each item's `href`. */
209
+ isActive?: (href: string) => boolean;
210
+ variants?: MegaMenuVariants;
211
+ icons?: MegaMenuIcons;
212
+ /**
213
+ * The bar's own `renderLink` does not reach into a `content` node, so the
214
+ * same function is passed here and the panel applies it to its links.
215
+ */
216
+ renderLink?: RenderLink;
217
+ }
218
+ /**
219
+ * A whole menu as `FloatingNavBlock` items, so a site with a code-owned menu
220
+ * passes one config and nothing else — plus `breakpoint="lg"` on the bar,
221
+ * because the panels flatten below `lg` and the bar must switch there too.
222
+ */
223
+ declare function megaMenuToFloatingNavItems(menu: MegaMenu, {
224
+ isActive,
225
+ variants,
226
+ icons,
227
+ renderLink
228
+ }?: MegaMenuToFloatingNavOptions): FloatingNavItem[];
229
+ //#endregion
230
+ //#region src/lib/chrome-look.d.ts
231
+ /**
232
+ * Static classes that read `--look-*`. Tailwind scans this file; the
233
+ * values themselves are bound by `[data-look]` CSS from themeHead, so a
234
+ * custom family does not need a preset color.
235
+ */
236
+ declare const CHROME_LOOK_CLASSES: {
237
+ readonly chip: "bg-[hsl(var(--look-tint))] text-[hsl(var(--look-ink))] dark:bg-[hsl(var(--look-tint-dark))] dark:text-[hsl(var(--look-ink-dark))]";
238
+ readonly title: "group-hover:text-[hsl(var(--look-ink))] dark:group-hover:text-[hsl(var(--look-ink-dark))]";
239
+ readonly ink: "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]";
240
+ readonly eyebrow: "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]";
241
+ readonly fill: "fill-[hsl(var(--look-ink))] stroke-[hsl(var(--look-ink))] dark:fill-[hsl(var(--look-ink-dark))] dark:stroke-[hsl(var(--look-ink-dark))]";
242
+ };
243
+ type ChromeLookClasses = typeof CHROME_LOOK_CLASSES;
244
+ /**
245
+ * Featured-link variants from look keys. Icons stay the site's; chip and
246
+ * title come from the library recipe. `megaMenuVariantsFromTones` is the
247
+ * same function — the original ticket name.
248
+ */
249
+ declare function megaMenuVariantsFromLooks(looks: readonly string[], icons?: Record<string, React$1.ReactNode>): MegaMenuVariants;
250
+ declare const megaMenuVariantsFromTones: typeof megaMenuVariantsFromLooks;
251
+ interface LookSurfaceProps extends React$1.HTMLAttributes<HTMLDivElement> {
252
+ look: string;
253
+ }
254
+ /** Sets `data-look` so theme CSS can bind the four-stop recipe. */
255
+ declare const LookSurface: React$1.ForwardRefExoticComponent<LookSurfaceProps & React$1.RefAttributes<HTMLDivElement>>;
256
+ //#endregion
33
257
  //#region src/hooks/use-scroll-reveal.d.ts
34
258
  interface UseScrollRevealOptions {
35
259
  /** Trigger only once (default: true) */
@@ -1441,11 +1665,11 @@ declare const PaginationEllipsis: {
1441
1665
  //#region src/components/command.d.ts
1442
1666
  declare const Command: React$1.ForwardRefExoticComponent<Omit<{
1443
1667
  children?: React$1.ReactNode;
1444
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1668
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1445
1669
  ref?: React$1.Ref<HTMLDivElement>;
1446
1670
  } & {
1447
1671
  asChild?: boolean;
1448
- }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
1672
+ }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1449
1673
  label?: string;
1450
1674
  shouldFilter?: boolean;
1451
1675
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -1465,51 +1689,51 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
1465
1689
  ref?: React$1.Ref<HTMLInputElement>;
1466
1690
  } & {
1467
1691
  asChild?: boolean;
1468
- }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
1692
+ }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
1469
1693
  value?: string;
1470
1694
  onValueChange?: (search: string) => void;
1471
1695
  } & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
1472
1696
  declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
1473
1697
  children?: React$1.ReactNode;
1474
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1698
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1475
1699
  ref?: React$1.Ref<HTMLDivElement>;
1476
1700
  } & {
1477
1701
  asChild?: boolean;
1478
- }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
1702
+ }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1479
1703
  label?: string;
1480
1704
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1481
1705
  declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
1482
1706
  children?: React$1.ReactNode;
1483
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1707
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1484
1708
  ref?: React$1.Ref<HTMLDivElement>;
1485
1709
  } & {
1486
1710
  asChild?: boolean;
1487
- }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1711
+ }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1488
1712
  declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
1489
1713
  children?: React$1.ReactNode;
1490
- } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1714
+ } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1491
1715
  ref?: React$1.Ref<HTMLDivElement>;
1492
1716
  } & {
1493
1717
  asChild?: boolean;
1494
- }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key">, "value" | "heading"> & {
1718
+ }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
1495
1719
  heading?: React$1.ReactNode;
1496
1720
  value?: string;
1497
1721
  forceMount?: boolean;
1498
1722
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1499
- declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1723
+ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1500
1724
  ref?: React$1.Ref<HTMLDivElement>;
1501
1725
  } & {
1502
1726
  asChild?: boolean;
1503
- }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
1727
+ }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1504
1728
  alwaysRender?: boolean;
1505
1729
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1506
1730
  declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
1507
1731
  children?: React$1.ReactNode;
1508
- } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1732
+ } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1509
1733
  ref?: React$1.Ref<HTMLDivElement>;
1510
1734
  } & {
1511
1735
  asChild?: boolean;
1512
- }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key">, "onSelect" | "value" | "disabled"> & {
1736
+ }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
1513
1737
  disabled?: boolean;
1514
1738
  onSelect?: (value: string) => void;
1515
1739
  value?: string;
@@ -1658,7 +1882,7 @@ declare function SidebarMenuItem({
1658
1882
  }: React$1.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
1659
1883
  declare const sidebarMenuButtonVariants: (props?: ({
1660
1884
  variant?: "default" | "outline" | null | undefined;
1661
- size?: "sm" | "lg" | "default" | null | undefined;
1885
+ size?: "default" | "sm" | "lg" | null | undefined;
1662
1886
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
1663
1887
  declare function SidebarMenuButton({
1664
1888
  asChild,
@@ -1999,205 +2223,6 @@ declare function HeaderBlock({
1999
2223
  className
2000
2224
  }: HeaderBlockProps): react_jsx_runtime0.JSX.Element;
2001
2225
  //#endregion
2002
- //#region src/lib/render-link.d.ts
2003
- interface RenderLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
2004
- href: string;
2005
- children: React$1.ReactNode;
2006
- }
2007
- /**
2008
- * Renders one link. A block that emits anchors takes this so a consumer can
2009
- * hand every destination to a router — Next's `<Link>`, a TanStack `<Link>` —
2010
- * instead of the plain `<a>` used by default. `target` and `rel` arrive
2011
- * already set for a new-tab link; the renderer only has to spread them.
2012
- */
2013
- type RenderLink = (props: RenderLinkProps) => React$1.ReactNode;
2014
- /** The default: a plain anchor. */
2015
- declare const renderPlainLink: RenderLink;
2016
- /** `target` and `rel` together, or neither: a bare `target` is a tabnabbing hole. */
2017
- declare function newTabAttributes(newTab: boolean | undefined): Pick<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel">;
2018
- //#endregion
2019
- //#region src/blocks/layout/floating-nav-block.d.ts
2020
- /** The props `renderLink` receives. The same shape every block uses. */
2021
- type FloatingNavLinkProps = RenderLinkProps;
2022
- /**
2023
- * Renders one link. Supply it to hand every destination to a router — Next's
2024
- * `<Link>`, a TanStack `<Link>` — instead of the plain `<a>` used by default.
2025
- */
2026
- type FloatingNavRenderLink = RenderLink;
2027
- interface FloatingNavSubItem {
2028
- /** Link label shown in the panel. */
2029
- label: React$1.ReactNode;
2030
- /** Destination. Doubles as the React key, so keep it unique per panel. */
2031
- href: string;
2032
- /** Supporting line under the label. */
2033
- description?: React$1.ReactNode;
2034
- /** Leading glyph. Any node — the library never picks an icon for you here. */
2035
- icon?: React$1.ReactNode;
2036
- }
2037
- interface FloatingNavItem {
2038
- /** Label on the bar. Doubles as the React key, so keep it unique. */
2039
- label: string;
2040
- /** Destination for a plain link. Ignored when the item opens a panel. */
2041
- href?: string;
2042
- /** Sub-items. Their presence turns the item into a mega-menu trigger. */
2043
- items?: FloatingNavSubItem[];
2044
- /** A whole custom panel. Takes precedence over `items`. */
2045
- content?: React$1.ReactNode;
2046
- /** Columns in the default `items` panel (default: 2). */
2047
- columns?: 1 | 2 | 3;
2048
- /** Marks the current page — sets `aria-current` on a link. */
2049
- active?: boolean;
2050
- }
2051
- interface FloatingNavBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "content"> {
2052
- /** Brand mark, rendered verbatim at the start of the bar. */
2053
- logo?: React$1.ReactNode;
2054
- /** The bar's navigation items. */
2055
- items?: FloatingNavItem[];
2056
- /** Trailing slot for calls to action, a theme toggle, an avatar. */
2057
- actions?: React$1.ReactNode;
2058
- /** Render every link through a router component instead of a plain `<a>`. */
2059
- renderLink?: FloatingNavRenderLink;
2060
- /**
2061
- * Holds the named item's panel open, by its `label`, with no hover or click.
2062
- * A CMS live preview uses it to show the panel being edited; nothing else
2063
- * should, because a panel that will not close is a broken menu.
2064
- */
2065
- openItem?: string;
2066
- /** Slide the bar away when the page scrolls down (default: `true`). */
2067
- hideOnScroll?: boolean;
2068
- /** Pixels scrolled before hiding may start (default: 80). */
2069
- scrollThreshold?: number;
2070
- /**
2071
- * `false` (default) anchors each mega-menu panel under its own trigger.
2072
- * `true` uses the shared, animated viewport centered under the bar.
2073
- */
2074
- viewport?: boolean;
2075
- /**
2076
- * Where the bar swaps its desktop links for the drawer button (default:
2077
- * `"md"`). A bar carrying `MegaMenuPanel` content must say `"lg"`: the
2078
- * panel flattens below `lg`, and between the two breakpoints a desktop
2079
- * dropdown would open onto the flat mobile list.
2080
- */
2081
- breakpoint?: "md" | "lg";
2082
- /** Accessible name for the `<nav>` (default: `"Main"`). */
2083
- navLabel?: string;
2084
- /** Accessible name for the mobile menu button (default: `"Toggle menu"`). */
2085
- mobileMenuLabel?: string;
2086
- /** Classes for the width-constraining container. */
2087
- containerClassName?: string;
2088
- /** Classes for the bar surface — background, border, radius, blur. */
2089
- navClassName?: string;
2090
- }
2091
- declare const FloatingNavBlock: React$1.ForwardRefExoticComponent<FloatingNavBlockProps & React$1.RefAttributes<HTMLElement>>;
2092
- //#endregion
2093
- //#region src/blocks/layout/mega-menu-panel.d.ts
2094
- /** A column's share of the row. 33 and 66 are real thirds, so 33+33+33 fills it. */
2095
- type MegaMenuWidth = 25 | 33 | 50 | 66 | 75 | 100;
2096
- /**
2097
- * The caps a panel can take: 22rem, 42rem, 48rem. There is no "full": a panel
2098
- * anchors under its own trigger, so it cannot span the bar, and capped at the
2099
- * room a trigger has it would only equal `wide`.
2100
- */
2101
- type MegaMenuMaxWidth = "narrow" | "standard" | "wide";
2102
- interface MegaMenuLink {
2103
- label: string;
2104
- href: string;
2105
- /** Supporting line under the label. */
2106
- description?: string;
2107
- /** Key into `variants`; only a featured link reads it. */
2108
- variant?: string;
2109
- /** Key into `icons`; only a list link reads it. */
2110
- icon?: string;
2111
- newTab?: boolean;
2112
- }
2113
- interface MegaMenuSection {
2114
- /** Small heading above the group. The eyebrow belongs to the section, never to a link. */
2115
- eyebrow?: string;
2116
- /** `featured` gives each link a chip and a larger title; `list` (default) is a plain rail. */
2117
- display?: "featured" | "list";
2118
- /** Below `lg` the panel flattens; descriptions are dropped unless this is `false`. */
2119
- hideDescriptionsOnMobile?: boolean;
2120
- links: MegaMenuLink[];
2121
- }
2122
- interface MegaMenuColumn {
2123
- /** Percent token. Ignored when `customWidth` is set. Defaults to 100. */
2124
- width?: MegaMenuWidth;
2125
- /** A CSS track size used verbatim: `13rem`, `1fr`, `minmax(0, 1fr)`. */
2126
- customWidth?: string;
2127
- /** Draw a line on the left of this column. */
2128
- divider?: boolean;
2129
- sections: MegaMenuSection[];
2130
- }
2131
- interface MegaMenuFooterLink {
2132
- label: string;
2133
- href: string;
2134
- newTab?: boolean;
2135
- }
2136
- interface MegaMenuFooter {
2137
- /** The section's own landing page. A trigger is a button, so without this it is unreachable from the bar. */
2138
- overview?: MegaMenuFooterLink;
2139
- /** The call to action, on the `Button` primitive. */
2140
- cta?: MegaMenuFooterLink;
2141
- }
2142
- interface MegaMenuPanelData {
2143
- /** A token, or a custom rem width such as `"30rem"`. Defaults to `standard`. */
2144
- maxWidth?: MegaMenuMaxWidth | `${number}rem`;
2145
- columns: MegaMenuColumn[];
2146
- /** No strip renders when both links are absent. */
2147
- footer?: MegaMenuFooter;
2148
- }
2149
- interface MegaMenuItem {
2150
- /** Label on the bar. Doubles as the React key, so keep it unique. */
2151
- label: string;
2152
- /** The landing page. Optional: a trigger with no landing page is allowed. */
2153
- href?: string;
2154
- /** Its presence turns the item into a mega-menu trigger. */
2155
- panel?: MegaMenuPanelData;
2156
- }
2157
- interface MegaMenu {
2158
- items: MegaMenuItem[];
2159
- }
2160
- /** How a featured link is dressed. The consuming site decides what "featured" looks like. */
2161
- interface MegaMenuVariant {
2162
- /** Classes for the box around the icon. */
2163
- chip?: string;
2164
- /** Classes added to the title, typically a `group-hover:` colour. */
2165
- title?: string;
2166
- icon?: React$1.ReactNode;
2167
- }
2168
- type MegaMenuVariants = Record<string, MegaMenuVariant>;
2169
- type MegaMenuIcons = Record<string, React$1.ReactNode>;
2170
- interface MegaMenuPanelProps extends MegaMenuPanelData, Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
2171
- variants?: MegaMenuVariants;
2172
- icons?: MegaMenuIcons;
2173
- /** Render every link through a router component instead of a plain `<a>`. */
2174
- renderLink?: RenderLink;
2175
- }
2176
- declare function megaMenuGridColumns(columns: MegaMenuColumn[]): string;
2177
- declare const MegaMenuPanel: React$1.ForwardRefExoticComponent<MegaMenuPanelProps & React$1.RefAttributes<HTMLDivElement>>;
2178
- interface MegaMenuToFloatingNavOptions {
2179
- /** Marks the current section; receives each item's `href`. */
2180
- isActive?: (href: string) => boolean;
2181
- variants?: MegaMenuVariants;
2182
- icons?: MegaMenuIcons;
2183
- /**
2184
- * The bar's own `renderLink` does not reach into a `content` node, so the
2185
- * same function is passed here and the panel applies it to its links.
2186
- */
2187
- renderLink?: RenderLink;
2188
- }
2189
- /**
2190
- * A whole menu as `FloatingNavBlock` items, so a site with a code-owned menu
2191
- * passes one config and nothing else — plus `breakpoint="lg"` on the bar,
2192
- * because the panels flatten below `lg` and the bar must switch there too.
2193
- */
2194
- declare function megaMenuToFloatingNavItems(menu: MegaMenu, {
2195
- isActive,
2196
- variants,
2197
- icons,
2198
- renderLink
2199
- }?: MegaMenuToFloatingNavOptions): FloatingNavItem[];
2200
- //#endregion
2201
2226
  //#region src/blocks/layout/sidebar-block.d.ts
2202
2227
  interface SidebarItem {
2203
2228
  label: string;
@@ -3359,5 +3384,5 @@ interface ContrastStripProps extends React$1.HTMLAttributes<HTMLDivElement> {
3359
3384
  */
3360
3385
  declare const ContrastStrip: React$1.ForwardRefExoticComponent<ContrastStripProps & React$1.RefAttributes<HTMLDivElement>>;
3361
3386
  //#endregion
3362
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AppSidebarBlock, type AppSidebarBlockProps, type SidebarUser as AppSidebarUser, AspectRatio, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeProps, type BisonFont, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselNavProps, CarouselNext, CarouselPrevious, type CarouselProps, Checkbox, CodeInput, type CodeInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, 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, type ContrastStripMode, type ContrastStripProps, CurrencyInput, type CurrencyInputProps, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, 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, type EditableTitleProps, EmptyStateBlock, type EmptyStateBlockProps, type FAQCallToAction, FAQColumnsBlock, type FAQColumnsBlockProps, type FAQItem, type FieldContextValue, type FieldControlProps, type FieldGroupProps, FieldGroupScope, FieldProvider, FloatingNavBlock, type FloatingNavBlockProps, type FloatingNavItem, type FloatingNavLinkProps, type FloatingNavRenderLink, type FloatingNavSubItem, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, type FormData_, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, type GoogleFontConfig, HeaderBlock, type HeaderBlockProps, Input, InputGroup, type InputGroupProps, type InputProps, JsonLd, type JsonLdProps, Kbd, type KbdProps, Label, type LocalBusinessDepartmentJsonLd, type LocalBusinessJsonLd, MaintenanceBlock, MediaCard, type MediaCardMeta, type MediaCardProps, type MegaMenu, type MegaMenuColumn, type MegaMenuFooter, type MegaMenuFooterLink, type MegaMenuIcons, type MegaMenuItem, type MegaMenuLink, type MegaMenuMaxWidth, MegaMenuPanel, type MegaMenuPanelData, type MegaMenuPanelProps, type MegaMenuSection, type MegaMenuToFloatingNavOptions, type MegaMenuVariant, type MegaMenuVariants, type MegaMenuWidth, type NapAddress, NapBlock, type NapBlockProps, type NapDepartment, type NapPhone, type NapRecord, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, OutlinedField, type OutlinedFieldProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverContent, PopoverTrigger, type PostalAddressJsonLd, type ProcessStepItem, ProcessStepsBlock, type ProcessStepsBlockProps, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarFormat, type ProgressBarProps, RadioGroup, RadioGroupItem, Rating, type RatingDistributionItem, type RatingProps, type RenderLink, type RenderLinkProps, ResetPasswordBlock, type ResourceAuthor, type ResourceCategoryStyle, type ResourceItem, ResourcesBlock, type ResourcesBlockProps, type ReviewItem, ReviewsBlock, type ReviewsBlockProps, RotatingBadge, type RotatingBadgeProps, SavedPing, type SavedPingProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type ShowcasePanelItem, ShowcasePanelsBlock, type ShowcasePanelsBlockProps, type ShowcasePanelsLabels, type ShowcaseSpineVariant, Sidebar, SidebarBlock, type SidebarBlockProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarItem, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarNavGroup, type SidebarNavItem, type SidebarNavSubItem, SidebarProvider, SidebarRail, type SidebarSection, SidebarSeparator, type SidebarTeam, SidebarTrigger, type SidebarUserMenuItem, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, type SocialFeedBlockProps, type SocialFeedTileSize, type SocialPlatform, type SocialPostItem, type SocialProvider, SocialProviders, Spinner, type SpinnerProps, type StatItem, StatsBandBlock, type StatsBandBlockProps, type StatsBandColumns, Stepper, StepperDescription, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperLabel, type StepperOrientation, type StepperProps, StepperSeparator, type StepperState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, type TestimonialCarouselProps, type TestimonialItem, TestimonialMasonry, type TestimonialMasonryLink, type TestimonialMasonryProps, TextContent, type TextContentProps, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeProvider, ThemeScope, type ThemeScopeProps, ThemeShowcase, type ThemeShowcaseProps, type ThemeShowcaseSection, TimePicker, type TimePickerProps, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, type UseHideOnScrollOptions, type UseScrollRevealOptions, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, 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 };
3387
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AppSidebarBlock, type AppSidebarBlockProps, type SidebarUser as AppSidebarUser, AspectRatio, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeProps, type BisonFont, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHROME_LOOK_CLASSES, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselNavProps, CarouselNext, CarouselPrevious, type CarouselProps, Checkbox, type ChromeLookClasses, CodeInput, type CodeInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, 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, type ContrastStripMode, type ContrastStripProps, CurrencyInput, type CurrencyInputProps, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, 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, type EditableTitleProps, EmptyStateBlock, type EmptyStateBlockProps, type FAQCallToAction, FAQColumnsBlock, type FAQColumnsBlockProps, type FAQItem, type FieldContextValue, type FieldControlProps, type FieldGroupProps, FieldGroupScope, FieldProvider, FloatingNavBlock, type FloatingNavBlockProps, type FloatingNavItem, type FloatingNavLinkProps, type FloatingNavRenderLink, type FloatingNavSubItem, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, type FormData_, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, type GoogleFontConfig, HeaderBlock, type HeaderBlockProps, Input, InputGroup, type InputGroupProps, type InputProps, JsonLd, type JsonLdProps, Kbd, type KbdProps, Label, type LocalBusinessDepartmentJsonLd, type LocalBusinessJsonLd, LookSurface, type LookSurfaceProps, MaintenanceBlock, MediaCard, type MediaCardMeta, type MediaCardProps, type MegaMenu, type MegaMenuColumn, type MegaMenuFooter, type MegaMenuFooterLink, type MegaMenuIcons, type MegaMenuItem, type MegaMenuLink, type MegaMenuMaxWidth, MegaMenuPanel, type MegaMenuPanelData, type MegaMenuPanelProps, type MegaMenuSection, type MegaMenuToFloatingNavOptions, type MegaMenuVariant, type MegaMenuVariants, type MegaMenuWidth, type NapAddress, NapBlock, type NapBlockProps, type NapDepartment, type NapPhone, type NapRecord, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, OutlinedField, type OutlinedFieldProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverContent, PopoverTrigger, type PostalAddressJsonLd, type ProcessStepItem, ProcessStepsBlock, type ProcessStepsBlockProps, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarFormat, type ProgressBarProps, RadioGroup, RadioGroupItem, Rating, type RatingDistributionItem, type RatingProps, type RenderLink, type RenderLinkProps, ResetPasswordBlock, type ResourceAuthor, type ResourceCategoryStyle, type ResourceItem, ResourcesBlock, type ResourcesBlockProps, type ReviewItem, ReviewsBlock, type ReviewsBlockProps, RotatingBadge, type RotatingBadgeProps, SavedPing, type SavedPingProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type ShowcasePanelItem, ShowcasePanelsBlock, type ShowcasePanelsBlockProps, type ShowcasePanelsLabels, type ShowcaseSpineVariant, Sidebar, SidebarBlock, type SidebarBlockProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarItem, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarNavGroup, type SidebarNavItem, type SidebarNavSubItem, SidebarProvider, SidebarRail, type SidebarSection, SidebarSeparator, type SidebarTeam, SidebarTrigger, type SidebarUserMenuItem, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, type SocialFeedBlockProps, type SocialFeedTileSize, type SocialPlatform, type SocialPostItem, type SocialProvider, SocialProviders, Spinner, type SpinnerProps, type StatItem, StatsBandBlock, type StatsBandBlockProps, type StatsBandColumns, Stepper, StepperDescription, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperLabel, type StepperOrientation, type StepperProps, StepperSeparator, type StepperState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, type TestimonialCarouselProps, type TestimonialItem, TestimonialMasonry, type TestimonialMasonryLink, type TestimonialMasonryProps, TextContent, type TextContentProps, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeProvider, ThemeScope, type ThemeScopeProps, ThemeShowcase, type ThemeShowcaseProps, type ThemeShowcaseSection, TimePicker, type TimePickerProps, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, type UseHideOnScrollOptions, type UseScrollRevealOptions, 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 };
3363
3388
  //# sourceMappingURL=index.d.mts.map