@tscircuit/props 0.0.366 → 0.0.368
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 +17 -0
- package/dist/index.d.ts +977 -1
- package/dist/index.js +475 -458
- package/dist/index.js.map +1 -1
- package/lib/components/panel.ts +30 -0
- package/lib/components/smtpad.ts +4 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
55
55
|
| `<net />` | [`NetProps`](#netprops-net) |
|
|
56
56
|
| `<netalias />` | [`NetAliasProps`](#netaliasprops-netalias) |
|
|
57
57
|
| `<netlabel />` | [`NetLabelProps`](#netlabelprops-netlabel) |
|
|
58
|
+
| `<panel />` | [`PanelProps`](#panelprops-panel) |
|
|
58
59
|
| `<pcbkeepout />` | [`PcbKeepoutProps`](#pcbkeepoutprops-pcbkeepout) |
|
|
59
60
|
| `<pcbnotedimension />` | [`PcbNoteDimensionProps`](#pcbnotedimensionprops-pcbnotedimension) |
|
|
60
61
|
| `<pcbnoteline />` | [`PcbNoteLineProps`](#pcbnotelineprops-pcbnoteline) |
|
|
@@ -861,6 +862,22 @@ export interface NetLabelProps {
|
|
|
861
862
|
|
|
862
863
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/netlabel.ts)
|
|
863
864
|
|
|
865
|
+
### PanelProps `<panel />`
|
|
866
|
+
|
|
867
|
+
```ts
|
|
868
|
+
export interface PanelProps extends BaseGroupProps {
|
|
869
|
+
width: Distance;
|
|
870
|
+
height: Distance;
|
|
871
|
+
children?: BaseGroupProps["children"];
|
|
872
|
+
/**
|
|
873
|
+
* If true, prevent a solder mask from being applied to this panel.
|
|
874
|
+
*/
|
|
875
|
+
noSolderMask?: boolean;
|
|
876
|
+
}
|
|
877
|
+
```
|
|
878
|
+
|
|
879
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/panel.ts)
|
|
880
|
+
|
|
864
881
|
### PcbKeepoutProps `<pcbkeepout />`
|
|
865
882
|
|
|
866
883
|
```ts
|