@tscircuit/props 0.0.640 → 0.0.642
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 +21 -0
- package/dist/index.d.ts +5939 -527
- package/dist/index.js +1022 -1003
- package/dist/index.js.map +1 -1
- package/lib/common/pcbPath.ts +41 -0
- package/lib/components/antenna.ts +23 -0
- package/lib/components/trace.ts +2 -27
- package/lib/index.ts +2 -0
- package/lib/platformConfig.ts +6 -0
- package/lib/projectConfig.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
|
|
|
29
29
|
| `<analogsimulation />` | [`AnalogSimulationProps`](#analogsimulationprops-analogsimulation) |
|
|
30
30
|
| `<analog.sweepparameter />` | [`AnalogResistanceSweepParameterProps`](#analogresistancesweepparameterprops-analogsweepparameter) |
|
|
31
31
|
| `<analog.transientsimulation />` | [`AnalogTransientSimulationProps`](#analogtransientsimulationprops-analogtransientsimulation) |
|
|
32
|
+
| `<antenna />` | [`AntennaProps`](#antennaprops-antenna) |
|
|
32
33
|
| `<autoroutingphase />` | [`AutoroutingPhaseProps`](#autoroutingphaseprops-autoroutingphase) |
|
|
33
34
|
| `<battery />` | [`BatteryProps`](#batteryprops-battery) |
|
|
34
35
|
| `<board />` | [`BoardProps`](#boardprops-board) |
|
|
@@ -325,6 +326,20 @@ export interface AnalogTransientSimulationProps extends AnalogAnalysisSimulation
|
|
|
325
326
|
|
|
326
327
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/analogtransientsimulation.ts)
|
|
327
328
|
|
|
329
|
+
### AntennaProps `<antenna />`
|
|
330
|
+
|
|
331
|
+
```ts
|
|
332
|
+
export interface AntennaProps extends CommonComponentProps {
|
|
333
|
+
/**
|
|
334
|
+
* Explicit antenna path. Entries use the same selector, point, and via
|
|
335
|
+
* syntax as trace pcbPath entries.
|
|
336
|
+
*/
|
|
337
|
+
pcbPath?: PcbPath;
|
|
338
|
+
}
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
[Source](https://github.com/tscircuit/props/blob/main/lib/components/antenna.ts)
|
|
342
|
+
|
|
328
343
|
### AutoroutingPhaseProps `<autoroutingphase />`
|
|
329
344
|
|
|
330
345
|
```ts
|
|
@@ -2409,6 +2424,11 @@ export interface PlatformConfig {
|
|
|
2409
2424
|
routingDisabled?: boolean;
|
|
2410
2425
|
schematicDisabled?: boolean;
|
|
2411
2426
|
partsEngineDisabled?: boolean;
|
|
2427
|
+
/**
|
|
2428
|
+
* Disables analog simulation model processing and simulator execution.
|
|
2429
|
+
* Defaults to false.
|
|
2430
|
+
*/
|
|
2431
|
+
analogSimulationDisabled?: boolean;
|
|
2412
2432
|
drcChecksDisabled?: boolean;
|
|
2413
2433
|
netlistDrcChecksDisabled?: boolean;
|
|
2414
2434
|
routingDrcChecksDisabled?: boolean;
|
|
@@ -2468,6 +2488,7 @@ export interface ProjectConfig extends Pick<
|
|
|
2468
2488
|
| "defaultSpiceEngine"
|
|
2469
2489
|
| "pcbDisabled"
|
|
2470
2490
|
| "schematicDisabled"
|
|
2491
|
+
| "analogSimulationDisabled"
|
|
2471
2492
|
> {}
|
|
2472
2493
|
```
|
|
2473
2494
|
|