@tscircuit/core 0.0.1024 → 0.0.1025

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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1358,7 +1358,8 @@ var PrimitiveComponent2 = class extends Renderable {
1358
1358
  let current = this;
1359
1359
  while (current) {
1360
1360
  const maybePrimitive = current;
1361
- if (maybePrimitive.componentName === "Board") {
1361
+ const componentName = maybePrimitive.componentName;
1362
+ if (componentName === "Board" || componentName === "MountedBoard") {
1362
1363
  return maybePrimitive;
1363
1364
  }
1364
1365
  current = current.parent ?? null;
@@ -14661,7 +14662,7 @@ import { identity as identity4 } from "transformation-matrix";
14661
14662
  var package_default = {
14662
14663
  name: "@tscircuit/core",
14663
14664
  type: "module",
14664
- version: "0.0.1023",
14665
+ version: "0.0.1024",
14665
14666
  types: "dist/index.d.ts",
14666
14667
  main: "dist/index.js",
14667
14668
  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.1024",
4
+ "version": "0.0.1025",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",