@tensor_1/tokens 2.44.0 → 2.44.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tensor_1/tokens",
|
|
3
|
-
"version": "2.44.
|
|
3
|
+
"version": "2.44.1",
|
|
4
4
|
"description": "UIx v2 design tokens — the --uix-* contract for house products (Tensor, POSx, SHOPx). One DTCG source -> CSS variables, Tailwind theme, and typed TS constants.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -85,14 +85,15 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* ── Narrow: one column in reading order ───────────────────────────────────── */
|
|
88
|
+
/* A container query styles the container's descendants, never the container itself, so the
|
|
89
|
+
canvas keeps its fixed rows here: each item spans as many of them as it has on the wide
|
|
90
|
+
canvas, which makes it exactly as tall as there, gaps included, and the next item starts
|
|
91
|
+
below it. */
|
|
88
92
|
@container uix-dashboard-canvas (max-width: 35.99rem) {
|
|
89
|
-
.uix-dashboard-canvas { grid-auto-rows: auto; }
|
|
90
93
|
.uix-dashboard-canvas__item {
|
|
91
94
|
grid-column: 1 / -1;
|
|
92
|
-
grid-row: auto;
|
|
95
|
+
grid-row: auto / span var(--uix-dashboard-canvas-h, 1);
|
|
93
96
|
order: var(--uix-dashboard-canvas-order, 0);
|
|
94
|
-
/* As tall as its rows on the wide canvas, gaps included. */
|
|
95
|
-
min-block-size: calc(var(--uix-dashboard-canvas-h, 1) * var(--uix-dashboard-canvas-row) + (var(--uix-dashboard-canvas-h, 1) - 1) * var(--dashboard-canvas-gap));
|
|
96
97
|
}
|
|
97
98
|
.uix-dashboard-canvas__handle,
|
|
98
99
|
.uix-dashboard-canvas__preview { display: none; }
|