@tscircuit/props 0.0.659 → 0.0.661

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 CHANGED
@@ -424,6 +424,11 @@ export interface BoardProps extends Omit<
424
424
  * false, which restricts newly generated vias to the full board stack.
425
425
  */
426
426
  allowBlindAndBuriedVias?: boolean;
427
+ /**
428
+ * Whether to route remaining unrouted connections after explicit routing phases.
429
+ * Omitted leaves the setting unset, preserving the consumer's default behavior.
430
+ */
431
+ routeRemaining?: boolean;
427
432
  defaultViaTenting?:
428
433
  | boolean
429
434
  | "both_sides"
package/dist/index.d.ts CHANGED
@@ -27910,6 +27910,11 @@ interface BoardProps extends Omit<SubcircuitGroupProps, "subcircuit" | "connecti
27910
27910
  * false, which restricts newly generated vias to the full board stack.
27911
27911
  */
27912
27912
  allowBlindAndBuriedVias?: boolean;
27913
+ /**
27914
+ * Whether to route remaining unrouted connections after explicit routing phases.
27915
+ * Omitted leaves the setting unset, preserving the consumer's default behavior.
27916
+ */
27917
+ routeRemaining?: boolean;
27913
27918
  defaultViaTenting?: boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed";
27914
27919
  borderRadius?: Distance;
27915
27920
  thickness?: Distance;
@@ -28716,6 +28721,7 @@ declare const boardProps: z.ZodObject<{
28716
28721
  material: z.ZodDefault<z.ZodEnum<["fr4", "fr1", "flex"]>>;
28717
28722
  layers: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<10>]>>;
28718
28723
  allowBlindAndBuriedVias: z.ZodDefault<z.ZodBoolean>;
28724
+ routeRemaining: z.ZodOptional<z.ZodBoolean>;
28719
28725
  defaultViaTenting: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["both_sides", "top_and_bottom_tented", "top_tented", "bottom_tented", "exposed"]>]>, "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed", boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed">>;
28720
28726
  borderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
