@tscircuit/props 0.0.475 → 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.
@@ -23,6 +23,7 @@ export interface CadModelBase {
23
23
  size?: { x: number | string; y: number | string; z: number | string }
24
24
  modelUnitToMmScale?: Distance
25
25
  zOffsetFromSurface?: Distance
26
+ showAsTranslucent?: boolean
26
27
  }
27
28
 
28
29
  export const cadModelBase = z.object({
@@ -31,6 +32,7 @@ export const cadModelBase = z.object({
31
32
  size: point3.optional(),
32
33
  modelUnitToMmScale: distance.optional(),
33
34
  zOffsetFromSurface: distance.optional(),
35
+ showAsTranslucent: z.boolean().optional(),
34
36
  })
35
37
 
36
38
  expectTypesMatch<CadModelBase, z.input<typeof cadModelBase>>(true)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.475",
3
+ "version": "0.0.476",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",