@tscircuit/props 0.0.682 → 0.0.683
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 -9
- package/dist/index.d.ts +516 -481
- package/dist/index.js +1278 -1232
- package/dist/index.js.map +1 -1
- package/lib/assembly/board-mounting.ts +56 -0
- package/lib/assembly/index.ts +1 -0
- package/lib/assembly/motor.ts +11 -0
- package/lib/components/board.ts +26 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -420,17 +420,16 @@ export interface BoardProps extends Omit<
|
|
|
420
420
|
"subcircuit" | "connections" | "outline"
|
|
421
421
|
> {
|
|
422
422
|
title?: string;
|
|
423
|
-
/**
|
|
424
|
-
* Assembly mounting target, such as "NEMA17.backface". Trimmed; omitted
|
|
425
|
-
* leaves the board unattached. The target face is resolved by the consumer.
|
|
426
|
-
*/
|
|
423
|
+
/** e.g. "NEMA17.backface". */
|
|
427
424
|
mountedTo?: string;
|
|
428
|
-
/**
|
|
429
|
-
* Nonnegative finite clearance between the target mounting face and the
|
|
430
|
-
* nearest PCB surface, in millimeters or a unit string. Parsed to mm.
|
|
431
|
-
* Omitted leaves the gap unset; only meaningful when mountedTo is supplied.
|
|
432
|
-
*/
|
|
425
|
+
/** Clearance from the mounting face, e.g. "6mm". */
|
|
433
426
|
mountGap?: Distance;
|
|
427
|
+
/** e.g. "J_USB" or "rightedge". */
|
|
428
|
+
mountRotationAnchor?: BoardMountRotationAnchor;
|
|
429
|
+
/** e.g. "calc(NEMA17.wireside-90degcw)". */
|
|
430
|
+
mountRotation?: string;
|
|
431
|
+
/** e.g. "top_layer_toward_mount_face". */
|
|
432
|
+
mountOrientation?: BoardMountOrientation;
|
|
434
433
|
/** Fabricator preset, preserved as supplied. Omitted leaves the preset unset. */
|
|
435
434
|
fabricatorPreset?:
|
|
436
435
|
| "jlcpcb_economy"
|