@xola/ui-kit 2.0.2 → 2.1.0
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/build/ui-kit.mjs +20 -11
- package/build/ui-kit.umd.js +2 -2
- package/package.json +1 -1
package/build/ui-kit.mjs
CHANGED
|
@@ -1503,25 +1503,34 @@ je.propTypes = {
|
|
|
1503
1503
|
className: c.string,
|
|
1504
1504
|
currency: c.string.isRequired
|
|
1505
1505
|
};
|
|
1506
|
-
const Ro = ({ children: e, info: t,
|
|
1507
|
-
const
|
|
1506
|
+
const Ro = ({ children: e, info: t, methodIcon: o, secondary: a, value: r, className: i, color: l = "default", ...s }) => {
|
|
1507
|
+
const u = Te(Jn);
|
|
1508
1508
|
return /* @__PURE__ */ n.createElement("tr", {
|
|
1509
|
-
className: I("ui-breakdown-item", Xt[
|
|
1510
|
-
...
|
|
1509
|
+
className: I("ui-breakdown-item", Xt[l], i),
|
|
1510
|
+
...s
|
|
1511
1511
|
}, /* @__PURE__ */ n.createElement("td", {
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1512
|
+
colSpan: 2,
|
|
1513
|
+
className: "text-left leading-none"
|
|
1514
|
+
}, /* @__PURE__ */ n.createElement("span", {
|
|
1515
|
+
className: "mr-0.5"
|
|
1516
|
+
}, o), /* @__PURE__ */ n.createElement("span", null, e), /* @__PURE__ */ n.createElement("span", {
|
|
1517
|
+
className: "ml-1 text-sm"
|
|
1518
|
+
}, t && /* @__PURE__ */ n.createElement("span", {
|
|
1519
|
+
className: "mr-2 rounded bg-white p-1 uppercase text-black empty:hidden"
|
|
1520
|
+
}, t), a && /* @__PURE__ */ n.createElement("span", {
|
|
1521
|
+
className: "empty:hidden"
|
|
1522
|
+
}, a))), /* @__PURE__ */ n.createElement("td", {
|
|
1516
1523
|
className: "w-[1%] whitespace-nowrap pl-4 text-right"
|
|
1517
1524
|
}, /* @__PURE__ */ n.createElement(We, {
|
|
1518
1525
|
shouldRemoveTrailingZeroes: !1,
|
|
1519
|
-
currency:
|
|
1520
|
-
},
|
|
1526
|
+
currency: u
|
|
1527
|
+
}, r)));
|
|
1521
1528
|
};
|
|
1522
1529
|
Ro.propTypes = {
|
|
1523
1530
|
children: c.node,
|
|
1524
1531
|
info: c.node,
|
|
1532
|
+
methodIcon: c.node,
|
|
1533
|
+
secondary: c.node,
|
|
1525
1534
|
value: c.node,
|
|
1526
1535
|
className: c.string,
|
|
1527
1536
|
color: c.oneOf(Object.keys(Xt))
|
|
@@ -6964,7 +6973,7 @@ const Nc = (e, t = "YYYY-MM-DD") => R(e).format(t), A4 = (e, t = "h:mm a") => {
|
|
|
6964
6973
|
onClick: v
|
|
6965
6974
|
}), /* @__PURE__ */ n.createElement(Ae.Content, {
|
|
6966
6975
|
className: "pr-1"
|
|
6967
|
-
}, /* @__PURE__ */ n.createElement(lr, {
|
|
6976
|
+
}, w && /* @__PURE__ */ n.createElement(lr, {
|
|
6968
6977
|
variant: t,
|
|
6969
6978
|
getDayContent: u,
|
|
6970
6979
|
value: e,
|