@tscircuit/props 0.0.704 → 0.0.705

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
@@ -26,6 +26,8 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
26
26
  | `<analog.acsweepsimulation />` | [`AnalogAcSweepSimulationProps`](#analogacsweepsimulationprops-analogacsweepsimulation) |
27
27
  | `<analog.dcoperatingpointsimulation />` | [`AnalogDcOperatingPointSimulationProps`](#analogdcoperatingpointsimulationprops-analogdcoperatingpointsimulation) |
28
28
  | `<analog.dcsweepsimulation />` | [`AnalogDcSweepSimulationProps`](#analogdcsweepsimulationprops-analogdcsweepsimulation) |
29
+ | `<analog.digitalstimulus />` | [`AnalogDigitalStimulusProps`](#analogdigitalstimulusprops-analogdigitalstimulus) |
30
+ | `<analog.eyediagram />` | [`AnalogEyeDiagramProps`](#analogeyediagramprops-analogeyediagram) |
29
31
  | `<analogsimulation />` | [`AnalogSimulationProps`](#analogsimulationprops-analogsimulation) |
30
32
  | `<analog.sweepparameter />` | [`AnalogResistanceSweepParameterProps`](#analogresistancesweepparameterprops-analogsweepparameter) |
31
33
  | `<analog.transientsimulation />` | [`AnalogTransientSimulationProps`](#analogtransientsimulationprops-analogtransientsimulation) |
@@ -64,6 +66,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
64
66
  | `<fuse />` | [`FuseProps`](#fuseprops-fuse) |
65
67
  | `<group />` | [`BaseGroupProps`](#basegroupprops-group) |
66
68
  | `<hole />` | [`CircleHoleProps`](#circleholeprops-hole) |
69
+ | `<ibismodel />` | [`IbisModelProps`](#ibismodelprops-ibismodel) |
67
70
  | `<inductor />` | [`InductorProps`](#inductorprops-inductor) |
68
71
  | `<interconnect />` | [`InterconnectProps`](#interconnectprops-interconnect) |
69
72
  | `<internalcircuit />` | [`InternalCircuitProps`](#internalcircuitprops-internalcircuit) |
@@ -288,6 +291,47 @@ export interface AnalogDcSweepSimulationProps extends AnalogAnalysisSimulationBa
288
291
 
289
292
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/analogdcsweepsimulation.ts)
290
293
 
294
+ ### AnalogDigitalStimulusProps `<analog.digitalstimulus />`
295
+
296
+ ```ts
297
+ export interface AnalogDigitalStimulusProps {
298
+ name: string;
299
+ /** Selector for the external analog.transientsimulation experiment. */
300
+ simulationRef: string;
301
+ /** Selector for the physical source pin driven by this stimulus. */
302
+ sourcePinRef: string;
303
+ bitDuration: number | string;
304
+ startTime: number | string;
305
+ /** Initial bit before optional inversion. No traffic defaults are inferred. */
306
+ initialState: 0 | 1;
307
+ inverted?: boolean;
308
+ transmittedData: {
309
+ transmissionType: "bits";
310
+ bits: string | [0 | 1, ...(0 | 1)[]];
311
+ repeat: boolean;
312
+ };
313
+ }
314
+ ```
315
+
316
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/analogdigitalstimulus.ts)
317
+
318
+ ### AnalogEyeDiagramProps `<analog.eyediagram />`
319
+
320
+ ```ts
321
+ export interface AnalogEyeDiagramProps {
322
+ name: string;
323
+ simulationRef: string;
324
+ probeRef: string;
325
+ unitInterval: number | string;
326
+ timeOrigin: number | string;
327
+ /** Omitted gate endpoints use the experiment's recorded start/end times. */
328
+ startTime?: number | string;
329
+ endTime?: number | string;
330
+ }
331
+ ```
332
+
333
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/analogeyediagram.ts)
334
+
291
335
  ### AnalogSimulationProps `<analogsimulation />`
292
336
 
293
337
  ```ts
@@ -297,7 +341,7 @@ export interface AnalogSimulationProps {
297
341
  duration?: number | string;
298
342
  startTime?: number | string;
299
343
  timePerStep?: number | string;
300
- spiceEngine?: AutocompleteString<"spicey" | "ngspice">;
344
+ spiceEngine?: AutocompleteString<"spicey" | "ngspice" | "pcb_spice">;
301
345
  spiceOptions?: SpiceOptions;
302
346
  graphIndependentAxes?: boolean;
303
347
  }
@@ -327,6 +371,8 @@ export interface AnalogTransientSimulationProps extends AnalogAnalysisSimulation
327
371
  startTime?: number | string;
328
372
  /** Maximum simulation timestep. Raw numbers are milliseconds. Defaults to 0.01ms. */
329
373
  timePerStep?: number | string;
374
+ /** Physical pin selectors and per-experiment direction/enable states. Requires spiceEngine="pcb_spice"; rendering only declares the experiment. */
375
+ ibisPinStates?: Record<string, IbisPinRunState>;
330
376
  }
331
377
  ```
332
378
 
@@ -1317,6 +1363,17 @@ export interface CircleHoleProps extends PcbLayoutProps {
1317
1363
 
1318
1364
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/hole.ts)
1319
1365
 
1366
+ ### IbisModelProps `<ibismodel />`
1367
+
1368
+ ```ts
1369
+ export interface IbisModelProps extends IbisModelDefinition {
1370
+ /** Selector for exactly one source component in this subcircuit. */
1371
+ componentRef: string;
1372
+ }
1373
+ ```
1374
+
1375
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/ibismodel.ts)
1376
+
1320
1377
  ### InductorProps `<inductor />`
1321
1378
 
1322
1379
  ```ts
@@ -2709,7 +2766,7 @@ export interface PlatformConfig {
2709
2766
  includeBoardFiles?: string[];
2710
2767
  snapshotsDir?: string;
2711
2768
 
2712
- defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice">;
2769
+ defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice" | "pcb_spice">;
2713
2770
 
2714
2771
  unitPreference?: "mm" | "in" | "mil";
2715
2772