@tscircuit/core 0.0.1349 → 0.0.1350
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 +7 -2
- package/dist/index.js +3 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -81470,7 +81470,7 @@ declare class CourtyardRect extends PrimitiveComponent<typeof courtyardRectProps
|
|
|
81470
81470
|
isPcbPrimitive: boolean;
|
|
81471
81471
|
get config(): {
|
|
81472
81472
|
componentName: string;
|
|
81473
|
-
zodProps: zod.ZodObject<
|
|
81473
|
+
zodProps: zod.ZodObject<{
|
|
81474
81474
|
pcbX: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>]>>;
|
|
81475
81475
|
pcbY: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>]>>;
|
|
81476
81476
|
pcbLeftEdgeX: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>]>>;
|
|
@@ -81535,7 +81535,7 @@ declare class CourtyardRect extends PrimitiveComponent<typeof courtyardRectProps
|
|
|
81535
81535
|
pcbSx: zod.ZodOptional<zod.ZodType<_tscircuit_props.PcbSx, zod.ZodTypeDef, _tscircuit_props.PcbSx>>;
|
|
81536
81536
|
pcbRelative: zod.ZodOptional<zod.ZodBoolean>;
|
|
81537
81537
|
relative: zod.ZodOptional<zod.ZodBoolean>;
|
|
81538
|
-
}
|
|
81538
|
+
} & {
|
|
81539
81539
|
width: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
81540
81540
|
height: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
81541
81541
|
strokeWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
@@ -81555,6 +81555,7 @@ declare class CourtyardRect extends PrimitiveComponent<typeof courtyardRectProps
|
|
|
81555
81555
|
pcbBottomEdgeY?: string | number | undefined;
|
|
81556
81556
|
pcbOffsetX?: number | undefined;
|
|
81557
81557
|
pcbOffsetY?: number | undefined;
|
|
81558
|
+
pcbRotation?: number | undefined;
|
|
81558
81559
|
pcbPositionAnchor?: string | undefined;
|
|
81559
81560
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
81560
81561
|
shouldBeOnEdgeOfBoard?: boolean | undefined;
|
|
@@ -81596,6 +81597,7 @@ declare class CourtyardRect extends PrimitiveComponent<typeof courtyardRectProps
|
|
|
81596
81597
|
pcbBottomEdgeY?: string | number | undefined;
|
|
81597
81598
|
pcbOffsetX?: string | number | undefined;
|
|
81598
81599
|
pcbOffsetY?: string | number | undefined;
|
|
81600
|
+
pcbRotation?: string | number | undefined;
|
|
81599
81601
|
pcbPositionAnchor?: string | undefined;
|
|
81600
81602
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
81601
81603
|
shouldBeOnEdgeOfBoard?: boolean | undefined;
|
|
@@ -152814,6 +152816,7 @@ declare class AnalogSimulation extends PrimitiveComponent<typeof analogSimulatio
|
|
|
152814
152816
|
get config(): {
|
|
152815
152817
|
componentName: string;
|
|
152816
152818
|
zodProps: zod.ZodObject<{
|
|
152819
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
152817
152820
|
simulationType: zod.ZodDefault<zod.ZodLiteral<"spice_transient_analysis">>;
|
|
152818
152821
|
duration: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
152819
152822
|
startTime: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
@@ -152837,6 +152840,7 @@ declare class AnalogSimulation extends PrimitiveComponent<typeof analogSimulatio
|
|
|
152837
152840
|
}>>;
|
|
152838
152841
|
}, "strip", zod.ZodTypeAny, {
|
|
152839
152842
|
simulationType: "spice_transient_analysis";
|
|
152843
|
+
name?: string | undefined;
|
|
152840
152844
|
duration?: number | undefined;
|
|
152841
152845
|
startTime?: number | undefined;
|
|
152842
152846
|
timePerStep?: number | undefined;
|
|
@@ -152848,6 +152852,7 @@ declare class AnalogSimulation extends PrimitiveComponent<typeof analogSimulatio
|
|
|
152848
152852
|
vntol?: string | number | undefined;
|
|
152849
152853
|
} | undefined;
|
|
152850
152854
|
}, {
|
|
152855
|
+
name?: string | undefined;
|
|
152851
152856
|
duration?: string | number | undefined;
|
|
152852
152857
|
simulationType?: "spice_transient_analysis" | undefined;
|
|
152853
152858
|
startTime?: string | number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -10632,6 +10632,7 @@ var createComponentsFromCircuitJson = ({
|
|
|
10632
10632
|
pcbY: elm.center.y,
|
|
10633
10633
|
width: elm.width,
|
|
10634
10634
|
height: elm.height,
|
|
10635
|
+
pcbRotation: elm.ccw_rotation,
|
|
10635
10636
|
layer: elm.layer
|
|
10636
10637
|
})
|
|
10637
10638
|
);
|
|
@@ -24064,7 +24065,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
24064
24065
|
var package_default = {
|
|
24065
24066
|
name: "@tscircuit/core",
|
|
24066
24067
|
type: "module",
|
|
24067
|
-
version: "0.0.
|
|
24068
|
+
version: "0.0.1349",
|
|
24068
24069
|
types: "dist/index.d.ts",
|
|
24069
24070
|
main: "dist/index.js",
|
|
24070
24071
|
module: "dist/index.js",
|
|
@@ -24112,7 +24113,7 @@ var package_default = {
|
|
|
24112
24113
|
"@tscircuit/matchpack": "",
|
|
24113
24114
|
"@tscircuit/math-utils": "^0.0.36",
|
|
24114
24115
|
"@tscircuit/miniflex": "^0.0.4",
|
|
24115
|
-
"@tscircuit/props": "^0.0.
|
|
24116
|
+
"@tscircuit/props": "^0.0.553",
|
|
24116
24117
|
"@tscircuit/ngspice-spice-engine": "^0.0.18",
|
|
24117
24118
|
"@tscircuit/schematic-match-adapt": "^0.0.18",
|
|
24118
24119
|
"@tscircuit/solver-utils": "^0.0.16",
|
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.1350",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@tscircuit/matchpack": "",
|
|
50
50
|
"@tscircuit/math-utils": "^0.0.36",
|
|
51
51
|
"@tscircuit/miniflex": "^0.0.4",
|
|
52
|
-
"@tscircuit/props": "^0.0.
|
|
52
|
+
"@tscircuit/props": "^0.0.553",
|
|
53
53
|
"@tscircuit/ngspice-spice-engine": "^0.0.18",
|
|
54
54
|
"@tscircuit/schematic-match-adapt": "^0.0.18",
|
|
55
55
|
"@tscircuit/solver-utils": "^0.0.16",
|