@tscircuit/core 0.0.639 → 0.0.641

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 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -8000,8 +8000,6 @@ function convertTreeToInputProblem(tree, db, group) {
8000
8000
  const problem = {
8001
8001
  chipMap: {},
8002
8002
  chipPinMap: {},
8003
- groupMap: {},
8004
- groupPinMap: {},
8005
8003
  netMap: {},
8006
8004
  pinStrongConnMap: {},
8007
8005
  netConnMap: {},
@@ -10445,7 +10443,8 @@ var Capacitor = class extends NormalComponent {
10445
10443
  }
10446
10444
  }
10447
10445
  _getSchematicSymbolDisplayValue() {
10448
- const capacitanceDisplay = `${formatSiUnit(this._parsedProps.capacitance)}F`;
10446
+ const inputCapacitance = this.props.capacitance;
10447
+ const capacitanceDisplay = typeof inputCapacitance === "string" ? inputCapacitance : `${formatSiUnit(this._parsedProps.capacitance)}F`;
10449
10448
  if (this._parsedProps.schShowRatings && this._parsedProps.maxVoltageRating) {
10450
10449
  return `${capacitanceDisplay}/${formatSiUnit(this._parsedProps.maxVoltageRating)}V`;
10451
10450
  }
@@ -12767,7 +12766,7 @@ import { identity as identity5 } from "transformation-matrix";
12767
12766
  var package_default = {
12768
12767
  name: "@tscircuit/core",
12769
12768
  type: "module",
12770
- version: "0.0.638",
12769
+ version: "0.0.640",
12771
12770
  types: "dist/index.d.ts",
12772
12771
  main: "dist/index.js",
12773
12772
  module: "dist/index.js",
@@ -12797,7 +12796,7 @@ var package_default = {
12797
12796
  "@tscircuit/import-snippet": "^0.0.4",
12798
12797
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
12799
12798
  "@tscircuit/log-soup": "^1.0.2",
12800
- "@tscircuit/matchpack": "^0.0.4",
12799
+ "@tscircuit/matchpack": "^0.0.9",
12801
12800
  "@tscircuit/math-utils": "^0.0.18",
12802
12801
  "@tscircuit/miniflex": "^0.0.4",
12803
12802
  "@tscircuit/props": "^0.0.287",
@@ -12855,7 +12854,7 @@ var package_default = {
12855
12854
  dependencies: {
12856
12855
  "@flatten-js/core": "^1.6.2",
12857
12856
  "@lume/kiwi": "^0.4.3",
12858
- "calculate-packing": "0.0.19",
12857
+ "calculate-packing": "0.0.28",
12859
12858
  "css-select": "5.1.0",
12860
12859
  "format-si-unit": "^0.0.3",
12861
12860
  nanoid: "^5.0.7",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.639",
4
+ "version": "0.0.641",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "@tscircuit/import-snippet": "^0.0.4",
32
32
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
33
33
  "@tscircuit/log-soup": "^1.0.2",
34
- "@tscircuit/matchpack": "^0.0.4",
34
+ "@tscircuit/matchpack": "^0.0.9",
35
35
  "@tscircuit/math-utils": "^0.0.18",
36
36
  "@tscircuit/miniflex": "^0.0.4",
37
37
  "@tscircuit/props": "^0.0.287",
@@ -89,7 +89,7 @@
89
89
  "dependencies": {
90
90
  "@flatten-js/core": "^1.6.2",
91
91
  "@lume/kiwi": "^0.4.3",
92
- "calculate-packing": "0.0.19",
92
+ "calculate-packing": "0.0.28",
93
93
  "css-select": "5.1.0",
94
94
  "format-si-unit": "^0.0.3",
95
95
  "nanoid": "^5.0.7",