@epam/ai-dial-ui-kit 0.4.0-rc.44 → 0.4.0-rc.45
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/dial-ui-kit.es.js
CHANGED
|
@@ -46334,7 +46334,7 @@ const pA = ({ selectionLabel: e, onClearSelection: t, actions: s }) => {
|
|
|
46334
46334
|
}, Mf = Vn(void 0), SA = (e) => {
|
|
46335
46335
|
if (!e || e <= 0) return "-";
|
|
46336
46336
|
const t = 1024, s = t * 1024;
|
|
46337
|
-
return e >= s ? `${(e / s).toFixed(1)} MB` : e >= t ? `${(e / t).toFixed(0)} KB` : `${e}
|
|
46337
|
+
return e >= s ? `${(e / s).toFixed(1)} MB` : e >= t ? `${(e / t).toFixed(0)} KB` : `${e} bytes`;
|
|
46338
46338
|
}, yA = ({
|
|
46339
46339
|
children: e,
|
|
46340
46340
|
cssClass: t,
|