@tscircuit/props 0.0.210 → 0.0.211
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 +692 -7
- package/dist/index.js +408 -387
- package/dist/index.js.map +1 -1
- package/lib/components/breakout.ts +25 -0
- package/lib/components/breakoutpoint.ts +17 -0
- package/lib/index.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,8 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput)
|
|
|
21
21
|
| --------- | -------------- |
|
|
22
22
|
| `<battery />` | [`BatteryProps`](#batteryprops-battery) |
|
|
23
23
|
| `<board />` | [`BoardProps`](#boardprops-board) |
|
|
24
|
+
| `<breakout />` | [`BreakoutProps`](#breakoutprops-breakout) |
|
|
25
|
+
| `<breakoutpoint />` | [`BreakoutPointProps`](#breakoutpointprops-breakoutpoint) |
|
|
24
26
|
| `<capacitor />` | [`CapacitorProps`](#capacitorprops-capacitor) |
|
|
25
27
|
| `<chip />` | [`ChipProps`](#chipprops-chip) |
|
|
26
28
|
| `<connector />` | [`ConnectorProps`](#connectorprops-connector) |
|
|
@@ -150,6 +152,34 @@ export interface BoardProps extends Omit<SubcircuitGroupProps, "subcircuit"> {
|
|
|
150
152
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/board.ts)
|
|
151
153
|
|
|
152
154
|
|
|
155
|
+
### BreakoutProps `<breakout />`
|
|
156
|
+
|
|
157
|
+
```ts
|
|
158
|
+
export interface BreakoutProps
|
|
159
|
+
extends Omit<SubcircuitGroupProps, "subcircuit"> {
|
|
160
|
+
padding?: Distance
|
|
161
|
+
paddingLeft?: Distance
|
|
162
|
+
paddingRight?: Distance
|
|
163
|
+
paddingTop?: Distance
|
|
164
|
+
paddingBottom?: Distance
|
|
165
|
+
}
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/breakout.ts)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### BreakoutPointProps `<breakoutpoint />`
|
|
172
|
+
|
|
173
|
+
```ts
|
|
174
|
+
export interface BreakoutPointProps
|
|
175
|
+
extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
176
|
+
connection: string
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/breakoutpoint.ts)
|
|
181
|
+
|
|
182
|
+
|
|
153
183
|
### CapacitorProps `<capacitor />`
|
|
154
184
|
|
|
155
185
|
```ts
|