@tscircuit/props 0.0.466 → 0.0.467
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/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/schematic-path.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -165758,7 +165758,7 @@ declare const schematicPathProps: z.ZodObject<{
|
|
|
165758
165758
|
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
165759
165759
|
strokeColor: z.ZodOptional<z.ZodString>;
|
|
165760
165760
|
isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
165761
|
-
fillColor: z.ZodOptional<z.
|
|
165761
|
+
fillColor: z.ZodOptional<z.ZodString>;
|
|
165762
165762
|
}, "strip", z.ZodTypeAny, {
|
|
165763
165763
|
isFilled: boolean;
|
|
165764
165764
|
strokeWidth?: number | undefined;
|
|
@@ -165766,7 +165766,7 @@ declare const schematicPathProps: z.ZodObject<{
|
|
|
165766
165766
|
x: number;
|
|
165767
165767
|
y: number;
|
|
165768
165768
|
}[] | undefined;
|
|
165769
|
-
fillColor?:
|
|
165769
|
+
fillColor?: string | undefined;
|
|
165770
165770
|
svgPath?: string | undefined;
|
|
165771
165771
|
strokeColor?: string | undefined;
|
|
165772
165772
|
}, {
|
|
@@ -165776,7 +165776,7 @@ declare const schematicPathProps: z.ZodObject<{
|
|
|
165776
165776
|
y: string | number;
|
|
165777
165777
|
}[] | undefined;
|
|
165778
165778
|
isFilled?: boolean | undefined;
|
|
165779
|
-
fillColor?:
|
|
165779
|
+
fillColor?: string | undefined;
|
|
165780
165780
|
svgPath?: string | undefined;
|
|
165781
165781
|
strokeColor?: string | undefined;
|
|
165782
165782
|
}>;
|
|
@@ -165786,7 +165786,7 @@ interface SchematicPathProps {
|
|
|
165786
165786
|
strokeWidth?: Distance;
|
|
165787
165787
|
strokeColor?: string;
|
|
165788
165788
|
isFilled?: boolean;
|
|
165789
|
-
fillColor?:
|
|
165789
|
+
fillColor?: string;
|
|
165790
165790
|
}
|
|
165791
165791
|
type InferredSchematicPathProps = z.input<typeof schematicPathProps>;
|
|
165792
165792
|
|
package/dist/index.js
CHANGED
|
@@ -2441,7 +2441,7 @@ var schematicPathProps = z105.object({
|
|
|
2441
2441
|
strokeWidth: distance35.optional(),
|
|
2442
2442
|
strokeColor: z105.string().optional(),
|
|
2443
2443
|
isFilled: z105.boolean().optional().default(false),
|
|
2444
|
-
fillColor: z105.
|
|
2444
|
+
fillColor: z105.string().optional()
|
|
2445
2445
|
});
|
|
2446
2446
|
expectTypesMatch(true);
|
|
2447
2447
|
|