@tscircuit/props 0.0.599 → 0.0.601
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 +4 -35
- package/dist/index.d.ts +267 -115
- package/dist/index.js +723 -707
- package/dist/index.js.map +1 -1
- package/lib/common/fanoutProps.ts +65 -0
- package/lib/components/autoroutingphase.ts +7 -55
- package/lib/components/breakout.ts +4 -12
- package/lib/components/smtpad.ts +10 -0
- package/lib/components/transistor.ts +3 -3
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -327,7 +327,7 @@ export interface AnalogTransientSimulationProps extends AnalogAnalysisSimulation
|
|
|
327
327
|
### AutoroutingPhaseProps `<autoroutingphase />`
|
|
328
328
|
|
|
329
329
|
```ts
|
|
330
|
-
export interface AutoroutingPhaseProps extends RoutingTolerances {
|
|
330
|
+
export interface AutoroutingPhaseProps extends RoutingTolerances, FanoutProps {
|
|
331
331
|
key?: any;
|
|
332
332
|
name?: string;
|
|
333
333
|
autorouter?: AutorouterProp;
|
|
@@ -342,30 +342,6 @@ export interface AutoroutingPhaseProps extends RoutingTolerances {
|
|
|
342
342
|
connection?: string;
|
|
343
343
|
connections?: string[];
|
|
344
344
|
reroute?: boolean;
|
|
345
|
-
/**
|
|
346
|
-
* Fanout direction for each named bus in this phase. `center` leaves the
|
|
347
|
-
* direction unconstrained.
|
|
348
|
-
*/
|
|
349
|
-
busFanoutDirections?: Record<BusName, BusFanoutDirection>;
|
|
350
|
-
/**
|
|
351
|
-
* Padding between the union of the fanout source pads and the shared
|
|
352
|
-
* boundary where fanout traces terminate.
|
|
353
|
-
*/
|
|
354
|
-
fanoutBoundaryPadding?: FanoutBoundaryPadding;
|
|
355
|
-
/**
|
|
356
|
-
* Copper layers available to boundary-terminated fanout buses. Source-only
|
|
357
|
-
* traces whose nets are mapped by `fanoutPourNetMap` terminate on their
|
|
358
|
-
* mapped plane layer.
|
|
359
|
-
*/
|
|
360
|
-
fanoutRoutingLayers?: LayerRefInput[];
|
|
361
|
-
/**
|
|
362
|
-
* Maps copper layers to the net or nets poured on them. During fanout,
|
|
363
|
-
* source-only traces on those nets drop to the mapped layer instead of
|
|
364
|
-
* routing to the breakout boundary.
|
|
365
|
-
*
|
|
366
|
-
* This is inferred from `<copperpour>` components when omitted.
|
|
367
|
-
*/
|
|
368
|
-
fanoutPourNetMap?: FanoutPourNetMap;
|
|
369
345
|
}
|
|
370
346
|
```
|
|
371
347
|
|
|
@@ -427,10 +403,8 @@ export interface BoardProps extends Omit<
|
|
|
427
403
|
### BreakoutProps `<breakout />`
|
|
428
404
|
|
|
429
405
|
```ts
|
|
430
|
-
export interface BreakoutProps
|
|
431
|
-
SubcircuitGroupProps,
|
|
432
|
-
"subcircuit"
|
|
433
|
-
> {
|
|
406
|
+
export interface BreakoutProps
|
|
407
|
+
extends Omit<SubcircuitGroupProps, "subcircuit">, FanoutProps {
|
|
434
408
|
/**
|
|
435
409
|
* Autorouter used to escape the components inside the breakout boundary.
|
|
436
410
|
* Defaults to the multilayer fanout autorouter.
|
|
@@ -441,12 +415,6 @@ export interface BreakoutProps extends Omit<
|
|
|
441
415
|
paddingRight?: Distance;
|
|
442
416
|
paddingTop?: Distance;
|
|
443
417
|
paddingBottom?: Distance;
|
|
444
|
-
/**
|
|
445
|
-
* Padding between the union of the fanout source pads and the shared
|
|
446
|
-
* boundary where fanout traces terminate. This is independent of the
|
|
447
|
-
* breakout group's layout padding.
|
|
448
|
-
*/
|
|
449
|
-
fanoutBoundaryPadding?: FanoutBoundaryPadding;
|
|
450
418
|
}
|
|
451
419
|
```
|
|
452
420
|
|
|
@@ -1978,6 +1946,7 @@ export interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
1978
1946
|
solderMaskMarginRight?: Distance;
|
|
1979
1947
|
solderMaskMarginTop?: Distance;
|
|
1980
1948
|
solderMaskMarginBottom?: Distance;
|
|
1949
|
+
solderPasteMargin?: Distance;
|
|
1981
1950
|
}
|
|
1982
1951
|
```
|
|
1983
1952
|
|