@tscircuit/props 0.0.594 → 0.0.595
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 +5 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/components/breakout.ts +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -412,6 +412,11 @@ export interface BreakoutProps extends Omit<
|
|
|
412
412
|
SubcircuitGroupProps,
|
|
413
413
|
"subcircuit"
|
|
414
414
|
> {
|
|
415
|
+
/**
|
|
416
|
+
* Autorouter used to escape the components inside the breakout boundary.
|
|
417
|
+
* Defaults to the multilayer fanout autorouter.
|
|
418
|
+
*/
|
|
419
|
+
autorouter?: AutorouterProp;
|
|
415
420
|
padding?: Distance;
|
|
416
421
|
paddingLeft?: Distance;
|
|
417
422
|
paddingRight?: Distance;
|
package/dist/index.d.ts
CHANGED
|
@@ -28471,6 +28471,11 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
28471
28471
|
}>;
|
|
28472
28472
|
|
|
28473
28473
|
interface BreakoutProps extends Omit<SubcircuitGroupProps, "subcircuit"> {
|
|
28474
|
+
/**
|
|
28475
|
+
* Autorouter used to escape the components inside the breakout boundary.
|
|
28476
|
+
* Defaults to the multilayer fanout autorouter.
|
|
28477
|
+
*/
|
|
28478
|
+
autorouter?: AutorouterProp;
|
|
28474
28479
|
padding?: Distance;
|
|
28475
28480
|
paddingLeft?: Distance;
|
|
28476
28481
|
paddingRight?: Distance;
|
|
@@ -29032,7 +29037,6 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29032
29037
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
29033
29038
|
_subcircuitCachingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
29034
29039
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
29035
|
-
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
29036
29040
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
29037
29041
|
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
29038
29042
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -29237,12 +29241,14 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29237
29241
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
29238
29242
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29239
29243
|
} & {
|
|
29244
|
+
autorouter: z.ZodDefault<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
29240
29245
|
padding: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29241
29246
|
paddingLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29242
29247
|
paddingRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29243
29248
|
paddingTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29244
29249
|
paddingBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29245
29250
|
}, "strip", z.ZodTypeAny, {
|
|
29251
|
+
autorouter: AutorouterProp;
|
|
29246
29252
|
symbol?: SymbolProp | undefined;
|
|
29247
29253
|
width?: number | undefined;
|
|
29248
29254
|
height?: number | undefined;
|
|
@@ -29502,7 +29508,6 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29502
29508
|
bomDisabled?: boolean | undefined;
|
|
29503
29509
|
defaultTraceWidth?: number | undefined;
|
|
29504
29510
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
29505
|
-
autorouter?: AutorouterProp | undefined;
|
|
29506
29511
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
29507
29512
|
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
29508
29513
|
circuitJson?: any[] | undefined;
|
package/dist/index.js
CHANGED
|
@@ -16607,6 +16607,7 @@ expectTypesMatch(true);
|
|
|
16607
16607
|
import { distance as distance12 } from "circuit-json";
|
|
16608
16608
|
import "zod";
|
|
16609
16609
|
var breakoutProps = subcircuitGroupProps.extend({
|
|
16610
|
+
autorouter: autorouterProp.default("fanout"),
|
|
16610
16611
|
padding: distance12.optional(),
|
|
16611
16612
|
paddingLeft: distance12.optional(),
|
|
16612
16613
|
paddingRight: distance12.optional(),
|