@carbon/layout 10.22.0 → 10.24.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/layout",
3
3
  "description": "Layout helpers for digital and software products using the Carbon Design System",
4
- "version": "10.22.0",
4
+ "version": "10.24.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -29,7 +29,7 @@
29
29
  "clean": "rimraf es lib umd scss/generated scss/modules/generated"
30
30
  },
31
31
  "devDependencies": {
32
- "@carbon/cli": "^10.21.0",
32
+ "@carbon/cli": "^10.23.0",
33
33
  "@carbon/cli-reporter": "^10.4.0",
34
34
  "@carbon/scss-generator": "^10.13.0",
35
35
  "@carbon/test-utils": "^10.15.0",
@@ -42,5 +42,5 @@
42
42
  "sassDir": "scss",
43
43
  "needs": "^1.3.0"
44
44
  },
45
- "gitHead": "8b9c3660aa5b585052b2aa88079a039697ef276f"
45
+ "gitHead": "b00113e8d4cb273a80d9c71f12b741ae6ac360a6"
46
46
  }
@@ -196,8 +196,16 @@ $carbon--grid-breakpoints: (
196
196
  $max: if($is-number-upper, $upper, map-get($breakpoints, $upper));
197
197
 
198
198
  @if $min and $max {
199
- $min-width: if(not $is-number-lower and $min, map-get($min, width), $min);
200
- $max-width: if(not $is-number-upper and $max, map-get($max, width), $max);
199
+ $min-width: if(
200
+ not $is-number-lower and $min,
201
+ map-get($min, width + 0.02),
202
+ $min
203
+ );
204
+ $max-width: if(
205
+ not $is-number-upper and $max,
206
+ map-get($max, width - 0.02),
207
+ $max
208
+ );
201
209
  @media (min-width: $min-width) and (max-width: $max-width) {
202
210
  @content;
203
211
  }