@dashspec/renderer 0.1.29 → 0.1.31
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 +24 -0
- package/dist/{chunk-5QEL4G7I.js → chunk-REHDPS7O.js} +8 -3
- package/dist/chunk-REHDPS7O.js.map +1 -0
- package/dist/{core-DXB9suSF.d.ts → core-BVGHr1UI.d.ts} +20 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/index.d.ts +15 -4
- package/dist/index.js +63 -46
- package/dist/index.js.map +1 -1
- package/dist/schema.json +3 -0
- package/docs/json-format.md +1 -0
- package/docs/theming.md +7 -1
- package/package.json +1 -1
- package/dist/chunk-5QEL4G7I.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,30 @@ under the new version.
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [0.1.31] - 2026-11-19
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Theme `scale.control.iconColor` (filter bar icon). Stepper buttons set a 16px font size, so `ui.icons` arrows
|
|
22
|
+
drawn at `1em` get a fitting size; DashSpec's own arrows are unchanged.
|
|
23
|
+
|
|
24
|
+
## [0.1.30] - 2026-11-19
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Grid `exactHeights`: pixel-exact heights for viewers. `fit` panels get exactly their content's height instead of
|
|
29
|
+
whole rows, and every panel keeps `gap` below it. Off by default.
|
|
30
|
+
- `ui.icons`: your own filter bar icon and stepper arrows (`filterBar`, `previous`, `next`); providers merge them.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- A theme's `min-height` on a `fit` panel no longer stops the grid stretching it to its row (cards in one row
|
|
35
|
+
had different heights).
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- Size budget for `index.js` raised from 128 to 130 kB gzip for this release's options.
|
|
40
|
+
|
|
17
41
|
## [0.1.29] - 2026-11-19
|
|
18
42
|
|
|
19
43
|
### Fixed
|
|
@@ -1283,7 +1283,12 @@ var Grid = z5.object({
|
|
|
1283
1283
|
/** 12 or 24 columns; 60 splits evenly into 2, 3, 4, 5 or 6 (a row of 5 KPI cards). */
|
|
1284
1284
|
columns: z5.union([z5.literal(12), z5.literal(24), z5.literal(60)]).default(12),
|
|
1285
1285
|
rowHeight: z5.number().int().min(8).max(200).default(28),
|
|
1286
|
-
gap: z5.number().int().min(0).max(48).default(12)
|
|
1286
|
+
gap: z5.number().int().min(0).max(48).default(12),
|
|
1287
|
+
/**
|
|
1288
|
+
* Pixel-exact heights for viewers: `fit` panels get exactly their content's height (not rounded up to whole
|
|
1289
|
+
* rows), and the gap below every panel stays `gap`. Authored sizes keep their meaning. Off by default.
|
|
1290
|
+
*/
|
|
1291
|
+
exactHeights: z5.boolean().optional()
|
|
1287
1292
|
}).strict();
|
|
1288
1293
|
|
|
1289
1294
|
// src/core/schema/modals.ts
|
|
@@ -1835,7 +1840,7 @@ function migrateDocument(input, widgets = []) {
|
|
|
1835
1840
|
import { z as z10 } from "zod";
|
|
1836
1841
|
|
|
1837
1842
|
// src/version.ts
|
|
1838
|
-
var RENDERER_VERSION = "0.1.
|
|
1843
|
+
var RENDERER_VERSION = "0.1.31";
|
|
1839
1844
|
var parse2 = (v) => {
|
|
1840
1845
|
const m = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:[-+].*)?$/.exec(v.trim());
|
|
1841
1846
|
return m ? [Number(m[1]), Number(m[2] ?? 0), Number(m[3] ?? 0)] : void 0;
|
|
@@ -3511,4 +3516,4 @@ export {
|
|
|
3511
3516
|
RepeaterContract,
|
|
3512
3517
|
builtInWidgetChecks
|
|
3513
3518
|
};
|
|
3514
|
-
//# sourceMappingURL=chunk-
|
|
3519
|
+
//# sourceMappingURL=chunk-REHDPS7O.js.map
|