@tscircuit/core 0.0.476 → 0.0.478

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 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -8190,7 +8190,7 @@ var Jumper = class extends NormalComponent {
8190
8190
  }
8191
8191
  _getSchematicPortArrangement() {
8192
8192
  const arrangement = super._getSchematicPortArrangement();
8193
- if (arrangement) return arrangement;
8193
+ if (arrangement && Object.keys(arrangement).length > 0) return arrangement;
8194
8194
  const pinCount = this._parsedProps.pinCount ?? (Array.isArray(this._parsedProps.pinLabels) ? this._parsedProps.pinLabels.length : this._parsedProps.pinLabels ? Object.keys(this._parsedProps.pinLabels).length : this.getPortsFromFootprint().length);
8195
8195
  const direction = this._parsedProps.schDirection ?? "right";
8196
8196
  return {
@@ -8310,7 +8310,7 @@ var SolderJumper = class extends NormalComponent {
8310
8310
  }
8311
8311
  _getSchematicPortArrangement() {
8312
8312
  const arrangement = super._getSchematicPortArrangement();
8313
- if (arrangement) return arrangement;
8313
+ if (arrangement && Object.keys(arrangement).length > 0) return arrangement;
8314
8314
  const pinCount = this._parsedProps.pinCount ?? (Array.isArray(this._parsedProps.pinLabels) ? this._parsedProps.pinLabels.length : this._parsedProps.pinLabels ? Object.keys(this._parsedProps.pinLabels).length : this.getPortsFromFootprint().length);
8315
8315
  const direction = this._parsedProps.schDirection ?? "right";
8316
8316
  return {
@@ -9896,7 +9896,7 @@ import { identity as identity4 } from "transformation-matrix";
9896
9896
  var package_default = {
9897
9897
  name: "@tscircuit/core",
9898
9898
  type: "module",
9899
- version: "0.0.475",
9899
+ version: "0.0.477",
9900
9900
  types: "dist/index.d.ts",
9901
9901
  main: "dist/index.js",
9902
9902
  module: "dist/index.js",
@@ -9932,7 +9932,7 @@ var package_default = {
9932
9932
  "@tscircuit/schematic-autolayout": "^0.0.6",
9933
9933
  "@tscircuit/schematic-match-adapt": "^0.0.16",
9934
9934
  "@tscircuit/simple-3d-svg": "^0.0.6",
9935
- "@types/bun": "latest",
9935
+ "@types/bun": "^1.2.16",
9936
9936
  "@types/debug": "^4.1.12",
9937
9937
  "@types/react": "^19.0.1",
9938
9938
  "@types/react-dom": "^19.0.2",
@@ -9942,7 +9942,7 @@ var package_default = {
9942
9942
  "circuit-json": "^0.0.210",
9943
9943
  "circuit-json-to-connectivity-map": "^0.0.22",
9944
9944
  "circuit-json-to-simple-3d": "^0.0.2",
9945
- "circuit-to-svg": "^0.0.151",
9945
+ "circuit-to-svg": "^0.0.154",
9946
9946
  concurrently: "^9.1.2",
9947
9947
  debug: "^4.3.6",
9948
9948
  "graphics-debug": "^0.0.4",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.476",
4
+ "version": "0.0.478",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "@tscircuit/schematic-autolayout": "^0.0.6",
38
38
  "@tscircuit/schematic-match-adapt": "^0.0.16",
39
39
  "@tscircuit/simple-3d-svg": "^0.0.6",
40
- "@types/bun": "latest",
40
+ "@types/bun": "^1.2.16",
41
41
  "@types/debug": "^4.1.12",
42
42
  "@types/react": "^19.0.1",
43
43
  "@types/react-dom": "^19.0.2",
@@ -47,7 +47,7 @@
47
47
  "circuit-json": "^0.0.210",
48
48
  "circuit-json-to-connectivity-map": "^0.0.22",
49
49
  "circuit-json-to-simple-3d": "^0.0.2",
50
- "circuit-to-svg": "^0.0.151",
50
+ "circuit-to-svg": "^0.0.154",
51
51
  "concurrently": "^9.1.2",
52
52
  "debug": "^4.3.6",
53
53
  "graphics-debug": "^0.0.4",