@dashspec/renderer 0.1.18 → 0.1.19

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,13 @@ under the new version.
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.1.19] - 2026-11-18
18
+
19
+ ### Added
20
+
21
+ - Tiles `items`: fixed tiles instead of data rows (e.g. from fields of one object), whose values can
22
+ be templates.
23
+
17
24
  ## [0.1.18] - 2026-11-18
18
25
 
19
26
  ### Added
@@ -290,7 +297,8 @@ First public release.
290
297
  never reach object prototypes, values inserted into Markdown are escaped, and custom
291
298
  code runs in the sandbox by default. See [docs/security.md](docs/security.md).
292
299
 
293
- [Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.18...HEAD
300
+ [Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.19...HEAD
301
+ [0.1.19]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.18...v0.1.19
294
302
  [0.1.18]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.17...v0.1.18
295
303
  [0.1.17]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.16...v0.1.17
296
304
  [0.1.16]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.15...v0.1.16
@@ -1835,7 +1835,7 @@ function migrateDocument(input, widgets = []) {
1835
1835
  import { z as z10 } from "zod";
1836
1836
 
1837
1837
  // src/version.ts
1838
- var RENDERER_VERSION = "0.1.18";
1838
+ var RENDERER_VERSION = "0.1.19";
1839
1839
  var parse2 = (v) => {
1840
1840
  const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
1841
1841
  return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
@@ -3012,6 +3012,8 @@ var TilesContract = {
3012
3012
  version: 1,
3013
3013
  schema: z26.object({
3014
3014
  ...Common2,
3015
+ /** Fixed tiles instead of data rows: objects whose fields `label`, `value`, `caption`… read; values can be templates. */
3016
+ items: z26.array(z26.record(z26.unknown())).optional(),
3015
3017
  label: z26.string(),
3016
3018
  /** A field, or a template over the tile's `row` (e.g. "${row.value ?? row.passed}"). */
3017
3019
  value: z26.string(),
@@ -3495,4 +3497,4 @@ export {
3495
3497
  RepeaterContract,
3496
3498
  builtInWidgetChecks
3497
3499
  };
3498
- //# sourceMappingURL=chunk-XCHTOOCX.js.map
3500
+ //# sourceMappingURL=chunk-NBE6ESGQ.js.map