@stackone/malachite 0.3.0 → 0.3.1
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.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3342,7 +3342,7 @@ const C8 = ({ buttons: e, className: t = "" }) => /* @__PURE__ */ c("div", { cla
|
|
|
3342
3342
|
children: /* @__PURE__ */ c("div", { className: "flex-1 flex items-center gap-3", children: /* @__PURE__ */ c("div", { className: "flex-1", children: /* @__PURE__ */ c("div", { className: "flex items-center gap-2.5", children: /* @__PURE__ */ c("span", { className: `text-[15px] font-normal ${a}`, children: e.label }) }) }) })
|
|
3343
3343
|
}
|
|
3344
3344
|
);
|
|
3345
|
-
}, B7 = ({ items: e, onItemSelected: t, selectedItem: r }) => /* @__PURE__ */ c("div", { className: "absolute top-full left-0 right-0 mt-2 bg-[var(--malachite-card-background)] border border-[var(--malachite-card-border)] rounded-xl shadow-[0px_2px_5px_0px_var(--malachite-card-shadow)] z-50 max-h-[400px] overflow-hidden", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-1 p-[6px] max-h-[400px] overflow-y-auto", children: e.map((o, a) => /* @__PURE__ */ b(g1.Fragment, { children: [
|
|
3345
|
+
}, B7 = ({ items: e, onItemSelected: t, selectedItem: r }) => /* @__PURE__ */ c("div", { className: "absolute top-full left-0 right-0 mt-2 bg-[var(--malachite-card-background)] border border-solid border-[var(--malachite-card-border)] rounded-xl shadow-[0px_2px_5px_0px_var(--malachite-card-shadow)] z-50 max-h-[400px] overflow-hidden", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-1 p-[6px] max-h-[400px] overflow-y-auto", children: e.map((o, a) => /* @__PURE__ */ b(g1.Fragment, { children: [
|
|
3346
3346
|
/* @__PURE__ */ c(
|
|
3347
3347
|
k7,
|
|
3348
3348
|
{
|
|
@@ -3375,7 +3375,7 @@ const C8 = ({ buttons: e, className: t = "" }) => /* @__PURE__ */ c("div", { cla
|
|
|
3375
3375
|
m && M.current && !M.current.contains(D.target) && w(!1);
|
|
3376
3376
|
};
|
|
3377
3377
|
return document.addEventListener("click", k), () => document.removeEventListener("click", k);
|
|
3378
|
-
}, [m]), /* @__PURE__ */
|
|
3378
|
+
}, [m]), /* @__PURE__ */ c(
|
|
3379
3379
|
O1,
|
|
3380
3380
|
{
|
|
3381
3381
|
label: l,
|
|
@@ -3387,7 +3387,7 @@ const C8 = ({ buttons: e, className: t = "" }) => /* @__PURE__ */ c("div", { cla
|
|
|
3387
3387
|
formControl: g,
|
|
3388
3388
|
description: p,
|
|
3389
3389
|
loadingComponent: /* @__PURE__ */ c(E5, { size: "medium" }),
|
|
3390
|
-
children: [
|
|
3390
|
+
children: /* @__PURE__ */ b("div", { ref: M, className: "relative w-full", children: [
|
|
3391
3391
|
/* @__PURE__ */ c(
|
|
3392
3392
|
E7,
|
|
3393
3393
|
{
|
|
@@ -3409,7 +3409,7 @@ const C8 = ({ buttons: e, className: t = "" }) => /* @__PURE__ */ c("div", { cla
|
|
|
3409
3409
|
selectedItem: f
|
|
3410
3410
|
}
|
|
3411
3411
|
)
|
|
3412
|
-
]
|
|
3412
|
+
] })
|
|
3413
3413
|
}
|
|
3414
3414
|
);
|
|
3415
3415
|
};
|