@trebired/frontend 14.11.0 → 14.12.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 14.12.0
4
+
5
+ - The grid utility takes `stack-mobile`, which holds a single column on a small screen whatever else the grid is told. Every other modifier reads as "how many across", with no way to say that one particular row reads better stacked; the rule is declared last so it settles the column count rather than competing with `cols-3` or an `auto-*` minimum.
6
+
3
7
  ## 14.11.0
4
8
 
5
9
  - A hairline panel's columns never grow wider than the panel. `surfaces.hairline.root.min` was used as a hard minimum, so a panel asking for a 30rem column on a 358px phone laid out a 480px track: the cell overflowed, and because the page clips horizontal overflow the text inside was cut off rather than wrapped. The minimum is now capped at the panel's own width.
@@ -67,4 +67,11 @@
67
67
  grid-template-columns: repeat(2, minmax(0, 1fr));
68
68
  }
69
69
  }
70
+
71
+ /* Declared last so it wins the column count from any modifier above it. */
72
+ @media (max-width: 560px) {
73
+ &.stack-mobile {
74
+ grid-template-columns: 1fr;
75
+ }
76
+ }
70
77
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "name": "@trebired/frontend",
11
- "version": "14.11.0",
11
+ "version": "14.12.0",
12
12
  "description": "Generic browser runtime systems for Trebired frontend packages and applications.",
13
13
  "type": "module",
14
14
  "private": false,