@tscircuit/props 0.0.483 → 0.0.485
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 +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/lib/components/panel.ts +2 -0
- package/lib/platformConfig.ts +8 -6
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -24474,6 +24474,7 @@ interface PanelProps extends Omit<BaseGroupProps, "height" | "layoutMode" | "wid
|
|
|
24474
24474
|
edgePaddingRight?: Distance;
|
|
24475
24475
|
edgePaddingTop?: Distance;
|
|
24476
24476
|
edgePaddingBottom?: Distance;
|
|
24477
|
+
_subcircuitCachingEnabled?: boolean;
|
|
24477
24478
|
}
|
|
24478
24479
|
declare const panelProps: z.ZodObject<Omit<{
|
|
24479
24480
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
@@ -25056,6 +25057,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
25056
25057
|
edgePaddingRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25057
25058
|
edgePaddingTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25058
25059
|
edgePaddingBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25060
|
+
_subcircuitCachingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
25059
25061
|
}, "strip", z.ZodTypeAny, {
|
|
25060
25062
|
symbol?: SymbolProp | undefined;
|
|
25061
25063
|
key?: any;
|
|
@@ -25314,6 +25316,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
25314
25316
|
schGap?: string | number | undefined;
|
|
25315
25317
|
schPack?: boolean | undefined;
|
|
25316
25318
|
schMatchAdapt?: boolean | undefined;
|
|
25319
|
+
_subcircuitCachingEnabled?: boolean | undefined;
|
|
25317
25320
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
25318
25321
|
noSolderMask?: boolean | undefined;
|
|
25319
25322
|
panelizationMethod?: "none" | "tab-routing" | undefined;
|
|
@@ -25589,6 +25592,7 @@ declare const panelProps: z.ZodObject<Omit<{
|
|
|
25589
25592
|
schGap?: string | number | undefined;
|
|
25590
25593
|
schPack?: boolean | undefined;
|
|
25591
25594
|
schMatchAdapt?: boolean | undefined;
|
|
25595
|
+
_subcircuitCachingEnabled?: boolean | undefined;
|
|
25592
25596
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
25593
25597
|
noSolderMask?: boolean | undefined;
|
|
25594
25598
|
panelizationMethod?: "none" | "tab-routing" | undefined;
|
|
@@ -26189,6 +26193,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
26189
26193
|
edgePaddingRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
26190
26194
|
edgePaddingTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
26191
26195
|
edgePaddingBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
26196
|
+
_subcircuitCachingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
26192
26197
|
}, "strip", z.ZodTypeAny, {
|
|
26193
26198
|
symbol?: SymbolProp | undefined;
|
|
26194
26199
|
key?: any;
|
|
@@ -26447,6 +26452,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
26447
26452
|
schGap?: string | number | undefined;
|
|
26448
26453
|
schPack?: boolean | undefined;
|
|
26449
26454
|
schMatchAdapt?: boolean | undefined;
|
|
26455
|
+
_subcircuitCachingEnabled?: boolean | undefined;
|
|
26450
26456
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
26451
26457
|
noSolderMask?: boolean | undefined;
|
|
26452
26458
|
panelizationMethod?: "none" | "tab-routing" | undefined;
|
|
@@ -26722,6 +26728,7 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
26722
26728
|
schGap?: string | number | undefined;
|
|
26723
26729
|
schPack?: boolean | undefined;
|
|
26724
26730
|
schMatchAdapt?: boolean | undefined;
|
|
26731
|
+
_subcircuitCachingEnabled?: boolean | undefined;
|
|
26725
26732
|
anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
|
|
26726
26733
|
noSolderMask?: boolean | undefined;
|
|
26727
26734
|
panelizationMethod?: "none" | "tab-routing" | undefined;
|
|
@@ -172773,6 +172780,7 @@ interface PlatformConfig {
|
|
|
172773
172780
|
snapshotsDir?: string;
|
|
172774
172781
|
defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice">;
|
|
172775
172782
|
pcbDisabled?: boolean;
|
|
172783
|
+
routingDisabled?: boolean;
|
|
172776
172784
|
schematicDisabled?: boolean;
|
|
172777
172785
|
partsEngineDisabled?: boolean;
|
|
172778
172786
|
spiceEngineMap?: Record<string, SpiceEngine>;
|
package/dist/index.js
CHANGED
|
@@ -1053,7 +1053,8 @@ var panelProps = baseGroupProps.omit({
|
|
|
1053
1053
|
edgePaddingLeft: distance.optional(),
|
|
1054
1054
|
edgePaddingRight: distance.optional(),
|
|
1055
1055
|
edgePaddingTop: distance.optional(),
|
|
1056
|
-
edgePaddingBottom: distance.optional()
|
|
1056
|
+
edgePaddingBottom: distance.optional(),
|
|
1057
|
+
_subcircuitCachingEnabled: z37.boolean().optional()
|
|
1057
1058
|
});
|
|
1058
1059
|
expectTypesMatch(true);
|
|
1059
1060
|
|
|
@@ -2850,6 +2851,7 @@ var platformConfig = z122.object({
|
|
|
2850
2851
|
defaultSpiceEngine: defaultSpiceEngine.optional(),
|
|
2851
2852
|
localCacheEngine: z122.any().optional(),
|
|
2852
2853
|
pcbDisabled: z122.boolean().optional(),
|
|
2854
|
+
routingDisabled: z122.boolean().optional(),
|
|
2853
2855
|
schematicDisabled: z122.boolean().optional(),
|
|
2854
2856
|
partsEngineDisabled: z122.boolean().optional(),
|
|
2855
2857
|
spiceEngineMap: z122.record(z122.string(), spiceEngineZod).optional(),
|