@bison-lab/ui 1.8.0 → 1.9.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
@@ -1304,11 +1304,11 @@ declare const PaginationEllipsis: {
1304
1304
  //#region src/components/command.d.ts
1305
1305
  declare const Command: React$1.ForwardRefExoticComponent<Omit<{
1306
1306
  children?: React$1.ReactNode;
1307
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1307
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1308
1308
  ref?: React$1.Ref<HTMLDivElement>;
1309
1309
  } & {
1310
1310
  asChild?: boolean;
1311
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1311
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
1312
1312
  label?: string;
1313
1313
  shouldFilter?: boolean;
1314
1314
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -1328,51 +1328,51 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
1328
1328
  ref?: React$1.Ref<HTMLInputElement>;
1329
1329
  } & {
1330
1330
  asChild?: boolean;
1331
- }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
1331
+ }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
1332
1332
  value?: string;
1333
1333
  onValueChange?: (search: string) => void;
1334
1334
  } & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
1335
1335
  declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
1336
1336
  children?: React$1.ReactNode;
1337
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1337
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1338
1338
  ref?: React$1.Ref<HTMLDivElement>;
1339
1339
  } & {
1340
1340
  asChild?: boolean;
1341
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1341
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
1342
1342
  label?: string;
1343
1343
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1344
1344
  declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
1345
1345
  children?: React$1.ReactNode;
1346
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1346
+ } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1347
1347
  ref?: React$1.Ref<HTMLDivElement>;
1348
1348
  } & {
1349
1349
  asChild?: boolean;
1350
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1350
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1351
1351
  declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
1352
1352
  children?: React$1.ReactNode;
1353
- } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1353
+ } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1354
1354
  ref?: React$1.Ref<HTMLDivElement>;
1355
1355
  } & {
1356
1356
  asChild?: boolean;
1357
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
1357
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key">, "value" | "heading"> & {
1358
1358
  heading?: React$1.ReactNode;
1359
1359
  value?: string;
1360
1360
  forceMount?: boolean;
1361
1361
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1362
- declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1362
+ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1363
1363
  ref?: React$1.Ref<HTMLDivElement>;
1364
1364
  } & {
1365
1365
  asChild?: boolean;
1366
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1366
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key"> & {
1367
1367
  alwaysRender?: boolean;
1368
1368
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1369
1369
  declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
1370
1370
  children?: React$1.ReactNode;
1371
- } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
1371
+ } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement> | "key"> & {
1372
1372
  ref?: React$1.Ref<HTMLDivElement>;
1373
1373
  } & {
1374
1374
  asChild?: boolean;
1375
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
1375
+ }, keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild" | "key">, "onSelect" | "value" | "disabled"> & {
1376
1376
  disabled?: boolean;
1377
1377
  onSelect?: (value: string) => void;
1378
1378
  value?: string;
