@dashspec/renderer 0.1.22 → 0.1.24
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 +21 -1
- package/dist/{chunk-25D6SD77.js → chunk-2MDF5QTY.js} +4 -2
- package/dist/{chunk-25D6SD77.js.map → chunk-2MDF5QTY.js.map} +1 -1
- package/dist/{core-B73s9bWs.d.ts → core-CoD8E3Nf.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 +13 -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,25 @@ under the new version.
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [0.1.24] - 2026-11-19
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `BarChart` / `LineChart` `seriesColors`: a colour per y field or series value. Opt-in; series without one keep
|
|
22
|
+
the theme's order.
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- Charts: a tooltip timer firing after a chart unmounted threw "Cannot read properties of null (reading
|
|
27
|
+
'offsetWidth')". The chart now detaches its handlers at once and disposes after pending timers finish.
|
|
28
|
+
|
|
29
|
+
## [0.1.23] - 2026-11-18
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- A chart hides its tooltip before it is disposed (a panel remounting, a theme change), so ECharts'
|
|
34
|
+
tooltip can't throw "Cannot read properties of null (reading 'offsetWidth')".
|
|
35
|
+
|
|
17
36
|
## [0.1.22] - 2026-11-18
|
|
18
37
|
|
|
19
38
|
### Added
|
|
@@ -318,7 +337,8 @@ First public release.
|
|
|
318
337
|
never reach object prototypes, values inserted into Markdown are escaped, and custom
|
|
319
338
|
code runs in the sandbox by default. See [docs/security.md](docs/security.md).
|
|
320
339
|
|
|
321
|
-
[Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.
|
|
340
|
+
[Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.23...HEAD
|
|
341
|
+
[0.1.23]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.22...v0.1.23
|
|
322
342
|
[0.1.22]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.21...v0.1.22
|
|
323
343
|
[0.1.21]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.20...v0.1.21
|
|
324
344
|
[0.1.20]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.19...v0.1.20
|
|
@@ -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.24";
|
|
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;
|
|
@@ -3184,6 +3184,8 @@ var cartesianProps = {
|
|
|
3184
3184
|
y: Y.optional(),
|
|
3185
3185
|
seriesBy: z28.string().optional(),
|
|
3186
3186
|
labels: z28.record(z28.string()).optional(),
|
|
3187
|
+
/** Colour per y field or series value; the rest keep the theme's series order. */
|
|
3188
|
+
seriesColors: z28.record(z28.string()).optional(),
|
|
3187
3189
|
unit: z28.string().optional(),
|
|
3188
3190
|
format: Format.optional(),
|
|
3189
3191
|
decimals: z28.number().int().min(0).max(6).optional(),
|
|
@@ -3499,4 +3501,4 @@ export {
|
|
|
3499
3501
|
RepeaterContract,
|
|
3500
3502
|
builtInWidgetChecks
|
|
3501
3503
|
};
|
|
3502
|
-
//# sourceMappingURL=chunk-
|
|
3504
|
+
//# sourceMappingURL=chunk-2MDF5QTY.js.map
|