@tscircuit/props 0.0.451 → 0.0.452

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,12 +5,14 @@ import type { Point } from "lib/common/point"
5
5
 
6
6
  export const schematicPathProps = z.object({
7
7
  points: z.array(point),
8
+ svgPath: z.string().optional(),
8
9
  isFilled: z.boolean().optional().default(false),
9
10
  fillColor: z.enum(["red", "blue"]).optional(),
10
11
  })
11
12
 
12
13
  export interface SchematicPathProps {
13
14
  points: Point[]
15
+ svgPath?: string
14
16
  isFilled?: boolean
15
17
  fillColor?: "red" | "blue"
16
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.451",
3
+ "version": "0.0.452",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",