@tscircuit/core 0.0.672 → 0.0.673

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 +5 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8711,9 +8711,10 @@ import { length } from "circuit-json";
8711
8711
  function Group_doInitialSchematicLayoutGrid(group) {
8712
8712
  const { db } = group.root;
8713
8713
  const props = group._parsedProps;
8714
- const schematicChildren = group.children.filter(
8715
- (child) => child.schematic_component_id
8716
- );
8714
+ const schematicChildren = group.children.filter((child) => {
8715
+ const isExplicitlyPositioned = child._parsedProps?.schX !== void 0 || child._parsedProps?.schY !== void 0;
8716
+ return child.schematic_component_id && !isExplicitlyPositioned;
8717
+ });
8717
8718
  if (schematicChildren.length === 0) return;
8718
8719
  let maxCellWidth = 0;
8719
8720
  let maxCellHeight = 0;
@@ -13880,7 +13881,7 @@ import { identity as identity5 } from "transformation-matrix";
13880
13881
  var package_default = {
13881
13882
  name: "@tscircuit/core",
13882
13883
  type: "module",
13883
- version: "0.0.671",
13884
+ version: "0.0.672",
13884
13885
  types: "dist/index.d.ts",
13885
13886
  main: "dist/index.js",
13886
13887
  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.672",
4
+ "version": "0.0.673",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",