@tscircuit/core 0.0.630 → 0.0.631
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 +341 -12
- package/dist/index.js +22 -17
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -614,6 +614,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
614
614
|
y: string | number;
|
|
615
615
|
}>, "many">>;
|
|
616
616
|
schDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
617
|
+
schStroke: z.ZodOptional<z.ZodString>;
|
|
617
618
|
maxLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
618
619
|
} & {
|
|
619
620
|
path: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodType<{
|
|
@@ -645,6 +646,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
645
646
|
y: number;
|
|
646
647
|
}[] | undefined;
|
|
647
648
|
schDisplayLabel?: string | undefined;
|
|
649
|
+
schStroke?: string | undefined;
|
|
648
650
|
}, {
|
|
649
651
|
path: (string | {
|
|
650
652
|
getPortSelector: () => string;
|
|
@@ -671,6 +673,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
671
673
|
y: string | number;
|
|
672
674
|
}[] | undefined;
|
|
673
675
|
schDisplayLabel?: string | undefined;
|
|
676
|
+
schStroke?: string | undefined;
|
|
674
677
|
}>, z.ZodObject<{
|
|
675
678
|
key: z.ZodOptional<z.ZodString>;
|
|
676
679
|
thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -725,6 +728,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
725
728
|
y: string | number;
|
|
726
729
|
}>, "many">>;
|
|
727
730
|
schDisplayLabel: z.ZodOptional<z.ZodString>;
|
|
731
|
+
schStroke: z.ZodOptional<z.ZodString>;
|
|
728
732
|
maxLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
729
733
|
} & {
|
|
730
734
|
from: z.ZodUnion<[z.ZodString, z.ZodType<{
|
|
@@ -764,6 +768,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
764
768
|
y: number;
|
|
765
769
|
}[] | undefined;
|
|
766
770
|
schDisplayLabel?: string | undefined;
|
|
771
|
+
schStroke?: string | undefined;
|
|
767
772
|
}, {
|
|
768
773
|
from: string | {
|
|
769
774
|
getPortSelector: () => string;
|
|
@@ -793,6 +798,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
793
798
|
y: string | number;
|
|
794
799
|
}[] | undefined;
|
|
795
800
|
schDisplayLabel?: string | undefined;
|
|
801
|
+
schStroke?: string | undefined;
|
|
796
802
|
}>]>;
|
|
797
803
|
componentName: string;
|
|
798
804
|
};
|
|
@@ -3004,7 +3010,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
3004
3010
|
pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
3005
3011
|
showPinAliases: zod.ZodOptional<zod.ZodBoolean>;
|
|
3006
3012
|
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
3007
|
-
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
3013
|
+
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, "many">, "many">>;
|
|
3008
3014
|
externallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
3009
3015
|
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
3010
3016
|
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -3334,7 +3340,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
3334
3340
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
3335
3341
|
showPinAliases?: boolean | undefined;
|
|
3336
3342
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
3337
|
-
internallyConnectedPins?: string[][] | undefined;
|
|
3343
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
3338
3344
|
externallyConnectedPins?: string[][] | undefined;
|
|
3339
3345
|
schPinArrangement?: {
|
|
3340
3346
|
leftSize?: number | undefined;
|
|
@@ -3492,7 +3498,7 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
3492
3498
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
3493
3499
|
showPinAliases?: boolean | undefined;
|
|
3494
3500
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
3495
|
-
internallyConnectedPins?: string[][] | undefined;
|
|
3501
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
3496
3502
|
externallyConnectedPins?: string[][] | undefined;
|
|
3497
3503
|
schPinArrangement?: {
|
|
3498
3504
|
leftSize?: number | undefined;
|
|
@@ -5206,6 +5212,106 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
5206
5212
|
schWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
5207
5213
|
schHeight: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
5208
5214
|
schDirection: zod.ZodOptional<zod.ZodEnum<["left", "right"]>>;
|
|
5215
|
+
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
5216
|
+
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
5217
|
+
topSize: zod.ZodOptional<zod.ZodNumber>;
|
|
5218
|
+
rightSize: zod.ZodOptional<zod.ZodNumber>;
|
|
5219
|
+
bottomSize: zod.ZodOptional<zod.ZodNumber>;
|
|
5220
|
+
leftPinCount: zod.ZodOptional<zod.ZodNumber>;
|
|
5221
|
+
rightPinCount: zod.ZodOptional<zod.ZodNumber>;
|
|
5222
|
+
topPinCount: zod.ZodOptional<zod.ZodNumber>;
|
|
5223
|
+
bottomPinCount: zod.ZodOptional<zod.ZodNumber>;
|
|
5224
|
+
leftSide: zod.ZodOptional<zod.ZodObject<{
|
|
5225
|
+
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
5226
|
+
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
5227
|
+
}, "strip", zod.ZodTypeAny, {
|
|
5228
|
+
pins: (string | number)[];
|
|
5229
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5230
|
+
}, {
|
|
5231
|
+
pins: (string | number)[];
|
|
5232
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5233
|
+
}>>;
|
|
5234
|
+
rightSide: zod.ZodOptional<zod.ZodObject<{
|
|
5235
|
+
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
5236
|
+
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
5237
|
+
}, "strip", zod.ZodTypeAny, {
|
|
5238
|
+
pins: (string | number)[];
|
|
5239
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5240
|
+
}, {
|
|
5241
|
+
pins: (string | number)[];
|
|
5242
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5243
|
+
}>>;
|
|
5244
|
+
topSide: zod.ZodOptional<zod.ZodObject<{
|
|
5245
|
+
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
5246
|
+
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
5247
|
+
}, "strip", zod.ZodTypeAny, {
|
|
5248
|
+
pins: (string | number)[];
|
|
5249
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5250
|
+
}, {
|
|
5251
|
+
pins: (string | number)[];
|
|
5252
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5253
|
+
}>>;
|
|
5254
|
+
bottomSide: zod.ZodOptional<zod.ZodObject<{
|
|
5255
|
+
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
5256
|
+
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
5257
|
+
}, "strip", zod.ZodTypeAny, {
|
|
5258
|
+
pins: (string | number)[];
|
|
5259
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5260
|
+
}, {
|
|
5261
|
+
pins: (string | number)[];
|
|
5262
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5263
|
+
}>>;
|
|
5264
|
+
}, "strip", zod.ZodTypeAny, {
|
|
5265
|
+
leftSize?: number | undefined;
|
|
5266
|
+
topSize?: number | undefined;
|
|
5267
|
+
rightSize?: number | undefined;
|
|
5268
|
+
bottomSize?: number | undefined;
|
|
5269
|
+
leftSide?: {
|
|
5270
|
+
pins: (string | number)[];
|
|
5271
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5272
|
+
} | undefined;
|
|
5273
|
+
topSide?: {
|
|
5274
|
+
pins: (string | number)[];
|
|
5275
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5276
|
+
} | undefined;
|
|
5277
|
+
rightSide?: {
|
|
5278
|
+
pins: (string | number)[];
|
|
5279
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5280
|
+
} | undefined;
|
|
5281
|
+
bottomSide?: {
|
|
5282
|
+
pins: (string | number)[];
|
|
5283
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5284
|
+
} | undefined;
|
|
5285
|
+
leftPinCount?: number | undefined;
|
|
5286
|
+
rightPinCount?: number | undefined;
|
|
5287
|
+
topPinCount?: number | undefined;
|
|
5288
|
+
bottomPinCount?: number | undefined;
|
|
5289
|
+
}, {
|
|
5290
|
+
leftSize?: number | undefined;
|
|
5291
|
+
topSize?: number | undefined;
|
|
5292
|
+
rightSize?: number | undefined;
|
|
5293
|
+
bottomSize?: number | undefined;
|
|
5294
|
+
leftSide?: {
|
|
5295
|
+
pins: (string | number)[];
|
|
5296
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5297
|
+
} | undefined;
|
|
5298
|
+
topSide?: {
|
|
5299
|
+
pins: (string | number)[];
|
|
5300
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5301
|
+
} | undefined;
|
|
5302
|
+
rightSide?: {
|
|
5303
|
+
pins: (string | number)[];
|
|
5304
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5305
|
+
} | undefined;
|
|
5306
|
+
bottomSide?: {
|
|
5307
|
+
pins: (string | number)[];
|
|
5308
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5309
|
+
} | undefined;
|
|
5310
|
+
leftPinCount?: number | undefined;
|
|
5311
|
+
rightPinCount?: number | undefined;
|
|
5312
|
+
topPinCount?: number | undefined;
|
|
5313
|
+
bottomPinCount?: number | undefined;
|
|
5314
|
+
}>>;
|
|
5209
5315
|
schPortArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
5210
5316
|
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
5211
5317
|
topSize: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -5308,7 +5414,7 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
5308
5414
|
}>>;
|
|
5309
5415
|
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
5310
5416
|
pinCount: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<2>, zod.ZodLiteral<3>]>>;
|
|
5311
|
-
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
5417
|
+
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, "many">, "many">>;
|
|
5312
5418
|
connections: zod.ZodOptional<zod.ZodPipeline<zod.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, zod.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>>;
|
|
5313
5419
|
}, "strip", zod.ZodTypeAny, {
|
|
5314
5420
|
name: string;
|
|
@@ -5394,7 +5500,33 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
5394
5500
|
manufacturerPartNumber?: string | undefined;
|
|
5395
5501
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
5396
5502
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
5397
|
-
internallyConnectedPins?: string[][] | undefined;
|
|
5503
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
5504
|
+
schPinArrangement?: {
|
|
5505
|
+
leftSize?: number | undefined;
|
|
5506
|
+
topSize?: number | undefined;
|
|
5507
|
+
rightSize?: number | undefined;
|
|
5508
|
+
bottomSize?: number | undefined;
|
|
5509
|
+
leftSide?: {
|
|
5510
|
+
pins: (string | number)[];
|
|
5511
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5512
|
+
} | undefined;
|
|
5513
|
+
topSide?: {
|
|
5514
|
+
pins: (string | number)[];
|
|
5515
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5516
|
+
} | undefined;
|
|
5517
|
+
rightSide?: {
|
|
5518
|
+
pins: (string | number)[];
|
|
5519
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5520
|
+
} | undefined;
|
|
5521
|
+
bottomSide?: {
|
|
5522
|
+
pins: (string | number)[];
|
|
5523
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5524
|
+
} | undefined;
|
|
5525
|
+
leftPinCount?: number | undefined;
|
|
5526
|
+
rightPinCount?: number | undefined;
|
|
5527
|
+
topPinCount?: number | undefined;
|
|
5528
|
+
bottomPinCount?: number | undefined;
|
|
5529
|
+
} | undefined;
|
|
5398
5530
|
schPortArrangement?: {
|
|
5399
5531
|
leftSize?: number | undefined;
|
|
5400
5532
|
topSize?: number | undefined;
|
|
@@ -5521,7 +5653,33 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
5521
5653
|
manufacturerPartNumber?: string | undefined;
|
|
5522
5654
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
5523
5655
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
5524
|
-
internallyConnectedPins?: string[][] | undefined;
|
|
5656
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
5657
|
+
schPinArrangement?: {
|
|
5658
|
+
leftSize?: number | undefined;
|
|
5659
|
+
topSize?: number | undefined;
|
|
5660
|
+
rightSize?: number | undefined;
|
|
5661
|
+
bottomSize?: number | undefined;
|
|
5662
|
+
leftSide?: {
|
|
5663
|
+
pins: (string | number)[];
|
|
5664
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5665
|
+
} | undefined;
|
|
5666
|
+
topSide?: {
|
|
5667
|
+
pins: (string | number)[];
|
|
5668
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5669
|
+
} | undefined;
|
|
5670
|
+
rightSide?: {
|
|
5671
|
+
pins: (string | number)[];
|
|
5672
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5673
|
+
} | undefined;
|
|
5674
|
+
bottomSide?: {
|
|
5675
|
+
pins: (string | number)[];
|
|
5676
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5677
|
+
} | undefined;
|
|
5678
|
+
leftPinCount?: number | undefined;
|
|
5679
|
+
rightPinCount?: number | undefined;
|
|
5680
|
+
topPinCount?: number | undefined;
|
|
5681
|
+
bottomPinCount?: number | undefined;
|
|
5682
|
+
} | undefined;
|
|
5525
5683
|
schPortArrangement?: {
|
|
5526
5684
|
leftSize?: number | undefined;
|
|
5527
5685
|
topSize?: number | undefined;
|
|
@@ -5895,6 +6053,106 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
5895
6053
|
schWidth: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
5896
6054
|
schHeight: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
5897
6055
|
schDirection: zod.ZodOptional<zod.ZodEnum<["left", "right"]>>;
|
|
6056
|
+
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
6057
|
+
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
6058
|
+
topSize: zod.ZodOptional<zod.ZodNumber>;
|
|
6059
|
+
rightSize: zod.ZodOptional<zod.ZodNumber>;
|
|
6060
|
+
bottomSize: zod.ZodOptional<zod.ZodNumber>;
|
|
6061
|
+
leftPinCount: zod.ZodOptional<zod.ZodNumber>;
|
|
6062
|
+
rightPinCount: zod.ZodOptional<zod.ZodNumber>;
|
|
6063
|
+
topPinCount: zod.ZodOptional<zod.ZodNumber>;
|
|
6064
|
+
bottomPinCount: zod.ZodOptional<zod.ZodNumber>;
|
|
6065
|
+
leftSide: zod.ZodOptional<zod.ZodObject<{
|
|
6066
|
+
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
6067
|
+
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
6068
|
+
}, "strip", zod.ZodTypeAny, {
|
|
6069
|
+
pins: (string | number)[];
|
|
6070
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6071
|
+
}, {
|
|
6072
|
+
pins: (string | number)[];
|
|
6073
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6074
|
+
}>>;
|
|
6075
|
+
rightSide: zod.ZodOptional<zod.ZodObject<{
|
|
6076
|
+
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
6077
|
+
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
6078
|
+
}, "strip", zod.ZodTypeAny, {
|
|
6079
|
+
pins: (string | number)[];
|
|
6080
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6081
|
+
}, {
|
|
6082
|
+
pins: (string | number)[];
|
|
6083
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6084
|
+
}>>;
|
|
6085
|
+
topSide: zod.ZodOptional<zod.ZodObject<{
|
|
6086
|
+
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
6087
|
+
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
6088
|
+
}, "strip", zod.ZodTypeAny, {
|
|
6089
|
+
pins: (string | number)[];
|
|
6090
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6091
|
+
}, {
|
|
6092
|
+
pins: (string | number)[];
|
|
6093
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6094
|
+
}>>;
|
|
6095
|
+
bottomSide: zod.ZodOptional<zod.ZodObject<{
|
|
6096
|
+
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
6097
|
+
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
6098
|
+
}, "strip", zod.ZodTypeAny, {
|
|
6099
|
+
pins: (string | number)[];
|
|
6100
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6101
|
+
}, {
|
|
6102
|
+
pins: (string | number)[];
|
|
6103
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6104
|
+
}>>;
|
|
6105
|
+
}, "strip", zod.ZodTypeAny, {
|
|
6106
|
+
leftSize?: number | undefined;
|
|
6107
|
+
topSize?: number | undefined;
|
|
6108
|
+
rightSize?: number | undefined;
|
|
6109
|
+
bottomSize?: number | undefined;
|
|
6110
|
+
leftSide?: {
|
|
6111
|
+
pins: (string | number)[];
|
|
6112
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6113
|
+
} | undefined;
|
|
6114
|
+
topSide?: {
|
|
6115
|
+
pins: (string | number)[];
|
|
6116
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6117
|
+
} | undefined;
|
|
6118
|
+
rightSide?: {
|
|
6119
|
+
pins: (string | number)[];
|
|
6120
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6121
|
+
} | undefined;
|
|
6122
|
+
bottomSide?: {
|
|
6123
|
+
pins: (string | number)[];
|
|
6124
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6125
|
+
} | undefined;
|
|
6126
|
+
leftPinCount?: number | undefined;
|
|
6127
|
+
rightPinCount?: number | undefined;
|
|
6128
|
+
topPinCount?: number | undefined;
|
|
6129
|
+
bottomPinCount?: number | undefined;
|
|
6130
|
+
}, {
|
|
6131
|
+
leftSize?: number | undefined;
|
|
6132
|
+
topSize?: number | undefined;
|
|
6133
|
+
rightSize?: number | undefined;
|
|
6134
|
+
bottomSize?: number | undefined;
|
|
6135
|
+
leftSide?: {
|
|
6136
|
+
pins: (string | number)[];
|
|
6137
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6138
|
+
} | undefined;
|
|
6139
|
+
topSide?: {
|
|
6140
|
+
pins: (string | number)[];
|
|
6141
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6142
|
+
} | undefined;
|
|
6143
|
+
rightSide?: {
|
|
6144
|
+
pins: (string | number)[];
|
|
6145
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6146
|
+
} | undefined;
|
|
6147
|
+
bottomSide?: {
|
|
6148
|
+
pins: (string | number)[];
|
|
6149
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6150
|
+
} | undefined;
|
|
6151
|
+
leftPinCount?: number | undefined;
|
|
6152
|
+
rightPinCount?: number | undefined;
|
|
6153
|
+
topPinCount?: number | undefined;
|
|
6154
|
+
bottomPinCount?: number | undefined;
|
|
6155
|
+
}>>;
|
|
5898
6156
|
schPortArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
5899
6157
|
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
5900
6158
|
topSize: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -5997,7 +6255,7 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
5997
6255
|
}>>;
|
|
5998
6256
|
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
5999
6257
|
pinCount: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<2>, zod.ZodLiteral<3>]>>;
|
|
6000
|
-
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
6258
|
+
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, "many">, "many">>;
|
|
6001
6259
|
connections: zod.ZodOptional<zod.ZodPipeline<zod.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, zod.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>>;
|
|
6002
6260
|
} & {
|
|
6003
6261
|
bridgedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
@@ -6086,7 +6344,33 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
6086
6344
|
manufacturerPartNumber?: string | undefined;
|
|
6087
6345
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
6088
6346
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
6089
|
-
internallyConnectedPins?: string[][] | undefined;
|
|
6347
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
6348
|
+
schPinArrangement?: {
|
|
6349
|
+
leftSize?: number | undefined;
|
|
6350
|
+
topSize?: number | undefined;
|
|
6351
|
+
rightSize?: number | undefined;
|
|
6352
|
+
bottomSize?: number | undefined;
|
|
6353
|
+
leftSide?: {
|
|
6354
|
+
pins: (string | number)[];
|
|
6355
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6356
|
+
} | undefined;
|
|
6357
|
+
topSide?: {
|
|
6358
|
+
pins: (string | number)[];
|
|
6359
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6360
|
+
} | undefined;
|
|
6361
|
+
rightSide?: {
|
|
6362
|
+
pins: (string | number)[];
|
|
6363
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6364
|
+
} | undefined;
|
|
6365
|
+
bottomSide?: {
|
|
6366
|
+
pins: (string | number)[];
|
|
6367
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6368
|
+
} | undefined;
|
|
6369
|
+
leftPinCount?: number | undefined;
|
|
6370
|
+
rightPinCount?: number | undefined;
|
|
6371
|
+
topPinCount?: number | undefined;
|
|
6372
|
+
bottomPinCount?: number | undefined;
|
|
6373
|
+
} | undefined;
|
|
6090
6374
|
schPortArrangement?: {
|
|
6091
6375
|
leftSize?: number | undefined;
|
|
6092
6376
|
topSize?: number | undefined;
|
|
@@ -6215,7 +6499,33 @@ declare class SolderJumper<PinLabels extends string = never> extends NormalCompo
|
|
|
6215
6499
|
manufacturerPartNumber?: string | undefined;
|
|
6216
6500
|
pinLabels?: Record<string | number, string | string[]> | undefined;
|
|
6217
6501
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
6218
|
-
internallyConnectedPins?: string[][] | undefined;
|
|
6502
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
6503
|
+
schPinArrangement?: {
|
|
6504
|
+
leftSize?: number | undefined;
|
|
6505
|
+
topSize?: number | undefined;
|
|
6506
|
+
rightSize?: number | undefined;
|
|
6507
|
+
bottomSize?: number | undefined;
|
|
6508
|
+
leftSide?: {
|
|
6509
|
+
pins: (string | number)[];
|
|
6510
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6511
|
+
} | undefined;
|
|
6512
|
+
topSide?: {
|
|
6513
|
+
pins: (string | number)[];
|
|
6514
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6515
|
+
} | undefined;
|
|
6516
|
+
rightSide?: {
|
|
6517
|
+
pins: (string | number)[];
|
|
6518
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6519
|
+
} | undefined;
|
|
6520
|
+
bottomSide?: {
|
|
6521
|
+
pins: (string | number)[];
|
|
6522
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
6523
|
+
} | undefined;
|
|
6524
|
+
leftPinCount?: number | undefined;
|
|
6525
|
+
rightPinCount?: number | undefined;
|
|
6526
|
+
topPinCount?: number | undefined;
|
|
6527
|
+
bottomPinCount?: number | undefined;
|
|
6528
|
+
} | undefined;
|
|
6219
6529
|
schPortArrangement?: {
|
|
6220
6530
|
leftSize?: number | undefined;
|
|
6221
6531
|
topSize?: number | undefined;
|
|
@@ -8910,6 +9220,15 @@ declare class SilkscreenText extends PrimitiveComponent<typeof silkscreenTextPro
|
|
|
8910
9220
|
anchorAlignment: zod.ZodDefault<zod.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
|
|
8911
9221
|
font: zod.ZodOptional<zod.ZodEnum<["tscircuit2024"]>>;
|
|
8912
9222
|
fontSize: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
9223
|
+
layers: zod.ZodOptional<zod.ZodArray<zod.ZodEffects<zod.ZodUnion<[zod.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, zod.ZodObject<{
|
|
9224
|
+
name: zod.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
9225
|
+
}, "strip", zod.ZodTypeAny, {
|
|
9226
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9227
|
+
}, {
|
|
9228
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9229
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9230
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9231
|
+
}>, "many">>;
|
|
8913
9232
|
}, "strip", zod.ZodTypeAny, {
|
|
8914
9233
|
text: string;
|
|
8915
9234
|
anchorAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
|
|
@@ -8919,6 +9238,7 @@ declare class SilkscreenText extends PrimitiveComponent<typeof silkscreenTextPro
|
|
|
8919
9238
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8920
9239
|
pcbRelative?: boolean | undefined;
|
|
8921
9240
|
relative?: boolean | undefined;
|
|
9241
|
+
layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[] | undefined;
|
|
8922
9242
|
font?: "tscircuit2024" | undefined;
|
|
8923
9243
|
fontSize?: number | undefined;
|
|
8924
9244
|
}, {
|
|
@@ -8931,6 +9251,9 @@ declare class SilkscreenText extends PrimitiveComponent<typeof silkscreenTextPro
|
|
|
8931
9251
|
} | undefined;
|
|
8932
9252
|
pcbRelative?: boolean | undefined;
|
|
8933
9253
|
relative?: boolean | undefined;
|
|
9254
|
+
layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9255
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9256
|
+
})[] | undefined;
|
|
8934
9257
|
anchorAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
|
|
8935
9258
|
font?: "tscircuit2024" | undefined;
|
|
8936
9259
|
fontSize?: string | number | undefined;
|
|
@@ -12792,7 +13115,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
12792
13115
|
pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
12793
13116
|
showPinAliases: zod.ZodOptional<zod.ZodBoolean>;
|
|
12794
13117
|
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
12795
|
-
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
13118
|
+
internallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, "many">, "many">>;
|
|
12796
13119
|
externallyConnectedPins: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
12797
13120
|
schPinArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
12798
13121
|
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -13122,7 +13445,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
13122
13445
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
13123
13446
|
showPinAliases?: boolean | undefined;
|
|
13124
13447
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
13125
|
-
internallyConnectedPins?: string[][] | undefined;
|
|
13448
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
13126
13449
|
externallyConnectedPins?: string[][] | undefined;
|
|
13127
13450
|
schPinArrangement?: {
|
|
13128
13451
|
leftSize?: number | undefined;
|
|
@@ -13280,7 +13603,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
13280
13603
|
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
13281
13604
|
showPinAliases?: boolean | undefined;
|
|
13282
13605
|
pcbPinLabels?: Record<string, string> | undefined;
|
|
13283
|
-
internallyConnectedPins?: string[][] | undefined;
|
|
13606
|
+
internallyConnectedPins?: (string | number)[][] | undefined;
|
|
13284
13607
|
externallyConnectedPins?: string[][] | undefined;
|
|
13285
13608
|
schPinArrangement?: {
|
|
13286
13609
|
leftSize?: number | undefined;
|
|
@@ -13648,6 +13971,8 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
13648
13971
|
} & {
|
|
13649
13972
|
frequency: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
13650
13973
|
loadCapacitance: zod.ZodEffects<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>, number, string | number>;
|
|
13974
|
+
manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
|
|
13975
|
+
mpn: zod.ZodOptional<zod.ZodString>;
|
|
13651
13976
|
pinVariant: zod.ZodOptional<zod.ZodEnum<["two_pin", "four_pin"]>>;
|
|
13652
13977
|
schOrientation: zod.ZodOptional<zod.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
|
|
13653
13978
|
connections: zod.ZodOptional<zod.ZodRecord<zod.ZodEnum<["pin1", "left", "pin2", "right"]>, zod.ZodUnion<[zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>, zod.ZodArray<zod.ZodString, "many">]>>>;
|
|
@@ -13732,9 +14057,11 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
13732
14057
|
children?: any;
|
|
13733
14058
|
symbolName?: string | undefined;
|
|
13734
14059
|
doNotPlace?: boolean | undefined;
|
|
14060
|
+
manufacturerPartNumber?: string | undefined;
|
|
13735
14061
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
13736
14062
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
13737
14063
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
14064
|
+
mpn?: string | undefined;
|
|
13738
14065
|
}, {
|
|
13739
14066
|
name: string;
|
|
13740
14067
|
frequency: string | number;
|
|
@@ -13818,9 +14145,11 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
13818
14145
|
children?: any;
|
|
13819
14146
|
symbolName?: string | undefined;
|
|
13820
14147
|
doNotPlace?: boolean | undefined;
|
|
14148
|
+
manufacturerPartNumber?: string | undefined;
|
|
13821
14149
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2", string | readonly string[] | string[]>> | undefined;
|
|
13822
14150
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
13823
14151
|
pinVariant?: "two_pin" | "four_pin" | undefined;
|
|
14152
|
+
mpn?: string | undefined;
|
|
13824
14153
|
}>;
|
|
13825
14154
|
sourceFtype: Ftype;
|
|
13826
14155
|
};
|
package/dist/index.js
CHANGED
|
@@ -2492,21 +2492,26 @@ var SilkscreenText = class extends PrimitiveComponent2 {
|
|
|
2492
2492
|
const position = this._getGlobalPcbPositionBeforeLayout();
|
|
2493
2493
|
const { maybeFlipLayer } = this._getPcbPrimitiveFlippedHelpers();
|
|
2494
2494
|
const subcircuit = this.getSubcircuit();
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2495
|
+
const uniqueLayers = new Set(props.layers);
|
|
2496
|
+
if (props.layer) uniqueLayers.add(props.layer);
|
|
2497
|
+
const targetLayers = uniqueLayers.size > 0 ? Array.from(uniqueLayers) : ["top"];
|
|
2498
|
+
for (const layer of targetLayers) {
|
|
2499
|
+
db.pcb_silkscreen_text.insert({
|
|
2500
|
+
anchor_alignment: props.anchorAlignment,
|
|
2501
|
+
anchor_position: {
|
|
2502
|
+
x: position.x,
|
|
2503
|
+
y: position.y
|
|
2504
|
+
},
|
|
2505
|
+
font: props.font ?? "tscircuit2024",
|
|
2506
|
+
font_size: props.fontSize ?? 1,
|
|
2507
|
+
layer: maybeFlipLayer(layer),
|
|
2508
|
+
text: props.text ?? "",
|
|
2509
|
+
ccw_rotation: props.pcbRotation,
|
|
2510
|
+
pcb_component_id: container.pcb_component_id,
|
|
2511
|
+
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2512
|
+
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2513
|
+
});
|
|
2514
|
+
}
|
|
2510
2515
|
}
|
|
2511
2516
|
getPcbSize() {
|
|
2512
2517
|
const { _parsedProps: props } = this;
|
|
@@ -12513,7 +12518,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
12513
12518
|
var package_default = {
|
|
12514
12519
|
name: "@tscircuit/core",
|
|
12515
12520
|
type: "module",
|
|
12516
|
-
version: "0.0.
|
|
12521
|
+
version: "0.0.630",
|
|
12517
12522
|
types: "dist/index.d.ts",
|
|
12518
12523
|
main: "dist/index.js",
|
|
12519
12524
|
module: "dist/index.js",
|
|
@@ -12545,7 +12550,7 @@ var package_default = {
|
|
|
12545
12550
|
"@tscircuit/log-soup": "^1.0.2",
|
|
12546
12551
|
"@tscircuit/math-utils": "^0.0.18",
|
|
12547
12552
|
"@tscircuit/miniflex": "^0.0.4",
|
|
12548
|
-
"@tscircuit/props": "^0.0.
|
|
12553
|
+
"@tscircuit/props": "^0.0.286",
|
|
12549
12554
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
12550
12555
|
"@tscircuit/schematic-corpus": "^0.0.110",
|
|
12551
12556
|
"@tscircuit/schematic-match-adapt": "^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.631",
|
|
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/log-soup": "^1.0.2",
|
|
34
34
|
"@tscircuit/math-utils": "^0.0.18",
|
|
35
35
|
"@tscircuit/miniflex": "^0.0.4",
|
|
36
|
-
"@tscircuit/props": "^0.0.
|
|
36
|
+
"@tscircuit/props": "^0.0.286",
|
|
37
37
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
38
38
|
"@tscircuit/schematic-corpus": "^0.0.110",
|
|
39
39
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|