@dashspec/renderer 0.1.17 → 0.1.18
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-GIG2M37B.js → chunk-XCHTOOCX.js} +7 -2
- package/dist/chunk-XCHTOOCX.js.map +1 -0
- package/dist/{core-DeB4JJh7.d.ts → core-b_kik38x.d.ts} +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +36 -6
- package/dist/index.js.map +1 -1
- package/dist/schema.json +21 -0
- package/docs/data.md +1 -0
- package/package.json +1 -1
- package/dist/chunk-GIG2M37B.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,19 @@ under the new version.
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [0.1.18] - 2026-11-18
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Datasource `enabled`: an expression; the source loads only while it is true (e.g. a row's detail
|
|
22
|
+
that needs a picked row). While false nothing is requested and an earlier result is kept.
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- Cards with `fit` no longer flicker: measurements are batched per frame, number animations don't
|
|
27
|
+
trigger them, and a card shrinks only if it is still smaller a moment later.
|
|
28
|
+
- Chart drill-down replay without `clear()` (0.1.17) is kept; tables get a thin scrollbar.
|
|
29
|
+
|
|
17
30
|
## [0.1.17] - 2026-11-18
|
|
18
31
|
|
|
19
32
|
### Fixed
|
|
@@ -277,7 +290,8 @@ First public release.
|
|
|
277
290
|
never reach object prototypes, values inserted into Markdown are escaped, and custom
|
|
278
291
|
code runs in the sandbox by default. See [docs/security.md](docs/security.md).
|
|
279
292
|
|
|
280
|
-
[Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.
|
|
293
|
+
[Unreleased]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.18...HEAD
|
|
294
|
+
[0.1.18]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.17...v0.1.18
|
|
281
295
|
[0.1.17]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.16...v0.1.17
|
|
282
296
|
[0.1.16]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.15...v0.1.16
|
|
283
297
|
[0.1.15]: https://github.com/vaskar-nowpurchase/dashspec-renderer/compare/v0.1.14...v0.1.15
|
|
@@ -1166,6 +1166,11 @@ var TransformStep = dispatch("op", steps, (v) => {
|
|
|
1166
1166
|
var Common = {
|
|
1167
1167
|
description: z4.string().optional(),
|
|
1168
1168
|
load: z4.enum(["onLoad", "lazy", "manual"]).optional(),
|
|
1169
|
+
/**
|
|
1170
|
+
* Load only while this expression is true, e.g. "panels.heats.ui.expanded != null" (a detail that needs a picked
|
|
1171
|
+
* row). While false nothing is requested and an earlier result is kept.
|
|
1172
|
+
*/
|
|
1173
|
+
enabled: Expression.optional(),
|
|
1169
1174
|
refresh: z4.object({
|
|
1170
1175
|
every: Duration.optional(),
|
|
1171
1176
|
whenVisible: z4.boolean().optional(),
|
|
@@ -1830,7 +1835,7 @@ function migrateDocument(input, widgets = []) {
|
|
|
1830
1835
|
import { z as z10 } from "zod";
|
|
1831
1836
|
|
|
1832
1837
|
// src/version.ts
|
|
1833
|
-
var RENDERER_VERSION = "0.1.
|
|
1838
|
+
var RENDERER_VERSION = "0.1.18";
|
|
1834
1839
|
var parse2 = (v) => {
|
|
1835
1840
|
const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
|
|
1836
1841
|
return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
|
|
@@ -3490,4 +3495,4 @@ export {
|
|
|
3490
3495
|
RepeaterContract,
|
|
3491
3496
|
builtInWidgetChecks
|
|
3492
3497
|
};
|
|
3493
|
-
//# sourceMappingURL=chunk-
|
|
3498
|
+
//# sourceMappingURL=chunk-XCHTOOCX.js.map
|