@danxbot/ui 4.1.7 → 4.1.8
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 +15 -11
- package/dist/index.js.map +1 -1
- package/dist/types/components/Menu.d.ts +18 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21635,20 +21635,24 @@ function bu({
|
|
|
21635
21635
|
}
|
|
21636
21636
|
function $r({
|
|
21637
21637
|
className: e,
|
|
21638
|
-
|
|
21639
|
-
|
|
21640
|
-
|
|
21641
|
-
|
|
21642
|
-
|
|
21638
|
+
icon: t,
|
|
21639
|
+
selected: n,
|
|
21640
|
+
tone: r = "neutral",
|
|
21641
|
+
children: o,
|
|
21642
|
+
ref: s,
|
|
21643
|
+
...i
|
|
21643
21644
|
}) {
|
|
21644
|
-
return /* @__PURE__ */
|
|
21645
|
+
return /* @__PURE__ */ T(
|
|
21645
21646
|
W1,
|
|
21646
21647
|
{
|
|
21647
|
-
ref:
|
|
21648
|
-
"data-selected":
|
|
21649
|
-
className: W(th,
|
|
21650
|
-
...
|
|
21651
|
-
children:
|
|
21648
|
+
ref: s,
|
|
21649
|
+
"data-selected": n || void 0,
|
|
21650
|
+
className: W(th, r === "danger" && rD, n && nD, e),
|
|
21651
|
+
...i,
|
|
21652
|
+
children: [
|
|
21653
|
+
t && /* @__PURE__ */ f("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: t }),
|
|
21654
|
+
o
|
|
21655
|
+
]
|
|
21652
21656
|
}
|
|
21653
21657
|
);
|
|
21654
21658
|
}
|