@tscircuit/props 0.0.487 → 0.0.488

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.
@@ -6,11 +6,13 @@ import { z } from "zod"
6
6
  export type PcbSxSelector =
7
7
  | "& footprint[src^='kicad:'] silkscreentext"
8
8
  | "& silkscreentext"
9
+ | "& fabricationnotetext"
9
10
 
10
11
  export interface PcbSxValue {
11
12
  fontSize?: string | number
12
13
  pcbX?: string | number
13
14
  pcbY?: string | number
15
+ visible?: boolean
14
16
  }
15
17
 
16
18
  type PcbSxBase = Record<string, PcbSxValue>
@@ -23,6 +25,7 @@ export const pcbSxValue = z.object({
23
25
  fontSize: length.optional(),
24
26
  pcbX: pcbCoordinate.optional(),
25
27
  pcbY: pcbCoordinate.optional(),
28
+ visible: z.boolean().optional(),
26
29
  })
27
30
 
28
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.487",
3
+ "version": "0.0.488",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",