@dashspec/renderer 0.1.21 → 0.1.22

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/docs/theming.md CHANGED
@@ -30,6 +30,7 @@ interface Theme {
30
30
  | `scale.breakpoints` | `sm`, `md`, `lg`, `xl`, `tv` (px) |
31
31
  | `scale.density` | `"compact"`, `"comfortable"` (default) or `"spacious"`. Scales every `--ds-space-*` (×0.75, ×1, ×1.25, rounded) and sets `--ds-control-height` (30, 36, 42 px) for filters, buttons and inputs; also emitted as `--ds-density`. Your own widgets can read it with `useThemeTokens` |
32
32
  | `scale.chip` | Status chips ("On track", "Target un-defined"): `radius`, `border`, `weight`, `paddingX`, `height`, `fontSize` in px. Leave out for the default look; e.g. `{ "radius": 999, "border": 0, "weight": 700 }` for borderless pills |
33
+ | `scale.control` | Filter controls, menus and buttons: `fontSize` (px, default 13), `stepBackground` (the stepper arrows), `iconSize` (the filter bar icon, px) |
33
34
  | `surface` | `page`, `card`, `sunken`, `overlay`, `selection`, `scrim`, `backdrop?` (page background, may be a gradient), `tableHeader?` |
34
35
  | `text` | `primary`, `secondary`, `subtle`, `disabled`, `onFill` |
35
36
  | `border` | `default`, `control`, `focus` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashspec/renderer",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Draws a dashboard from DashSpec JSON: widgets, data, events, state.",
5
5
  "keywords": [
6
6
  "dashboard",