@tscircuit/props 0.0.532 → 0.0.533

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.
@@ -1,4 +1,6 @@
1
+ import { distance } from "circuit-json"
1
2
  import { z } from "zod"
3
+ import type { Distance } from "lib/common/distance"
2
4
  import { expectTypesMatch } from "lib/typecheck"
3
5
 
4
6
  export interface NetProps {
@@ -8,6 +10,7 @@ export interface NetProps {
8
10
  highlightColor?: string
9
11
  isPowerNet?: boolean
10
12
  isGroundNet?: boolean
13
+ nominalTraceWidth?: Distance
11
14
  }
12
15
 
13
16
  export const netProps = z.object({
@@ -17,6 +20,7 @@ export const netProps = z.object({
17
20
  highlightColor: z.string().optional(),
18
21
  isPowerNet: z.boolean().optional(),
19
22
  isGroundNet: z.boolean().optional(),
23
+ nominalTraceWidth: distance.optional(),
20
24
  })
21
25
 
22
26
  type InferredNetProps = z.input<typeof netProps>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.532",
3
+ "version": "0.0.533",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",