@aswin.dev/editor 0.8.4 → 0.8.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.
@@ -6,7 +6,7 @@ import { t as P, u as F } from "./dist-Djgi0A6k.js";
6
6
  import { E as I, S as ie, T as L, c as R, i as z, l as ae, n as oe, u as se, w as ce } from "./keys-CvX8D-8C.js";
7
7
  import { t as B } from "./useI18n-C2xQZ6K9.js";
8
8
  import { t as V } from "./createLucideIcon-ClREiSx3.js";
9
- import { _ as le, a as ue, c as H, d as U, f as de, g as W, h as fe, i as pe, l as G, m as me, n as he, p as ge, r as _e, s as ve, t as ye, u as be } from "./styles-Czir-MYq.js";
9
+ import { _ as le, a as ue, c as H, d as U, f as de, g as W, h as fe, i as pe, l as G, m as me, n as he, p as ge, r as _e, s as ve, t as ye, u as be } from "./styles-ZIYLQwFf.js";
10
10
  import { n as K } from "./pencil-Bpimrzzw.js";
11
11
  import { t as q } from "./circle-alert-ZQQc98HC.js";
12
12
  import { t as xe } from "./clock-Ba4p3rJM.js";
@@ -924,7 +924,7 @@ var Ze = ["aria-label"], Qe = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
924
924
  }
925
925
  }), zt = ["data-tpl-theme"], Bt = { class: "tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Vt = {
926
926
  key: 0,
927
- class: "tpl-popup-browser-frame tpl:flex tpl:w-full tpl:flex-col tpl:overflow-hidden tpl:rounded-xl tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-canvas-bg)] tpl:shadow-[var(--tpl-shadow-xl)]"
927
+ class: "tpl-popup-browser-frame tpl:flex tpl:w-full tpl:flex-col tpl:overflow-hidden tpl:rounded-xl tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-xl)]"
928
928
  }, Ht = ["aria-label"], Ut = /* @__PURE__ */ Te(/* @__PURE__ */ t({
929
929
  __name: "CloudEditor",
930
930
  props: {
@@ -1137,7 +1137,7 @@ var Ze = ["aria-label"], Qe = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1137
1137
  })]), v("main", { class: e(["tpl-main tpl:flex tpl:w-full tpl:flex-col", Y.value ? "tpl:gap-3 tpl:px-4 tpl:pt-4 tpl:pb-6" : "tpl:items-center tpl:gap-3 tpl:p-8"]) }, [D(me, {
1138
1138
  "preview-mode": w(L).state.previewMode,
1139
1139
  "multi-page-canvas": t.config.multiPageCanvas ?? !1
1140
- }, null, 8, ["preview-mode", "multi-page-canvas"]), Y.value ? (a(), E("div", Vt, [i[11] ||= O("<div class=\"tpl-popup-browser-bar tpl:relative tpl:flex tpl:h-9 tpl:items-center tpl:gap-1.5 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3\" aria-hidden=\"true\" data-v-49550d25><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#ff5f57;\" data-v-49550d25></span><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#febc2e;\" data-v-49550d25></span><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#28c840;\" data-v-49550d25></span><div class=\"tpl:pointer-events-none tpl:absolute tpl:left-1/2 tpl:top-1/2 tpl:-translate-x-1/2 tpl:-translate-y-1/2 tpl:rounded-md tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:tracking-tight\" data-v-49550d25> yourstore.com </div></div>", 1), D(fe, {
1140
+ }, null, 8, ["preview-mode", "multi-page-canvas"]), Y.value ? (a(), E("div", Vt, [i[11] ||= O("<div class=\"tpl-popup-browser-bar tpl:relative tpl:flex tpl:h-9 tpl:items-center tpl:gap-1.5 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3\" aria-hidden=\"true\" data-v-1d3e3f2d><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#ff5f57;\" data-v-1d3e3f2d></span><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#febc2e;\" data-v-1d3e3f2d></span><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#28c840;\" data-v-1d3e3f2d></span><div class=\"tpl:pointer-events-none tpl:absolute tpl:left-1/2 tpl:top-1/2 tpl:-translate-x-1/2 tpl:-translate-y-1/2 tpl:rounded-md tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:tracking-tight\" data-v-1d3e3f2d> yourstore.com </div></div>", 1), D(fe, {
1141
1141
  viewport: w(L).state.viewport,
1142
1142
  content: w(L).content.value,
1143
1143
  "selected-block-id": w(L).state.selectedBlockId,
@@ -1246,6 +1246,6 @@ var Ze = ["aria-label"], Qe = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1246
1246
  }, null, 8, ["tour-config", "dark-mode"])) : f("", !0)
1247
1247
  ], 14, zt));
1248
1248
  }
1249
- }), [["__scopeId", "data-v-49550d25"]]);
1249
+ }), [["__scopeId", "data-v-1d3e3f2d"]]);
1250
1250
  //#endregion
1251
1251
  export { Ut as default };
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.8.4",
3
- "initialGzipBytes": 263309,
4
- "initialRawBytes": 975330,
2
+ "version": "0.8.5",
3
+ "initialGzipBytes": 263301,
4
+ "initialRawBytes": 975285,
5
5
  "initialFileCount": 36,
6
- "lazyGzipBytes": 265436,
7
- "lazyRawBytes": 924035,
6
+ "lazyGzipBytes": 265433,
7
+ "lazyRawBytes": 924028,
8
8
  "lazyFileCount": 44,
9
- "generatedAt": "2026-05-17T06:46:34.415Z"
9
+ "generatedAt": "2026-05-17T07:07:37.012Z"
10
10
  }