@@ -1521,7 +1521,7 @@ declare function SidebarMenuItem({
1521
1521
  }: React$1.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
1522
1522
  declare const sidebarMenuButtonVariants: (props?: ({
1523
1523
  variant?: "default" | "outline" | null | undefined;
1524
- size?: "default" | "sm" | "lg" | null | undefined;
1524
+ size?: "sm" | "lg" | "default" | null | undefined;
1525
1525
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
1526
1526
  declare function SidebarMenuButton({
1527
1527
  asChild,
@@ -2071,6 +2071,419 @@ interface ReviewsBlockProps extends React$1.HTMLAttributes<HTMLElement> {
2071
2071
  }
2072
2072
  declare const ReviewsBlock: React$1.ForwardRefExoticComponent<ReviewsBlockProps & React$1.RefAttributes<HTMLElement>>;
2073
2073
  //#endregion
2074
+ //#region src/blocks/marketing/nap-block.d.ts
2075
+ /**
2076
+ * A single physical mailing address — schema.org `PostalAddress` shape,
2077
+ * minus the `@type` key that `JsonLd` adds when serializing.
2078
+ */
2079
+ interface NapAddress {
2080
+ streetAddress: string;
2081
+ addressLocality: string;
2082
+ addressRegion: string;
2083
+ postalCode: string;
2084
+ /**
2085
+ * ISO 3166-1 alpha-2 country code (e.g. "US", "CA"). Defaults to "US" in
2086
+ * both the rendered address and the JSON-LD output.
2087
+ */
2088
+ addressCountry?: string;
2089
+ }
2090
+ interface NapPhone {
2091
+ /**
2092
+ * E.164 format, e.g. "+15551234567". This is the *only* value used for
2093
+ * the `tel:` href and the JSON-LD `telephone` field — `display` never
2094
+ * feeds either of those, so a prettified string can't silently become an
2095
+ * unreachable link.
2096
+ */
2097
+ e164: string;
2098
+ /**
2099
+ * Human-readable text shown on the page, e.g. "(555) 123-4567". Defaults
2100
+ * to `formatUsPhone(e164)` when omitted, which assumes a US/NANP number —
2101
+ * pass this explicitly for non-US numbers.
2102
+ */
2103
+ display?: string;
2104
+ }
2105
+ interface NapDepartment {
2106
+ /** Stable key for React lists and for matching entries in tests. */
2107
+ id: string;
2108
+ /**
2109
+ * Department or Google Business Profile name, e.g.
2110
+ * "Chiropractic & Wellness". When there is exactly one department this is
2111
+ * typically identical to the business `name`.
2112
+ */
2113
+ name: string;
2114
+ /**
2115
+ * schema.org `@type` for this department's own node (e.g. "Chiropractor",
2116
+ * "MedicalSpa"). Falls back to the parent `NapRecord.type` when omitted —
2117
+ * most single-department businesses can leave this out entirely.
2118
+ */
2119
+ type?: string;
2120
+ phone: NapPhone;
2121
+ }
2122
+ interface NapRecord {
2123
+ /** Public/legal business name. */
2124
+ name: string;
2125
+ /**
2126
+ * schema.org `@type` for the business, e.g. "Chiropractor", "Restaurant",
2127
+ * "ProfessionalService". A plain string rather than a closed union on
2128
+ * purpose — schema.org's LocalBusiness hierarchy is large, and each
2129
+ * consuming site needs a different leaf type.
2130
+ */
2131
+ type: string;
2132
+ /** The one physical address shared by the business and every department. */
2133
+ address: NapAddress;
2134
+ /**
2135
+ * One or more named departments, each with its own phone number, all at
2136
+ * the shared `address`. This is NOT a list of separate locations — every
2137
+ * entry sits at the same building. A single-phone business is just one
2138
+ * department (commonly named the same as the business). Multiple entries
2139
+ * model distinct Google Business Profiles at one address, e.g. a
2140
+ * chiropractic practice and its medspa: two names, two numbers, one
2141
+ * building. `NapBlock` and `JsonLd` both read this same array, which is
2142
+ * what keeps the visible phone numbers and the structured data from
2143
+ * drifting apart.
2144
+ */
2145
+ departments: NapDepartment[];
2146
+ /**
2147
+ * Canonical business URL. Used as the JSON-LD `url` and, when provided,
2148
+ * as the link target for the business name in `NapBlock`.
2149
+ */
2150
+ url?: string;
2151
+ }
2152
+ interface NapBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "children"> {
2153
+ /** The shared NAP source of truth — also pass this same object to `JsonLd`. */
2154
+ record: NapRecord;
2155
+ /** Render the business name as a heading. Defaults to `true`. */
2156
+ showName?: boolean;
2157
+ /**
2158
+ * Heading element for the business name. Defaults to `"h3"`, suited to a
2159
+ * footer contact block or a card embedded in a larger page; pass `"h2"`
2160
+ * when this is the primary heading of a standalone contact section.
2161
+ */
2162
+ headingLevel?: "h2" | "h3" | "h4";
2163
+ /** Icon shown beside the address. Defaults to a Lucide `MapPin` glyph. */
2164
+ addressIcon?: React$1.ReactNode;
2165
+ /** Icon shown beside each phone number. Defaults to a Lucide `Phone` glyph. */
2166
+ phoneIcon?: React$1.ReactNode;
2167
+ }
2168
+ declare const NapBlock: React$1.ForwardRefExoticComponent<NapBlockProps & React$1.RefAttributes<HTMLElement>>;
2169
+ //#endregion
2170
+ //#region src/blocks/marketing/json-ld.d.ts
2171
+ /** schema.org `PostalAddress` node, as emitted by `napRecordToJsonLd`. */
2172
+ interface PostalAddressJsonLd {
2173
+ "@type": "PostalAddress";
2174
+ streetAddress: string;
2175
+ addressLocality: string;
2176
+ addressRegion: string;
2177
+ postalCode: string;
2178
+ addressCountry: string;
2179
+ }
2180
+ /**
2181
+ * One entry of a LocalBusiness `department` array — itself a
2182
+ * LocalBusiness-family node, inheriting the parent's address rather than
2183
+ * repeating it. See https://schema.org/department.
2184
+ */
2185
+ interface LocalBusinessDepartmentJsonLd {
2186
+ "@type": string;
2187
+ name: string;
2188
+ telephone: string;
2189
+ }
2190
+ /**
2191
+ * The shape `napRecordToJsonLd` produces: a single top-level
2192
+ * LocalBusiness-family node. With exactly one department its phone is
2193
+ * promoted to the top-level `telephone`; with two or more, each becomes its
2194
+ * own `department` entry and no top-level `telephone` is set.
2195
+ */
2196
+ interface LocalBusinessJsonLd {
2197
+ "@context": "https://schema.org";
2198
+ "@type": string;
2199
+ name: string;
2200
+ address: PostalAddressJsonLd;
2201
+ telephone?: string;
2202
+ department?: LocalBusinessDepartmentJsonLd[];
2203
+ url?: string;
2204
+ }
2205
+ /**
2206
+ * Maps a `NapRecord` — the same object rendered by `NapBlock` — onto
2207
+ * schema.org's actual pattern for one business, one address, and multiple
2208
+ * named departments: a single LocalBusiness-family node with a `department`
2209
+ * array, where each department is its own LocalBusiness-family node
2210
+ * carrying its own `name` and `telephone` and inheriting the parent
2211
+ * `address` (https://schema.org/department). This is the real schema.org
2212
+ * shape for this case — deliberately not a bespoke "locations" array — so
2213
+ * the output validates and matches what Google expects for multi-department
2214
+ * local businesses.
2215
+ *
2216
+ * - Exactly one department: its phone is promoted to the top-level
2217
+ * `telephone` and no `department` array is emitted. The common
2218
+ * single-phone business shouldn't produce a spurious nested node.
2219
+ * - Two or more departments: every one becomes its own `department` entry
2220
+ * and the top-level `telephone` is omitted, so multiple phone numbers are
2221
+ * never flattened into one generic number.
2222
+ */
2223
+ declare function napRecordToJsonLd(record: NapRecord): LocalBusinessJsonLd;
2224
+ interface JsonLdProps {
2225
+ /**
2226
+ * Either a fully-formed schema.org object — any type, this component
2227
+ * neither knows nor cares what shape it is — or a `NapRecord`, which is
2228
+ * mapped to the LocalBusiness `department` shape via `napRecordToJsonLd`
2229
+ * before serializing. Passing the *same* `NapRecord` here and to
2230
+ * `NapBlock` is what keeps the visible NAP and the structured data from
2231
+ * drifting apart.
2232
+ */
2233
+ data: NapRecord | Record<string, unknown>;
2234
+ /** Optional CSP nonce forwarded to the `<script>` tag. */
2235
+ nonce?: string;
2236
+ }
2237
+ /**
2238
+ * Dumb serializer: renders a `<script type="application/ld+json">` tag from
2239
+ * whatever schema.org-shaped object it's given. Contains no business logic
2240
+ * about what a business "should" look like — the only transformation it
2241
+ * ever performs is the structural `NapRecord` → LocalBusiness mapping in
2242
+ * `napRecordToJsonLd`, and only when handed a `NapRecord` instead of an
2243
+ * already-shaped object.
2244
+ */
2245
+ declare const JsonLd: React$1.ForwardRefExoticComponent<JsonLdProps & React$1.RefAttributes<HTMLScriptElement>>;
2246
+ //#endregion
2247
+ //#region src/blocks/marketing/showcase-panels-block.d.ts
2248
+ interface ShowcasePanelItem {
2249
+ /** Stable identifier for the item */
2250
+ id: string;
2251
+ /** Panel title */
2252
+ title: string;
2253
+ /** Short description revealed on the expanded panel */
2254
+ summary: string;
2255
+ /** Panel background image */
2256
+ image: {
2257
+ src: string;
2258
+ alt?: string;
2259
+ };
2260
+ /** URL for the corner "read more" action; renders an anchor */
2261
+ href?: string;
2262
+ /**
2263
+ * Label shown on the collapsed spine and expanded caption. Defaults per
2264
+ * `spineVariant`: `"numbered"` → 01, 02, …; `"volume"` → I, II, ….
2265
+ */
2266
+ numeral?: string;
2267
+ }
2268
+ /**
2269
+ * Curated looks for the collapsed spines.
2270
+ *
2271
+ * - `"numbered"` — neutral default: 01 / 02 / 03 figures, no ornament
2272
+ * - `"volume"` — book-spine treatment: roman numerals and binding rules
2273
+ * - `"minimal"` — vertical title only, no numbering
2274
+ */
2275
+ type ShowcaseSpineVariant = "numbered" | "volume" | "minimal";
2276
+ interface ShowcasePanelsLabels {
2277
+ /** Caption prefix on the active panel. Defaults to "Selected". */
2278
+ selected?: string;
2279
+ /** Caption prefix on a hover-previewed panel. Defaults to "Preview". */
2280
+ preview?: string;
2281
+ }
2282
+ interface ShowcasePanelsBlockProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
2283
+ /** Panels to render. Designed for 3–6 items. */
2284
+ items: ShowcasePanelItem[];
2285
+ /** Index of the initially selected panel (uncontrolled) */
2286
+ defaultActiveIndex?: number;
2287
+ /** Selected panel index (controlled) */
2288
+ activeIndex?: number;
2289
+ /** Called when the user selects a panel */
2290
+ onActiveIndexChange?: (index: number) => void;
2291
+ /**
2292
+ * Called when the corner action of a panel without an `href` is activated.
2293
+ * The action button is omitted for items with neither `href` nor this
2294
+ * handler.
2295
+ */
2296
+ onItemAction?: (item: ShowcasePanelItem, index: number) => void;
2297
+ /**
2298
+ * Small monospace watermark on collapsed spines, e.g. a brand name. Rendered
2299
+ * as "BRAND · 01". Omitted when not provided.
2300
+ */
2301
+ watermark?: string;
2302
+ /** Accessible label for the panel list */
2303
+ ariaLabel?: string;
2304
+ /**
2305
+ * Builds the accessible label for each panel's corner action.
2306
+ * Defaults to `Read more about {title}`.
2307
+ */
2308
+ actionLabel?: (item: ShowcasePanelItem) => string;
2309
+ /** Icon for the corner action. Defaults to a Lucide `MoveUpRight` glyph. */
2310
+ actionIcon?: React$1.ReactNode;
2311
+ /**
2312
+ * Custom image renderer (e.g. `next/image`). The returned node is absolutely
2313
+ * positioned to fill the panel; it should render the image with
2314
+ * `object-cover`. Defaults to a plain `<img>`.
2315
+ */
2316
+ renderImage?: (item: ShowcasePanelItem, index: number) => React$1.ReactNode;
2317
+ /**
2318
+ * Curated collapsed-spine look. Defaults to `"numbered"`, a neutral style
2319
+ * suited to most content. Use `"volume"` for the book-spine / law-library
2320
+ * treatment, or `"minimal"` for just the vertical title.
2321
+ */
2322
+ spineVariant?: ShowcaseSpineVariant;
2323
+ /**
2324
+ * Fully custom collapsed-spine renderer, for brand marks, icons, or any
2325
+ * layout `spineVariant` doesn't cover. Overrides `spineVariant` when
2326
+ * provided. The returned node fills the spine.
2327
+ */
2328
+ renderSpine?: (item: ShowcasePanelItem, index: number, state: {
2329
+ isActive: boolean;
2330
+ numeral: string;
2331
+ }) => React$1.ReactNode;
2332
+ /** Caption word overrides. Defaults to English ("Selected" / "Preview"). */
2333
+ labels?: ShowcasePanelsLabels;
2334
+ }
2335
+ declare const ShowcasePanelsBlock: React$1.ForwardRefExoticComponent<ShowcasePanelsBlockProps & React$1.RefAttributes<HTMLDivElement>>;
2336
+ //#endregion
2337
+ //#region src/blocks/marketing/process-steps-block.d.ts
2338
+ interface ProcessStepItem {
2339
+ /** Stable identifier for the item */
2340
+ id: string;
2341
+ /** Step title, e.g. "First call" */
2342
+ title: string;
2343
+ /** Description shown under the title on the active step */
2344
+ description: string;
2345
+ /** Step background image */
2346
+ image: {
2347
+ src: string;
2348
+ alt?: string;
2349
+ };
2350
+ /**
2351
+ * Extra classes for the `<img>`, e.g. `object-position` or a horizontal
2352
+ * flip to frame a specific step's photo (`-scale-x-100`).
2353
+ */
2354
+ imageClassName?: string;
2355
+ /**
2356
+ * Label shown as "Step {step}". Defaults to the item's 1-based position.
2357
+ */
2358
+ step?: number;
2359
+ }
2360
+ interface ProcessStepsBlockProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
2361
+ /** Steps to render, in order. Designed for 3–6 items. */
2362
+ items: ProcessStepItem[];
2363
+ /** Index of the initially active step (uncontrolled) */
2364
+ defaultActiveIndex?: number;
2365
+ /** Active step index (controlled) */
2366
+ activeIndex?: number;
2367
+ /** Called when the active step changes, from auto-advance or a click */
2368
+ onActiveIndexChange?: (index: number) => void;
2369
+ /**
2370
+ * Automatically advance through steps on a timer. Disabled when the user
2371
+ * prefers reduced motion. Defaults to `true`.
2372
+ */
2373
+ autoAdvance?: boolean;
2374
+ /** Milliseconds each step stays active before auto-advancing. Defaults to 6000. */
2375
+ autoAdvanceDuration?: number;
2376
+ /** Pause auto-advance while hovered or focused within. Defaults to `true`. */
2377
+ pauseOnHover?: boolean;
2378
+ /**
2379
+ * Custom image renderer (e.g. `next/image`). The returned node is
2380
+ * absolutely positioned to fill the frame; it should render the image with
2381
+ * `object-cover`. Defaults to a plain `<img>`.
2382
+ */
2383
+ renderImage?: (item: ProcessStepItem, index: number) => React$1.ReactNode;
2384
+ /** Accessible label for the step tablist */
2385
+ ariaLabel?: string;
2386
+ /** Builds the "Step N" label. Defaults to `Step {step}`. */
2387
+ stepLabel?: (item: ProcessStepItem, index: number) => string;
2388
+ /**
2389
+ * Accessible labels for the pause/resume control. The control is only
2390
+ * rendered while auto-advance is active (WCAG 2.2.2 Pause, Stop, Hide) —
2391
+ * hover and focus alone don't reach touch input.
2392
+ */
2393
+ labels?: {
2394
+ pause?: string;
2395
+ resume?: string;
2396
+ };
2397
+ }
2398
+ declare const ProcessStepsBlock: React$1.ForwardRefExoticComponent<ProcessStepsBlockProps & React$1.RefAttributes<HTMLDivElement>>;
2399
+ //#endregion
2400
+ //#region src/blocks/marketing/faq-columns-block.d.ts
2401
+ interface FAQItem {
2402
+ /** Stable identifier; doubles as the accordion item value. */
2403
+ id: string;
2404
+ /** The question shown on the accordion trigger. */
2405
+ question: React$1.ReactNode;
2406
+ /** The answer revealed when the item opens. */
2407
+ answer: React$1.ReactNode;
2408
+ }
2409
+ interface FAQCallToAction {
2410
+ /** Lead-in line above the link, e.g. "Don't see your question?". */
2411
+ title: React$1.ReactNode;
2412
+ /** The link label, e.g. "Talk to a lawyer directly". */
2413
+ linkText: React$1.ReactNode;
2414
+ /** Destination for the link. */
2415
+ href: string;
2416
+ /**
2417
+ * Open the link in a new tab (`target="_blank"`, with `rel` set for
2418
+ * security) instead of navigating the current page. Defaults to `false`.
2419
+ */
2420
+ newTab?: boolean;
2421
+ /**
2422
+ * Trailing icon for the link. Defaults to a Lucide `MoveUpRight` glyph.
2423
+ * Pass `null` to omit it.
2424
+ */
2425
+ icon?: React$1.ReactNode;
2426
+ }
2427
+ interface FAQColumnsBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "title" | "defaultValue" | "onChange"> {
2428
+ /** Questions and answers rendered in the scrolling column. */
2429
+ items: FAQItem[];
2430
+ /** Section heading. */
2431
+ title: React$1.ReactNode;
2432
+ /** Supporting copy under the heading. */
2433
+ description?: React$1.ReactNode;
2434
+ /**
2435
+ * Small label above the heading. A string renders inside an outline
2436
+ * `Badge`; any other node renders as-is, so a brand eyebrow component can
2437
+ * be dropped in unchanged. Omit it to hide the row.
2438
+ */
2439
+ eyebrow?: React$1.ReactNode;
2440
+ /**
2441
+ * Icon opposite the eyebrow. Defaults to a Lucide `CircleHelp` glyph.
2442
+ * Pass `null` to omit it.
2443
+ */
2444
+ icon?: React$1.ReactNode;
2445
+ /** Optional call to action beneath the description. */
2446
+ cta?: FAQCallToAction;
2447
+ /**
2448
+ * Keep the left column pinned while the questions scroll past on `lg` and
2449
+ * up. Defaults to `true`.
2450
+ */
2451
+ sticky?: boolean;
2452
+ /** `"single"` (default) opens one question at a time; `"multiple"` allows many. */
2453
+ type?: "single" | "multiple";
2454
+ /** Allow the open item to be closed again. Only used with `type="single"`. */
2455
+ collapsible?: boolean;
2456
+ /** Initially open item id(s) — a string for `"single"`, an array for `"multiple"`. */
2457
+ defaultValue?: string | string[];
2458
+ /** Open item id(s), for controlled usage. */
2459
+ value?: string | string[];
2460
+ /** Called when the open item(s) change. */
2461
+ onValueChange?: (value: string & string[]) => void;
2462
+ /** Classes for the inner container that constrains width and gutters. */
2463
+ containerClassName?: string;
2464
+ /** Classes for the two-column grid. */
2465
+ gridClassName?: string;
2466
+ /** Classes for the sticky left column. Overrides the `lg:top-28` offset. */
2467
+ asideClassName?: string;
2468
+ /** Classes for the eyebrow, applied to the default `Badge` or a custom node's wrapper. */
2469
+ eyebrowClassName?: string;
2470
+ /** Classes for the heading. */
2471
+ titleClassName?: string;
2472
+ /** Classes for the description. */
2473
+ descriptionClassName?: string;
2474
+ /** Classes for the call-to-action wrapper. */
2475
+ ctaClassName?: string;
2476
+ /** Classes for the accordion wrapper. */
2477
+ listClassName?: string;
2478
+ /** Classes for each accordion item. */
2479
+ itemClassName?: string;
2480
+ /** Classes for each question trigger. */
2481
+ questionClassName?: string;
2482
+ /** Classes for each answer panel. */
2483
+ answerClassName?: string;
2484
+ }
2485
+ declare const FAQColumnsBlock: React$1.ForwardRefExoticComponent<FAQColumnsBlockProps & React$1.RefAttributes<HTMLElement>>;
2486
+ //#endregion
2074
2487
  //#region src/blocks/settings/profile-settings-block.d.ts
2075
2488
  interface ProfileSettingsData {
2076
2489
  name: string;
@@ -2148,5 +2561,5 @@ declare function NotificationSettingsBlock({
2148
2561
  className
2149
2562
  }: NotificationSettingsBlockProps): react_jsx_runtime0.JSX.Element;
2150
2563
  //#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 };
2564
+ 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, 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 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, useIsMobile, useScrollReveal, useSidebar, useTheme };
2152
2565
  //# sourceMappingURL=index.d.mts.map