@dashspec/renderer 0.1.19 → 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 +9 -1
- package/dist/{chunk-NBE6ESGQ.js → chunk-RCJ44ZQK.js} +4 -2
- package/dist/{chunk-NBE6ESGQ.js.map → chunk-RCJ44ZQK.js.map} +1 -1
- package/dist/{core-NP-sUss7.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 +21 -2
- package/dist/index.js.map +1 -1
- package/docs/widgets.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,13 @@ 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
|
+
|
|
17
24
|
## [0.1.19] - 2026-11-18
|
|
18
25
|
|
|
19
26
|
### Added
|
|
@@ -297,7 +304,8 @@ First public release.
|
|
|
297
304
|
never reach object prototypes, values inserted into Markdown are escaped, and custom
|
|
298
305
|
code runs in the sandbox by default. See [docs/security.md](docs/security.md).
|
|
299
306
|
|
|
300
|
-
[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
|
|
301
309
|
[0.1.19]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.18...v0.1.19
|
|
302
310
|
[0.1.18]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.17...v0.1.18
|
|
303
311
|
[0.1.17]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.16...v0.1.17
|
|
@@ -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;
|
|
@@ -3194,6 +3194,8 @@ var cartesianProps = {
|
|
|
3194
3194
|
* The value axis: fixed `min` / `max`, `atLeast` (the top is at least this and grows when a value is higher, so
|
|
3195
3195
|
* every drill level shares one scale), and `step` between ticks.
|
|
3196
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(),
|
|
3197
3199
|
valueAxis: z28.object({
|
|
3198
3200
|
min: z28.number().optional(),
|
|
3199
3201
|
max: z28.number().optional(),
|
|
@@ -3497,4 +3499,4 @@ export {
|
|
|
3497
3499
|
RepeaterContract,
|
|
3498
3500
|
builtInWidgetChecks
|
|
3499
3501
|
};
|
|
3500
|
-
//# sourceMappingURL=chunk-
|
|
3502
|
+
//# sourceMappingURL=chunk-RCJ44ZQK.js.map
|