jscad-electronics 0.0.175 → 0.0.177
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 +48 -2
- package/dist/index.js +1261 -1051
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +323 -144
- package/dist/vanilla.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -583,13 +583,36 @@ declare const SOT886: () => react_jsx_runtime.JSX.Element;
|
|
|
583
583
|
|
|
584
584
|
declare const SOT963: () => react_jsx_runtime.JSX.Element;
|
|
585
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
|
+
|
|
586
608
|
interface MINIMELFProps {
|
|
587
609
|
bodyLength?: number;
|
|
588
610
|
bodyDiameter?: number;
|
|
589
611
|
color?: string;
|
|
590
612
|
contactColor?: string;
|
|
613
|
+
bandColor?: string;
|
|
591
614
|
}
|
|
592
|
-
declare const MINIMELF: ({ bodyLength, bodyDiameter, color, contactColor, }: MINIMELFProps) => react_jsx_runtime.JSX.Element;
|
|
615
|
+
declare const MINIMELF: ({ bodyLength, bodyDiameter, color, contactColor, bandColor, }: MINIMELFProps) => react_jsx_runtime.JSX.Element;
|
|
593
616
|
|
|
594
617
|
interface MELFProps {
|
|
595
618
|
bodyLength?: number;
|
|
@@ -1018,6 +1041,29 @@ interface DPAKProps {
|
|
|
1018
1041
|
*/
|
|
1019
1042
|
declare const DPAK: ({ bodyWidth, bodyLength, bodyHeight, tabWidth, tabLength, span, pitch, leadWidth, leadContactLength, color, tabColor, leadColor, }: DPAKProps) => react_jsx_runtime.JSX.Element;
|
|
1020
1043
|
|
|
1044
|
+
/** Flat three-terminal TO-277A outline, in mm. The broad cathode is at +X;
|
|
1045
|
+
* two anode contacts are at -X. Body dimensions exclude the metal frame.
|
|
1046
|
+
* No solder or footprint dimensions are consumed. Rounded mold edges and
|
|
1047
|
+
* terminal corner radii are simplified; the stepped cathode outline is retained.
|
|
1048
|
+
*/
|
|
1049
|
+
interface TO277Props {
|
|
1050
|
+
bodyWidth: number;
|
|
1051
|
+
bodyLength: number;
|
|
1052
|
+
bodyHeight: number;
|
|
1053
|
+
terminalThickness: number;
|
|
1054
|
+
terminalSpan: number;
|
|
1055
|
+
leadWidth: number;
|
|
1056
|
+
leadLength: number;
|
|
1057
|
+
pitch: number;
|
|
1058
|
+
tabLength: number;
|
|
1059
|
+
tabWidth: number;
|
|
1060
|
+
tabNeckWidth: number;
|
|
1061
|
+
tabNeckLength: number;
|
|
1062
|
+
tabBarWidth: number;
|
|
1063
|
+
tabBarLength: number;
|
|
1064
|
+
}
|
|
1065
|
+
declare function TO277(p: TO277Props): react_jsx_runtime.JSX.Element;
|
|
1066
|
+
|
|
1021
1067
|
interface ElectrolyticCapacitorProps {
|
|
1022
1068
|
/** Can diameter. footprinter reports this as `d` for `electrolytic`. */
|
|
1023
1069
|
diameter?: number;
|
|
@@ -1253,4 +1299,4 @@ declare const MelfResistor: ({ size, footprint, }: {
|
|
|
1253
1299
|
footprint?: string;
|
|
1254
1300
|
}) => react_jsx_runtime.JSX.Element;
|
|
1255
1301
|
|
|
1256
|
-
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, 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 };
|
|
1302
|
+
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 };
|