@bison-lab/ui 4.5.0 → 4.8.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 +95 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +258 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7412,6 +7412,229 @@ const MediaCard = React.forwardRef(({ image, fallbackIcon, badge, title, descrip
|
|
|
7412
7412
|
});
|
|
7413
7413
|
MediaCard.displayName = "MediaCard";
|
|
7414
7414
|
//#endregion
|
|
7415
|
+
//#region src/blocks/marketing/heroes/band.ts
|
|
7416
|
+
/**
|
|
7417
|
+
* Padding for a hero that already has its own, including the clearance under
|
|
7418
|
+
* the floating header.
|
|
7419
|
+
*
|
|
7420
|
+
* Package Default is that own padding, so the two do not stack. Compact and
|
|
7421
|
+
* Spacious replace it. Header clearance stays when it is the taller top, and
|
|
7422
|
+
* an optional bottom floor does the same for overlap. The class names are the
|
|
7423
|
+
* ones `RenderBlocks` puts on `sectionClassName`.
|
|
7424
|
+
*/
|
|
7425
|
+
const PACKAGE_SPACING = {
|
|
7426
|
+
compact: "py-8 lg:py-12",
|
|
7427
|
+
default: "py-16 lg:py-24",
|
|
7428
|
+
spacious: "py-24 lg:py-32"
|
|
7429
|
+
};
|
|
7430
|
+
const PAD_REM = {
|
|
7431
|
+
"6": 1.5,
|
|
7432
|
+
"8": 2,
|
|
7433
|
+
"10": 2.5,
|
|
7434
|
+
"12": 3,
|
|
7435
|
+
"16": 4,
|
|
7436
|
+
"20": 5,
|
|
7437
|
+
"24": 6,
|
|
7438
|
+
"28": 7,
|
|
7439
|
+
"32": 8,
|
|
7440
|
+
"36": 9,
|
|
7441
|
+
"48": 12
|
|
7442
|
+
};
|
|
7443
|
+
/** True when the band class already paints a surface, so the tone's fill steps aside. */
|
|
7444
|
+
function hasSectionBackground(className) {
|
|
7445
|
+
return Boolean(className?.split(/\s+/).some((name) => name.startsWith("bg-")));
|
|
7446
|
+
}
|
|
7447
|
+
/** Everything in a section class that is not vertical padding. */
|
|
7448
|
+
function sectionSurface(className) {
|
|
7449
|
+
return (className ?? "").split(/\s+/).filter((name) => name && !/^(?:[\w-]+:)?p[trblxy]?-/.test(name)).join(" ");
|
|
7450
|
+
}
|
|
7451
|
+
function sectionSpacing(className) {
|
|
7452
|
+
if (!className) return void 0;
|
|
7453
|
+
const tokens = new Set(className.split(/\s+/));
|
|
7454
|
+
if (tokens.has("py-8") && tokens.has("lg:py-12")) return "compact";
|
|
7455
|
+
if (tokens.has("py-24") && tokens.has("lg:py-32")) return "spacious";
|
|
7456
|
+
if (tokens.has("py-16") && tokens.has("lg:py-24")) return "default";
|
|
7457
|
+
}
|
|
7458
|
+
function padSize(token) {
|
|
7459
|
+
return token.slice(token.lastIndexOf("-") + 1);
|
|
7460
|
+
}
|
|
7461
|
+
function largerToken(a, b) {
|
|
7462
|
+
return (PAD_REM[padSize(a)] ?? 0) >= (PAD_REM[padSize(b)] ?? 0) ? a : b;
|
|
7463
|
+
}
|
|
7464
|
+
/**
|
|
7465
|
+
* Vertical padding for a band that already has its own.
|
|
7466
|
+
* Package Default is that own padding. Compact and Spacious replace it.
|
|
7467
|
+
*/
|
|
7468
|
+
function bandPadding(options) {
|
|
7469
|
+
const spacing = sectionSpacing(options.sectionClassName);
|
|
7470
|
+
if (!spacing || spacing === "default") return options.own;
|
|
7471
|
+
if (!options.clearance && !options.bottomFloor) return PACKAGE_SPACING[spacing];
|
|
7472
|
+
const top = spacing === "compact" ? {
|
|
7473
|
+
base: "pt-8",
|
|
7474
|
+
lg: "lg:pt-12"
|
|
7475
|
+
} : {
|
|
7476
|
+
base: "pt-24",
|
|
7477
|
+
lg: "lg:pt-32"
|
|
7478
|
+
};
|
|
7479
|
+
const bottom = spacing === "compact" ? {
|
|
7480
|
+
base: "pb-8",
|
|
7481
|
+
lg: "lg:pb-12"
|
|
7482
|
+
} : {
|
|
7483
|
+
base: "pb-24",
|
|
7484
|
+
lg: "lg:pb-32"
|
|
7485
|
+
};
|
|
7486
|
+
const clearance = options.clearance;
|
|
7487
|
+
const floor = options.bottomFloor;
|
|
7488
|
+
return [
|
|
7489
|
+
clearance ? largerToken(clearance.base, top.base) : top.base,
|
|
7490
|
+
clearance ? largerToken(clearance.lg, top.lg) : top.lg,
|
|
7491
|
+
floor ? largerToken(floor.base, bottom.base) : bottom.base,
|
|
7492
|
+
floor ? largerToken(floor.lg, bottom.lg) : bottom.lg
|
|
7493
|
+
].join(" ");
|
|
7494
|
+
}
|
|
7495
|
+
//#endregion
|
|
7496
|
+
//#region src/blocks/marketing/heroes/hero-sweep.tsx
|
|
7497
|
+
const DEFAULT_CONTAINER$1 = "mx-auto w-full max-w-7xl px-6";
|
|
7498
|
+
/**
|
|
7499
|
+
* The brand sweep from the source artwork, rebuilt from theme tokens.
|
|
7500
|
+
* Ordered dark-to-warm: copy sits on the left, where the type is measured
|
|
7501
|
+
* against brand-accent-950. The warm end stays on the right, behind nothing.
|
|
7502
|
+
*/
|
|
7503
|
+
const SWEEP_FILL = "bg-[linear-gradient(100deg,hsl(var(--brand-accent-950))_0%,hsl(var(--brand-accent-900))_18%,hsl(var(--secondary-800))_36%,hsl(var(--primary-700))_58%,hsl(var(--primary-600))_76%,hsl(var(--primary-500))_90%,hsl(var(--highlight-500))_100%)]";
|
|
7504
|
+
/**
|
|
7505
|
+
* Opening band. Sweep and dark flip the theme locally via `data-theme="dark"`
|
|
7506
|
+
* so tokens resolve to their dark values. Corners stay square.
|
|
7507
|
+
*/
|
|
7508
|
+
const HeroSweep = React.forwardRef(function HeroSweep({ eyebrow, heading, body, children, media, tone = "sweep", overlap = false, sectionClassName, containerClassName = DEFAULT_CONTAINER$1, className }, ref) {
|
|
7509
|
+
const isLight = tone === "light";
|
|
7510
|
+
const isSweep = tone === "sweep";
|
|
7511
|
+
const painted = hasSectionBackground(sectionClassName);
|
|
7512
|
+
const ownPadding = `pt-28 lg:pt-36 ${overlap ? "pb-36 lg:pb-48" : "pb-20 lg:pb-28"}`;
|
|
7513
|
+
const padding = sectionClassName === void 0 ? ownPadding : bandPadding({
|
|
7514
|
+
sectionClassName,
|
|
7515
|
+
own: ownPadding,
|
|
7516
|
+
clearance: {
|
|
7517
|
+
base: "pt-28",
|
|
7518
|
+
lg: "lg:pt-36"
|
|
7519
|
+
},
|
|
7520
|
+
bottomFloor: overlap ? {
|
|
7521
|
+
base: "pb-36",
|
|
7522
|
+
lg: "lg:pb-48"
|
|
7523
|
+
} : void 0
|
|
7524
|
+
});
|
|
7525
|
+
const toneClass = isLight ? "border-b border-border bg-background text-foreground" : isSweep ? cn(SWEEP_FILL, "relative overflow-hidden text-foreground") : "bg-brand-accent-950 text-foreground";
|
|
7526
|
+
const eyebrowInk = painted ? void 0 : isSweep ? "text-foreground/85" : "text-foreground";
|
|
7527
|
+
const bodyInk = painted ? void 0 : isSweep ? "text-foreground" : "text-muted-foreground";
|
|
7528
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
7529
|
+
ref,
|
|
7530
|
+
"data-tone": tone,
|
|
7531
|
+
"data-theme": painted || isLight ? void 0 : "dark",
|
|
7532
|
+
className: cn(painted ? "relative overflow-hidden" : toneClass, sectionSurface(sectionClassName), className),
|
|
7533
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
7534
|
+
className: cn(containerClassName, "relative z-10", padding, media && "grid gap-10 lg:grid-cols-[minmax(0,3fr)_minmax(0,2fr)] lg:items-center"),
|
|
7535
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
7536
|
+
className: "max-w-3xl",
|
|
7537
|
+
children: [
|
|
7538
|
+
eyebrow ? /* @__PURE__ */ jsx("p", {
|
|
7539
|
+
className: cn("mb-4 text-sm font-semibold tracking-wide uppercase", eyebrowInk),
|
|
7540
|
+
children: eyebrow
|
|
7541
|
+
}) : null,
|
|
7542
|
+
/* @__PURE__ */ jsx("h1", {
|
|
7543
|
+
className: "font-heading text-4xl font-bold tracking-tight text-balance sm:text-5xl lg:text-6xl",
|
|
7544
|
+
children: heading
|
|
7545
|
+
}),
|
|
7546
|
+
body ? /* @__PURE__ */ jsx("p", {
|
|
7547
|
+
className: cn("mt-6 max-w-2xl text-lg leading-relaxed", bodyInk),
|
|
7548
|
+
children: body
|
|
7549
|
+
}) : null,
|
|
7550
|
+
children ? /* @__PURE__ */ jsx("div", {
|
|
7551
|
+
className: "mt-8 flex flex-wrap gap-3",
|
|
7552
|
+
children
|
|
7553
|
+
}) : null
|
|
7554
|
+
]
|
|
7555
|
+
}), media ? /* @__PURE__ */ jsx("div", {
|
|
7556
|
+
className: "relative aspect-[3/2] overflow-hidden rounded-xl shadow-lg",
|
|
7557
|
+
children: media
|
|
7558
|
+
}) : null]
|
|
7559
|
+
}), isSweep && !painted ? /* @__PURE__ */ jsx("div", {
|
|
7560
|
+
"data-hero-texture": "dots",
|
|
7561
|
+
"aria-hidden": true,
|
|
7562
|
+
className: "pointer-events-none absolute inset-0 bg-[radial-gradient(circle,color-mix(in_srgb,white_20%,transparent)_1.4px,transparent_1.5px)] [background-size:22px_22px] [mask-image:linear-gradient(255deg,black_0_22%,transparent_48%)]"
|
|
7563
|
+
}) : null]
|
|
7564
|
+
});
|
|
7565
|
+
});
|
|
7566
|
+
//#endregion
|
|
7567
|
+
//#region src/blocks/marketing/heroes/hero-compact.tsx
|
|
7568
|
+
const DEFAULT_CONTAINER = "mx-auto w-full max-w-7xl px-6";
|
|
7569
|
+
/** Ink that reads `--look-ink` from a `[data-look]` binding a site supplies. */
|
|
7570
|
+
const LOOK_INK = "text-[hsl(var(--look-ink))] dark:text-[hsl(var(--look-ink-dark))]";
|
|
7571
|
+
/**
|
|
7572
|
+
* Image-led opening band, shorter than {@link HeroSweep}. The picture is the
|
|
7573
|
+
* surface; copy sits on the dark wash. `data-theme="dark"` stays on when no
|
|
7574
|
+
* section background replaces the fill: the band is dark in both themes.
|
|
7575
|
+
*
|
|
7576
|
+
* A site that tints the eyebrow from its own field (Spinal Simplicity's
|
|
7577
|
+
* Anatomy, wired in SPI-51) passes `look` or `eyebrowClassName`. This
|
|
7578
|
+
* component does not name that field.
|
|
7579
|
+
*/
|
|
7580
|
+
const HeroCompact = React.forwardRef(function HeroCompact({ eyebrow, heading, body, children, media, containerClassName = DEFAULT_CONTAINER, overlap = false, sectionClassName, eyebrowClassName, look, className }, ref) {
|
|
7581
|
+
const painted = hasSectionBackground(sectionClassName);
|
|
7582
|
+
const surface = sectionSurface(sectionClassName);
|
|
7583
|
+
const ownPadding = `pt-24 lg:pt-28 ${overlap ? "pb-28 lg:pb-36" : "pb-12 lg:pb-16"}`;
|
|
7584
|
+
const padding = sectionClassName === void 0 ? ownPadding : bandPadding({
|
|
7585
|
+
sectionClassName,
|
|
7586
|
+
own: ownPadding,
|
|
7587
|
+
clearance: {
|
|
7588
|
+
base: "pt-24",
|
|
7589
|
+
lg: "lg:pt-28"
|
|
7590
|
+
},
|
|
7591
|
+
bottomFloor: overlap ? {
|
|
7592
|
+
base: "pb-28",
|
|
7593
|
+
lg: "lg:pb-36"
|
|
7594
|
+
} : void 0
|
|
7595
|
+
});
|
|
7596
|
+
const eyebrowInk = painted ? void 0 : eyebrowClassName ?? (look ? LOOK_INK : "text-foreground");
|
|
7597
|
+
return /* @__PURE__ */ jsxs("section", {
|
|
7598
|
+
ref,
|
|
7599
|
+
"data-theme": painted ? void 0 : "dark",
|
|
7600
|
+
className: cn("relative overflow-hidden", painted ? void 0 : "bg-brand-accent-950 text-foreground", surface, className),
|
|
7601
|
+
children: [media ? /* @__PURE__ */ jsxs("div", {
|
|
7602
|
+
className: "absolute inset-0",
|
|
7603
|
+
children: [media, painted ? /* @__PURE__ */ jsx("div", {
|
|
7604
|
+
className: cn("absolute inset-0 opacity-90", surface),
|
|
7605
|
+
"aria-hidden": true
|
|
7606
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
7607
|
+
className: "absolute inset-0 bg-gradient-to-r from-brand-accent-950 via-brand-accent-950/75 to-brand-accent-950/35",
|
|
7608
|
+
"aria-hidden": true
|
|
7609
|
+
})]
|
|
7610
|
+
}) : null, /* @__PURE__ */ jsx("div", {
|
|
7611
|
+
className: cn(containerClassName, "relative z-10", padding),
|
|
7612
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
7613
|
+
className: "max-w-2xl",
|
|
7614
|
+
children: [
|
|
7615
|
+
eyebrow ? /* @__PURE__ */ jsx("p", {
|
|
7616
|
+
"data-look": look || void 0,
|
|
7617
|
+
className: cn("mb-3 text-sm font-semibold tracking-wide uppercase", eyebrowInk),
|
|
7618
|
+
children: eyebrow
|
|
7619
|
+
}) : null,
|
|
7620
|
+
/* @__PURE__ */ jsx("h1", {
|
|
7621
|
+
className: "font-heading text-3xl font-bold tracking-tight text-balance sm:text-4xl lg:text-5xl",
|
|
7622
|
+
children: heading
|
|
7623
|
+
}),
|
|
7624
|
+
body ? /* @__PURE__ */ jsx("p", {
|
|
7625
|
+
className: cn("mt-4 max-w-xl text-base leading-relaxed", painted ? void 0 : "text-muted-foreground"),
|
|
7626
|
+
children: body
|
|
7627
|
+
}) : null,
|
|
7628
|
+
children ? /* @__PURE__ */ jsx("div", {
|
|
7629
|
+
className: "mt-6 flex flex-wrap gap-3",
|
|
7630
|
+
children
|
|
7631
|
+
}) : null
|
|
7632
|
+
]
|
|
7633
|
+
})
|
|
7634
|
+
})]
|
|
7635
|
+
});
|
|
7636
|
+
});
|
|
7637
|
+
//#endregion
|
|
7415
7638
|
//#region src/blocks/marketing/json-ld.tsx
|
|
7416
7639
|
/**
|
|
7417
7640
|
* Maps a `NapRecord` — the same object rendered by `NapBlock` — onto
|
|
@@ -8724,15 +8947,14 @@ function ResourceScrim({ item, cardVariant }) {
|
|
|
8724
8947
|
return null;
|
|
8725
8948
|
}
|
|
8726
8949
|
/** Renders the card wrapper as an anchor, a button, or a plain div, depending on which action props are set. */
|
|
8727
|
-
function ResourceCardWrapper({ item, className, cardVariant, children }) {
|
|
8950
|
+
function ResourceCardWrapper({ item, className, cardVariant, renderLink, children }) {
|
|
8728
8951
|
const dataAttrs = {
|
|
8729
8952
|
"data-resource-id": item.id,
|
|
8730
8953
|
...cardVariant === "overlay" && { "data-card-variant": "overlay" }
|
|
8731
8954
|
};
|
|
8732
|
-
if (item.href) return
|
|
8955
|
+
if (item.href) return renderLink({
|
|
8733
8956
|
href: item.href,
|
|
8734
|
-
|
|
8735
|
-
rel: item.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
8957
|
+
...newTabAttributes(item.target === "_blank"),
|
|
8736
8958
|
"aria-label": item.header,
|
|
8737
8959
|
...dataAttrs,
|
|
8738
8960
|
className: cn("block focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2", className),
|
|
@@ -8788,10 +9010,11 @@ function OverlayCardBody({ item, categoryStyles, headingClassName }) {
|
|
|
8788
9010
|
})
|
|
8789
9011
|
] });
|
|
8790
9012
|
}
|
|
8791
|
-
function FeaturedResourceCard({ item, categoryStyles, cardVariant = "default" }) {
|
|
9013
|
+
function FeaturedResourceCard({ item, categoryStyles, cardVariant = "default", renderLink }) {
|
|
8792
9014
|
if (cardVariant === "overlay") return /* @__PURE__ */ jsx(ResourceCardWrapper, {
|
|
8793
9015
|
item,
|
|
8794
9016
|
cardVariant,
|
|
9017
|
+
renderLink,
|
|
8795
9018
|
className: "group relative min-h-[24rem] overflow-hidden rounded-lg shadow-sm transition-shadow hover:shadow-md",
|
|
8796
9019
|
children: /* @__PURE__ */ jsx(OverlayCardBody, {
|
|
8797
9020
|
item,
|
|
@@ -8802,6 +9025,7 @@ function FeaturedResourceCard({ item, categoryStyles, cardVariant = "default" })
|
|
|
8802
9025
|
return /* @__PURE__ */ jsxs(ResourceCardWrapper, {
|
|
8803
9026
|
item,
|
|
8804
9027
|
cardVariant,
|
|
9028
|
+
renderLink,
|
|
8805
9029
|
className: "group overflow-hidden rounded-lg border bg-card text-card-foreground shadow-sm transition-shadow hover:shadow-md",
|
|
8806
9030
|
children: [/* @__PURE__ */ jsx("div", {
|
|
8807
9031
|
className: "aspect-[16/9] w-full overflow-hidden",
|
|
@@ -8828,10 +9052,11 @@ function FeaturedResourceCard({ item, categoryStyles, cardVariant = "default" })
|
|
|
8828
9052
|
})]
|
|
8829
9053
|
});
|
|
8830
9054
|
}
|
|
8831
|
-
function ResourceListCard({ item, categoryStyles, cardVariant = "default" }) {
|
|
9055
|
+
function ResourceListCard({ item, categoryStyles, cardVariant = "default", renderLink }) {
|
|
8832
9056
|
if (cardVariant === "overlay") return /* @__PURE__ */ jsx(ResourceCardWrapper, {
|
|
8833
9057
|
item,
|
|
8834
9058
|
cardVariant,
|
|
9059
|
+
renderLink,
|
|
8835
9060
|
className: "group relative aspect-[2/1] min-h-[14rem] overflow-hidden rounded-lg shadow-sm transition-shadow hover:shadow-md",
|
|
8836
9061
|
children: /* @__PURE__ */ jsx(OverlayCardBody, {
|
|
8837
9062
|
item,
|
|
@@ -8841,6 +9066,7 @@ function ResourceListCard({ item, categoryStyles, cardVariant = "default" }) {
|
|
|
8841
9066
|
return /* @__PURE__ */ jsxs(ResourceCardWrapper, {
|
|
8842
9067
|
item,
|
|
8843
9068
|
cardVariant,
|
|
9069
|
+
renderLink,
|
|
8844
9070
|
className: "group flex flex-1 gap-4 rounded-lg border bg-card p-4 text-card-foreground shadow-sm transition-shadow hover:shadow-md",
|
|
8845
9071
|
children: [/* @__PURE__ */ jsx("div", {
|
|
8846
9072
|
className: "aspect-square w-24 shrink-0 overflow-hidden rounded-md",
|
|
@@ -8864,34 +9090,48 @@ function ResourceListCard({ item, categoryStyles, cardVariant = "default" }) {
|
|
|
8864
9090
|
})]
|
|
8865
9091
|
});
|
|
8866
9092
|
}
|
|
8867
|
-
const ResourcesBlock = React.forwardRef(({ title = "Resources & Whitepapers", subtitle, featured, resources, categoryStyles, cardVariant = "default", className, ...props }, ref) => {
|
|
9093
|
+
const ResourcesBlock = React.forwardRef(({ eyebrow, title = "Resources & Whitepapers", subtitle, featured, resources, categoryStyles, cardVariant = "default", renderLink = renderPlainLink, containerClassName, className, ...props }, ref) => {
|
|
8868
9094
|
return /* @__PURE__ */ jsx("section", {
|
|
8869
9095
|
ref,
|
|
8870
9096
|
className: cn("py-16 md:py-24", className),
|
|
8871
9097
|
...props,
|
|
8872
9098
|
children: /* @__PURE__ */ jsxs("div", {
|
|
8873
|
-
className: "mx-auto max-w-6xl px-4 sm:px-6",
|
|
9099
|
+
className: cn("mx-auto max-w-6xl px-4 sm:px-6", containerClassName),
|
|
8874
9100
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
8875
9101
|
className: "mb-8 max-w-2xl md:mb-12",
|
|
8876
|
-
children: [
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8880
|
-
|
|
8881
|
-
|
|
8882
|
-
|
|
9102
|
+
children: [
|
|
9103
|
+
eyebrow != null ? /* @__PURE__ */ jsx("div", {
|
|
9104
|
+
"data-resources-eyebrow": true,
|
|
9105
|
+
className: "mb-4",
|
|
9106
|
+
children: typeof eyebrow === "string" ? /* @__PURE__ */ jsx(Badge, {
|
|
9107
|
+
variant: "outline",
|
|
9108
|
+
className: "h-7 rounded-full px-3 font-medium",
|
|
9109
|
+
children: eyebrow
|
|
9110
|
+
}) : eyebrow
|
|
9111
|
+
}) : null,
|
|
9112
|
+
/* @__PURE__ */ jsx("h2", {
|
|
9113
|
+
className: "text-2xl font-semibold tracking-tight md:text-3xl",
|
|
9114
|
+
children: title
|
|
9115
|
+
}),
|
|
9116
|
+
subtitle && /* @__PURE__ */ jsx("p", {
|
|
9117
|
+
className: "mt-2 text-muted-foreground",
|
|
9118
|
+
children: subtitle
|
|
9119
|
+
})
|
|
9120
|
+
]
|
|
8883
9121
|
}), /* @__PURE__ */ jsxs("div", {
|
|
8884
9122
|
className: "grid gap-8 lg:grid-cols-2 lg:items-stretch",
|
|
8885
9123
|
children: [/* @__PURE__ */ jsx(FeaturedResourceCard, {
|
|
8886
9124
|
item: featured,
|
|
8887
9125
|
categoryStyles,
|
|
8888
|
-
cardVariant
|
|
9126
|
+
cardVariant,
|
|
9127
|
+
renderLink
|
|
8889
9128
|
}), /* @__PURE__ */ jsx("div", {
|
|
8890
9129
|
className: "flex flex-col gap-6",
|
|
8891
9130
|
children: resources.map((resource) => /* @__PURE__ */ jsx(ResourceListCard, {
|
|
8892
9131
|
item: resource,
|
|
8893
9132
|
categoryStyles,
|
|
8894
|
-
cardVariant
|
|
9133
|
+
cardVariant,
|
|
9134
|
+
renderLink
|
|
8895
9135
|
}, resource.id))
|
|
8896
9136
|
})]
|
|
8897
9137
|
})]
|
|
@@ -9915,6 +10155,6 @@ const ContrastStrip = React.forwardRef(({ checks, mode = "both", failingOnly = f
|
|
|
9915
10155
|
});
|
|
9916
10156
|
ContrastStrip.displayName = "ContrastStrip";
|
|
9917
10157
|
//#endregion
|
|
9918
|
-
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, 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, 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, FieldGroupScope, FieldNote, FieldProvider, FilterButton, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, JsonLd, Kbd, Label, 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, 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 };
|
|
10158
|
+
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, 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, 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, FieldGroupScope, FieldNote, FieldProvider, FilterButton, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, HeroCompact, HeroSweep, Input, InputGroup, JsonLd, Kbd, Label, 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, 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 };
|
|
9919
10159
|
|
|
9920
10160
|
//# sourceMappingURL=index.mjs.map
|