@carbon/layout 10.28.0 → 10.30.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.
|
|
4
|
+
"version": "10.30.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"clean": "rimraf es lib umd scss/generated scss/modules/generated"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@carbon/cli": "^10.
|
|
32
|
+
"@carbon/cli": "^10.28.0",
|
|
33
33
|
"@carbon/cli-reporter": "^10.5.0",
|
|
34
34
|
"@carbon/scss-generator": "^10.13.0",
|
|
35
|
-
"@carbon/test-utils": "^10.
|
|
36
|
-
"core-js": "^3.
|
|
35
|
+
"@carbon/test-utils": "^10.18.0",
|
|
36
|
+
"core-js": "^3.16.0",
|
|
37
37
|
"rimraf": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"eyeglass": {
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"sassDir": "scss",
|
|
43
43
|
"needs": "^1.3.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "1b4811e1ef0be1d058e63a90242d9d48f0bff445"
|
|
46
46
|
}
|
package/scss/_breakpoint.scss
CHANGED
|
@@ -54,7 +54,7 @@ $carbon--grid-breakpoints: (
|
|
|
54
54
|
) !default;
|
|
55
55
|
|
|
56
56
|
/// Get the value of the next breakpoint, or null for the last breakpoint
|
|
57
|
-
/// @param {String} $name - The name of the
|
|
57
|
+
/// @param {String} $name - The name of the breakpoint
|
|
58
58
|
/// @param {Map} $breakpoints [$carbon--grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
|
|
59
59
|
/// @param {List} $breakpoint-names [map-keys($breakpoints)] - A list of names from the `$breakpoints` map
|
|
60
60
|
/// @return {String}
|
|
@@ -73,7 +73,7 @@ $carbon--grid-breakpoints: (
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/// Get the value of the previous breakpoint, or null for the first breakpoint
|
|
76
|
-
/// @param {String} $name - The name of the
|
|
76
|
+
/// @param {String} $name - The name of the breakpoint
|
|
77
77
|
/// @param {Map} $breakpoints [$carbon--grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
|
|
78
78
|
/// @param {List} $breakpoint-names [map-keys($breakpoints)] - A list of names from the `$breakpoints` map
|
|
79
79
|
/// @return {String}
|
|
@@ -92,7 +92,7 @@ $carbon--grid-breakpoints: (
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/// Check to see if the given breakpoint name
|
|
95
|
-
/// @param {String} $name - The name of the
|
|
95
|
+
/// @param {String} $name - The name of the breakpoint
|
|
96
96
|
/// @param {Map} $breakpoints [$carbon--grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
|
|
97
97
|
/// @return {Bool}
|
|
98
98
|
/// @access public
|
|
@@ -116,7 +116,7 @@ $carbon--grid-breakpoints: (
|
|
|
116
116
|
@return carbon--key-by-index($breakpoints, $total-breakpoints);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
/// Get the infix for a given breakpoint in a list of breakpoints.
|
|
119
|
+
/// Get the infix for a given breakpoint in a list of breakpoints. Useful for generating the size part in a selector, for example: `.prefix--col-sm-2`.
|
|
120
120
|
/// @param {String} $name - The name of the breakpoint
|
|
121
121
|
/// @return {String}
|
|
122
122
|
/// @access public
|
|
@@ -57,7 +57,7 @@ $grid-breakpoints: (
|
|
|
57
57
|
) !default;
|
|
58
58
|
|
|
59
59
|
/// Get the value of the next breakpoint, or null for the last breakpoint
|
|
60
|
-
/// @param {String} $name - The name of the
|
|
60
|
+
/// @param {String} $name - The name of the breakpoint
|
|
61
61
|
/// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
|
|
62
62
|
/// @param {List} $breakpoint-names [map-keys($breakpoints)] - A list of names from the `$breakpoints` map
|
|
63
63
|
/// @return {String}
|
|
@@ -76,7 +76,7 @@ $grid-breakpoints: (
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/// Get the value of the previous breakpoint, or null for the first breakpoint
|
|
79
|
-
/// @param {String} $name - The name of the
|
|
79
|
+
/// @param {String} $name - The name of the breakpoint
|
|
80
80
|
/// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
|
|
81
81
|
/// @param {List} $breakpoint-names [map-keys($breakpoints)] - A list of names from the `$breakpoints` map
|
|
82
82
|
/// @return {String}
|
|
@@ -95,7 +95,7 @@ $grid-breakpoints: (
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/// Check to see if the given breakpoint name
|
|
98
|
-
/// @param {String} $name - The name of the
|
|
98
|
+
/// @param {String} $name - The name of the breakpoint
|
|
99
99
|
/// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
|
|
100
100
|
/// @return {Bool}
|
|
101
101
|
/// @access public
|
|
@@ -114,7 +114,7 @@ $grid-breakpoints: (
|
|
|
114
114
|
@return key-by-index($breakpoints, $total-breakpoints);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
/// Get the infix for a given breakpoint in a list of breakpoints.
|
|
117
|
+
/// Get the infix for a given breakpoint in a list of breakpoints. Useful for generating the size part in a selector, for example: `.prefix--col-sm-2`.
|
|
118
118
|
/// @param {String} $name - The name of the breakpoint
|
|
119
119
|
/// @return {String}
|
|
120
120
|
/// @access public
|