jscad-electronics 0.0.169 → 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 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;
@@ -1120,4 +1160,4 @@ declare const MelfResistor: ({ size, footprint, }: {
1120
1160
  footprint?: string;
1121
1161
  }) => react_jsx_runtime.JSX.Element;
1122
1162
 
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 };
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 };