@tscircuit/props 0.0.317 → 0.0.319

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 CHANGED
@@ -24,6 +24,8 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
24
24
  | `<board />` | [`BoardProps`](#boardprops-board) |
25
25
  | `<breakout />` | [`BreakoutProps`](#breakoutprops-breakout) |
26
26
  | `<breakoutpoint />` | [`BreakoutPointProps`](#breakoutpointprops-breakoutpoint) |
27
+ | `<cadassembly />` | [`CadAssemblyProps`](#cadassemblyprops-cadassembly) |
28
+ | `<cadmodel />` | [`CadModelProps`](#cadmodelprops-cadmodel) |
27
29
  | `<capacitor />` | [`CapacitorProps`](#capacitorprops-capacitor) |
28
30
  | `<chip />` | [`ChipProps`](#chipprops-chip) |
29
31
  | `<connector />` | [`ConnectorProps`](#connectorprops-connector) |
@@ -194,6 +196,39 @@ export interface BreakoutPointProps
194
196
 
195
197
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/breakoutpoint.ts)
196
198
 
199
+ ### CadAssemblyProps `<cadassembly />`
200
+
201
+ ```ts
202
+ export interface CadAssemblyProps {
203
+ /**
204
+ * The layer that the CAD assembly is designed for. If you set this to "top"
205
+ * then it means the children were intended to represent the top layer. If
206
+ * the <chip /> with this assembly is moved to the bottom layer, then the
207
+ * components will be mirrored.
208
+ *
209
+ * Generally, you shouldn't set this except where it can help prevent
210
+ * confusion because you have a complex multi-layer assembly. Default is
211
+ * "top" and this is most intuitive.
212
+ */
213
+ originalLayer?: LayerRef;
214
+ }
215
+ ```
216
+
217
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/cadassembly.ts)
218
+
219
+ ### CadModelProps `<cadmodel />`
220
+
221
+ ```ts
222
+ export interface CadModelProps extends CadModelBase {
223
+ modelUrl: string;
224
+ pcbX?: Distance;
225
+ pcbY?: Distance;
226
+ pcbZ?: Distance;
227
+ }
228
+ ```
229
+
230
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/cadmodel.ts)
231
+
197
232
  ### CapacitorProps `<capacitor />`
198
233
 
199
234
  ```ts