@tscircuit/props 0.0.449 → 0.0.450
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/dist/index.d.ts +101 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +2 -0
- package/package.json +1 -1
package/lib/common/layout.ts
CHANGED
|
@@ -271,6 +271,7 @@ export interface CommonComponentProps<PinLabel extends string = string>
|
|
|
271
271
|
* Whether to show this component's CAD model as translucent in the 3D viewer.
|
|
272
272
|
*/
|
|
273
273
|
showAsTranslucentModel?: boolean
|
|
274
|
+
mfn?: string
|
|
274
275
|
}
|
|
275
276
|
|
|
276
277
|
export const commonComponentProps = commonLayoutProps
|
|
@@ -299,6 +300,7 @@ export const commonComponentProps = commonLayoutProps
|
|
|
299
300
|
"Whether to show this component's CAD model as translucent in the 3D viewer.",
|
|
300
301
|
),
|
|
301
302
|
pinAttributes: z.record(z.string(), pinAttributeMap).optional(),
|
|
303
|
+
mfn: z.string().describe("Manufacturer Part Number").optional(),
|
|
302
304
|
})
|
|
303
305
|
|
|
304
306
|
type InferredCommonComponentProps = z.input<typeof commonComponentProps>
|