@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.js
CHANGED
|
@@ -727,18 +727,6 @@ function SplitHeroBlock({ block }) {
|
|
|
727
727
|
/* @__PURE__ */ jsx("div", { className: "flex-1 w-full", children: d.image ? /* @__PURE__ */ jsx("img", { src: d.image, alt: d.title || "", className: "w-full rounded-2xl object-cover shadow-lg border border-border" }) : /* @__PURE__ */ jsx("div", { className: "w-full rounded-2xl bg-muted border border-border aspect-video flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: "No image set" }) }) })
|
|
728
728
|
] }) });
|
|
729
729
|
}
|
|
730
|
-
function NavbarBlock({ block }) {
|
|
731
|
-
const d = getData(block);
|
|
732
|
-
const links = Array.isArray(d.links) ? d.links : [];
|
|
733
|
-
return /* @__PURE__ */ jsx("header", { className: `w-full border-b border-border bg-background/95 backdrop-blur ${d.sticky ? "sticky top-0 z-50" : ""}`, children: /* @__PURE__ */ jsxs("div", { className: "max-w-6xl mx-auto px-4 h-16 flex items-center justify-between gap-4", children: [
|
|
734
|
-
/* @__PURE__ */ jsxs("a", { href: "/", className: "flex items-center gap-2", children: [
|
|
735
|
-
d.logo && /* @__PURE__ */ jsx("img", { src: d.logo, alt: d.logoText || "Logo", className: "h-8 w-auto" }),
|
|
736
|
-
d.logoText && /* @__PURE__ */ jsx("span", { className: "font-bold text-base", children: d.logoText })
|
|
737
|
-
] }),
|
|
738
|
-
/* @__PURE__ */ jsx("nav", { className: "hidden md:flex items-center gap-6", children: links.map((link, i) => /* @__PURE__ */ jsx("a", { href: link.url || "#", className: "text-sm text-muted-foreground hover:text-foreground transition-colors", children: link.label }, i)) }),
|
|
739
|
-
d.ctaLabel && /* @__PURE__ */ 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 })
|
|
740
|
-
] }) });
|
|
741
|
-
}
|
|
742
730
|
function AccordionBlock({ block }) {
|
|
743
731
|
const d = getData(block);
|
|
744
732
|
const items = Array.isArray(d.items) ? d.items : [];
|
|
@@ -1001,7 +989,6 @@ var BUILT_IN = {
|
|
|
1001
989
|
"feature-grid": (b) => /* @__PURE__ */ jsx(FeatureGridBlock, { block: b }),
|
|
1002
990
|
"two-column": (b) => /* @__PURE__ */ jsx(TwoColumnBlock, { block: b }),
|
|
1003
991
|
"split-hero": (b) => /* @__PURE__ */ jsx(SplitHeroBlock, { block: b }),
|
|
1004
|
-
navbar: (b) => /* @__PURE__ */ jsx(NavbarBlock, { block: b }),
|
|
1005
992
|
accordion: (b) => /* @__PURE__ */ jsx(AccordionBlock, { block: b }),
|
|
1006
993
|
tabs: (b) => /* @__PURE__ */ jsx(TabsBlock, { block: b }),
|
|
1007
994
|
columns: (b) => /* @__PURE__ */ jsx(ColumnsBlock, { block: b }),
|