@tscircuit/props 0.0.387 → 0.0.388

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
@@ -979,6 +979,7 @@ export interface PcbNoteRectProps extends Omit<PcbLayoutProps, "pcbRotation"> {
979
979
  hasStroke?: boolean;
980
980
  isStrokeDashed?: boolean;
981
981
  color?: string;
982
+ cornerRadius?: string | number;
982
983
  }
983
984
  ```
984
985
 
package/dist/index.d.ts CHANGED
@@ -5426,9 +5426,9 @@ interface AutorouterConfig {
5426
5426
  groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
5427
5427
  local?: boolean;
5428
5428
  algorithmFn?: (simpleRouteJson: any) => Promise<any>;
5429
- preset?: "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "freerouting" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
5429
+ preset?: "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "freerouting" | "laser_prefab" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
5430
5430
  }
5431
- type AutorouterPreset = "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "freerouting" | "sequential-trace" | "auto-local" | "auto-cloud";
5431
+ type AutorouterPreset = "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "freerouting" | "laser_prefab" | "sequential-trace" | "auto-local" | "auto-cloud";
5432
5432
  type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
5433
5433
  declare const autorouterConfig: z.ZodObject<{
5434
5434
  serverUrl: z.ZodOptional<z.ZodString>;
@@ -5439,7 +5439,7 @@ declare const autorouterConfig: z.ZodObject<{
5439
5439
  traceClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5440
5440
  groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
5441
5441
  algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
5442
- preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "auto", "auto_local", "auto_cloud", "freerouting", "sequential-trace", "auto-local", "auto-cloud"]>>;
5442
+ preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "auto", "auto_local", "auto_cloud", "freerouting", "laser_prefab", "sequential-trace", "auto-local", "auto-cloud"]>>;
5443
5443
  local: z.ZodOptional<z.ZodBoolean>;
5444
5444
  }, "strip", z.ZodTypeAny, {
5445
5445
  serverUrl?: string | undefined;
@@ -5450,7 +5450,7 @@ declare const autorouterConfig: z.ZodObject<{
5450
5450
  traceClearance?: number | undefined;
5451
5451
  groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
5452
5452
  algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
5453
- preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "freerouting" | "auto-local" | "auto-cloud" | undefined;
5453
+ preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "freerouting" | "laser_prefab" | "auto-local" | "auto-cloud" | undefined;
5454
5454
  local?: boolean | undefined;
5455
5455
  }, {
5456
5456
  serverUrl?: string | undefined;
@@ -5461,10 +5461,10 @@ declare const autorouterConfig: z.ZodObject<{
5461
5461
  traceClearance?: string | number | undefined;
5462
5462
  groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
5463
5463
  algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
5464
- preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "freerouting" | "auto-local" | "auto-cloud" | undefined;
5464
+ preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "freerouting" | "laser_prefab" | "auto-local" | "auto-cloud" | undefined;
5465
5465
  local?: boolean | undefined;
5466
5466
  }>;
5467
- declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
5467
+ declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
5468
5468
  declare const autorouterProp: z.ZodType<AutorouterProp>;
5469
5469
  interface SubcircuitGroupProps extends BaseGroupProps {
5470
5470
  manualEdits?: ManualEditsFileInput;
package/dist/index.js CHANGED
@@ -526,6 +526,7 @@ var autorouterConfig = z28.object({
526
526
  "auto_local",
527
527
  "auto_cloud",
528
528
  "freerouting",
529
+ "laser_prefab",
529
530
  "sequential-trace",
530
531
  "auto-local",
531
532
  "auto-cloud"
@@ -539,6 +540,8 @@ var autorouterPreset = z28.union([
539
540
  z28.literal("auto_local"),
540
541
  z28.literal("auto_cloud"),
541
542
  z28.literal("freerouting"),
543
+ z28.literal("laser_prefab"),
544
+ // Prefabricated PCB with laser copper ablation
542
545
  z28.literal("sequential-trace"),
543
546
  z28.literal("auto-local"),
544
547
  z28.literal("auto-cloud")