@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.js
CHANGED
|
@@ -62,7 +62,7 @@ function HeroBlock({ block }) {
|
|
|
62
62
|
d.badge && /* @__PURE__ */ 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 }),
|
|
63
63
|
/* @__PURE__ */ jsx("h1", { className: `text-4xl md:text-5xl font-bold tracking-tight mb-4 text-balance ${textAlign}`, children: d.title }),
|
|
64
64
|
d.subtitle && /* @__PURE__ */ jsx("p", { className: `text-xl text-muted-foreground mb-8 ${textAlign}`, children: d.subtitle }),
|
|
65
|
-
(d.primaryButton || d.cta) && /* @__PURE__ */ jsxs("div", { className: `flex
|
|
65
|
+
(d.primaryButton || d.cta) && /* @__PURE__ */ jsxs("div", { className: `flex flex-wrap ${itemsAlign}`, style: { gap: "1rem" }, children: [
|
|
66
66
|
(d.primaryButton || d.cta) && /* @__PURE__ */ jsx(
|
|
67
67
|
"a",
|
|
68
68
|
{
|
|
@@ -87,7 +87,7 @@ function CTABlock({ block }) {
|
|
|
87
87
|
return /* @__PURE__ */ jsxs("section", { className: "py-12 px-8 rounded-xl bg-primary text-primary-foreground text-center", children: [
|
|
88
88
|
/* @__PURE__ */ jsx("h2", { className: "text-2xl md:text-3xl font-bold mb-4", children: d.title }),
|
|
89
89
|
d.subtitle && /* @__PURE__ */ jsx("p", { className: "text-primary-foreground/80 mb-6 max-w-2xl mx-auto", children: d.subtitle }),
|
|
90
|
-
/* @__PURE__ */ jsxs("div", { className: "flex
|
|
90
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-center flex-wrap", style: { gap: "1rem" }, children: [
|
|
91
91
|
d.primaryButton && /* @__PURE__ */ jsx(
|
|
92
92
|
"a",
|
|
93
93
|
{
|
|
@@ -474,7 +474,7 @@ function CenteredHeroBlock({ block }) {
|
|
|
474
474
|
children: d.subtitle
|
|
475
475
|
}
|
|
476
476
|
),
|
|
477
|
-
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: "flex
|
|
477
|
+
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: "flex justify-center flex-wrap", style: { gap: "1rem" }, children: [
|
|
478
478
|
d.primaryButton && /* @__PURE__ */ jsx(
|
|
479
479
|
"a",
|
|
480
480
|
{
|
|
@@ -510,7 +510,7 @@ function ProductHeroBlock({ block }) {
|
|
|
510
510
|
d.badge && /* @__PURE__ */ 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 }),
|
|
511
511
|
/* @__PURE__ */ jsx("h1", { className: `text-4xl md:text-5xl font-extrabold tracking-tight mb-5 text-balance leading-tight ${textAlign}`, children: d.title }),
|
|
512
512
|
d.subtitle && /* @__PURE__ */ jsx("p", { className: `text-lg text-muted-foreground leading-relaxed text-pretty mb-8 ${textAlign}`, children: d.subtitle }),
|
|
513
|
-
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: `flex
|
|
513
|
+
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: `flex flex-wrap ${itemsAlign}`, style: { gap: "0.75rem" }, children: [
|
|
514
514
|
d.primaryButton && /* @__PURE__ */ jsx(
|
|
515
515
|
"a",
|
|
516
516
|
{
|
|
@@ -556,7 +556,7 @@ function BentoHeroBlock({ block }) {
|
|
|
556
556
|
d.badge && /* @__PURE__ */ 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 }),
|
|
557
557
|
/* @__PURE__ */ jsx("h1", { className: `text-4xl md:text-5xl font-extrabold tracking-tight mb-4 text-balance ${textAlign}`, children: d.title }),
|
|
558
558
|
d.subtitle && /* @__PURE__ */ jsx("p", { className: `text-lg text-muted-foreground leading-relaxed text-pretty ${textAlign}`, children: d.subtitle }),
|
|
559
|
-
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: `flex
|
|
559
|
+
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: `flex flex-wrap ${itemsAlign}`, style: { gap: "0.75rem", marginTop: "1.75rem" }, children: [
|
|
560
560
|
d.primaryButton && /* @__PURE__ */ jsx(
|
|
561
561
|
"a",
|
|
562
562
|
{
|
|
@@ -601,7 +601,7 @@ function MinimalHeroBlock({ block }) {
|
|
|
601
601
|
d.eyebrow && /* @__PURE__ */ jsx("p", { className: `text-xs uppercase tracking-[0.2em] font-semibold text-muted-foreground mb-5 ${textAlign}`, children: d.eyebrow }),
|
|
602
602
|
/* @__PURE__ */ 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 }),
|
|
603
603
|
d.subtitle && /* @__PURE__ */ 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 }),
|
|
604
|
-
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: `flex
|
|
604
|
+
(d.primaryButton || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: `flex flex-wrap items-center ${itemsAlign}`, style: { gap: "1rem" }, children: [
|
|
605
605
|
d.primaryButton && /* @__PURE__ */ jsxs(
|
|
606
606
|
"a",
|
|
607
607
|
{
|
|
@@ -634,7 +634,7 @@ function SplitHeroBlock({ block }) {
|
|
|
634
634
|
/* @__PURE__ */ jsxs("div", { className: `flex-1 space-y-5 ${itemsAlign} flex flex-col`, children: [
|
|
635
635
|
d.title && /* @__PURE__ */ jsx("h1", { className: `text-3xl md:text-5xl font-extrabold tracking-tight text-balance leading-tight ${textAlign}`, children: d.title }),
|
|
636
636
|
d.subtitle && /* @__PURE__ */ jsx("p", { className: `text-lg text-muted-foreground leading-relaxed text-pretty ${textAlign}`, children: d.subtitle }),
|
|
637
|
-
(d.button || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: `flex flex-wrap
|
|
637
|
+
(d.button || d.secondaryButton) && /* @__PURE__ */ jsxs("div", { className: `flex flex-wrap ${align === "center" ? "justify-center" : "justify-start"}`, style: { gap: "0.75rem", paddingTop: "0.5rem" }, children: [
|
|
638
638
|
d.button && /* @__PURE__ */ 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 }),
|
|
639
639
|
d.secondaryButton && /* @__PURE__ */ 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 })
|
|
640
640
|
] })
|