@tscircuit/props 0.0.413 → 0.0.415
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 +13 -2
- package/dist/index.d.ts +1088 -9
- package/dist/index.js +478 -470
- package/dist/index.js.map +1 -1
- package/lib/components/interconnect.ts +17 -0
- package/lib/components/via.ts +4 -4
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,6 +50,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
50
50
|
| `<group />` | [`BaseGroupProps`](#basegroupprops-group) |
|
|
51
51
|
| `<hole />` | [`CircleHoleProps`](#circleholeprops-hole) |
|
|
52
52
|
| `<inductor />` | [`InductorProps`](#inductorprops-inductor) |
|
|
53
|
+
| `<interconnect />` | [`InterconnectProps`](#interconnectprops-interconnect) |
|
|
53
54
|
| `<jumper />` | [`JumperProps`](#jumperprops-jumper) |
|
|
54
55
|
| `<led />` | [`LedProps`](#ledprops-led) |
|
|
55
56
|
| `<mosfet />` | [`MosfetProps`](#mosfetprops-mosfet) |
|
|
@@ -793,6 +794,16 @@ export interface InductorProps<PinLabel extends string = string>
|
|
|
793
794
|
|
|
794
795
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/inductor.ts)
|
|
795
796
|
|
|
797
|
+
### InterconnectProps `<interconnect />`
|
|
798
|
+
|
|
799
|
+
```ts
|
|
800
|
+
export interface InterconnectProps extends CommonComponentProps {
|
|
801
|
+
standard?: "TSC0001_36P_XALT_2025_11";
|
|
802
|
+
}
|
|
803
|
+
```
|
|
804
|
+
|
|
805
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/interconnect.ts)
|
|
806
|
+
|
|
796
807
|
### JumperProps `<jumper />`
|
|
797
808
|
|
|
798
809
|
```ts
|
|
@@ -1543,8 +1554,8 @@ export interface ViaProps extends CommonLayoutProps {
|
|
|
1543
1554
|
name?: string;
|
|
1544
1555
|
fromLayer: LayerRefInput;
|
|
1545
1556
|
toLayer: LayerRefInput;
|
|
1546
|
-
holeDiameter
|
|
1547
|
-
outerDiameter
|
|
1557
|
+
holeDiameter?: number | string;
|
|
1558
|
+
outerDiameter?: number | string;
|
|
1548
1559
|
connectsTo?: string | string[];
|
|
1549
1560
|
netIsAssignable?: boolean;
|
|
1550
1561
|
}
|