circuit-json 0.0.331 → 0.0.333

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
@@ -273,14 +273,6 @@ interface SourceComponentBase {
273
273
  manufacturer_part_number?: string
274
274
  supplier_part_numbers?: Partial<Record<SupplierName, string[]>>
275
275
  display_value?: string
276
- /** How to display the x offset for this part, usually corresponding with how
277
- * the user specified it */
278
-
279
- display_x_offset?: string
280
- /** How to display the y offset for this part, usually corresponding with how
281
- * the user specified it */
282
-
283
- display_y_offset?: string
284
276
  are_pins_interchangeable?: boolean
285
277
  internally_connected_source_port_ids?: string[][]
286
278
  source_group_id?: string
@@ -988,6 +980,8 @@ interface PcbComponent {
988
980
  center: Point
989
981
  layer: LayerRef
990
982
  rotation: Rotation
983
+ display_offset_x?: string
984
+ display_offset_y?: string
991
985
  width: Length
992
986
  height: Length
993
987
  do_not_place?: boolean
@@ -1373,6 +1367,8 @@ interface PcbGroup {
1373
1367
  width?: Length
1374
1368
  height?: Length
1375
1369
  center: Point
1370
+ display_offset_x?: string
1371
+ display_offset_y?: string
1376
1372
  outline?: Point[]
1377
1373
  anchor_position?: Point
1378
1374
  anchor_alignment?:
@@ -1381,6 +1377,9 @@ interface PcbGroup {
1381
1377
  | "top_right"
1382
1378
  | "bottom_left"
1383
1379
  | "bottom_right"
1380
+ position_mode?: "packed" | "relative_to_group_anchor" | "none"
1381
+ positioned_relative_to_pcb_group_id?: string
1382
+ positioned_relative_to_pcb_board_id?: string
1384
1383
  pcb_component_ids: string[]
1385
1384
  child_layout_mode?: "packed" | "none"
1386
1385
  name?: string
@@ -2673,6 +2672,7 @@ interface SchematicVoltageProbe {
2673
2672
  voltage?: number
2674
2673
  subcircuit_id?: string
2675
2674
  color?: string
2675
+ label_alignment?: NinePointAnchor
2676
2676
  }
2677
2677
  ```
2678
2678