@tscircuit/props 0.0.521 → 0.0.523

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 CHANGED
@@ -89,6 +89,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
89
89
  | `<schematicpath />` | [`SchematicPathProps`](#schematicpathprops-schematicpath) |
90
90
  | `<schematicrect />` | [`SchematicRectProps`](#schematicrectprops-schematicrect) |
91
91
  | `<schematicrow />` | [`SchematicRowProps`](#schematicrowprops-schematicrow) |
92
+ | `<schematicsection />` | [`SchematicSectionProps`](#schematicsectionprops-schematicsection) |
92
93
  | `<schematictable />` | [`SchematicTableProps`](#schematictableprops-schematictable) |
93
94
  | `<schematictext />` | [`SchematicTextProps`](#schematictextprops-schematictext) |
94
95
  | `<silkscreencircle />` | [`SilkscreenCircleProps`](#silkscreencircleprops-silkscreencircle) |
@@ -154,6 +155,10 @@ export interface CommonComponentProps extends CommonLayoutProps {
154
155
  children?: any;
155
156
  symbolName?: string;
156
157
  doNotPlace?: boolean;
158
+ /**
159
+ * This component will be drawn as part of this section e.g. "Power"
160
+ */
161
+ schSectionName?: string;
157
162
  }
158
163
  ```
159
164
 
@@ -1555,6 +1560,17 @@ export interface SchematicRowProps {
1555
1560
 
1556
1561
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-row.ts)
1557
1562
 
1563
+ ### SchematicSectionProps `<schematicsection />`
1564
+
1565
+ ```ts
1566
+ export interface SchematicSectionProps {
1567
+ displayName?: string;
1568
+ name: string;
1569
+ }
1570
+ ```
1571
+
1572
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-section.ts)
1573
+
1558
1574
  ### SchematicTableProps `<schematictable />`
1559
1575
 
1560
1576
  ```ts