@bison-lab/ui 4.13.0 → 4.23.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 +198 -44
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +470 -85
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1382,7 +1382,7 @@ declare const ChoiceboxItem: React$1.ForwardRefExoticComponent<VariantProps<(pro
|
|
|
1382
1382
|
disabled?: boolean;
|
|
1383
1383
|
className?: string;
|
|
1384
1384
|
children?: React$1.ReactNode;
|
|
1385
|
-
} & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
1385
|
+
} & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "title" | "children" | "size" | "icon" | "disabled" | "value" | "description"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1386
1386
|
//#endregion
|
|
1387
1387
|
//#region src/components/radio-group.d.ts
|
|
1388
1388
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroup$1.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -2205,11 +2205,11 @@ declare const PaginationEllipsis: {
|
|
|
2205
2205
|
//#region src/components/command.d.ts
|
|
2206
2206
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
2207
2207
|
children?: React$1.ReactNode;
|
|
2208
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2208
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2209
2209
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
2210
2210
|
} & {
|
|
2211
2211
|
asChild?: boolean;
|
|
2212
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2212
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2213
2213
|
label?: string;
|
|
2214
2214
|
shouldFilter?: boolean;
|
|
2215
2215
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -2229,51 +2229,51 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
2229
2229
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
2230
2230
|
} & {
|
|
2231
2231
|
asChild?: boolean;
|
|
2232
|
-
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "
|
|
2232
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
2233
2233
|
value?: string;
|
|
2234
2234
|
onValueChange?: (search: string) => void;
|
|
2235
2235
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
2236
2236
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
2237
2237
|
children?: React$1.ReactNode;
|
|
2238
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2238
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2239
2239
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
2240
2240
|
} & {
|
|
2241
2241
|
asChild?: boolean;
|
|
2242
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2242
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2243
2243
|
label?: string;
|
|
2244
2244
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2245
2245
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
2246
2246
|
children?: React$1.ReactNode;
|
|
2247
|
-
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2247
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2248
2248
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
2249
2249
|
} & {
|
|
2250
2250
|
asChild?: boolean;
|
|
2251
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2251
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2252
2252
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
2253
2253
|
children?: React$1.ReactNode;
|
|
2254
|
-
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2254
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2255
2255
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
2256
2256
|
} & {
|
|
2257
2257
|
asChild?: boolean;
|
|
2258
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2258
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
2259
2259
|
heading?: React$1.ReactNode;
|
|
2260
2260
|
value?: string;
|
|
2261
2261
|
forceMount?: boolean;
|
|
2262
2262
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2263
|
-
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2263
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2264
2264
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
2265
2265
|
} & {
|
|
2266
2266
|
asChild?: boolean;
|
|
2267
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2267
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2268
2268
|
alwaysRender?: boolean;
|
|
2269
2269
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2270
2270
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
2271
2271
|
children?: React$1.ReactNode;
|
|
2272
|
-
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2272
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
2273
2273
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
2274
2274
|
} & {
|
|
2275
2275
|
asChild?: boolean;
|
|
2276
|
-
}, keyof React$1.HTMLAttributes<HTMLDivElement
|
|
2276
|
+
}, "key" | "asChild" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
|
|
2277
2277
|
disabled?: boolean;
|
|
2278
2278
|
onSelect?: (value: string) => void;
|
|
2279
2279
|
value?: string;
|
|
@@ -2422,7 +2422,7 @@ declare function SidebarMenuItem({
|
|
|
2422
2422
|
}: React$1.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
|
|
2423
2423
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2424
2424
|
variant?: "default" | "outline" | null | undefined;
|
|
2425
|
-
size?: "
|
|
2425
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2426
2426
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
2427
2427
|
declare function SidebarMenuButton({
|
|
2428
2428
|
asChild,
|
|
@@ -3023,6 +3023,148 @@ interface HeroCompactProps {
|
|
|
3023
3023
|
*/
|
|
3024
3024
|
declare const HeroCompact: React$1.ForwardRefExoticComponent<HeroCompactProps & React$1.RefAttributes<HTMLElement>>;
|
|
3025
3025
|
//#endregion
|
|
3026
|
+
//#region src/blocks/marketing/heroes/hero-simple.d.ts
|
|
3027
|
+
interface HeroSimpleProps {
|
|
3028
|
+
eyebrow?: React$1.ReactNode;
|
|
3029
|
+
heading: React$1.ReactNode;
|
|
3030
|
+
body?: React$1.ReactNode;
|
|
3031
|
+
/** The call to action, centered under the copy. */
|
|
3032
|
+
children?: React$1.ReactNode;
|
|
3033
|
+
/** The page measure. Defaults to the library container. */
|
|
3034
|
+
containerClassName?: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* Extra bottom padding so a following band can overlap this one: the seam
|
|
3037
|
+
* pull (`pb-16` / `lg:pb-20`) on top of the band's own bottom padding.
|
|
3038
|
+
*/
|
|
3039
|
+
overlap?: boolean;
|
|
3040
|
+
/** Spacing and background from section settings. */
|
|
3041
|
+
sectionClassName?: string;
|
|
3042
|
+
className?: string;
|
|
3043
|
+
}
|
|
3044
|
+
/**
|
|
3045
|
+
* The calm member of the hero family: one centered column of copy on the
|
|
3046
|
+
* page surface, no image and no motion. The heading is the page's `<h1>`
|
|
3047
|
+
* and scales up at wider breakpoints; the body keeps a capped measure.
|
|
3048
|
+
*
|
|
3049
|
+
* Like the compact hero, its top padding clears the floating header, and a
|
|
3050
|
+
* section background replaces the page surface.
|
|
3051
|
+
*/
|
|
3052
|
+
declare const HeroSimple: React$1.ForwardRefExoticComponent<HeroSimpleProps & React$1.RefAttributes<HTMLElement>>;
|
|
3053
|
+
//#endregion
|
|
3054
|
+
//#region src/blocks/marketing/testimonial-types.d.ts
|
|
3055
|
+
/**
|
|
3056
|
+
* The library's canonical testimonial payload, shared by every testimonial
|
|
3057
|
+
* layout (`TestimonialMasonry`, `TestimonialCarousel`). Consumers hold one
|
|
3058
|
+
* array of these and feed it to whichever block a page calls for; only the
|
|
3059
|
+
* presentation props differ per block.
|
|
3060
|
+
*/
|
|
3061
|
+
interface TestimonialItem {
|
|
3062
|
+
/** Stable key for the testimonial card. */
|
|
3063
|
+
id: string;
|
|
3064
|
+
/** Quote body text. */
|
|
3065
|
+
content: React$1.ReactNode;
|
|
3066
|
+
author: {
|
|
3067
|
+
name: string; /** Role or company line under the name, e.g. "Co-Founder, Heroes Digital". */
|
|
3068
|
+
title?: React$1.ReactNode;
|
|
3069
|
+
/**
|
|
3070
|
+
* Custom avatar content — SVG, Lucide icon, Font Awesome glyph, etc.
|
|
3071
|
+
* Renders inside the shaped avatar shell. When omitted, `avatarUrl` or
|
|
3072
|
+
* initials from `name` are used instead.
|
|
3073
|
+
*/
|
|
3074
|
+
avatar?: React$1.ReactNode; /** Profile photo URL. Ignored when `avatar` is set. */
|
|
3075
|
+
avatarUrl?: string;
|
|
3076
|
+
};
|
|
3077
|
+
}
|
|
3078
|
+
/** Two-letter initials fallback used when a testimonial has no avatar image. */
|
|
3079
|
+
declare function testimonialInitials(name: string): string;
|
|
3080
|
+
//#endregion
|
|
3081
|
+
//#region src/blocks/marketing/feature-highlights-block.d.ts
|
|
3082
|
+
interface FeatureHighlightItem {
|
|
3083
|
+
/** Stable key for the card. */
|
|
3084
|
+
id: string;
|
|
3085
|
+
title: React$1.ReactNode;
|
|
3086
|
+
/** The line under the title. */
|
|
3087
|
+
subtitle?: React$1.ReactNode;
|
|
3088
|
+
/** A figure the card leads with, e.g. `{ value: "3×", label: "faster sign-off" }`. */
|
|
3089
|
+
stat?: {
|
|
3090
|
+
value: React$1.ReactNode;
|
|
3091
|
+
label?: React$1.ReactNode;
|
|
3092
|
+
};
|
|
3093
|
+
/** The card's visual, usually an image that covers its frame. */
|
|
3094
|
+
media?: React$1.ReactNode;
|
|
3095
|
+
}
|
|
3096
|
+
interface FeatureHighlightsBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "title"> {
|
|
3097
|
+
/** Small label above the heading. Omit to hide the row. */
|
|
3098
|
+
eyebrow?: React$1.ReactNode;
|
|
3099
|
+
title: React$1.ReactNode;
|
|
3100
|
+
/** Supporting copy under the heading. */
|
|
3101
|
+
description?: React$1.ReactNode;
|
|
3102
|
+
/** The feature cards, in reading order. Designed for three to five. */
|
|
3103
|
+
items: FeatureHighlightItem[];
|
|
3104
|
+
/** An optional quote under the progress rail. */
|
|
3105
|
+
testimonial?: TestimonialItem;
|
|
3106
|
+
/**
|
|
3107
|
+
* Accessible name for the progress indicator. Defaults to "Features read".
|
|
3108
|
+
* Its value reads as "<n> of <total>: <title>" when the title is a string.
|
|
3109
|
+
*/
|
|
3110
|
+
progressLabel?: string;
|
|
3111
|
+
/** Heading element for `title`. Defaults to `"h2"`; each card title is one level below. */
|
|
3112
|
+
headingLevel?: "h2" | "h3";
|
|
3113
|
+
/** Classes for the inner container that sets the measure and padding. */
|
|
3114
|
+
containerClassName?: string;
|
|
3115
|
+
/** Classes for each feature card. */
|
|
3116
|
+
cardClassName?: string;
|
|
3117
|
+
}
|
|
3118
|
+
/**
|
|
3119
|
+
* Stacked feature cards with a progress rail that follows the reader.
|
|
3120
|
+
*
|
|
3121
|
+
* From `lg` up the heading, the rail and the optional testimonial hold still
|
|
3122
|
+
* in a sticky column while the cards scroll past; below that they sit above
|
|
3123
|
+
* the cards. The rail is a `progressbar` whose value is the card crossing the
|
|
3124
|
+
* middle of the viewport. Its fill and the step marks move with a transition
|
|
3125
|
+
* only under `motion-safe`, so with reduced motion on they jump to place.
|
|
3126
|
+
*/
|
|
3127
|
+
declare const FeatureHighlightsBlock: React$1.ForwardRefExoticComponent<FeatureHighlightsBlockProps & React$1.RefAttributes<HTMLElement>>;
|
|
3128
|
+
//#endregion
|
|
3129
|
+
//#region src/blocks/marketing/feature-checklist-block.d.ts
|
|
3130
|
+
interface FeatureChecklistItem {
|
|
3131
|
+
/** Stable key for the list item. */
|
|
3132
|
+
id: string;
|
|
3133
|
+
/** The short line beside the check. */
|
|
3134
|
+
label: React$1.ReactNode;
|
|
3135
|
+
}
|
|
3136
|
+
interface FeatureChecklistBlockProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "title"> {
|
|
3137
|
+
/** The pill above the heading. A string renders in an outline `Badge`. */
|
|
3138
|
+
badge?: React$1.ReactNode;
|
|
3139
|
+
/** The section heading. */
|
|
3140
|
+
title: React$1.ReactNode;
|
|
3141
|
+
/** The small label between the two divider rules. Omit to hide the row. */
|
|
3142
|
+
dividerLabel?: React$1.ReactNode;
|
|
3143
|
+
/** The first list: the left column from `md` up, and first below it. */
|
|
3144
|
+
leftItems: FeatureChecklistItem[];
|
|
3145
|
+
/** The second list: the right column from `md` up, after the left below it. */
|
|
3146
|
+
rightItems?: FeatureChecklistItem[];
|
|
3147
|
+
/** The mark before each item. Defaults to lucide `BadgeCheck`, tinted primary. */
|
|
3148
|
+
icon?: React$1.ReactNode;
|
|
3149
|
+
/** Heading element for `title`. Defaults to `"h2"`. */
|
|
3150
|
+
headingLevel?: "h2" | "h3";
|
|
3151
|
+
/** Classes for the inner container that sets the measure and padding. */
|
|
3152
|
+
containerClassName?: string;
|
|
3153
|
+
/** Classes for each `<ul>`. */
|
|
3154
|
+
listClassName?: string;
|
|
3155
|
+
/** Classes for each `<li>`. */
|
|
3156
|
+
itemClassName?: string;
|
|
3157
|
+
}
|
|
3158
|
+
/**
|
|
3159
|
+
* A centered heading over two checked lists. The two lists are the editor's
|
|
3160
|
+
* own, not one list split in half: each is its own `<ul>`, side by side from
|
|
3161
|
+
* `md` up, the left list first below that.
|
|
3162
|
+
*
|
|
3163
|
+
* There is no background animation. The band takes its surface from the
|
|
3164
|
+
* section, like every other band.
|
|
3165
|
+
*/
|
|
3166
|
+
declare const FeatureChecklistBlock: React$1.ForwardRefExoticComponent<FeatureChecklistBlockProps & React$1.RefAttributes<HTMLElement>>;
|
|
3167
|
+
//#endregion
|
|
3026
3168
|
//#region src/blocks/marketing/nap-block.d.ts
|
|
3027
3169
|
/**
|
|
3028
3170
|
* A single physical mailing address — schema.org `PostalAddress` shape,
|
|
@@ -3360,7 +3502,7 @@ interface StatItem {
|
|
|
3360
3502
|
/** Stable identifier for the item */
|
|
3361
3503
|
id: string;
|
|
3362
3504
|
/**
|
|
3363
|
-
* The figure, e.g. `"98%"`, `"12,000+"`, `"
|
|
3505
|
+
* The figure, e.g. `"98%"`, `"12,000+"`, `"10–14"`. Rendered as given and
|
|
3364
3506
|
* never parsed: ranges, units and suffixes are the editor's to write.
|
|
3365
3507
|
*/
|
|
3366
3508
|
value: React$1.ReactNode;
|
|
@@ -3571,33 +3713,6 @@ interface ReviewsBlockProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
3571
3713
|
}
|
|
3572
3714
|
declare const ReviewsBlock: React$1.ForwardRefExoticComponent<ReviewsBlockProps & React$1.RefAttributes<HTMLElement>>;
|
|
3573
3715
|
//#endregion
|
|
3574
|
-
//#region src/blocks/marketing/testimonial-types.d.ts
|
|
3575
|
-
/**
|
|
3576
|
-
* The library's canonical testimonial payload, shared by every testimonial
|
|
3577
|
-
* layout (`TestimonialMasonry`, `TestimonialCarousel`). Consumers hold one
|
|
3578
|
-
* array of these and feed it to whichever block a page calls for; only the
|
|
3579
|
-
* presentation props differ per block.
|
|
3580
|
-
*/
|
|
3581
|
-
interface TestimonialItem {
|
|
3582
|
-
/** Stable key for the testimonial card. */
|
|
3583
|
-
id: string;
|
|
3584
|
-
/** Quote body text. */
|
|
3585
|
-
content: React$1.ReactNode;
|
|
3586
|
-
author: {
|
|
3587
|
-
name: string; /** Role or company line under the name, e.g. "Co-Founder, Heroes Digital". */
|
|
3588
|
-
title?: React$1.ReactNode;
|
|
3589
|
-
/**
|
|
3590
|
-
* Custom avatar content — SVG, Lucide icon, Font Awesome glyph, etc.
|
|
3591
|
-
* Renders inside the shaped avatar shell. When omitted, `avatarUrl` or
|
|
3592
|
-
* initials from `name` are used instead.
|
|
3593
|
-
*/
|
|
3594
|
-
avatar?: React$1.ReactNode; /** Profile photo URL. Ignored when `avatar` is set. */
|
|
3595
|
-
avatarUrl?: string;
|
|
3596
|
-
};
|
|
3597
|
-
}
|
|
3598
|
-
/** Two-letter initials fallback used when a testimonial has no avatar image. */
|
|
3599
|
-
declare function testimonialInitials(name: string): string;
|
|
3600
|
-
//#endregion
|
|
3601
3716
|
//#region src/blocks/marketing/testimonial-masonry-block.d.ts
|
|
3602
3717
|
interface TestimonialMasonryLink {
|
|
3603
3718
|
/** Link label, e.g. "See All Customer Stories". */
|
|
@@ -3704,9 +3819,48 @@ interface TestimonialCarouselNav {
|
|
|
3704
3819
|
/** Classes merged onto the button, overriding the defaults. */
|
|
3705
3820
|
className?: string;
|
|
3706
3821
|
}
|
|
3822
|
+
/** The header call to action, e.g. a link to every customer story. */
|
|
3823
|
+
interface TestimonialCarouselLink {
|
|
3824
|
+
label: React$1.ReactNode;
|
|
3825
|
+
href: string;
|
|
3826
|
+
/** Open in a new tab, with `rel` set. Defaults to `false`. */
|
|
3827
|
+
newTab?: boolean;
|
|
3828
|
+
}
|
|
3829
|
+
/**
|
|
3830
|
+
* `"card"` (default): bordered quote cards with a small avatar, the arrows in
|
|
3831
|
+
* the header row. `"portrait"`: tall portrait cards on a muted fill with the
|
|
3832
|
+
* quote in large type, the arrows in a row under the track.
|
|
3833
|
+
*/
|
|
3834
|
+
type TestimonialCarouselVariant = "card" | "portrait";
|
|
3707
3835
|
interface TestimonialCarouselProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "title"> {
|
|
3708
3836
|
/** Testimonials rendered as slides in the carousel. */
|
|
3709
3837
|
items: TestimonialItem[];
|
|
3838
|
+
/** Card presentation. Defaults to `"card"`. */
|
|
3839
|
+
variant?: TestimonialCarouselVariant;
|
|
3840
|
+
/**
|
|
3841
|
+
* Where the arrows sit: beside the heading (`"header"`) or in a row under
|
|
3842
|
+
* the track (`"below"`). Defaults to `"header"` for cards and `"below"`
|
|
3843
|
+
* for portraits.
|
|
3844
|
+
*/
|
|
3845
|
+
controlsPlacement?: "header" | "below";
|
|
3846
|
+
/** An outline button with an arrow under the header copy. */
|
|
3847
|
+
link?: TestimonialCarouselLink;
|
|
3848
|
+
/** Render the link through a router component instead of a plain `<a>`. */
|
|
3849
|
+
renderLink?: RenderLink;
|
|
3850
|
+
/**
|
|
3851
|
+
* The portrait for a `"portrait"` card, e.g. a site's image component
|
|
3852
|
+
* cropped toward the face. Defaults to `author.avatarUrl` as an `<img>`
|
|
3853
|
+
* that covers the frame. The author is named in the caption, so the
|
|
3854
|
+
* picture is decorative (`alt=""`).
|
|
3855
|
+
*/
|
|
3856
|
+
renderPortrait?: (item: TestimonialItem) => React$1.ReactNode;
|
|
3857
|
+
/**
|
|
3858
|
+
* The polite announcement after the track moves, given the first and last
|
|
3859
|
+
* slide (1-based) the current stop shows. They differ when one stop holds
|
|
3860
|
+
* several slides (`slidesToScroll` above 1, or `"auto"`). Defaults to
|
|
3861
|
+
* "Testimonial 2 of 6", or "Testimonials 4–6 of 6".
|
|
3862
|
+
*/
|
|
3863
|
+
slideStatus?: (first: number, last: number, total: number) => string;
|
|
3710
3864
|
/** Section heading, shown on the left of the header row. */
|
|
3711
3865
|
title: React$1.ReactNode;
|
|
3712
3866
|
/** Supporting copy under the heading. */
|
|
@@ -4044,5 +4198,5 @@ interface ContrastStripProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
4044
4198
|
*/
|
|
4045
4199
|
declare const ContrastStrip: React$1.ForwardRefExoticComponent<ContrastStripProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
4046
4200
|
//#endregion
|
|
4047
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AppSidebarBlock, type AppSidebarBlockProps, type SidebarUser as AppSidebarUser, AspectRatio, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeProps, type BisonFont, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHROME_LOOK_CLASSES, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselNavProps, CarouselNext, CarouselPrevious, type CarouselProps, Checkbox, ChoiceboxGroup, type ChoiceboxGroupProps, ChoiceboxItem, type ChoiceboxItemProps, type ChromeLookClasses, CodeInput, type CodeInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContrastStrip, type ContrastStripMode, type ContrastStripProps, CurrencyInput, type CurrencyInputProps, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, type EditableTitleProps, EmptyStateBlock, type EmptyStateBlockProps, type FAQCallToAction, FAQColumnsBlock, type FAQColumnsBlockProps, type FAQItem, FIELD_LABEL_SPACING, FIELD_NOTE_SPACING, type FieldContextValue, type FieldControlProps, type FieldGroupProps, FieldGroupScope, FieldNote, type FieldNoteProps, FieldProvider, type FieldSpacing, FilterButton, type FilterButtonProps, type FilterChip, type FilterGroup, type FilterOption, type FilterValue, FloatingNavBlock, type FloatingNavBlockProps, type FloatingNavItem, type FloatingNavLinkProps, type FloatingNavRenderLink, type FloatingNavSubItem, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, type FormData_, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, type GoogleFontConfig, HeaderBlock, type HeaderBlockProps, HeroCompact, type HeroCompactProps, type HeroMediaAspect, HeroSweep, type HeroSweepProps, Input, InputGroup, type InputGroupProps, type InputProps, type InputSize, JsonLd, type JsonLdProps, Kbd, type KbdProps, Label, type LabelProps, type LocalBusinessDepartmentJsonLd, type LocalBusinessJsonLd, LookSurface, type LookSurfaceProps, MaintenanceBlock, MediaCard, type MediaCardMeta, type MediaCardProps, type MegaMenu, type MegaMenuColumn, type MegaMenuFooter, type MegaMenuFooterLink, type MegaMenuIcons, type MegaMenuItem, type MegaMenuLink, type MegaMenuMaxWidth, MegaMenuPanel, type MegaMenuPanelData, type MegaMenuPanelProps, type MegaMenuSection, type MegaMenuToFloatingNavOptions, type MegaMenuVariant, type MegaMenuVariants, type MegaMenuWidth, type NapAddress, NapBlock, type NapBlockProps, type NapDepartment, type NapPhone, type NapRecord, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, OutlinedField, type OutlinedFieldProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverContent, PopoverTrigger, type PostalAddressJsonLd, type ProcessStepItem, ProcessStepsBlock, type ProcessStepsBlockProps, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarFormat, type ProgressBarProps, RadioGroup, RadioGroupItem, Rating, type RatingDistributionItem, type RatingProps, type RenderLink, type RenderLinkProps, ResetPasswordBlock, type ResourceAuthor, type ResourceCategoryStyle, type ResourceItem, ResourcesBlock, type ResourcesBlockProps, type ReviewItem, ReviewsBlock, type ReviewsBlockProps, RotatingBadge, type RotatingBadgeProps, SavedPing, type SavedPingProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type ShowcasePanelItem, ShowcasePanelsBlock, type ShowcasePanelsBlockProps, type ShowcasePanelsLabels, type ShowcaseSpineVariant, Sidebar, SidebarBlock, type SidebarBlockProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarItem, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarNavGroup, type SidebarNavItem, type SidebarNavSubItem, SidebarProvider, SidebarRail, type SidebarSection, SidebarSeparator, type SidebarTeam, SidebarTrigger, type SidebarUserMenuItem, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, type SocialFeedBlockProps, type SocialFeedTileSize, type SocialPlatform, type SocialPostItem, type SocialProvider, SocialProviders, Spinner, type SpinnerProps, type StatItem, StatsBandBlock, type StatsBandBlockProps, type StatsBandColumns, Stepper, StepperDescription, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperLabel, type StepperOrientation, type StepperProps, StepperSeparator, type StepperState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellPin, type TableCellProps, TableFooter, TableHead, type TableHeadProps, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, type TestimonialCarouselProps, type TestimonialItem, TestimonialMasonry, type TestimonialMasonryLink, type TestimonialMasonryProps, TextContent, type TextContentProps, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeProvider, ThemeScope, type ThemeScopeProps, ThemeShowcase, type ThemeShowcaseProps, type ThemeShowcaseSection, TimePicker, type TimePickerProps, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, type UseHideOnScrollOptions, type UseScrollRevealOptions, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, avgFooter, badgeVariants, buttonVariants, cn, countFooter, dateRangePresets, editableTitleVariants, describedBy as fieldDescribedBy, fieldSpacing, filterChips, filterCount, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, splitFieldNotes, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, sumFooter, switchVariants, testimonialInitials, themeShowcaseSections, toColumnFilters, toast, toggleFilter, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFieldNotes, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
4201
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AppSidebarBlock, type AppSidebarBlockProps, type SidebarUser as AppSidebarUser, AspectRatio, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeProps, type BisonFont, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHROME_LOOK_CLASSES, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, type CarouselNavProps, CarouselNext, CarouselPrevious, type CarouselProps, Checkbox, ChoiceboxGroup, type ChoiceboxGroupProps, ChoiceboxItem, type ChoiceboxItemProps, type ChromeLookClasses, CodeInput, type CodeInputProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContrastStrip, type ContrastStripMode, type ContrastStripProps, CurrencyInput, type CurrencyInputProps, DataTable, DataTableColumnHeader, type DataTableColumnHeaderProps, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableTitle, type EditableTitleProps, EmptyStateBlock, type EmptyStateBlockProps, type FAQCallToAction, FAQColumnsBlock, type FAQColumnsBlockProps, type FAQItem, FIELD_LABEL_SPACING, FIELD_NOTE_SPACING, FeatureChecklistBlock, type FeatureChecklistBlockProps, type FeatureChecklistItem, type FeatureHighlightItem, FeatureHighlightsBlock, type FeatureHighlightsBlockProps, type FieldContextValue, type FieldControlProps, type FieldGroupProps, FieldGroupScope, FieldNote, type FieldNoteProps, FieldProvider, type FieldSpacing, FilterButton, type FilterButtonProps, type FilterChip, type FilterGroup, type FilterOption, type FilterValue, FloatingNavBlock, type FloatingNavBlockProps, type FloatingNavItem, type FloatingNavLinkProps, type FloatingNavRenderLink, type FloatingNavSubItem, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, type FormData_, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, type GoogleFontConfig, HeaderBlock, type HeaderBlockProps, HeroCompact, type HeroCompactProps, type HeroMediaAspect, HeroSimple, type HeroSimpleProps, HeroSweep, type HeroSweepProps, Input, InputGroup, type InputGroupProps, type InputProps, type InputSize, JsonLd, type JsonLdProps, Kbd, type KbdProps, Label, type LabelProps, type LocalBusinessDepartmentJsonLd, type LocalBusinessJsonLd, LookSurface, type LookSurfaceProps, MaintenanceBlock, MediaCard, type MediaCardMeta, type MediaCardProps, type MegaMenu, type MegaMenuColumn, type MegaMenuFooter, type MegaMenuFooterLink, type MegaMenuIcons, type MegaMenuItem, type MegaMenuLink, type MegaMenuMaxWidth, MegaMenuPanel, type MegaMenuPanelData, type MegaMenuPanelProps, type MegaMenuSection, type MegaMenuToFloatingNavOptions, type MegaMenuVariant, type MegaMenuVariants, type MegaMenuWidth, type NapAddress, NapBlock, type NapBlockProps, type NapDepartment, type NapPhone, type NapRecord, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, OutlinedField, type OutlinedFieldProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, PhoneInput, type PhoneInputProps, Popover, PopoverContent, PopoverTrigger, type PostalAddressJsonLd, type ProcessStepItem, ProcessStepsBlock, type ProcessStepsBlockProps, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, ProgressBar, type ProgressBarFormat, type ProgressBarProps, RadioGroup, RadioGroupItem, Rating, type RatingDistributionItem, type RatingProps, type RenderLink, type RenderLinkProps, ResetPasswordBlock, type ResourceAuthor, type ResourceCategoryStyle, type ResourceItem, ResourcesBlock, type ResourcesBlockProps, type ReviewItem, ReviewsBlock, type ReviewsBlockProps, RotatingBadge, type RotatingBadgeProps, SavedPing, type SavedPingProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, type ShowcasePanelItem, ShowcasePanelsBlock, type ShowcasePanelsBlockProps, type ShowcasePanelsLabels, type ShowcaseSpineVariant, Sidebar, SidebarBlock, type SidebarBlockProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarItem, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarNavGroup, type SidebarNavItem, type SidebarNavSubItem, SidebarProvider, SidebarRail, type SidebarSection, SidebarSeparator, type SidebarTeam, SidebarTrigger, type SidebarUserMenuItem, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, type SocialFeedBlockProps, type SocialFeedTileSize, type SocialPlatform, type SocialPostItem, type SocialProvider, SocialProviders, Spinner, type SpinnerProps, type StatItem, StatsBandBlock, type StatsBandBlockProps, type StatsBandColumns, Stepper, StepperDescription, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperLabel, type StepperOrientation, type StepperProps, StepperSeparator, type StepperState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellPin, type TableCellProps, TableFooter, TableHead, type TableHeadProps, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, type TestimonialCarouselLink, type TestimonialCarouselProps, type TestimonialCarouselVariant, type TestimonialItem, TestimonialMasonry, type TestimonialMasonryLink, type TestimonialMasonryProps, TextContent, type TextContentProps, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeProvider, ThemeScope, type ThemeScopeProps, ThemeShowcase, type ThemeShowcaseProps, type ThemeShowcaseSection, TimePicker, type TimePickerProps, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, type UseHideOnScrollOptions, type UseScrollRevealOptions, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, avgFooter, badgeVariants, buttonVariants, cn, countFooter, dateRangePresets, editableTitleVariants, describedBy as fieldDescribedBy, fieldSpacing, filterChips, filterCount, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, megaMenuVariantsFromLooks, megaMenuVariantsFromTones, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, splitFieldNotes, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, sumFooter, switchVariants, testimonialInitials, themeShowcaseSections, toColumnFilters, toast, toggleFilter, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFieldNotes, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
4048
4202
|
//# sourceMappingURL=index.d.mts.map
|