@tscircuit/core 0.0.518 → 0.0.519

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
@@ -5905,6 +5905,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
5905
5905
  wavelength: zod.ZodOptional<zod.ZodString>;
5906
5906
  schDisplayValue: zod.ZodOptional<zod.ZodString>;
5907
5907
  schOrientation: zod.ZodOptional<zod.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
5908
+ 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">]>>>;
5908
5909
  }, "strip", zod.ZodTypeAny, {
5909
5910
  name: string;
5910
5911
  pcbX?: number | undefined;
@@ -5973,6 +5974,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
5973
5974
  children?: any;
5974
5975
  symbolName?: string | undefined;
5975
5976
  doNotPlace?: boolean | undefined;
5977
+ connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
5976
5978
  schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
5977
5979
  color?: string | undefined;
5978
5980
  wavelength?: string | undefined;
@@ -6047,6 +6049,7 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
6047
6049
  children?: any;
6048
6050
  symbolName?: string | undefined;
6049
6051
  doNotPlace?: boolean | undefined;
6052
+ connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
6050
6053
  schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
6051
6054
  color?: string | undefined;
6052
6055
  wavelength?: string | undefined;
@@ -14677,6 +14680,7 @@ declare const useLed: <PropsFromHook extends Omit<{
14677
14680
  children?: any;
14678
14681
  symbolName?: string | undefined;
14679
14682
  doNotPlace?: boolean | undefined;
14683
+ connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
14680
14684
  schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
14681
14685
  color?: string | undefined;
14682
14686
  wavelength?: string | undefined;
@@ -14751,6 +14755,7 @@ declare const useLed: <PropsFromHook extends Omit<{
14751
14755
  children?: any;
14752
14756
  symbolName?: string | undefined;
14753
14757
  doNotPlace?: boolean | undefined;
14758
+ connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
14754
14759
  schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
14755
14760
  color?: string | undefined;
14756
14761
  wavelength?: string | undefined;
package/dist/index.js CHANGED
@@ -10452,7 +10452,7 @@ import { identity as identity4 } from "transformation-matrix";
10452
10452
  var package_default = {
10453
10453
  name: "@tscircuit/core",
10454
10454
  type: "module",
10455
- version: "0.0.517",
10455
+ version: "0.0.518",
10456
10456
  types: "dist/index.d.ts",
10457
10457
  main: "dist/index.js",
10458
10458
  module: "dist/index.js",
@@ -10484,7 +10484,7 @@ var package_default = {
10484
10484
  "@tscircuit/layout": "^0.0.28",
10485
10485
  "@tscircuit/log-soup": "^1.0.2",
10486
10486
  "@tscircuit/math-utils": "^0.0.18",
10487
- "@tscircuit/props": "^0.0.243",
10487
+ "@tscircuit/props": "^0.0.244",
10488
10488
  "@tscircuit/schematic-autolayout": "^0.0.6",
10489
10489
  "@tscircuit/schematic-match-adapt": "^0.0.16",
10490
10490
  "@tscircuit/simple-3d-svg": "^0.0.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.518",
4
+ "version": "0.0.519",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "@tscircuit/layout": "^0.0.28",
34
34
  "@tscircuit/log-soup": "^1.0.2",
35
35
  "@tscircuit/math-utils": "^0.0.18",
36
- "@tscircuit/props": "^0.0.243",
36
+ "@tscircuit/props": "^0.0.244",
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",