@tscircuit/props 0.0.541 → 0.0.542

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
@@ -1527,6 +1527,8 @@ export interface SchematicLineProps {
1527
1527
  strokeWidth?: Distance;
1528
1528
  color?: string;
1529
1529
  isDashed?: boolean;
1530
+ dashLength?: Distance;
1531
+ dashGap?: Distance;
1530
1532
  }
1531
1533
  ```
1532
1534
 
@@ -1540,6 +1542,8 @@ export interface SchematicPathProps {
1540
1542
  svgPath?: string;
1541
1543
  strokeWidth?: Distance;
1542
1544
  strokeColor?: string;
1545
+ dashLength?: Distance;
1546
+ dashGap?: Distance;
1543
1547
  isFilled?: boolean;
1544
1548
  fillColor?: string;
1545
1549
  }
package/dist/index.d.ts CHANGED
@@ -183037,6 +183037,8 @@ declare const schematicLineProps: z.ZodObject<{
183037
183037
  strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
183038
183038
  color: z.ZodOptional<z.ZodString>;
183039
183039
  isDashed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
183040
+ dashLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
183041
+ dashGap: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
183040
183042
  }, "strip", z.ZodTypeAny, {
183041
183043
  isDashed: boolean;
183042
183044
  x1: number;
@@ -183045,6 +183047,8 @@ declare const schematicLineProps: z.ZodObject<{
183045
183047
  y2: number;
183046
183048
  strokeWidth?: number | undefined;
183047
183049
  color?: string | undefined;
183050
+ dashLength?: number | undefined;
183051
+ dashGap?: number | undefined;
183048
183052
  }, {
183049
183053
  x1: string | number;
183050
183054
  y1: string | number;
@@ -183053,6 +183057,8 @@ declare const schematicLineProps: z.ZodObject<{
183053
183057
  strokeWidth?: string | number | undefined;
183054
183058
  color?: string | undefined;
183055
183059
  isDashed?: boolean | undefined;
183060
+ dashLength?: string | number | undefined;
183061
+ dashGap?: string | number | undefined;
183056
183062
  }>;
183057
183063
  interface SchematicLineProps {
183058
183064
  x1: Distance;
@@ -183062,6 +183068,8 @@ interface SchematicLineProps {
183062
183068
  strokeWidth?: Distance;
183063
183069
  color?: string;
183064
183070
  isDashed?: boolean;
183071
+ dashLength?: Distance;
183072
+ dashGap?: Distance;
183065
183073
  }
183066
183074
  type InferredSchematicLineProps = z.input<typeof schematicLineProps>;
183067
183075
 
@@ -183117,6 +183125,8 @@ declare const schematicPathProps: z.ZodObject<{
183117
183125
  svgPath: z.ZodOptional<z.ZodString>;
183118
183126
  strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
183119
183127
  strokeColor: z.ZodOptional<z.ZodString>;
183128
+ dashLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
183129
+ dashGap: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
183120
183130
  isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
183121
183131
  fillColor: z.ZodOptional<z.ZodString>;
183122
183132
  }, "strip", z.ZodTypeAny, {
@@ -183127,6 +183137,8 @@ declare const schematicPathProps: z.ZodObject<{
183127
183137
  y: number;
183128
183138
  }[] | undefined;
183129
183139
  fillColor?: string | undefined;
183140
+ dashLength?: number | undefined;
183141
+ dashGap?: number | undefined;
183130
183142
  svgPath?: string | undefined;
183131
183143
  strokeColor?: string | undefined;
183132
183144
  }, {
@@ -183137,6 +183149,8 @@ declare const schematicPathProps: z.ZodObject<{
183137
183149
  }[] | undefined;
183138
183150
  isFilled?: boolean | undefined;
183139
183151
  fillColor?: string | undefined;
183152
+ dashLength?: string | number | undefined;
183153
+ dashGap?: string | number | undefined;
183140
183154
  svgPath?: string | undefined;
183141
183155
  strokeColor?: string | undefined;
183142
183156
  }>;
@@ -183145,6 +183159,8 @@ interface SchematicPathProps {
183145
183159
  svgPath?: string;
183146
183160
  strokeWidth?: Distance;
183147
183161
  strokeColor?: string;
183162
+ dashLength?: Distance;
183163
+ dashGap?: Distance;
183148
183164
  isFilled?: boolean;
183149
183165
  fillColor?: string;
183150
183166
  }
package/dist/index.js CHANGED
@@ -18057,7 +18057,9 @@ var schematicLineProps = z108.object({
18057
18057
  y2: distance33,
18058
18058
  strokeWidth: distance33.optional(),
18059
18059
  color: z108.string().optional(),
18060
- isDashed: z108.boolean().optional().default(false)
18060
+ isDashed: z108.boolean().optional().default(false),
18061
+ dashLength: distance33.optional(),
18062
+ dashGap: distance33.optional()
18061
18063
  });
18062
18064
  expectTypesMatch(true);
18063
18065
 
@@ -18095,6 +18097,8 @@ var schematicPathProps = z111.object({
18095
18097
  svgPath: z111.string().optional(),
18096
18098
  strokeWidth: distance35.optional(),
18097
18099
  strokeColor: z111.string().optional(),
18100
+ dashLength: distance35.optional(),
18101
+ dashGap: distance35.optional(),
18098
18102
  isFilled: z111.boolean().optional().default(false),
18099
18103
  fillColor: z111.string().optional()
18100
18104
  });