circuit-json 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/dist/index.mjs CHANGED
@@ -1598,7 +1598,14 @@ var pcb_component = z84.object({
1598
1598
  is_allowed_to_be_off_board: z84.boolean().optional(),
1599
1599
  subcircuit_id: z84.string().optional(),
1600
1600
  pcb_group_id: z84.string().optional(),
1601
- position_mode: z84.enum(["packed", "relative_to_group_anchor", "none"]).optional(),
1601
+ position_mode: z84.enum([
1602
+ "packed",
1603
+ "relative_to_group_anchor",
1604
+ "relative_to_another_component",
1605
+ "none"
1606
+ ]).optional(),
1607
+ anchor_position: point.optional(),
1608
+ anchor_alignment: ninePointAnchor.optional(),
1602
1609
  positioned_relative_to_pcb_group_id: z84.string().optional(),
1603
1610
  positioned_relative_to_pcb_board_id: z84.string().optional(),
1604
1611
  metadata: z84.object({