@dashspec/renderer 0.1.6 → 0.1.7
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 +15 -1
- package/dist/{chunk-U4JCC3MX.js → chunk-RJI35HZD.js} +2 -2
- package/dist/{chunk-U4JCC3MX.js.map → chunk-RJI35HZD.js.map} +1 -1
- package/dist/{core-BnA2w3yb.d.ts → core-D93t3WCk.d.ts} +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +22 -3
- package/dist/index.js +199 -168
- package/dist/index.js.map +1 -1
- package/docs/theming.md +22 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,19 @@ under the new version.
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [0.1.7] - 2026-11-18
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Theme `widgets`: per-widget-kind `vars` (CSS variables), `css` (`&` is the panel) and
|
|
22
|
+
`settings` for your own widgets (read with `useThemeTokens()`), scoped to the dashboards using
|
|
23
|
+
the theme. Panels carry `data-kind`. `widgetThemeCss` builds the CSS for non-React hosts.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- The ⓘ tooltip stays inside the dashboard's own area, so a host sidebar or header drawn over the
|
|
28
|
+
page can't cover it.
|
|
29
|
+
|
|
17
30
|
## [0.1.6] - 2026-11-18
|
|
18
31
|
|
|
19
32
|
### Added
|
|
@@ -151,7 +164,8 @@ First public release.
|
|
|
151
164
|
never reach object prototypes, values inserted into Markdown are escaped, and custom
|
|
152
165
|
code runs in the sandbox by default. See [docs/security.md](docs/security.md).
|
|
153
166
|
|
|
154
|
-
[Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.
|
|
167
|
+
[Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.7...HEAD
|
|
168
|
+
[0.1.7]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.6...v0.1.7
|
|
155
169
|
[0.1.6]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.5...v0.1.6
|
|
156
170
|
[0.1.5]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.4...v0.1.5
|
|
157
171
|
[0.1.4]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.3...v0.1.4
|
|
@@ -1808,7 +1808,7 @@ function migrateDocument(input, widgets = []) {
|
|
|
1808
1808
|
import { z as z10 } from "zod";
|
|
1809
1809
|
|
|
1810
1810
|
// src/version.ts
|
|
1811
|
-
var RENDERER_VERSION = "0.1.
|
|
1811
|
+
var RENDERER_VERSION = "0.1.7";
|
|
1812
1812
|
var parse2 = (v) => {
|
|
1813
1813
|
const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
|
|
1814
1814
|
return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
|
|
@@ -3392,4 +3392,4 @@ export {
|
|
|
3392
3392
|
RepeaterContract,
|
|
3393
3393
|
builtInWidgetChecks
|
|
3394
3394
|
};
|
|
3395
|
-
//# sourceMappingURL=chunk-
|
|
3395
|
+
//# sourceMappingURL=chunk-RJI35HZD.js.map
|