@dashspec/renderer 0.1.44 → 0.1.45
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 +12 -0
- package/dist/{chunk-HAYQEYMT.js → chunk-YPHHTC36.js} +4 -2
- package/dist/chunk-YPHHTC36.js.map +1 -0
- package/dist/{core-BoII3OIB.d.ts → core-Clqj6_ee.d.ts} +17 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/schema.json +5 -0
- package/docs/json-format.md +1 -0
- package/package.json +1 -1
- package/dist/chunk-HAYQEYMT.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,18 @@ under the new version.
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [0.1.45] - 2026-11-19
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Modals run their `on.open` actions every time they open, however they were opened (a click, a host drawer's rail,
|
|
22
|
+
an action), e.g. to reset what the modal shows.
|
|
23
|
+
- Modals take `gap`: the space between their panels (default the dashboard's grid gap).
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- In the narrow (phone) layout, panels inside modals and drawers take the full width instead of their content's.
|
|
28
|
+
|
|
17
29
|
## [0.1.44] - 2026-11-19
|
|
18
30
|
|
|
19
31
|
### Added
|
|
@@ -1094,6 +1094,8 @@ var Modal = z8.object({
|
|
|
1094
1094
|
/** An expression: while false the modal can't be open, and a host drawer (`ui.Drawer`) isn't drawn (e.g. its rail
|
|
1095
1095
|
* only on one view: "view == 'flow'"). Default always. */
|
|
1096
1096
|
availableWhen: z8.string().optional(),
|
|
1097
|
+
/** Space between the modal's panels, px (default the dashboard's grid gap). */
|
|
1098
|
+
gap: z8.number().int().min(0).max(48).optional(),
|
|
1097
1099
|
datasources: z8.record(Id, Datasource).optional(),
|
|
1098
1100
|
panels: z8.record(Id, Panel),
|
|
1099
1101
|
layout: z8.array(LayoutItem),
|
|
@@ -1471,7 +1473,7 @@ function migrateDocument(input, widgets = []) {
|
|
|
1471
1473
|
import { z as z10 } from "zod";
|
|
1472
1474
|
|
|
1473
1475
|
// src/version.ts
|
|
1474
|
-
var RENDERER_VERSION = "0.1.
|
|
1476
|
+
var RENDERER_VERSION = "0.1.45";
|
|
1475
1477
|
var parse2 = (v) => {
|
|
1476
1478
|
const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
|
|
1477
1479
|
return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
|
|
@@ -3204,4 +3206,4 @@ export {
|
|
|
3204
3206
|
RepeaterContract,
|
|
3205
3207
|
builtInWidgetChecks
|
|
3206
3208
|
};
|
|
3207
|
-
//# sourceMappingURL=chunk-
|
|
3209
|
+
//# sourceMappingURL=chunk-YPHHTC36.js.map
|