@tscircuit/props 0.0.385 → 0.0.386
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.
|
@@ -12,5 +12,6 @@ export const fabricationNoteRectProps = pcbLayoutProps
|
|
|
12
12
|
hasStroke: z.boolean().optional(),
|
|
13
13
|
isStrokeDashed: z.boolean().optional(),
|
|
14
14
|
color: z.string().optional(),
|
|
15
|
+
cornerRadius: distance.optional(),
|
|
15
16
|
})
|
|
16
17
|
export type FabricationNoteRectProps = z.input<typeof fabricationNoteRectProps>
|
|
@@ -11,6 +11,7 @@ export interface PcbNoteRectProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
11
11
|
hasStroke?: boolean
|
|
12
12
|
isStrokeDashed?: boolean
|
|
13
13
|
color?: string
|
|
14
|
+
cornerRadius?: string | number
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
export const pcbNoteRectProps = pcbLayoutProps
|
|
@@ -23,6 +24,7 @@ export const pcbNoteRectProps = pcbLayoutProps
|
|
|
23
24
|
hasStroke: z.boolean().optional(),
|
|
24
25
|
isStrokeDashed: z.boolean().optional(),
|
|
25
26
|
color: z.string().optional(),
|
|
27
|
+
cornerRadius: distance.optional(),
|
|
26
28
|
})
|
|
27
29
|
|
|
28
30
|
expectTypesMatch<PcbNoteRectProps, z.input<typeof pcbNoteRectProps>>(true)
|
|
@@ -12,6 +12,7 @@ export const schematicRectProps = z.object({
|
|
|
12
12
|
isFilled: z.boolean().optional().default(false),
|
|
13
13
|
fillColor: z.string().optional(),
|
|
14
14
|
isDashed: z.boolean().optional().default(false),
|
|
15
|
+
cornerRadius: distance.optional(),
|
|
15
16
|
})
|
|
16
17
|
|
|
17
18
|
export type SchematicRectProps = z.input<typeof schematicRectProps>
|