@tscircuit/core 0.0.886 → 0.0.887
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 +9 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4491,6 +4491,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
|
|
|
4491
4491
|
bypassTo: zod.ZodOptional<zod.ZodString>;
|
|
4492
4492
|
maxDecouplingTraceLength: zod.ZodOptional<zod.ZodNumber>;
|
|
4493
4493
|
schOrientation: zod.ZodOptional<zod.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
4494
|
+
schSize: zod.ZodOptional<zod.ZodUnion<[zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, zod.ZodEnum<["xs", "sm", "default", "md"]>]>>;
|
|
4494
4495
|
connections: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
4495
4496
|
}, "strip", zod.ZodTypeAny, {
|
|
4496
4497
|
name: string;
|
|
@@ -4691,6 +4692,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
|
|
|
4691
4692
|
showAsTranslucentModel?: boolean | undefined;
|
|
4692
4693
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
4693
4694
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
4695
|
+
schSize?: number | "xs" | "sm" | "default" | "md" | undefined;
|
|
4694
4696
|
maxVoltageRating?: number | undefined;
|
|
4695
4697
|
decouplingFor?: string | undefined;
|
|
4696
4698
|
decouplingTo?: string | undefined;
|
|
@@ -4897,6 +4899,7 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, Polarized
|
|
|
4897
4899
|
connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
4898
4900
|
schShowRatings?: boolean | undefined;
|
|
4899
4901
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
4902
|
+
schSize?: string | number | undefined;
|
|
4900
4903
|
maxVoltageRating?: string | number | undefined;
|
|
4901
4904
|
polarized?: boolean | undefined;
|
|
4902
4905
|
decouplingFor?: string | undefined;
|
|
@@ -17982,6 +17985,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
17982
17985
|
pulldownFor: zod.ZodOptional<zod.ZodString>;
|
|
17983
17986
|
pulldownTo: zod.ZodOptional<zod.ZodString>;
|
|
17984
17987
|
schOrientation: zod.ZodOptional<zod.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
17988
|
+
schSize: zod.ZodOptional<zod.ZodUnion<[zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, zod.ZodEnum<["xs", "sm", "default", "md"]>]>>;
|
|
17985
17989
|
connections: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<["pin1", "pin2", "pos", "neg"]>, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
17986
17990
|
}, "strip", zod.ZodTypeAny, {
|
|
17987
17991
|
name: string;
|
|
@@ -18184,6 +18188,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
18184
18188
|
pullupTo?: string | undefined;
|
|
18185
18189
|
pulldownFor?: string | undefined;
|
|
18186
18190
|
pulldownTo?: string | undefined;
|
|
18191
|
+
schSize?: number | "xs" | "sm" | "default" | "md" | undefined;
|
|
18187
18192
|
}, {
|
|
18188
18193
|
name: string;
|
|
18189
18194
|
resistance: string | number;
|
|
@@ -18387,6 +18392,7 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
18387
18392
|
pullupTo?: string | undefined;
|
|
18388
18393
|
pulldownFor?: string | undefined;
|
|
18389
18394
|
pulldownTo?: string | undefined;
|
|
18395
|
+
schSize?: string | number | undefined;
|
|
18390
18396
|
}>;
|
|
18391
18397
|
sourceFtype: Ftype;
|
|
18392
18398
|
};
|
|
@@ -40764,7 +40770,9 @@ interface TscircuitElements {
|
|
|
40764
40770
|
custom: any;
|
|
40765
40771
|
component: _tscircuit_props.ComponentProps;
|
|
40766
40772
|
crystal: _tscircuit_props.CrystalProps;
|
|
40767
|
-
footprint:
|
|
40773
|
+
footprint: _tscircuit_props.FootprintProps & {
|
|
40774
|
+
name?: string;
|
|
40775
|
+
};
|
|
40768
40776
|
silkscreentext: _tscircuit_props.SilkscreenTextProps;
|
|
40769
40777
|
cutout: _tscircuit_props.CutoutProps;
|
|
40770
40778
|
silkscreenpath: _tscircuit_props.SilkscreenPathProps;
|
package/dist/index.js
CHANGED
|
@@ -18820,7 +18820,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
18820
18820
|
var package_default = {
|
|
18821
18821
|
name: "@tscircuit/core",
|
|
18822
18822
|
type: "module",
|
|
18823
|
-
version: "0.0.
|
|
18823
|
+
version: "0.0.886",
|
|
18824
18824
|
types: "dist/index.d.ts",
|
|
18825
18825
|
main: "dist/index.js",
|
|
18826
18826
|
module: "dist/index.js",
|
|
@@ -18864,7 +18864,7 @@ var package_default = {
|
|
|
18864
18864
|
"@tscircuit/math-utils": "^0.0.29",
|
|
18865
18865
|
"@tscircuit/miniflex": "^0.0.4",
|
|
18866
18866
|
"@tscircuit/ngspice-spice-engine": "^0.0.4",
|
|
18867
|
-
"@tscircuit/props": "^0.0.
|
|
18867
|
+
"@tscircuit/props": "^0.0.419",
|
|
18868
18868
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
18869
18869
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
18870
18870
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.887",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@tscircuit/math-utils": "^0.0.29",
|
|
46
46
|
"@tscircuit/miniflex": "^0.0.4",
|
|
47
47
|
"@tscircuit/ngspice-spice-engine": "^0.0.4",
|
|
48
|
-
"@tscircuit/props": "^0.0.
|
|
48
|
+
"@tscircuit/props": "^0.0.419",
|
|
49
49
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
50
50
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
51
51
|
"@tscircuit/schematic-trace-solver": "^v0.0.45",
|