jscad-electronics 0.0.168 → 0.0.170
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 +71 -21
- package/dist/index.js +1186 -1025
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +133 -1
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -175,6 +175,46 @@ interface SmdPinHeaderProps {
|
|
|
175
175
|
}
|
|
176
176
|
declare const SmdPinHeader: ({ numberOfPins, pitch, pinThickness, bodyWidth, bodyHeight, standoffHeight, matingPinLength, tailSpan, }: SmdPinHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
177
177
|
|
|
178
|
+
/** Physical package dimensions in mm, independent of copper land dimensions.
|
|
179
|
+
* X crosses the two lead rows; Y runs along each row. Z=0 is the seating plane.
|
|
180
|
+
* Pin 1 is at negative X, positive Y. Bend curvature and the pin-1 dimple are
|
|
181
|
+
* visual approximations, not additional package-identification parameters.
|
|
182
|
+
*/
|
|
183
|
+
interface DualRowGullWingDimensions {
|
|
184
|
+
pinCount: number;
|
|
185
|
+
pitch: number;
|
|
186
|
+
bodyWidth: number;
|
|
187
|
+
bodyLength: number;
|
|
188
|
+
/** Overall height A, including standoff A1. */
|
|
189
|
+
bodyHeight: number;
|
|
190
|
+
standoff: number;
|
|
191
|
+
/** Outer lead-tip to outer lead-tip dimension E. */
|
|
192
|
+
leadSpan: number;
|
|
193
|
+
leadWidth: number;
|
|
194
|
+
leadThickness: number;
|
|
195
|
+
/** Horizontal terminal contact, not the PCB land length. */
|
|
196
|
+
contactLength: number;
|
|
197
|
+
/** Per-side inset of the top and bottom mold faces. */
|
|
198
|
+
taperInset: number;
|
|
199
|
+
/** Both zero means no exposed pad; otherwise both must be positive. */
|
|
200
|
+
exposedPadWidth?: number;
|
|
201
|
+
exposedPadLength?: number;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
declare const LegacySOIC: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth, }: {
|
|
205
|
+
pinCount: number;
|
|
206
|
+
pitch: number;
|
|
207
|
+
leadWidth: number;
|
|
208
|
+
leadLength: number;
|
|
209
|
+
bodyWidth: number;
|
|
210
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
211
|
+
/** Standard SOIC physical outline. Supplying leadSpan selects explicit package
|
|
212
|
+
* dimensions; the legacy land-derived API is retained for existing callers.
|
|
213
|
+
* See examples/fixtures/soic-variants.ts for MS-012 dimensional evidence.
|
|
214
|
+
*/
|
|
215
|
+
type SOICProps = Parameters<typeof LegacySOIC>[0] | DualRowGullWingDimensions;
|
|
216
|
+
declare const SOIC: (props: SOICProps) => react_jsx_runtime.JSX.Element;
|
|
217
|
+
|
|
178
218
|
declare const Tssop: ({ pinCount, leadLength, leadWidth, pitch, bodyWidth, }: {
|
|
179
219
|
pinCount: number;
|
|
180
220
|
pitch: number;
|
|
@@ -340,6 +380,36 @@ declare const SMC: () => react_jsx_runtime.JSX.Element;
|
|
|
340
380
|
|
|
341
381
|
declare const SMF: () => react_jsx_runtime.JSX.Element;
|
|
342
382
|
|
|
383
|
+
/** Physical outline dimensions in mm, independent of a PCB land pattern. */
|
|
384
|
+
interface FlatLeadDiodeDimensions {
|
|
385
|
+
bodyLength: number;
|
|
386
|
+
bodyWidth: number;
|
|
387
|
+
/** Overall height from the seating plane, including standoff. */
|
|
388
|
+
bodyHeight: number;
|
|
389
|
+
/** Outer tip-to-tip span of the two terminals. */
|
|
390
|
+
leadSpan: number;
|
|
391
|
+
cathodeLength: number;
|
|
392
|
+
cathodeWidth: number;
|
|
393
|
+
anodeLength: number;
|
|
394
|
+
anodeWidth: number;
|
|
395
|
+
terminalThickness: number;
|
|
396
|
+
standoff: number;
|
|
397
|
+
/** Inset of each top edge relative to the mold base. */
|
|
398
|
+
taperInset: number;
|
|
399
|
+
/** Top cathode band width; zero omits the band. */
|
|
400
|
+
markingWidth: number;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/** DO-219AD flat-lead outline, with independently sized cathode/anode contacts.
|
|
404
|
+
* Body and terminal dimensions use midpoints of the outline ranges on page 3.
|
|
405
|
+
* Mold standoff, taper and marking dimensions are visual approximations, exposed as props.
|
|
406
|
+
* https://www.vishay.com/doc/?89019=
|
|
407
|
+
* Dimension overrides represent variants of this standard outline. They are
|
|
408
|
+
* geometry parameters, not new Footprinter tokens or manufacturer selectors.
|
|
409
|
+
*/
|
|
410
|
+
type DO219ADProps = Partial<FlatLeadDiodeDimensions>;
|
|
411
|
+
declare const DO219AD: (props: DO219ADProps) => react_jsx_runtime.JSX.Element;
|
|
412
|
+
|
|
343
413
|
declare const SOD123F: () => react_jsx_runtime.JSX.Element;
|
|
344
414
|
|
|
345
415
|
declare const SOD123FL: () => react_jsx_runtime.JSX.Element;
|
|
@@ -373,26 +443,6 @@ declare const SOD323F: () => react_jsx_runtime.JSX.Element;
|
|
|
373
443
|
|
|
374
444
|
declare const SOD323FL: () => react_jsx_runtime.JSX.Element;
|
|
375
445
|
|
|
376
|
-
/** Physical outline dimensions in mm, independent of a PCB land pattern. */
|
|
377
|
-
interface FlatLeadDiodeDimensions {
|
|
378
|
-
bodyLength: number;
|
|
379
|
-
bodyWidth: number;
|
|
380
|
-
/** Overall height from the seating plane, including standoff. */
|
|
381
|
-
bodyHeight: number;
|
|
382
|
-
/** Outer tip-to-tip span of the two terminals. */
|
|
383
|
-
leadSpan: number;
|
|
384
|
-
cathodeLength: number;
|
|
385
|
-
cathodeWidth: number;
|
|
386
|
-
anodeLength: number;
|
|
387
|
-
anodeWidth: number;
|
|
388
|
-
terminalThickness: number;
|
|
389
|
-
standoff: number;
|
|
390
|
-
/** Inset of each top edge relative to the mold base. */
|
|
391
|
-
taperInset: number;
|
|
392
|
-
/** Top cathode band width; zero omits the band. */
|
|
393
|
-
markingWidth: number;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
446
|
/** SOD-323HE flat-lead outline with symmetric contacts by default.
|
|
397
447
|
* Dimensional reference: https://www.es.co.th/Schemetic/PDF/RFU02VSM6S.PDF
|
|
398
448
|
* Defaults use nominal 2.0 x 1.4 mm mold, 2.5 mm lead span and 0.6 mm height.
|
|
@@ -1110,4 +1160,4 @@ declare const MelfResistor: ({ size, footprint, }: {
|
|
|
1110
1160
|
footprint?: string;
|
|
1111
1161
|
}) => react_jsx_runtime.JSX.Element;
|
|
1112
1162
|
|
|
1113
|
-
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, SOD323HE, type SOD323HEProps, 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 };
|
|
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 };
|