@dashspec/renderer 0.1.0 → 0.1.2

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,25 @@ under the new version.
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.1.2] - 2026-11-18
18
+
19
+ ### Fixed
20
+
21
+ - A KPI with no value keeps its card: the title, the target line and its `emptyText` (or "—")
22
+ stay, instead of the panel's generic "No data" replacing the whole card.
23
+
24
+ ### Added
25
+
26
+ - `empty: "widget"` on a widget definition: the widget draws its own empty state.
27
+
28
+ ## [0.1.1] - 2026-11-18
29
+
30
+ ### Fixed
31
+
32
+ - The grid now follows the dashboard's width after mount. A dashboard that was first measured
33
+ narrow (for example while the host page was still laying out) stayed in the one-column phone
34
+ layout at any width.
35
+
17
36
  ## [0.1.0] - 2026-11-18
18
37
 
19
38
  First public release.
@@ -77,5 +96,7 @@ First public release.
77
96
  never reach object prototypes, values inserted into Markdown are escaped, and custom
78
97
  code runs in the sandbox by default. See [docs/security.md](docs/security.md).
79
98
 
80
- [Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.0...HEAD
99
+ [Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.2...HEAD
100
+ [0.1.2]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.1...v0.1.2
101
+ [0.1.1]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.0...v0.1.1
81
102
  [0.1.0]: https://github.com/vaskar-nowpurchase/dashspec-renderer/releases/tag/v0.1.0
@@ -1805,7 +1805,7 @@ function migrateDocument(input, widgets = []) {
1805
1805
  import { z as z10 } from "zod";
1806
1806
 
1807
1807
  // src/version.ts
1808
- var RENDERER_VERSION = "0.1.0";
1808
+ var RENDERER_VERSION = "0.1.2";
1809
1809
  var parse2 = (v) => {
1810
1810
  const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
1811
1811
  return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
@@ -3369,4 +3369,4 @@ export {
3369
3369
  RepeaterContract,
3370
3370
  builtInWidgetChecks
3371
3371
  };
3372
- //# sourceMappingURL=chunk-S4EW5IEA.js.map
3372
+ //# sourceMappingURL=chunk-T4QLZXX4.js.map