jscad-electronics 0.0.142 → 0.0.144
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 +17 -1
- package/dist/index.js +1004 -704
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +287 -2
- package/dist/vanilla.js.map +1 -1
- package/package.json +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,15 @@ interface ChipBodyProps {
|
|
|
79
79
|
}
|
|
80
80
|
declare const ChipBody: ({ center, width, length, height, heightAboveSurface, color, taperRatio, faceRatio, straightHeightRatio, includeNotch, notchRadius, notchPosition, notchRotation, notchLength, notchWidth, chamferSize, }: ChipBodyProps) => react_jsx_runtime.JSX.Element;
|
|
81
81
|
|
|
82
|
+
interface CrystalProps {
|
|
83
|
+
horizontalPadPitch?: number;
|
|
84
|
+
verticalPadPitch?: number;
|
|
85
|
+
padWidth?: number;
|
|
86
|
+
padHeight?: number;
|
|
87
|
+
bodyHeight?: number;
|
|
88
|
+
}
|
|
89
|
+
declare const Crystal: ({ horizontalPadPitch, verticalPadPitch, padWidth, padHeight, bodyHeight, }: CrystalProps) => react_jsx_runtime.JSX.Element;
|
|
90
|
+
|
|
82
91
|
declare const ExtrudedPads: ({ circuitJson, footprint, }: {
|
|
83
92
|
circuitJson?: AnyCircuitElement[];
|
|
84
93
|
footprint?: string;
|
|
@@ -472,6 +481,13 @@ interface FPCProps {
|
|
|
472
481
|
}
|
|
473
482
|
declare const FPC: ({ pinCount, pitch, padWidth, padLength, staggered, reverse, rowPitch, topPadLength, bottomPadLength, mountPadPitchX, mountPadOffsetY, mountTop, mountPadWidth, mountPadLength, }: FPCProps) => react_jsx_runtime.JSX.Element;
|
|
474
483
|
|
|
484
|
+
interface Led5050Props {
|
|
485
|
+
color?: string;
|
|
486
|
+
bodyColor?: string;
|
|
487
|
+
leadColor?: string;
|
|
488
|
+
}
|
|
489
|
+
declare const Led5050: ({ color, bodyColor, leadColor, }: Led5050Props) => react_jsx_runtime.JSX.Element;
|
|
490
|
+
|
|
475
491
|
interface RJ45Props {
|
|
476
492
|
/** Width of the shielded connector body in millimetres. */
|
|
477
493
|
bodyWidth?: number;
|
|
@@ -514,4 +530,4 @@ interface RJ45Props {
|
|
|
514
530
|
*/
|
|
515
531
|
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
532
|
|
|
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 };
|
|
533
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, ChipBody, type ChipBodyProps, Crystal, type CrystalProps, DFN, Display, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FootprintPad, FootprintPlatedHole, Footprinter3d, HC49, type HC49Props, JSTZH1_5mm, LQFP, Led5050, type Led5050Props, 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 };
|