@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 +8 -8
- package/dist/index.d.ts +1032 -408
- package/dist/index.js +155 -180
- package/dist/index.js.map +1 -1
- package/lib/common/cadModel.ts +4 -1
- package/lib/components/copper-pour.ts +16 -71
- package/package.json +1 -1
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 />` | [`
|
|
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
|
-
###
|
|
292
|
+
### CopperPourProps `<copperpour />`
|
|
293
293
|
|
|
294
294
|
```ts
|
|
295
|
-
export interface
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
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
|
|