jscad-electronics 0.0.174 → 0.0.176
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 +67 -1
- package/dist/index.js +1714 -1420
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +296 -131
- package/dist/vanilla.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -51,6 +51,27 @@ interface BGAProps {
|
|
|
51
51
|
}
|
|
52
52
|
declare const BGA: ({ packageWidth, packageLength, packageHeight, standoffHeight, ballPitch, ballDiameter, ballRows, ballColumns, missingBalls, footprintString, }: BGAProps) => react_jsx_runtime.JSX.Element;
|
|
53
53
|
|
|
54
|
+
/** Molded perimeter-land LGA. Opposite rows have equal counts; adjacent rows
|
|
55
|
+
* may differ. Pads remain entirely under the body, with no QFN exposed pad.
|
|
56
|
+
* X crosses the left/right rows. Pin 1 is at -X,+Y; dimensions are in mm.
|
|
57
|
+
* This models the external envelope, not sensor-specific lids or apertures.
|
|
58
|
+
*/
|
|
59
|
+
interface LGAProps {
|
|
60
|
+
bodyWidth: number;
|
|
61
|
+
bodyLength: number;
|
|
62
|
+
bodyHeight: number;
|
|
63
|
+
landsPerSideX: number;
|
|
64
|
+
landsPerSideY: number;
|
|
65
|
+
pitch: number;
|
|
66
|
+
landWidth: number;
|
|
67
|
+
landLength: number;
|
|
68
|
+
/** Distance from the body edge to the outer edge of each land. */
|
|
69
|
+
edgeInset: number;
|
|
70
|
+
/** Representative metallization thickness, not solder standoff. */
|
|
71
|
+
landThickness: number;
|
|
72
|
+
}
|
|
73
|
+
declare function LGA(p: LGAProps): react_jsx_runtime.JSX.Element;
|
|
74
|
+
|
|
54
75
|
interface ChipBodyProps {
|
|
55
76
|
width: number;
|
|
56
77
|
length: number;
|
|
@@ -562,6 +583,28 @@ declare const SOT886: () => react_jsx_runtime.JSX.Element;
|
|
|
562
583
|
|
|
563
584
|
declare const SOT963: () => react_jsx_runtime.JSX.Element;
|
|
564
585
|
|
|
586
|
+
/** Three-terminal SOT-89 / TO-243 / SC-62, in mm. Three flat leads at -X;
|
|
587
|
+
* the middle terminal continues into the exposed die pad and rear tab at +X.
|
|
588
|
+
* Body dimensions exclude metal. Z=0 is the seating plane. Mold draft is an
|
|
589
|
+
* approximation; tab corner chamfers and lead-frame stamping details are omitted.
|
|
590
|
+
*/
|
|
591
|
+
interface SOT89Props {
|
|
592
|
+
bodyWidth: number;
|
|
593
|
+
bodyLength: number;
|
|
594
|
+
bodyHeight: number;
|
|
595
|
+
standoff: number;
|
|
596
|
+
pitch: number;
|
|
597
|
+
leadWidth: number;
|
|
598
|
+
centerLeadWidth: number;
|
|
599
|
+
leadLength: number;
|
|
600
|
+
terminalThickness: number;
|
|
601
|
+
tabWidth: number;
|
|
602
|
+
tabLength: number;
|
|
603
|
+
rearExtension: number;
|
|
604
|
+
taperInset: number;
|
|
605
|
+
}
|
|
606
|
+
declare function SOT89(p: SOT89Props): react_jsx_runtime.JSX.Element;
|
|
607
|
+
|
|
565
608
|
interface MINIMELFProps {
|
|
566
609
|
bodyLength?: number;
|
|
567
610
|
bodyDiameter?: number;
|
|
@@ -997,6 +1040,29 @@ interface DPAKProps {
|
|
|
997
1040
|
*/
|
|
998
1041
|
declare const DPAK: ({ bodyWidth, bodyLength, bodyHeight, tabWidth, tabLength, span, pitch, leadWidth, leadContactLength, color, tabColor, leadColor, }: DPAKProps) => react_jsx_runtime.JSX.Element;
|
|
999
1042
|
|
|
1043
|
+
/** Flat three-terminal TO-277A outline, in mm. The broad cathode is at +X;
|
|
1044
|
+
* two anode contacts are at -X. Body dimensions exclude the metal frame.
|
|
1045
|
+
* No solder or footprint dimensions are consumed. Rounded mold edges and
|
|
1046
|
+
* terminal corner radii are simplified; the stepped cathode outline is retained.
|
|
1047
|
+
*/
|
|
1048
|
+
interface TO277Props {
|
|
1049
|
+
bodyWidth: number;
|
|
1050
|
+
bodyLength: number;
|
|
1051
|
+
bodyHeight: number;
|
|
1052
|
+
terminalThickness: number;
|
|
1053
|
+
terminalSpan: number;
|
|
1054
|
+
leadWidth: number;
|
|
1055
|
+
leadLength: number;
|
|
1056
|
+
pitch: number;
|
|
1057
|
+
tabLength: number;
|
|
1058
|
+
tabWidth: number;
|
|
1059
|
+
tabNeckWidth: number;
|
|
1060
|
+
tabNeckLength: number;
|
|
1061
|
+
tabBarWidth: number;
|
|
1062
|
+
tabBarLength: number;
|
|
1063
|
+
}
|
|
1064
|
+
declare function TO277(p: TO277Props): react_jsx_runtime.JSX.Element;
|
|
1065
|
+
|
|
1000
1066
|
interface ElectrolyticCapacitorProps {
|
|
1001
1067
|
/** Can diameter. footprinter reports this as `d` for `electrolytic`. */
|
|
1002
1068
|
diameter?: number;
|
|
@@ -1232,4 +1298,4 @@ declare const MelfResistor: ({ size, footprint, }: {
|
|
|
1232
1298
|
footprint?: string;
|
|
1233
1299
|
}) => react_jsx_runtime.JSX.Element;
|
|
1234
1300
|
|
|
1235
|
-
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, CeramicChipAntenna, ChipBody, type ChipBodyProps, Crystal, type CrystalProps, DFN, DO219AD, type DO219ADProps, DPAK, type DPAKProps, Display, ElectrolyticCapacitor, type ElectrolyticCapacitorProps, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FlexScreen, type FlexScreenAspectRatio, type FlexScreenOrientation, type FlexScreenProps, FootprintPad, FootprintPlatedHole, Footprinter3d, GullWingBody, type GullWingBodyProps, HC49, type HC49Props, JSTPH2_0mm, JSTXH2_5mm, type JSTXH2_5mmProps, JSTZH1_5mm, JstSh, LQFP, type LQFPProps, Led2835, type Led2835Props, Led5050, type Led5050Props, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, type MSOPProps, MelfResistor, type MelfResistorSize, MicroMELF, type MicroMELFProps, MountedPcbModule, PinHeader, PinRow, Potentiometer, type PotentiometerLead, type PotentiometerProps, QFN, type QFNProps, QFP, RJ45, type RJ45Props, type ResolvedFlexScreenSize, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, type SOD123Props, SOD123W, type SOD123WProps, SOD128, SOD323, SOD323F, SOD323FL, SOD323HE, type SOD323HEProps, SOD523, SOD723, SOD882, SOD923, SOIC, type SOICProps, SOT143, SOT223, type SOT223Props, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT963, SSOP, type SSOPProps, Screen, type ScreenProps, SmdChipLead, type SmdChipLeadProps, type SmdLeadPad, SmdPinHeader, type SmdPinHeaderProps, SmdPushButton, type SmdPushButtonProps, SmdSlideSwitch, StampBoard, TO220, type TO220Lead, type TO220Props, TO92, type TO92Lead, type TO92Props, TQFP, TantalumCapacitor, type TantalumCase, Tssop, type TssopProps, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, isJstShFootprint, melfResistorSizes, resolveFlexScreenSize, tantalumCases, twoPadCrystalPackages };
|
|
1301
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, CeramicChipAntenna, ChipBody, type ChipBodyProps, Crystal, type CrystalProps, DFN, DO219AD, type DO219ADProps, DPAK, type DPAKProps, Display, ElectrolyticCapacitor, type ElectrolyticCapacitorProps, ExtrudedPads, FPC, type FPCProps, FemaleHeader, FemaleHeaderRow, FlexScreen, type FlexScreenAspectRatio, type FlexScreenOrientation, type FlexScreenProps, FootprintPad, FootprintPlatedHole, Footprinter3d, GullWingBody, type GullWingBodyProps, HC49, type HC49Props, JSTPH2_0mm, JSTXH2_5mm, type JSTXH2_5mmProps, JSTZH1_5mm, JstSh, LGA, type LGAProps, LQFP, type LQFPProps, Led2835, type Led2835Props, Led5050, type Led5050Props, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, type MSOPProps, MelfResistor, type MelfResistorSize, MicroMELF, type MicroMELFProps, MountedPcbModule, PinHeader, PinRow, Potentiometer, type PotentiometerLead, type PotentiometerProps, QFN, type QFNProps, QFP, RJ45, type RJ45Props, type ResolvedFlexScreenSize, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, type SOD123Props, SOD123W, type SOD123WProps, SOD128, SOD323, SOD323F, SOD323FL, SOD323HE, type SOD323HEProps, SOD523, SOD723, SOD882, SOD923, SOIC, type SOICProps, SOT143, SOT223, type SOT223Props, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT89, type SOT89Props, SOT963, SSOP, type SSOPProps, Screen, type ScreenProps, SmdChipLead, type SmdChipLeadProps, type SmdLeadPad, SmdPinHeader, type SmdPinHeaderProps, SmdPushButton, type SmdPushButtonProps, SmdSlideSwitch, StampBoard, TO220, type TO220Lead, type TO220Props, TO277, type TO277Props, TO92, type TO92Lead, type TO92Props, TQFP, TantalumCapacitor, type TantalumCase, Tssop, type TssopProps, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, isJstShFootprint, melfResistorSizes, resolveFlexScreenSize, tantalumCases, twoPadCrystalPackages };
|