28721
28727
  thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -29112,6 +29118,7 @@ declare const boardProps: z.ZodObject<{
29112
29118
  schMatchAdapt?: boolean | undefined;
29113
29119
  title?: string | undefined;
29114
29120
  fabricatorPreset?: "jlcpcb_economy" | "jlcpcb_standard" | "jlcpcb_economy_20260912" | "jlcpcb_standard_20260912" | undefined;
29121
+ routeRemaining?: boolean | undefined;
29115
29122
  defaultViaTenting?: "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed" | undefined;
29116
29123
  borderRadius?: number | undefined;
29117
29124
  boardAnchorPosition?: {
@@ -29462,6 +29469,7 @@ declare const boardProps: z.ZodObject<{
29462
29469
  fabricatorPreset?: "jlcpcb_economy" | "jlcpcb_standard" | "jlcpcb_economy_20260912" | "jlcpcb_standard_20260912" | undefined;
29463
29470
  material?: "flex" | "fr4" | "fr1" | undefined;
29464
29471
  allowBlindAndBuriedVias?: boolean | undefined;
29472
+ routeRemaining?: boolean | undefined;
29465
29473
  defaultViaTenting?: boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed" | undefined;
29466
29474
  borderRadius?: string | number | undefined;
29467
29475
  boardAnchorPosition?: {
@@ -102739,6 +102747,7 @@ declare const stampboardProps: z.ZodObject<{
102739
102747
  material: z.ZodDefault<z.ZodEnum<["fr4", "fr1", "flex"]>>;
102740
102748
  layers: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<10>]>>;
102741
102749
  allowBlindAndBuriedVias: z.ZodDefault<z.ZodBoolean>;
102750
+ routeRemaining: z.ZodOptional<z.ZodBoolean>;
102742
102751
  defaultViaTenting: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["both_sides", "top_and_bottom_tented", "top_tented", "bottom_tented", "exposed"]>]>, "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed", boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed">>;
102743
102752
  borderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
102744
102753
  thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -103150,6 +103159,7 @@ declare const stampboardProps: z.ZodObject<{
103150
103159
  schMatchAdapt?: boolean | undefined;
103151
103160
  title?: string | undefined;
103152
103161
  fabricatorPreset?: "jlcpcb_economy" | "jlcpcb_standard" | "jlcpcb_economy_20260912" | "jlcpcb_standard_20260912" | undefined;
103162
+ routeRemaining?: boolean | undefined;
103153
103163
  defaultViaTenting?: "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed" | undefined;
103154
103164
  borderRadius?: number | undefined;
103155
103165
  boardAnchorPosition?: {
@@ -103510,6 +103520,7 @@ declare const stampboardProps: z.ZodObject<{
103510
103520
  fabricatorPreset?: "jlcpcb_economy" | "jlcpcb_standard" | "jlcpcb_economy_20260912" | "jlcpcb_standard_20260912" | undefined;
103511
103521
  material?: "flex" | "fr4" | "fr1" | undefined;
103512
103522
  allowBlindAndBuriedVias?: boolean | undefined;
103523
+ routeRemaining?: boolean | undefined;
103513
103524
  defaultViaTenting?: boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed" | undefined;
103514
103525
  borderRadius?: string | number | undefined;
103515
103526
  boardAnchorPosition?: {
@@ -197328,6 +197339,8 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197328
197339
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
197329
197340
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
197330
197341
  }>, "many">>;
197342
+ /** Report keepout violations as warnings when true. Omit for normal enforcement. */
197343
+ warningOnly: z.ZodOptional<z.ZodBoolean>;
197331
197344
  excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
197332
197345
  }, "strip", z.ZodTypeAny, {
197333
197346
  shape: "circle";
@@ -197364,6 +197377,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197364
197377
  pcbSx?: PcbSx | undefined;
197365
197378
  pcbRelative?: boolean | undefined;
197366
197379
  relative?: boolean | undefined;
197380
+ warningOnly?: boolean | undefined;
197367
197381
  excludeRefs?: string[] | undefined;
197368
197382
  }, {
197369
197383
  shape: "circle";
@@ -197404,6 +197418,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197404
197418
  pcbSx?: PcbSx | undefined;
197405
197419
  pcbRelative?: boolean | undefined;
197406
197420
  relative?: boolean | undefined;
197421
+ warningOnly?: boolean | undefined;
197407
197422
  excludeRefs?: string[] | undefined;
197408
197423
  }>, z.ZodObject<{
197409
197424
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -197483,6 +197498,8 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197483
197498
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
197484
197499
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
197485
197500
  }>, "many">>;
197501
+ /** Report keepout violations as warnings when true. Omit for normal enforcement. */
197502
+ warningOnly: z.ZodOptional<z.ZodBoolean>;
197486
197503
  excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
197487
197504
  }, "strip", z.ZodTypeAny, {
197488
197505
  shape: "rect";
@@ -197521,6 +197538,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197521
197538
  pcbSx?: PcbSx | undefined;
197522
197539
  pcbRelative?: boolean | undefined;
197523
197540
  relative?: boolean | undefined;
197541
+ warningOnly?: boolean | undefined;
197524
197542
  excludeRefs?: string[] | undefined;
197525
197543
  }, {
197526
197544
  shape: "rect";
@@ -197563,6 +197581,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197563
197581
  pcbSx?: PcbSx | undefined;
197564
197582
  pcbRelative?: boolean | undefined;
197565
197583
  relative?: boolean | undefined;
197584
+ warningOnly?: boolean | undefined;
197566
197585
  excludeRefs?: string[] | undefined;
197567
197586
  }>]>;
197568
197587
  type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
package/dist/index.js CHANGED
@@ -16717,6 +16717,9 @@ var boardProps = subcircuitGroupProps.omit({ connections: true }).extend({
16717
16717
  allowBlindAndBuriedVias: z44.boolean().default(false).describe(
16718
16718
  "Whether the autorouter may generate blind and buried vias. Defaults to false, which restricts newly generated vias to the full board stack."
16719
16719
  ),
16720
+ routeRemaining: z44.boolean().optional().describe(
16721
+ "Whether to route remaining unrouted connections after explicit routing phases. Boolean values are preserved; omitted leaves the setting unset. No aliases or prop conflicts are introduced, and existing boards require no migration."
16722
+ ),
16720
16723
  defaultViaTenting: z44.union([
16721
16724
  z44.boolean(),
16722
16725
  z44.enum([
@@ -18569,6 +18572,8 @@ var pcbKeepoutProps = z110.union([
18569
18572
  shape: z110.literal("circle"),
18570
18573
  radius: distance28,
18571
18574
  layers: z110.array(layer_ref10).optional(),
18575
+ /** Report keepout violations as warnings when true. Omit for normal enforcement. */
18576
+ warningOnly: z110.boolean().optional(),
18572
18577
  excludeRefs: z110.array(z110.string()).optional().describe(
18573
18578
  'Component selectors excluded from the keepout, such as ".ANT1"'
18574
18579
  )
@@ -18578,6 +18583,8 @@ var pcbKeepoutProps = z110.union([
18578
18583
  width: distance28,
18579
18584
  height: distance28,
18580
18585
  layers: z110.array(layer_ref10).optional(),
18586
+ /** Report keepout violations as warnings when true. Omit for normal enforcement. */
18587
+ warningOnly: z110.boolean().optional(),
18581
18588
  excludeRefs: z110.array(z110.string()).optional().describe(
18582
18589
  'Component selectors excluded from the keepout, such as ".ANT1"'
18583
18590
  )