@bison-lab/ui 1.8.0 → 1.10.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
@@ -55,6 +55,41 @@ declare function useScrollReveal<T extends HTMLElement = HTMLDivElement>(options
55
55
  //#region src/hooks/use-mobile.d.ts
56
56
  declare function useIsMobile(): boolean;
57
57
  //#endregion
58
+ //#region src/hooks/use-hide-on-scroll.d.ts
59
+ interface UseHideOnScrollOptions {
60
+ /** Pixels scrolled from the top before the element may hide (default: 80) */
61
+ threshold?: number;
62
+ /**
63
+ * Minimum movement between samples before a direction change is believed,
64
+ * in pixels (default: 6). Without it, the sub-pixel jitter of a trackpad or
65
+ * a momentum scroll flickers the element in and out.
66
+ */
67
+ tolerance?: number;
68
+ /**
69
+ * Hold the element visible (default: `false`). Use it while a menu is
70
+ * open — hiding the bar out from under an open panel strands the panel
71
+ * mid-air. `scrolled` keeps updating either way; only hiding is
72
+ * suppressed.
73
+ */
74
+ disabled?: boolean;
75
+ }
76
+ /**
77
+ * Tracks scroll direction and reports whether a fixed element should hide.
78
+ * `hidden` turns on while scrolling down past `threshold` and off again on
79
+ * the first meaningful scroll up. Reads are rAF-throttled, so a fast scroll
80
+ * costs one state update per frame at most.
81
+ *
82
+ * @example
83
+ * ```tsx
84
+ * const { hidden } = useHideOnScroll();
85
+ * <header className={hidden ? "-translate-y-full" : "translate-y-0"} />
86
+ * ```
87
+ */
88
+ declare function useHideOnScroll(options?: UseHideOnScrollOptions): {
89
+ hidden: boolean;
90
+ scrolled: boolean;
91
+ };
92
+ //#endregion
58
93
  //#region src/providers/bison-provider.d.ts
59
94
  type Theme$1 = "light" | "dark" | "system";
60
95
  interface GoogleFontConfig {
@@ -1862,6 +1897,69 @@ declare function HeaderBlock({
1862
1897
  className
1863
1898
  }: HeaderBlockProps): react_jsx_runtime0.JSX.Element;
1864
1899
  //#endregion
1900
+ //#region src/blocks/layout/floating-nav-block.d.ts
1901
+ interface FloatingNavLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
1902
+ href: string;
1903
+ children: React$1.ReactNode;
1904
+ }
1905
+ /**
1906
+ * Renders one link. Supply it to hand every destination to a router — Next's
1907
+ * `<Link>`, a TanStack `<Link>` — instead of the plain `<a>` used by default.
1908
+ */
1909
+ type FloatingNavRenderLink = (props: FloatingNavLinkProps) => React$1.ReactNode;
1910
+ interface FloatingNavSubItem {
1911
+ /** Link label shown in the panel. */
1912
+ label: React$1.ReactNode;
1913
+ /** Destination. Doubles as the React key, so keep it unique per panel. */
1914
+ href: string;
1915
+ /** Supporting line under the label. */
1916
+ description?: React$1.ReactNode;
1917
+ /** Leading glyph. Any node — the library never picks an icon for you here. */
1918
+ icon?: React$1.ReactNode;
1919
+ }
1920
+ interface FloatingNavItem {
1921
+ /** Label on the bar. Doubles as the React key, so keep it unique. */
1922
+ label: string;
1923
+ /** Destination for a plain link. Ignored when the item opens a panel. */
1924
+ href?: string;
1925
+ /** Sub-items. Their presence turns the item into a mega-menu trigger. */
1926
+ items?: FloatingNavSubItem[];
1927
+ /** A whole custom panel. Takes precedence over `items`. */
1928
+ content?: React$1.ReactNode;
1929
+ /** Columns in the default `items` panel (default: 2). */
1930
+ columns?: 1 | 2 | 3;
1931
+ /** Marks the current page — sets `aria-current` on a link. */
1932
+ active?: boolean;
1933
+ }
1934
+ interface FloatingNavBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "content"> {
1935
+ /** Brand mark, rendered verbatim at the start of the bar. */
1936
+ logo?: React$1.ReactNode;
1937
+ /** The bar's navigation items. */
1938
+ items?: FloatingNavItem[];
1939
+ /** Trailing slot for calls to action, a theme toggle, an avatar. */
1940
+ actions?: React$1.ReactNode;
1941
+ /** Render every link through a router component instead of a plain `<a>`. */
1942
+ renderLink?: FloatingNavRenderLink;
1943
+ /** Slide the bar away when the page scrolls down (default: `true`). */
1944
+ hideOnScroll?: boolean;
1945
+ /** Pixels scrolled before hiding may start (default: 80). */
1946
+ scrollThreshold?: number;
1947
+ /**
1948
+ * `false` (default) anchors each mega-menu panel under its own trigger.
1949
+ * `true` uses the shared, animated viewport centered under the bar.
1950
+ */
1951
+ viewport?: boolean;
1952
+ /** Accessible name for the `<nav>` (default: `"Main"`). */
1953
+ navLabel?: string;
1954
+ /** Accessible name for the mobile menu button (default: `"Toggle menu"`). */
1955
+ mobileMenuLabel?: string;
1956
+ /** Classes for the width-constraining container. */
1957
+ containerClassName?: string;
1958
+ /** Classes for the bar surface — background, border, radius, blur. */
1959
+ navClassName?: string;
1960
+ }
1961
+ declare const FloatingNavBlock: React$1.ForwardRefExoticComponent<FloatingNavBlockProps & React$1.RefAttributes<HTMLElement>>;
1962
+ //#endregion
1865
1963
  //#region src/blocks/layout/sidebar-block.d.ts
1866
1964
  interface SidebarItem {
1867
1965
  label: string;
@@ -2071,6 +2169,419 @@ interface ReviewsBlockProps extends React$1.HTMLAttributes<HTMLElement> {
2071
2169
  }
2072
2170
  declare const ReviewsBlock: React$1.ForwardRefExoticComponent<ReviewsBlockProps & React$1.RefAttributes<HTMLElement>>;
2073
2171
  //#endregion
2172
+ //#region src/blocks/marketing/nap-block.d.ts
2173
+ /**
2174
+ * A single physical mailing address — schema.org `PostalAddress` shape,
2175
+ * minus the `@type` key that `JsonLd` adds when serializing.
2176
+ */
2177
+ interface NapAddress {
2178
+ streetAddress: string;
2179
+ addressLocality: string;
2180
+ addressRegion: string;
2181
+ postalCode: string;
2182
+ /**
2183
+ * ISO 3166-1 alpha-2 country code (e.g. "US", "CA"). Defaults to "US" in
2184
+ * both the rendered address and the JSON-LD output.
2185
+ */
2186
+ addressCountry?: string;
2187
+ }
2188
+ interface NapPhone {
2189
+ /**
2190
+ * E.164 format, e.g. "+15551234567". This is the *only* value used for
2191
+ * the `tel:` href and the JSON-LD `telephone` field — `display` never
2192
+ * feeds either of those, so a prettified string can't silently become an
2193
+ * unreachable link.
2194
+ */
2195
+ e164: string;
2196
+ /**
2197
+ * Human-readable text shown on the page, e.g. "(555) 123-4567". Defaults
2198
+ * to `formatUsPhone(e164)` when omitted, which assumes a US/NANP number —
2199
+ * pass this explicitly for non-US numbers.
2200
+ */
2201
+ display?: string;
2202
+ }
2203
+ interface NapDepartment {
2204
+ /** Stable key for React lists and for matching entries in tests. */
2205
+ id: string;
2206
+ /**
2207
+ * Department or Google Business Profile name, e.g.
2208
+ * "Chiropractic & Wellness". When there is exactly one department this is
2209
+ * typically identical to the business `name`.
2210
+ */
2211
+ name: string;
2212
+ /**
2213
+ * schema.org `@type` for this department's own node (e.g. "Chiropractor",
2214
+ * "MedicalSpa"). Falls back to the parent `NapRecord.type` when omitted —
2215
+ * most single-department businesses can leave this out entirely.
2216
+ */
2217
+ type?: string;
2218
+ phone: NapPhone;
2219
+ }
2220
+ interface NapRecord {
2221
+ /** Public/legal business name. */
2222
+ name: string;
2223
+ /**
2224
+ * schema.org `@type` for the business, e.g. "Chiropractor", "Restaurant",
2225
+ * "ProfessionalService". A plain string rather than a closed union on
2226
+ * purpose — schema.org's LocalBusiness hierarchy is large, and each
2227
+ * consuming site needs a different leaf type.
2228
+ */
2229
+ type: string;
2230
+ /** The one physical address shared by the business and every department. */
2231
+ address: NapAddress;
2232
+ /**
2233
+ * One or more named departments, each with its own phone number, all at
2234
+ * the shared `address`. This is NOT a list of separate locations — every
2235
+ * entry sits at the same building. A single-phone business is just one
2236
+ * department (commonly named the same as the business). Multiple entries
2237
+ * model distinct Google Business Profiles at one address, e.g. a
2238
+ * chiropractic practice and its medspa: two names, two numbers, one
2239
+ * building. `NapBlock` and `JsonLd` both read this same array, which is
2240
+ * what keeps the visible phone numbers and the structured data from
2241
+ * drifting apart.
2242
+ */
2243
+ departments: NapDepartment[];
2244
+ /**
2245
+ * Canonical business URL. Used as the JSON-LD `url` and, when provided,
2246
+ * as the link target for the business name in `NapBlock`.
2247
+ */
2248
+ url?: string;
2249
+ }
2250
+ interface NapBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "children"> {
2251
+ /** The shared NAP source of truth — also pass this same object to `JsonLd`. */
2252
+ record: NapRecord;
2253
+ /** Render the business name as a heading. Defaults to `true`. */
2254
+ showName?: boolean;
2255
+ /**
2256
+ * Heading element for the business name. Defaults to `"h3"`, suited to a
2257
+ * footer contact block or a card embedded in a larger page; pass `"h2"`
2258
+ * when this is the primary heading of a standalone contact section.
2259
+ */
2260
+ headingLevel?: "h2" | "h3" | "h4";
2261
+ /** Icon shown beside the address. Defaults to a Lucide `MapPin` glyph. */
2262
+ addressIcon?: React$1.ReactNode;
2263
+ /** Icon shown beside each phone number. Defaults to a Lucide `Phone` glyph. */
2264
+ phoneIcon?: React$1.ReactNode;
2265
+ }
2266
+ declare const NapBlock: React$1.ForwardRefExoticComponent<NapBlockProps & React$1.RefAttributes<HTMLElement>>;
2267
+ //#endregion
2268
+ //#region src/blocks/marketing/json-ld.d.ts
2269
+ /** schema.org `PostalAddress` node, as emitted by `napRecordToJsonLd`. */
2270
+ interface PostalAddressJsonLd {
2271
+ "@type": "PostalAddress";
2272
+ streetAddress: string;
2273
+ addressLocality: string;
2274
+ addressRegion: string;
2275
+ postalCode: string;
2276
+ addressCountry: string;
2277
+ }
2278
+ /**
2279
+ * One entry of a LocalBusiness `department` array — itself a
2280
+ * LocalBusiness-family node, inheriting the parent's address rather than
2281
+ * repeating it. See https://schema.org/department.
2282
+ */
2283
+ interface LocalBusinessDepartmentJsonLd {
2284
+ "@type": string;
2285
+ name: string;
2286
+ telephone: string;
2287
+ }
2288
+ /**
2289
+ * The shape `napRecordToJsonLd` produces: a single top-level
2290
+ * LocalBusiness-family node. With exactly one department its phone is
2291
+ * promoted to the top-level `telephone`; with two or more, each becomes its
2292
+ * own `department` entry and no top-level `telephone` is set.
2293
+ */
2294
+ interface LocalBusinessJsonLd {
2295
+ "@context": "https://schema.org";
2296
+ "@type": string;
2297
+ name: string;
2298
+ address: PostalAddressJsonLd;
2299
+ telephone?: string;
2300
+ department?: LocalBusinessDepartmentJsonLd[];
2301
+ url?: string;
2302
+ }
2303
+ /**
2304
+ * Maps a `NapRecord` — the same object rendered by `NapBlock` — onto
2305
+ * schema.org's actual pattern for one business, one address, and multiple
2306
+ * named departments: a single LocalBusiness-family node with a `department`
2307
+ * array, where each department is its own LocalBusiness-family node
2308
+ * carrying its own `name` and `telephone` and inheriting the parent
2309
+ * `address` (https://schema.org/department). This is the real schema.org
2310
+ * shape for this case — deliberately not a bespoke "locations" array — so
2311
+ * the output validates and matches what Google expects for multi-department
2312
+ * local businesses.
2313
+ *
2314
+ * - Exactly one department: its phone is promoted to the top-level
2315
+ * `telephone` and no `department` array is emitted. The common
2316
+ * single-phone business shouldn't produce a spurious nested node.
2317
+ * - Two or more departments: every one becomes its own `department` entry
2318
+ * and the top-level `telephone` is omitted, so multiple phone numbers are
2319
+ * never flattened into one generic number.
2320
+ */
2321
+ declare function napRecordToJsonLd(record: NapRecord): LocalBusinessJsonLd;
2322
+ interface JsonLdProps {
2323
+ /**
2324
+ * Either a fully-formed schema.org object — any type, this component
2325
+ * neither knows nor cares what shape it is — or a `NapRecord`, which is
2326
+ * mapped to the LocalBusiness `department` shape via `napRecordToJsonLd`
2327
+ * before serializing. Passing the *same* `NapRecord` here and to
2328
+ * `NapBlock` is what keeps the visible NAP and the structured data from
2329
+ * drifting apart.
2330
+ */
2331
+ data: NapRecord | Record<string, unknown>;
2332
+ /** Optional CSP nonce forwarded to the `<script>` tag. */
2333
+ nonce?: string;
2334
+ }
2335
+ /**
2336
+ * Dumb serializer: renders a `<script type="application/ld+json">` tag from
2337
+ * whatever schema.org-shaped object it's given. Contains no business logic
2338
+ * about what a business "should" look like — the only transformation it
2339
+ * ever performs is the structural `NapRecord` → LocalBusiness mapping in
2340
+ * `napRecordToJsonLd`, and only when handed a `NapRecord` instead of an
2341
+ * already-shaped object.
2342
+ */
2343
+ declare const JsonLd: React$1.ForwardRefExoticComponent<JsonLdProps & React$1.RefAttributes<HTMLScriptElement>>;
2344
+ //#endregion
2345
+ //#region src/blocks/marketing/showcase-panels-block.d.ts
2346
+ interface ShowcasePanelItem {
2347
+ /** Stable identifier for the item */
2348
+ id: string;
2349
+ /** Panel title */
2350
+ title: string;
2351
+ /** Short description revealed on the expanded panel */
2352
+ summary: string;
2353
+ /** Panel background image */
2354
+ image: {
2355
+ src: string;
2356
+ alt?: string;
2357
+ };
2358
+ /** URL for the corner "read more" action; renders an anchor */
2359
+ href?: string;
2360
+ /**
2361
+ * Label shown on the collapsed spine and expanded caption. Defaults per
2362
+ * `spineVariant`: `"numbered"` → 01, 02, …; `"volume"` → I, II, ….
2363
+ */
2364
+ numeral?: string;
2365
+ }
2366
+ /**
2367
+ * Curated looks for the collapsed spines.
2368
+ *
2369
+ * - `"numbered"` — neutral default: 01 / 02 / 03 figures, no ornament
2370
+ * - `"volume"` — book-spine treatment: roman numerals and binding rules
2371
+ * - `"minimal"` — vertical title only, no numbering
2372
+ */
2373
+ type ShowcaseSpineVariant = "numbered" | "volume" | "minimal";
2374
+ interface ShowcasePanelsLabels {
2375
+ /** Caption prefix on the active panel. Defaults to "Selected". */
2376
+ selected?: string;
2377
+ /** Caption prefix on a hover-previewed panel. Defaults to "Preview". */
2378
+ preview?: string;
2379
+ }
2380
+ interface ShowcasePanelsBlockProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
2381
+ /** Panels to render. Designed for 3–6 items. */
2382
+ items: ShowcasePanelItem[];
2383
+ /** Index of the initially selected panel (uncontrolled) */
2384
+ defaultActiveIndex?: number;
2385
+ /** Selected panel index (controlled) */
2386
+ activeIndex?: number;
2387
+ /** Called when the user selects a panel */
2388
+ onActiveIndexChange?: (index: number) => void;
2389
+ /**
2390
+ * Called when the corner action of a panel without an `href` is activated.
2391
+ * The action button is omitted for items with neither `href` nor this
2392
+ * handler.
2393
+ */
2394
+ onItemAction?: (item: ShowcasePanelItem, index: number) => void;
2395
+ /**
2396
+ * Small monospace watermark on collapsed spines, e.g. a brand name. Rendered
2397
+ * as "BRAND · 01". Omitted when not provided.
2398
+ */
2399
+ watermark?: string;
2400
+ /** Accessible label for the panel list */
2401
+ ariaLabel?: string;
2402
+ /**
2403
+ * Builds the accessible label for each panel's corner action.
2404
+ * Defaults to `Read more about {title}`.
2405
+ */
2406
+ actionLabel?: (item: ShowcasePanelItem) => string;
2407
+ /** Icon for the corner action. Defaults to a Lucide `MoveUpRight` glyph. */
2408
+ actionIcon?: React$1.ReactNode;
2409
+ /**
2410
+ * Custom image renderer (e.g. `next/image`). The returned node is absolutely
2411
+ * positioned to fill the panel; it should render the image with
2412
+ * `object-cover`. Defaults to a plain `<img>`.
2413
+ */
2414
+ renderImage?: (item: ShowcasePanelItem, index: number) => React$1.ReactNode;
2415
+ /**
2416
+ * Curated collapsed-spine look. Defaults to `"numbered"`, a neutral style
2417
+ * suited to most content. Use `"volume"` for the book-spine / law-library
2418
+ * treatment, or `"minimal"` for just the vertical title.
2419
+ */
2420
+ spineVariant?: ShowcaseSpineVariant;
2421
+ /**
2422
+ * Fully custom collapsed-spine renderer, for brand marks, icons, or any
2423
+ * layout `spineVariant` doesn't cover. Overrides `spineVariant` when
2424
+ * provided. The returned node fills the spine.
2425
+ */
2426
+ renderSpine?: (item: ShowcasePanelItem, index: number, state: {
2427
+ isActive: boolean;
2428
+ numeral: string;
2429
+ }) => React$1.ReactNode;
2430
+ /** Caption word overrides. Defaults to English ("Selected" / "Preview"). */
2431
+ labels?: ShowcasePanelsLabels;
2432
+ }
2433
+ declare const ShowcasePanelsBlock: React$1.ForwardRefExoticComponent<ShowcasePanelsBlockProps & React$1.RefAttributes<HTMLDivElement>>;
2434
+ //#endregion
2435
+ //#region src/blocks/marketing/process-steps-block.d.ts
2436
+ interface ProcessStepItem {
2437
+ /** Stable identifier for the item */
2438
+ id: string;
2439
+ /** Step title, e.g. "First call" */
2440
+ title: string;
2441
+ /** Description shown under the title on the active step */
2442
+ description: string;
2443
+ /** Step background image */
2444
+ image: {
2445
+ src: string;
2446
+ alt?: string;
2447
+ };
2448
+ /**
2449
+ * Extra classes for the `<img>`, e.g. `object-position` or a horizontal
2450
+ * flip to frame a specific step's photo (`-scale-x-100`).
2451
+ */
2452
+ imageClassName?: string;
2453
+ /**
2454
+ * Label shown as "Step {step}". Defaults to the item's 1-based position.
2455
+ */
2456
+ step?: number;
2457
+ }
2458
+ interface ProcessStepsBlockProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
2459
+ /** Steps to render, in order. Designed for 3–6 items. */
2460
+ items: ProcessStepItem[];
2461
+ /** Index of the initially active step (uncontrolled) */
2462
+ defaultActiveIndex?: number;
2463
+ /** Active step index (controlled) */
2464
+ activeIndex?: number;
2465
+ /** Called when the active step changes, from auto-advance or a click */
2466
+ onActiveIndexChange?: (index: number) => void;
2467
+ /**
2468
+ * Automatically advance through steps on a timer. Disabled when the user
2469
+ * prefers reduced motion. Defaults to `true`.
2470
+ */
2471
+ autoAdvance?: boolean;
2472
+ /** Milliseconds each step stays active before auto-advancing. Defaults to 6000. */
2473
+ autoAdvanceDuration?: number;
2474
+ /** Pause auto-advance while hovered or focused within. Defaults to `true`. */
2475
+ pauseOnHover?: boolean;
2476
+ /**
2477
+ * Custom image renderer (e.g. `next/image`). The returned node is
2478
+ * absolutely positioned to fill the frame; it should render the image with
2479
+ * `object-cover`. Defaults to a plain `<img>`.
2480
+ */
2481
+ renderImage?: (item: ProcessStepItem, index: number) => React$1.ReactNode;
2482
+ /** Accessible label for the step tablist */
2483
+ ariaLabel?: string;
2484
+ /** Builds the "Step N" label. Defaults to `Step {step}`. */
2485
+ stepLabel?: (item: ProcessStepItem, index: number) => string;
2486
+ /**
2487
+ * Accessible labels for the pause/resume control. The control is only
2488
+ * rendered while auto-advance is active (WCAG 2.2.2 Pause, Stop, Hide) —
2489
+ * hover and focus alone don't reach touch input.
2490
+ */
2491
+ labels?: {
2492
+ pause?: string;
2493
+ resume?: string;
2494
+ };
2495
+ }
2496
+ declare const ProcessStepsBlock: React$1.ForwardRefExoticComponent<ProcessStepsBlockProps & React$1.RefAttributes<HTMLDivElement>>;
2497
+ //#endregion
2498
+ //#region src/blocks/marketing/faq-columns-block.d.ts
2499
+ interface FAQItem {
2500
+ /** Stable identifier; doubles as the accordion item value. */
2501
+ id: string;
2502
+ /** The question shown on the accordion trigger. */
2503
+ question: React$1.ReactNode;
2504
+ /** The answer revealed when the item opens. */
2505
+ answer: React$1.ReactNode;
2506
+ }
2507
+ interface FAQCallToAction {
2508
+ /** Lead-in line above the link, e.g. "Don't see your question?". */
2509
+ title: React$1.ReactNode;
2510
+ /** The link label, e.g. "Talk to a lawyer directly". */
2511
+ linkText: React$1.ReactNode;
2512
+ /** Destination for the link. */
2513
+ href: string;
2514
+ /**
2515
+ * Open the link in a new tab (`target="_blank"`, with `rel` set for
2516
+ * security) instead of navigating the current page. Defaults to `false`.
2517
+ */
2518
+ newTab?: boolean;
2519
+ /**
2520
+ * Trailing icon for the link. Defaults to a Lucide `MoveUpRight` glyph.
2521
+ * Pass `null` to omit it.
2522
+ */
2523
+ icon?: React$1.ReactNode;
2524
+ }
2525
+ interface FAQColumnsBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "title" | "defaultValue" | "onChange"> {
2526
+ /** Questions and answers rendered in the scrolling column. */
2527
+ items: FAQItem[];
2528
+ /** Section heading. */
2529
+ title: React$1.ReactNode;
2530
+ /** Supporting copy under the heading. */
2531
+ description?: React$1.ReactNode;
2532
+ /**
2533
+ * Small label above the heading. A string renders inside an outline
2534
+ * `Badge`; any other node renders as-is, so a brand eyebrow component can
2535
+ * be dropped in unchanged. Omit it to hide the row.
2536
+ */
2537
+ eyebrow?: React$1.ReactNode;
2538
+ /**
2539
+ * Icon opposite the eyebrow. Defaults to a Lucide `CircleHelp` glyph.
2540
+ * Pass `null` to omit it.
2541
+ */
2542
+ icon?: React$1.ReactNode;
2543
+ /** Optional call to action beneath the description. */
2544
+ cta?: FAQCallToAction;
2545
+ /**
2546
+ * Keep the left column pinned while the questions scroll past on `lg` and
2547
+ * up. Defaults to `true`.
2548
+ */
2549
+ sticky?: boolean;
2550
+ /** `"single"` (default) opens one question at a time; `"multiple"` allows many. */
2551
+ type?: "single" | "multiple";
2552
+ /** Allow the open item to be closed again. Only used with `type="single"`. */
2553
+ collapsible?: boolean;
2554
+ /** Initially open item id(s) — a string for `"single"`, an array for `"multiple"`. */
2555
+ defaultValue?: string | string[];
2556
+ /** Open item id(s), for controlled usage. */
2557
+ value?: string | string[];
2558
+ /** Called when the open item(s) change. */
2559
+ onValueChange?: (value: string & string[]) => void;
2560
+ /** Classes for the inner container that constrains width and gutters. */
2561
+ containerClassName?: string;
2562
+ /** Classes for the two-column grid. */
2563
+ gridClassName?: string;
2564
+ /** Classes for the sticky left column. Overrides the `lg:top-28` offset. */
2565
+ asideClassName?: string;
2566
+ /** Classes for the eyebrow, applied to the default `Badge` or a custom node's wrapper. */
2567
+ eyebrowClassName?: string;
2568
+ /** Classes for the heading. */
2569
+ titleClassName?: string;
2570
+ /** Classes for the description. */
2571
+ descriptionClassName?: string;
2572
+ /** Classes for the call-to-action wrapper. */
2573
+ ctaClassName?: string;
2574
+ /** Classes for the accordion wrapper. */
2575
+ listClassName?: string;
2576
+ /** Classes for each accordion item. */
2577
+ itemClassName?: string;
2578
+ /** Classes for each question trigger. */
2579
+ questionClassName?: string;
2580
+ /** Classes for each answer panel. */
2581
+ answerClassName?: string;
2582
+ }
2583
+ declare const FAQColumnsBlock: React$1.ForwardRefExoticComponent<FAQColumnsBlockProps & React$1.RefAttributes<HTMLElement>>;
2584
+ //#endregion
2074
2585
  //#region src/blocks/settings/profile-settings-block.d.ts
