@tscircuit/props 0.0.450 → 0.0.452
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 +1 -0
- package/dist/index.d.ts +97 -32
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +2 -0
- package/lib/components/schematic-path.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -381,7 +381,8 @@ var commonComponentProps = commonLayoutProps.merge(supplierProps).extend({
|
|
|
381
381
|
"Whether to show this component's CAD model as translucent in the 3D viewer."
|
|
382
382
|
),
|
|
383
383
|
pinAttributes: z13.record(z13.string(), pinAttributeMap).optional(),
|
|
384
|
-
mfn: z13.string().describe("Manufacturer Part Number").optional()
|
|
384
|
+
mfn: z13.string().describe("Manufacturer Part Number").optional(),
|
|
385
|
+
manufacturerPartNumber: z13.string().optional()
|
|
385
386
|
});
|
|
386
387
|
expectTypesMatch(true);
|
|
387
388
|
var componentProps = commonComponentProps;
|
|
@@ -2324,6 +2325,7 @@ import { point as point8 } from "circuit-json";
|
|
|
2324
2325
|
import { z as z100 } from "zod";
|
|
2325
2326
|
var schematicPathProps = z100.object({
|
|
2326
2327
|
points: z100.array(point8),
|
|
2328
|
+
svgPath: z100.string().optional(),
|
|
2327
2329
|
isFilled: z100.boolean().optional().default(false),
|
|
2328
2330
|
fillColor: z100.enum(["red", "blue"]).optional()
|
|
2329
2331
|
});
|