@tscircuit/props 0.0.585 → 0.0.586

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.
@@ -68,6 +68,12 @@ export interface ChipPropsSU<
68
68
  schWidth?: Distance
69
69
  schHeight?: Distance
70
70
  noSchematicRepresentation?: boolean
71
+ /**
72
+ * Whether to show the components from `internalCircuit` in the schematic.
73
+ * When false, the chip's schematic box is shown instead.
74
+ * @default false
75
+ */
76
+ schShowInternalCircuit?: boolean
71
77
  internallyConnectedPins?: (string | number)[][]
72
78
  externallyConnectedPins?: string[][]
73
79
  /**
@@ -184,6 +190,7 @@ export const chipProps = commonComponentProps.extend({
184
190
  schWidth: distance.optional(),
185
191
  schHeight: distance.optional(),
186
192
  noSchematicRepresentation: z.boolean().optional(),
193
+ schShowInternalCircuit: z.boolean().optional().default(false),
187
194
  noConnect: noConnectProp.optional(),
188
195
  connections: connectionsProp.optional(),
189
196
  spiceModel: spicemodelElement.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.585",
3
+ "version": "0.0.586",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",