@bison-lab/ui 3.1.0 → 3.3.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 +238 -22
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +362 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -238,7 +238,7 @@ function buildGoogleFontsUrl(fonts) {
|
|
|
238
238
|
function fontFamilyValue(font, fallback) {
|
|
239
239
|
return `"${font.family}", ${fallback}`;
|
|
240
240
|
}
|
|
241
|
-
function BisonProvider({ children, brandColors, radius = "rounded", shadow = "subtle", motion = "smooth", density = "default", attribute = "
|
|
241
|
+
function BisonProvider({ children, brandColors, radius = "rounded", shadow = "subtle", motion = "smooth", density = "default", attribute = "data-theme", defaultTheme = "system", storageKey = "bison-theme", bodyFont = {
|
|
242
242
|
family: "Inter",
|
|
243
243
|
weights: [
|
|
244
244
|
400,
|
|
@@ -5677,14 +5677,40 @@ function HeaderBlock({ logo, nav, actions, onMenuToggle, sticky = true, classNam
|
|
|
5677
5677
|
});
|
|
5678
5678
|
}
|
|
5679
5679
|
//#endregion
|
|
5680
|
+
//#region src/lib/render-link.tsx
|
|
5681
|
+
/** The default: a plain anchor. */
|
|
5682
|
+
const renderPlainLink = ({ children, ...rest }) => /* @__PURE__ */ jsx("a", {
|
|
5683
|
+
...rest,
|
|
5684
|
+
children
|
|
5685
|
+
});
|
|
5686
|
+
/** `target` and `rel` together, or neither: a bare `target` is a tabnabbing hole. */
|
|
5687
|
+
function newTabAttributes(newTab) {
|
|
5688
|
+
return newTab ? {
|
|
5689
|
+
target: "_blank",
|
|
5690
|
+
rel: "noopener noreferrer"
|
|
5691
|
+
} : {};
|
|
5692
|
+
}
|
|
5693
|
+
//#endregion
|
|
5680
5694
|
//#region src/blocks/layout/floating-nav-block.tsx
|
|
5695
|
+
/** Static so Tailwind sees both pairs. */
|
|
5696
|
+
const BREAKPOINTS = {
|
|
5697
|
+
md: {
|
|
5698
|
+
nav: "hidden md:flex",
|
|
5699
|
+
trigger: "md:hidden"
|
|
5700
|
+
},
|
|
5701
|
+
lg: {
|
|
5702
|
+
nav: "hidden lg:flex",
|
|
5703
|
+
trigger: "lg:hidden"
|
|
5704
|
+
}
|
|
5705
|
+
};
|
|
5681
5706
|
const PANEL_COLUMNS = {
|
|
5682
5707
|
1: "w-[min(92vw,20rem)] grid-cols-1",
|
|
5683
5708
|
2: "w-[min(92vw,36rem)] grid-cols-1 sm:grid-cols-2",
|
|
5684
5709
|
3: "w-[min(92vw,48rem)] grid-cols-1 sm:grid-cols-3"
|
|
5685
5710
|
};
|
|
5686
|
-
const FloatingNavBlock = React.forwardRef(({ logo, items = [], actions, renderLink, hideOnScroll = true, scrollThreshold = 80, viewport = false, navLabel = "Main", mobileMenuLabel = "Toggle menu", containerClassName, navClassName, className, ...props }, ref) => {
|
|
5687
|
-
const [
|
|
5711
|
+
const FloatingNavBlock = React.forwardRef(({ logo, items = [], actions, renderLink, openItem, hideOnScroll = true, scrollThreshold = 80, viewport = false, breakpoint = "md", navLabel = "Main", mobileMenuLabel = "Toggle menu", containerClassName, navClassName, className, ...props }, ref) => {
|
|
5712
|
+
const [hoveredPanel, setHoveredPanel] = React.useState("");
|
|
5713
|
+
const openPanel = openItem ?? hoveredPanel;
|
|
5688
5714
|
const [mobileOpen, setMobileOpen] = React.useState(false);
|
|
5689
5715
|
const { hidden, scrolled } = useHideOnScroll({
|
|
5690
5716
|
threshold: scrollThreshold,
|
|
@@ -5693,14 +5719,7 @@ const FloatingNavBlock = React.forwardRef(({ logo, items = [], actions, renderLi
|
|
|
5693
5719
|
const closeDrawerOnLink = React.useCallback((event) => {
|
|
5694
5720
|
if (event.target.closest("a")) setMobileOpen(false);
|
|
5695
5721
|
}, []);
|
|
5696
|
-
const link =
|
|
5697
|
-
if (renderLink) return renderLink(linkProps);
|
|
5698
|
-
const { children, ...rest } = linkProps;
|
|
5699
|
-
return /* @__PURE__ */ jsx("a", {
|
|
5700
|
-
...rest,
|
|
5701
|
-
children
|
|
5702
|
-
});
|
|
5703
|
-
}, [renderLink]);
|
|
5722
|
+
const link = renderLink ?? renderPlainLink;
|
|
5704
5723
|
return /* @__PURE__ */ jsx("header", {
|
|
5705
5724
|
ref,
|
|
5706
5725
|
"data-hidden": hidden,
|
|
@@ -5720,8 +5739,8 @@ const FloatingNavBlock = React.forwardRef(({ logo, items = [], actions, renderLi
|
|
|
5720
5739
|
"aria-label": navLabel,
|
|
5721
5740
|
viewport,
|
|
5722
5741
|
value: openPanel,
|
|
5723
|
-
onValueChange:
|
|
5724
|
-
className:
|
|
5742
|
+
onValueChange: setHoveredPanel,
|
|
5743
|
+
className: BREAKPOINTS[breakpoint].nav,
|
|
5725
5744
|
children: /* @__PURE__ */ jsx(NavigationMenuList, {
|
|
5726
5745
|
className: "gap-1",
|
|
5727
5746
|
children: items.map((item) => {
|
|
@@ -5777,7 +5796,7 @@ const FloatingNavBlock = React.forwardRef(({ logo, items = [], actions, renderLi
|
|
|
5777
5796
|
children: /* @__PURE__ */ jsx(Button, {
|
|
5778
5797
|
variant: "ghost",
|
|
5779
5798
|
size: "icon",
|
|
5780
|
-
className:
|
|
5799
|
+
className: BREAKPOINTS[breakpoint].trigger,
|
|
5781
5800
|
"aria-label": mobileMenuLabel,
|
|
5782
5801
|
children: /* @__PURE__ */ jsx(Menu, {
|
|
5783
5802
|
className: "size-5",
|
|
@@ -5843,6 +5862,208 @@ const FloatingNavBlock = React.forwardRef(({ logo, items = [], actions, renderLi
|
|
|
5843
5862
|
});
|
|
5844
5863
|
FloatingNavBlock.displayName = "FloatingNavBlock";
|
|
5845
5864
|
//#endregion
|
|
5865
|
+
//#region src/blocks/layout/mega-menu-panel.tsx
|
|
5866
|
+
/**
|
|
5867
|
+
* Twelfths, so every token is a whole number of tracks and 33 + 66 = 12 like
|
|
5868
|
+
* 50 + 50 does. `minmax(0, …)` keeps a long label from widening its column
|
|
5869
|
+
* past its share.
|
|
5870
|
+
*/
|
|
5871
|
+
const TWELFTHS = {
|
|
5872
|
+
25: 3,
|
|
5873
|
+
33: 4,
|
|
5874
|
+
50: 6,
|
|
5875
|
+
66: 8,
|
|
5876
|
+
75: 9,
|
|
5877
|
+
100: 12
|
|
5878
|
+
};
|
|
5879
|
+
/**
|
|
5880
|
+
* A panel anchors under its own trigger (`NavigationMenuContent` is absolute
|
|
5881
|
+
* at the item's left edge), so the room it has is the distance from that
|
|
5882
|
+
* trigger to the bar's right edge, not the viewport. That is tightest at the
|
|
5883
|
+
* rightmost dropdown on the narrowest desktop layout: about 58vw, measured
|
|
5884
|
+
* on the site this reproduces at 1024px. Every cap is `min(58vw, …)`, with a
|
|
5885
|
+
* rem ceiling so a wide display does not grow the panel past the bar. Static
|
|
5886
|
+
* strings, so Tailwind can see them. All `lg:`-prefixed, because below `lg`
|
|
5887
|
+
* the panel is the drawer's flat list and takes the drawer's width; the bar
|
|
5888
|
+
* that carries a panel therefore has to switch at `lg` too
|
|
5889
|
+
* (`FloatingNavBlock` `breakpoint="lg"`).
|
|
5890
|
+
*/
|
|
5891
|
+
const MAX_WIDTHS = {
|
|
5892
|
+
narrow: "lg:w-[min(58vw,22rem)]",
|
|
5893
|
+
standard: "lg:w-[min(58vw,42rem)]",
|
|
5894
|
+
wide: "lg:w-[min(58vw,48rem)]"
|
|
5895
|
+
};
|
|
5896
|
+
/**
|
|
5897
|
+
* A custom cap rides a variable rather than an inline `width`, so it is
|
|
5898
|
+
* read by the same `lg:` rule as the tokens and cannot widen the panel
|
|
5899
|
+
* inside the mobile drawer.
|
|
5900
|
+
*/
|
|
5901
|
+
const CUSTOM_MAX_WIDTH = "lg:w-[min(58vw,var(--mega-menu-cap))]";
|
|
5902
|
+
function isMaxWidthToken(value) {
|
|
5903
|
+
return value in MAX_WIDTHS;
|
|
5904
|
+
}
|
|
5905
|
+
function megaMenuGridColumns(columns) {
|
|
5906
|
+
return columns.map((column) => column.customWidth ?? `minmax(0, ${TWELFTHS[column.width ?? 100]}fr)`).join(" ");
|
|
5907
|
+
}
|
|
5908
|
+
/**
|
|
5909
|
+
* `gap-5` between sections against `gap-0.5` (`gap-1` when featured) between
|
|
5910
|
+
* rows inside one: the eyebrows only read as headings if the space above one
|
|
5911
|
+
* beats the space between its own rows by an obvious margin.
|
|
5912
|
+
*/
|
|
5913
|
+
const SECTION_GAP = "flex flex-col gap-5";
|
|
5914
|
+
const EYEBROW = "text-xs font-semibold uppercase tracking-wide text-muted-foreground";
|
|
5915
|
+
/** Lighter in the drawer, the way the live header sets its section labels below `lg`. */
|
|
5916
|
+
const MOBILE_EYEBROW = "mb-2 text-xs font-normal uppercase tracking-wider text-muted-foreground";
|
|
5917
|
+
const MOBILE_ROW = "block rounded-md py-2 text-sm text-foreground transition-colors hover:bg-accent hover:text-accent-foreground";
|
|
5918
|
+
const MegaMenuPanel = React.forwardRef(({ maxWidth = "standard", columns, footer, variants = {}, icons = {}, renderLink = renderPlainLink, className, style, ...props }, ref) => {
|
|
5919
|
+
const id = React.useId();
|
|
5920
|
+
const overview = footer?.overview;
|
|
5921
|
+
const cta = footer?.cta;
|
|
5922
|
+
const hasFooter = Boolean(overview || cta);
|
|
5923
|
+
const capClass = isMaxWidthToken(maxWidth) ? MAX_WIDTHS[maxWidth] : CUSTOM_MAX_WIDTH;
|
|
5924
|
+
const capStyle = isMaxWidthToken(maxWidth) ? void 0 : { "--mega-menu-cap": maxWidth };
|
|
5925
|
+
const link = (target, linkProps, children) => renderLink({
|
|
5926
|
+
href: target.href,
|
|
5927
|
+
...newTabAttributes(target.newTab),
|
|
5928
|
+
...linkProps,
|
|
5929
|
+
children
|
|
5930
|
+
});
|
|
5931
|
+
const featuredLink = (item) => {
|
|
5932
|
+
const variant = item.variant ? variants[item.variant] : void 0;
|
|
5933
|
+
return link(item, { className: "group flex gap-4 rounded-lg p-3 transition-colors hover:bg-accent focus-visible:bg-accent" }, /* @__PURE__ */ jsxs(Fragment, { children: [variant?.icon ? /* @__PURE__ */ jsx("span", {
|
|
5934
|
+
"data-slot": "chip",
|
|
5935
|
+
className: cn("flex size-10 shrink-0 items-center justify-center rounded-md", variant.chip),
|
|
5936
|
+
children: variant.icon
|
|
5937
|
+
}) : null, /* @__PURE__ */ jsxs("span", {
|
|
5938
|
+
className: "min-w-0",
|
|
5939
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
5940
|
+
className: cn("block text-base font-semibold text-foreground", variant?.title),
|
|
5941
|
+
children: item.label
|
|
5942
|
+
}), item.description ? /* @__PURE__ */ jsx("span", {
|
|
5943
|
+
className: "mt-1.5 block text-sm leading-snug text-muted-foreground",
|
|
5944
|
+
children: item.description
|
|
5945
|
+
}) : null]
|
|
5946
|
+
})] }));
|
|
5947
|
+
};
|
|
5948
|
+
const listLink = (item) => {
|
|
5949
|
+
const icon = item.icon ? icons[item.icon] : void 0;
|
|
5950
|
+
return link(item, { className: "group flex items-start gap-3 rounded-md px-2 py-2 text-sm transition-colors hover:bg-accent hover:text-accent-foreground" }, /* @__PURE__ */ jsxs(Fragment, { children: [icon ? /* @__PURE__ */ jsx("span", {
|
|
5951
|
+
className: "mt-0.5 shrink-0 text-muted-foreground",
|
|
5952
|
+
children: icon
|
|
5953
|
+
}) : null, /* @__PURE__ */ jsxs("span", {
|
|
5954
|
+
className: "min-w-0",
|
|
5955
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
5956
|
+
className: "block font-medium text-foreground",
|
|
5957
|
+
children: item.label
|
|
5958
|
+
}), item.description ? /* @__PURE__ */ jsx("span", {
|
|
5959
|
+
className: "mt-1 block text-sm leading-snug text-muted-foreground",
|
|
5960
|
+
children: item.description
|
|
5961
|
+
}) : null]
|
|
5962
|
+
})] }));
|
|
5963
|
+
};
|
|
5964
|
+
const mobileLink = (item, featured, showDescription) => {
|
|
5965
|
+
const variant = featured && item.variant ? variants[item.variant] : void 0;
|
|
5966
|
+
const text = showDescription && item.description ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
5967
|
+
className: "block",
|
|
5968
|
+
children: item.label
|
|
5969
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
5970
|
+
className: "mt-0.5 block text-sm text-muted-foreground",
|
|
5971
|
+
children: item.description
|
|
5972
|
+
})] }) : item.label;
|
|
5973
|
+
return link(item, { className: cn(MOBILE_ROW, variant?.icon && "flex items-center gap-4 rounded-lg py-3") }, variant?.icon ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
5974
|
+
"data-slot": "chip",
|
|
5975
|
+
className: cn("flex size-10 shrink-0 items-center justify-center rounded-md", variant.chip),
|
|
5976
|
+
children: variant.icon
|
|
5977
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
5978
|
+
className: "min-w-0",
|
|
5979
|
+
children: text
|
|
5980
|
+
})] }) : text);
|
|
5981
|
+
};
|
|
5982
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
5983
|
+
ref,
|
|
5984
|
+
"data-slot": "panel",
|
|
5985
|
+
className: cn("group/mega-menu", capClass, className),
|
|
5986
|
+
style: {
|
|
5987
|
+
...capStyle,
|
|
5988
|
+
...style
|
|
5989
|
+
},
|
|
5990
|
+
...props,
|
|
5991
|
+
children: [
|
|
5992
|
+
/* @__PURE__ */ jsx("div", {
|
|
5993
|
+
"data-slot": "desktop",
|
|
5994
|
+
className: "hidden gap-6 p-4 lg:grid",
|
|
5995
|
+
style: { gridTemplateColumns: megaMenuGridColumns(columns) },
|
|
5996
|
+
children: columns.map((column, c) => /* @__PURE__ */ jsx("div", {
|
|
5997
|
+
"data-slot": "column",
|
|
5998
|
+
className: cn("min-w-0", SECTION_GAP, column.divider && "border-l border-border pl-6"),
|
|
5999
|
+
children: column.sections.map((section, s) => {
|
|
6000
|
+
const eyebrowId = section.eyebrow ? `${id}-${c}-${s}` : void 0;
|
|
6001
|
+
const featured = section.display === "featured";
|
|
6002
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
6003
|
+
"data-slot": "section",
|
|
6004
|
+
children: [section.eyebrow ? /* @__PURE__ */ jsx("p", {
|
|
6005
|
+
id: eyebrowId,
|
|
6006
|
+
className: cn(EYEBROW, featured ? "px-3" : "px-2"),
|
|
6007
|
+
children: section.eyebrow
|
|
6008
|
+
}) : null, /* @__PURE__ */ jsx("ul", {
|
|
6009
|
+
"aria-labelledby": eyebrowId,
|
|
6010
|
+
className: cn("flex flex-col", featured ? "gap-1" : "gap-0.5", section.eyebrow && "mt-2"),
|
|
6011
|
+
children: section.links.map((item, l) => /* @__PURE__ */ jsx("li", { children: featured ? featuredLink(item) : listLink(item) }, `${item.href}-${l}`))
|
|
6012
|
+
})]
|
|
6013
|
+
}, s);
|
|
6014
|
+
})
|
|
6015
|
+
}, c))
|
|
6016
|
+
}),
|
|
6017
|
+
/* @__PURE__ */ jsxs("div", {
|
|
6018
|
+
"data-slot": "mobile",
|
|
6019
|
+
className: "flex flex-col gap-5 lg:hidden",
|
|
6020
|
+
children: [overview ? link(overview, { className: MOBILE_ROW }, overview.label) : null, columns.flatMap((column, c) => column.sections.map((section, s) => /* @__PURE__ */ jsxs("div", {
|
|
6021
|
+
"data-slot": "section",
|
|
6022
|
+
children: [section.eyebrow ? /* @__PURE__ */ jsx("p", {
|
|
6023
|
+
className: MOBILE_EYEBROW,
|
|
6024
|
+
children: section.eyebrow
|
|
6025
|
+
}) : null, /* @__PURE__ */ jsx("div", {
|
|
6026
|
+
className: "flex flex-col gap-0.5",
|
|
6027
|
+
children: section.links.map((item, l) => /* @__PURE__ */ jsx(React.Fragment, { children: mobileLink(item, section.display === "featured", section.hideDescriptionsOnMobile === false) }, l))
|
|
6028
|
+
})]
|
|
6029
|
+
}, `${c}-${s}`)))]
|
|
6030
|
+
}),
|
|
6031
|
+
hasFooter ? /* @__PURE__ */ jsxs("div", {
|
|
6032
|
+
"data-slot": "footer",
|
|
6033
|
+
className: cn("mt-4 flex flex-col border-t border-border bg-muted px-4 py-4 lg:mt-0 lg:flex-row lg:items-center lg:justify-between lg:gap-3 lg:py-3", !cta && "max-lg:hidden"),
|
|
6034
|
+
children: [overview ? link(overview, { className: "hidden h-10 items-center gap-1.5 text-sm font-medium text-primary underline underline-offset-2 lg:inline-flex" }, /* @__PURE__ */ jsxs(Fragment, { children: [overview.label, /* @__PURE__ */ jsx(ArrowRight, {
|
|
6035
|
+
className: "size-4",
|
|
6036
|
+
"aria-hidden": true
|
|
6037
|
+
})] })) : null, cta ? /* @__PURE__ */ jsx(Button, {
|
|
6038
|
+
asChild: true,
|
|
6039
|
+
size: "sm",
|
|
6040
|
+
className: "w-full lg:w-auto",
|
|
6041
|
+
children: link(cta, {}, cta.label)
|
|
6042
|
+
}) : null]
|
|
6043
|
+
}) : null
|
|
6044
|
+
]
|
|
6045
|
+
});
|
|
6046
|
+
});
|
|
6047
|
+
MegaMenuPanel.displayName = "MegaMenuPanel";
|
|
6048
|
+
/**
|
|
6049
|
+
* A whole menu as `FloatingNavBlock` items, so a site with a code-owned menu
|
|
6050
|
+
* passes one config and nothing else — plus `breakpoint="lg"` on the bar,
|
|
6051
|
+
* because the panels flatten below `lg` and the bar must switch there too.
|
|
6052
|
+
*/
|
|
6053
|
+
function megaMenuToFloatingNavItems(menu, { isActive, variants, icons, renderLink } = {}) {
|
|
6054
|
+
return menu.items.map((item) => ({
|
|
6055
|
+
label: item.label,
|
|
6056
|
+
...item.href ? { href: item.href } : {},
|
|
6057
|
+
active: item.href && isActive?.(item.href) || void 0,
|
|
6058
|
+
...item.panel ? { content: /* @__PURE__ */ jsx(MegaMenuPanel, {
|
|
6059
|
+
...item.panel,
|
|
6060
|
+
variants,
|
|
6061
|
+
icons,
|
|
6062
|
+
renderLink
|
|
6063
|
+
}) } : {}
|
|
6064
|
+
}));
|
|
6065
|
+
}
|
|
6066
|
+
//#endregion
|
|
5846
6067
|
//#region src/blocks/layout/sidebar-block.tsx
|
|
5847
6068
|
function SidebarItemComponent({ item, collapsed }) {
|
|
5848
6069
|
return /* @__PURE__ */ jsxs(item.href ? "a" : "button", {
|
|
@@ -6265,7 +6486,7 @@ const JsonLd = React.forwardRef(({ data, nonce }, ref) => {
|
|
|
6265
6486
|
JsonLd.displayName = "JsonLd";
|
|
6266
6487
|
//#endregion
|
|
6267
6488
|
//#region src/blocks/marketing/nap-block.tsx
|
|
6268
|
-
const NapBlock = React.forwardRef(({ record, showName = true, headingLevel = "h3", addressIcon, phoneIcon, className, ...props }, ref) => {
|
|
6489
|
+
const NapBlock = React.forwardRef(({ record, showName = true, headingLevel = "h3", addressIcon, phoneIcon, renderLink = renderPlainLink, className, ...props }, ref) => {
|
|
6269
6490
|
const { name, address, departments, url } = record;
|
|
6270
6491
|
const country = address.addressCountry ?? "US";
|
|
6271
6492
|
const Heading = headingLevel;
|
|
@@ -6277,7 +6498,7 @@ const NapBlock = React.forwardRef(({ record, showName = true, headingLevel = "h3
|
|
|
6277
6498
|
children: [
|
|
6278
6499
|
showName && /* @__PURE__ */ jsx(Heading, {
|
|
6279
6500
|
className: "text-base font-semibold tracking-tight",
|
|
6280
|
-
children: url ?
|
|
6501
|
+
children: url ? renderLink({
|
|
6281
6502
|
href: url,
|
|
6282
6503
|
className: "hover:underline",
|
|
6283
6504
|
children: name
|
|
@@ -6317,7 +6538,7 @@ const NapBlock = React.forwardRef(({ record, showName = true, headingLevel = "h3
|
|
|
6317
6538
|
}), /* @__PURE__ */ jsxs("span", { children: [multiDepartment && /* @__PURE__ */ jsxs("span", {
|
|
6318
6539
|
className: "mr-1.5 font-medium text-foreground",
|
|
6319
6540
|
children: [dept.name, ":"]
|
|
6320
|
-
}),
|
|
6541
|
+
}), renderLink({
|
|
6321
6542
|
href: `tel:${dept.phone.e164}`,
|
|
6322
6543
|
className: "hover:underline",
|
|
6323
6544
|
children: dept.phone.display ?? formatUsPhone(dept.phone.e164)
|
|
@@ -6347,7 +6568,7 @@ function toRoman(n) {
|
|
|
6347
6568
|
return out;
|
|
6348
6569
|
}
|
|
6349
6570
|
const EASE_LAYOUT = "cubic-bezier(0, 0, 0.2, 1)";
|
|
6350
|
-
const ShowcasePanelsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, activeIndex: activeIndexProp, onActiveIndexChange, onItemAction, watermark, ariaLabel = "Showcase panels", actionLabel = (item) => `Read more about ${item.title}`, actionIcon, renderImage, spineVariant = "numbered", renderSpine, labels, className, ...props }, ref) => {
|
|
6571
|
+
const ShowcasePanelsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, activeIndex: activeIndexProp, onActiveIndexChange, onItemAction, watermark, ariaLabel = "Showcase panels", actionLabel = (item) => `Read more about ${item.title}`, actionIcon, renderLink = renderPlainLink, renderImage, spineVariant = "numbered", renderSpine, labels, className, ...props }, ref) => {
|
|
6351
6572
|
const [activeIndexState, setActiveIndexState] = React.useState(defaultActiveIndex);
|
|
6352
6573
|
const activeIndex = activeIndexProp ?? activeIndexState;
|
|
6353
6574
|
const [hoverIndex, setHoverIndex] = React.useState(null);
|
|
@@ -6445,7 +6666,7 @@ const ShowcasePanelsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, a
|
|
|
6445
6666
|
strokeWidth: 1.5
|
|
6446
6667
|
});
|
|
6447
6668
|
const actionClass = "group/cta absolute top-5 right-5 z-10 grid size-10 place-items-center rounded-full bg-foreground/10 text-foreground backdrop-blur-sm transition-colors hover:bg-foreground/20 focus-visible:ring-2 focus-visible:ring-foreground/40 focus-visible:outline-none";
|
|
6448
|
-
if (item.href) return
|
|
6669
|
+
if (item.href) return renderLink({
|
|
6449
6670
|
href: item.href,
|
|
6450
6671
|
"aria-label": actionLabel(item),
|
|
6451
6672
|
className: actionClass,
|
|
@@ -6844,8 +7065,121 @@ const ProcessStepsBlock = React.forwardRef(({ items, defaultActiveIndex = 0, act
|
|
|
6844
7065
|
});
|
|
6845
7066
|
ProcessStepsBlock.displayName = "ProcessStepsBlock";
|
|
6846
7067
|
//#endregion
|
|
7068
|
+
//#region src/blocks/marketing/stats-band-block.tsx
|
|
7069
|
+
const DESKTOP_COLUMNS = {
|
|
7070
|
+
2: "lg:grid-cols-2",
|
|
7071
|
+
3: "lg:grid-cols-3",
|
|
7072
|
+
4: "lg:grid-cols-4",
|
|
7073
|
+
5: "lg:grid-cols-5",
|
|
7074
|
+
6: "lg:grid-cols-6"
|
|
7075
|
+
};
|
|
7076
|
+
const TABLET_SPAN = {
|
|
7077
|
+
2: "md:col-span-2",
|
|
7078
|
+
3: "md:col-span-3",
|
|
7079
|
+
6: "md:col-span-6"
|
|
7080
|
+
};
|
|
7081
|
+
/**
|
|
7082
|
+
* Phones: two per row. An odd count puts one stat on a row of its own, and
|
|
7083
|
+
* that stat spans the row — the first usable flag, else the first stat. An
|
|
7084
|
+
* even count has no such stat, whatever is flagged.
|
|
7085
|
+
*
|
|
7086
|
+
* Usable means the stat starts a row (an even index). A span-2 cell at an
|
|
7087
|
+
* odd index cannot fit beside the cell before it, so the grid would push it
|
|
7088
|
+
* down and leave a bordered hole in the row above; the flag is ignored there
|
|
7089
|
+
* rather than reordering the stats to fill the hole.
|
|
7090
|
+
*/
|
|
7091
|
+
function wideIndex(items) {
|
|
7092
|
+
if (items.length % 2 === 0) return -1;
|
|
7093
|
+
const flagged = items.findIndex((item, i) => item.wide && i % 2 === 0);
|
|
7094
|
+
return Math.max(flagged, 0);
|
|
7095
|
+
}
|
|
7096
|
+
/**
|
|
7097
|
+
* Tablets: three per row on a six-track grid, so a short last row can
|
|
7098
|
+
* stretch to fill — two leftovers take half each, one takes the row. Four
|
|
7099
|
+
* is the exception and goes two by two: three and a lonely one reads as a
|
|
7100
|
+
* mistake, and two by two is what the strip does on a phone anyway.
|
|
7101
|
+
*/
|
|
7102
|
+
function tabletSpans(count) {
|
|
7103
|
+
if (count === 4) return [
|
|
7104
|
+
3,
|
|
7105
|
+
3,
|
|
7106
|
+
3,
|
|
7107
|
+
3
|
|
7108
|
+
];
|
|
7109
|
+
const remainder = count % 3;
|
|
7110
|
+
return Array.from({ length: count }, (_, i) => {
|
|
7111
|
+
if (i < count - remainder) return 2;
|
|
7112
|
+
return remainder === 2 ? 3 : 6;
|
|
7113
|
+
});
|
|
7114
|
+
}
|
|
7115
|
+
const StatsBandBlock = React.forwardRef(({ items, columns, tone = "card", align = "start", eyebrow, title, description, headingLevel: Heading = "h2", ariaLabel = "At a glance", renderLink = renderPlainLink, renderItem, containerClassName, className, ...props }, ref) => {
|
|
7116
|
+
const uid = React.useId();
|
|
7117
|
+
const headingId = `${uid}-heading`;
|
|
7118
|
+
if (items.length < 2) return null;
|
|
7119
|
+
const desktopColumns = Math.min(columns ?? items.length, items.length, 6);
|
|
7120
|
+
const wide = wideIndex(items);
|
|
7121
|
+
const tablet = tabletSpans(items.length);
|
|
7122
|
+
const centered = align === "center";
|
|
7123
|
+
const hasHeader = title != null;
|
|
7124
|
+
return /* @__PURE__ */ jsx("section", {
|
|
7125
|
+
ref,
|
|
7126
|
+
"aria-labelledby": hasHeader ? headingId : void 0,
|
|
7127
|
+
"aria-label": hasHeader ? void 0 : ariaLabel,
|
|
7128
|
+
className: cn("relative", className),
|
|
7129
|
+
...props,
|
|
7130
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
7131
|
+
className: cn("mx-auto max-w-6xl px-4 sm:px-6", containerClassName),
|
|
7132
|
+
children: [(hasHeader || eyebrow != null || description != null) && /* @__PURE__ */ jsxs("div", {
|
|
7133
|
+
className: cn("mb-10", centered && "text-center"),
|
|
7134
|
+
children: [
|
|
7135
|
+
typeof eyebrow === "string" ? /* @__PURE__ */ jsx(Badge, {
|
|
7136
|
+
variant: "outline",
|
|
7137
|
+
className: "h-7 rounded-full px-3 font-medium",
|
|
7138
|
+
children: eyebrow
|
|
7139
|
+
}) : eyebrow,
|
|
7140
|
+
hasHeader && /* @__PURE__ */ jsx(Heading, {
|
|
7141
|
+
id: headingId,
|
|
7142
|
+
className: cn("text-3xl leading-[1.05] font-light tracking-tight md:text-4xl", eyebrow != null && "mt-6"),
|
|
7143
|
+
children: title
|
|
7144
|
+
}),
|
|
7145
|
+
description != null && /* @__PURE__ */ jsx("p", {
|
|
7146
|
+
className: cn("mt-4 max-w-2xl text-base leading-relaxed text-muted-foreground", centered && "mx-auto"),
|
|
7147
|
+
children: description
|
|
7148
|
+
})
|
|
7149
|
+
]
|
|
7150
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
7151
|
+
className: cn("overflow-hidden", tone === "card" && "rounded-xl border border-border bg-card shadow-md"),
|
|
7152
|
+
children: /* @__PURE__ */ jsx("dl", {
|
|
7153
|
+
className: cn("-mr-px -mb-px grid grid-cols-2 md:grid-cols-6", DESKTOP_COLUMNS[desktopColumns]),
|
|
7154
|
+
children: items.map((item, i) => {
|
|
7155
|
+
const labelId = `${uid}-label-${i}`;
|
|
7156
|
+
const linked = Boolean(item.href);
|
|
7157
|
+
return /* @__PURE__ */ jsx("div", {
|
|
7158
|
+
className: cn("relative flex flex-col-reverse justify-end gap-2 border-r border-b border-border px-6 py-8 last:border-r-0 sm:px-8", centered && "items-center text-center", linked && "transition-colors hover:bg-muted/40", i === wide && "col-span-2", TABLET_SPAN[tablet[i]], "lg:col-span-1"),
|
|
7159
|
+
children: renderItem ? renderItem(item, i) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("dt", {
|
|
7160
|
+
id: labelId,
|
|
7161
|
+
className: "max-w-[24ch] text-sm leading-relaxed text-muted-foreground",
|
|
7162
|
+
children: item.label
|
|
7163
|
+
}), /* @__PURE__ */ jsx("dd", {
|
|
7164
|
+
className: "font-heading text-3xl font-bold tracking-tight text-primary sm:text-4xl",
|
|
7165
|
+
children: linked ? renderLink({
|
|
7166
|
+
href: item.href,
|
|
7167
|
+
"aria-describedby": labelId,
|
|
7168
|
+
className: "outline-none after:absolute after:inset-0 focus-visible:after:ring-2 focus-visible:after:ring-ring focus-visible:after:ring-inset",
|
|
7169
|
+
children: item.value
|
|
7170
|
+
}) : item.value
|
|
7171
|
+
})] })
|
|
7172
|
+
}, item.id);
|
|
7173
|
+
})
|
|
7174
|
+
})
|
|
7175
|
+
})]
|
|
7176
|
+
})
|
|
7177
|
+
});
|
|
7178
|
+
});
|
|
7179
|
+
StatsBandBlock.displayName = "StatsBandBlock";
|
|
7180
|
+
//#endregion
|
|
6847
7181
|
//#region src/blocks/marketing/faq-columns-block.tsx
|
|
6848
|
-
const FAQColumnsBlock = React.forwardRef(({ items, title, description, eyebrow, icon, cta, sticky = true, type = "single", collapsible = true, defaultValue, value, onValueChange, containerClassName, gridClassName, asideClassName, eyebrowClassName, titleClassName, descriptionClassName, ctaClassName, listClassName, itemClassName, questionClassName, answerClassName, className, ...props }, ref) => {
|
|
7182
|
+
const FAQColumnsBlock = React.forwardRef(({ items, title, description, eyebrow, icon, cta, renderLink = renderPlainLink, sticky = true, type = "single", collapsible = true, defaultValue, value, onValueChange, containerClassName, gridClassName, asideClassName, eyebrowClassName, titleClassName, descriptionClassName, ctaClassName, listClassName, itemClassName, questionClassName, answerClassName, className, ...props }, ref) => {
|
|
6849
7183
|
const headingId = React.useId();
|
|
6850
7184
|
const hasHeaderRow = eyebrow != null || icon !== null;
|
|
6851
7185
|
const accordionProps = {
|
|
@@ -6896,20 +7230,17 @@ const FAQColumnsBlock = React.forwardRef(({ items, title, description, eyebrow,
|
|
|
6896
7230
|
children: [/* @__PURE__ */ jsx("p", {
|
|
6897
7231
|
className: "text-sm text-muted-foreground",
|
|
6898
7232
|
children: cta.title
|
|
6899
|
-
}),
|
|
7233
|
+
}), renderLink({
|
|
6900
7234
|
href: cta.href,
|
|
6901
|
-
...cta.newTab
|
|
6902
|
-
target: "_blank",
|
|
6903
|
-
rel: "noopener noreferrer"
|
|
6904
|
-
} : {},
|
|
7235
|
+
...newTabAttributes(cta.newTab),
|
|
6905
7236
|
className: "group/faq-cta mt-1.5 inline-flex items-center gap-2 text-sm tracking-tight text-foreground transition-colors",
|
|
6906
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
7237
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
6907
7238
|
className: "border-b border-transparent transition-colors group-hover/faq-cta:border-current",
|
|
6908
7239
|
children: cta.linkText
|
|
6909
7240
|
}), cta.icon === void 0 ? /* @__PURE__ */ jsx(MoveUpRight, {
|
|
6910
7241
|
"aria-hidden": true,
|
|
6911
7242
|
className: "size-3.5 transition-transform group-hover/faq-cta:-translate-y-0.5 group-hover/faq-cta:translate-x-0.5"
|
|
6912
|
-
}) : cta.icon]
|
|
7243
|
+
}) : cta.icon] })
|
|
6913
7244
|
})]
|
|
6914
7245
|
}) : null
|
|
6915
7246
|
]
|
|
@@ -7093,7 +7424,7 @@ function measureClampHeight(cards, gridTop, maxVisibleRows) {
|
|
|
7093
7424
|
for (const top of visibleTops) for (const card of rows.get(top) ?? []) bottom = Math.max(bottom, card.getBoundingClientRect().bottom);
|
|
7094
7425
|
return bottom - gridTop;
|
|
7095
7426
|
}
|
|
7096
|
-
const TestimonialMasonry = React.forwardRef(({ items, title, description, eyebrow, link, minItemsForFade = 7, minItemsForClamp = 10, maxVisibleRows = 2, containerClassName, eyebrowClassName, titleClassName, descriptionClassName, gridWrapperClassName, gridClassName, cardClassName, contentClassName, authorNameClassName, authorTitleClassName, avatarClassName, fadeClassName, linkClassName, className, ...props }, ref) => {
|
|
7427
|
+
const TestimonialMasonry = React.forwardRef(({ items, title, description, eyebrow, link, renderLink = renderPlainLink, minItemsForFade = 7, minItemsForClamp = 10, maxVisibleRows = 2, containerClassName, eyebrowClassName, titleClassName, descriptionClassName, gridWrapperClassName, gridClassName, cardClassName, contentClassName, authorNameClassName, authorTitleClassName, avatarClassName, fadeClassName, linkClassName, className, ...props }, ref) => {
|
|
7097
7428
|
const headingId = React.useId();
|
|
7098
7429
|
const gridRef = React.useRef(null);
|
|
7099
7430
|
const [clampHeight, setClampHeight] = React.useState();
|
|
@@ -7200,12 +7531,9 @@ const TestimonialMasonry = React.forwardRef(({ items, title, description, eyebro
|
|
|
7200
7531
|
asChild: true,
|
|
7201
7532
|
variant: link.variant ?? "default",
|
|
7202
7533
|
size: link.size ?? "lg",
|
|
7203
|
-
children:
|
|
7534
|
+
children: renderLink({
|
|
7204
7535
|
href: link.href,
|
|
7205
|
-
...link.newTab
|
|
7206
|
-
target: "_blank",
|
|
7207
|
-
rel: "noopener noreferrer"
|
|
7208
|
-
} : {},
|
|
7536
|
+
...newTabAttributes(link.newTab),
|
|
7209
7537
|
children: link.label
|
|
7210
7538
|
})
|
|
7211
7539
|
})
|
|
@@ -8014,6 +8342,6 @@ function NotificationSettingsBlock({ groups, onSave, loading = false, error, dis
|
|
|
8014
8342
|
});
|
|
8015
8343
|
}
|
|
8016
8344
|
//#endregion
|
|
8017
|
-
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, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, 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, 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, FieldGroupScope, FieldProvider, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, JsonLd, Label, MaintenanceBlock, MediaCard, 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, 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, TimePicker, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, formatUsPhone, napRecordToJsonLd, navigationMenuTriggerStyle, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, switchVariants, testimonialInitials, toast, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
8345
|
+
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, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, 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, 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, FieldGroupScope, FieldProvider, FloatingNavBlock, FooterBlock, ForgotPasswordBlock, Form, FormError, FormField, HeaderBlock, Input, InputGroup, JsonLd, Label, 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, TimePicker, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerifyBlock, actionNegativeToneClasses, actionNeutralIconChromeClasses, actionNeutralToneClasses, actionPositiveToneClasses, alertVariants, avatarVariants, badgeVariants, buttonVariants, cn, dateRangePresets, editableTitleVariants, formatUsPhone, megaMenuGridColumns, megaMenuToFloatingNavItems, napRecordToJsonLd, navigationMenuTriggerStyle, newTabAttributes, outlinedFieldNestResetClasses, parseUsPhoneDigits, progressBarVariants, ratingVariants, renderPlainLink, spinnerVariants, stepperIndicatorVariants, stepperItemVariants, stepperLabelVariants, switchVariants, testimonialInitials, toast, useCarousel, useDensity, useField, useFieldControl, useFieldGroup, useFieldIds, useFormContext, useHideOnScroll, useIsMobile, useScrollReveal, useSidebar, useTheme };
|
|
8018
8346
|
|
|
8019
8347
|
//# sourceMappingURL=index.mjs.map
|