@charisol/plexo-sdk 1.1.4 → 1.1.5

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.
@@ -1190,6 +1190,14 @@ var Z = (e) => {
1190
1190
  ...h,
1191
1191
  height: n(e, "auto")
1192
1192
  })}">${_.htmlContent || _.text || ""}</div>`;
1193
+ case "blog_title":
1194
+ case "blog_content":
1195
+ case "blog_featured_image":
1196
+ case "blog_date":
1197
+ case "blog_author":
1198
+ case "blog_categories":
1199
+ case "blog_comments":
1200
+ case "blog_post_list": return `<div${v} data-plexo-blog-${e.type.replace(/^blog_/, "").replace(/_([a-z])/g, (e, t) => t.toUpperCase())}="true" style="${z(h)}"></div>`;
1193
1201
  case "social": {
1194
1202
  let t = i(e), n = h.textAlign === "center" ? "center" : h.textAlign === "right" ? "flex-end" : "flex-start";
1195
1203
  return `<div${v} style="${z({
package/dist/compiler.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./compiler-BpXCk9OP.js";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./compiler-BUxk_f8d.js";
2
2
  export { c as DEFAULT_BODY_FONT_FAMILY, i as FORM_NON_CSS_STYLE_KEYS, o as collectResponsiveRule, n as compileToHTML, e as compileToHTMLWithStrataAuto, a as compileToPlainText, s as convertSectionRowToPlexoRow, t as getFormDefaultStyle, r as getInlineStylesImportant, l as injectStrataBundle };
@@ -111,6 +111,14 @@ var u = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d =
111
111
  case "button": return `${T}<a${x}${C} href="${p(f.href || "#")}" style="${b}">${p(f.text || "Button")}</a>`;
112
112
  case "image": return `${T}<img${x}${C} src="${p(f.src || "")}" alt="${p(f.alt || "")}" style="${b}" />`;
113
113
  case "html": return `${T}<div${x}${C} style="${b}">${String(f.htmlContent || "")}</div>`;
114
+ case "blog_title":
115
+ case "blog_content":
116
+ case "blog_featured_image":
117
+ case "blog_date":
118
+ case "blog_author":
119
+ case "blog_categories":
120
+ case "blog_comments":
121
+ case "blog_post_list": return `${T}<div${x}${C} data-plexo-blog-${e.type.replace(/^blog_/, "").replace(/_([a-z])/g, (e, t) => t.toUpperCase())}="true" style="${b}"></div>`;
114
122
  default: return `${T}<div${x}${C} style="${b}">${p(f.text || "")}</div>`;
115
123
  }
116
124
  }, S = (t, n) => {
@@ -59,4 +59,12 @@ export declare const ICONS: {
59
59
  accessibility: React.JSX.Element;
60
60
  settings: React.JSX.Element;
61
61
  strataTab: React.JSX.Element;
62
+ blogTitle: React.JSX.Element;
63
+ blogContent: React.JSX.Element;
64
+ blogFeaturedImage: React.JSX.Element;
65
+ blogDate: React.JSX.Element;
66
+ blogAuthor: React.JSX.Element;
67
+ blogCategories: React.JSX.Element;
68
+ blogComments: React.JSX.Element;
69
+ blogPostList: React.JSX.Element;
62
70
  };
@@ -5,6 +5,8 @@ interface ContentTabProps {
5
5
  ICONS: Record<string, React.ReactNode>;
6
6
  tierFeatures?: SdkTierFeatures;
7
7
  templateKind?: "landing_page" | "email" | string;
8
+ /** Shows the "Blog" block group below the regular palette — see PlexoBuilderProps.isBlogLayout. */
9
+ isBlogLayout?: boolean;
8
10
  onTapAdd?: (data: any) => void;
9
11
  }
10
12
  export declare const ContentTab: React.FC<ContentTabProps>;