@burdenoff/website-sdk 2026.529.2 → 2026.529.4
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/components/pricing.js +9 -3
- package/dist/components/pricing.js.map +1 -1
- package/dist/components/pricing.mjs +9 -3
- package/dist/components/pricing.mjs.map +1 -1
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2701,7 +2701,13 @@ function PricingSection(props) {
|
|
|
2701
2701
|
if (loading) {
|
|
2702
2702
|
return /* @__PURE__ */ jsx("section", { id, className: `py-12 sm:py-16 md:py-20 ${className}`, children: /* @__PURE__ */ jsxs("div", { className: "container mx-auto px-4 sm:px-6", children: [
|
|
2703
2703
|
/* @__PURE__ */ jsxs("div", { className: "text-center mb-8 sm:mb-12", children: [
|
|
2704
|
-
sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }) :
|
|
2704
|
+
sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }) : (
|
|
2705
|
+
// Visually hidden but DOM-present heading so axe's heading-order
|
|
2706
|
+
// rule still sees an h2 between the consumer's hero h1 and the
|
|
2707
|
+
// h3 plan-card titles. See `getMetadataForPlan` for why a falsy
|
|
2708
|
+
// sectionHeading is the canonical "no visible heading" signal.
|
|
2709
|
+
/* @__PURE__ */ jsx("h2", { className: "sr-only", children: "Pricing" })
|
|
2710
|
+
),
|
|
2705
2711
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm sm:text-base md:text-lg", children: "Loading pricing information..." })
|
|
2706
2712
|
] }),
|
|
2707
2713
|
/* @__PURE__ */ jsx("div", { className: "grid md:grid-cols-3 gap-6 sm:gap-8", children: [1, 2, 3].map((i) => /* @__PURE__ */ jsxs(
|
|
@@ -2722,14 +2728,14 @@ function PricingSection(props) {
|
|
|
2722
2728
|
}
|
|
2723
2729
|
if (error && plans.length === 0) {
|
|
2724
2730
|
return /* @__PURE__ */ jsx("section", { id, className: `py-12 sm:py-16 md:py-20 ${className}`, children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-4 sm:px-6", children: /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
2725
|
-
sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-4", children: sectionHeading }) :
|
|
2731
|
+
sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-4", children: sectionHeading }) : /* @__PURE__ */ jsx("h2", { className: "sr-only", children: "Pricing" }),
|
|
2726
2732
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-8", children: error }),
|
|
2727
2733
|
/* @__PURE__ */ jsx(Button, { onClick: () => window.location.reload(), children: "Retry" })
|
|
2728
2734
|
] }) }) });
|
|
2729
2735
|
}
|
|
2730
2736
|
return /* @__PURE__ */ jsx("section", { id, className: `py-12 sm:py-16 md:py-20 ${className}`, children: /* @__PURE__ */ jsxs("div", { className: "container mx-auto px-4 sm:px-6", children: [
|
|
2731
2737
|
/* @__PURE__ */ jsxs("div", { className: "text-center mb-8 sm:mb-12", children: [
|
|
2732
|
-
sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }) :
|
|
2738
|
+
sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }) : /* @__PURE__ */ jsx("h2", { className: "sr-only", children: "Pricing" }),
|
|
2733
2739
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm sm:text-base md:text-lg mb-6", children: sectionSubtitle }),
|
|
2734
2740
|
props.showAudienceTabs && /* @__PURE__ */ jsx("div", { className: "flex justify-center mb-4", children: /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center bg-muted p-1.5 rounded-xl", children: [
|
|
2735
2741
|
/* @__PURE__ */ jsx(
|