@snowcone-app/canvas 0.46.10 → 0.46.11
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/{CanvasRenderer-CmIQSVCK.js → CanvasRenderer-CLL5V71e.js} +4 -4
- package/dist/{CanvasRenderer-CmIQSVCK.js.map → CanvasRenderer-CLL5V71e.js.map} +1 -1
- package/dist/{ContextualToolbars-BG90V6-s.js → ContextualToolbars-DnsfOy7x.js} +138 -137
- package/dist/ContextualToolbars-DnsfOy7x.js.map +1 -0
- package/dist/{EditorCanvasImpl-C7y7UNl1.js → EditorCanvasImpl-DDBa3pvE.js} +8 -8
- package/dist/{EditorCanvasImpl-C7y7UNl1.js.map → EditorCanvasImpl-DDBa3pvE.js.map} +1 -1
- package/dist/ExportManager-BR5uca6R.js +5579 -0
- package/dist/ExportManager-BR5uca6R.js.map +1 -0
- package/dist/{ImagePanel-BaEJnUvS.js → ImagePanel-Bez-5INu.js} +6 -6
- package/dist/{ImagePanel-BaEJnUvS.js.map → ImagePanel-Bez-5INu.js.map} +1 -1
- package/dist/{SnowconeCanvas-C6FmL0pj.js → SnowconeCanvas-Cjnp1ztd.js} +10 -10
- package/dist/{SnowconeCanvas-C6FmL0pj.js.map → SnowconeCanvas-Cjnp1ztd.js.map} +1 -1
- package/dist/advanced.mjs +16 -16
- package/dist/{compose-Ce53EW1v.js → compose-CZslfDUm.js} +3 -3
- package/dist/{compose-Ce53EW1v.js.map → compose-CZslfDUm.js.map} +1 -1
- package/dist/constants.d.ts +0 -1
- package/dist/{custom-icons-BA-MX7Y2.js → custom-icons-DIqddGX1.js} +2 -2
- package/dist/{custom-icons-BA-MX7Y2.js.map → custom-icons-DIqddGX1.js.map} +1 -1
- package/dist/{design-builder-HKRo18WT.js → design-builder-CCPB3WRx.js} +4 -4
- package/dist/design-builder-CCPB3WRx.js.map +1 -0
- package/dist/{embed-CYlEe_Xv.js → embed-BydDaNDy.js} +9 -9
- package/dist/{embed-CYlEe_Xv.js.map → embed-BydDaNDy.js.map} +1 -1
- package/dist/embed.mjs +6 -6
- package/dist/{export-worker.bundle.string-CyMb_XjB.js → export-worker.bundle.string-DG2f-C1t.js} +1490 -1487
- package/dist/{export-worker.bundle.string-CyMb_XjB.js.map → export-worker.bundle.string-DG2f-C1t.js.map} +1 -1
- package/dist/{FontAnalyzer-CLMJi2Sw.js → fontAnalysisCache-B2lh7X-_.js} +1408 -3329
- package/dist/fontAnalysisCache-B2lh7X-_.js.map +1 -0
- package/dist/{guards-Dk86a-kH.js → guards-2oykBUel.js} +2 -2
- package/dist/{guards-Dk86a-kH.js.map → guards-2oykBUel.js.map} +1 -1
- package/dist/index.mjs +9 -9
- package/dist/internals.mjs +5 -5
- package/dist/{template-fields-3CH15MFC.js → template-fields-cNoo8zDC.js} +6 -6
- package/dist/template-fields-cNoo8zDC.js.map +1 -0
- package/dist/testing.mjs +3 -3
- package/dist/{useCommands-C6nE770t.js → useCommands-mpsd0_l5.js} +17 -17
- package/dist/{useCommands-C6nE770t.js.map → useCommands-mpsd0_l5.js.map} +1 -1
- package/dist/{usePieceGuideBundle-DJfjOVEd.js → usePieceGuideBundle-BuxwVcb5.js} +2 -2
- package/dist/{usePieceGuideBundle-DJfjOVEd.js.map → usePieceGuideBundle-BuxwVcb5.js.map} +1 -1
- package/dist/utils/fontAnalysisCache.d.ts +14 -0
- package/dist/{validation-C3FHoCbQ.js → validation-DjdrFk2P.js} +11 -11
- package/dist/{validation-C3FHoCbQ.js.map → validation-DjdrFk2P.js.map} +1 -1
- package/dist/workers/export-worker.bundle.string.d.ts +1 -1
- package/example/package.json +1 -1
- package/package.json +4 -4
- package/dist/ContextualToolbars-BG90V6-s.js.map +0 -1
- package/dist/ExportManager-DEJgxB0S.js +0 -3647
- package/dist/ExportManager-DEJgxB0S.js.map +0 -1
- package/dist/FontAnalyzer-CLMJi2Sw.js.map +0 -1
- package/dist/design-builder-HKRo18WT.js.map +0 -1
- package/dist/template-fields-3CH15MFC.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { q as I, Y as De, p as K } from "./
|
|
1
|
+
import { q as I, Y as De, p as K } from "./fontAnalysisCache-B2lh7X-_.js";
|
|
2
2
|
import { jsx as f, jsxs as U, Fragment as Ze } from "react/jsx-runtime";
|
|
3
3
|
import we, { useContext as et, createContext as tt, useRef as C, useState as D, useMemo as L, useCallback as G, useLayoutEffect as se, useEffect as F, useSyncExternalStore as J, Component as nt, forwardRef as Le, useId as Ee, memo as rt, isValidElement as ke } from "react";
|
|
4
4
|
import { assertVariantSelected as it, RenderSession as st, createCartDetail as ot } from "@snowcone-app/sdk";
|
|
5
|
-
import { n as at, o as dt, E as lt, C as ct, y as oe, z as ae, A as ut, F as mt, G as pt, H as ft, J as ht, l as gt } from "./useCommands-
|
|
6
|
-
import { B as yt, E as bt, o as vt, q as wt } from "./design-builder-
|
|
7
|
-
import { u as Et, p as kt } from "./usePieceGuideBundle-
|
|
8
|
-
import { D as xt, C as St, g as Rt, e as It } from "./template-fields-
|
|
5
|
+
import { n as at, o as dt, E as lt, C as ct, y as oe, z as ae, A as ut, F as mt, G as pt, H as ft, J as ht, l as gt } from "./useCommands-mpsd0_l5.js";
|
|
6
|
+
import { B as yt, E as bt, o as vt, q as wt } from "./design-builder-CCPB3WRx.js";
|
|
7
|
+
import { u as Et, p as kt } from "./usePieceGuideBundle-BuxwVcb5.js";
|
|
8
|
+
import { D as xt, C as St, g as Rt, e as It } from "./template-fields-cNoo8zDC.js";
|
|
9
9
|
import { serializeStateForServer as ee } from "@snowcone-app/design/wire";
|
|
10
|
-
import "./ExportManager-
|
|
10
|
+
import "./ExportManager-BR5uca6R.js";
|
|
11
11
|
const Be = tt(void 0);
|
|
12
12
|
function te() {
|
|
13
13
|
const e = et(Be);
|
|
@@ -713,7 +713,7 @@ function ze(e) {
|
|
|
713
713
|
// wrapper, which had no DOM at all, stays layout-identical).
|
|
714
714
|
/* @__PURE__ */ f("div", { className: "sc-root", style: { display: "contents" }, "data-sc-part": "root", children: /* @__PURE__ */ f(Ft, { reportedError: c, onRetry: () => a(null), children: /* @__PURE__ */ f(Pt, { ...e, internals: d, recordAudit: R }) }) });
|
|
715
715
|
}
|
|
716
|
-
let Vt = () => import("./EditorCanvasImpl-
|
|
716
|
+
let Vt = () => import("./EditorCanvasImpl-DDBa3pvE.js").then((e) => e.EditorCanvasImpl);
|
|
717
717
|
function Ke() {
|
|
718
718
|
return Vt();
|
|
719
719
|
}
|
|
@@ -1269,7 +1269,7 @@ function dn({
|
|
|
1269
1269
|
return F(() => {
|
|
1270
1270
|
if (!s) return;
|
|
1271
1271
|
let a = !1;
|
|
1272
|
-
return import("./ContextualToolbars-
|
|
1272
|
+
return import("./ContextualToolbars-DnsfOy7x.js").then((d) => d.s).then(
|
|
1273
1273
|
(d) => {
|
|
1274
1274
|
a || c(() => d.ContextualToolbars);
|
|
1275
1275
|
},
|
|
@@ -1931,4 +1931,4 @@ export {
|
|
|
1931
1931
|
te as u,
|
|
1932
1932
|
At as v
|
|
1933
1933
|
};
|
|
1934
|
-
//# sourceMappingURL=embed-
|
|
1934
|
+
//# sourceMappingURL=embed-BydDaNDy.js.map
|