@xola/ui-kit 2.3.16 → 2.3.17
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 +2 -1
- package/build/ui-kit.umd.js +1 -1
- package/package.json +1 -1
package/build/ui-kit.mjs
CHANGED
|
@@ -5080,7 +5080,8 @@ const n2 = nn(), r2 = /* @__PURE__ */ new Set(["JPY", "CLP", "KRW", "LAK", "PYG"
|
|
|
5080
5080
|
po(l) && (l = 0);
|
|
5081
5081
|
const u = ir(e) ? 0 : a;
|
|
5082
5082
|
let d = sr(l, e, t, u, r);
|
|
5083
|
-
|
|
5083
|
+
const m = l < 0;
|
|
5084
|
+
return m && (d = d.replace("-", "")), r ? /* @__PURE__ */ n.createElement("span", { className: "ui-currency" }, m && "-", o2(e, t, i), d) : (d = o ? d.replace(".00", "") : d, /* @__PURE__ */ n.createElement("span", { className: "ui-currency" }, m && "-", d));
|
|
5084
5085
|
};
|
|
5085
5086
|
_e.propTypes = {
|
|
5086
5087
|
currency: c.string,
|