@canonical/styles 0.38.0 → 0.42.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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/src/grid.css +6 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@canonical/styles",
3
3
  "description": "Canonical Design System global stylesheet. The reset, typography, and design tokens, in named cascade layers.",
4
- "version": "0.38.0",
4
+ "version": "0.42.0",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./src/index.css",
@@ -40,13 +40,13 @@
40
40
  "check:webarchitect": "webarchitect assets"
41
41
  },
42
42
  "devDependencies": {
43
- "@biomejs/biome": "2.5.13",
44
- "@canonical/biome-config": "^0.38.0",
45
- "@canonical/webarchitect": "^0.38.0"
43
+ "@biomejs/biome": "2.5.14",
44
+ "@canonical/biome-config": "^0.42.0",
45
+ "@canonical/webarchitect": "^0.42.0"
46
46
  },
47
47
  "dependencies": {
48
48
  "@canonical/design-tokens": "0.10.0",
49
- "@canonical/styles-typography": "^0.38.0"
49
+ "@canonical/styles-typography": "^0.42.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@canonical/ds-assets": ">=0.18.0"
@@ -56,5 +56,5 @@
56
56
  "optional": true
57
57
  }
58
58
  },
59
- "gitHead": "4d10a68a9b299af6fe3d1d7d053e54ca128944ad"
59
+ "gitHead": "75c2b17029ba899be3fa645be28290ac6fcb83a9"
60
60
  }
package/src/grid.css CHANGED
@@ -3,7 +3,7 @@
3
3
  * ┌─────────────────────────────────────────────────────────────┐
4
4
  * │ Three grid modes │
5
5
  * ├──────────────┬──────────────────────────────────────────────┤
6
- * │ .responsive │ Breakpoint-driven: 4-col / 8-col / 12-col │
6
+ * │ .responsive │ Breakpoint-driven: 4-col / 8-col / 16-col │
7
7
  * │ .intrinsic │ Fluid auto-fill, groups of 4 columns │
8
8
  * │ (bare) │ No preset — bring your own columns │
9
9
  * └──────────────┴──────────────────────────────────────────────┘
@@ -25,7 +25,7 @@
25
25
  * Breakpoints (responsive mode):
26
26
  * < 768px 4 columns (mobile)
27
27
  * 768px – 1279px 8 columns (tablet)
28
- * ≥ 1280px 12 columns (desktop)
28
+ * ≥ 1280px 16 columns (desktop)
29
29
  *
30
30
  * Relationship to spacing architecture:
31
31
  * The grid provides horizontal structure. Vertical spacing between
@@ -36,9 +36,9 @@
36
36
  *
37
37
  * Usage examples:
38
38
  *
39
- * <!-- Responsive 12-column layout -->
39
+ * <!-- Responsive 16-column layout -->
40
40
  * <div class="grid responsive">
41
- * <main style="grid-column: span 8">Content</main>
41
+ * <main style="grid-column: span 12">Content</main>
42
42
  * <aside style="grid-column: span 4">Sidebar</aside>
43
43
  * </div>
44
44
  *
@@ -51,7 +51,7 @@
51
51
  * <!-- Subgrid for aligned form fields -->
52
52
  * <div class="grid responsive">
53
53
  * <form class="subgrid">
54
- * <div class="subgrid" style="grid-column: span 6">
54
+ * <div class="subgrid" style="grid-column: span 8">
55
55
  * <label>Name</label>
56
56
  * <input />
57
57
  * </div>
@@ -112,7 +112,7 @@
112
112
  }
113
113
 
114
114
  @media (min-width: 1280px) {
115
- --modifier-grid-template: repeat(12, 1fr);
115
+ --modifier-grid-template: repeat(16, 1fr);
116
116
  }
117
117
  }
118
118