@tscircuit/props 0.0.296 → 0.0.298

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,6 +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
32
  | `<crystal />` | [`CrystalProps`](#crystalprops-crystal) |
32
33
  | `<cutout />` | [`RectCutoutProps`](#rectcutoutprops-cutout) |
33
34
  | `<diode />` | [`DiodeProps`](#diodeprops-diode) |
@@ -288,6 +289,20 @@ export interface ConstrainedLayoutProps {
288
289
 
289
290
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/constrainedlayout.ts)
290
291
 
292
+ ### RectCopperPourProps `<copperpour />`
293
+
294
+ ```ts
295
+ export interface RectCopperPourProps
296
+ extends Omit<PcbLayoutProps, "pcbRotation"> {
297
+ shape: "rect";
298
+ width: Distance;
299
+ height: Distance;
300
+ connectsTo?: string | string[];
301
+ }
302
+ ```
303
+
304
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/copper-pour.ts)
305
+
291
306
  ### CrystalProps `<crystal />`
292
307
 
293
308
  ```ts