@tscircuit/props 0.0.524 → 0.0.526
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/README.md +2 -1
- package/dist/index.d.ts +809 -723
- package/dist/index.js +16 -9
- package/dist/index.js.map +1 -1
- package/lib/components/autoroutingphase.ts +10 -2
- package/lib/components/group.ts +29 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16258,6 +16258,17 @@ var border = z36.object({
|
|
|
16258
16258
|
solid: z36.boolean().optional()
|
|
16259
16259
|
});
|
|
16260
16260
|
var pcbAnchorAlignmentAutocomplete = z36.custom((value) => typeof value === "string");
|
|
16261
|
+
var routingTolerances = z36.object({
|
|
16262
|
+
minTraceWidth: length3.optional(),
|
|
16263
|
+
minViaHoleEdgeToViaHoleEdgeClearance: length3.optional(),
|
|
16264
|
+
minViaEdgeToPadEdgeClearance: length3.optional(),
|
|
16265
|
+
minPlatedHoleDrillEdgeToDrillEdgeClearance: length3.optional(),
|
|
16266
|
+
minTraceToPadEdgeClearance: length3.optional(),
|
|
16267
|
+
minPadEdgeToPadEdgeClearance: length3.optional(),
|
|
16268
|
+
minBoardEdgeClearance: length3.optional(),
|
|
16269
|
+
minViaHoleDiameter: length3.optional(),
|
|
16270
|
+
minViaPadDiameter: length3.optional()
|
|
16271
|
+
});
|
|
16261
16272
|
var autorouterConfig = z36.object({
|
|
16262
16273
|
serverUrl: url.optional(),
|
|
16263
16274
|
inputFormat: z36.enum(["simplified", "circuit-json"]).optional(),
|
|
@@ -16408,15 +16419,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
|
|
|
16408
16419
|
routingDisabled: z36.boolean().optional(),
|
|
16409
16420
|
bomDisabled: z36.boolean().optional(),
|
|
16410
16421
|
defaultTraceWidth: length3.optional(),
|
|
16411
|
-
|
|
16412
|
-
minViaHoleEdgeToViaHoleEdgeClearance: length3.optional(),
|
|
16413
|
-
minViaEdgeToPadEdgeClearance: length3.optional(),
|
|
16414
|
-
minPlatedHoleDrillEdgeToDrillEdgeClearance: length3.optional(),
|
|
16415
|
-
minTraceToPadEdgeClearance: length3.optional(),
|
|
16416
|
-
minPadEdgeToPadEdgeClearance: length3.optional(),
|
|
16417
|
-
minBoardEdgeClearance: length3.optional(),
|
|
16418
|
-
minViaHoleDiameter: length3.optional(),
|
|
16419
|
-
minViaPadDiameter: length3.optional(),
|
|
16422
|
+
...routingTolerances.shape,
|
|
16420
16423
|
nominalTraceWidth: length3.optional(),
|
|
16421
16424
|
partsEngine: partsEngine.optional(),
|
|
16422
16425
|
_subcircuitCachingEnabled: z36.boolean().optional(),
|
|
@@ -16445,6 +16448,7 @@ expectTypesMatch(true);
|
|
|
16445
16448
|
expectTypesMatch(true);
|
|
16446
16449
|
expectTypesMatch(true);
|
|
16447
16450
|
expectTypesMatch(true);
|
|
16451
|
+
expectTypesMatch(true);
|
|
16448
16452
|
|
|
16449
16453
|
// lib/components/board.ts
|
|
16450
16454
|
var boardColor = z37.custom((value) => typeof value === "string");
|
|
@@ -17352,7 +17356,9 @@ var autoroutingPhaseProps = z73.object({
|
|
|
17352
17356
|
key: z73.any().optional(),
|
|
17353
17357
|
autorouter: autorouterProp.optional(),
|
|
17354
17358
|
phaseIndex: z73.number().optional(),
|
|
17359
|
+
...routingTolerances.shape,
|
|
17355
17360
|
region: z73.object({
|
|
17361
|
+
shape: z73.literal("rect").optional(),
|
|
17356
17362
|
minX: z73.number(),
|
|
17357
17363
|
maxX: z73.number(),
|
|
17358
17364
|
minY: z73.number(),
|
|
@@ -18590,6 +18596,7 @@ export {
|
|
|
18590
18596
|
rotatedRectSmtPadProps,
|
|
18591
18597
|
rotationPoint3,
|
|
18592
18598
|
routeHintPointProps,
|
|
18599
|
+
routingTolerances,
|
|
18593
18600
|
schStyle,
|
|
18594
18601
|
schematicArcProps,
|
|
18595
18602
|
schematicBoxProps,
|