@tscircuit/core 0.0.978 → 0.0.979

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16507,7 +16507,7 @@ var Board = class extends Group6 {
16507
16507
  );
16508
16508
  }
16509
16509
  let outlineTranslation = { x: 0, y: 0 };
16510
- if (outline && outline.length > 0 && this._panelPositionOffset) {
16510
+ if (outline && outline.length > 0 && this.parent?.lowercaseComponentName === "panel") {
16511
16511
  const outlineBounds = getBoundsFromPoints4(outline);
16512
16512
  if (outlineBounds) {
16513
16513
  const outlineCenterX = (outlineBounds.minX + outlineBounds.maxX) / 2;
@@ -20953,7 +20953,7 @@ import { identity as identity5 } from "transformation-matrix";
20953
20953
  var package_default = {
20954
20954
  name: "@tscircuit/core",
20955
20955
  type: "module",
20956
- version: "0.0.977",
20956
+ version: "0.0.978",
20957
20957
  types: "dist/index.d.ts",
20958
20958
  main: "dist/index.js",
20959
20959
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.978",
4
+ "version": "0.0.979",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",