@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.
@@ -11,6 +11,8 @@ export const schematicLineProps = z.object({
11
11
  strokeWidth: distance.optional(),
12
12
  color: z.string().optional(),
13
13
  isDashed: z.boolean().optional().default(false),
14
+ dashLength: distance.optional(),
15
+ dashGap: distance.optional(),
14
16
  })
15
17
 
16
18
  export interface SchematicLineProps {
@@ -21,6 +23,8 @@ export interface SchematicLineProps {
21
23
  strokeWidth?: Distance
22
24
  color?: string
23
25
  isDashed?: boolean
26
+ dashLength?: Distance
27
+ dashGap?: Distance
24
28
  }
25
29
 
26
30
  export type InferredSchematicLineProps = z.input<typeof schematicLineProps>
@@ -9,6 +9,8 @@ export const schematicPathProps = z.object({
9
9
  svgPath: z.string().optional(),
10
10
  strokeWidth: distance.optional(),
11
11
  strokeColor: z.string().optional(),
12
+ dashLength: distance.optional(),
13
+ dashGap: distance.optional(),
12
14
  isFilled: z.boolean().optional().default(false),
13
15
  fillColor: z.string().optional(),
14
16
  })
@@ -18,6 +20,8 @@ export interface SchematicPathProps {
18
20
  svgPath?: string
19
21
  strokeWidth?: Distance
20
22
  strokeColor?: string
23
+ dashLength?: Distance
24
+ dashGap?: Distance
21
25
  isFilled?: boolean
22
26
  fillColor?: string
23
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.541",
3
+ "version": "0.0.542",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",