@tscircuit/core 0.0.509 → 0.0.511

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.
package/dist/index.d.ts CHANGED
@@ -1937,7 +1937,7 @@ declare class Board extends Group<typeof boardProps> {
1937
1937
  _emitRenderLifecycleEvent(phase: RenderPhase, startOrEnd: "start" | "end"): void;
1938
1938
  }
1939
1939
 
1940
- declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePorts> {
1940
+ declare class Capacitor extends NormalComponent<typeof capacitorProps, PolarizedPassivePorts> {
1941
1941
  get config(): {
1942
1942
  componentName: string;
1943
1943
  schematicSymbolName: string;
@@ -14745,7 +14745,7 @@ declare const normalizePinLabels: (inputPinLabels: string[][]) => string[][];
14745
14745
  type Nums16 = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16";
14746
14746
  type Nums40 = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40";
14747
14747
  type PinNumbers100 = "pin0" | "pin1" | "pin2" | "pin3" | "pin4" | "pin5" | "pin6" | "pin7" | "pin8" | "pin9" | "pin10" | "pin11" | "pin12" | "pin13" | "pin14" | "pin15" | "pin16" | "pin17" | "pin18" | "pin19" | "pin20" | "pin21" | "pin22" | "pin23" | "pin24" | "pin25" | "pin26" | "pin27" | "pin28" | "pin29" | "pin30" | "pin31" | "pin32" | "pin33" | "pin34" | "pin35" | "pin36" | "pin37" | "pin38" | "pin39" | "pin40" | "pin41" | "pin42" | "pin43" | "pin44" | "pin45" | "pin46" | "pin47" | "pin48" | "pin49" | "pin50" | "pin51" | "pin52" | "pin53" | "pin54" | "pin55" | "pin56" | "pin57" | "pin58" | "pin59" | "pin60" | "pin61" | "pin62" | "pin63" | "pin64" | "pin65" | "pin66" | "pin67" | "pin68" | "pin69" | "pin70" | "pin71" | "pin72" | "pin73" | "pin74" | "pin75" | "pin76" | "pin77" | "pin78" | "pin79" | "pin80" | "pin81" | "pin82" | "pin83" | "pin84" | "pin85" | "pin86" | "pin87" | "pin88" | "pin89" | "pin90" | "pin91" | "pin92" | "pin93" | "pin94" | "pin95" | "pin96" | "pin97" | "pin98" | "pin99" | "pin100";
14748
- type CommonPinNames = "pos" | "neg" | "V5" | "V3_3" | "PWR" | "VCC" | "VDD" | "GND" | "SHLD" | `D${Nums40}` | `GP${Nums40}` | `GPIO${Nums40}` | "DP" | "DN" | "VIN" | "VOUT" | "VREF" | "VIN" | "VOUT" | "VREF" | "VUSB" | "VIN" | "VOUT" | "VREF" | "OUT" | "DISCH" | "EN" | "IN" | "CLK" | "DATA" | "THRES" | "TRIG" | "RESET" | "DM" | "DP" | "CC1" | "CC2" | "N_CS" | "N_WP" | "N_HOLD" | "SCL" | "SDA" | "MOSI" | "MISO" | "SCK" | "CS" | `A${Nums40}` | `B${Nums40}` | PinNumbers100;
14748
+ type CommonPinNames = "pos" | "neg" | "V5" | "V3_3" | "PWR" | "VCC" | "VDD" | "GND" | "SHLD" | `D${Nums40}` | `GP${Nums40}` | `GPIO${Nums40}` | "DP" | "DN" | "VIN" | "VOUT" | "VREF" | "VIN" | "VOUT" | "VREF" | "VUSB" | "VIN" | "VOUT" | "VREF" | "OUT" | "DISCH" | "EN" | "IN" | "CLK" | "DATA" | "THRES" | "TRIG" | "RESET" | "DM" | "DP" | "CC1" | "CC2" | "N_CS" | "N_WP" | "N_HOLD" | "SCL" | "SDA" | "MOSI" | "MISO" | "SCK" | "CS" | "INT" | `A${Nums40}` | `B${Nums40}` | PinNumbers100;
14749
14749
  type TransistorPinNames = "base" | "collector" | "emitter";
14750
14750
 
14751
14751
  type NonPolarizedSel = Record<`R${Nums40}` | `F${Nums40}`, {
@@ -14774,7 +14774,7 @@ type PolarizedSel = Record<`C${Nums40}` | `L${Nums40}` | `LED${Nums40}` | `D${Nu
14774
14774
  pos: string;
14775
14775
  neg: string;
14776
14776
  }>;
14777
- type CommonNetNames = "VCC" | "GND" | "VDD" | "PWR" | "V5" | "V3_3" | "VIN" | "SHLD" | "EN" | "SCL" | "SDA" | "MOSI" | "MISO" | "SCK" | "CS" | "FLASH_SDO" | "FLASH_SDI" | "FLASH_SCK" | "FLASH_N_CS" | "FLASH_N_WP" | "FLASH_N_HOLD";
14777
+ type CommonNetNames = "VCC" | "GND" | "VDD" | "PWR" | "V5" | "V3_3" | "VIN" | "SHLD" | "EN" | "SCL" | "SDA" | "MOSI" | "MISO" | "SCK" | "CS" | "FLASH_SDO" | "FLASH_SDI" | "FLASH_SCK" | "FLASH_N_CS" | "FLASH_N_WP" | "FLASH_N_HOLD" | "INT";
14778
14778
  type TransistorSel = Record<`Q${Nums40}`, Record<TransistorPinNames, string>>;
14779
14779
  type JumperSel = Record<`J${Nums40}` | `JP${Nums40}` | `CN${Nums40}`, Record<PinNumbers100 | CommonPinNames, string> & ChipFnSel>;
14780
14780
  type ChipSel = Record<`U${Nums40}` | "USBC", Record<CommonPinNames | PinNumbers100, string> & ChipFnSel>;
package/dist/index.js CHANGED
@@ -10423,7 +10423,7 @@ import { identity as identity4 } from "transformation-matrix";
10423
10423
  var package_default = {
10424
10424
  name: "@tscircuit/core",
10425
10425
  type: "module",
10426
- version: "0.0.508",
10426
+ version: "0.0.510",
10427
10427
  types: "dist/index.d.ts",
10428
10428
  main: "dist/index.js",
10429
10429
  module: "dist/index.js",
@@ -10479,7 +10479,7 @@ var package_default = {
10479
10479
  "pkg-pr-new": "^0.0.37",
10480
10480
  react: "^19.0.0",
10481
10481
  "react-dom": "^19.0.0",
10482
- "schematic-symbols": "^0.0.160",
10482
+ "schematic-symbols": "^0.0.163",
10483
10483
  "ts-expect": "^1.3.0",
10484
10484
  tsup: "^8.2.4"
10485
10485
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.509",
4
+ "version": "0.0.511",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -57,7 +57,7 @@
57
57
  "pkg-pr-new": "^0.0.37",
58
58
  "react": "^19.0.0",
59
59
  "react-dom": "^19.0.0",
60
- "schematic-symbols": "^0.0.160",
60
+ "schematic-symbols": "^0.0.163",
61
61
  "ts-expect": "^1.3.0",
62
62
  "tsup": "^8.2.4"
63
63
  },