@carbon/layout 10.11.0 → 10.13.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/docs/sass.md +2 -2
- package/package.json +4 -4
- package/scss/_breakpoint.scss +2 -2
package/docs/sass.md
CHANGED
|
@@ -127,7 +127,7 @@ Carbon condensed gutter size in rem
|
|
|
127
127
|
<summary>Source code</summary>
|
|
128
128
|
|
|
129
129
|
```scss
|
|
130
|
-
$carbon--grid-gutter--condensed: carbon--rem(
|
|
130
|
+
$carbon--grid-gutter--condensed: carbon--rem(1px);
|
|
131
131
|
```
|
|
132
132
|
|
|
133
133
|
</details>
|
|
@@ -331,7 +331,7 @@ generate the size part in a selector, for example: `.prefix--col-sm-2`.
|
|
|
331
331
|
|
|
332
332
|
### ✅carbon--breakpoint-up [mixin]
|
|
333
333
|
|
|
334
|
-
Generate a media query
|
|
334
|
+
Generate a media query from the width of the given breakpoint to infinity
|
|
335
335
|
|
|
336
336
|
<details>
|
|
337
337
|
<summary>Source code</summary>
|
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.
|
|
4
|
+
"version": "10.13.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@carbon/bundler": "^10.9.0",
|
|
29
29
|
"@carbon/cli-reporter": "^10.3.0",
|
|
30
|
-
"@carbon/scss-generator": "^10.
|
|
31
|
-
"@carbon/test-utils": "^10.
|
|
30
|
+
"@carbon/scss-generator": "^10.10.0",
|
|
31
|
+
"@carbon/test-utils": "^10.11.0",
|
|
32
32
|
"core-js": "^3.6.5",
|
|
33
33
|
"rimraf": "^3.0.0"
|
|
34
34
|
},
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"sassDir": "scss",
|
|
39
39
|
"needs": "^1.3.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1ddaf4a45fd03d39ca695505d0c764b5879c924b"
|
|
42
42
|
}
|
package/scss/_breakpoint.scss
CHANGED
|
@@ -19,7 +19,7 @@ $carbon--grid-gutter: carbon--rem(32px);
|
|
|
19
19
|
/// @type Number
|
|
20
20
|
/// @access public
|
|
21
21
|
/// @group @carbon/layout
|
|
22
|
-
$carbon--grid-gutter--condensed: carbon--rem(
|
|
22
|
+
$carbon--grid-gutter--condensed: carbon--rem(1px);
|
|
23
23
|
|
|
24
24
|
// Initial map of our breakpoints and their values
|
|
25
25
|
/// @type Map
|
|
@@ -125,7 +125,7 @@ $carbon--grid-breakpoints: (
|
|
|
125
125
|
@return '-#{$name}';
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
/// Generate a media query
|
|
128
|
+
/// Generate a media query from the width of the given breakpoint to infinity
|
|
129
129
|
/// @param {String | Number} $name
|
|
130
130
|
/// @param {Map} $breakpoints [$carbon--grid-breakpoints] - A map of breakpoints where the key is the name
|
|
131
131
|
/// @content
|