jscad-electronics 0.0.168 → 0.0.169
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 +31 -21
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -340,6 +340,36 @@ declare const SMC: () => react_jsx_runtime.JSX.Element;
|
|
|
340
340
|
|
|
341
341
|
declare const SMF: () => react_jsx_runtime.JSX.Element;
|
|
342
342
|
|
|
343
|
+
/** Physical outline dimensions in mm, independent of a PCB land pattern. */
|
|
344
|
+
interface FlatLeadDiodeDimensions {
|
|
345
|
+
bodyLength: number;
|
|
346
|
+
bodyWidth: number;
|
|
347
|
+
/** Overall height from the seating plane, including standoff. */
|
|
348
|
+
bodyHeight: number;
|
|
349
|
+
/** Outer tip-to-tip span of the two terminals. */
|
|
350
|
+
leadSpan: number;
|
|
351
|
+
cathodeLength: number;
|
|
352
|
+
cathodeWidth: number;
|
|
353
|
+
anodeLength: number;
|
|
354
|
+
anodeWidth: number;
|
|
355
|
+
terminalThickness: number;
|
|
356
|
+
standoff: number;
|
|
357
|
+
/** Inset of each top edge relative to the mold base. */
|
|
358
|
+
taperInset: number;
|
|
359
|
+
/** Top cathode band width; zero omits the band. */
|
|
360
|
+
markingWidth: number;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/** DO-219AD flat-lead outline, with independently sized cathode/anode contacts.
|
|
364
|
+
* Body and terminal dimensions use midpoints of the outline ranges on page 3.
|
|
365
|
+
* Mold standoff, taper and marking dimensions are visual approximations, exposed as props.
|
|
366
|
+
* https://www.vishay.com/doc/?89019=
|
|
367
|
+
* Dimension overrides represent variants of this standard outline. They are
|
|
368
|
+
* geometry parameters, not new Footprinter tokens or manufacturer selectors.
|
|
369
|
+
*/
|
|
370
|
+
type DO219ADProps = Partial<FlatLeadDiodeDimensions>;
|
|
371
|
+
declare const DO219AD: (props: DO219ADProps) => react_jsx_runtime.JSX.Element;
|
|
372
|
+
|
|
343
373
|
declare const SOD123F: () => react_jsx_runtime.JSX.Element;
|
|
344
374
|
|
|
345
375
|
declare const SOD123FL: () => react_jsx_runtime.JSX.Element;
|
|
@@ -373,26 +403,6 @@ declare const SOD323F: () => react_jsx_runtime.JSX.Element;
|
|
|
373
403
|
|
|
374
404
|
declare const SOD323FL: () => react_jsx_runtime.JSX.Element;
|
|
375
405
|
|
|
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
406
|
/** SOD-323HE flat-lead outline with symmetric contacts by default.
|
|
397
407
|
* Dimensional reference: https://www.es.co.th/Schemetic/PDF/RFU02VSM6S.PDF
|
|
398
408
|
* Defaults use nominal 2.0 x 1.4 mm mold, 2.5 mm lead span and 0.6 mm height.
|
|
@@ -1110,4 +1120,4 @@ declare const MelfResistor: ({ size, footprint, }: {
|
|
|
1110
1120
|
footprint?: string;
|
|
1111
1121
|
}) => react_jsx_runtime.JSX.Element;
|
|
1112
1122
|
|
|
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 };
|
|
1123
|
+
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, 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 };
|
package/dist/index.js
CHANGED
|
@@ -8579,6 +8579,23 @@ function createFlatLeadDiode(p) {
|
|
|
8579
8579
|
] });
|
|
8580
8580
|
}
|
|
8581
8581
|
|
|
8582
|
+
// lib/DO219AD.tsx
|
|
8583
|
+
var DO219AD = (props) => createFlatLeadDiode({
|
|
8584
|
+
bodyLength: 2.2,
|
|
8585
|
+
bodyWidth: 1.3,
|
|
8586
|
+
bodyHeight: 0.68,
|
|
8587
|
+
leadSpan: 2.5,
|
|
8588
|
+
cathodeLength: 1.3,
|
|
8589
|
+
cathodeWidth: 0.88,
|
|
8590
|
+
anodeLength: 0.65,
|
|
8591
|
+
anodeWidth: 0.65,
|
|
8592
|
+
terminalThickness: 0.195,
|
|
8593
|
+
standoff: 0.11,
|
|
8594
|
+
taperInset: 0.05,
|
|
8595
|
+
markingWidth: 0.23,
|
|
8596
|
+
...props
|
|
8597
|
+
});
|
|
8598
|
+
|
|
8582
8599
|
// lib/SOD323HE.tsx
|
|
8583
8600
|
var SOD323HE = (props) => createFlatLeadDiode({
|
|
8584
8601
|
bodyLength: 2,
|
|
@@ -8800,6 +8817,7 @@ export {
|
|
|
8800
8817
|
ChipBody,
|
|
8801
8818
|
Crystal,
|
|
8802
8819
|
DFN,
|
|
8820
|
+
DO219AD,
|
|
8803
8821
|
DPAK,
|
|
8804
8822
|
Display,
|
|
8805
8823
|
ElectrolyticCapacitor,
|