@dashspec/renderer 0.1.29 → 0.1.30

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
@@ -14,6 +14,23 @@ under the new version.
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.1.30] - 2026-11-19
18
+
19
+ ### Added
20
+
21
+ - Grid `exactHeights`: pixel-exact heights for viewers. `fit` panels get exactly their content's height instead of
22
+ whole rows, and every panel keeps `gap` below it. Off by default.
23
+ - `ui.icons`: your own filter bar icon and stepper arrows (`filterBar`, `previous`, `next`); providers merge them.
24
+
25
+ ### Fixed
26
+
27
+ - A theme's `min-height` on a `fit` panel no longer stops the grid stretching it to its row (cards in one row
28
+ had different heights).
29
+
30
+ ### Changed
31
+
32
+ - Size budget for `index.js` raised from 128 to 130 kB gzip for this release's options.
33
+
17
34
  ## [0.1.29] - 2026-11-19
18
35
 
19
36
  ### Fixed
@@ -1283,7 +1283,12 @@ var Grid = z5.object({
1283
1283
  /** 12 or 24 columns; 60 splits evenly into 2, 3, 4, 5 or 6 (a row of 5 KPI cards). */
1284
1284
  columns: z5.union([z5.literal(12), z5.literal(24), z5.literal(60)]).default(12),
1285
1285
  rowHeight: z5.number().int().min(8).max(200).default(28),
1286
- gap: z5.number().int().min(0).max(48).default(12)
1286
+ gap: z5.number().int().min(0).max(48).default(12),
1287
+ /**
1288
+ * Pixel-exact heights for viewers: `fit` panels get exactly their content's height (not rounded up to whole
1289
+ * rows), and the gap below every panel stays `gap`. Authored sizes keep their meaning. Off by default.
1290
+ */
1291
+ exactHeights: z5.boolean().optional()
1287
1292
  }).strict();
1288
1293
 
1289
1294
  // src/core/schema/modals.ts
@@ -1835,7 +1840,7 @@ function migrateDocument(input, widgets = []) {
1835
1840
  import { z as z10 } from "zod";
1836
1841
 
1837
1842
  // src/version.ts
1838
- var RENDERER_VERSION = "0.1.29";
1843
+ var RENDERER_VERSION = "0.1.30";
1839
1844
  var parse2 = (v) => {
1840
1845
  const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
1841
1846
  return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
@@ -3511,4 +3516,4 @@ export {
3511
3516
  RepeaterContract,
3512
3517
  builtInWidgetChecks
3513
3518
  };
3514
- //# sourceMappingURL=chunk-5QEL4G7I.js.map
3519
+ //# sourceMappingURL=chunk-76OGTPVF.js.map