@tscircuit/props 0.0.509 → 0.0.511
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 +105 -80
- package/dist/index.js +5 -8
- package/dist/index.js.map +1 -1
- package/lib/components/footprint.ts +0 -8
- package/lib/components/group.ts +8 -6
- package/package.json +1 -1
|
@@ -9,10 +9,6 @@ export type FootprintInsertionDirection =
|
|
|
9
9
|
| "from_right"
|
|
10
10
|
| "from_front"
|
|
11
11
|
| "from_back"
|
|
12
|
-
| "x+"
|
|
13
|
-
| "x-"
|
|
14
|
-
| "y+"
|
|
15
|
-
| "y-"
|
|
16
12
|
|
|
17
13
|
export const footprintInsertionDirection = z.enum([
|
|
18
14
|
"from_above",
|
|
@@ -20,10 +16,6 @@ export const footprintInsertionDirection = z.enum([
|
|
|
20
16
|
"from_right",
|
|
21
17
|
"from_front",
|
|
22
18
|
"from_back",
|
|
23
|
-
"x+",
|
|
24
|
-
"x-",
|
|
25
|
-
"y+",
|
|
26
|
-
"y-",
|
|
27
19
|
])
|
|
28
20
|
expectTypesMatch<
|
|
29
21
|
FootprintInsertionDirection,
|
package/lib/components/group.ts
CHANGED
|
@@ -433,9 +433,10 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
433
433
|
defaultTraceWidth?: Distance
|
|
434
434
|
|
|
435
435
|
minTraceWidth?: Distance
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
436
|
+
minViaToViaClearance?: Distance
|
|
437
|
+
minTraceToPadClearance?: Distance
|
|
438
|
+
minPadToPadClearance?: Distance
|
|
439
|
+
minBoardEdgeClearance?: Distance
|
|
439
440
|
minViaHoleDiameter?: Distance
|
|
440
441
|
minViaPadDiameter?: Distance
|
|
441
442
|
|
|
@@ -601,9 +602,10 @@ export const subcircuitGroupProps = baseGroupProps.extend({
|
|
|
601
602
|
bomDisabled: z.boolean().optional(),
|
|
602
603
|
defaultTraceWidth: length.optional(),
|
|
603
604
|
minTraceWidth: length.optional(),
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
605
|
+
minViaToViaClearance: length.optional(),
|
|
606
|
+
minTraceToPadClearance: length.optional(),
|
|
607
|
+
minPadToPadClearance: length.optional(),
|
|
608
|
+
minBoardEdgeClearance: length.optional(),
|
|
607
609
|
minViaHoleDiameter: length.optional(),
|
|
608
610
|
minViaPadDiameter: length.optional(),
|
|
609
611
|
nominalTraceWidth: length.optional(),
|