@comicrelief/component-library 8.42.0 → 8.43.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.
@@ -4,13 +4,22 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = exports.breakpointValues2026 = void 0;
7
+ /**
8
+ * Example Usage
9
+
10
+ Make height: 200px from 1024px onwards:
11
+
12
+ @media ${({ theme }) => theme.breakpoints2026('L')} {
13
+ height: 200px;
14
+ }
15
+
16
+ */
17
+
7
18
  const breakpointValues2026 = exports.breakpointValues2026 = {
8
19
  XS: 0,
9
20
  S: 320,
10
21
  M: 740,
11
22
  L: 1024,
12
- Nav: 1150,
13
- NavWide: 1350,
14
23
  XL: 1440
15
24
  };
16
25
  var _default = size => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@comicrelief/component-library",
3
3
  "author": "Comic Relief Engineering Team",
4
- "version": "8.42.0",
4
+ "version": "8.43.0",
5
5
  "main": "dist/index.js",
6
6
  "license": "ISC",
7
7
  "jest": {
@@ -1,10 +1,19 @@
1
+ /**
2
+ * Example Usage
3
+
4
+ Make height: 200px from 1024px onwards:
5
+
6
+ @media ${({ theme }) => theme.breakpoints2026('L')} {
7
+ height: 200px;
8
+ }
9
+
10
+ */
11
+
1
12
  export const breakpointValues2026 = {
2
13
  XS: 0,
3
14
  S: 320,
4
15
  M: 740,
5
16
  L: 1024,
6
- Nav: 1150,
7
- NavWide: 1350,
8
17
  XL: 1440
9
18
  };
10
19