@tscircuit/props 0.0.474 → 0.0.476
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 +1193 -17
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/lib/common/cadModel.ts +2 -0
- package/lib/components/port.ts +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -73,7 +73,8 @@ var cadModelBase = z6.object({
|
|
|
73
73
|
positionOffset: point3.optional(),
|
|
74
74
|
size: point3.optional(),
|
|
75
75
|
modelUnitToMmScale: distance.optional(),
|
|
76
|
-
zOffsetFromSurface: distance.optional()
|
|
76
|
+
zOffsetFromSurface: distance.optional(),
|
|
77
|
+
showAsTranslucent: z6.boolean().optional()
|
|
77
78
|
});
|
|
78
79
|
expectTypesMatch(true);
|
|
79
80
|
var cadModelStl = cadModelBase.extend({
|
|
@@ -2627,6 +2628,10 @@ var portProps = commonLayoutProps.extend({
|
|
|
2627
2628
|
pinNumber: z116.number().optional(),
|
|
2628
2629
|
schStemLength: z116.number().optional(),
|
|
2629
2630
|
aliases: z116.array(z116.string()).optional(),
|
|
2631
|
+
layer: z116.string().optional(),
|
|
2632
|
+
layers: z116.array(z116.string()).optional(),
|
|
2633
|
+
schX: z116.number().optional(),
|
|
2634
|
+
schY: z116.number().optional(),
|
|
2630
2635
|
direction,
|
|
2631
2636
|
connectsTo: z116.string().or(z116.array(z116.string())).optional(),
|
|
2632
2637
|
kicadPinMetadata: kicadPinMetadata.optional(),
|