labellife-design-tool 1.3.6 → 1.3.7

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.
@@ -2861,8 +2861,16 @@ var CanvasEditor = forwardRef(({ name, config, store }, ref) => {
2861
2861
  console.log("Built-in panels:", Object.entries(builtInConfigs).map(([id, config2]) => ({
2862
2862
  id,
2863
2863
  componentType: typeof config2.component,
2864
- componentName: config2.component.name || "anonymous"
2864
+ componentName: config2.component.name || "anonymous",
2865
+ componentIsFunction: typeof config2.component === "function",
2866
+ componentDetails: config2.component
2865
2867
  })));
2868
+ console.log("ElementPanel details:", {
2869
+ ElementPanel: ElementPanel_default,
2870
+ elementType: typeof ElementPanel_default,
2871
+ elementIsFunction: typeof ElementPanel_default === "function",
2872
+ elementName: ElementPanel_default.name || "anonymous"
2873
+ });
2866
2874
  const mergedConfigs = { ...builtInConfigs };
2867
2875
  if (config?.panels) {
2868
2876
  config.panels.forEach((panelConfig) => {
@@ -2861,8 +2861,16 @@ var CanvasEditor = forwardRef(({ name, config, store }, ref) => {
2861
2861
  console.log("Built-in panels:", Object.entries(builtInConfigs).map(([id, config2]) => ({
2862
2862
  id,
2863
2863
  componentType: typeof config2.component,
2864
- componentName: config2.component.name || "anonymous"
2864
+ componentName: config2.component.name || "anonymous",
2865
+ componentIsFunction: typeof config2.component === "function",
2866
+ componentDetails: config2.component
2865
2867
  })));
2868
+ console.log("ElementPanel details:", {
2869
+ ElementPanel: ElementPanel_default,
2870
+ elementType: typeof ElementPanel_default,
2871
+ elementIsFunction: typeof ElementPanel_default === "function",
2872
+ elementName: ElementPanel_default.name || "anonymous"
2873
+ });
2866
2874
  const mergedConfigs = { ...builtInConfigs };
2867
2875
  if (config?.panels) {
2868
2876
  config.panels.forEach((panelConfig) => {
@@ -1 +1 @@
1
- {"version":3,"file":"CanvasEditor.d.ts","sourceRoot":"","sources":["../../src/CanvasEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmF,MAAM,OAAO,CAAC;AA4ExG,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAqB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,YAAY;UAAuC,MAAM;aAAW,MAAM;WAAS,iBAAiB;yCAoiBxG,CAAC;AAIH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"CanvasEditor.d.ts","sourceRoot":"","sources":["../../src/CanvasEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmF,MAAM,OAAO,CAAC;AA4ExG,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAqB,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,QAAA,MAAM,YAAY;UAAuC,MAAM;aAAW,MAAM;WAAS,iBAAiB;yCA8iBxG,CAAC;AAIH,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "labellife-design-tool",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
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",