@snowcone-app/canvas 0.22.0 → 0.23.0
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/STYLING_CONTRACT.md +114 -85
- package/dist/{EditorCanvasImpl-BH_bKy-F.js → EditorCanvasImpl-Ckg7WO2j.js} +4 -4
- package/dist/{EditorCanvasImpl-BH_bKy-F.js.map → EditorCanvasImpl-Ckg7WO2j.js.map} +1 -1
- package/dist/{SnowconeCanvas-Cx7nXlBI.js → SnowconeCanvas-D1sLcIja.js} +2 -2
- package/dist/{SnowconeCanvas-Cx7nXlBI.js.map → SnowconeCanvas-D1sLcIja.js.map} +1 -1
- package/dist/api/embed.d.ts +2 -2
- package/dist/design/design-builder.d.ts +67 -12
- package/dist/design-builder-2VUjfmdt.js +422 -0
- package/dist/design-builder-2VUjfmdt.js.map +1 -0
- package/dist/editorErrors-B2mb1sVN.js.map +1 -1
- package/dist/{embed-8ecUMMH-.js → embed-DxsaqZJF.js} +4 -4
- package/dist/{embed-8ecUMMH-.js.map → embed-DxsaqZJF.js.map} +1 -1
- package/dist/embed.mjs +21 -20
- package/dist/errors/editorError.d.ts +10 -0
- package/dist/hooks/bindingGuards.d.ts +16 -0
- package/dist/hooks/useColorBinding.d.ts +2 -1
- package/dist/hooks/useFontBinding.d.ts +2 -1
- package/dist/hooks/useImageBinding.d.ts +2 -1
- package/dist/hooks/useTextBinding.d.ts +2 -1
- package/dist/index.mjs +3 -3
- package/dist/template-fields-CQ6n2P4V.js +548 -0
- package/dist/template-fields-CQ6n2P4V.js.map +1 -0
- package/dist/testing/failureFixtures.d.ts +2 -2
- package/dist/testing.mjs +1 -1
- package/example/package.json +1 -1
- package/package.json +1 -1
- package/dist/design-builder-CT4DHIPe.js +0 -367
- package/dist/design-builder-CT4DHIPe.js.map +0 -1
- package/dist/template-fields-C2pSfMBh.js +0 -494
- package/dist/template-fields-C2pSfMBh.js.map +0 -1
|
@@ -5,8 +5,8 @@ import { useContext as De, createContext as Ae, useRef as R, useState as O, useM
|
|
|
5
5
|
import { assertVariantSelected as Le, RenderSession as Ve, createCartDetail as Ue } from "@snowcone-app/sdk";
|
|
6
6
|
import { i as le, g as _, B as Fe, E as je, r as qe } from "./editorErrors-B2mb1sVN.js";
|
|
7
7
|
import { u as Me, p as ze } from "./usePieceGuideBundle-CbJJg66S.js";
|
|
8
|
-
import { s as re, i as Pe } from "./design-builder-
|
|
9
|
-
import { D as He, C as Ke, g as Ge, e as We } from "./template-fields-
|
|
8
|
+
import { s as re, i as Pe } from "./design-builder-2VUjfmdt.js";
|
|
9
|
+
import { D as He, C as Ke, g as Ge, e as We } from "./template-fields-CQ6n2P4V.js";
|
|
10
10
|
import "./CanvasStateV1-DmZ1Qvvn.js";
|
|
11
11
|
const ue = Ae(void 0);
|
|
12
12
|
function Q() {
|
|
@@ -324,7 +324,7 @@ function he(t) {
|
|
|
324
324
|
/* @__PURE__ */ o("div", { className: "sc-root", style: { display: "contents" }, "data-sc-part": "root", children: /* @__PURE__ */ o(tt, { reportedError: d, onRetry: () => c(null), children: /* @__PURE__ */ o(nt, { ...t, internals: l }) }) })
|
|
325
325
|
);
|
|
326
326
|
}
|
|
327
|
-
let rt = () => import("./EditorCanvasImpl-
|
|
327
|
+
let rt = () => import("./EditorCanvasImpl-Ckg7WO2j.js").then((t) => t.EditorCanvasImpl);
|
|
328
328
|
function ge() {
|
|
329
329
|
return rt();
|
|
330
330
|
}
|
|
@@ -1223,4 +1223,4 @@ export {
|
|
|
1223
1223
|
Q as u,
|
|
1224
1224
|
Ye as v
|
|
1225
1225
|
};
|
|
1226
|
-
//# sourceMappingURL=embed-
|
|
1226
|
+
//# sourceMappingURL=embed-DxsaqZJF.js.map
|