@tscircuit/props 0.0.438 → 0.0.440
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 +15 -0
- package/dist/index.d.ts +1171 -1
- package/dist/index.js +286 -266
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +4 -0
- package/lib/components/opamp.ts +42 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,6 +59,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
59
59
|
| `<net />` | [`NetProps`](#netprops-net) |
|
|
60
60
|
| `<netalias />` | [`NetAliasProps`](#netaliasprops-netalias) |
|
|
61
61
|
| `<netlabel />` | [`NetLabelProps`](#netlabelprops-netlabel) |
|
|
62
|
+
| `<opamp />` | [`OpAmpProps`](#opampprops-opamp) |
|
|
62
63
|
| `<panel />` | [`PanelProps`](#panelprops-panel) |
|
|
63
64
|
| `<pcbkeepout />` | [`PcbKeepoutProps`](#pcbkeepoutprops-pcbkeepout) |
|
|
64
65
|
| `<pcbnotedimension />` | [`PcbNoteDimensionProps`](#pcbnotedimensionprops-pcbnotedimension) |
|
|
@@ -162,6 +163,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
162
163
|
routingDisabled?: boolean;
|
|
163
164
|
defaultTraceWidth?: Distance;
|
|
164
165
|
minTraceWidth?: Distance;
|
|
166
|
+
nominalTraceWidth?: Distance;
|
|
165
167
|
pcbRouteCache?: PcbRouteCache;
|
|
166
168
|
|
|
167
169
|
autorouter?: AutorouterProp;
|
|
@@ -736,6 +738,7 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
736
738
|
pcbWidth?: Distance;
|
|
737
739
|
pcbHeight?: Distance;
|
|
738
740
|
minTraceWidth?: Distance;
|
|
741
|
+
nominalTraceWidth?: Distance;
|
|
739
742
|
schWidth?: Distance;
|
|
740
743
|
schHeight?: Distance;
|
|
741
744
|
|
|
@@ -980,6 +983,18 @@ export interface NetLabelProps {
|
|
|
980
983
|
|
|
981
984
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/netlabel.ts)
|
|
982
985
|
|
|
986
|
+
### OpAmpProps `<opamp />`
|
|
987
|
+
|
|
988
|
+
```ts
|
|
989
|
+
export interface OpAmpProps<
|
|
990
|
+
PinLabel extends string = string,
|
|
991
|
+
> extends CommonComponentProps<PinLabel> {
|
|
992
|
+
connections?: Connections<OpAmpPinLabels>;
|
|
993
|
+
}
|
|
994
|
+
```
|
|
995
|
+
|
|
996
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/opamp.ts)
|
|
997
|
+
|
|
983
998
|
### PanelProps `<panel />`
|
|
984
999
|
|
|
985
1000
|
```ts
|