@dashspec/renderer 0.1.23 → 0.1.25

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,25 @@ under the new version.
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.1.25] - 2026-11-19
18
+
19
+ ### Added
20
+
21
+ - `docs/styling-hooks.md`: the CSS classes and panel attributes a theme's `widgets` css can target, now a
22
+ documented contract guarded by `test/css-hooks.test.ts`.
23
+
24
+ ## [0.1.24] - 2026-11-19
25
+
26
+ ### Added
27
+
28
+ - `BarChart` / `LineChart` `seriesColors`: a colour per y field or series value. Opt-in; series without one keep
29
+ the theme's order.
30
+
31
+ ### Fixed
32
+
33
+ - Charts: a tooltip timer firing after a chart unmounted threw "Cannot read properties of null (reading
34
+ 'offsetWidth')". The chart now detaches its handlers at once and disposes after pending timers finish.
35
+
17
36
  ## [0.1.23] - 2026-11-18
18
37
 
19
38
  ### 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.25";
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-CAQDGXIF.js.map