labellife-design-tool 1.2.4 → 1.2.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.
@@ -3376,7 +3376,10 @@ var CanvasEditor = ({
3376
3376
  externalStore.on("designChanged", handleDesignChange);
3377
3377
  externalStore.on("activePageChanged", handleActivePageChange);
3378
3378
  externalStore.on("activePanelChanged", handleActivePanelChange);
3379
+ console.log("CanvasEditor useEffect - Store pages:", externalStore.design.pages.length);
3380
+ console.log("CanvasEditor useEffect - Active page ID:", externalStore.activePageId);
3379
3381
  if (externalStore.design.pages.length === 0) {
3382
+ console.log("CanvasEditor creating default page...");
3380
3383
  externalStore.addPage();
3381
3384
  }
3382
3385
  return () => {
@@ -3376,7 +3376,10 @@ var CanvasEditor = ({
3376
3376
  externalStore.on("designChanged", handleDesignChange);
3377
3377
  externalStore.on("activePageChanged", handleActivePageChange);
3378
3378
  externalStore.on("activePanelChanged", handleActivePanelChange);
3379
+ console.log("CanvasEditor useEffect - Store pages:", externalStore.design.pages.length);
3380
+ console.log("CanvasEditor useEffect - Active page ID:", externalStore.activePageId);
3379
3381
  if (externalStore.design.pages.length === 0) {
3382
+ console.log("CanvasEditor creating default page...");
3380
3383
  externalStore.addPage();
3381
3384
  }
3382
3385
  return () => {
@@ -1 +1 @@
1
- {"version":3,"file":"CanvasEditor.d.ts","sourceRoot":"","sources":["../../src/CanvasEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6F,MAAM,OAAO,CAAC;AAkFlH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAqB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE3E,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAAE,CA2iCxF,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"CanvasEditor.d.ts","sourceRoot":"","sources":["../../src/CanvasEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6F,MAAM,OAAO,CAAC;AAkFlH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAqB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE3E,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,iBAAiB,CAAA;CAAE,CAgjCxF,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "labellife-design-tool",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Professional canvas editor built with React, TypeScript, and Konva",
5
5
  "main": "./dist/lib/lib/index.js",
6
6
  "module": "./dist/lib/lib/index.js",