@xola/ui-kit 2.3.24 → 2.3.26

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 CHANGED
@@ -4654,7 +4654,7 @@ const ro = {
4654
4654
  {
4655
4655
  type: "button",
4656
4656
  className: "absolute right-0 top-0 m-4 hidden p-2 text-black hover:text-gray-darker sm:block",
4657
- onClick: r
4657
+ onClick: () => r()
4658
4658
  },
4659
4659
  /* @__PURE__ */ n.createElement(st, null)
4660
4660
  ) : null,
@@ -5167,7 +5167,7 @@ const vo = ({
5167
5167
  }) => {
5168
5168
  var g;
5169
5169
  const { currency: d, locale: m } = (g = Re(cr)) != null ? g : {};
5170
- return /* @__PURE__ */ n.createElement("tr", { className: x("ui-breakdown-item", un[r], i), ...u }, /* @__PURE__ */ n.createElement("td", { colSpan: 2, className: x("break-all text-left leading-none", s.key) }, /* @__PURE__ */ n.createElement("span", { className: "mr-0.5" }, t), /* @__PURE__ */ n.createElement("span", { className: x("break-normal md:break-all", s.children) }, l != null ? l : ""), /* @__PURE__ */ n.createElement("span", { className: x("ml-1 text-sm", s.info) }, e && /* @__PURE__ */ n.createElement("span", { className: "mr-2 rounded bg-white p-1 uppercase text-black empty:hidden" }, e), o && /* @__PURE__ */ n.createElement("span", { className: "empty:hidden" }, o))), /* @__PURE__ */ n.createElement("td", { className: x("w-[1%] whitespace-nowrap pl-4 text-right", s.value) }, Oa(a) ? /* @__PURE__ */ n.createElement(Je, { shouldRemoveTrailingZeroes: !1, currency: d, locale: m }, a) : /* @__PURE__ */ n.createElement("span", null, a)));
5170
+ return /* @__PURE__ */ n.createElement("tr", { className: x("ui-breakdown-item", un[r], i), ...u }, /* @__PURE__ */ n.createElement("td", { colSpan: 2, className: x("break-words text-left leading-none", s.key) }, /* @__PURE__ */ n.createElement("span", { className: "mr-0.5" }, t), /* @__PURE__ */ n.createElement("span", { className: x("mr-1 break-normal md:break-all", s.children) }, l != null ? l : ""), /* @__PURE__ */ n.createElement("span", { className: x("text-sm", s.info) }, e && /* @__PURE__ */ n.createElement("span", { className: "mr-2 rounded bg-white p-1 uppercase text-black empty:hidden" }, e), o && /* @__PURE__ */ n.createElement("span", { className: "empty:hidden" }, o))), /* @__PURE__ */ n.createElement("td", { className: x("w-[1%] whitespace-nowrap pl-4 text-right", s.value) }, Oa(a) ? /* @__PURE__ */ n.createElement(Je, { shouldRemoveTrailingZeroes: !1, currency: d, locale: m }, a) : /* @__PURE__ */ n.createElement("span", null, a)));
5171
5171
  };
5172
5172
  vo.propTypes = {
5173
5173
  children: c.node,