@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.
@@ -31,6 +31,7 @@ export interface PanelProps
31
31
  edgePaddingRight?: Distance
32
32
  edgePaddingTop?: Distance
33
33
  edgePaddingBottom?: Distance
34
+ _subcircuitCachingEnabled?: boolean
34
35
  }
35
36
 
36
37
  export const panelProps = baseGroupProps
@@ -61,6 +62,7 @@ export const panelProps = baseGroupProps
61
62
  edgePaddingRight: distance.optional(),
62
63
  edgePaddingTop: distance.optional(),
63
64
  edgePaddingBottom: distance.optional(),
65
+ _subcircuitCachingEnabled: z.boolean().optional(),
64
66
  })
65
67
 
66
68
  type InferredPanelProps = z.input<typeof panelProps>
@@ -1,15 +1,15 @@
1
+ import { z } from "zod"
2
+ import type { AutocompleteString } from "./common/autocomplete"
3
+ import { type CadModelProp, cadModelProp } from "./common/cadModel"
4
+ import { type PcbStyle, pcbStyle } from "./common/pcbStyle"
5
+ import { url } from "./common/url"
1
6
  import {
2
- autorouterProp,
3
7
  type AutorouterProp,
4
8
  type PartsEngine,
9
+ autorouterProp,
5
10
  partsEngine,
6
11
  } from "./components/group"
7
- import type { AutocompleteString } from "./common/autocomplete"
8
12
  import { expectTypesMatch } from "./typecheck"
9
- import { z } from "zod"
10
- import { type CadModelProp, cadModelProp } from "./common/cadModel"
11
- import { type PcbStyle, pcbStyle } from "./common/pcbStyle"
12
- import { url } from "./common/url"
13
13
 
14
14
  export interface FootprintLibraryResult {
15
15
  footprintCircuitJson: any[]
@@ -70,6 +70,7 @@ export interface PlatformConfig {
70
70
  defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice">
71
71
 
72
72
  pcbDisabled?: boolean
73
+ routingDisabled?: boolean
73
74
  schematicDisabled?: boolean
74
75
  partsEngineDisabled?: boolean
75
76
 
@@ -198,6 +199,7 @@ export const platformConfig = z.object({
198
199
  defaultSpiceEngine: defaultSpiceEngine.optional(),
199
200
  localCacheEngine: z.any().optional(),
200
201
  pcbDisabled: z.boolean().optional(),
202
+ routingDisabled: z.boolean().optional(),
201
203
  schematicDisabled: z.boolean().optional(),
202
204
  partsEngineDisabled: z.boolean().optional(),
203
205
  spiceEngineMap: z.record(z.string(), spiceEngineZod).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.483",
3
+ "version": "0.0.485",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",