@tscircuit/props 0.0.542 → 0.0.543

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
@@ -1565,7 +1565,6 @@ export interface SchematicRectProps {
1565
1565
  isFilled?: boolean;
1566
1566
  fillColor?: string;
1567
1567
  isDashed?: boolean;
1568
- cornerRadius?: Distance;
1569
1568
  }
1570
1569
  ```
1571
1570
 
package/dist/index.d.ts CHANGED
@@ -182988,7 +182988,6 @@ declare const schematicRectProps: z.ZodObject<{
182988
182988
  isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
182989
182989
  fillColor: z.ZodOptional<z.ZodString>;
182990
182990
  isDashed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
182991
- cornerRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
182992
182991
  }, "strip", z.ZodTypeAny, {
182993
182992
  rotation: number;
182994
182993
  width: number;
@@ -182998,7 +182997,6 @@ declare const schematicRectProps: z.ZodObject<{
182998
182997
  schX?: number | undefined;
182999
182998
  schY?: number | undefined;
183000
182999
  strokeWidth?: number | undefined;
183001
- cornerRadius?: number | undefined;
183002
183000
  color?: string | undefined;
183003
183001
  fillColor?: string | undefined;
183004
183002
  }, {
@@ -183008,7 +183006,6 @@ declare const schematicRectProps: z.ZodObject<{
183008
183006
  schX?: string | number | undefined;
183009
183007
  schY?: string | number | undefined;
183010
183008
  strokeWidth?: string | number | undefined;
183011
- cornerRadius?: string | number | undefined;
183012
183009
  color?: string | undefined;
183013
183010
  isFilled?: boolean | undefined;
183014
183011
  isDashed?: boolean | undefined;
@@ -183025,7 +183022,6 @@ interface SchematicRectProps {
183025
183022
  isFilled?: boolean;
183026
183023
  fillColor?: string;
183027
183024
  isDashed?: boolean;
183028
- cornerRadius?: Distance;
183029
183025
  }
183030
183026
  type InferredSchematicRectProps = z.input<typeof schematicRectProps>;
183031
183027
 
package/dist/index.js CHANGED
@@ -18042,8 +18042,7 @@ var schematicRectProps = z107.object({
18042
18042
  color: z107.string().optional(),
18043
18043
  isFilled: z107.boolean().optional().default(false),
18044
18044
  fillColor: z107.string().optional(),
18045
- isDashed: z107.boolean().optional().default(false),
18046
- cornerRadius: distance32.optional()
18045
+ isDashed: z107.boolean().optional().default(false)
18047
18046
  });
18048
18047
  expectTypesMatch(true);
18049
18048
 
@@ -18090,10 +18089,10 @@ var schematicTextProps = z110.object({
18090
18089
  expectTypesMatch(true);
18091
18090
 
18092
18091
  // lib/components/schematic-path.ts
18093
- import { distance as distance35, point as point8 } from "circuit-json";
18092
+ import { distance as distance35, point as point7 } from "circuit-json";
18094
18093
  import { z as z111 } from "zod";
18095
18094
  var schematicPathProps = z111.object({
18096
- points: z111.array(point8).optional(),
18095
+ points: z111.array(point7).optional(),
18097
18096
  svgPath: z111.string().optional(),
18098
18097
  strokeWidth: distance35.optional(),
18099
18098
  strokeColor: z111.string().optional(),