@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.
package/README.md CHANGED
@@ -1454,6 +1454,7 @@ export interface SchematicLineProps {
1454
1454
  ```ts
1455
1455
  export interface SchematicPathProps {
1456
1456
  points: Point[];
1457
+ svgPath?: string;
1457
1458
  isFilled?: boolean;
1458
1459
  fillColor?: "red" | "blue";
1459
1460
  }
package/dist/index.d.ts CHANGED
@@ -163163,6 +163163,7 @@ declare const schematicPathProps: z.ZodObject<{
163163
163163
  x: string | number;
163164
163164
  y: string | number;
163165
163165
  }>, "many">;
163166
+ svgPath: z.ZodOptional<z.ZodString>;
163166
163167
  isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
163167
163168
  fillColor: z.ZodOptional<z.ZodEnum<["red", "blue"]>>;
163168
163169
  }, "strip", z.ZodTypeAny, {
@@ -163172,6 +163173,7 @@ declare const schematicPathProps: z.ZodObject<{
163172
163173
  }[];
163173
163174
  isFilled: boolean;
163174
163175
  fillColor?: "red" | "blue" | undefined;
163176
+ svgPath?: string | undefined;
163175
163177
  }, {
163176
163178
  points: {
163177
163179
  x: string | number;
@@ -163179,9 +163181,11 @@ declare const schematicPathProps: z.ZodObject<{
163179
163181
  }[];
163180
163182
  isFilled?: boolean | undefined;
163181
163183
  fillColor?: "red" | "blue" | undefined;
163184
+ svgPath?: string | undefined;
163182
163185
  }>;
163183
163186
  interface SchematicPathProps {
163184
163187
  points: Point[];
163188
+ svgPath?: string;
163185
163189
  isFilled?: boolean;
163186
163190
  fillColor?: "red" | "blue";
163187
163191
  }
package/dist/index.js CHANGED
@@ -2325,6 +2325,7 @@ import { point as point8 } from "circuit-json";
2325
2325
  import { z as z100 } from "zod";
2326
2326
  var schematicPathProps = z100.object({
2327
2327
  points: z100.array(point8),
2328
+ svgPath: z100.string().optional(),
2328
2329
  isFilled: z100.boolean().optional().default(false),
2329
2330
  fillColor: z100.enum(["red", "blue"]).optional()
2330
2331
  });