@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
package/README.md
CHANGED
|
@@ -633,6 +633,7 @@ export interface CopperPourProps {
|
|
|
633
633
|
clearance?: Distance;
|
|
634
634
|
boardEdgeMargin?: Distance;
|
|
635
635
|
cutoutMargin?: Distance;
|
|
636
|
+
useThermalReliefs?: boolean;
|
|
636
637
|
outline?: Point[];
|
|
637
638
|
coveredWithSolderMask?: boolean;
|
|
638
639
|
}
|
|
@@ -1326,8 +1327,13 @@ export interface PanelProps extends Omit<
|
|
|
1326
1327
|
* If true, prevent a solder mask from being applied to this panel.
|
|
1327
1328
|
*/
|
|
1328
1329
|
noSolderMask?: boolean;
|
|
1329
|
-
/**
|
|
1330
|
-
|
|
1330
|
+
/**
|
|
1331
|
+
* Method used to separate boards in the panel.
|
|
1332
|
+
*
|
|
1333
|
+
* `outline_routing` creates continuous routed cutouts around each board
|
|
1334
|
+
* outline without tabs.
|
|
1335
|
+
*/
|
|
1336
|
+
panelizationMethod?: "tab-routing" | "outline_routing" | "none";
|
|
1331
1337
|
/** Gap between boards in a panel */
|
|
1332
1338
|
boardGap?: Distance;
|
|
1333
1339
|
layoutMode?: "grid" | "pack" | "none";
|
package/dist/index.d.ts
CHANGED
|
@@ -28935,8 +28935,13 @@ interface PanelProps extends Omit<BaseGroupProps, "height" | "layoutMode" | "wid
|
|
|
28935
28935
|
* If true, prevent a solder mask from being applied to this panel.
|
|
28936
28936
|
*/
|
|
28937
28937
|
noSolderMask?: boolean;
|
|
28938
|
-
/**
|
|
28939
|
-
|
|
28938
|
+
/**
|
|
28939
|
+
* Method used to separate boards in the panel.
|
|
28940
|
+
*
|
|
28941
|
+
* `outline_routing` creates continuous routed cutouts around each board
|
|
28942
|
+
* outline without tabs.
|
|
28943
|
+
*/
|
|
28944
|
+
panelizationMethod?: "tab-routing" | "outline_routing" | "none";
|
|
28940
28945
|
/** Gap between boards in a panel */
|
|
28941
28946
|
boardGap?: Distance;
|
|
28942
28947
|
layoutMode?: "grid" | "pack" | "none";
|
|
@@ -29521,7 +29526,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
29521
29526
|
children: z.ZodOptional<z.ZodAny>;
|
|
29522
29527
|
anchorAlignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
|
|
29523
29528
|
noSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
29524
|
-
panelizationMethod: z.ZodOptional<z.ZodEnum<["tab-routing", "none"]>>;
|
|
29529
|
+
panelizationMethod: z.ZodOptional<z.ZodEnum<["tab-routing", "outline_routing", "none"]>>;
|
|
29525
29530
|
boardGap: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29526
29531
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "pack", "none"]>>;
|
|
29527
29532
|
row: z.ZodOptional<z.ZodNumber>;
|
|
@@ -29799,7 +29804,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
29799
29804
|
schMatchAdapt?: boolean | undefined;
|
|
29800
29805
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
29801
29806
|
noSolderMask?: boolean | undefined;
|
|
29802
|
-
panelizationMethod?: "none" | "tab-routing" | undefined;
|
|
29807
|
+
panelizationMethod?: "none" | "tab-routing" | "outline_routing" | undefined;
|
|
29803
29808
|
boardGap?: number | undefined;
|
|
29804
29809
|
col?: number | undefined;
|
|
29805
29810
|
cellWidth?: number | undefined;
|
|
@@ -30076,7 +30081,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
30076
30081
|
schMatchAdapt?: boolean | undefined;
|
|
30077
30082
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
30078
30083
|
noSolderMask?: boolean | undefined;
|
|
30079
|
-
panelizationMethod?: "none" | "tab-routing" | undefined;
|
|
30084
|
+
panelizationMethod?: "none" | "tab-routing" | "outline_routing" | undefined;
|
|
30080
30085
|
boardGap?: string | number | undefined;
|
|
30081
30086
|
col?: number | undefined;
|
|
30082
30087
|
cellWidth?: string | number | undefined;
|
|
@@ -30660,7 +30665,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
30660
30665
|
children: z.ZodOptional<z.ZodAny>;
|
|
30661
30666
|
anchorAlignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
|
|
30662
30667
|
noSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
30663
|
-
panelizationMethod: z.ZodOptional<z.ZodEnum<["tab-routing", "none"]>>;
|
|
30668
|
+
panelizationMethod: z.ZodOptional<z.ZodEnum<["tab-routing", "outline_routing", "none"]>>;
|
|
30664
30669
|
boardGap: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
30665
30670
|
layoutMode: z.ZodOptional<z.ZodEnum<["grid", "pack", "none"]>>;
|
|
30666
30671
|
row: z.ZodOptional<z.ZodNumber>;
|
|
@@ -30938,7 +30943,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
30938
30943
|
schMatchAdapt?: boolean | undefined;
|
|
30939
30944
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
30940
30945
|
noSolderMask?: boolean | undefined;
|
|
30941
|
-
panelizationMethod?: "none" | "tab-routing" | undefined;
|
|
30946
|
+
panelizationMethod?: "none" | "tab-routing" | "outline_routing" | undefined;
|
|
30942
30947
|
boardGap?: number | undefined;
|
|
30943
30948
|
col?: number | undefined;
|
|
30944
30949
|
cellWidth?: number | undefined;
|
|
@@ -31215,7 +31220,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
31215
31220
|
schMatchAdapt?: boolean | undefined;
|
|
31216
31221
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
31217
31222
|
noSolderMask?: boolean | undefined;
|
|
31218
|
-
panelizationMethod?: "none" | "tab-routing" | undefined;
|
|
31223
|
+
panelizationMethod?: "none" | "tab-routing" | "outline_routing" | undefined;
|
|
31219
31224
|
boardGap?: string | number | undefined;
|
|
31220
31225
|
col?: number | undefined;
|
|
31221
31226
|
cellWidth?: string | number | undefined;
|
|
@@ -187212,6 +187217,7 @@ interface CopperPourProps {
|
|
|
187212
187217
|
clearance?: Distance;
|
|
187213
187218
|
boardEdgeMargin?: Distance;
|
|
187214
187219
|
cutoutMargin?: Distance;
|
|
187220
|
+
useThermalReliefs?: boolean;
|
|
187215
187221
|
outline?: Point[];
|
|
187216
187222
|
coveredWithSolderMask?: boolean;
|
|
187217
187223
|
}
|
|
@@ -187233,6 +187239,7 @@ declare const copperPourProps: z.ZodObject<{
|
|
|
187233
187239
|
clearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
187234
187240
|
boardEdgeMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
187235
187241
|
cutoutMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
187242
|
+
useThermalReliefs: z.ZodOptional<z.ZodBoolean>;
|
|
187236
187243
|
outline: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187237
187244
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
187238
187245
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -187259,6 +187266,7 @@ declare const copperPourProps: z.ZodObject<{
|
|
|
187259
187266
|
clearance?: number | undefined;
|
|
187260
187267
|
boardEdgeMargin?: number | undefined;
|
|
187261
187268
|
cutoutMargin?: number | undefined;
|
|
187269
|
+
useThermalReliefs?: boolean | undefined;
|
|
187262
187270
|
}, {
|
|
187263
187271
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
187264
187272
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
@@ -187276,6 +187284,7 @@ declare const copperPourProps: z.ZodObject<{
|
|
|
187276
187284
|
clearance?: string | number | undefined;
|
|
187277
187285
|
boardEdgeMargin?: string | number | undefined;
|
|
187278
187286
|
cutoutMargin?: string | number | undefined;
|
|
187287
|
+
useThermalReliefs?: boolean | undefined;
|
|
187279
187288
|
}>;
|
|
187280
187289
|
type CopperPourPropsInput = z.input<typeof copperPourProps>;
|
|
187281
187290
|
|
package/dist/index.js
CHANGED
|
@@ -16619,7 +16619,7 @@ var panelProps = baseGroupProps.omit({
|
|
|
16619
16619
|
children: z43.any().optional(),
|
|
16620
16620
|
anchorAlignment: ninePointAnchor.optional(),
|
|
16621
16621
|
noSolderMask: z43.boolean().optional(),
|
|
16622
|
-
panelizationMethod: z43.enum(["tab-routing", "none"]).optional(),
|
|
16622
|
+
panelizationMethod: z43.enum(["tab-routing", "outline_routing", "none"]).optional(),
|
|
16623
16623
|
boardGap: distance.optional(),
|
|
16624
16624
|
layoutMode: z43.enum(["grid", "pack", "none"]).optional(),
|
|
16625
16625
|
row: z43.number().optional(),
|
|
@@ -18377,6 +18377,7 @@ var copperPourProps = z111.object({
|
|
|
18377
18377
|
clearance: distance.optional(),
|
|
18378
18378
|
boardEdgeMargin: distance.optional(),
|
|
18379
18379
|
cutoutMargin: distance.optional(),
|
|
18380
|
+
useThermalReliefs: z111.boolean().optional(),
|
|
18380
18381
|
outline: z111.array(point).optional(),
|
|
18381
18382
|
coveredWithSolderMask: z111.boolean().optional().default(true)
|
|
18382
18383
|
});
|