@tscircuit/props 0.0.461 → 0.0.463
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 +12 -0
- package/dist/index.d.ts +1605 -5
- package/dist/index.js +347 -317
- package/dist/index.js.map +1 -1
- package/lib/components/mountedboard.ts +17 -0
- package/lib/components/trace.ts +26 -2
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,6 +58,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
58
58
|
| `<jumper />` | [`JumperProps`](#jumperprops-jumper) |
|
|
59
59
|
| `<led />` | [`LedProps`](#ledprops-led) |
|
|
60
60
|
| `<mosfet />` | [`MosfetProps`](#mosfetprops-mosfet) |
|
|
61
|
+
| `<mountedboard />` | [`MountedBoardProps`](#mountedboardprops-mountedboard) |
|
|
61
62
|
| `<net />` | [`NetProps`](#netprops-net) |
|
|
62
63
|
| `<netalias />` | [`NetAliasProps`](#netaliasprops-netalias) |
|
|
63
64
|
| `<netlabel />` | [`NetLabelProps`](#netlabelprops-netlabel) |
|
|
@@ -957,6 +958,17 @@ export interface MosfetProps<
|
|
|
957
958
|
|
|
958
959
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/mosfet.ts)
|
|
959
960
|
|
|
961
|
+
### MountedBoardProps `<mountedboard />`
|
|
962
|
+
|
|
963
|
+
```ts
|
|
964
|
+
export interface MountedBoardProps extends SubcircuitGroupProps {
|
|
965
|
+
boardToBoardDistance?: Distance;
|
|
966
|
+
mountOrientation?: "faceDown" | "faceUp";
|
|
967
|
+
}
|
|
968
|
+
```
|
|
969
|
+
|
|
970
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/mountedboard.ts)
|
|
971
|
+
|
|
960
972
|
### NetProps `<net />`
|
|
961
973
|
|
|
962
974
|
```ts
|