@dashspec/renderer 0.1.23 → 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 CHANGED
@@ -14,6 +14,18 @@ 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
+
17
29
  ## [0.1.23] - 2026-11-18
18
30
 
19
31
  ### Fixed
@@ -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.23";
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-ILYFOW36.js.map
3504
+ //# sourceMappingURL=chunk-2MDF5QTY.js.map