jscad-electronics 0.0.172 → 0.0.174
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 +34 -2
- package/dist/index.js +1229 -1123
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +101 -1
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -215,6 +215,13 @@ declare const LegacySOIC: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth,
|
|
|
215
215
|
type SOICProps = Parameters<typeof LegacySOIC>[0] | DualRowGullWingDimensions;
|
|
216
216
|
declare const SOIC: (props: SOICProps) => react_jsx_runtime.JSX.Element;
|
|
217
217
|
|
|
218
|
+
/** Explicit SSOP physical outline (e.g. JEDEC MO-150), in mm. Copper land
|
|
219
|
+
* dimensions do not identify the package. Pin 1 is at -X,+Y; Z=0 seats the feet.
|
|
220
|
+
* Mold draft, bend curvature and the pin-1 dimple are visual approximations.
|
|
221
|
+
*/
|
|
222
|
+
type SSOPProps = Omit<DualRowGullWingDimensions, "exposedPadWidth" | "exposedPadLength">;
|
|
223
|
+
declare const SSOP: (props: SSOPProps) => react_jsx_runtime.JSX.Element;
|
|
224
|
+
|
|
218
225
|
declare const LegacyTssop: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth, }: {
|
|
219
226
|
pinCount: number;
|
|
220
227
|
pitch: number;
|
|
@@ -251,7 +258,29 @@ declare const VSSOP: ({ pinCount, pitch, leadWidth, leadLength, bodyWidth, bodyL
|
|
|
251
258
|
bodyLength?: number;
|
|
252
259
|
}) => react_jsx_runtime.JSX.Element;
|
|
253
260
|
|
|
254
|
-
|
|
261
|
+
/** Physical QFN outline, in mm. Unlike the legacy land-derived API, bodyWidth
|
|
262
|
+
* and bodyLength measure the mold itself. Terminal spans measure outer edges,
|
|
263
|
+
* allowing both sawn and punched standard outlines. Pin 1 is at -X,+Y.
|
|
264
|
+
* This variant has equally many terminals on all four sides.
|
|
265
|
+
*/
|
|
266
|
+
interface PhysicalQfnDimensions {
|
|
267
|
+
num_pins: number;
|
|
268
|
+
bodyWidth: number;
|
|
269
|
+
bodyLength: number;
|
|
270
|
+
/** Overall height A from the seating plane. */
|
|
271
|
+
bodyHeight: number;
|
|
272
|
+
standoff: number;
|
|
273
|
+
terminalSpanX: number;
|
|
274
|
+
terminalSpanY: number;
|
|
275
|
+
terminalThickness: number;
|
|
276
|
+
padWidth: number;
|
|
277
|
+
padLength: number;
|
|
278
|
+
pitch: number;
|
|
279
|
+
exposedPadWidth: number;
|
|
280
|
+
exposedPadLength: number;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
declare const LegacyQFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPadSize, padWidth, padLength, pitch, thermalPadThickness, }: {
|
|
255
284
|
num_pins: number;
|
|
256
285
|
bodyWidth?: number;
|
|
257
286
|
bodyLength?: number;
|
|
@@ -265,6 +294,9 @@ declare const QFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPad
|
|
|
265
294
|
pitch?: number;
|
|
266
295
|
thermalPadThickness?: number;
|
|
267
296
|
}) => react_jsx_runtime.JSX.Element;
|
|
297
|
+
/** Supplying bodyHeight opts into physical dimensions; legacy callers are unchanged. */
|
|
298
|
+
type QFNProps = Parameters<typeof LegacyQFN>[0] | PhysicalQfnDimensions;
|
|
299
|
+
declare const QFN: (props: QFNProps) => react_jsx_runtime.JSX.Element;
|
|
268
300
|
|
|
269
301
|
declare const DFN: ({ num_pins, bodyWidth, bodyLength, bodyThickness, thermalPadSize, padWidth, padLength, pitch, thermalPadThickness, bodyStyle, standoff, terminalInset, terminalThickness, pin1TerminalChamfer, pin1MarkWidth, }: {
|
|
270
302
|
num_pins: number;
|
|
@@ -1200,4 +1232,4 @@ declare const MelfResistor: ({ size, footprint, }: {
|
|
|
1200
1232
|
footprint?: string;
|
|
1201
1233
|
}) => react_jsx_runtime.JSX.Element;
|
|
1202
1234
|
|
|
1203
|
-
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, 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, 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 };
|
|
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 };
|