@tscircuit/props 0.0.622 → 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 +7 -2
- package/dist/index.d.ts +13 -8
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/panel.ts +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1327,8 +1327,13 @@ export interface PanelProps extends Omit<
|
|
|
1327
1327
|
* If true, prevent a solder mask from being applied to this panel.
|
|
1328
1328
|
*/
|
|
1329
1329
|
noSolderMask?: boolean;
|
|
1330
|
-
/**
|
|
1331
|
-
|
|
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";
|
|
1332
1337
|
/** Gap between boards in a panel */
|
|
1333
1338
|
boardGap?: Distance;
|
|
1334
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;
|
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(),
|