@bison-lab/ui 1.7.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 +634 -7
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1217 -147
- package/dist/index.mjs.map +1 -1
- package/dist/validators.d.mts +74 -0
- package/dist/validators.d.mts.map +1 -0
- package/dist/validators.mjs +62 -0
- package/dist/validators.mjs.map +1 -0
- package/package.json +6 -2
package/dist/index.d.mts
CHANGED
|
@@ -160,7 +160,18 @@ interface ThemeScopeProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
160
160
|
declare const ThemeScope: React$1.ForwardRefExoticComponent<ThemeScopeProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region src/form/form.d.ts
|
|
163
|
-
type FormMode =
|
|
163
|
+
type FormMode = 'native' | 'rhf';
|
|
164
|
+
/**
|
|
165
|
+
* The payload handed to `onSubmit`.
|
|
166
|
+
*
|
|
167
|
+
* A name that appears once yields a scalar; a name that repeats — a checkbox
|
|
168
|
+
* group, a multi-select — yields an array. It used to always be a scalar,
|
|
169
|
+
* because the payload was built with `Object.fromEntries(formData.entries())`,
|
|
170
|
+
* which keeps only the LAST entry under a repeated key. Three checked boxes
|
|
171
|
+
* submitted as one, silently, with nothing in the DOM to suggest the other two
|
|
172
|
+
* had been dropped.
|
|
173
|
+
*/
|
|
174
|
+
type FormData_ = Record<string, FormDataEntryValue | FormDataEntryValue[]>;
|
|
164
175
|
interface FormContextValue {
|
|
165
176
|
errors: Record<string, string>;
|
|
166
177
|
touched: Record<string, boolean>;
|
|
@@ -178,10 +189,35 @@ interface FormContextValue {
|
|
|
178
189
|
errorVersion: number;
|
|
179
190
|
}
|
|
180
191
|
declare function useFormContext(): FormContextValue | undefined;
|
|
181
|
-
interface FormProps extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>,
|
|
182
|
-
onSubmit?: (data:
|
|
192
|
+
interface FormProps extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, 'onSubmit'> {
|
|
193
|
+
onSubmit?: (data: FormData_) => void | Promise<void>;
|
|
183
194
|
schema?: ZodSchema;
|
|
184
195
|
formMode?: FormMode;
|
|
196
|
+
/**
|
|
197
|
+
* Field errors supplied from outside — typically what a Server Action just
|
|
198
|
+
* returned, keyed by field name.
|
|
199
|
+
*
|
|
200
|
+
* Needed because errors produced on the server have to appear during RENDER,
|
|
201
|
+
* not from an effect: with JavaScript disabled the action runs, the page
|
|
202
|
+
* re-renders on the server, and an effect that would have pushed the errors
|
|
203
|
+
* into context never executes. Passing them here is what lets `FormField`
|
|
204
|
+
* wire them to `aria-describedby` on that path too, instead of degrading to
|
|
205
|
+
* an unassociated summary.
|
|
206
|
+
*
|
|
207
|
+
* Merged with the schema's own results, which win — the most recent
|
|
208
|
+
* validation is the client one.
|
|
209
|
+
*/
|
|
210
|
+
errors?: Record<string, string>;
|
|
211
|
+
/**
|
|
212
|
+
* Move focus to the first invalid control after a failed submit.
|
|
213
|
+
* @default true
|
|
214
|
+
*/
|
|
215
|
+
focusOnError?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* Wording for the screen-reader announcement made after a failed submit.
|
|
218
|
+
* Override for i18n or for a more specific summary.
|
|
219
|
+
*/
|
|
220
|
+
errorSummary?: (count: number) => string;
|
|
185
221
|
children: React$1.ReactNode;
|
|
186
222
|
}
|
|
187
223
|
declare const Form: React$1.ForwardRefExoticComponent<FormProps & React$1.RefAttributes<HTMLFormElement>>;
|
|
@@ -197,6 +233,20 @@ interface FormFieldProps {
|
|
|
197
233
|
* `outlined`: Material-style label on the top border (requires `label`).
|
|
198
234
|
*/
|
|
199
235
|
labelLayout?: 'stack' | 'outlined';
|
|
236
|
+
/**
|
|
237
|
+
* `field`: the wrapper labels ONE control (default).
|
|
238
|
+
* `group`: it labels a SET of them — a checkbox or radio group.
|
|
239
|
+
*
|
|
240
|
+
* A `<label for>` can only point at a single form control, so a stack of
|
|
241
|
+
* checkboxes under a plain label has no programmatic name at all
|
|
242
|
+
* (WCAG 1.3.1). Group mode renders a real `<fieldset>` / `<legend>` instead
|
|
243
|
+
* and moves the ARIA wiring onto it, leaving the individual controls to keep
|
|
244
|
+
* their own ids and labels.
|
|
245
|
+
*
|
|
246
|
+
* Group mode always renders stacked; `labelLayout="outlined"` is ignored,
|
|
247
|
+
* because a floating notch label over a set of checkboxes describes nothing.
|
|
248
|
+
*/
|
|
249
|
+
as?: 'field' | 'group';
|
|
200
250
|
className?: string;
|
|
201
251
|
children: React$1.ReactNode;
|
|
202
252
|
}
|
|
@@ -206,6 +256,7 @@ declare function FormField({
|
|
|
206
256
|
description,
|
|
207
257
|
required,
|
|
208
258
|
labelLayout,
|
|
259
|
+
as,
|
|
209
260
|
className,
|
|
210
261
|
children
|
|
211
262
|
}: FormFieldProps): react_jsx_runtime0.JSX.Element;
|
|
@@ -220,6 +271,142 @@ declare function FormError({
|
|
|
220
271
|
className
|
|
221
272
|
}: FormErrorProps): react_jsx_runtime0.JSX.Element | null;
|
|
222
273
|
//#endregion
|
|
274
|
+
//#region src/form/field-context.d.ts
|
|
275
|
+
/**
|
|
276
|
+
* The channel between a field wrapper and the control nested inside it.
|
|
277
|
+
*
|
|
278
|
+
* `FormField`, `InputGroup` and `OutlinedField` all render a label, an optional
|
|
279
|
+
* hint and an optional error around an arbitrary child. Before this context
|
|
280
|
+
* they had no way to reach that child, so the error text was rendered as a bare
|
|
281
|
+
* `<p>` that nothing pointed at: no `aria-describedby`, no `aria-invalid`, no
|
|
282
|
+
* `aria-required`. The label leaned on `htmlFor={name}` and simply hoped the
|
|
283
|
+
* consumer had set a matching `id` — when they hadn't, the label resolved to
|
|
284
|
+
* nothing at all (WCAG 1.3.1 and 4.1.2, and axe's `label` rule fires).
|
|
285
|
+
*
|
|
286
|
+
* A wrapper now publishes this context and every control calls
|
|
287
|
+
* {@link useFieldControl} to wire itself. The important property is that the
|
|
288
|
+
* context is OPTIONAL: outside a wrapper the hook returns the control's own
|
|
289
|
+
* props untouched, so a bare `<Input />` behaves exactly as it always has.
|
|
290
|
+
*/
|
|
291
|
+
interface FieldContextValue {
|
|
292
|
+
/**
|
|
293
|
+
* `id` the control should adopt. Derived from the wrapper's `name` /
|
|
294
|
+
* `htmlFor` rather than `useId()` so it stays the value the wrapper's own
|
|
295
|
+
* `htmlFor` already points at, and so consumers who set `id={name}` by hand
|
|
296
|
+
* land on the same string instead of fighting it.
|
|
297
|
+
*/
|
|
298
|
+
controlId: string;
|
|
299
|
+
/** `id` of the hint paragraph, when one is rendered. */
|
|
300
|
+
descriptionId?: string;
|
|
301
|
+
/** `id` of the error paragraph, when one is rendered. */
|
|
302
|
+
errorId?: string;
|
|
303
|
+
/**
|
|
304
|
+
* `id` of the label element. Composite controls need it: a `<label for>`
|
|
305
|
+
* cannot name a `<div>`, so `TimePicker` and `CodeInput` point at it with
|
|
306
|
+
* `aria-labelledby` instead. See {@link useFieldGroup}.
|
|
307
|
+
*/
|
|
308
|
+
labelId?: string;
|
|
309
|
+
/** Whether the field is currently in an error state. */
|
|
310
|
+
invalid: boolean;
|
|
311
|
+
/** Whether the field is required. */
|
|
312
|
+
required: boolean;
|
|
313
|
+
/**
|
|
314
|
+
* True when the wrapper labels a SET of controls (a checkbox or radio group)
|
|
315
|
+
* rather than a single one. Controls must not adopt the field's ids in this
|
|
316
|
+
* mode — five checkboxes sharing one `id` is worse than none — so
|
|
317
|
+
* {@link useFieldControl} becomes a no-op and the group element itself
|
|
318
|
+
* carries the labelling.
|
|
319
|
+
*/
|
|
320
|
+
group: boolean;
|
|
321
|
+
}
|
|
322
|
+
declare const FieldProvider: React$1.Provider<FieldContextValue | undefined>;
|
|
323
|
+
/** Read the surrounding field, if there is one. */
|
|
324
|
+
declare function useField(): FieldContextValue | undefined;
|
|
325
|
+
/** The ARIA surface a control exposes to its field wrapper. */
|
|
326
|
+
interface FieldControlProps {
|
|
327
|
+
id?: string;
|
|
328
|
+
'aria-describedby'?: string;
|
|
329
|
+
'aria-invalid'?: React$1.AriaAttributes['aria-invalid'];
|
|
330
|
+
'aria-required'?: React$1.AriaAttributes['aria-required'];
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Merge the surrounding field's ARIA wiring into a control's own props.
|
|
334
|
+
*
|
|
335
|
+
* Call it in every control that accepts user input and spread the result onto
|
|
336
|
+
* the DOM node.
|
|
337
|
+
*
|
|
338
|
+
* Inside a field the wrapper OWNS the control's `id`, and a consumer-supplied
|
|
339
|
+
* one is deliberately overridden. The wrapper has already rendered its
|
|
340
|
+
* `<label for>` pointing at the id it published, and it cannot see the child's
|
|
341
|
+
* props to follow it anywhere else — so honouring an override here would leave
|
|
342
|
+
* the label resolving to nothing, which is precisely the defect this context
|
|
343
|
+
* exists to remove. Set the id through the wrapper's `name` / `htmlFor`
|
|
344
|
+
* instead. `aria-invalid` and `aria-required` do defer to an explicit prop,
|
|
345
|
+
* and the field's description ids are APPENDED to any `aria-describedby` the
|
|
346
|
+
* consumer set rather than replacing it.
|
|
347
|
+
*
|
|
348
|
+
* Returns `props` unchanged when there is no field, or when the field is a
|
|
349
|
+
* group.
|
|
350
|
+
*/
|
|
351
|
+
declare function useFieldControl<T extends FieldControlProps>(props: T): T;
|
|
352
|
+
/** The ARIA surface a COMPOSITE control exposes to its field wrapper. */
|
|
353
|
+
interface FieldGroupProps {
|
|
354
|
+
role?: 'group';
|
|
355
|
+
'aria-labelledby'?: string;
|
|
356
|
+
'aria-describedby'?: string;
|
|
357
|
+
'aria-invalid'?: React$1.AriaAttributes['aria-invalid'];
|
|
358
|
+
'aria-required'?: React$1.AriaAttributes['aria-required'];
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* The composite-control counterpart to {@link useFieldControl}.
|
|
362
|
+
*
|
|
363
|
+
* `TimePicker` is three selects and `CodeInput` is six inputs; neither has a
|
|
364
|
+
* single element for the field's label to point at, and a `<label for>` naming
|
|
365
|
+
* a `<div>` names nothing at all. These wrap their children in a labelled
|
|
366
|
+
* `role="group"` instead, so the whole composite is announced once with its
|
|
367
|
+
* error and hint attached.
|
|
368
|
+
*
|
|
369
|
+
* Returns `{}` outside a field wrapper, leaving standalone usage untouched.
|
|
370
|
+
*/
|
|
371
|
+
declare function useFieldGroup(): FieldGroupProps;
|
|
372
|
+
/**
|
|
373
|
+
* Seals a composite control against the field it sits in.
|
|
374
|
+
*
|
|
375
|
+
* `CodeInput` renders six `<Input>`s and `TimePicker` renders three
|
|
376
|
+
* `<SelectTrigger>`s. Each of those calls {@link useFieldControl}, so without
|
|
377
|
+
* this they would every one of them adopt the SAME field id — six elements
|
|
378
|
+
* sharing `id="code"`, which is worse than the missing wiring this whole
|
|
379
|
+
* mechanism set out to fix. Re-providing the field in group mode turns the
|
|
380
|
+
* hook into a no-op for everything below, leaving the composite's own wrapper
|
|
381
|
+
* ({@link useFieldGroup}) as the single labelled thing.
|
|
382
|
+
*/
|
|
383
|
+
declare function FieldGroupScope({
|
|
384
|
+
children
|
|
385
|
+
}: {
|
|
386
|
+
children: React$1.ReactNode;
|
|
387
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
388
|
+
/**
|
|
389
|
+
* Build the ids a wrapper publishes.
|
|
390
|
+
*
|
|
391
|
+
* `useId()` supplies the hint/error ids because nothing outside the wrapper
|
|
392
|
+
* references them, so uniqueness costs nothing. The control id stays
|
|
393
|
+
* caller-derived — see {@link FieldContextValue.controlId}.
|
|
394
|
+
*/
|
|
395
|
+
declare function useFieldIds({
|
|
396
|
+
controlId,
|
|
397
|
+
hasDescription,
|
|
398
|
+
hasError
|
|
399
|
+
}: {
|
|
400
|
+
controlId: string;
|
|
401
|
+
hasDescription: boolean;
|
|
402
|
+
hasError: boolean;
|
|
403
|
+
}): {
|
|
404
|
+
controlId: string;
|
|
405
|
+
descriptionId: string | undefined;
|
|
406
|
+
errorId: string | undefined;
|
|
407
|
+
labelId: string;
|
|
408
|
+
};
|
|
409
|
+
//#endregion
|
|
223
410
|
//#region src/components/button.d.ts
|
|
224
411
|
declare const buttonVariants: (props?: ({
|
|
225
412
|
variant?: "default" | "secondary" | "accent" | "highlight" | "destructive" | "outline" | "ghost" | "actionNeutral" | "actionPositive" | "actionNegative" | "link" | null | undefined;
|
|
@@ -243,13 +430,31 @@ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {}
|
|
|
243
430
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
244
431
|
//#endregion
|
|
245
432
|
//#region src/components/password-input.d.ts
|
|
246
|
-
interface PasswordInputProps extends Omit<React$1.ComponentPropsWithoutRef<typeof unstable_PasswordToggleField.Input>, 'type'> {
|
|
433
|
+
interface PasswordInputProps extends Omit<React$1.ComponentPropsWithoutRef<typeof unstable_PasswordToggleField.Input>, 'type'> {
|
|
434
|
+
/**
|
|
435
|
+
* Accessible name for the show/hide control.
|
|
436
|
+
*
|
|
437
|
+
* The toggle is icon-only, and Radix supplies no name of its own, so without
|
|
438
|
+
* this it reaches a screen reader as an unlabelled button (WCAG 4.1.2). The
|
|
439
|
+
* wording covers both states deliberately: the button's own pressed state is
|
|
440
|
+
* what conveys which way it is currently set.
|
|
441
|
+
*/
|
|
442
|
+
toggleLabel?: string;
|
|
443
|
+
}
|
|
247
444
|
declare const PasswordInput: React$1.ForwardRefExoticComponent<PasswordInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
248
445
|
//#endregion
|
|
249
446
|
//#region src/components/code-input.d.ts
|
|
250
447
|
interface CodeInputProps {
|
|
251
448
|
/** Number of digits. @default 6 */
|
|
252
449
|
length?: number;
|
|
450
|
+
/**
|
|
451
|
+
* Accessible name for each box, given its 1-based position and the total.
|
|
452
|
+
*
|
|
453
|
+
* The boxes are unlabelled digits — without a name each one reaches a screen
|
|
454
|
+
* reader as a bare "edit text" and there is no way to tell which of the six
|
|
455
|
+
* you are in (WCAG 4.1.2, and 2.4.6 once you are lost in the middle).
|
|
456
|
+
*/
|
|
457
|
+
digitLabel?: (position: number, total: number) => string;
|
|
253
458
|
/** Called with the full code string when all digits are filled. */
|
|
254
459
|
onComplete?: (code: string) => void;
|
|
255
460
|
/** Called on every change with the current partial/full code string. */
|
|
@@ -271,11 +476,13 @@ interface CurrencyInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputE
|
|
|
271
476
|
}
|
|
272
477
|
declare const CurrencyInput: React$1.ForwardRefExoticComponent<CurrencyInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
273
478
|
//#endregion
|
|
274
|
-
//#region src/
|
|
479
|
+
//#region src/lib/us-phone.d.ts
|
|
275
480
|
/** Strips non-digits and caps at 10 (US NANP). */
|
|
276
481
|
declare function parseUsPhoneDigits(value: string): string;
|
|
277
482
|
/** Formats a phone value (digits, E.164, or any mixed string) as `(XXX) XXX-XXXX`. */
|
|
278
483
|
declare function formatUsPhone(value: string): string;
|
|
484
|
+
//#endregion
|
|
485
|
+
//#region src/components/phone-input.d.ts
|
|
279
486
|
/**
|
|
280
487
|
* US phone field: shows `(555) 123-4567` while `value` / `onChange` use digits
|
|
281
488
|
* only (`5551234567`), matching {@link CurrencyInput} (display vs semantic value).
|
|
@@ -294,7 +501,14 @@ declare const PhoneInput: React$1.ForwardRefExoticComponent<PhoneInputProps & Re
|
|
|
294
501
|
interface InputGroupProps {
|
|
295
502
|
/** Field label text. */
|
|
296
503
|
label: string;
|
|
297
|
-
/**
|
|
504
|
+
/**
|
|
505
|
+
* Associates the label with the input via `htmlFor`.
|
|
506
|
+
*
|
|
507
|
+
* Optional now: when omitted, the group generates an id and the control
|
|
508
|
+
* adopts it through the field context. It used to be the only way the label
|
|
509
|
+
* could reach the control, and a caller who forgot it shipped a label
|
|
510
|
+
* pointing at nothing.
|
|
511
|
+
*/
|
|
298
512
|
htmlFor?: string;
|
|
299
513
|
/** Validation error message displayed below the input. */
|
|
300
514
|
error?: string;
|
|
@@ -1857,6 +2071,419 @@ interface ReviewsBlockProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
1857
2071
|
}
|
|
1858
2072
|
declare const ReviewsBlock: React$1.ForwardRefExoticComponent<ReviewsBlockProps & React$1.RefAttributes<HTMLElement>>;
|
|
1859
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
|
|
1860
2487
|
//#region src/blocks/settings/profile-settings-block.d.ts
|
|
1861
2488
|
interface ProfileSettingsData {
|
|
1862
2489
|
name: string;
|
|
@@ -1934,5 +2561,5 @@ declare function NotificationSettingsBlock({
|
|
|
1934
2561
|
className
|
|
1935
2562
|
}: NotificationSettingsBlockProps): react_jsx_runtime0.JSX.Element;
|
|
1936
2563
|
//#endregion
|
|
1937
|
-
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, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, 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, 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 };
|
|
1938
2565
|
//# sourceMappingURL=index.d.mts.map
|