jscad-electronics 0.0.163 → 0.0.165
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 +22 -1
- package/dist/index.js +1282 -1046
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +253 -27
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -720,6 +720,13 @@ interface JSTXH2_5mmProps {
|
|
|
720
720
|
}
|
|
721
721
|
declare const JSTXH2_5mm: ({ numPins, showPins, showFootprint, bodyColor, pinColor, }: JSTXH2_5mmProps) => react_jsx_runtime.JSX.Element;
|
|
722
722
|
|
|
723
|
+
/** A generic pad fit is SH only when its pitch AND hold-down layout agree. */
|
|
724
|
+
declare function isJstShFootprint(footprint: string): boolean;
|
|
725
|
+
/** JST SH BMxxB-SRSS-TB top-entry header, nominal dimensions from JST eSH.pdf. */
|
|
726
|
+
declare const JstSh: ({ footprint }: {
|
|
727
|
+
footprint?: string;
|
|
728
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
729
|
+
|
|
723
730
|
interface FPCProps {
|
|
724
731
|
pinCount?: number;
|
|
725
732
|
pitch?: number;
|
|
@@ -961,6 +968,12 @@ interface SmdPushButtonProps {
|
|
|
961
968
|
*/
|
|
962
969
|
declare const SmdPushButton: ({ bodyWidth, bodyLength, bodyHeight, actuatorDiameter, actuatorHeight, padSpanX, padSpanY, padWidth, padLength, bodyColor, actuatorColor, leadColor, }: SmdPushButtonProps) => react_jsx_runtime.JSX.Element;
|
|
963
970
|
|
|
971
|
+
/** Low-profile side-actuated SPDT switch; MSK12C02 and MINI MSK12C02 outlines. */
|
|
972
|
+
declare const SmdSlideSwitch: ({ footprint, position, }: {
|
|
973
|
+
footprint?: string;
|
|
974
|
+
position?: 0 | 1;
|
|
975
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
976
|
+
|
|
964
977
|
interface SmdLeadPad {
|
|
965
978
|
x: number;
|
|
966
979
|
y: number;
|
|
@@ -1034,6 +1047,14 @@ declare const TwoPadCrystal: ({ packageName, footprint, }: {
|
|
|
1034
1047
|
footprint?: string;
|
|
1035
1048
|
}) => react_jsx_runtime.JSX.Element;
|
|
1036
1049
|
|
|
1050
|
+
/** Walsin RFANT5220110A0T outer geometry, L/W/T/A = 5.2/2/1.15/0.4 mm.
|
|
1051
|
+
* Source: ASC_RFANT5220110A0T_V15, page 2. Pad 1 is the feed end.
|
|
1052
|
+
* https://www.allelcoelec.nl/datasheets.1c/RFANT5220110A0T.pdf
|
|
1053
|
+
*/
|
|
1054
|
+
declare const CeramicChipAntenna: ({ footprint, }: {
|
|
1055
|
+
footprint?: string;
|
|
1056
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1057
|
+
|
|
1037
1058
|
declare const melfResistorSizes: {
|
|
1038
1059
|
readonly "0102": readonly [2.2, 1.1, 0.4];
|
|
1039
1060
|
readonly "0204": readonly [3.6, 1.4, 0.75];
|
|
@@ -1046,4 +1067,4 @@ declare const MelfResistor: ({ size, footprint, }: {
|
|
|
1046
1067
|
footprint?: string;
|
|
1047
1068
|
}) => react_jsx_runtime.JSX.Element;
|
|
1048
1069
|
|
|
1049
|
-
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, ChipBody, type ChipBodyProps, Crystal, type CrystalProps, DFN, 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, LQFP, Led2835, type Led2835Props, Led5050, type Led5050Props, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, MelfResistor, type MelfResistorSize, MicroMELF, type MicroMELFProps, MountedPcbModule, PinHeader, PinRow, Potentiometer, type PotentiometerLead, type PotentiometerProps, QFN, QFP, RJ45, type RJ45Props, type ResolvedFlexScreenSize, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, type SOD123Props, SOD123W, type SOD123WProps, SOD128, SOD323, SOD323F, SOD323FL, SOD523, SOD723, SOD882, SOD923, SOT143, SOT223, type SOT223Props, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT963, Screen, type ScreenProps, SmdChipLead, type SmdChipLeadProps, type SmdLeadPad, SmdPinHeader, type SmdPinHeaderProps, SmdPushButton, type SmdPushButtonProps, StampBoard, TO220, type TO220Lead, type TO220Props, TO92, type TO92Lead, type TO92Props, TQFP, TantalumCapacitor, type TantalumCase, Tssop, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, melfResistorSizes, resolveFlexScreenSize, tantalumCases, twoPadCrystalPackages };
|
|
1070
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, AxialCapacitor, BGA, CeramicChipAntenna, ChipBody, type ChipBodyProps, Crystal, type CrystalProps, DFN, 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, Led2835, type Led2835Props, Led5050, type Led5050Props, MELF, type MELFProps, MINIMELF, type MINIMELFProps, MS012, MS013, MSOP, MelfResistor, type MelfResistorSize, MicroMELF, type MicroMELFProps, MountedPcbModule, PinHeader, PinRow, Potentiometer, type PotentiometerLead, type PotentiometerProps, QFN, QFP, RJ45, type RJ45Props, type ResolvedFlexScreenSize, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, type SOD123Props, SOD123W, type SOD123WProps, SOD128, SOD323, SOD323F, SOD323FL, SOD523, SOD723, SOD882, SOD923, SOT143, SOT223, type SOT223Props, SOT233P, SOT23W, SOT323, SOT363, SOT457, SOT563, SOT723, SOT886, SOT963, 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, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, isJstShFootprint, melfResistorSizes, resolveFlexScreenSize, tantalumCases, twoPadCrystalPackages };
|