gantt-renderer 0.12.2 → 0.12.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.12.4](https://github.com/doberkofler/gantt-renderer/compare/v0.12.3...v0.12.4) (2026-06-02)
2
+
3
+ ## [0.12.3](https://github.com/doberkofler/gantt-renderer/compare/v0.12.2...v0.12.3) (2026-05-31)
4
+
1
5
  ## [0.12.2](https://github.com/doberkofler/gantt-renderer/compare/v0.12.1...v0.12.2) (2026-05-30)
2
6
 
3
7
  ## [0.12.1](https://github.com/doberkofler/gantt-renderer/compare/v0.12.0...v0.12.1) (2026-05-28)
package/dist/index.mjs CHANGED
@@ -1571,14 +1571,14 @@ function visibleColumns(columns) {
1571
1571
  return columns.filter((c) => c.visible !== false);
1572
1572
  }
1573
1573
  const GRID_COLUMN_FR_MIN_WIDTH = 120;
1574
- const PX_RE = /^(\d+(?:\.\d+)?)px$/u;
1575
- const FR_RE = /^(\d+(?:\.\d+)?)fr$/u;
1574
+ const PX_RE = /^(?<value>\d+(?:\.\d+)?)px$/u;
1575
+ const FR_RE = /^(?<value>\d+(?:\.\d+)?)fr$/u;
1576
1576
  function parseColumnMinWidth(width) {
1577
1577
  const trimmed = width.trim();
1578
1578
  const pxMatch = PX_RE.exec(trimmed);
1579
- if (pxMatch) return parseFloat(pxMatch[1] ?? "0");
1579
+ if (pxMatch) return parseFloat(pxMatch.groups?.["value"] ?? "0");
1580
1580
  const frMatch = FR_RE.exec(trimmed);
1581
- if (frMatch) return parseFloat(frMatch[1] ?? "0") * 120;
1581
+ if (frMatch) return parseFloat(frMatch.groups?.["value"] ?? "0") * 120;
1582
1582
  return 0;
1583
1583
  }
1584
1584
  /**