jscad-electronics 0.0.82 → 0.0.83

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/vanilla.js CHANGED
@@ -2578,6 +2578,84 @@ var HC49 = ({
2578
2578
  ] });
2579
2579
  };
2580
2580
 
2581
+ // lib/MINIMELF.tsx
2582
+ var MINIMELF = ({
2583
+ bodyLength: bodyLength10 = 3.5,
2584
+ bodyDiameter = 1.5,
2585
+ color = "#3a3a3aff",
2586
+ contactColor = "#c6c6c6"
2587
+ }) => {
2588
+ const padLength = 0.5;
2589
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
2590
+ /* @__PURE__ */ jsx(Colorize, { color, children: /* @__PURE__ */ jsx(Rotate, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx(
2591
+ RoundedCylinder,
2592
+ {
2593
+ height: bodyLength10,
2594
+ radius: bodyDiameter / 2,
2595
+ roundRadius: 0.3,
2596
+ center: [-bodyDiameter / 2, 0, 0]
2597
+ }
2598
+ ) }) }),
2599
+ /* @__PURE__ */ jsx(Colorize, { color: contactColor, children: /* @__PURE__ */ jsx(Rotate, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx(
2600
+ RoundedCylinder,
2601
+ {
2602
+ height: padLength,
2603
+ radius: bodyDiameter / 2,
2604
+ roundRadius: 0.2,
2605
+ center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
2606
+ }
2607
+ ) }) }),
2608
+ /* @__PURE__ */ jsx(Colorize, { color: contactColor, children: /* @__PURE__ */ jsx(Rotate, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx(
2609
+ RoundedCylinder,
2610
+ {
2611
+ height: padLength,
2612
+ radius: bodyDiameter / 2,
2613
+ roundRadius: 0.2,
2614
+ center: [-bodyDiameter / 2, 0, bodyLength10 / 2]
2615
+ }
2616
+ ) }) })
2617
+ ] });
2618
+ };
2619
+
2620
+ // lib/MELF.tsx
2621
+ var MELF = ({
2622
+ bodyLength: bodyLength10 = 3.9,
2623
+ bodyDiameter = 2.5,
2624
+ color = "#3a3a3aff",
2625
+ contactColor = "#c6c6c6"
2626
+ }) => {
2627
+ const padLength = 0.55;
2628
+ return /* @__PURE__ */ jsxs(Fragment2, { children: [
2629
+ /* @__PURE__ */ jsx(Colorize, { color, children: /* @__PURE__ */ jsx(Rotate, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx(
2630
+ RoundedCylinder,
2631
+ {
2632
+ height: bodyLength10,
2633
+ radius: bodyDiameter / 2,
2634
+ roundRadius: 0.3,
2635
+ center: [-bodyDiameter / 2, 0, 0]
2636
+ }
2637
+ ) }) }),
2638
+ /* @__PURE__ */ jsx(Colorize, { color: contactColor, children: /* @__PURE__ */ jsx(Rotate, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx(
2639
+ RoundedCylinder,
2640
+ {
2641
+ height: padLength,
2642
+ radius: bodyDiameter / 2,
2643
+ roundRadius: 0.2,
2644
+ center: [-bodyDiameter / 2, 0, -bodyLength10 / 2]
2645
+ }
2646
+ ) }) }),
2647
+ /* @__PURE__ */ jsx(Colorize, { color: contactColor, children: /* @__PURE__ */ jsx(Rotate, { rotation: [0, "90deg", 0], children: /* @__PURE__ */ jsx(
2648
+ RoundedCylinder,
2649
+ {
2650
+ height: padLength,
2651
+ radius: bodyDiameter / 2,
2652
+ roundRadius: 0.2,
2653
+ center: [-bodyDiameter / 2, 0, bodyLength10 / 2]
2654
+ }
2655
+ ) }) })
2656
+ ] });
2657
+ };
2658
+
2581
2659
  // lib/ms012.tsx
2582
2660
  var MS012 = ({
2583
2661
  pinCount,
@@ -2804,6 +2882,10 @@ var Footprinter3d = ({ footprint }) => {
2804
2882
  return /* @__PURE__ */ jsx(SOD923, {});
2805
2883
  case "hc49":
2806
2884
  return /* @__PURE__ */ jsx(HC49, {});
2885
+ case "minimelf":
2886
+ return /* @__PURE__ */ jsx(MINIMELF, {});
2887
+ case "melf":
2888
+ return /* @__PURE__ */ jsx(MELF, {});
2807
2889
  case "ms012":
2808
2890
  return /* @__PURE__ */ jsx(
2809
2891
  MS012,