@sprintup-cms/sdk 1.8.46 → 1.8.49
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/next/index.cjs +0 -13
- package/dist/next/index.cjs.map +1 -1
- package/dist/next/index.js +0 -13
- package/dist/next/index.js.map +1 -1
- package/dist/react/index.cjs +0 -13
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +0 -13
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
package/dist/next/index.cjs
CHANGED
|
@@ -733,18 +733,6 @@ function SplitHeroBlock({ block }) {
|
|
|
733
733
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 w-full", children: d.image ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: d.image, alt: d.title || "", className: "w-full rounded-2xl object-cover shadow-lg border border-border" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full rounded-2xl bg-muted border border-border aspect-video flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground", children: "No image set" }) }) })
|
|
734
734
|
] }) });
|
|
735
735
|
}
|
|
736
|
-
function NavbarBlock({ block }) {
|
|
737
|
-
const d = getData(block);
|
|
738
|
-
const links = Array.isArray(d.links) ? d.links : [];
|
|
739
|
-
return /* @__PURE__ */ jsxRuntime.jsx("header", { className: `w-full border-b border-border bg-background/95 backdrop-blur ${d.sticky ? "sticky top-0 z-50" : ""}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-6xl mx-auto px-4 h-16 flex items-center justify-between gap-4", children: [
|
|
740
|
-
/* @__PURE__ */ jsxRuntime.jsxs("a", { href: "/", className: "flex items-center gap-2", children: [
|
|
741
|
-
d.logo && /* @__PURE__ */ jsxRuntime.jsx("img", { src: d.logo, alt: d.logoText || "Logo", className: "h-8 w-auto" }),
|
|
742
|
-
d.logoText && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-bold text-base", children: d.logoText })
|
|
743
|
-
] }),
|
|
744
|
-
/* @__PURE__ */ jsxRuntime.jsx("nav", { className: "hidden md:flex items-center gap-6", children: links.map((link, i) => /* @__PURE__ */ jsxRuntime.jsx("a", { href: link.url || "#", className: "text-sm text-muted-foreground hover:text-foreground transition-colors", children: link.label }, i)) }),
|
|
745
|
-
d.ctaLabel && /* @__PURE__ */ jsxRuntime.jsx("a", { href: d.ctaUrl || "#", className: "inline-flex items-center px-4 py-2 rounded-lg bg-primary text-primary-foreground text-sm font-semibold hover:opacity-90 transition-opacity", children: d.ctaLabel })
|
|
746
|
-
] }) });
|
|
747
|
-
}
|
|
748
736
|
function AccordionBlock({ block }) {
|
|
749
737
|
const d = getData(block);
|
|
750
738
|
const items = Array.isArray(d.items) ? d.items : [];
|
|
@@ -1007,7 +995,6 @@ var BUILT_IN = {
|
|
|
1007
995
|
"feature-grid": (b) => /* @__PURE__ */ jsxRuntime.jsx(FeatureGridBlock, { block: b }),
|
|
1008
996
|
"two-column": (b) => /* @__PURE__ */ jsxRuntime.jsx(TwoColumnBlock, { block: b }),
|
|
1009
997
|
"split-hero": (b) => /* @__PURE__ */ jsxRuntime.jsx(SplitHeroBlock, { block: b }),
|
|
1010
|
-
navbar: (b) => /* @__PURE__ */ jsxRuntime.jsx(NavbarBlock, { block: b }),
|
|
1011
998
|
accordion: (b) => /* @__PURE__ */ jsxRuntime.jsx(AccordionBlock, { block: b }),
|
|
1012
999
|
tabs: (b) => /* @__PURE__ */ jsxRuntime.jsx(TabsBlock, { block: b }),
|
|
1013
1000
|
columns: (b) => /* @__PURE__ */ jsxRuntime.jsx(ColumnsBlock, { block: b }),
|