@tscircuit/props 0.0.556 → 0.0.557

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.
@@ -475,6 +475,11 @@ export interface SubcircuitGroupProps
475
475
  */
476
476
  circuitJson?: any[]
477
477
 
478
+ /**
479
+ * Nets from this subcircuit that should be exposed to parent circuits
480
+ */
481
+ exposedNets?: string[]
482
+
478
483
  /**
479
484
  * If true, we'll automatically layout the schematic for this group. Must be
480
485
  * a subcircuit (currently). This is eventually going to be replaced with more
@@ -643,6 +648,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({
643
648
  outlineOffsetX: distance.optional(),
644
649
  outlineOffsetY: distance.optional(),
645
650
  circuitJson: z.array(z.any()).optional(),
651
+ exposedNets: z.array(z.string()).optional(),
646
652
  })
647
653
 
648
654
  export const subcircuitGroupPropsWithBool = subcircuitGroupProps.extend({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.556",
3
+ "version": "0.0.557",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",