jscad-electronics 0.0.164 → 0.0.166
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 +14 -1
- package/dist/index.js +1472 -1314
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +205 -235
- 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;
|
|
@@ -1054,4 +1067,4 @@ declare const MelfResistor: ({ size, footprint, }: {
|
|
|
1054
1067
|
footprint?: string;
|
|
1055
1068
|
}) => react_jsx_runtime.JSX.Element;
|
|
1056
1069
|
|
|
1057
|
-
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, 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 };
|