jscad-electronics 0.0.170 → 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 CHANGED
@@ -215,21 +215,32 @@ 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 Tssop: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth, }: {
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
- declare const MSOP: ({ pinCount, padContactLength, leadWidth, pitch, bodyWidth, }: {
232
+ declare const LegacyMSOP: ({ pinCount, padContactLength, leadWidth, pitch, bodyWidth, }: {
227
233
  pinCount: number;
228
234
  pitch?: number;
229
235
  leadWidth?: number;
230
236
  padContactLength?: number;
231
237
  bodyWidth?: number;
232
238
  }) => react_jsx_runtime.JSX.Element;
239
+ /** MO-187 MSOP physical outline. leadSpan selects explicit package dimensions;
240
+ * existing callers retain the legacy default outline. See fixture source notes.
241
+ */
242
+ type MSOPProps = Parameters<typeof LegacyMSOP>[0] | DualRowGullWingDimensions;
243
+ declare const MSOP: (props: MSOPProps) => react_jsx_runtime.JSX.Element;
233
244
 
234
245
  declare const VSSOP: ({ pinCount, pitch, leadWidth, leadLength, bodyWidth, bodyLength, }: {
235
246
  pinCount: 8 | 10;
@@ -292,13 +303,42 @@ declare const QFP: ({ pinCount, pitch, leadWidth, padContactLength, bodyWidth, }
292
303
 
293
304
  declare const TQFP: () => react_jsx_runtime.JSX.Element;
294
305
 
295
- declare const LQFP: ({ pinCount, pitch, leadWidth, padContactLength, bodyWidth, }: {
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, }: {
296
331
  pinCount: number;
297
332
  pitch?: number;
298
333
  leadWidth?: number;
299
334
  padContactLength?: number;
300
335
  bodyWidth?: number;
301
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;
302
342
 
303
343
  interface SOD123Props {
304
344
  /** Overall package length, including the leads, in millimeters. */
@@ -1160,4 +1200,4 @@ declare const MelfResistor: ({ size, footprint, }: {
1160
1200
  footprint?: string;
1161
1201
  }) => react_jsx_runtime.JSX.Element;
1162
1202
 
1163
- 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, 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 };