@bison-lab/ui 4.31.0 → 4.35.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 +169 -17
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +433 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -2021,7 +2021,7 @@ const DatePicker = React.forwardRef(({ value, onChange, placeholder = "Pick a da
|
|
|
2021
2021
|
DatePicker.displayName = "DatePicker";
|
|
2022
2022
|
//#endregion
|
|
2023
2023
|
//#region src/components/time-picker.tsx
|
|
2024
|
-
const useIsomorphicLayoutEffect$
|
|
2024
|
+
const useIsomorphicLayoutEffect$2 = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
2025
2025
|
/** Zero-pads a number to a 2-digit string ("5" → "05"). */
|
|
2026
2026
|
function pad2(n) {
|
|
2027
2027
|
return String(n).padStart(2, "0");
|
|
@@ -2076,7 +2076,7 @@ const TimePicker = React.forwardRef(({ value, onChange, minuteStep = 5, size = "
|
|
|
2076
2076
|
const isControlled = parsedValue.hour12 !== void 0;
|
|
2077
2077
|
const parts = isControlled ? parsedValue : partial;
|
|
2078
2078
|
const wasControlledRef = React.useRef(isControlled);
|
|
2079
|
-
useIsomorphicLayoutEffect$
|
|
2079
|
+
useIsomorphicLayoutEffect$2(() => {
|
|
2080
2080
|
if (wasControlledRef.current && !isControlled) setPartial({});
|
|
2081
2081
|
wasControlledRef.current = isControlled;
|
|
2082
2082
|
}, [isControlled]);
|
|
@@ -3270,7 +3270,7 @@ const DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
3270
3270
|
...props
|
|
3271
3271
|
}));
|
|
3272
3272
|
DialogOverlay.displayName = Dialog$1.Overlay.displayName;
|
|
3273
|
-
const DialogContent = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(Dialog$1.Content, {
|
|
3273
|
+
const DialogContent = React.forwardRef(({ className, children, closeLabel = "Close", ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(Dialog$1.Content, {
|
|
3274
3274
|
ref,
|
|
3275
3275
|
className: cn(centeredModalContentClasses, className),
|
|
3276
3276
|
...props,
|
|
@@ -3278,7 +3278,7 @@ const DialogContent = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
3278
3278
|
className: cn("absolute right-4 top-4 inline-flex items-center justify-center rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary/40 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", touchTargetClasses),
|
|
3279
3279
|
children: [/* @__PURE__ */ jsx(X, { className: "h-4 w-4" }), /* @__PURE__ */ jsx("span", {
|
|
3280
3280
|
className: "sr-only",
|
|
3281
|
-
children:
|
|
3281
|
+
children: closeLabel
|
|
3282
3282
|
})]
|
|
3283
3283
|
})]
|
|
3284
3284
|
})] }));
|
|
@@ -3778,7 +3778,7 @@ function Toaster({ position = "bottom-right", richColors = true, closeButton = t
|
|
|
3778
3778
|
//#endregion
|
|
3779
3779
|
//#region src/components/tabs.tsx
|
|
3780
3780
|
const Tabs = Tabs$1.Root;
|
|
3781
|
-
const useIsomorphicLayoutEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
3781
|
+
const useIsomorphicLayoutEffect$1 = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
3782
3782
|
const TabsList = React.forwardRef(({ className, children, ...props }, forwardedRef) => {
|
|
3783
3783
|
const innerRef = React.useRef(null);
|
|
3784
3784
|
const pillRef = React.useRef(null);
|
|
@@ -3805,7 +3805,7 @@ const TabsList = React.forwardRef(({ className, children, ...props }, forwardedR
|
|
|
3805
3805
|
pill.style.transitionProperty = "";
|
|
3806
3806
|
}
|
|
3807
3807
|
}, []);
|
|
3808
|
-
useIsomorphicLayoutEffect(() => {
|
|
3808
|
+
useIsomorphicLayoutEffect$1(() => {
|
|
3809
3809
|
move(false);
|
|
3810
3810
|
const list = innerRef.current;
|
|
3811
3811
|
if (!list) return;
|
|
@@ -7569,7 +7569,7 @@ function bandPadding(options) {
|
|
|
7569
7569
|
}
|
|
7570
7570
|
//#endregion
|
|
7571
7571
|
//#region src/blocks/marketing/heroes/hero-sweep.tsx
|
|
7572
|
-
const DEFAULT_CONTAINER$
|
|
7572
|
+
const DEFAULT_CONTAINER$3 = "mx-auto w-full max-w-7xl px-6";
|
|
7573
7573
|
/**
|
|
7574
7574
|
* The brand sweep from the source artwork, rebuilt from theme tokens.
|
|
7575
7575
|
* Ordered dark-to-warm: copy sits on the left, where the type is measured
|
|
@@ -7585,7 +7585,7 @@ const MEDIA_FRAME = {
|
|
|
7585
7585
|
* Opening band. Sweep and dark flip the theme locally via `data-theme="dark"`
|
|
7586
7586
|
* so tokens resolve to their dark values. Corners stay square.
|
|
7587
7587
|
*/
|
|
7588
|
-
const HeroSweep = React.forwardRef(function HeroSweep({ eyebrow, heading, body, children, media, mediaAspect = "3:2", align = "start", tone = "sweep", overlap = false, sectionClassName, containerClassName = DEFAULT_CONTAINER$
|
|
7588
|
+
const HeroSweep = React.forwardRef(function HeroSweep({ eyebrow, heading, body, children, media, mediaAspect = "3:2", align = "start", tone = "sweep", overlap = false, sectionClassName, containerClassName = DEFAULT_CONTAINER$3, className }, ref) {
|
|
7589
7589
|
const isLight = tone === "light";
|
|
7590
7590
|
const centered = align === "center" && !media;
|
|
7591
7591
|
const isSweep = tone === "sweep";
|
|
@@ -7647,7 +7647,7 @@ const HeroSweep = React.forwardRef(function HeroSweep({ eyebrow, heading, body,
|
|
|
7647
7647
|
});
|
|
7648
7648
|
//#endregion
|
|
7649
7649
|
//#region src/blocks/marketing/heroes/hero-compact.tsx
|
|
7650
|
-
const DEFAULT_CONTAINER$
|
|
7650
|
+
const DEFAULT_CONTAINER$2 = "mx-auto w-full max-w-7xl px-6";
|
|
7651
7651
|
/** Ink that reads `--look-ink` from a `[data-look]` binding a site supplies. */
|
|
7652
7652
|
const LOOK_INK = "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]";
|
|
7653
7653
|
/**
|
|
@@ -7659,7 +7659,7 @@ const LOOK_INK = "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark
|
|
|
7659
7659
|
* Anatomy, wired in SPI-51) passes `look` or `eyebrowClassName`. This
|
|
7660
7660
|
* component does not name that field.
|
|
7661
7661
|
*/
|
|
7662
|
-
const HeroCompact = React.forwardRef(function HeroCompact({ eyebrow, heading, body, children, media, containerClassName = DEFAULT_CONTAINER$
|
|
7662
|
+
const HeroCompact = React.forwardRef(function HeroCompact({ eyebrow, heading, body, children, media, containerClassName = DEFAULT_CONTAINER$2, overlap = false, sectionClassName, eyebrowClassName, look, className }, ref) {
|
|
7663
7663
|
const painted = hasSectionBackground(sectionClassName);
|
|
7664
7664
|
const surface = sectionSurface(sectionClassName);
|
|
7665
7665
|
const ownPadding = `pt-24 lg:pt-28 ${overlap ? "pb-28 lg:pb-36" : "pb-12 lg:pb-16"}`;
|
|
@@ -7718,7 +7718,7 @@ const HeroCompact = React.forwardRef(function HeroCompact({ eyebrow, heading, bo
|
|
|
7718
7718
|
});
|
|
7719
7719
|
//#endregion
|
|
7720
7720
|
//#region src/blocks/marketing/heroes/hero-simple.tsx
|
|
7721
|
-
const DEFAULT_CONTAINER = "mx-auto w-full max-w-7xl px-6";
|
|
7721
|
+
const DEFAULT_CONTAINER$1 = "mx-auto w-full max-w-7xl px-6";
|
|
7722
7722
|
/**
|
|
7723
7723
|
* The calm member of the hero family: one centered column of copy on the
|
|
7724
7724
|
* page surface, no image and no motion. The heading is the page's `<h1>`
|
|
@@ -7727,7 +7727,7 @@ const DEFAULT_CONTAINER = "mx-auto w-full max-w-7xl px-6";
|
|
|
7727
7727
|
* Like the compact hero, its top padding clears the floating header, and a
|
|
7728
7728
|
* section background replaces the page surface.
|
|
7729
7729
|
*/
|
|
7730
|
-
const HeroSimple = React.forwardRef(function HeroSimple({ eyebrow, heading, body, children, containerClassName = DEFAULT_CONTAINER, overlap = false, sectionClassName, className }, ref) {
|
|
7730
|
+
const HeroSimple = React.forwardRef(function HeroSimple({ eyebrow, heading, body, children, containerClassName = DEFAULT_CONTAINER$1, overlap = false, sectionClassName, className }, ref) {
|
|
7731
7731
|
const painted = hasSectionBackground(sectionClassName);
|
|
7732
7732
|
const ownPadding = `pt-28 lg:pt-36 ${overlap ? "pb-32 lg:pb-48" : "pb-16 lg:pb-24"}`;
|
|
7733
7733
|
const padding = sectionClassName === void 0 ? ownPadding : bandPadding({
|
|
@@ -8047,6 +8047,39 @@ const FeatureChecklistBlock = React.forwardRef(({ badge, title, dividerLabel, le
|
|
|
8047
8047
|
});
|
|
8048
8048
|
FeatureChecklistBlock.displayName = "FeatureChecklistBlock";
|
|
8049
8049
|
//#endregion
|
|
8050
|
+
//#region src/lib/use-prefers-reduced-motion.ts
|
|
8051
|
+
const QUERY = "(prefers-reduced-motion: reduce)";
|
|
8052
|
+
function query() {
|
|
8053
|
+
return typeof window !== "undefined" && typeof window.matchMedia === "function" ? window.matchMedia(QUERY) : null;
|
|
8054
|
+
}
|
|
8055
|
+
function subscribe(onChange) {
|
|
8056
|
+
const list = query();
|
|
8057
|
+
if (!list) return () => void 0;
|
|
8058
|
+
if (typeof list.addEventListener === "function") {
|
|
8059
|
+
list.addEventListener("change", onChange);
|
|
8060
|
+
return () => list.removeEventListener("change", onChange);
|
|
8061
|
+
}
|
|
8062
|
+
list.addListener?.(onChange);
|
|
8063
|
+
return () => list.removeListener?.(onChange);
|
|
8064
|
+
}
|
|
8065
|
+
/** No query to read (an old browser, a test without `matchMedia`) reads as reduced. */
|
|
8066
|
+
function getSnapshot() {
|
|
8067
|
+
return query()?.matches ?? true;
|
|
8068
|
+
}
|
|
8069
|
+
/** The server cannot read the visitor's setting, so it renders the still version. */
|
|
8070
|
+
function getServerSnapshot() {
|
|
8071
|
+
return true;
|
|
8072
|
+
}
|
|
8073
|
+
/**
|
|
8074
|
+
* Whether the visitor asks for reduced motion, kept current as they change
|
|
8075
|
+
* the setting. Until the query can be read (server render, hydration) it
|
|
8076
|
+
* answers `true`: motion starts only once the browser confirms it is
|
|
8077
|
+
* welcome, so a reduced-motion visitor never sees a first frame of it.
|
|
8078
|
+
*/
|
|
8079
|
+
function usePrefersReducedMotion() {
|
|
8080
|
+
return React.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
8081
|
+
}
|
|
8082
|
+
//#endregion
|
|
8050
8083
|
//#region src/blocks/marketing/video-block.tsx
|
|
8051
8084
|
const FRAME = {
|
|
8052
8085
|
"16:9": "aspect-video",
|
|
@@ -8072,9 +8105,6 @@ function videoEmbedUrl(video, autoplay = true) {
|
|
|
8072
8105
|
const hashTime = video.start ? `#t=${Math.floor(video.start)}s` : "";
|
|
8073
8106
|
return `https://player.vimeo.com/video/${encodeURIComponent(video.id)}?${params}${hashTime}`;
|
|
8074
8107
|
}
|
|
8075
|
-
function prefersReducedMotion() {
|
|
8076
|
-
return typeof window !== "undefined" && typeof window.matchMedia === "function" ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : false;
|
|
8077
|
-
}
|
|
8078
8108
|
function PlayGlyph() {
|
|
8079
8109
|
return /* @__PURE__ */ jsx("span", {
|
|
8080
8110
|
className: "flex size-16 items-center justify-center rounded-full bg-background/90 text-foreground shadow-lg transition-transform group-hover:scale-105 group-focus-visible:scale-105 motion-reduce:transition-none",
|
|
@@ -8119,12 +8149,10 @@ function EmbedPlayer({ video, poster, name, playLabel }) {
|
|
|
8119
8149
|
}
|
|
8120
8150
|
function FilePlayer({ video, posterSrc, name, loop, labels }) {
|
|
8121
8151
|
const ref = React.useRef(null);
|
|
8122
|
-
const [ambient, setAmbient] = React.useState(false);
|
|
8123
8152
|
const [paused, setPaused] = React.useState(true);
|
|
8124
8153
|
const [held, setHeld] = React.useState(false);
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
}, [loop]);
|
|
8154
|
+
const reduced = usePrefersReducedMotion();
|
|
8155
|
+
const ambient = loop && !reduced;
|
|
8128
8156
|
React.useEffect(() => {
|
|
8129
8157
|
const node = ref.current;
|
|
8130
8158
|
if (!ambient || !node || held) return;
|
|
@@ -8386,7 +8414,7 @@ function toValues(fields, data) {
|
|
|
8386
8414
|
* `success` are the three states of a send; on success the form is replaced
|
|
8387
8415
|
* by a status message that takes focus, so a screen reader hears the result.
|
|
8388
8416
|
*/
|
|
8389
|
-
const InquiryFormBlock = React.forwardRef(({ eyebrow, title, description, headingLevel = "h2", fields, submitLabel = "Send", onSubmit, loading = false, error, errors, disabled = false, success = false, successTitle = "Thanks, your message is on its way", successMessage = "We will get back to you soon.", formMode = "native", register, trigger, containerClassName, className, ...props }, ref) => {
|
|
8417
|
+
const InquiryFormBlock = React.forwardRef(({ eyebrow, title, description, headingLevel = "h2", fields, submitLabel = "Send", beforeSubmit, onSubmit, loading = false, error, errors, disabled = false, success = false, successTitle = "Thanks, your message is on its way", successMessage = "We will get back to you soon.", formMode = "native", register, trigger, containerClassName, className, ...props }, ref) => {
|
|
8390
8418
|
const headingId = React.useId();
|
|
8391
8419
|
const formId = React.useId();
|
|
8392
8420
|
const statusRef = React.useRef(null);
|
|
@@ -8476,6 +8504,7 @@ const InquiryFormBlock = React.forwardRef(({ eyebrow, title, description, headin
|
|
|
8476
8504
|
register: rhf ? register : void 0
|
|
8477
8505
|
})
|
|
8478
8506
|
}, field.key)),
|
|
8507
|
+
beforeSubmit,
|
|
8479
8508
|
/* @__PURE__ */ jsx(Button, {
|
|
8480
8509
|
type: "submit",
|
|
8481
8510
|
className: "self-start",
|
|
@@ -8930,7 +8959,7 @@ const ProcessStepsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, act
|
|
|
8930
8959
|
const hoverPausedRef = React.useRef(false);
|
|
8931
8960
|
const manuallyPausedRef = React.useRef(false);
|
|
8932
8961
|
const [manuallyPaused, setManuallyPaused] = React.useState(false);
|
|
8933
|
-
const
|
|
8962
|
+
const reducedMotion = usePrefersReducedMotion();
|
|
8934
8963
|
const uid = React.useId();
|
|
8935
8964
|
const tabRefs = React.useRef([]);
|
|
8936
8965
|
const tabId = (i) => `${uid}-tab-${i}`;
|
|
@@ -8959,13 +8988,6 @@ const ProcessStepsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, act
|
|
|
8959
8988
|
focusTab(count - 1);
|
|
8960
8989
|
}
|
|
8961
8990
|
};
|
|
8962
|
-
React.useEffect(() => {
|
|
8963
|
-
const query = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
8964
|
-
setReducedMotion(query.matches);
|
|
8965
|
-
const onChange = () => setReducedMotion(query.matches);
|
|
8966
|
-
query.addEventListener("change", onChange);
|
|
8967
|
-
return () => query.removeEventListener("change", onChange);
|
|
8968
|
-
}, []);
|
|
8969
8991
|
const isAutoAdvancing = autoAdvance && !reducedMotion && items.length > 1;
|
|
8970
8992
|
React.useEffect(() => {
|
|
8971
8993
|
if (!isAutoAdvancing) return;
|
|
@@ -11109,6 +11131,388 @@ const ContrastStrip = React.forwardRef(({ checks, mode = "both", failingOnly = f
|
|
|
11109
11131
|
});
|
|
11110
11132
|
ContrastStrip.displayName = "ContrastStrip";
|
|
11111
11133
|
//#endregion
|
|
11112
|
-
|
|
11134
|
+
//#region src/blocks/marketing/cta-band-block.tsx
|
|
11135
|
+
const DEFAULT_CONTAINER = "mx-auto w-full max-w-7xl px-6";
|
|
11136
|
+
/** The band shows at most this many buttons: a primary and an alternative. */
|
|
11137
|
+
const CTA_BAND_MAX_ACTIONS = 2;
|
|
11138
|
+
/**
|
|
11139
|
+
* The scrim between a background image and the text. Decided once, here,
|
|
11140
|
+
* not offered to editors: 60% black over the brightest photo leaves the
|
|
11141
|
+
* dark theme's foreground above 4.5:1 against it.
|
|
11142
|
+
*/
|
|
11143
|
+
const SCRIM = "bg-[rgb(0_0_0/0.6)]";
|
|
11144
|
+
/**
|
|
11145
|
+
* The closing band at the end of a page: a heading, an optional line and up
|
|
11146
|
+
* to two buttons, with an optional background image.
|
|
11147
|
+
*/
|
|
11148
|
+
const CtaBandBlock = React.forwardRef(function CtaBandBlock({ heading, description, actions, media, align = "center", renderLink = renderPlainLink, containerClassName, className, ...rest }, ref) {
|
|
11149
|
+
const centered = align === "center";
|
|
11150
|
+
const shown = (actions ?? []).slice(0, 2);
|
|
11151
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
11152
|
+
ref,
|
|
11153
|
+
"data-align": align,
|
|
11154
|
+
className: cn("relative isolate overflow-hidden py-16 lg:py-24", className),
|
|
11155
|
+
...rest,
|
|
11156
|
+
children: [media ? /* @__PURE__ */ jsxs("div", {
|
|
11157
|
+
className: "absolute inset-0 -z-10",
|
|
11158
|
+
"data-cta-band-media": "",
|
|
11159
|
+
children: [media, /* @__PURE__ */ jsx("div", {
|
|
11160
|
+
"aria-hidden": true,
|
|
11161
|
+
className: cn("absolute inset-0", SCRIM)
|
|
11162
|
+
})]
|
|
11163
|
+
}) : null, /* @__PURE__ */ jsx("div", {
|
|
11164
|
+
className: cn(DEFAULT_CONTAINER, containerClassName),
|
|
11165
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
11166
|
+
"data-theme": media ? "dark" : void 0,
|
|
11167
|
+
className: cn("max-w-3xl", centered && "mx-auto text-center", media && "text-foreground"),
|
|
11168
|
+
children: [
|
|
11169
|
+
/* @__PURE__ */ jsx("h2", {
|
|
11170
|
+
className: "font-heading text-3xl font-bold tracking-tight text-balance sm:text-4xl",
|
|
11171
|
+
children: heading
|
|
11172
|
+
}),
|
|
11173
|
+
description ? /* @__PURE__ */ jsx("p", {
|
|
11174
|
+
className: cn("mt-4 max-w-2xl text-lg leading-relaxed", centered && "mx-auto", media ? "text-foreground" : "text-muted-foreground"),
|
|
11175
|
+
children: description
|
|
11176
|
+
}) : null,
|
|
11177
|
+
shown.length > 0 ? /* @__PURE__ */ jsx("div", {
|
|
11178
|
+
className: cn("mt-8 flex flex-wrap items-center gap-3", centered && "justify-center"),
|
|
11179
|
+
children: shown.map((action, i) => {
|
|
11180
|
+
const variant = i === 0 ? "default" : "outline";
|
|
11181
|
+
if (!action.href) return /* @__PURE__ */ jsx("span", {
|
|
11182
|
+
className: "px-2 text-base font-medium",
|
|
11183
|
+
children: action.label
|
|
11184
|
+
}, i);
|
|
11185
|
+
return /* @__PURE__ */ jsx(React.Fragment, { children: renderLink({
|
|
11186
|
+
href: action.href,
|
|
11187
|
+
...newTabAttributes(action.newTab),
|
|
11188
|
+
"data-variant": variant,
|
|
11189
|
+
className: cn(buttonVariants({
|
|
11190
|
+
variant,
|
|
11191
|
+
size: "lg"
|
|
11192
|
+
}), "rounded-full"),
|
|
11193
|
+
children: action.label
|
|
11194
|
+
}) }, i);
|
|
11195
|
+
})
|
|
11196
|
+
}) : null
|
|
11197
|
+
]
|
|
11198
|
+
})
|
|
11199
|
+
})]
|
|
11200
|
+
});
|
|
11201
|
+
});
|
|
11202
|
+
//#endregion
|
|
11203
|
+
//#region src/blocks/marketing/logo-cloud-block.tsx
|
|
11204
|
+
/** Seconds per logo for one pass of the loop, so the speed holds at any count. */
|
|
11205
|
+
const SECONDS_PER_LOGO = 3;
|
|
11206
|
+
const useIsomorphicLayoutEffect = typeof window === "undefined" ? React.useEffect : React.useLayoutEffect;
|
|
11207
|
+
/**
|
|
11208
|
+
* How many copies of the logo set each half of the loop holds. The track
|
|
11209
|
+
* slides by half its width, so the loop is seamless only when one half is at
|
|
11210
|
+
* least as wide as the strip: a narrow set is repeated until it fills it.
|
|
11211
|
+
* Measured on mount and whenever the strip or the set resizes.
|
|
11212
|
+
*/
|
|
11213
|
+
function useSetsPerHalf(active, viewport, set) {
|
|
11214
|
+
const [count, setCount] = React.useState(1);
|
|
11215
|
+
useIsomorphicLayoutEffect(() => {
|
|
11216
|
+
if (!active) return;
|
|
11217
|
+
const measure = () => {
|
|
11218
|
+
const strip = viewport.current?.offsetWidth ?? 0;
|
|
11219
|
+
const one = set.current?.offsetWidth ?? 0;
|
|
11220
|
+
setCount(one > 0 && strip > 0 ? Math.max(1, Math.ceil(strip / one)) : 1);
|
|
11221
|
+
};
|
|
11222
|
+
measure();
|
|
11223
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
11224
|
+
const observer = new ResizeObserver(measure);
|
|
11225
|
+
if (viewport.current) observer.observe(viewport.current);
|
|
11226
|
+
if (set.current) observer.observe(set.current);
|
|
11227
|
+
return () => observer.disconnect();
|
|
11228
|
+
}, [
|
|
11229
|
+
active,
|
|
11230
|
+
viewport,
|
|
11231
|
+
set
|
|
11232
|
+
]);
|
|
11233
|
+
return count;
|
|
11234
|
+
}
|
|
11235
|
+
/**
|
|
11236
|
+
* `inert` is a boolean prop from React 19; React 18 drops a boolean and
|
|
11237
|
+
* needs the empty string. Either way the copy leaves the tab order.
|
|
11238
|
+
*/
|
|
11239
|
+
const INERT = React.version.startsWith("18") ? { inert: "" } : { inert: true };
|
|
11240
|
+
/**
|
|
11241
|
+
* Each logo sits in one fixed-height box (the density's large control
|
|
11242
|
+
* height) and keeps its own aspect ratio, capped in width, so a wide
|
|
11243
|
+
* wordmark does not dwarf a square mark.
|
|
11244
|
+
*/
|
|
11245
|
+
const LOGO_BOX = "flex h-[var(--density-height-lg,3rem)] items-center justify-center [&_img]:h-full [&_img]:w-auto [&_img]:max-w-40 [&_img]:object-contain [&_svg]:h-full [&_svg]:w-auto";
|
|
11246
|
+
const GREY = "grayscale opacity-70 transition-[filter,opacity] motion-reduce:transition-none";
|
|
11247
|
+
const GREY_LINK_RESTORE = "hover:grayscale-0 hover:opacity-100 focus-visible:grayscale-0 focus-visible:opacity-100";
|
|
11248
|
+
function LogoItems({ logos, greyscale, renderLink, copy }) {
|
|
11249
|
+
return /* @__PURE__ */ jsx(Fragment, { children: logos.map((logo, i) => /* @__PURE__ */ jsx("li", {
|
|
11250
|
+
className: "shrink-0",
|
|
11251
|
+
children: logo.href ? renderLink({
|
|
11252
|
+
href: logo.href,
|
|
11253
|
+
...newTabAttributes(logo.newTab),
|
|
11254
|
+
"aria-label": logo.alt,
|
|
11255
|
+
...copy ? { tabIndex: -1 } : {},
|
|
11256
|
+
className: cn(LOGO_BOX, "rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", greyscale && cn(GREY, GREY_LINK_RESTORE)),
|
|
11257
|
+
children: logo.image
|
|
11258
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
11259
|
+
className: cn(LOGO_BOX, greyscale && GREY),
|
|
11260
|
+
children: logo.image
|
|
11261
|
+
})
|
|
11262
|
+
}, i)) });
|
|
11263
|
+
}
|
|
11264
|
+
/**
|
|
11265
|
+
* A band of client, partner or press logos under an optional heading.
|
|
11266
|
+
*
|
|
11267
|
+
* Every logo is normalised to one height and shown as uploaded (greyscale
|
|
11268
|
+
* is the only treatment). The marquee draws the set as many times as a
|
|
11269
|
+
* seamless loop needs; every copy after the first is `aria-hidden` and
|
|
11270
|
+
* `inert`, so assistive technology hears each logo once and Tab reaches each
|
|
11271
|
+
* link once. Until the browser confirms motion is welcome (server render,
|
|
11272
|
+
* first paint, reduced motion) the marquee is the static grid.
|
|
11273
|
+
*/
|
|
11274
|
+
const LogoCloudBlock = React.forwardRef(({ heading, logos, layout = "grid", greyscale = false, renderLink = renderPlainLink, label = "Logos", labels, containerClassName, className, ...props }, ref) => {
|
|
11275
|
+
const headingId = React.useId();
|
|
11276
|
+
const reduced = usePrefersReducedMotion();
|
|
11277
|
+
const [paused, setPaused] = React.useState(false);
|
|
11278
|
+
const viewportRef = React.useRef(null);
|
|
11279
|
+
const setRef = React.useRef(null);
|
|
11280
|
+
const marquee = layout === "marquee" && !reduced && logos.length > 0;
|
|
11281
|
+
const setsPerHalf = useSetsPerHalf(marquee, viewportRef, setRef);
|
|
11282
|
+
if (logos.length === 0) return null;
|
|
11283
|
+
const listName = heading ? { "aria-labelledby": headingId } : { "aria-label": label };
|
|
11284
|
+
const pauseLabel = labels?.pause ?? "Pause logos";
|
|
11285
|
+
const resumeLabel = labels?.resume ?? "Play logos";
|
|
11286
|
+
return /* @__PURE__ */ jsx("section", {
|
|
11287
|
+
ref,
|
|
11288
|
+
className,
|
|
11289
|
+
...props,
|
|
11290
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
11291
|
+
className: cn("mx-auto w-full max-w-7xl px-6 py-12 md:py-16", containerClassName),
|
|
11292
|
+
children: [heading ? /* @__PURE__ */ jsx("h2", {
|
|
11293
|
+
id: headingId,
|
|
11294
|
+
className: "mb-8 text-center text-sm font-semibold tracking-wide text-muted-foreground uppercase",
|
|
11295
|
+
children: heading
|
|
11296
|
+
}) : null, marquee ? /* @__PURE__ */ jsxs("div", {
|
|
11297
|
+
className: "relative flex items-center gap-4",
|
|
11298
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
11299
|
+
ref: viewportRef,
|
|
11300
|
+
"data-testid": "logo-cloud-viewport",
|
|
11301
|
+
className: "group/logo-viewport min-w-0 flex-1 overflow-hidden [mask-image:linear-gradient(to_right,transparent,black_8%,black_92%,transparent)] has-[:focus-visible]:[mask-image:none]! has-[:focus-visible]:overflow-visible!",
|
|
11302
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
11303
|
+
"data-testid": "logo-cloud-track",
|
|
11304
|
+
"data-state": paused ? "paused" : "running",
|
|
11305
|
+
className: "flex w-max animate-logo-marquee group-hover/logo-viewport:[animation-play-state:paused] group-focus-within/logo-viewport:[animation-play-state:paused] motion-reduce:animate-none group-has-[:focus-visible]/logo-viewport:w-full! group-has-[:focus-visible]/logo-viewport:animate-none!",
|
|
11306
|
+
style: {
|
|
11307
|
+
"--logo-marquee-duration": `${setsPerHalf * Math.max(logos.length, 4) * SECONDS_PER_LOGO}s`,
|
|
11308
|
+
...paused ? { animationPlayState: "paused" } : {}
|
|
11309
|
+
},
|
|
11310
|
+
children: [/* @__PURE__ */ jsx("ul", {
|
|
11311
|
+
ref: setRef,
|
|
11312
|
+
"data-logo-set": "",
|
|
11313
|
+
...listName,
|
|
11314
|
+
className: "flex shrink-0 items-center gap-12 pr-12 group-has-[:focus-visible]/logo-viewport:w-full group-has-[:focus-visible]/logo-viewport:flex-wrap group-has-[:focus-visible]/logo-viewport:justify-center group-has-[:focus-visible]/logo-viewport:gap-y-8 group-has-[:focus-visible]/logo-viewport:pr-0",
|
|
11315
|
+
children: /* @__PURE__ */ jsx(LogoItems, {
|
|
11316
|
+
logos,
|
|
11317
|
+
greyscale,
|
|
11318
|
+
renderLink,
|
|
11319
|
+
copy: false
|
|
11320
|
+
})
|
|
11321
|
+
}), Array.from({ length: setsPerHalf * 2 - 1 }, (_, i) => /* @__PURE__ */ jsx("ul", {
|
|
11322
|
+
"data-logo-set": "",
|
|
11323
|
+
"aria-hidden": "true",
|
|
11324
|
+
...INERT,
|
|
11325
|
+
className: "flex shrink-0 items-center gap-12 pr-12 group-has-[:focus-visible]/logo-viewport:hidden",
|
|
11326
|
+
children: /* @__PURE__ */ jsx(LogoItems, {
|
|
11327
|
+
logos,
|
|
11328
|
+
greyscale,
|
|
11329
|
+
renderLink,
|
|
11330
|
+
copy: true
|
|
11331
|
+
})
|
|
11332
|
+
}, i))]
|
|
11333
|
+
})
|
|
11334
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
11335
|
+
type: "button",
|
|
11336
|
+
className: "flex size-10 shrink-0 items-center justify-center rounded-full border bg-background text-foreground shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
11337
|
+
"aria-label": paused ? resumeLabel : pauseLabel,
|
|
11338
|
+
onClick: () => setPaused((value) => !value),
|
|
11339
|
+
children: paused ? /* @__PURE__ */ jsx(Play, {
|
|
11340
|
+
className: "size-4",
|
|
11341
|
+
"aria-hidden": true
|
|
11342
|
+
}) : /* @__PURE__ */ jsx(Pause, {
|
|
11343
|
+
className: "size-4",
|
|
11344
|
+
"aria-hidden": true
|
|
11345
|
+
})
|
|
11346
|
+
})]
|
|
11347
|
+
}) : /* @__PURE__ */ jsx("ul", {
|
|
11348
|
+
...listName,
|
|
11349
|
+
className: "flex flex-wrap items-center justify-center gap-x-12 gap-y-8",
|
|
11350
|
+
children: /* @__PURE__ */ jsx(LogoItems, {
|
|
11351
|
+
logos,
|
|
11352
|
+
greyscale,
|
|
11353
|
+
renderLink,
|
|
11354
|
+
copy: false
|
|
11355
|
+
})
|
|
11356
|
+
})]
|
|
11357
|
+
})
|
|
11358
|
+
});
|
|
11359
|
+
});
|
|
11360
|
+
LogoCloudBlock.displayName = "LogoCloudBlock";
|
|
11361
|
+
//#endregion
|
|
11362
|
+
//#region src/blocks/marketing/gallery-block.tsx
|
|
11363
|
+
const GRID_COLUMNS = {
|
|
11364
|
+
2: "lg:grid-cols-2",
|
|
11365
|
+
3: "lg:grid-cols-3",
|
|
11366
|
+
4: "lg:grid-cols-4"
|
|
11367
|
+
};
|
|
11368
|
+
const MASONRY_COLUMNS = {
|
|
11369
|
+
2: "lg:columns-2",
|
|
11370
|
+
3: "lg:columns-3",
|
|
11371
|
+
4: "lg:columns-4"
|
|
11372
|
+
};
|
|
11373
|
+
/** The custom property a Grid tile crops toward. */
|
|
11374
|
+
const GALLERY_FOCAL_PROPERTY = "--bl-gallery-focal";
|
|
11375
|
+
const defaultPosition = (n, total) => `${n} of ${total}`;
|
|
11376
|
+
/**
|
|
11377
|
+
* A heading over a grid (or masonry) of images with optional captions.
|
|
11378
|
+
*
|
|
11379
|
+
* Each tile is a button that opens a modal lightbox on `Dialog`: the image
|
|
11380
|
+
* at full size, its caption and an "n of N" position, Previous / Next and
|
|
11381
|
+
* the arrow keys (wrapping), and Escape, the close button or the backdrop to
|
|
11382
|
+
* leave. The dialog is named "<alt>, n of N" and a polite live region
|
|
11383
|
+
* announces each move. On close, focus lands on the tile of the image that
|
|
11384
|
+
* was open, not the one that first opened the lightbox (WCAG 2.4.3).
|
|
11385
|
+
*/
|
|
11386
|
+
const GalleryBlock = React.forwardRef(({ heading, items, layout = "grid", columns = 3, labels, containerClassName, className, ...props }, ref) => {
|
|
11387
|
+
const headingId = React.useId();
|
|
11388
|
+
const [open, setOpen] = React.useState(false);
|
|
11389
|
+
const [index, setIndex] = React.useState(0);
|
|
11390
|
+
const [announcement, setAnnouncement] = React.useState("");
|
|
11391
|
+
const tiles = React.useRef([]);
|
|
11392
|
+
const openLabel = labels?.open ?? "Open image";
|
|
11393
|
+
const position = labels?.position ?? defaultPosition;
|
|
11394
|
+
const total = items.length;
|
|
11395
|
+
const at = Math.max(0, Math.min(index, total - 1));
|
|
11396
|
+
const current = items[at];
|
|
11397
|
+
const isMasonry = layout === "masonry";
|
|
11398
|
+
const move = (step) => {
|
|
11399
|
+
if (total < 2) return;
|
|
11400
|
+
const next = (at + step + total) % total;
|
|
11401
|
+
setIndex(next);
|
|
11402
|
+
const target = items[next];
|
|
11403
|
+
if (target) setAnnouncement(`${target.alt}, ${position(next + 1, total)}`);
|
|
11404
|
+
};
|
|
11405
|
+
const show = (n) => {
|
|
11406
|
+
setIndex(n);
|
|
11407
|
+
setAnnouncement("");
|
|
11408
|
+
setOpen(true);
|
|
11409
|
+
};
|
|
11410
|
+
if (total === 0) return null;
|
|
11411
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
11412
|
+
ref,
|
|
11413
|
+
"aria-labelledby": heading && !props["aria-label"] ? headingId : void 0,
|
|
11414
|
+
className,
|
|
11415
|
+
...props,
|
|
11416
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
11417
|
+
className: cn("mx-auto w-full max-w-7xl px-6 py-16 md:py-24", containerClassName),
|
|
11418
|
+
children: [heading ? /* @__PURE__ */ jsx("h2", {
|
|
11419
|
+
id: headingId,
|
|
11420
|
+
className: "mb-10 font-heading text-3xl font-semibold tracking-tight text-balance md:text-4xl",
|
|
11421
|
+
children: heading
|
|
11422
|
+
}) : null, /* @__PURE__ */ jsx("div", {
|
|
11423
|
+
className: cn(isMasonry ? cn("columns-1 gap-4 sm:columns-2", MASONRY_COLUMNS[columns]) : cn("grid grid-cols-1 gap-4 sm:grid-cols-2", GRID_COLUMNS[columns])),
|
|
11424
|
+
"data-gallery-layout": layout,
|
|
11425
|
+
children: items.map((item, n) => /* @__PURE__ */ jsxs("figure", {
|
|
11426
|
+
className: cn(isMasonry && "mb-4 break-inside-avoid"),
|
|
11427
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
11428
|
+
ref: (node) => {
|
|
11429
|
+
tiles.current[n] = node;
|
|
11430
|
+
},
|
|
11431
|
+
type: "button",
|
|
11432
|
+
"aria-label": `${openLabel}: ${item.alt}`,
|
|
11433
|
+
"aria-haspopup": "dialog",
|
|
11434
|
+
onClick: () => show(n),
|
|
11435
|
+
style: !isMasonry && item.position ? { [GALLERY_FOCAL_PROPERTY]: item.position } : void 0,
|
|
11436
|
+
className: cn("block w-full cursor-zoom-in overflow-hidden rounded-lg bg-muted ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", "[&_img]:w-full [&_img]:transition-transform [&_img]:duration-300 motion-safe:hover:[&_img]:scale-[1.03] motion-reduce:[&_img]:transition-none", isMasonry ? "[&_img]:h-auto" : "aspect-[4/3] [&_img]:h-full [&_img]:object-cover [&_img]:[object-position:var(--bl-gallery-focal,50%_50%)]"),
|
|
11437
|
+
children: item.thumbnail
|
|
11438
|
+
}), item.caption ? /* @__PURE__ */ jsx("figcaption", {
|
|
11439
|
+
className: "mt-2 text-sm text-muted-foreground",
|
|
11440
|
+
children: item.caption
|
|
11441
|
+
}) : null]
|
|
11442
|
+
}, n))
|
|
11443
|
+
})]
|
|
11444
|
+
}), /* @__PURE__ */ jsx(Dialog, {
|
|
11445
|
+
open,
|
|
11446
|
+
onOpenChange: setOpen,
|
|
11447
|
+
children: current ? /* @__PURE__ */ jsxs(DialogContent, {
|
|
11448
|
+
closeLabel: labels?.close ?? "Close",
|
|
11449
|
+
className: "w-[calc(100vw-2rem)] max-w-6xl gap-3 p-4 pt-14 motion-reduce:animate-none sm:p-6 sm:pt-14",
|
|
11450
|
+
onKeyDown: (event) => {
|
|
11451
|
+
if (event.key === "ArrowRight") {
|
|
11452
|
+
event.preventDefault();
|
|
11453
|
+
move(1);
|
|
11454
|
+
} else if (event.key === "ArrowLeft") {
|
|
11455
|
+
event.preventDefault();
|
|
11456
|
+
move(-1);
|
|
11457
|
+
}
|
|
11458
|
+
},
|
|
11459
|
+
onCloseAutoFocus: (event) => {
|
|
11460
|
+
event.preventDefault();
|
|
11461
|
+
tiles.current[at]?.focus();
|
|
11462
|
+
},
|
|
11463
|
+
...current.caption ? {} : { "aria-describedby": void 0 },
|
|
11464
|
+
children: [
|
|
11465
|
+
/* @__PURE__ */ jsx(DialogTitle, {
|
|
11466
|
+
className: "sr-only",
|
|
11467
|
+
children: `${current.alt}, ${position(at + 1, total)}`
|
|
11468
|
+
}),
|
|
11469
|
+
/* @__PURE__ */ jsx("div", {
|
|
11470
|
+
className: "flex justify-center [&_img]:h-auto [&_img]:max-h-[75vh] [&_img]:w-auto [&_img]:max-w-full [&_img]:object-contain",
|
|
11471
|
+
children: current.full
|
|
11472
|
+
}),
|
|
11473
|
+
current.caption ? /* @__PURE__ */ jsx(DialogDescription, {
|
|
11474
|
+
className: "text-center text-sm text-muted-foreground",
|
|
11475
|
+
children: current.caption
|
|
11476
|
+
}) : null,
|
|
11477
|
+
/* @__PURE__ */ jsxs("div", {
|
|
11478
|
+
className: "flex items-center justify-center gap-4",
|
|
11479
|
+
children: [
|
|
11480
|
+
total > 1 ? /* @__PURE__ */ jsx(Button, {
|
|
11481
|
+
type: "button",
|
|
11482
|
+
variant: "outline",
|
|
11483
|
+
size: "icon",
|
|
11484
|
+
"aria-label": labels?.previous ?? "Previous image",
|
|
11485
|
+
onClick: () => move(-1),
|
|
11486
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { "aria-hidden": true })
|
|
11487
|
+
}) : null,
|
|
11488
|
+
/* @__PURE__ */ jsx("p", {
|
|
11489
|
+
className: "text-sm tabular-nums text-muted-foreground",
|
|
11490
|
+
"aria-hidden": true,
|
|
11491
|
+
children: position(at + 1, total)
|
|
11492
|
+
}),
|
|
11493
|
+
total > 1 ? /* @__PURE__ */ jsx(Button, {
|
|
11494
|
+
type: "button",
|
|
11495
|
+
variant: "outline",
|
|
11496
|
+
size: "icon",
|
|
11497
|
+
"aria-label": labels?.next ?? "Next image",
|
|
11498
|
+
onClick: () => move(1),
|
|
11499
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { "aria-hidden": true })
|
|
11500
|
+
}) : null
|
|
11501
|
+
]
|
|
11502
|
+
}),
|
|
11503
|
+
/* @__PURE__ */ jsx("p", {
|
|
11504
|
+
className: "sr-only",
|
|
11505
|
+
"aria-live": "polite",
|
|
11506
|
+
"aria-atomic": "true",
|
|
11507
|
+
children: announcement
|
|
11508
|
+
})
|
|
11509
|
+
]
|
|
11510
|
+
}) : null
|
|
11511
|
+
})]
|
|
11512
|
+
});
|
|
11513
|
+
});
|
|
11514
|
+
GalleryBlock.displayName = "GalleryBlock";
|
|
11515
|
+
//#endregion
|
|
11516
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppSidebarBlock, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, BisonProvider, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CHROME_LOOK_CLASSES, CTA_BAND_MAX_ACTIONS, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, ChoiceboxGroup, ChoiceboxItem, CodeInput, Collapsible, CollapsibleContent, CollapsibleTrigger, 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, CtaBandBlock, CurrencyInput, DataTable, DataTableColumnHeader, DatePicker, DateRangePicker, 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, EmptyStateBlock, FAQColumnsBlock, FIELD_LABEL_SPACING, FIELD_NOTE_SPACING, FeatureChecklistBlock, FeatureHighlightsBlock, FieldGroupScope, FieldNote, FieldProvider, FilterButton, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, GALLERY_FOCAL_PROPERTY, GalleryBlock, HeaderBlock, HeroCompact, HeroSimple, HeroSweep, Input, InputGroup, InquiryFormBlock, JsonLd, Kbd, Label, LogoCloudBlock, LookSurface, MaintenanceBlock, MediaCard, MegaMenuPanel, NapBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, NotificationSettingsBlock, OutlinedField, PageShell, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverTrigger, ProcessStepsBlock, ProfileSettingsBlock, Progress, ProgressBar, RadioGroup, RadioGroupItem, Rating, ResetPasswordBlock, ResourcesBlock, ReviewsBlock, RotatingBadge, SavedPing, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShowcasePanelsBlock, Sidebar, SidebarBlock, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInBlock, SignUpBlock, Skeleton, Slider, SocialFeedBlock, SocialProviders, Spinner, StatsBandBlock, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperLabel, StepperSeparator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialCarousel, TestimonialMasonry, TextContent, TextEditor, Textarea, ThemeProvider, ThemeScope, ThemeShowcase, TimePicker, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipDescription, TooltipMedia, TooltipProvider, TooltipShortcut, TooltipTitle, TooltipTrigger, VerifyBlock, VideoBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, avgFooter, badgeVariants, buttonVariants, cn, countFooter, dateRangePresets, editableTitleVariants, describedBy as fieldDescribedBy, fieldSpacing, filterChips, filterCount, formatUsPhone, inlineEmphasis, inquiryFormSchema, 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, videoEmbedUrl };
|
|
11113
11517
|
|
|
11114
11518
|
//# sourceMappingURL=index.mjs.map
|