@lightdash/common 0.2399.2 → 0.2400.0

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.
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "tiles": {
53
53
  "type": "array",
54
- "description": "Array of tiles (charts, markdown, loom videos) positioned on the dashboard",
54
+ "description": "Array of tiles (charts, markdown, loom videos) positioned on the dashboard. The dashboard uses a 36-column grid system. For full-width layouts, set w: 36. Common layouts: full-width (w: 36), half-width (w: 18), thirds (w: 12), quarters (w: 9).",
55
55
  "items": {
56
56
  "type": "object",
57
57
  "additionalProperties": false,
@@ -78,23 +78,25 @@
78
78
  },
79
79
  "x": {
80
80
  "type": "number",
81
- "description": "Horizontal position in grid units",
82
- "minimum": 0
81
+ "description": "Horizontal position in grid units (0-35). The dashboard uses a 36-column grid, so x + w should not exceed 36.",
82
+ "minimum": 0,
83
+ "maximum": 35
83
84
  },
84
85
  "y": {
85
86
  "type": "number",
86
- "description": "Vertical position in grid units",
87
+ "description": "Vertical position in grid units (rows are unlimited)",
87
88
  "minimum": 0
88
89
  },
89
90
  "h": {
90
91
  "type": "number",
91
- "description": "Height in grid units",
92
+ "description": "Height in grid units (minimum 1 row)",
92
93
  "minimum": 1
93
94
  },
94
95
  "w": {
95
96
  "type": "number",
96
- "description": "Width in grid units",
97
- "minimum": 1
97
+ "description": "Width in grid units. The dashboard uses a 36-column grid, so use w: 36 for full-width tiles, w: 18 for half-width, w: 12 for one-third width, etc.",
98
+ "minimum": 1,
99
+ "maximum": 36
98
100
  },
99
101
  "tabUuid": {
100
102
  "type": ["string", "null"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.2399.2",
3
+ "version": "0.2400.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",