@tscircuit/props 0.0.455 → 0.0.456

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.
@@ -5,7 +5,7 @@ import type { Distance } from "lib/common/distance"
5
5
  import type { Point } from "lib/common/point"
6
6
 
7
7
  export const schematicPathProps = z.object({
8
- points: z.array(point),
8
+ points: z.array(point).optional(),
9
9
  svgPath: z.string().optional(),
10
10
  strokeWidth: distance.optional(),
11
11
  strokeColor: z.string().optional(),
@@ -14,7 +14,7 @@ export const schematicPathProps = z.object({
14
14
  })
15
15
 
16
16
  export interface SchematicPathProps {
17
- points: Point[]
17
+ points?: Point[]
18
18
  svgPath?: string
19
19
  strokeWidth?: Distance
20
20
  strokeColor?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.455",
3
+ "version": "0.0.456",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",