@dashspec/renderer 0.1.18 → 0.1.20
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 +17 -1
- package/dist/{chunk-XCHTOOCX.js → chunk-RCJ44ZQK.js} +6 -2
- package/dist/{chunk-XCHTOOCX.js.map → chunk-RCJ44ZQK.js.map} +1 -1
- package/dist/{core-b_kik38x.d.ts → core-Df1TEytR.d.ts} +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +22 -3
- package/dist/index.js.map +1 -1
- package/docs/widgets.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,20 @@ under the new version.
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [0.1.20] - 2026-11-18
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- BarChart / LineChart `tooltip: { title, lines }`: your own tooltip text, templates over the
|
|
22
|
+
hovered category's `row`; `**bold**` marks values.
|
|
23
|
+
|
|
24
|
+
## [0.1.19] - 2026-11-18
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Tiles `items`: fixed tiles instead of data rows (e.g. from fields of one object), whose values can
|
|
29
|
+
be templates.
|
|
30
|
+
|
|
17
31
|
## [0.1.18] - 2026-11-18
|
|
18
32
|
|
|
19
33
|
### Added
|
|
@@ -290,7 +304,9 @@ First public release.
|
|
|
290
304
|
never reach object prototypes, values inserted into Markdown are escaped, and custom
|
|
291
305
|
code runs in the sandbox by default. See [docs/security.md](docs/security.md).
|
|
292
306
|
|
|
293
|
-
[Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.
|
|
307
|
+
[Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.20...HEAD
|
|
308
|
+
[0.1.20]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.19...v0.1.20
|
|
309
|
+
[0.1.19]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.18...v0.1.19
|
|
294
310
|
[0.1.18]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.17...v0.1.18
|
|
295
311
|
[0.1.17]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.16...v0.1.17
|
|
296
312
|
[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.
|
|
1838
|
+
var RENDERER_VERSION = "0.1.20";
|
|
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(),
|
|
@@ -3192,6 +3194,8 @@ var cartesianProps = {
|
|
|
3192
3194
|
* The value axis: fixed `min` / `max`, `atLeast` (the top is at least this and grows when a value is higher, so
|
|
3193
3195
|
* every drill level shares one scale), and `step` between ticks.
|
|
3194
3196
|
*/
|
|
3197
|
+
/** Your own tooltip: `title` and `lines`, templates over the hovered category's `row`; `**bold**` marks values. */
|
|
3198
|
+
tooltip: z28.object({ title: z28.string().optional(), lines: z28.array(z28.string()).optional() }).strict().optional(),
|
|
3195
3199
|
valueAxis: z28.object({
|
|
3196
3200
|
min: z28.number().optional(),
|
|
3197
3201
|
max: z28.number().optional(),
|
|
@@ -3495,4 +3499,4 @@ export {
|
|
|
3495
3499
|
RepeaterContract,
|
|
3496
3500
|
builtInWidgetChecks
|
|
3497
3501
|
};
|
|
3498
|
-
//# sourceMappingURL=chunk-
|
|
3502
|
+
//# sourceMappingURL=chunk-RCJ44ZQK.js.map
|