jscad-electronics 0.0.140 → 0.0.142

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/dist/index.d.ts CHANGED
@@ -153,6 +153,18 @@ interface SmdChipLeadProps {
153
153
  */
154
154
  declare const SmdChipLead: (props: SmdChipLeadProps) => react_jsx_runtime.JSX.Element;
155
155
 
156
+ interface SmdPinHeaderProps {
157
+ numberOfPins: number;
158
+ pitch?: number;
159
+ pinThickness?: number;
160
+ bodyWidth?: number;
161
+ bodyHeight?: number;
162
+ standoffHeight?: number;
163
+ matingPinLength?: number;
164
+ tailSpan?: number;
165
+ }
166
+ declare const SmdPinHeader: ({ numberOfPins, pitch, pinThickness, bodyWidth, bodyHeight, standoffHeight, matingPinLength, tailSpan, }: SmdPinHeaderProps) => react_jsx_runtime.JSX.Element;
167
+
156
168
  declare const Tssop: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth, }: {
157
169
  pinCount: number;
158
170
  pitch: number;
@@ -460,4 +472,46 @@ interface FPCProps {
460
472
  }
461
473
  declare const FPC: ({ pinCount, pitch, padWidth, padLength, staggered, reverse, rowPitch, topPadLength, bottomPadLength, mountPadPitchX, mountPadOffsetY, mountTop, mountPadWidth, mountPadLength, }: FPCProps) => react_jsx_runtime.JSX.Element;
462
474
 
463
- export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, ChipBody, type ChipBodyProps, DFN, Display, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FootprintPad, FootprintPlatedHole, Footprinter3d, HC49, type HC49Props, JSTZH1_5mm, LQFP, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, MicroMELF, type MicroMELFProps, MountedPcbModule, PinHeader, PinRow, QFN, QFP, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, SOD123W, SOD128, SOD323, SOD323F, SOD323FL, SOD523, SOD723, SOD882, SOD923, SOT223, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT963, Screen, type ScreenProps, SmdChipLead, type SmdChipLeadProps, StampBoard, TO220, TO92, TQFP, Tssop, VSSOP };
475
+ interface RJ45Props {
476
+ /** Width of the shielded connector body in millimetres. */
477
+ bodyWidth?: number;
478
+ /** Depth of the shielded connector body in millimetres. */
479
+ bodyDepth?: number;
480
+ /** Height of the connector above the PCB in millimetres. */
481
+ bodyHeight?: number;
482
+ /** Signed Y offset of the connector body from the signal rows. */
483
+ bodyCenterY?: number;
484
+ /** Include the two indicator LEDs and their four through-hole leads. */
485
+ ledPins?: boolean;
486
+ /** Mirror the eight signal pins so pin 1 is on the left. */
487
+ firstPinLeft?: boolean;
488
+ /** Mirror the eight signal pins so pin 1 is in the top row. */
489
+ firstPinTop?: boolean;
490
+ signalPitch?: number;
491
+ signalRowPitch?: number;
492
+ signalHoleDiameter?: number;
493
+ shieldPinX?: number;
494
+ shieldPinY?: number;
495
+ shieldHoleDiameter?: number;
496
+ locatorHoleX?: number;
497
+ locatorHoleY?: number;
498
+ locatorHoleDiameter?: number;
499
+ ledPinX?: number;
500
+ ledPinPitch?: number;
501
+ ledPinY?: number;
502
+ /** Override the inferred direction of the cable opening. */
503
+ openingDirection?: -1 | 1;
504
+ shellColor?: string;
505
+ housingColor?: string;
506
+ contactColor?: string;
507
+ }
508
+ /**
509
+ * Parametric, shielded 8P8C modular jack.
510
+ *
511
+ * The PCB-facing parameters intentionally mirror the `rj45` footprinter
512
+ * function so the model's signal, shield, locator and optional LED leads stay
513
+ * aligned with the generated land pattern.
514
+ */
515
+ declare const RJ45: ({ bodyWidth, bodyDepth, bodyHeight, bodyCenterY, ledPins, firstPinLeft, firstPinTop, signalPitch, signalRowPitch, signalHoleDiameter, shieldPinX, shieldPinY, shieldHoleDiameter, locatorHoleX, locatorHoleY, locatorHoleDiameter, ledPinX, ledPinPitch, ledPinY, openingDirection, shellColor, housingColor, contactColor, }: RJ45Props) => react_jsx_runtime.JSX.Element;
516
+
517
+ export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, ChipBody, type ChipBodyProps, DFN, Display, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FootprintPad, FootprintPlatedHole, Footprinter3d, HC49, type HC49Props, JSTZH1_5mm, LQFP, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, MicroMELF, type MicroMELFProps, MountedPcbModule, PinHeader, PinRow, QFN, QFP, RJ45, type RJ45Props, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, SOD123W, SOD128, SOD323, SOD323F, SOD323FL, SOD523, SOD723, SOD882, SOD923, SOT223, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT963, Screen, type ScreenProps, SmdChipLead, type SmdChipLeadProps, SmdPinHeader, type SmdPinHeaderProps, StampBoard, TO220, TO92, TQFP, Tssop, VSSOP };