@tscircuit/props 0.0.581 → 0.0.583

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
@@ -59,6 +59,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
59
59
  | `<hole />` | [`CircleHoleProps`](#circleholeprops-hole) |
60
60
  | `<inductor />` | [`InductorProps`](#inductorprops-inductor) |
61
61
  | `<interconnect />` | [`InterconnectProps`](#interconnectprops-interconnect) |
62
+ | `<internalcircuit />` | [`InternalCircuitProps`](#internalcircuitprops-internalcircuit) |
62
63
  | `<jumper />` | [`JumperProps`](#jumperprops-jumper) |
63
64
  | `<led />` | [`LedProps`](#ledprops-led) |
64
65
  | `<mosfet />` | [`MosfetProps`](#mosfetprops-mosfet) |
@@ -292,7 +293,7 @@ export interface BoardProps extends Omit<
292
293
  title?: string;
293
294
  material?: "fr4" | "fr1" | "flex";
294
295
  /** Number of layers for the PCB */
295
- layers?: 1 | 2 | 4 | 6 | 8;
296
+ layers?: 1 | 2 | 4 | 6 | 8 | 10;
296
297
  borderRadius?: Distance;
297
298
  thickness?: Distance;
298
299
  boardAnchorPosition?: Point;
@@ -449,6 +450,11 @@ export interface ChipPropsSU<
449
450
  noConnect?: readonly PinLabel[] | PinLabel[];
450
451
  connections?: Connections<PinLabel>;
451
452
  spiceModel?: SpiceModelElement;
453
+ /**
454
+ * Functional components contained inside this physical chip package,
455
+ * wrapped in an `<internalcircuit />` element.
456
+ */
457
+ internalCircuit?: InternalCircuitElement;
452
458
  }
453
459
  ```
454
460
 
@@ -992,6 +998,16 @@ export interface InterconnectProps extends CommonComponentProps {
992
998
 
993
999
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/interconnect.ts)
994
1000
 
1001
+ ### InternalCircuitProps `<internalcircuit />`
1002
+
1003
+ ```ts
1004
+ export interface InternalCircuitProps {
1005
+ children?: ReactNode;
1006
+ }
1007
+ ```
1008
+
1009
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/internal-circuit.ts)
1010
+
995
1011
  ### JumperProps `<jumper />`
996
1012
 
997
1013
  ```ts