@tscircuit/props 0.0.366 → 0.0.367

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.
@@ -15,6 +15,7 @@ export interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15
15
  width: Distance
16
16
  height: Distance
17
17
  rectBorderRadius?: Distance
18
+ cornerRadius?: Distance
18
19
  portHints?: PortHints
19
20
  coveredWithSolderMask?: boolean
20
21
  }
@@ -25,6 +26,7 @@ export interface RotatedRectSmtPadProps
25
26
  shape: "rotated_rect"
26
27
  width: Distance
27
28
  height: Distance
29
+ cornerRadius?: Distance
28
30
  ccwRotation: number
29
31
  portHints?: PortHints
30
32
  coveredWithSolderMask?: boolean
@@ -76,6 +78,7 @@ export const rectSmtPadProps = pcbLayoutProps
76
78
  width: distance,
77
79
  height: distance,
78
80
  rectBorderRadius: distance.optional(),
81
+ cornerRadius: distance.optional(),
79
82
  portHints: portHints.optional(),
80
83
  coveredWithSolderMask: z.boolean().optional(),
81
84
  })
@@ -90,6 +93,7 @@ export const rotatedRectSmtPadProps = pcbLayoutProps
90
93
  width: distance,
91
94
  height: distance,
92
95
  ccwRotation: z.number(),
96
+ cornerRadius: distance.optional(),
93
97
  portHints: portHints.optional(),
94
98
  coveredWithSolderMask: z.boolean().optional(),
95
99
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.366",
3
+ "version": "0.0.367",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",