2075
2586
  interface ProfileSettingsData {
2076
2587
  name: string;
@@ -2148,5 +2659,5 @@ declare function NotificationSettingsBlock({
2148
2659
  className
2149
2660
  }: NotificationSettingsBlockProps): react_jsx_runtime0.JSX.Element;
2150
2661
  //#endregion
2151
- 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, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, 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, 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 FieldContextValue, type FieldControlProps, type FieldGroupProps, FieldGroupScope, FieldProvider, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, type FormData_, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, HeaderBlock, type HeaderBlockProps, Input, InputGroup, type InputGroupProps, type InputProps, Label, MaintenanceBlock, MediaCard, type MediaCardMeta, type MediaCardProps, 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, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarFormat, type ProgressBarProps, RadioGroup, RadioGroupItem, Rating, type RatingDistributionItem, type RatingProps, ResetPasswordBlock, type ReviewItem, ReviewsBlock, type ReviewsBlockProps, 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, 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, type SocialProvider, SocialProviders, Spinner, type SpinnerProps, 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, TextContent, type TextContentProps, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeProvider, ThemeScope, type ThemeScopeProps, TimePicker, type TimePickerProps, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseScrollRevealOptions, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, formatUsPhone, navigationMenuTriggerStyle, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, switchVariants, toast, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useIsMobile, useScrollReveal, useSidebar, useTheme };
2662
+ 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, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, 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, 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, HeaderBlock, type HeaderBlockProps, Input, InputGroup, type InputGroupProps, type InputProps, JsonLd, type JsonLdProps, Label, type LocalBusinessDepartmentJsonLd, type LocalBusinessJsonLd, MaintenanceBlock, MediaCard, type MediaCardMeta, type MediaCardProps, 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, ResetPasswordBlock, type ReviewItem, ReviewsBlock, type ReviewsBlockProps, 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, type SocialProvider, SocialProviders, Spinner, type SpinnerProps, 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, TextContent, type TextContentProps, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeProvider, ThemeScope, type ThemeScopeProps, TimePicker, type TimePickerProps, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseHideOnScrollOptions, type UseScrollRevealOptions, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, formatUsPhone, napRecordToJsonLd, navigationMenuTriggerStyle, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, switchVariants, toast, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
2152
2663
  //# sourceMappingURL=index.d.mts.map