@oliasoft-open-source/react-ui-library 5.11.6 → 5.11.7-beta-2
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
|
@@ -8570,7 +8570,10 @@ const countDeltas = (e) => (Array.isArray(e) ? e : e ? [e] : []).reduce((e, t) =
|
|
|
8570
8570
|
if (i) return i;
|
|
8571
8571
|
}
|
|
8572
8572
|
return "";
|
|
8573
|
-
}, toText = (e) =>
|
|
8573
|
+
}, toText = (e) => {
|
|
8574
|
+
let t = (e) => isValueWithUnit(e) ? withPrettyUnitLabel(e) : String(e);
|
|
8575
|
+
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);
|
|
8576
|
+
}, defaultMessage = (e) => {
|
|
8574
8577
|
switch (e.length) {
|
|
8575
8578
|
case 1: {
|
|
8576
8579
|
let [t] = e;
|
package/package.json
CHANGED