@tscircuit/props 0.0.621 → 0.0.623
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 +8 -2
- package/dist/index.d.ts +17 -8
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/copper-pour.ts +2 -0
- package/lib/components/panel.ts +10 -3
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export interface CopperPourProps {
|
|
|
14
14
|
clearance?: Distance
|
|
15
15
|
boardEdgeMargin?: Distance
|
|
16
16
|
cutoutMargin?: Distance
|
|
17
|
+
useThermalReliefs?: boolean
|
|
17
18
|
outline?: Point[]
|
|
18
19
|
coveredWithSolderMask?: boolean
|
|
19
20
|
}
|
|
@@ -28,6 +29,7 @@ export const copperPourProps = z.object({
|
|
|
28
29
|
clearance: distance.optional(),
|
|
29
30
|
boardEdgeMargin: distance.optional(),
|
|
30
31
|
cutoutMargin: distance.optional(),
|
|
32
|
+
useThermalReliefs: z.boolean().optional(),
|
|
31
33
|
outline: z.array(point).optional(),
|
|
32
34
|
coveredWithSolderMask: z.boolean().optional().default(true),
|
|
33
35
|
})
|
package/lib/components/panel.ts
CHANGED
|
@@ -14,8 +14,13 @@ export interface PanelProps
|
|
|
14
14
|
* If true, prevent a solder mask from being applied to this panel.
|
|
15
15
|
*/
|
|
16
16
|
noSolderMask?: boolean
|
|
17
|
-
/**
|
|
18
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Method used to separate boards in the panel.
|
|
19
|
+
*
|
|
20
|
+
* `outline_routing` creates continuous routed cutouts around each board
|
|
21
|
+
* outline without tabs.
|
|
22
|
+
*/
|
|
23
|
+
panelizationMethod?: "tab-routing" | "outline_routing" | "none"
|
|
19
24
|
/** Gap between boards in a panel */
|
|
20
25
|
boardGap?: Distance
|
|
21
26
|
layoutMode?: "grid" | "pack" | "none"
|
|
@@ -47,7 +52,9 @@ export const panelProps = baseGroupProps
|
|
|
47
52
|
children: z.any().optional(),
|
|
48
53
|
anchorAlignment: ninePointAnchor.optional(),
|
|
49
54
|
noSolderMask: z.boolean().optional(),
|
|
50
|
-
panelizationMethod: z
|
|
55
|
+
panelizationMethod: z
|
|
56
|
+
.enum(["tab-routing", "outline_routing", "none"])
|
|
57
|
+
.optional(),
|
|
51
58
|
boardGap: distance.optional(),
|
|
52
59
|
layoutMode: z.enum(["grid", "pack", "none"]).optional(),
|
|
53
60
|
row: z.number().optional(),
|