@punica/editor 1.6.11 → 1.6.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punica/editor",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "description": "Punica Editor",
5
5
  "private": false,
6
6
  "type": "module",
@@ -514,6 +514,15 @@ declare module 'punica' {
514
514
  options?: StatusDotOptions
515
515
  ): HTMLElement;
516
516
 
517
+ /**
518
+ * Humanize a byte count: `6602` → `"6.4 KB"`. Null for absent, zero or
519
+ * negative input so a caller drops the chip instead of printing "0 B".
520
+ *
521
+ * Shared because sizes are read across panels: a dataset listed at
522
+ * "6602" in one list and "6.4 KB" in another reads as two sizes.
523
+ */
524
+ function formatBytes(bytes?: number | null): string | null;
525
+
517
526
  /** Build an uppercase section header with a trailing divider rule. */
518
527
  function createGroupHeader(
519
528
  options: GroupHeaderOptions | string