@tscircuit/props 0.0.312 → 0.0.314

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
@@ -28,7 +28,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
28
28
  | `<chip />` | [`ChipProps`](#chipprops-chip) |
29
29
  | `<connector />` | [`ConnectorProps`](#connectorprops-connector) |
30
30
  | `<constrainedlayout />` | [`ConstrainedLayoutProps`](#constrainedlayoutprops-constrainedlayout) |
31
- | `<copperpour />` | [`RectCopperPourProps`](#rectcopperpourprops-copperpour) |
31
+ | `<copperpour />` | [`CopperPourProps`](#copperpourprops-copperpour) |
32
32
  | `<crystal />` | [`CrystalProps`](#crystalprops-crystal) |
33
33
  | `<cutout />` | [`RectCutoutProps`](#rectcutoutprops-cutout) |
34
34
  | `<diode />` | [`DiodeProps`](#diodeprops-diode) |
@@ -289,15 +289,15 @@ export interface ConstrainedLayoutProps {
289
289
 
290
290
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/constrainedlayout.ts)
291
291
 
292
- ### RectCopperPourProps `<copperpour />`
292
+ ### CopperPourProps `<copperpour />`
293
293
 
294
294
  ```ts
295
- export interface RectCopperPourProps
296
- extends Omit<PcbLayoutProps, "pcbRotation"> {
297
- shape: "rect";
298
- width: Distance;
299
- height: Distance;
300
- connectsTo?: string | string[];
295
+ export interface CopperPourProps {
296
+ name?: string;
297
+ layer: LayerRefInput;
298
+ connectsTo: string;
299
+ padMargin?: Distance;
300
+ traceMargin?: Distance;
301
301
  }
302
302
  ```
303
303