@tscircuit/props 0.0.488 → 0.0.489

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.
@@ -12,7 +12,7 @@ export interface PcbSxValue {
12
12
  fontSize?: string | number
13
13
  pcbX?: string | number
14
14
  pcbY?: string | number
15
- visible?: boolean
15
+ visibility?: "hidden" | "visible" | "inherit"
16
16
  }
17
17
 
18
18
  type PcbSxBase = Record<string, PcbSxValue>
@@ -25,7 +25,7 @@ export const pcbSxValue = z.object({
25
25
  fontSize: length.optional(),
26
26
  pcbX: pcbCoordinate.optional(),
27
27
  pcbY: pcbCoordinate.optional(),
28
- visible: z.boolean().optional(),
28
+ visibility: z.enum(["hidden", "visible", "inherit"]).optional(),
29
29
  })
30
30
 
31
31
  export const pcbSx = z.record(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.488",
3
+ "version": "0.0.489",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",