@tscircuit/props 0.0.482 → 0.0.484

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.
@@ -279,6 +279,8 @@ export interface PinAttributeMap {
279
279
  isUsingOpenDrain?: boolean
280
280
  canUsePushPull?: boolean
281
281
  isUsingPushPull?: boolean
282
+ shouldHaveDecouplingCapacitor?: boolean
283
+ recommendedDecouplingCapacitorCapacitance?: string | number
282
284
  }
283
285
 
284
286
  export const pinAttributeMap = z.object({
@@ -342,6 +344,10 @@ export const pinAttributeMap = z.object({
342
344
  isUsingOpenDrain: z.boolean().optional(),
343
345
  canUsePushPull: z.boolean().optional(),
344
346
  isUsingPushPull: z.boolean().optional(),
347
+ shouldHaveDecouplingCapacitor: z.boolean().optional(),
348
+ recommendedDecouplingCapacitorCapacitance: z
349
+ .union([z.string(), z.number()])
350
+ .optional(),
345
351
  })
346
352
 
347
353
  expectTypesMatch<PinAttributeMap, z.input<typeof pinAttributeMap>>(true)
@@ -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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.482",
3
+ "version": "0.0.484",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",