@oliasoft-open-source/react-ui-library 5.13.0-beta-1 → 5.13.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/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8703,7 +8703,10 @@ const countDeltas = (e) => (Array.isArray(e) ? e : e ? [e] : []).reduce((e, t) =
|
|
|
8703
8703
|
if (r) return r;
|
|
8704
8704
|
}
|
|
8705
8705
|
return "";
|
|
8706
|
-
}, toText = (e) =>
|
|
8706
|
+
}, toText = (e) => {
|
|
8707
|
+
let t = (e) => isValueWithUnit(e) ? withPrettyUnitLabel(e) : String(e);
|
|
8708
|
+
return Array.isArray(e) ? e.length === 0 ? "" : e.some((e) => e && typeof e == "object") ? "Multiple changes..." : e.map(t).join(", ") : e && typeof e == "object" ? Object.keys(e).length === 0 ? "" : "Multiple changes..." : t(e);
|
|
8709
|
+
}, defaultMessage = (e) => {
|
|
8707
8710
|
switch (e.length) {
|
|
8708
8711
|
case 1: {
|
|
8709
8712
|
let [t] = e;
|
package/package.json
CHANGED