jscad-electronics 0.0.171 → 0.0.172
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 +38 -3
- package/dist/index.js +1111 -964
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +247 -110
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -215,13 +215,19 @@ 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
|
-
declare const
|
|
218
|
+
declare const LegacyTssop: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth, }: {
|
|
219
219
|
pinCount: number;
|
|
220
220
|
pitch: number;
|
|
221
221
|
leadWidth: number;
|
|
222
222
|
leadLength: number;
|
|
223
223
|
bodyWidth: number;
|
|
224
224
|
}) => react_jsx_runtime.JSX.Element;
|
|
225
|
+
/** TSSOP physical outline. leadSpan selects explicit package dimensions;
|
|
226
|
+
* existing land-derived callers retain their current geometry.
|
|
227
|
+
* See examples/fixtures/tssop-variants.ts for standard outline evidence.
|
|
228
|
+
*/
|
|
229
|
+
type TssopProps = Parameters<typeof LegacyTssop>[0] | DualRowGullWingDimensions;
|
|
230
|
+
declare const Tssop: (props: TssopProps) => react_jsx_runtime.JSX.Element;
|
|
225
231
|
|
|
226
232
|
declare const LegacyMSOP: ({ pinCount, padContactLength, leadWidth, pitch, bodyWidth, }: {
|
|
227
233
|
pinCount: number;
|
|
@@ -297,13 +303,42 @@ declare const QFP: ({ pinCount, pitch, leadWidth, padContactLength, bodyWidth, }
|
|
|
297
303
|
|
|
298
304
|
declare const TQFP: () => react_jsx_runtime.JSX.Element;
|
|
299
305
|
|
|
300
|
-
|
|
306
|
+
/** Physical package dimensions in mm, independent of copper land dimensions.
|
|
307
|
+
* Four equal lead rows surround the mold. Z=0 is the seating plane.
|
|
308
|
+
* Pin 1 is at negative X, positive Y. Bend curvature and the pin-1 dimple are
|
|
309
|
+
* visual approximations, not additional package-identification parameters.
|
|
310
|
+
*/
|
|
311
|
+
interface PhysicalLqfpDimensions {
|
|
312
|
+
pinCount: number;
|
|
313
|
+
pitch: number;
|
|
314
|
+
bodyWidth: number;
|
|
315
|
+
bodyLength: number;
|
|
316
|
+
/** Overall height A, including standoff A1. */
|
|
317
|
+
bodyHeight: number;
|
|
318
|
+
standoff: number;
|
|
319
|
+
/** Outer lead-tip to outer lead-tip dimension E. */
|
|
320
|
+
leadSpanX: number;
|
|
321
|
+
leadSpanY: number;
|
|
322
|
+
leadWidth: number;
|
|
323
|
+
leadThickness: number;
|
|
324
|
+
/** Horizontal terminal contact, not the PCB land length. */
|
|
325
|
+
contactLength: number;
|
|
326
|
+
/** Per-side inset of the top and bottom mold faces. */
|
|
327
|
+
taperInset: number;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
declare const LegacyLQFP: ({ pinCount, pitch, leadWidth, padContactLength, bodyWidth, }: {
|
|
301
331
|
pinCount: number;
|
|
302
332
|
pitch?: number;
|
|
303
333
|
leadWidth?: number;
|
|
304
334
|
padContactLength?: number;
|
|
305
335
|
bodyWidth?: number;
|
|
306
336
|
}) => react_jsx_runtime.JSX.Element;
|
|
337
|
+
/** leadSpanX selects explicit physical dimensions. Existing callers retain
|
|
338
|
+
* their legacy geometry. See standard outline evidence in the fixtures.
|
|
339
|
+
*/
|
|
340
|
+
type LQFPProps = Parameters<typeof LegacyLQFP>[0] | PhysicalLqfpDimensions;
|
|
341
|
+
declare const LQFP: (props: LQFPProps) => react_jsx_runtime.JSX.Element;
|
|
307
342
|
|
|
308
343
|
interface SOD123Props {
|
|
309
344
|
/** Overall package length, including the leads, in millimeters. */
|
|
@@ -1165,4 +1200,4 @@ declare const MelfResistor: ({ size, footprint, }: {
|
|
|
1165
1200
|
footprint?: string;
|
|
1166
1201
|
}) => react_jsx_runtime.JSX.Element;
|
|
1167
1202
|
|
|
1168
|
-
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, 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, TwoPadCrystal, type TwoPadCrystalPackage, UsbCMidmount, VSSOP, isJstShFootprint, melfResistorSizes, resolveFlexScreenSize, tantalumCases, twoPadCrystalPackages };
|
|
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 };
|