@tscircuit/core 0.0.1464 → 0.0.1466

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
@@ -93836,6 +93836,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
93836
93836
  voltage: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
93837
93837
  standard: zod.ZodOptional<zod.ZodEnum<["AA", "AAA", "9V", "CR2032", "18650", "C"]>>;
93838
93838
  schOrientation: zod.ZodOptional<zod.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
93839
+ connections: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"]>, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
93839
93840
  }, "strip", zod.ZodTypeAny, {
93840
93841
  name: string;
93841
93842
  symbol?: _tscircuit_props.SymbolProp | undefined;
@@ -94414,6 +94415,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
94414
94415
  manufacturerPartNumber?: string | undefined;
94415
94416
  schSectionName?: string | undefined;
94416
94417
  schSheetName?: string | undefined;
94418
+ connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
94417
94419
  standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C" | undefined;
94418
94420
  schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
94419
94421
  capacity?: number | undefined;
@@ -94998,6 +95000,7 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
94998
95000
  manufacturerPartNumber?: string | undefined;
94999
95001
  schSectionName?: string | undefined;
95000
95002
  schSheetName?: string | undefined;
95003
+ connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
95001
95004
  standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C" | undefined;
95002
95005
  schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
95003
95006
  capacity?: string | number | undefined;
package/dist/index.js CHANGED
@@ -22899,7 +22899,7 @@ function Group_getRoutingPhasePlans(group) {
22899
22899
  var package_default = {
22900
22900
  name: "@tscircuit/core",
22901
22901
  type: "module",
22902
- version: "0.0.1463",
22902
+ version: "0.0.1465",
22903
22903
  types: "dist/index.d.ts",
22904
22904
  main: "dist/index.js",
22905
22905
  module: "dist/index.js",
@@ -22932,7 +22932,7 @@ var package_default = {
22932
22932
  "@resvg/resvg-js": "^2.6.2",
22933
22933
  "@tscircuit/alphabet": "0.0.25",
22934
22934
  "@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
22935
- "@tscircuit/capacity-autorouter": "^0.0.670",
22935
+ "@tscircuit/capacity-autorouter": "^0.0.696",
22936
22936
  "@tscircuit/checks": "0.0.145",
22937
22937
  "@tscircuit/circuit-json-util": "^0.0.97",
22938
22938
  "@tscircuit/common": "^0.0.20",
@@ -22948,7 +22948,7 @@ var package_default = {
22948
22948
  "@tscircuit/math-utils": "^0.0.36",
22949
22949
  "@tscircuit/miniflex": "^0.0.4",
22950
22950
  "@tscircuit/ngspice-spice-engine": "^0.0.19",
22951
- "@tscircuit/props": "^0.0.583",
22951
+ "@tscircuit/props": "^0.0.584",
22952
22952
  "@tscircuit/schematic-match-adapt": "^0.0.18",
22953
22953
  "@tscircuit/schematic-trace-solver": "^0.0.104",
22954
22954
  "@tscircuit/solver-utils": "^0.0.16",
@@ -22967,7 +22967,7 @@ var package_default = {
22967
22967
  "circuit-json-to-connectivity-map": "^0.0.23",
22968
22968
  "circuit-json-to-gltf": "^0.0.105",
22969
22969
  "circuit-json-to-spice": "^0.0.43",
22970
- "circuit-to-svg": "^0.0.387",
22970
+ "circuit-to-svg": "^0.0.390",
22971
22971
  concurrently: "^9.1.2",
22972
22972
  "connectivity-map": "^1.0.0",
22973
22973
  debug: "^4.3.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1464",
4
+ "version": "0.0.1466",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -34,7 +34,7 @@
34
34
  "@resvg/resvg-js": "^2.6.2",
35
35
  "@tscircuit/alphabet": "0.0.25",
36
36
  "@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
37
- "@tscircuit/capacity-autorouter": "^0.0.670",
37
+ "@tscircuit/capacity-autorouter": "^0.0.696",
38
38
  "@tscircuit/checks": "0.0.145",
39
39
  "@tscircuit/circuit-json-util": "^0.0.97",
40
40
  "@tscircuit/common": "^0.0.20",
@@ -50,7 +50,7 @@
50
50
  "@tscircuit/math-utils": "^0.0.36",
51
51
  "@tscircuit/miniflex": "^0.0.4",
52
52
  "@tscircuit/ngspice-spice-engine": "^0.0.19",
53
- "@tscircuit/props": "^0.0.583",
53
+ "@tscircuit/props": "^0.0.584",
54
54
  "@tscircuit/schematic-match-adapt": "^0.0.18",
55
55
  "@tscircuit/schematic-trace-solver": "^0.0.104",
56
56
  "@tscircuit/solver-utils": "^0.0.16",
@@ -69,7 +69,7 @@
69
69
  "circuit-json-to-connectivity-map": "^0.0.23",
70
70
  "circuit-json-to-gltf": "^0.0.105",
71
71
  "circuit-json-to-spice": "^0.0.43",
72
- "circuit-to-svg": "^0.0.387",
72
+ "circuit-to-svg": "^0.0.390",
73
73
  "concurrently": "^9.1.2",
74
74
  "connectivity-map": "^1.0.0",
75
75
  "debug": "^4.3.6",