@xenosystem/blocks 0.13.25 → 0.13.26

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.
@@ -7825,7 +7825,7 @@ function CurveSurface({ controller }) {
7825
7825
  if (!el) return;
7826
7826
  const measure = () => {
7827
7827
  const rect = el.getBoundingClientRect();
7828
- controller.resize(rect.width, rect.height);
7828
+ if (rect.width > 0 && rect.height > 0) controller.resize(rect.width, rect.height);
7829
7829
  };
7830
7830
  measure();
7831
7831
  if (typeof ResizeObserver === "undefined") return;
@@ -11960,7 +11960,7 @@ function NodeGraphSurface({ controller }) {
11960
11960
  if (!el) return;
11961
11961
  const measure = () => {
11962
11962
  const rect = el.getBoundingClientRect();
11963
- controller.resize(rect.width, rect.height);
11963
+ if (rect.width > 0 && rect.height > 0) controller.resize(rect.width, rect.height);
11964
11964
  };
11965
11965
  measure();
11966
11966
  if (typeof ResizeObserver === "undefined") return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/blocks",
3
- "version": "0.13.25",
3
+ "version": "0.13.26",
4
4
  "description": "XENO Blocks — rung 3 of the front ladder: components composed into a contract-bearing unit (manifest: ports, intents, commands, agent surface), rendered by @xenosystem/workbench. ONE package, one subpath per family (/auth, /edit, /data, /time, /ops, /trust, /agent), one named export per block — XENO PACKAGE NAMING - STANDARD.md.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",