@charisol/plexo-sdk 1.4.27 → 1.4.29

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";
@@ -60929,6 +60929,21 @@ var gK = (e) => ({ body: {
60929
60929
  max: 2e3,
60930
60930
  onChange: (e) => Y("height", e)
60931
60931
  }),
60932
+ /* @__PURE__ */ P(BG, {
60933
+ label: "Max Width",
60934
+ value: Q.maxWidth || "none",
60935
+ units: [
60936
+ "px",
60937
+ "%",
60938
+ "rem"
60939
+ ],
60940
+ min: 0,
60941
+ max: 2e3,
60942
+ onChange: (e) => Ir({
60943
+ maxWidth: e,
60944
+ margin: "0 auto"
60945
+ })
60946
+ }),
60932
60947
  /* @__PURE__ */ P(BG, {
60933
60948
  label: "Column Gap",
60934
60949
  value: Q.columnGap || "0px",
@@ -61178,6 +61193,21 @@ var gK = (e) => ({ body: {
61178
61193
  max: 2e3,
61179
61194
  onChange: (e) => Y("height", e)
61180
61195
  }),
61196
+ /* @__PURE__ */ P(BG, {
61197
+ label: "Max Width",
61198
+ value: Q.maxWidth || "none",
61199
+ units: [
61200
+ "px",
61201
+ "%",
61202
+ "rem"
61203
+ ],
61204
+ min: 0,
61205
+ max: 2e3,
61206
+ onChange: (e) => Ir({
61207
+ maxWidth: e,
61208
+ margin: "0 auto"
61209
+ })
61210
+ }),
61181
61211
  /* @__PURE__ */ F("div", {
61182
61212
  className: "flex items-center justify-between py-3 border-b border-slate-800/10 last:border-b-0",
61183
61213
  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.27",
4
+ "version": "1.4.29",
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",