@tscircuit/props 0.0.676 → 0.0.678

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
@@ -83,6 +83,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
83
83
  | `<pcbnotepath />` | [`PcbNotePathProps`](#pcbnotepathprops-pcbnotepath) |
84
84
  | `<pcbnoterect />` | [`PcbNoteRectProps`](#pcbnoterectprops-pcbnoterect) |
85
85
  | `<pcbnotetext />` | [`PcbNoteTextProps`](#pcbnotetextprops-pcbnotetext) |
86
+ | `<pcbsoldermaskopening />` | [`PcbSoldermaskOpeningProps`](#pcbsoldermaskopeningprops-pcbsoldermaskopening) |
86
87
  | `<pcbstiffener />` | [`PcbStiffenerProps`](#pcbstiffenerprops-pcbstiffener) |
87
88
  | `<pcbtrace />` | [`PcbTraceProps`](#pcbtraceprops-pcbtrace) |
88
89
  | `<pinheader />` | [`PinHeaderProps`](#pinheaderprops-pinheader) |
@@ -419,6 +420,17 @@ export interface BoardProps extends Omit<
419
420
  "subcircuit" | "connections" | "outline"
420
421
  > {
421
422
  title?: string;
423
+ /**
424
+ * Assembly mounting target, such as "NEMA17.backface". Trimmed; omitted
425
+ * leaves the board unattached. The target face is resolved by the consumer.
426
+ */
427
+ mountedTo?: string;
428
+ /**
429
+ * Nonnegative finite clearance between the target mounting face and the
430
+ * nearest PCB surface, in millimeters or a unit string. Parsed to mm.
431
+ * Omitted leaves the gap unset; only meaningful when mountedTo is supplied.
432
+ */
433
+ mountGap?: Distance;
422
434
  /** Fabricator preset, preserved as supplied. Omitted leaves the preset unset. */
423
435
  fabricatorPreset?:
424
436
  | "jlcpcb_economy"
@@ -1642,6 +1654,16 @@ export interface PcbNoteTextProps extends PcbLayoutProps {
1642
1654
 
1643
1655
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/pcb-note-text.ts)
1644
1656
 
1657
+ ### PcbSoldermaskOpeningProps `<pcbsoldermaskopening />`
1658
+
1659
+ ```ts
1660
+ export type PcbSoldermaskOpeningProps = z.input<
1661
+ typeof pcbSoldermaskOpeningProps
1662
+ >;
1663
+ ```
1664
+
1665
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/pcb-soldermask-opening.ts)
1666
+
1645
1667
  ### PcbStiffenerProps `<pcbstiffener />`
1646
1668
 
1647
1669
  ```ts