@tscircuit/props 0.0.214 → 0.0.216
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 +20 -0
- package/dist/index.d.ts +640 -1
- package/dist/index.js +266 -257
- package/dist/index.js.map +1 -1
- package/lib/components/pin-header.ts +11 -0
- package/lib/components/solderjumper.ts +17 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,6 +44,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput)
|
|
|
44
44
|
| `<resistor />` | [`ResistorProps`](#resistorprops-resistor) |
|
|
45
45
|
| `<resonator />` | [`ResonatorProps`](#resonatorprops-resonator) |
|
|
46
46
|
| `<smtpad />` | [`RectSmtPadProps`](#rectsmtpadprops-smtpad) |
|
|
47
|
+
| `<solderjumper />` | [`SolderJumperProps`](#solderjumperprops-solderjumper) |
|
|
47
48
|
| `<solderpaste />` | [`RectSolderPasteProps`](#rectsolderpasteprops-solderpaste) |
|
|
48
49
|
| `<stampboard />` | [`StampboardProps`](#stampboardprops-stampboard) |
|
|
49
50
|
| `<switch />` | [`SwitchProps`](#switchprops-switch) |
|
|
@@ -515,6 +516,11 @@ export interface PinHeaderProps extends CommonComponentProps {
|
|
|
515
516
|
*/
|
|
516
517
|
pinLabels?: string[]
|
|
517
518
|
|
|
519
|
+
/**
|
|
520
|
+
* Connections to other components
|
|
521
|
+
*/
|
|
522
|
+
connections?: Connections<string>
|
|
523
|
+
|
|
518
524
|
/**
|
|
519
525
|
* Direction the header is facing
|
|
520
526
|
*/
|
|
@@ -601,6 +607,20 @@ export interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
601
607
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/smtpad.ts)
|
|
602
608
|
|
|
603
609
|
|
|
610
|
+
### SolderJumperProps `<solderjumper />`
|
|
611
|
+
|
|
612
|
+
```ts
|
|
613
|
+
export interface SolderJumperProps extends JumperProps {
|
|
614
|
+
/**
|
|
615
|
+
* Pins that are bridged with solder by default
|
|
616
|
+
*/
|
|
617
|
+
bridgedPins?: string[][]
|
|
618
|
+
}
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/solderjumper.ts)
|
|
622
|
+
|
|
623
|
+
|
|
604
624
|
### RectSolderPasteProps `<solderpaste />`
|
|
605
625
|
|
|
606
626
|
```ts
|