@dashspec/renderer 0.1.44 → 0.1.46

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/dist/schema.json CHANGED
@@ -2889,6 +2889,11 @@
2889
2889
  "availableWhen": {
2890
2890
  "type": "string"
2891
2891
  },
2892
+ "gap": {
2893
+ "type": "integer",
2894
+ "minimum": 0,
2895
+ "maximum": 48
2896
+ },
2892
2897
  "datasources": {
2893
2898
  "type": "object",
2894
2899
  "additionalProperties": {
@@ -284,6 +284,7 @@ Pop-ups opened by `openModal` (or by an `open` template turning true), keyed by
284
284
  | `size` | `sm`, `md` (default), `lg`, `xl`, `full` |
285
285
  | `presentation` | `modal` (default) or `drawer` (slides in from the side) |
286
286
  | `defaultArgs` | arguments to open with when it was never opened (a host drawer's rail or handle reopens with them) |
287
+ | `gap` | px between the modal's panels (default the grid gap) |
287
288
  | `availableWhen` | an expression; while false the modal can't be open and a host drawer isn't drawn (e.g. `"filters.page == 'flow'"`) |
288
289
  | `open` | Template; the modal opens when it becomes true, e.g. `"${state.showOrder}"` |
289
290
  | `datasources` | Datasources only this modal uses; they load when it opens |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashspec/renderer",
3
- "version": "0.1.44",
3
+ "version": "0.1.46",
4
4
  "description": "Draws a dashboard from DashSpec JSON: widgets, data, events, state.",
5
5
  "keywords": [
6
6
  "dashboard",