@dashspec/renderer 0.1.39 → 0.1.40
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 +14 -0
- package/dist/{chunk-UL6VRMFZ.js → chunk-UK4FBI4D.js} +2 -2
- package/dist/{chunk-UL6VRMFZ.js.map → chunk-UK4FBI4D.js.map} +1 -1
- package/dist/{core-B6Up94OI.d.ts → core-CrM2CTkH.d.ts} +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +28 -13
- package/dist/index.js +36 -28
- package/dist/index.js.map +1 -1
- package/docs/theming.md +26 -0
- 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.40] - 2026-11-19
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `colorMode` on `DashSpecProvider` / `DashboardRenderer`: the host decides light, dark or auto; it wins over the
|
|
22
|
+
document's and the theme's mode.
|
|
23
|
+
- Light and dark values: any `scale.parts` colour can be `{ light, dark }`; `theme.widgets[…].dark` adds vars and css
|
|
24
|
+
for dark mode only.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Charts: the average line uses the theme's text colour (not a fixed grey) and the hover shade is neutral, so both
|
|
29
|
+
read well in dark mode.
|
|
30
|
+
|
|
17
31
|
## [0.1.39] - 2026-11-19
|
|
18
32
|
|
|
19
33
|
### Added
|
|
@@ -1842,7 +1842,7 @@ function migrateDocument(input, widgets = []) {
|
|
|
1842
1842
|
import { z as z10 } from "zod";
|
|
1843
1843
|
|
|
1844
1844
|
// src/version.ts
|
|
1845
|
-
var RENDERER_VERSION = "0.1.
|
|
1845
|
+
var RENDERER_VERSION = "0.1.40";
|
|
1846
1846
|
var parse2 = (v) => {
|
|
1847
1847
|
const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
|
|
1848
1848
|
return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
|
|
@@ -3524,4 +3524,4 @@ export {
|
|
|
3524
3524
|
RepeaterContract,
|
|
3525
3525
|
builtInWidgetChecks
|
|
3526
3526
|
};
|
|
3527
|
-
//# sourceMappingURL=chunk-
|
|
3527
|
+
//# sourceMappingURL=chunk-UK4FBI4D.js.map
|