jscad-electronics 0.0.70 → 0.0.71
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 +3 -1
- package/dist/index.js +142 -60
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +80 -0
- package/dist/vanilla.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -199,4 +199,6 @@ declare const SOD923: () => react_jsx_runtime.JSX.Element;
|
|
|
199
199
|
|
|
200
200
|
declare const SOT223: () => react_jsx_runtime.JSX.Element;
|
|
201
201
|
|
|
202
|
-
|
|
202
|
+
declare const SOT323: () => react_jsx_runtime.JSX.Element;
|
|
203
|
+
|
|
204
|
+
export { A01005, A0201, A0402, A0603, A0805, A1206, A1210, A2010, A2512, BGA, ChipBody, type ChipBodyProps, ExtrudedPads, FootprintPad, FootprintPlatedHole, Footprinter3d, PinRow, QFN, QFP, SMA, SMB, SMC, SMF, SOD123, SOD123F, SOD123FL, SOD523, SOD923, SOT223, SOT233P, SOT323, SOT563, SOT723, SmdChipLead, type SmdChipLeadProps, Tssop, VSSOP };
|
package/dist/index.js
CHANGED
|
@@ -2209,15 +2209,94 @@ var SOT223 = () => {
|
|
|
2209
2209
|
] });
|
|
2210
2210
|
};
|
|
2211
2211
|
|
|
2212
|
+
// lib/SOT-323.tsx
|
|
2213
|
+
import { Fragment as Fragment31, jsx as jsx35, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
2214
|
+
var SOT323 = () => {
|
|
2215
|
+
const fullWidth = 2.05;
|
|
2216
|
+
const bodyWidth = 1.25;
|
|
2217
|
+
const bodyLength10 = 2;
|
|
2218
|
+
const bodyHeight = 0.9;
|
|
2219
|
+
const leadWidth = 0.3;
|
|
2220
|
+
const leadThickness = 0.18;
|
|
2221
|
+
const leadHeight = 0.65;
|
|
2222
|
+
const padContactLength = 0.2;
|
|
2223
|
+
const padPitch = 0.65;
|
|
2224
|
+
const extendedBodyDistance = fullWidth - bodyWidth;
|
|
2225
|
+
return /* @__PURE__ */ jsxs33(Fragment31, { children: [
|
|
2226
|
+
/* @__PURE__ */ jsx35(
|
|
2227
|
+
SmdChipLead,
|
|
2228
|
+
{
|
|
2229
|
+
rotation: Math.PI,
|
|
2230
|
+
position: {
|
|
2231
|
+
x: fullWidth / 2 + extendedBodyDistance / 4,
|
|
2232
|
+
y: 0,
|
|
2233
|
+
z: leadThickness / 2
|
|
2234
|
+
},
|
|
2235
|
+
width: leadWidth,
|
|
2236
|
+
thickness: leadThickness,
|
|
2237
|
+
padContactLength,
|
|
2238
|
+
bodyDistance: extendedBodyDistance,
|
|
2239
|
+
height: leadHeight
|
|
2240
|
+
},
|
|
2241
|
+
4
|
|
2242
|
+
),
|
|
2243
|
+
/* @__PURE__ */ jsx35(
|
|
2244
|
+
SmdChipLead,
|
|
2245
|
+
{
|
|
2246
|
+
position: {
|
|
2247
|
+
x: -fullWidth / 2 - extendedBodyDistance / 4,
|
|
2248
|
+
y: -padPitch,
|
|
2249
|
+
z: leadThickness / 2
|
|
2250
|
+
},
|
|
2251
|
+
width: leadWidth,
|
|
2252
|
+
thickness: leadThickness,
|
|
2253
|
+
padContactLength,
|
|
2254
|
+
bodyDistance: extendedBodyDistance,
|
|
2255
|
+
height: leadHeight
|
|
2256
|
+
},
|
|
2257
|
+
1
|
|
2258
|
+
),
|
|
2259
|
+
/* @__PURE__ */ jsx35(
|
|
2260
|
+
SmdChipLead,
|
|
2261
|
+
{
|
|
2262
|
+
position: {
|
|
2263
|
+
x: -fullWidth / 2 - extendedBodyDistance / 4,
|
|
2264
|
+
y: padPitch,
|
|
2265
|
+
z: leadThickness / 2
|
|
2266
|
+
},
|
|
2267
|
+
width: leadWidth,
|
|
2268
|
+
thickness: leadThickness,
|
|
2269
|
+
padContactLength,
|
|
2270
|
+
bodyDistance: extendedBodyDistance,
|
|
2271
|
+
height: leadHeight
|
|
2272
|
+
},
|
|
2273
|
+
2
|
|
2274
|
+
),
|
|
2275
|
+
/* @__PURE__ */ jsx35(
|
|
2276
|
+
ChipBody,
|
|
2277
|
+
{
|
|
2278
|
+
center: { x: 0, y: 0, z: 0 },
|
|
2279
|
+
width: bodyWidth,
|
|
2280
|
+
length: bodyLength10,
|
|
2281
|
+
height: bodyHeight,
|
|
2282
|
+
includeNotch: false,
|
|
2283
|
+
taperRatio: 0.06,
|
|
2284
|
+
straightHeightRatio: 0.7,
|
|
2285
|
+
heightAboveSurface: 0.05
|
|
2286
|
+
}
|
|
2287
|
+
)
|
|
2288
|
+
] });
|
|
2289
|
+
};
|
|
2290
|
+
|
|
2212
2291
|
// lib/Footprinter3d.tsx
|
|
2213
|
-
import { jsx as
|
|
2292
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2214
2293
|
var Footprinter3d = ({ footprint }) => {
|
|
2215
2294
|
const fpJson = fp3.string(footprint).json();
|
|
2216
2295
|
switch (fpJson.fn) {
|
|
2217
2296
|
case "dip":
|
|
2218
|
-
return /* @__PURE__ */
|
|
2297
|
+
return /* @__PURE__ */ jsx36(Dip, { numPins: fpJson.num_pins, pitch: fpJson.p, bodyWidth: fpJson.w });
|
|
2219
2298
|
case "tssop":
|
|
2220
|
-
return /* @__PURE__ */
|
|
2299
|
+
return /* @__PURE__ */ jsx36(
|
|
2221
2300
|
Tssop,
|
|
2222
2301
|
{
|
|
2223
2302
|
pinCount: fpJson.num_pins,
|
|
@@ -2228,7 +2307,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2228
2307
|
}
|
|
2229
2308
|
);
|
|
2230
2309
|
case "vssop":
|
|
2231
|
-
return /* @__PURE__ */
|
|
2310
|
+
return /* @__PURE__ */ jsx36(
|
|
2232
2311
|
VSSOP,
|
|
2233
2312
|
{
|
|
2234
2313
|
pinCount: fpJson.num_pins,
|
|
@@ -2240,7 +2319,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2240
2319
|
}
|
|
2241
2320
|
);
|
|
2242
2321
|
case "qfp":
|
|
2243
|
-
return /* @__PURE__ */
|
|
2322
|
+
return /* @__PURE__ */ jsx36(
|
|
2244
2323
|
QFP,
|
|
2245
2324
|
{
|
|
2246
2325
|
pinCount: fpJson.num_pins,
|
|
@@ -2252,7 +2331,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2252
2331
|
);
|
|
2253
2332
|
case "qfn":
|
|
2254
2333
|
const hasThermalPad = typeof fpJson.thermalpad?.x === "number" && typeof fpJson.thermalpad?.y === "number";
|
|
2255
|
-
return /* @__PURE__ */
|
|
2334
|
+
return /* @__PURE__ */ jsx36(
|
|
2256
2335
|
qfn_default,
|
|
2257
2336
|
{
|
|
2258
2337
|
num_pins: fpJson.num_pins,
|
|
@@ -2269,37 +2348,39 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2269
2348
|
);
|
|
2270
2349
|
case "pinrow":
|
|
2271
2350
|
if (fpJson.male)
|
|
2272
|
-
return /* @__PURE__ */
|
|
2351
|
+
return /* @__PURE__ */ jsx36(PinRow, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
2273
2352
|
if (fpJson.female)
|
|
2274
|
-
return /* @__PURE__ */
|
|
2353
|
+
return /* @__PURE__ */ jsx36(FemaleHeader, { numberOfPins: fpJson.num_pins, pitch: fpJson.p });
|
|
2275
2354
|
case "cap": {
|
|
2276
2355
|
switch (fpJson.imperial) {
|
|
2277
2356
|
case "0402":
|
|
2278
|
-
return /* @__PURE__ */
|
|
2357
|
+
return /* @__PURE__ */ jsx36(A0402, { color: "#856c4d" });
|
|
2279
2358
|
case "0603":
|
|
2280
|
-
return /* @__PURE__ */
|
|
2359
|
+
return /* @__PURE__ */ jsx36(A0603, { color: "#856c4d" });
|
|
2281
2360
|
case "0805":
|
|
2282
|
-
return /* @__PURE__ */
|
|
2361
|
+
return /* @__PURE__ */ jsx36(A0805, { color: "#856c4d" });
|
|
2283
2362
|
case "0201":
|
|
2284
|
-
return /* @__PURE__ */
|
|
2363
|
+
return /* @__PURE__ */ jsx36(A0201, { color: "#856c4d" });
|
|
2285
2364
|
case "01005":
|
|
2286
|
-
return /* @__PURE__ */
|
|
2365
|
+
return /* @__PURE__ */ jsx36(A01005, { color: "#856c4d" });
|
|
2287
2366
|
case "1206":
|
|
2288
|
-
return /* @__PURE__ */
|
|
2367
|
+
return /* @__PURE__ */ jsx36(A1206, { color: "#856c4d" });
|
|
2289
2368
|
case "1210":
|
|
2290
|
-
return /* @__PURE__ */
|
|
2369
|
+
return /* @__PURE__ */ jsx36(A1210, { color: "#856c4d" });
|
|
2291
2370
|
case "2010":
|
|
2292
|
-
return /* @__PURE__ */
|
|
2371
|
+
return /* @__PURE__ */ jsx36(A2010, { color: "#856c4d" });
|
|
2293
2372
|
case "2512":
|
|
2294
|
-
return /* @__PURE__ */
|
|
2373
|
+
return /* @__PURE__ */ jsx36(A2512, { color: "#856c4d" });
|
|
2295
2374
|
}
|
|
2296
2375
|
}
|
|
2297
2376
|
case "sot235":
|
|
2298
|
-
return /* @__PURE__ */
|
|
2377
|
+
return /* @__PURE__ */ jsx36(SOT_235_default, {});
|
|
2299
2378
|
case "sot223":
|
|
2300
|
-
return /* @__PURE__ */
|
|
2379
|
+
return /* @__PURE__ */ jsx36(SOT223, {});
|
|
2380
|
+
case "sot323":
|
|
2381
|
+
return /* @__PURE__ */ jsx36(SOT323, {});
|
|
2301
2382
|
case "pushbutton":
|
|
2302
|
-
return /* @__PURE__ */
|
|
2383
|
+
return /* @__PURE__ */ jsx36(
|
|
2303
2384
|
PushButton,
|
|
2304
2385
|
{
|
|
2305
2386
|
width: fpJson.w,
|
|
@@ -2308,7 +2389,7 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2308
2389
|
}
|
|
2309
2390
|
);
|
|
2310
2391
|
case "soic":
|
|
2311
|
-
return /* @__PURE__ */
|
|
2392
|
+
return /* @__PURE__ */ jsx36(
|
|
2312
2393
|
SOIC,
|
|
2313
2394
|
{
|
|
2314
2395
|
pinCount: fpJson.num_pins,
|
|
@@ -2319,49 +2400,49 @@ var Footprinter3d = ({ footprint }) => {
|
|
|
2319
2400
|
}
|
|
2320
2401
|
);
|
|
2321
2402
|
case "sod523":
|
|
2322
|
-
return /* @__PURE__ */
|
|
2403
|
+
return /* @__PURE__ */ jsx36(SOD523, {});
|
|
2323
2404
|
case "sma":
|
|
2324
|
-
return /* @__PURE__ */
|
|
2405
|
+
return /* @__PURE__ */ jsx36(SMA, {});
|
|
2325
2406
|
case "smb":
|
|
2326
|
-
return /* @__PURE__ */
|
|
2407
|
+
return /* @__PURE__ */ jsx36(SMB, {});
|
|
2327
2408
|
case "smc":
|
|
2328
|
-
return /* @__PURE__ */
|
|
2409
|
+
return /* @__PURE__ */ jsx36(SMC, {});
|
|
2329
2410
|
case "smf":
|
|
2330
|
-
return /* @__PURE__ */
|
|
2411
|
+
return /* @__PURE__ */ jsx36(SMF, {});
|
|
2331
2412
|
case "sod123f":
|
|
2332
|
-
return /* @__PURE__ */
|
|
2413
|
+
return /* @__PURE__ */ jsx36(SOD123F, {});
|
|
2333
2414
|
case "sod123fl":
|
|
2334
|
-
return /* @__PURE__ */
|
|
2415
|
+
return /* @__PURE__ */ jsx36(SOD123FL, {});
|
|
2335
2416
|
case "sod923":
|
|
2336
|
-
return /* @__PURE__ */
|
|
2417
|
+
return /* @__PURE__ */ jsx36(SOD923, {});
|
|
2337
2418
|
}
|
|
2338
2419
|
const colorMatch = footprint.match(/_color\(([^)]+)\)/);
|
|
2339
2420
|
const color = colorMatch ? colorMatch[1] : void 0;
|
|
2340
2421
|
switch (fpJson.imperial) {
|
|
2341
2422
|
case "0402":
|
|
2342
|
-
return /* @__PURE__ */
|
|
2423
|
+
return /* @__PURE__ */ jsx36(A0402, { color });
|
|
2343
2424
|
case "0603":
|
|
2344
|
-
return /* @__PURE__ */
|
|
2425
|
+
return /* @__PURE__ */ jsx36(A0603, { color });
|
|
2345
2426
|
case "0805":
|
|
2346
|
-
return /* @__PURE__ */
|
|
2427
|
+
return /* @__PURE__ */ jsx36(A0805, { color });
|
|
2347
2428
|
case "0201":
|
|
2348
|
-
return /* @__PURE__ */
|
|
2429
|
+
return /* @__PURE__ */ jsx36(A0201, { color });
|
|
2349
2430
|
case "01005":
|
|
2350
|
-
return /* @__PURE__ */
|
|
2431
|
+
return /* @__PURE__ */ jsx36(A01005, { color });
|
|
2351
2432
|
case "1206":
|
|
2352
|
-
return /* @__PURE__ */
|
|
2433
|
+
return /* @__PURE__ */ jsx36(A1206, { color });
|
|
2353
2434
|
case "1210":
|
|
2354
|
-
return /* @__PURE__ */
|
|
2435
|
+
return /* @__PURE__ */ jsx36(A1210, { color });
|
|
2355
2436
|
case "2010":
|
|
2356
|
-
return /* @__PURE__ */
|
|
2437
|
+
return /* @__PURE__ */ jsx36(A2010, { color });
|
|
2357
2438
|
case "2512":
|
|
2358
|
-
return /* @__PURE__ */
|
|
2439
|
+
return /* @__PURE__ */ jsx36(A2512, { color });
|
|
2359
2440
|
}
|
|
2360
2441
|
return null;
|
|
2361
2442
|
};
|
|
2362
2443
|
|
|
2363
2444
|
// lib/SOT-23-3P.tsx
|
|
2364
|
-
import { Fragment as
|
|
2445
|
+
import { Fragment as Fragment32, jsx as jsx37, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
2365
2446
|
var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
2366
2447
|
const bodyWidth = 1.3;
|
|
2367
2448
|
const bodyLength10 = 2.9;
|
|
@@ -2372,8 +2453,8 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
2372
2453
|
const padContactLength = 0.4;
|
|
2373
2454
|
const padThickness = leadThickness / 2;
|
|
2374
2455
|
const extendedBodyDistance = (fullWidth - bodyWidth) / 2 + 0.3;
|
|
2375
|
-
return /* @__PURE__ */
|
|
2376
|
-
/* @__PURE__ */
|
|
2456
|
+
return /* @__PURE__ */ jsxs34(Fragment32, { children: [
|
|
2457
|
+
/* @__PURE__ */ jsx37(
|
|
2377
2458
|
SmdChipLead,
|
|
2378
2459
|
{
|
|
2379
2460
|
rotation: Math.PI,
|
|
@@ -2390,7 +2471,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
2390
2471
|
},
|
|
2391
2472
|
1
|
|
2392
2473
|
),
|
|
2393
|
-
/* @__PURE__ */
|
|
2474
|
+
/* @__PURE__ */ jsx37(
|
|
2394
2475
|
SmdChipLead,
|
|
2395
2476
|
{
|
|
2396
2477
|
rotation: Math.PI,
|
|
@@ -2407,7 +2488,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
2407
2488
|
},
|
|
2408
2489
|
2
|
|
2409
2490
|
),
|
|
2410
|
-
/* @__PURE__ */
|
|
2491
|
+
/* @__PURE__ */ jsx37(
|
|
2411
2492
|
SmdChipLead,
|
|
2412
2493
|
{
|
|
2413
2494
|
position: {
|
|
@@ -2423,7 +2504,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
2423
2504
|
},
|
|
2424
2505
|
3
|
|
2425
2506
|
),
|
|
2426
|
-
/* @__PURE__ */
|
|
2507
|
+
/* @__PURE__ */ jsx37(
|
|
2427
2508
|
ChipBody,
|
|
2428
2509
|
{
|
|
2429
2510
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2437,7 +2518,7 @@ var SOT233P = ({ fullWidth = 2.9, fullLength: fullLength10 = 2.8 }) => {
|
|
|
2437
2518
|
|
|
2438
2519
|
// lib/SOT-563.tsx
|
|
2439
2520
|
import { Cuboid as Cuboid26, Translate as Translate17, Rotate as Rotate6, Colorize as Colorize18 } from "jscad-fiber";
|
|
2440
|
-
import { Fragment as
|
|
2521
|
+
import { Fragment as Fragment33, jsx as jsx38, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
2441
2522
|
var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
2442
2523
|
const bodyWidth = 1.2;
|
|
2443
2524
|
const bodyLength10 = 1.6;
|
|
@@ -2447,11 +2528,11 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2447
2528
|
const leadHeight = 0.13;
|
|
2448
2529
|
const leadSpacing = 0.5;
|
|
2449
2530
|
const bodyZOffset = -0.4;
|
|
2450
|
-
return /* @__PURE__ */
|
|
2451
|
-
/* @__PURE__ */
|
|
2531
|
+
return /* @__PURE__ */ jsxs35(Fragment33, { children: [
|
|
2532
|
+
/* @__PURE__ */ jsx38(Rotate6, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx38(Translate17, { center: [0, 0, bodyZOffset], children: /* @__PURE__ */ jsx38(Colorize18, { color: "grey", children: /* @__PURE__ */ jsx38(Cuboid26, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
2452
2533
|
[-1, 0, 1].flatMap((yOffset, index) => [
|
|
2453
2534
|
// Left lead
|
|
2454
|
-
/* @__PURE__ */
|
|
2535
|
+
/* @__PURE__ */ jsx38(
|
|
2455
2536
|
Translate17,
|
|
2456
2537
|
{
|
|
2457
2538
|
center: [
|
|
@@ -2459,16 +2540,16 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2459
2540
|
yOffset * leadSpacing,
|
|
2460
2541
|
leadHeight / 2
|
|
2461
2542
|
],
|
|
2462
|
-
children: /* @__PURE__ */
|
|
2543
|
+
children: /* @__PURE__ */ jsx38(Cuboid26, { size: [leadLength, leadWidth, leadHeight] })
|
|
2463
2544
|
},
|
|
2464
2545
|
`left-${index}`
|
|
2465
2546
|
),
|
|
2466
2547
|
// Right lead
|
|
2467
|
-
/* @__PURE__ */
|
|
2548
|
+
/* @__PURE__ */ jsx38(
|
|
2468
2549
|
Translate17,
|
|
2469
2550
|
{
|
|
2470
2551
|
center: [bodyWidth / 2 + 0.03, yOffset * leadSpacing, leadHeight / 2],
|
|
2471
|
-
children: /* @__PURE__ */
|
|
2552
|
+
children: /* @__PURE__ */ jsx38(Cuboid26, { size: [leadLength, leadWidth, leadHeight] })
|
|
2472
2553
|
},
|
|
2473
2554
|
`right-${index}`
|
|
2474
2555
|
)
|
|
@@ -2478,7 +2559,7 @@ var SOT563 = ({ fullWidth = 1.94, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2478
2559
|
|
|
2479
2560
|
// lib/SOT-723.tsx
|
|
2480
2561
|
import { Cuboid as Cuboid27, Translate as Translate18, Rotate as Rotate7, Colorize as Colorize19 } from "jscad-fiber";
|
|
2481
|
-
import { Fragment as
|
|
2562
|
+
import { Fragment as Fragment34, jsx as jsx39, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
2482
2563
|
var getCcwSot723Coords = (pn) => {
|
|
2483
2564
|
if (pn === 1) {
|
|
2484
2565
|
return { x: 0, y: 0 };
|
|
@@ -2496,11 +2577,11 @@ var SOT723 = () => {
|
|
|
2496
2577
|
const leadLength = 0.3;
|
|
2497
2578
|
const leadHeight = 0.1;
|
|
2498
2579
|
const centerLeadWidth = 0.42;
|
|
2499
|
-
return /* @__PURE__ */
|
|
2500
|
-
/* @__PURE__ */
|
|
2580
|
+
return /* @__PURE__ */ jsxs36(Fragment34, { children: [
|
|
2581
|
+
/* @__PURE__ */ jsx39(Rotate7, { rotation: [45 * Math.PI, 0, 0], children: /* @__PURE__ */ jsx39(Translate18, { center: [0.475, leadHeight / 2, -0.25], children: /* @__PURE__ */ jsx39(Colorize19, { color: "grey", children: /* @__PURE__ */ jsx39(Cuboid27, { size: [bodyWidth, bodyLength10, bodyHeight] }) }) }) }),
|
|
2501
2582
|
[1, 2, 3].map((pn) => {
|
|
2502
2583
|
const { x, y } = getCcwSot723Coords(pn);
|
|
2503
|
-
return /* @__PURE__ */
|
|
2584
|
+
return /* @__PURE__ */ jsx39(Translate18, { center: [x, y, 0], children: /* @__PURE__ */ jsx39(
|
|
2504
2585
|
Cuboid27,
|
|
2505
2586
|
{
|
|
2506
2587
|
size: [
|
|
@@ -2515,7 +2596,7 @@ var SOT723 = () => {
|
|
|
2515
2596
|
};
|
|
2516
2597
|
|
|
2517
2598
|
// lib/sod-123.tsx
|
|
2518
|
-
import { Fragment as
|
|
2599
|
+
import { Fragment as Fragment35, jsx as jsx40, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
2519
2600
|
var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
2520
2601
|
const bodyWidth = 2.9;
|
|
2521
2602
|
const bodyLength10 = 1.3;
|
|
@@ -2526,8 +2607,8 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2526
2607
|
const padContactLength = 0.4;
|
|
2527
2608
|
const padThickness = leadThickness / 2;
|
|
2528
2609
|
const bodyDistance = (fullWidth - bodyWidth) / 2;
|
|
2529
|
-
return /* @__PURE__ */
|
|
2530
|
-
/* @__PURE__ */
|
|
2610
|
+
return /* @__PURE__ */ jsxs37(Fragment35, { children: [
|
|
2611
|
+
/* @__PURE__ */ jsx40(
|
|
2531
2612
|
SmdChipLead,
|
|
2532
2613
|
{
|
|
2533
2614
|
position: {
|
|
@@ -2543,7 +2624,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2543
2624
|
},
|
|
2544
2625
|
1
|
|
2545
2626
|
),
|
|
2546
|
-
/* @__PURE__ */
|
|
2627
|
+
/* @__PURE__ */ jsx40(
|
|
2547
2628
|
SmdChipLead,
|
|
2548
2629
|
{
|
|
2549
2630
|
rotation: Math.PI,
|
|
@@ -2560,7 +2641,7 @@ var SOD123 = ({ fullWidth = 3.8, fullLength: fullLength10 = 1.6 }) => {
|
|
|
2560
2641
|
},
|
|
2561
2642
|
2
|
|
2562
2643
|
),
|
|
2563
|
-
/* @__PURE__ */
|
|
2644
|
+
/* @__PURE__ */ jsx40(
|
|
2564
2645
|
ChipBody,
|
|
2565
2646
|
{
|
|
2566
2647
|
center: { x: 0, y: 0, z: 0 },
|
|
@@ -2601,6 +2682,7 @@ export {
|
|
|
2601
2682
|
SOD923,
|
|
2602
2683
|
SOT223,
|
|
2603
2684
|
SOT233P,
|
|
2685
|
+
SOT323,
|
|
2604
2686
|
SOT563,
|
|
2605
2687
|
SOT723,
|
|
2606
2688
|
SmdChipLead,
|