@tscircuit/core 0.0.601 → 0.0.602
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 +45 -1
- package/dist/index.js +28 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1151,6 +1151,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1151
1151
|
pcbGridTemplateColumns: zod.ZodOptional<zod.ZodString>;
|
|
1152
1152
|
pcbGridTemplate: zod.ZodOptional<zod.ZodString>;
|
|
1153
1153
|
pcbGridGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1154
|
+
pcbGridRowGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1155
|
+
pcbGridColumnGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1154
1156
|
pcbFlex: zod.ZodOptional<zod.ZodUnion<[zod.ZodBoolean, zod.ZodString]>>;
|
|
1155
1157
|
pcbFlexDirection: zod.ZodOptional<zod.ZodEnum<["row", "column"]>>;
|
|
1156
1158
|
pcbAlignItems: zod.ZodOptional<zod.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
@@ -1172,6 +1174,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1172
1174
|
gridTemplateColumns: zod.ZodOptional<zod.ZodString>;
|
|
1173
1175
|
gridTemplate: zod.ZodOptional<zod.ZodString>;
|
|
1174
1176
|
gridGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1177
|
+
gridRowGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1178
|
+
gridColumnGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1175
1179
|
flex: zod.ZodOptional<zod.ZodUnion<[zod.ZodBoolean, zod.ZodString]>>;
|
|
1176
1180
|
flexDirection: zod.ZodOptional<zod.ZodEnum<["row", "column"]>>;
|
|
1177
1181
|
alignItems: zod.ZodOptional<zod.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
@@ -1204,6 +1208,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1204
1208
|
gridTemplateColumns?: string | undefined;
|
|
1205
1209
|
gridTemplate?: string | undefined;
|
|
1206
1210
|
gridGap?: string | number | undefined;
|
|
1211
|
+
gridRowGap?: string | number | undefined;
|
|
1212
|
+
gridColumnGap?: string | number | undefined;
|
|
1207
1213
|
flexDirection?: "row" | "column" | undefined;
|
|
1208
1214
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1209
1215
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1235,6 +1241,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1235
1241
|
gridTemplateColumns?: string | undefined;
|
|
1236
1242
|
gridTemplate?: string | undefined;
|
|
1237
1243
|
gridGap?: string | number | undefined;
|
|
1244
|
+
gridRowGap?: string | number | undefined;
|
|
1245
|
+
gridColumnGap?: string | number | undefined;
|
|
1238
1246
|
flexDirection?: "row" | "column" | undefined;
|
|
1239
1247
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1240
1248
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1266,6 +1274,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1266
1274
|
gridTemplateColumns: zod.ZodOptional<zod.ZodString>;
|
|
1267
1275
|
gridTemplate: zod.ZodOptional<zod.ZodString>;
|
|
1268
1276
|
gridGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1277
|
+
gridRowGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1278
|
+
gridColumnGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1269
1279
|
flex: zod.ZodOptional<zod.ZodUnion<[zod.ZodBoolean, zod.ZodString]>>;
|
|
1270
1280
|
flexDirection: zod.ZodOptional<zod.ZodEnum<["row", "column"]>>;
|
|
1271
1281
|
alignItems: zod.ZodOptional<zod.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
@@ -1298,6 +1308,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1298
1308
|
gridTemplateColumns?: string | undefined;
|
|
1299
1309
|
gridTemplate?: string | undefined;
|
|
1300
1310
|
gridGap?: string | number | undefined;
|
|
1311
|
+
gridRowGap?: string | number | undefined;
|
|
1312
|
+
gridColumnGap?: string | number | undefined;
|
|
1301
1313
|
flexDirection?: "row" | "column" | undefined;
|
|
1302
1314
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1303
1315
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1329,6 +1341,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1329
1341
|
gridTemplateColumns?: string | undefined;
|
|
1330
1342
|
gridTemplate?: string | undefined;
|
|
1331
1343
|
gridGap?: string | number | undefined;
|
|
1344
|
+
gridRowGap?: string | number | undefined;
|
|
1345
|
+
gridColumnGap?: string | number | undefined;
|
|
1332
1346
|
flexDirection?: "row" | "column" | undefined;
|
|
1333
1347
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1334
1348
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1389,6 +1403,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1389
1403
|
gridTemplateColumns: zod.ZodOptional<zod.ZodString>;
|
|
1390
1404
|
gridTemplate: zod.ZodOptional<zod.ZodString>;
|
|
1391
1405
|
gridGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1406
|
+
gridRowGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1407
|
+
gridColumnGap: zod.ZodOptional<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>>;
|
|
1392
1408
|
flexDirection: zod.ZodOptional<zod.ZodEnum<["row", "column"]>>;
|
|
1393
1409
|
alignItems: zod.ZodOptional<zod.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
1394
1410
|
justifyContent: zod.ZodOptional<zod.ZodEnum<["start", "center", "end", "stretch", "space-between", "space-around", "space-evenly"]>>;
|
|
@@ -1666,6 +1682,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1666
1682
|
gridTemplateColumns?: string | undefined;
|
|
1667
1683
|
gridTemplate?: string | undefined;
|
|
1668
1684
|
gridGap?: string | number | undefined;
|
|
1685
|
+
gridRowGap?: string | number | undefined;
|
|
1686
|
+
gridColumnGap?: string | number | undefined;
|
|
1669
1687
|
flexDirection?: "row" | "column" | undefined;
|
|
1670
1688
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1671
1689
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1702,6 +1720,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1702
1720
|
gridTemplateColumns?: string | undefined;
|
|
1703
1721
|
gridTemplate?: string | undefined;
|
|
1704
1722
|
gridGap?: string | number | undefined;
|
|
1723
|
+
gridRowGap?: string | number | undefined;
|
|
1724
|
+
gridColumnGap?: string | number | undefined;
|
|
1705
1725
|
flexDirection?: "row" | "column" | undefined;
|
|
1706
1726
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1707
1727
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1734,6 +1754,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1734
1754
|
gridTemplateColumns?: string | undefined;
|
|
1735
1755
|
gridTemplate?: string | undefined;
|
|
1736
1756
|
gridGap?: string | number | undefined;
|
|
1757
|
+
gridRowGap?: string | number | undefined;
|
|
1758
|
+
gridColumnGap?: string | number | undefined;
|
|
1737
1759
|
flexDirection?: "row" | "column" | undefined;
|
|
1738
1760
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1739
1761
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1777,6 +1799,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1777
1799
|
pcbGridTemplateColumns?: string | undefined;
|
|
1778
1800
|
pcbGridTemplate?: string | undefined;
|
|
1779
1801
|
pcbGridGap?: string | number | undefined;
|
|
1802
|
+
pcbGridRowGap?: string | number | undefined;
|
|
1803
|
+
pcbGridColumnGap?: string | number | undefined;
|
|
1780
1804
|
pcbFlex?: string | boolean | undefined;
|
|
1781
1805
|
pcbFlexDirection?: "row" | "column" | undefined;
|
|
1782
1806
|
pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
@@ -1867,6 +1891,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1867
1891
|
gridTemplateColumns?: string | undefined;
|
|
1868
1892
|
gridTemplate?: string | undefined;
|
|
1869
1893
|
gridGap?: string | number | undefined;
|
|
1894
|
+
gridRowGap?: string | number | undefined;
|
|
1895
|
+
gridColumnGap?: string | number | undefined;
|
|
1870
1896
|
flexDirection?: "row" | "column" | undefined;
|
|
1871
1897
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1872
1898
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1903,6 +1929,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1903
1929
|
gridTemplateColumns?: string | undefined;
|
|
1904
1930
|
gridTemplate?: string | undefined;
|
|
1905
1931
|
gridGap?: string | number | undefined;
|
|
1932
|
+
gridRowGap?: string | number | undefined;
|
|
1933
|
+
gridColumnGap?: string | number | undefined;
|
|
1906
1934
|
flexDirection?: "row" | "column" | undefined;
|
|
1907
1935
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1908
1936
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1935,6 +1963,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1935
1963
|
gridTemplateColumns?: string | undefined;
|
|
1936
1964
|
gridTemplate?: string | undefined;
|
|
1937
1965
|
gridGap?: string | number | undefined;
|
|
1966
|
+
gridRowGap?: string | number | undefined;
|
|
1967
|
+
gridColumnGap?: string | number | undefined;
|
|
1938
1968
|
flexDirection?: "row" | "column" | undefined;
|
|
1939
1969
|
alignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
1940
1970
|
justifyContent?: "center" | "start" | "end" | "stretch" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
@@ -1978,6 +2008,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1978
2008
|
pcbGridTemplateColumns?: string | undefined;
|
|
1979
2009
|
pcbGridTemplate?: string | undefined;
|
|
1980
2010
|
pcbGridGap?: string | number | undefined;
|
|
2011
|
+
pcbGridRowGap?: string | number | undefined;
|
|
2012
|
+
pcbGridColumnGap?: string | number | undefined;
|
|
1981
2013
|
pcbFlex?: string | boolean | undefined;
|
|
1982
2014
|
pcbFlexDirection?: "row" | "column" | undefined;
|
|
1983
2015
|
pcbAlignItems?: "center" | "start" | "end" | "stretch" | undefined;
|
|
@@ -8191,10 +8223,11 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8191
8223
|
}>>;
|
|
8192
8224
|
pcbRelative: zod.ZodOptional<zod.ZodBoolean>;
|
|
8193
8225
|
relative: zod.ZodOptional<zod.ZodBoolean>;
|
|
8194
|
-
}, "layer"
|
|
8226
|
+
}, "layer"> & {
|
|
8195
8227
|
name: zod.ZodOptional<zod.ZodString>;
|
|
8196
8228
|
connectsTo: zod.ZodOptional<zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">]>>;
|
|
8197
8229
|
shape: zod.ZodLiteral<"pill">;
|
|
8230
|
+
rectPad: zod.ZodOptional<zod.ZodBoolean>;
|
|
8198
8231
|
outerWidth: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
8199
8232
|
outerHeight: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
8200
8233
|
holeWidth: zod.ZodEffects<zod.ZodType<string | number, zod.ZodTypeDef, string | number>, number | undefined, string | number>;
|
|
@@ -8208,6 +8241,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8208
8241
|
outerHeight: number;
|
|
8209
8242
|
pcbX?: number | undefined;
|
|
8210
8243
|
pcbY?: number | undefined;
|
|
8244
|
+
pcbRotation?: number | undefined;
|
|
8211
8245
|
pcbRelative?: boolean | undefined;
|
|
8212
8246
|
relative?: boolean | undefined;
|
|
8213
8247
|
name?: string | undefined;
|
|
@@ -8217,6 +8251,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8217
8251
|
holeHeight?: number | undefined;
|
|
8218
8252
|
innerWidth?: number | undefined;
|
|
8219
8253
|
innerHeight?: number | undefined;
|
|
8254
|
+
rectPad?: boolean | undefined;
|
|
8220
8255
|
}, {
|
|
8221
8256
|
shape: "pill";
|
|
8222
8257
|
outerWidth: string | number;
|
|
@@ -8225,6 +8260,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8225
8260
|
holeHeight: string | number;
|
|
8226
8261
|
pcbX?: string | number | undefined;
|
|
8227
8262
|
pcbY?: string | number | undefined;
|
|
8263
|
+
pcbRotation?: string | number | undefined;
|
|
8228
8264
|
pcbRelative?: boolean | undefined;
|
|
8229
8265
|
relative?: boolean | undefined;
|
|
8230
8266
|
name?: string | undefined;
|
|
@@ -8232,6 +8268,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8232
8268
|
portHints?: (string | number)[] | undefined;
|
|
8233
8269
|
innerWidth?: string | number | undefined;
|
|
8234
8270
|
innerHeight?: string | number | undefined;
|
|
8271
|
+
rectPad?: boolean | undefined;
|
|
8235
8272
|
}>, zod.ZodObject<Omit<{
|
|
8236
8273
|
pcbX: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
8237
8274
|
pcbY: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
@@ -8373,6 +8410,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8373
8410
|
outerHeight: number;
|
|
8374
8411
|
pcbX?: number | undefined;
|
|
8375
8412
|
pcbY?: number | undefined;
|
|
8413
|
+
pcbRotation?: number | undefined;
|
|
8376
8414
|
pcbRelative?: boolean | undefined;
|
|
8377
8415
|
relative?: boolean | undefined;
|
|
8378
8416
|
name?: string | undefined;
|
|
@@ -8382,6 +8420,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8382
8420
|
holeHeight?: number | undefined;
|
|
8383
8421
|
innerWidth?: number | undefined;
|
|
8384
8422
|
innerHeight?: number | undefined;
|
|
8423
|
+
rectPad?: boolean | undefined;
|
|
8385
8424
|
} | {
|
|
8386
8425
|
shape: "circular_hole_with_rect_pad";
|
|
8387
8426
|
holeDiameter: number;
|
|
@@ -8445,6 +8484,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8445
8484
|
holeHeight: string | number;
|
|
8446
8485
|
pcbX?: string | number | undefined;
|
|
8447
8486
|
pcbY?: string | number | undefined;
|
|
8487
|
+
pcbRotation?: string | number | undefined;
|
|
8448
8488
|
pcbRelative?: boolean | undefined;
|
|
8449
8489
|
relative?: boolean | undefined;
|
|
8450
8490
|
name?: string | undefined;
|
|
@@ -8452,6 +8492,7 @@ declare class PlatedHole extends PrimitiveComponent<typeof platedHoleProps> {
|
|
|
8452
8492
|
portHints?: (string | number)[] | undefined;
|
|
8453
8493
|
innerWidth?: string | number | undefined;
|
|
8454
8494
|
innerHeight?: string | number | undefined;
|
|
8495
|
+
rectPad?: boolean | undefined;
|
|
8455
8496
|
} | {
|
|
8456
8497
|
shape: "circular_hole_with_rect_pad";
|
|
8457
8498
|
holeDiameter: string | number;
|
|
@@ -10536,6 +10577,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
10536
10577
|
showSilkscreenPinLabels: zod.ZodOptional<zod.ZodBoolean>;
|
|
10537
10578
|
pcbPinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
10538
10579
|
doubleRow: zod.ZodOptional<zod.ZodBoolean>;
|
|
10580
|
+
rightAngle: zod.ZodOptional<zod.ZodBoolean>;
|
|
10539
10581
|
holeDiameter: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
10540
10582
|
platedDiameter: zod.ZodOptional<zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>>;
|
|
10541
10583
|
pinLabels: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -10800,6 +10842,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
10800
10842
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
10801
10843
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
10802
10844
|
doubleRow?: boolean | undefined;
|
|
10845
|
+
rightAngle?: boolean | undefined;
|
|
10803
10846
|
platedDiameter?: number | undefined;
|
|
10804
10847
|
facingDirection?: "left" | "right" | undefined;
|
|
10805
10848
|
}, {
|
|
@@ -10932,6 +10975,7 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
10932
10975
|
schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
|
|
10933
10976
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
10934
10977
|
doubleRow?: boolean | undefined;
|
|
10978
|
+
rightAngle?: boolean | undefined;
|
|
10935
10979
|
platedDiameter?: string | number | undefined;
|
|
10936
10980
|
facingDirection?: "left" | "right" | undefined;
|
|
10937
10981
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -2233,6 +2233,31 @@ var PlatedHole = class extends PrimitiveComponent2 {
|
|
|
2233
2233
|
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2234
2234
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
2235
2235
|
});
|
|
2236
|
+
} else if (props.shape === "pill" && props.rectPad) {
|
|
2237
|
+
const pcb_plated_hole = db.pcb_plated_hole.insert({
|
|
2238
|
+
pcb_component_id,
|
|
2239
|
+
pcb_port_id: this.matchedPort?.pcb_port_id,
|
|
2240
|
+
outer_width: props.outerWidth,
|
|
2241
|
+
outer_height: props.outerHeight,
|
|
2242
|
+
hole_width: props.holeWidth,
|
|
2243
|
+
hole_height: props.holeHeight,
|
|
2244
|
+
shape: "rotated_pill_hole_with_rect_pad",
|
|
2245
|
+
type: "pcb_plated_hole",
|
|
2246
|
+
port_hints: this.getNameAndAliases(),
|
|
2247
|
+
pcb_plated_hole_id: this.pcb_plated_hole_id,
|
|
2248
|
+
x: position.x,
|
|
2249
|
+
y: position.y,
|
|
2250
|
+
layers: ["top", "bottom"],
|
|
2251
|
+
subcircuit_id: subcircuit?.subcircuit_id ?? void 0,
|
|
2252
|
+
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0,
|
|
2253
|
+
hole_shape: "rotated_pill",
|
|
2254
|
+
pad_shape: "rect",
|
|
2255
|
+
hole_ccw_rotation: props.pcbRotation ?? 0,
|
|
2256
|
+
rect_ccw_rotation: props.pcbRotation ?? 0,
|
|
2257
|
+
rect_pad_width: props.outerWidth,
|
|
2258
|
+
rect_pad_height: props.outerHeight
|
|
2259
|
+
});
|
|
2260
|
+
this.pcb_plated_hole_id = pcb_plated_hole.pcb_plated_hole_id;
|
|
2236
2261
|
} else if (props.shape === "pill" || props.shape === "oval") {
|
|
2237
2262
|
const pcb_plated_hole = db.pcb_plated_hole.insert({
|
|
2238
2263
|
pcb_component_id,
|
|
@@ -11312,7 +11337,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
11312
11337
|
var package_default = {
|
|
11313
11338
|
name: "@tscircuit/core",
|
|
11314
11339
|
type: "module",
|
|
11315
|
-
version: "0.0.
|
|
11340
|
+
version: "0.0.601",
|
|
11316
11341
|
types: "dist/index.d.ts",
|
|
11317
11342
|
main: "dist/index.js",
|
|
11318
11343
|
module: "dist/index.js",
|
|
@@ -11343,7 +11368,7 @@ var package_default = {
|
|
|
11343
11368
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
11344
11369
|
"@tscircuit/log-soup": "^1.0.2",
|
|
11345
11370
|
"@tscircuit/math-utils": "^0.0.18",
|
|
11346
|
-
"@tscircuit/props": "^0.0.
|
|
11371
|
+
"@tscircuit/props": "^0.0.274",
|
|
11347
11372
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
11348
11373
|
"@tscircuit/schematic-corpus": "^0.0.110",
|
|
11349
11374
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
@@ -11361,7 +11386,7 @@ var package_default = {
|
|
|
11361
11386
|
"circuit-json-to-bpc": "^0.0.13",
|
|
11362
11387
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
11363
11388
|
"circuit-json-to-simple-3d": "^0.0.2",
|
|
11364
|
-
"circuit-to-svg": "^0.0.
|
|
11389
|
+
"circuit-to-svg": "^0.0.174",
|
|
11365
11390
|
concurrently: "^9.1.2",
|
|
11366
11391
|
debug: "^4.3.6",
|
|
11367
11392
|
"graphics-debug": "^0.0.60",
|
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.602",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
33
33
|
"@tscircuit/log-soup": "^1.0.2",
|
|
34
34
|
"@tscircuit/math-utils": "^0.0.18",
|
|
35
|
-
"@tscircuit/props": "^0.0.
|
|
35
|
+
"@tscircuit/props": "^0.0.274",
|
|
36
36
|
"@tscircuit/schematic-autolayout": "^0.0.6",
|
|
37
37
|
"@tscircuit/schematic-corpus": "^0.0.110",
|
|
38
38
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"circuit-json-to-bpc": "^0.0.13",
|
|
51
51
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
52
52
|
"circuit-json-to-simple-3d": "^0.0.2",
|
|
53
|
-
"circuit-to-svg": "^0.0.
|
|
53
|
+
"circuit-to-svg": "^0.0.174",
|
|
54
54
|
"concurrently": "^9.1.2",
|
|
55
55
|
"debug": "^4.3.6",
|
|
56
56
|
"graphics-debug": "^0.0.60",
|