@tscircuit/props 0.0.660 → 0.0.661
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/dist/index.d.ts +8 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/lib/components/pcb-keepout.ts +4 -0
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ export const pcbKeepoutProps = z.union([
|
|
|
7
7
|
shape: z.literal("circle"),
|
|
8
8
|
radius: distance,
|
|
9
9
|
layers: z.array(layer_ref).optional(),
|
|
10
|
+
/** Report keepout violations as warnings when true. Omit for normal enforcement. */
|
|
11
|
+
warningOnly: z.boolean().optional(),
|
|
10
12
|
excludeRefs: z
|
|
11
13
|
.array(z.string())
|
|
12
14
|
.optional()
|
|
@@ -19,6 +21,8 @@ export const pcbKeepoutProps = z.union([
|
|
|
19
21
|
width: distance,
|
|
20
22
|
height: distance,
|
|
21
23
|
layers: z.array(layer_ref).optional(),
|
|
24
|
+
/** Report keepout violations as warnings when true. Omit for normal enforcement. */
|
|
25
|
+
warningOnly: z.boolean().optional(),
|
|
22
26
|
excludeRefs: z
|
|
23
27
|
.array(z.string())
|
|
24
28
|
.optional()
|