@tscircuit/props 0.0.189 → 0.0.191

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
@@ -31,6 +31,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput)
31
31
  | `<group />` | [`BaseGroupProps`](#basegroupprops-group) |
32
32
  | `<hole />` | [`HoleProps`](#holeprops-hole) |
33
33
  | `<jumper />` | [`JumperProps`](#jumperprops-jumper) |
34
+ | `<connector />` | [`ConnectorProps`](#connectorprops-connector) |
34
35
  | `<mosfet />` | [`MosfetProps`](#mosfetprops-mosfet) |
35
36
  | `<net />` | [`NetProps`](#netprops-net) |
36
37
  | `<netalias />` | [`NetAliasProps`](#netaliasprops-netalias) |
@@ -377,6 +378,33 @@ export interface JumperProps extends CommonComponentProps {
377
378
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/jumper.ts)
378
379
 
379
380
 
381
+ ### ConnectorProps `<connector />`
382
+
383
+ ```ts
384
+ export interface ConnectorProps extends CommonComponentProps {
385
+ manufacturerPartNumber?: string
386
+ pinLabels?: Record<number | string, string | string[]>
387
+ schPinStyle?: SchematicPinStyle
388
+ schPinSpacing?: number | string
389
+ schWidth?: number | string
390
+ schHeight?: number | string
391
+ schDirection?: "left" | "right"
392
+ schPortArrangement?: SchematicPortArrangement
393
+ /**
394
+ * Groups of pins that are internally connected (bridged)
395
+ * e.g., [["1","2"], ["2","3"]]
396
+ */
397
+ internallyConnectedPins?: string[][]
398
+ /**
399
+ * Connector standard, e.g. usb_c, m2
400
+ */
401
+ standard?: "usb_c" | "m2"
402
+ }
403
+ ```
404
+
405
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/connector.ts)
406
+
407
+
380
408
  ### MosfetProps `<mosfet />`
381
409
 
382
410
  ```ts