@tscircuit/props 0.0.460 → 0.0.462
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 +30 -0
- package/dist/index.d.ts +1850 -204
- package/dist/index.js +406 -379
- package/dist/index.js.map +1 -1
- package/lib/components/courtyard-circle.ts +9 -0
- package/lib/components/courtyard-pill.ts +11 -0
- package/lib/components/mountedboard.ts +17 -0
- package/lib/index.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,9 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
36
36
|
| `<constraint />` | [`ConstraintProps`](#constraintprops-constraint) |
|
|
37
37
|
| `<copperpour />` | [`CopperPourProps`](#copperpourprops-copperpour) |
|
|
38
38
|
| `<coppertext />` | [`CopperTextProps`](#coppertextprops-coppertext) |
|
|
39
|
+
| `<courtyardcircle />` | [`CourtyardCircleProps`](#courtyardcircleprops-courtyardcircle) |
|
|
39
40
|
| `<courtyardoutline />` | [`CourtyardOutlineProps`](#courtyardoutlineprops-courtyardoutline) |
|
|
41
|
+
| `<courtyardpill />` | [`CourtyardPillProps`](#courtyardpillprops-courtyardpill) |
|
|
40
42
|
| `<courtyardrect />` | [`CourtyardRectProps`](#courtyardrectprops-courtyardrect) |
|
|
41
43
|
| `<crystal />` | [`CrystalProps`](#crystalprops-crystal) |
|
|
42
44
|
| `<currentsource />` | [`CurrentSourceProps`](#currentsourceprops-currentsource) |
|
|
@@ -56,6 +58,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
56
58
|
| `<jumper />` | [`JumperProps`](#jumperprops-jumper) |
|
|
57
59
|
| `<led />` | [`LedProps`](#ledprops-led) |
|
|
58
60
|
| `<mosfet />` | [`MosfetProps`](#mosfetprops-mosfet) |
|
|
61
|
+
| `<mountedboard />` | [`MountedBoardProps`](#mountedboardprops-mountedboard) |
|
|
59
62
|
| `<net />` | [`NetProps`](#netprops-net) |
|
|
60
63
|
| `<netalias />` | [`NetAliasProps`](#netaliasprops-netalias) |
|
|
61
64
|
| `<netlabel />` | [`NetLabelProps`](#netlabelprops-netlabel) |
|
|
@@ -466,6 +469,14 @@ export type CopperTextProps = z.input<typeof copperTextProps>;
|
|
|
466
469
|
|
|
467
470
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/copper-text.ts)
|
|
468
471
|
|
|
472
|
+
### CourtyardCircleProps `<courtyardcircle />`
|
|
473
|
+
|
|
474
|
+
```ts
|
|
475
|
+
export type CourtyardCircleProps = z.input<typeof courtyardCircleProps>;
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/courtyard-circle.ts)
|
|
479
|
+
|
|
469
480
|
### CourtyardOutlineProps `<courtyardoutline />`
|
|
470
481
|
|
|
471
482
|
```ts
|
|
@@ -474,6 +485,14 @@ export type CourtyardOutlineProps = z.input<typeof courtyardOutlineProps>;
|
|
|
474
485
|
|
|
475
486
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/courtyard-outline.ts)
|
|
476
487
|
|
|
488
|
+
### CourtyardPillProps `<courtyardpill />`
|
|
489
|
+
|
|
490
|
+
```ts
|
|
491
|
+
export type CourtyardPillProps = z.input<typeof courtyardPillProps>;
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/courtyard-pill.ts)
|
|
495
|
+
|
|
477
496
|
### CourtyardRectProps `<courtyardrect />`
|
|
478
497
|
|
|
479
498
|
```ts
|
|
@@ -939,6 +958,17 @@ export interface MosfetProps<
|
|
|
939
958
|
|
|
940
959
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/mosfet.ts)
|
|
941
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
|
+
|
|
942
972
|
### NetProps `<net />`
|
|
943
973
|
|
|
944
974
|
```ts
|