@tscircuit/props 0.0.678 → 0.0.680
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 +8 -1
- package/dist/index.d.ts +145 -7
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +5 -0
- package/lib/common/resolveManufacturerPartNumber.ts +23 -0
- package/lib/components/crystal.ts +0 -2
- package/lib/components/mountedboard.ts +4 -0
- package/lib/components/pcb-bend.ts +10 -1
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -826,7 +826,6 @@ export interface CrystalProps<
|
|
|
826
826
|
/** Maximum allowed PCB trace length between the crystal and its connected component */
|
|
827
827
|
maxTraceLength?: number | string;
|
|
828
828
|
manufacturerPartNumber?: string;
|
|
829
|
-
mpn?: string;
|
|
830
829
|
pinVariant?: PinVariant;
|
|
831
830
|
schOrientation?: SchematicOrientation;
|
|
832
831
|
connections?: Connections<CrystalPinLabels>;
|
|
@@ -1518,6 +1517,14 @@ export interface PcbBendProps {
|
|
|
1518
1517
|
bendAngle: number | string;
|
|
1519
1518
|
/** Positive neutral-surface radius, in mm or a distance string. */
|
|
1520
1519
|
bendRadius: Distance;
|
|
1520
|
+
/**
|
|
1521
|
+
* Radius of circular tear-relief cutouts centered at both bend endpoints in
|
|
1522
|
+
* the flat PCB. Removes material to round the edge where each cutout meets
|
|
1523
|
+
* the board outline. Finite and positive, in mm or a distance string;
|
|
1524
|
+
* parsed to mm. Omit to leave the outline unchanged (no tear reliefs).
|
|
1525
|
+
* Independent of bendRadius and bendSide; no aliases or conflicting props.
|
|
1526
|
+
*/
|
|
1527
|
+
tearReliefRadius?: Distance;
|
|
1521
1528
|
/** Moving side, looking from (x1, y1) toward (x2, y2) in the flat layout. */
|
|
1522
1529
|
bendSide: "left" | "right";
|
|
1523
1530
|
}
|