@tscircuit/props 0.0.267 → 0.0.269

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.js CHANGED
@@ -372,7 +372,11 @@ var layoutConfig = z23.object({
372
372
  flexColumn: z23.boolean().optional(),
373
373
  gap: z23.number().or(z23.string()).optional(),
374
374
  pack: z23.boolean().optional().describe("Pack the contents of this group using a packing strategy"),
375
- packOrderStrategy: z23.enum(["largest_to_smallest"]).optional(),
375
+ packOrderStrategy: z23.enum([
376
+ "largest_to_smallest",
377
+ "first_to_last",
378
+ "highest_to_lowest_pin_count"
379
+ ]).optional(),
376
380
  packPlacementStrategy: z23.enum(["shortest_connection_along_outline"]).optional(),
377
381
  padding: length.optional(),
378
382
  paddingLeft: length.optional(),
@@ -473,7 +477,8 @@ expectTypesMatch(true);
473
477
 
474
478
  // lib/components/board.ts
475
479
  var boardProps = subcircuitGroupProps.extend({
476
- material: z24.enum(["fr4", "fr1"]).default("fr4")
480
+ material: z24.enum(["fr4", "fr1"]).default("fr4"),
481
+ layers: z24.union([z24.literal(2), z24.literal(4)]).default(2)
477
482
  });
478
483
  expectTypesMatch(true);
479
484