@charisol/plexo-sdk 1.4.26 → 1.4.28

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.
@@ -655,7 +655,7 @@ var ie = (g, _ = !1) => {
655
655
  width: e.width,
656
656
  height: e.height
657
657
  });
658
- return `<div style="text-align: ${v.textAlign || "center"};"><a${w} href="${C.href || "#"}" target="${C.openInNewTab ? "_blank" : "_self"}" style="display: inline-block; text-decoration: none; ${t}">${C.text || "Button"}</a></div>`;
658
+ return `<div style="text-align: ${v.textAlign || "center"};"><a${w} href="${C.href || "#"}" target="${C.openInNewTab ? "_blank" : "_self"}" style="display: inline-block; text-decoration: none; box-sizing: border-box; ${t}">${C.text || "Button"}</a></div>`;
659
659
  }
660
660
  case "image": {
661
661
  let e = h(g), t = v.textAlign === "center" ? "margin: 0 auto; display: block;" : v.textAlign === "right" ? "margin-left: auto; display: block;" : "display: inline-block;", n = P({
package/dist/compiler.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./compiler-ZeSTpC8a.js";
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./compiler-DPGmKqbx.js";
2
2
  export { l as DEFAULT_BODY_FONT_FAMILY, a as FORM_NON_CSS_STYLE_KEYS, s as collectResponsiveRule, r as compileToHTML, e as compileToHTMLWithStrataAuto, o as compileToPlainText, c as convertSectionRowToPlexoRow, t as getFormDefaultStyle, i as getInlineStylesImportant, u as htmlToPlainText, n as injectStrataBundle };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { i as e, n as t, o as n, r, s as i, t as a } from "./sanitizeCompiledHtml-D3k1f2jT.js";
2
2
  import { S as o, _ as s, a as c, b as l, c as u, f as d, h as f, i as p, l as m, o as h, p as g, s as _, u as v, x as y, y as b } from "./iconSvgStatic-CGue7nyp.js";
3
- import { a as x, d as S, f as C, i as ee, o as te, u as w } from "./compiler-ZeSTpC8a.js";
3
+ import { a as x, d as S, f as C, i as ee, o as te, u as w } from "./compiler-DPGmKqbx.js";
4
4
  import { t as ne } from "./compilerClient-BIrZIgfG.js";
5
5
  import T, { createContext as E, createElement as re, forwardRef as ie, useCallback as ae, useContext as oe, useEffect as D, useImperativeHandle as se, useMemo as O, useRef as k, useState as A } from "react";
6
6
  import { DndContext as ce, DragOverlay as le, MeasuringStrategy as ue, PointerSensor as de, TouchSensor as fe, pointerWithin as pe, rectIntersection as me, useDraggable as j, useDroppable as he, useSensor as M, useSensors as ge } from "@dnd-kit/core";
@@ -60937,6 +60937,26 @@ var gK = (e) => ({ body: {
60937
60937
  max: 200,
60938
60938
  onChange: (e) => Y("columnGap", e)
60939
60939
  }),
60940
+ /* @__PURE__ */ F("div", {
60941
+ className: "flex items-center justify-between py-3 border-b border-slate-800/10 last:border-b-0",
60942
+ children: [/* @__PURE__ */ P("span", {
60943
+ className: "text-sm text-slate-300 font-semibold leading-5 tracking-[0.01em]",
60944
+ children: "Layout"
60945
+ }), /* @__PURE__ */ P("div", {
60946
+ className: "flex items-center gap-1",
60947
+ children: [{
60948
+ value: "row",
60949
+ label: "Row"
60950
+ }, {
60951
+ value: "column",
60952
+ label: "Column"
60953
+ }].map((e) => /* @__PURE__ */ P("button", {
60954
+ onClick: () => Y("flexDirection", e.value),
60955
+ className: `h-6 px-2.5 rounded text-[10px] font-bold transition border ${(Q.flexDirection || "row") === e.value ? "bg-indigo-600 border-indigo-500 text-white" : "bg-slate-900 border-slate-700 text-slate-400 hover:text-white"}`,
60956
+ children: e.label
60957
+ }, e.value))
60958
+ })]
60959
+ }),
60940
60960
  /* @__PURE__ */ F("div", {
60941
60961
  className: "flex items-center justify-between py-3 border-b border-slate-800/10 last:border-b-0",
60942
60962
  children: [/* @__PURE__ */ P("span", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@charisol/plexo-sdk",
3
3
  "private": false,
4
- "version": "1.4.26",
4
+ "version": "1.4.28",
5
5
  "description": "Plexo visual email and landing page builder SDK — drag-and-drop template editor with AI integration.",
6
6
  "keywords": [
7
7
  "email-builder",