@gallop.software/studio 0.1.110 → 0.1.111
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/{StudioUI-JE22LQN7.js → StudioUI-SVAL5NR5.js} +2 -2
- package/dist/{StudioUI-JE22LQN7.js.map → StudioUI-SVAL5NR5.js.map} +1 -1
- package/dist/{StudioUI-OFQB3F3W.mjs → StudioUI-XASVLKKZ.mjs} +2 -2
- package/dist/{StudioUI-OFQB3F3W.mjs.map → StudioUI-XASVLKKZ.mjs.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -3455,7 +3455,7 @@ function formatFileSize(bytes) {
|
|
|
3455
3455
|
if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
|
|
3456
3456
|
return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
|
|
3457
3457
|
}
|
|
3458
|
-
function truncateMiddle(str, maxLength =
|
|
3458
|
+
function truncateMiddle(str, maxLength = 36) {
|
|
3459
3459
|
if (str.length <= maxLength) return str;
|
|
3460
3460
|
const lastDot = str.lastIndexOf(".");
|
|
3461
3461
|
const ext = lastDot > 0 ? str.substring(lastDot) : "";
|
|
@@ -5614,4 +5614,4 @@ var StudioUI_default = StudioUI;
|
|
|
5614
5614
|
|
|
5615
5615
|
|
|
5616
5616
|
exports.StudioUI = StudioUI; exports.default = StudioUI_default;
|
|
5617
|
-
//# sourceMappingURL=StudioUI-
|
|
5617
|
+
//# sourceMappingURL=StudioUI-SVAL5NR5.js.map
|