@bison-lab/ui 3.9.0 → 3.11.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 +228 -201
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +45 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
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,232 @@ 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. Ignored when `customWidth` is set. Defaults to 100. */
|
|
155
|
+
width?: MegaMenuWidth;
|
|
156
|
+
/** A CSS track size used verbatim: `13rem`, `1fr`, `minmax(0, 1fr)`. */
|
|
157
|
+
customWidth?: string;
|
|
158
|
+
/** Draw a line on the left of this column. */
|
|
159
|
+
divider?: boolean;
|
|
160
|
+
sections: MegaMenuSection[];
|
|
161
|
+
}
|
|
162
|
+
interface MegaMenuFooterLink {
|
|
163
|
+
label: string;
|
|
164
|
+
href: string;
|
|
165
|
+
newTab?: boolean;
|
|
166
|
+
}
|
|
167
|
+
interface MegaMenuFooter {
|
|
168
|
+
/** The section's own landing page. A trigger is a button, so without this it is unreachable from the bar. */
|
|
169
|
+
overview?: MegaMenuFooterLink;
|
|
170
|
+
/** The call to action, on the `Button` primitive. */
|
|
171
|
+
cta?: MegaMenuFooterLink;
|
|
172
|
+
}
|
|
173
|
+
interface MegaMenuPanelData {
|
|
174
|
+
/** A token, or a custom rem width such as `"30rem"`. Defaults to `standard`. */
|
|
175
|
+
maxWidth?: MegaMenuMaxWidth | `${number}rem`;
|
|
176
|
+
columns: MegaMenuColumn[];
|
|
177
|
+
/** No strip renders when both links are absent. */
|
|
178
|
+
footer?: MegaMenuFooter;
|
|
179
|
+
}
|
|
180
|
+
interface MegaMenuItem {
|
|
181
|
+
/** Label on the bar. Doubles as the React key, so keep it unique. */
|
|
182
|
+
label: string;
|
|
183
|
+
/** The landing page. Optional: a trigger with no landing page is allowed. */
|
|
184
|
+
href?: string;
|
|
185
|
+
/** Its presence turns the item into a mega-menu trigger. */
|
|
186
|
+
panel?: MegaMenuPanelData;
|
|
187
|
+
}
|
|
188
|
+
interface MegaMenu {
|
|
189
|
+
items: MegaMenuItem[];
|
|
190
|
+
}
|
|
191
|
+
/** How a featured link is dressed. The consuming site decides what "featured" looks like. */
|
|
192
|
+
interface MegaMenuVariant {
|
|
193
|
+
/** Classes for the box around the icon. */
|
|
194
|
+
chip?: string;
|
|
195
|
+
/** Classes added to the title, typically a `group-hover:` colour. */
|
|
196
|
+
title?: string;
|
|
197
|
+
icon?: React$1.ReactNode;
|
|
198
|
+
}
|
|
199
|
+
type MegaMenuVariants = Record<string, MegaMenuVariant>;
|
|
200
|
+
type MegaMenuIcons = Record<string, React$1.ReactNode>;
|
|
201
|
+
interface MegaMenuPanelProps extends MegaMenuPanelData, Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
202
|
+
variants?: MegaMenuVariants;
|
|
203
|
+
icons?: MegaMenuIcons;
|
|
204
|
+
/** Render every link through a router component instead of a plain `<a>`. */
|
|
205
|
+
renderLink?: RenderLink;
|
|
206
|
+
}
|
|
207
|
+
declare function megaMenuGridColumns(columns: MegaMenuColumn[]): string;
|
|
208
|
+
declare const MegaMenuPanel: React$1.ForwardRefExoticComponent<MegaMenuPanelProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
209
|
+
interface MegaMenuToFloatingNavOptions {
|
|
210
|
+
/** Marks the current section; receives each item's `href`. */
|
|
211
|
+
isActive?: (href: string) => boolean;
|
|
212
|
+
variants?: MegaMenuVariants;
|
|
213
|
+
icons?: MegaMenuIcons;
|
|
214
|
+
/**
|
|
215
|
+
* The bar's own `renderLink` does not reach into a `content` node, so the
|
|
216
|
+
* same function is passed here and the panel applies it to its links.
|
|
217
|
+
*/
|
|
218
|
+
renderLink?: RenderLink;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* A whole menu as `FloatingNavBlock` items, so a site with a code-owned menu
|
|
222
|
+
* passes one config and nothing else — plus `breakpoint="lg"` on the bar,
|
|
223
|
+
* because the panels flatten below `lg` and the bar must switch there too.
|
|
224
|
+
*/
|
|
225
|
+
declare function megaMenuToFloatingNavItems(menu: MegaMenu, {
|
|
226
|
+
isActive,
|
|
227
|
+
variants,
|
|
228
|
+
icons,
|
|
229
|
+
renderLink
|
|
230
|
+
}?: MegaMenuToFloatingNavOptions): FloatingNavItem[];
|
|
231
|
+
//#endregion
|
|
232
|
+
//#region src/lib/chrome-look.d.ts
|
|
233
|
+
/**
|
|
234
|
+
* Static classes that read `--look-*`. Tailwind scans this file; the
|
|
235
|
+
* values themselves are bound by `[data-look]` CSS from themeHead, so a
|
|
236
|
+
* custom family does not need a preset color.
|
|
237
|
+
*/
|
|
238
|
+
declare const CHROME_LOOK_CLASSES: {
|
|
239
|
+
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))]";
|
|
240
|
+
readonly title: "group-hover:text-[hsl(var(--look-ink))] dark:group-hover:text-[hsl(var(--look-ink-dark))]";
|
|
241
|
+
readonly ink: "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]";
|
|
242
|
+
readonly eyebrow: "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]";
|
|
243
|
+
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))]";
|
|
244
|
+
};
|
|
245
|
+
type ChromeLookClasses = typeof CHROME_LOOK_CLASSES;
|
|
246
|
+
/**
|
|
247
|
+
* Featured-link variants from look keys. Icons stay the site's; chip and
|
|
248
|
+
* title come from the library recipe. `megaMenuVariantsFromTones` is the
|
|
249
|
+
* same function — the original ticket name.
|
|
250
|
+
*/
|
|
251
|
+
declare function megaMenuVariantsFromLooks(looks: readonly string[], icons?: Record<string, React$1.ReactNode>): MegaMenuVariants;
|
|
252
|
+
declare const megaMenuVariantsFromTones: typeof megaMenuVariantsFromLooks;
|
|
253
|
+
interface LookSurfaceProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
254
|
+
look: string;
|
|
255
|
+
}
|
|
256
|
+
/** Sets `data-look` so theme CSS can bind the four-stop recipe. */
|
|
257
|
+
declare const LookSurface: React$1.ForwardRefExoticComponent<LookSurfaceProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
258
|
+
//#endregion
|
|
33
259
|
//#region src/hooks/use-scroll-reveal.d.ts
|
|
34
260
|
interface UseScrollRevealOptions {
|
|
35
261
|
/** Trigger only once (default: true) */
|
|
@@ -1999,205 +2225,6 @@ declare function HeaderBlock({
|
|
|
1999
2225
|
className
|
|
2000
2226
|
}: HeaderBlockProps): react_jsx_runtime0.JSX.Element;
|
|
2001
2227
|
//#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
2228
|
//#region src/blocks/layout/sidebar-block.d.ts
|
|
2202
2229
|
interface SidebarItem {
|
|
2203
2230
|
label: string;
|
|
@@ -3359,5 +3386,5 @@ interface ContrastStripProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
3359
3386
|
*/
|
|
3360
3387
|
declare const ContrastStrip: React$1.ForwardRefExoticComponent<ContrastStripProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3361
3388
|
//#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 };
|
|
3389
|
+
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
3390
|
//# sourceMappingURL=index.d.mts.map
|