@dashspec/renderer 0.1.5 → 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 +25 -1
- package/dist/{chunk-7J6WHLG6.js → chunk-RJI35HZD.js} +2 -2
- package/dist/{chunk-7J6WHLG6.js.map → chunk-RJI35HZD.js.map} +1 -1
- package/dist/{core-B5SCwhPB.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 +58 -3
- package/dist/index.js +243 -169
- package/dist/index.js.map +1 -1
- package/docs/design-systems.md +37 -0
- package/docs/theming.md +22 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,28 @@ 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
|
+
|
|
30
|
+
## [0.1.6] - 2026-11-18
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- `ui.FilterBar`: register your own whole filter bar (any layout and design) on the provider, a
|
|
35
|
+
design system or the renderer. It gets the shown filters with their definitions, their values,
|
|
36
|
+
`setFilter`, `reset`, `isDefault`, the views with `setView`, and `renderControl(name)` to reuse
|
|
37
|
+
DashSpec's control for one filter. New types `UIFilterBarProps`, `UIFilterDef`.
|
|
38
|
+
|
|
17
39
|
## [0.1.5] - 2026-11-18
|
|
18
40
|
|
|
19
41
|
### Added
|
|
@@ -142,7 +164,9 @@ First public release.
|
|
|
142
164
|
never reach object prototypes, values inserted into Markdown are escaped, and custom
|
|
143
165
|
code runs in the sandbox by default. See [docs/security.md](docs/security.md).
|
|
144
166
|
|
|
145
|
-
[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
|
|
169
|
+
[0.1.6]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.5...v0.1.6
|
|
146
170
|
[0.1.5]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.4...v0.1.5
|
|
147
171
|
[0.1.4]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.3...v0.1.4
|
|
148
172
|
[0.1.3]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.2...v0.1.3
|
|
@@ -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
|