@sprintup-cms/sdk 1.8.71 → 1.8.74
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/CHANGELOG.md +70 -0
- package/README.md +10 -5
- package/dist/catch-all-CTLOY9lm.d.cts +38 -0
- package/dist/catch-all-CTLOY9lm.d.ts +38 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +17 -1
- package/dist/client.d.ts +17 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js.map +1 -1
- package/dist/next/index.cjs +16 -10
- package/dist/next/index.cjs.map +1 -1
- package/dist/next/index.d.cts +5 -13
- package/dist/next/index.d.ts +5 -13
- package/dist/next/index.js +16 -10
- package/dist/next/index.js.map +1 -1
- package/dist/react/index.cjs +7 -7
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +7 -7
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -68,7 +68,7 @@ function HeroBlock({ block }) {
|
|
|
68
68
|
d.badge && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `inline-block px-3 py-1 text-xs font-semibold rounded-full bg-secondary text-secondary-foreground mb-4`, children: d.badge }),
|
|
69
69
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: `text-4xl md:text-5xl font-bold tracking-tight mb-4 text-balance ${textAlign}`, children: d.title }),
|
|
70
70
|
d.subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-xl text-muted-foreground mb-8 ${textAlign}`, children: d.subtitle }),
|
|
71
|
-
(d.primaryButton || d.cta) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex
|
|
71
|
+
(d.primaryButton || d.cta) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex flex-wrap ${itemsAlign}`, style: { gap: "1rem" }, children: [
|
|
72
72
|
(d.primaryButton || d.cta) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
73
73
|
"a",
|
|
74
74
|
{
|
|
@@ -93,7 +93,7 @@ function CTABlock({ block }) {
|
|
|
93
93
|
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "py-12 px-8 rounded-xl bg-primary text-primary-foreground text-center", children: [
|
|
94
94
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl md:text-3xl font-bold mb-4", children: d.title }),
|
|
95
95
|
d.subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-primary-foreground/80 mb-6 max-w-2xl mx-auto", children: d.subtitle }),
|
|
96
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex
|
|
96
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-center flex-wrap", style: { gap: "1rem" }, children: [
|
|
97
97
|
d.primaryButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
98
98
|
"a",
|
|
99
99
|
{
|
|
@@ -480,7 +480,7 @@ function CenteredHeroBlock({ block }) {
|
|
|
480
480
|
children: d.subtitle
|
|
481
481
|
}
|
|
482
482
|
),
|
|
483
|
-
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex
|
|
483
|
+
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-center flex-wrap", style: { gap: "1rem" }, children: [
|
|
484
484
|
d.primaryButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
485
485
|
"a",
|
|
486
486
|
{
|
|
@@ -516,7 +516,7 @@ function ProductHeroBlock({ block }) {
|
|
|
516
516
|
d.badge && /* @__PURE__ */ jsxRuntime.jsx("span", { className: `inline-flex items-center gap-1.5 px-3 py-1 text-xs font-semibold rounded-full bg-primary/10 text-primary mb-5`, children: d.badge }),
|
|
517
517
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: `text-4xl md:text-5xl font-extrabold tracking-tight mb-5 text-balance leading-tight ${textAlign}`, children: d.title }),
|
|
518
518
|
d.subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-lg text-muted-foreground leading-relaxed text-pretty mb-8 ${textAlign}`, children: d.subtitle }),
|
|
519
|
-
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex
|
|
519
|
+
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex flex-wrap ${itemsAlign}`, style: { gap: "0.75rem" }, children: [
|
|
520
520
|
d.primaryButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
521
521
|
"a",
|
|
522
522
|
{
|
|
@@ -562,7 +562,7 @@ function BentoHeroBlock({ block }) {
|
|
|
562
562
|
d.badge && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-block px-3 py-1 text-xs font-semibold rounded-full bg-secondary text-secondary-foreground mb-5", children: d.badge }),
|
|
563
563
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: `text-4xl md:text-5xl font-extrabold tracking-tight mb-4 text-balance ${textAlign}`, children: d.title }),
|
|
564
564
|
d.subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-lg text-muted-foreground leading-relaxed text-pretty ${textAlign}`, children: d.subtitle }),
|
|
565
|
-
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex
|
|
565
|
+
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex flex-wrap ${itemsAlign}`, style: { gap: "0.75rem", marginTop: "1.75rem" }, children: [
|
|
566
566
|
d.primaryButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
567
567
|
"a",
|
|
568
568
|
{
|
|
@@ -607,7 +607,7 @@ function MinimalHeroBlock({ block }) {
|
|
|
607
607
|
d.eyebrow && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-xs uppercase tracking-[0.2em] font-semibold text-muted-foreground mb-5 ${textAlign}`, children: d.eyebrow }),
|
|
608
608
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: `text-5xl md:text-7xl font-black tracking-tight mb-6 text-balance leading-none whitespace-pre-line ${textAlign}`, children: d.title }),
|
|
609
609
|
d.subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-lg md:text-xl text-muted-foreground leading-relaxed text-pretty max-w-2xl mb-9 ${textAlign} ${mx}`, children: d.subtitle }),
|
|
610
|
-
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex
|
|
610
|
+
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex flex-wrap items-center ${itemsAlign}`, style: { gap: "1rem" }, children: [
|
|
611
611
|
d.primaryButton && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
612
612
|
"a",
|
|
613
613
|
{
|
|
@@ -640,7 +640,7 @@ function SplitHeroBlock({ block }) {
|
|
|
640
640
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex-1 space-y-5 ${itemsAlign} flex flex-col`, children: [
|
|
641
641
|
d.title && /* @__PURE__ */ jsxRuntime.jsx("h1", { className: `text-3xl md:text-5xl font-extrabold tracking-tight text-balance leading-tight ${textAlign}`, children: d.title }),
|
|
642
642
|
d.subtitle && /* @__PURE__ */ jsxRuntime.jsx("p", { className: `text-lg text-muted-foreground leading-relaxed text-pretty ${textAlign}`, children: d.subtitle }),
|
|
643
|
-
(d.button || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex flex-wrap
|
|
643
|
+
(d.button || d.secondaryButton) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `flex flex-wrap ${align === "center" ? "justify-center" : "justify-start"}`, style: { gap: "0.75rem", paddingTop: "0.5rem" }, children: [
|
|
644
644
|
d.button && /* @__PURE__ */ jsxRuntime.jsx("a", { href: d.buttonUrl || "#", className: "inline-flex items-center px-6 py-3 rounded-lg bg-primary text-primary-foreground font-semibold text-sm hover:opacity-90 transition-opacity", children: d.button }),
|
|
645
645
|
d.secondaryButton && /* @__PURE__ */ jsxRuntime.jsx("a", { href: d.secondaryUrl || "#", className: "inline-flex items-center px-6 py-3 rounded-lg border border-border text-foreground font-semibold text-sm hover:bg-muted transition-colors", children: d.secondaryButton })
|
|
646
646
|
] })
|