@@ -1,7 +1,7 @@
1
1
  import { C as e, F as t, G as n, H as r, I as i, M as a, N as o, P as s, Q as c, S as l, W as u, _ as d, b as f, ct as p, d as m, dt as h, f as g, ft as _, g as v, h as y, l as b, m as x, n as S, rt as C, tt as w, ut as T, v as E, x as D, y as O } from "./draggable-C-1_gch3.js";
2
2
  import { Bn as ee, C as k, Ct as A, D as j, Gt as te, It as M, Jn as N, Jt as P, Mt as F, Nn as ne, S as re, St as I, Tn as L, Ut as R, Vt as z, Xt as ie, Yt as B, _ as V, _t as ae, an as oe, b as H, c as U, cn as W, cr as G, d as K, dt as q, et as se, f as ce, fn as le, g as J, h as Y, it as X, jt as ue, k as de, l as fe, m as pe, mt as me, on as he, ot as ge, p as Z, pn as Q, sn as $, u as _e, v as ve, x as ye, y as be, zn as xe, zt as Se } from "./features-BZeMkHMs.js";
3
3
  import { D as Ce, E as we } from "./icons-nP0Wj6Eq.js";
4
- import { a as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, i as je, l as Me, m as Ne, n as Pe, p as Fe, r as Ie, s as Le, t as Re, u as ze } from "./styles-BZJ3yQ0G.js";
4
+ import { a as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, i as je, l as Me, m as Ne, n as Pe, p as Fe, r as Ie, s as Le, t as Re, u as ze } from "./styles-C9P3yzMF.js";
5
5
  import { d as Be } from "./styleConstants-DfcU8u_r.js";
6
6
  //#region src/cloud/composables/useSnapshotPreview.ts
7
7
  function Ve(e) {
@@ -893,7 +893,7 @@ var Xe = ["aria-label"], Ze = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
893
893
  }
894
894
  }), Rt = ["data-tpl-theme"], zt = { class: "tpl:sticky tpl:top-0 tpl:z-40 tpl:h-0" }, Bt = {
895
895
  key: 0,
896
- class: "tpl-popup-browser-frame tpl:flex tpl:w-full tpl:flex-col tpl:overflow-hidden tpl:rounded-xl tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-canvas-bg)] tpl:shadow-[var(--tpl-shadow-xl)]"
896
+ class: "tpl-popup-browser-frame tpl:flex tpl:w-full tpl:flex-col tpl:overflow-hidden tpl:rounded-xl tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-xl)]"
897
897
  }, Vt = ["aria-label"], Ht = /* @__PURE__ */ ge(/* @__PURE__ */ e({
898
898
  __name: "CloudEditor",
899
899
  props: {
@@ -1104,7 +1104,7 @@ var Xe = ["aria-label"], Ze = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1104
1104
  })]), y("main", { class: T(["tpl-main tpl:flex tpl:w-full tpl:flex-col", Y.value ? "tpl:gap-3 tpl:px-4 tpl:pt-4 tpl:pb-6" : "tpl:items-center tpl:gap-3 tpl:p-8"]) }, [D(Ne, {
1105
1105
  "preview-mode": p(I).state.previewMode,
1106
1106
  "multi-page-canvas": e.config.multiPageCanvas ?? !1
1107
- }, null, 8, ["preview-mode", "multi-page-canvas"]), Y.value ? (s(), E("div", Bt, [r[11] ||= O("<div class=\"tpl-popup-browser-bar tpl:relative tpl:flex tpl:h-9 tpl:items-center tpl:gap-1.5 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3\" aria-hidden=\"true\" data-v-49550d25><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#ff5f57;\" data-v-49550d25></span><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#febc2e;\" data-v-49550d25></span><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#28c840;\" data-v-49550d25></span><div class=\"tpl:pointer-events-none tpl:absolute tpl:left-1/2 tpl:top-1/2 tpl:-translate-x-1/2 tpl:-translate-y-1/2 tpl:rounded-md tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:tracking-tight\" data-v-49550d25> yourstore.com </div></div>", 1), D(Ae, {
1107
+ }, null, 8, ["preview-mode", "multi-page-canvas"]), Y.value ? (s(), E("div", Bt, [r[11] ||= O("<div class=\"tpl-popup-browser-bar tpl:relative tpl:flex tpl:h-9 tpl:items-center tpl:gap-1.5 tpl:border-b tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-3\" aria-hidden=\"true\" data-v-1d3e3f2d><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#ff5f57;\" data-v-1d3e3f2d></span><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#febc2e;\" data-v-1d3e3f2d></span><span class=\"tpl:block tpl:size-3 tpl:rounded-full\" style=\"background-color:#28c840;\" data-v-1d3e3f2d></span><div class=\"tpl:pointer-events-none tpl:absolute tpl:left-1/2 tpl:top-1/2 tpl:-translate-x-1/2 tpl:-translate-y-1/2 tpl:rounded-md tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-0.5 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:tracking-tight\" data-v-1d3e3f2d> yourstore.com </div></div>", 1), D(Ae, {
1108
1108
  viewport: p(I).state.viewport,
1109
1109
  content: p(I).content.value,
1110
1110
  "selected-block-id": p(I).state.selectedBlockId,
@@ -1213,8 +1213,8 @@ var Xe = ["aria-label"], Ze = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1213
1213
  }, null, 8, ["tour-config", "dark-mode"])) : d("", !0)
1214
1214
  ], 14, Rt));
1215
1215
  }
1216
- }), [["__scopeId", "data-v-49550d25"]]);
1216
+ }), [["__scopeId", "data-v-1d3e3f2d"]]);
1217
1217
  //#endregion
1218
1218
  export { Ht as default };
1219
1219
 
1220
- //# sourceMappingURL=CloudEditor-nQ7qsrkA.js.map
1220
+ //# sourceMappingURL=CloudEditor-BBBkTBfW.js.map