@carbon/layout 10.37.1 → 11.0.0-rc.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/es/index.js CHANGED
@@ -6,9 +6,7 @@
6
6
  */
7
7
  var unstable_tokens = [// Spacing
8
8
  'spacing01', 'spacing02', 'spacing03', 'spacing04', 'spacing05', 'spacing06', 'spacing07', 'spacing08', 'spacing09', 'spacing10', 'spacing11', 'spacing12', 'spacing13', // Fluid spacing
9
- 'fluidSpacing01', 'fluidSpacing02', 'fluidSpacing03', 'fluidSpacing04', // Layout
10
- // Deprecated -- Remove in v11
11
- 'layout01', 'layout02', 'layout03', 'layout04', 'layout05', 'layout06', 'layout07', // Containers
9
+ 'fluidSpacing01', 'fluidSpacing02', 'fluidSpacing03', 'fluidSpacing04', // Containers
12
10
  'container01', 'container02', 'container03', 'container04', 'container05', 'sizeXSmall', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'sizeXLarge', 'size2XLarge', // Icon sizes
13
11
  'iconSize01', 'iconSize02'];
14
12
 
@@ -111,17 +109,7 @@ var fluidSpacing01 = 0;
111
109
  var fluidSpacing02 = '2vw';
112
110
  var fluidSpacing03 = '5vw';
113
111
  var fluidSpacing04 = '10vw';
114
- var fluidSpacing = [fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04]; // Layout
115
- // Deprecated -- Remove in v11
116
-
117
- var layout01 = miniUnits(2);
118
- var layout02 = miniUnits(3);
119
- var layout03 = miniUnits(4);
120
- var layout04 = miniUnits(6);
121
- var layout05 = miniUnits(8);
122
- var layout06 = miniUnits(12);
123
- var layout07 = miniUnits(20);
124
- var layout = [layout01, layout02, layout03, layout04, layout05, layout06, layout07]; // Container
112
+ var fluidSpacing = [fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04]; // Container
125
113
 
126
114
  var container01 = miniUnits(3);
127
115
  var container02 = miniUnits(4);
@@ -148,4 +136,4 @@ var iconSize01 = '1rem';
148
136
  var iconSize02 = '1.25rem';
149
137
  var iconSize = [iconSize01, iconSize02];
150
138
 
151
- export { baseFontSize, breakpoint, breakpointDown, breakpointUp, breakpoints, container, container01, container02, container03, container04, container05, em, fluidSpacing, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, iconSize, iconSize01, iconSize02, layout, layout01, layout02, layout03, layout04, layout05, layout06, layout07, miniUnit, miniUnits, px, rem, size2XLarge, sizeLarge, sizeMedium, sizeSmall, sizeXLarge, sizeXSmall, sizes, spacing, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13, unstable_tokens };
139
+ export { baseFontSize, breakpoint, breakpointDown, breakpointUp, breakpoints, container, container01, container02, container03, container04, container05, em, fluidSpacing, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, iconSize, iconSize01, iconSize02, miniUnit, miniUnits, px, rem, size2XLarge, sizeLarge, sizeMedium, sizeSmall, sizeXLarge, sizeXSmall, sizes, spacing, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13, unstable_tokens };
package/index.scss CHANGED
@@ -5,5 +5,8 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- @forward 'scss/modules/convert';
9
- @forward 'scss/modules/spacing';
8
+ @forward 'scss/convert';
9
+ @forward 'scss/spacing';
10
+ @forward 'scss/generated/container';
11
+ @forward 'scss/generated/icon-size';
12
+ @forward 'scss/generated/size';
package/lib/index.js CHANGED
@@ -10,9 +10,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
  */
11
11
  var unstable_tokens = [// Spacing
12
12
  'spacing01', 'spacing02', 'spacing03', 'spacing04', 'spacing05', 'spacing06', 'spacing07', 'spacing08', 'spacing09', 'spacing10', 'spacing11', 'spacing12', 'spacing13', // Fluid spacing
13
- 'fluidSpacing01', 'fluidSpacing02', 'fluidSpacing03', 'fluidSpacing04', // Layout
14
- // Deprecated -- Remove in v11
15
- 'layout01', 'layout02', 'layout03', 'layout04', 'layout05', 'layout06', 'layout07', // Containers
13
+ 'fluidSpacing01', 'fluidSpacing02', 'fluidSpacing03', 'fluidSpacing04', // Containers
16
14
  'container01', 'container02', 'container03', 'container04', 'container05', 'sizeXSmall', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'sizeXLarge', 'size2XLarge', // Icon sizes
17
15
  'iconSize01', 'iconSize02'];
18
16
 
@@ -115,17 +113,7 @@ var fluidSpacing01 = 0;
115
113
  var fluidSpacing02 = '2vw';
116
114
  var fluidSpacing03 = '5vw';
117
115
  var fluidSpacing04 = '10vw';
118
- var fluidSpacing = [fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04]; // Layout
119
- // Deprecated -- Remove in v11
120
-
121
- var layout01 = miniUnits(2);
122
- var layout02 = miniUnits(3);
123
- var layout03 = miniUnits(4);
124
- var layout04 = miniUnits(6);
125
- var layout05 = miniUnits(8);
126
- var layout06 = miniUnits(12);
127
- var layout07 = miniUnits(20);
128
- var layout = [layout01, layout02, layout03, layout04, layout05, layout06, layout07]; // Container
116
+ var fluidSpacing = [fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04]; // Container
129
117
 
130
118
  var container01 = miniUnits(3);
131
119
  var container02 = miniUnits(4);
@@ -172,14 +160,6 @@ exports.fluidSpacing04 = fluidSpacing04;
172
160
  exports.iconSize = iconSize;
173
161
  exports.iconSize01 = iconSize01;
174
162
  exports.iconSize02 = iconSize02;
175
- exports.layout = layout;
176
- exports.layout01 = layout01;
177
- exports.layout02 = layout02;
178
- exports.layout03 = layout03;
179
- exports.layout04 = layout04;
180
- exports.layout05 = layout05;
181
- exports.layout06 = layout06;
182
- exports.layout07 = layout07;
183
163
  exports.miniUnit = miniUnit;
184
164
  exports.miniUnits = miniUnits;
185
165
  exports.px = px;
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.37.1",
4
+ "version": "11.0.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -12,7 +12,6 @@
12
12
  },
13
13
  "bugs": "https://github.com/carbon-design-system/carbon/issues",
14
14
  "keywords": [
15
- "eyeglass-module",
16
15
  "ibm",
17
16
  "elements",
18
17
  "carbon",
@@ -26,21 +25,15 @@
26
25
  },
27
26
  "scripts": {
28
27
  "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonLayout && node tasks/build.js",
29
- "clean": "rimraf es lib umd scss/generated scss/modules/generated"
28
+ "clean": "rimraf es lib umd scss/generated"
30
29
  },
31
30
  "devDependencies": {
32
- "@carbon/cli": "^10.34.0",
31
+ "@carbon/cli": "^11.0.0-rc.0",
33
32
  "@carbon/cli-reporter": "^10.5.0",
34
33
  "@carbon/scss-generator": "^10.13.0",
35
- "@carbon/test-utils": "^10.21.1",
34
+ "@carbon/test-utils": "^10.22.0-rc.0",
36
35
  "core-js": "^3.16.0",
37
36
  "rimraf": "^3.0.0"
38
37
  },
39
- "eyeglass": {
40
- "exports": false,
41
- "name": "@carbon/layout",
42
- "sassDir": "scss",
43
- "needs": "^1.3.0"
44
- },
45
- "gitHead": "9b11eecab91c41ae4ffda711c5e1f631f2fb33db"
38
+ "gitHead": "e4894776a4996c10bfc8f9a724532a25966aa622"
46
39
  }
@@ -35,8 +35,7 @@ $carbon--base-font-size: 16px !default;
35
35
  /// @group @carbon/layout
36
36
  @function carbon--rem($px) {
37
37
  @if unit($px) != 'px' {
38
- // TODO: update to @error in v11
39
- @warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
38
+ @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
40
39
  }
41
40
 
42
41
  @if meta.function-exists('div', 'math') {
@@ -53,8 +52,7 @@ $carbon--base-font-size: 16px !default;
53
52
  /// @group @carbon/layout
54
53
  @function carbon--em($px) {
55
54
  @if unit($px) != 'px' {
56
- // TODO: update to @error in v11
57
- @warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
55
+ @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
58
56
  }
59
57
 
60
58
  @if meta.function-exists('div', 'math') {
@@ -4,39 +4,31 @@
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
- //-------------------------------------------
8
- // Compatibility notes
9
- // ------------------------------------------
10
- //
11
- // This file is intended to be consumed and processed with node-sass/libsass.
12
- // Sass language features only available in dart-sass, such as `math.div`,
13
- // should not be used.
14
- //
15
- // The `.import` suffixed version of this file eg. `_filename.import.scss`
16
- // is intended to be compatible with dart-sass.
17
- //
18
- // Styles authored within this file must be duplicated to the corresponding
19
- // compatibility file to ensure we continue to support node-sass and dart-sass
20
- // in v10.
7
+
8
+ @use 'sass:meta';
9
+ @use 'sass:math';
21
10
 
22
11
  /// Default font size
23
12
  /// @type Number
24
13
  /// @access public
25
14
  /// @group @carbon/layout
26
- $carbon--base-font-size: 16px !default;
15
+ $base-font-size: 16px !default;
27
16
 
28
17
  /// Convert a given px unit to a rem unit
29
18
  /// @param {Number} $px - Number with px unit
30
19
  /// @return {Number} Number with rem unit
31
20
  /// @access public
32
21
  /// @group @carbon/layout
33
- @function carbon--rem($px) {
22
+ @function rem($px) {
34
23
  @if unit($px) != 'px' {
35
- // TODO: update to @error in v11
36
- @warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
24
+ @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
37
25
  }
38
26
 
39
- @return ($px / $carbon--base-font-size) * 1rem;
27
+ @if meta.function-exists('div', 'math') {
28
+ @return math.div($px, $base-font-size) * 1rem;
29
+ } @else {
30
+ @return ($px / $base-font-size) * 1rem;
31
+ }
40
32
  }
41
33
 
42
34
  /// Convert a given px unit to a em unit
@@ -44,11 +36,14 @@ $carbon--base-font-size: 16px !default;
44
36
  /// @return {Number} Number with em unit
45
37
  /// @access public
46
38
  /// @group @carbon/layout
47
- @function carbon--em($px) {
39
+ @function em($px) {
48
40
  @if unit($px) != 'px' {
49
- // TODO: update to @error in v11
50
- @warn "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
41
+ @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
51
42
  }
52
43
 
53
- @return ($px / $carbon--base-font-size) * 1em;
44
+ @if meta.function-exists('div', 'math') {
45
+ @return math.div($px, $base-font-size) * 1em;
46
+ } @else {
47
+ @return ($px / $base-font-size) * 1em;
48
+ }
54
49
  }
@@ -5,8 +5,5 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- @import './generated/spacing';
9
- @import './generated/layout';
10
- @import './generated/fluid-spacing';
11
- @import './generated/container';
12
- @import './generated/icon-size';
8
+ @forward './generated/fluid-spacing';
9
+ @forward './generated/spacing';
@@ -14,7 +14,7 @@
14
14
  /// @group @carbon/layout
15
15
  @function map-deep-get($map, $keys...) {
16
16
  @each $key in $keys {
17
- $map: map-get($map, $key);
17
+ $map: map.get($map, $key);
18
18
  }
19
19
  @return $map;
20
20
  }
@@ -25,8 +25,8 @@
25
25
  /// @param {Integer} $index - Key chain
26
26
  /// @return {String} Desired value
27
27
  /// @group @carbon/layout
28
- @function carbon--key-by-index($map, $index) {
29
- $keys: map-keys($map);
28
+ @function key-by-index($map, $index) {
29
+ $keys: map.keys($map);
30
30
  @return nth($keys, $index);
31
31
  }
32
32
 
@@ -36,6 +36,6 @@
36
36
  /// @return {*} Desired value
37
37
  /// @group @carbon/layout
38
38
  @function last-map-item($map) {
39
- $total-length: length($map);
39
+ $total-length: list.length($map);
40
40
  @return map-get($map, carbon--key-by-index($map, $total-length));
41
41
  }
@@ -1,6 +1,6 @@
1
1
  // Code generated by @carbon/layout. DO NOT EDIT.
2
2
  //
3
- // Copyright IBM Corp. 2018, 2019
3
+ // Copyright IBM Corp. 2018, 2021
4
4
  //
5
5
  // This source code is licensed under the Apache-2.0 license found in the
6
6
  // LICENSE file in the root directory of this source tree.
@@ -9,65 +9,35 @@
9
9
  /// @type Number
10
10
  /// @access public
11
11
  /// @group @carbon/layout
12
- $carbon--container-01: 1.5rem !default;
12
+ $container-01: 1.5rem !default;
13
13
 
14
14
  /// @type Number
15
15
  /// @access public
16
16
  /// @group @carbon/layout
17
- $carbon--container-02: 2rem !default;
17
+ $container-02: 2rem !default;
18
18
 
19
19
  /// @type Number
20
20
  /// @access public
21
21
  /// @group @carbon/layout
22
- $carbon--container-03: 2.5rem !default;
22
+ $container-03: 2.5rem !default;
23
23
 
24
24
  /// @type Number
25
25
  /// @access public
26
26
  /// @group @carbon/layout
27
- $carbon--container-04: 3rem !default;
27
+ $container-04: 3rem !default;
28
28
 
29
29
  /// @type Number
30
30
  /// @access public
31
31
  /// @group @carbon/layout
32
- $carbon--container-05: 4rem !default;
32
+ $container-05: 4rem !default;
33
33
 
34
- /// @type List
34
+ /// @type Map
35
35
  /// @access public
36
36
  /// @group @carbon/layout
37
- $carbon--container: (
38
- $carbon--container-01,
39
- $carbon--container-02,
40
- $carbon--container-03,
41
- $carbon--container-04,
42
- $carbon--container-05
37
+ $container: (
38
+ container-01: $container-01,
39
+ container-02: $container-02,
40
+ container-03: $container-03,
41
+ container-04: $container-04,
42
+ container-05: $container-05,
43
43
  );
44
-
45
- /// @type Number
46
- /// @access public
47
- /// @group @carbon/layout
48
- /// @alias carbon--container-01
49
- $container-01: $carbon--container-01 !default;
50
-
51
- /// @type Number
52
- /// @access public
53
- /// @group @carbon/layout
54
- /// @alias carbon--container-02
55
- $container-02: $carbon--container-02 !default;
56
-
57
- /// @type Number
58
- /// @access public
59
- /// @group @carbon/layout
60
- /// @alias carbon--container-03
61
- $container-03: $carbon--container-03 !default;
62
-
63
- /// @type Number
64
- /// @access public
65
- /// @group @carbon/layout
66
- /// @alias carbon--container-04
67
- $container-04: $carbon--container-04 !default;
68
-
69
- /// @type Number
70
- /// @access public
71
- /// @group @carbon/layout
72
- /// @alias carbon--container-05
73
- $container-05: $carbon--container-05 !default;
@@ -1,6 +1,6 @@
1
1
  // Code generated by @carbon/layout. DO NOT EDIT.
2
2
  //
3
- // Copyright IBM Corp. 2018, 2019
3
+ // Copyright IBM Corp. 2018, 2021
4
4
  //
5
5
  // This source code is licensed under the Apache-2.0 license found in the
6
6
  // LICENSE file in the root directory of this source tree.
@@ -9,53 +9,29 @@
9
9
  /// @type Number
10
10
  /// @access public
11
11
  /// @group @carbon/layout
12
- $carbon--fluid-spacing-01: 0 !default;
12
+ $fluid-spacing-01: 0 !default;
13
13
 
14
14
  /// @type Number
15
15
  /// @access public
16
16
  /// @group @carbon/layout
17
- $carbon--fluid-spacing-02: 2vw !default;
17
+ $fluid-spacing-02: 2vw !default;
18
18
 
19
19
  /// @type Number
20
20
  /// @access public
21
21
  /// @group @carbon/layout
22
- $carbon--fluid-spacing-03: 5vw !default;
22
+ $fluid-spacing-03: 5vw !default;
23
23
 
24
24
  /// @type Number
25
25
  /// @access public
26
26
  /// @group @carbon/layout
27
- $carbon--fluid-spacing-04: 10vw !default;
27
+ $fluid-spacing-04: 10vw !default;
28
28
 
29
- /// @type List
29
+ /// @type Map
30
30
  /// @access public
31
31
  /// @group @carbon/layout
32
- $carbon--fluid-spacing: (
33
- $carbon--fluid-spacing-01,
34
- $carbon--fluid-spacing-02,
35
- $carbon--fluid-spacing-03,
36
- $carbon--fluid-spacing-04
32
+ $fluid-spacing: (
33
+ fluid-spacing-01: $fluid-spacing-01,
34
+ fluid-spacing-02: $fluid-spacing-02,
35
+ fluid-spacing-03: $fluid-spacing-03,
36
+ fluid-spacing-04: $fluid-spacing-04,
37
37
  );
38
-
39
- /// @type Number
40
- /// @access public
41
- /// @group @carbon/layout
42
- /// @alias carbon--fluid-spacing-01
43
- $fluid-spacing-01: $carbon--fluid-spacing-01 !default;
44
-
45
- /// @type Number
46
- /// @access public
47
- /// @group @carbon/layout
48
- /// @alias carbon--fluid-spacing-02
49
- $fluid-spacing-02: $carbon--fluid-spacing-02 !default;
50
-
51
- /// @type Number
52
- /// @access public
53
- /// @group @carbon/layout
54
- /// @alias carbon--fluid-spacing-03
55
- $fluid-spacing-03: $carbon--fluid-spacing-03 !default;
56
-
57
- /// @type Number
58
- /// @access public
59
- /// @group @carbon/layout
60
- /// @alias carbon--fluid-spacing-04
61
- $fluid-spacing-04: $carbon--fluid-spacing-04 !default;
@@ -1,6 +1,6 @@
1
1
  // Code generated by @carbon/layout. DO NOT EDIT.
2
2
  //
3
- // Copyright IBM Corp. 2018, 2019
3
+ // Copyright IBM Corp. 2018, 2021
4
4
  //
5
5
  // This source code is licensed under the Apache-2.0 license found in the
6
6
  // LICENSE file in the root directory of this source tree.
@@ -9,26 +9,17 @@
9
9
  /// @type Number
10
10
  /// @access public
11
11
  /// @group @carbon/layout
12
- $carbon--icon-size-01: 1rem !default;
12
+ $icon-size-01: 1rem !default;
13
13
 
14
14
  /// @type Number
15
15
  /// @access public
16
16
  /// @group @carbon/layout
17
- $carbon--icon-size-02: 1.25rem !default;
17
+ $icon-size-02: 1.25rem !default;
18
18
 
19
- /// @type List
19
+ /// @type Map
20
20
  /// @access public
21
21
  /// @group @carbon/layout
22
- $carbon--icon-size: ($carbon--icon-size-01, $carbon--icon-size-02);
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- /// @alias carbon--icon-size-01
28
- $icon-size-01: $carbon--icon-size-01 !default;
29
-
30
- /// @type Number
31
- /// @access public
32
- /// @group @carbon/layout
33
- /// @alias carbon--icon-size-02
34
- $icon-size-02: $carbon--icon-size-02 !default;
22
+ $icon-size: (
23
+ icon-size-01: $icon-size-01,
24
+ icon-size-02: $icon-size-02,
25
+ );
@@ -1,6 +1,6 @@
1
1
  // Code generated by @carbon/layout. DO NOT EDIT.
2
2
  //
3
- // Copyright IBM Corp. 2018, 2019
3
+ // Copyright IBM Corp. 2018, 2021
4
4
  //
5
5
  // This source code is licensed under the Apache-2.0 license found in the
6
6
  // LICENSE file in the root directory of this source tree.
@@ -1,6 +1,6 @@
1
1
  // Code generated by @carbon/layout. DO NOT EDIT.
2
2
  //
3
- // Copyright IBM Corp. 2018, 2019
3
+ // Copyright IBM Corp. 2018, 2021
4
4
  //
5
5
  // This source code is licensed under the Apache-2.0 license found in the
6
6
  // LICENSE file in the root directory of this source tree.
@@ -9,161 +9,83 @@
9
9
  /// @type Number
10
10
  /// @access public
11
11
  /// @group @carbon/layout
12
- $carbon--spacing-01: 0.125rem !default;
12
+ $spacing-01: 0.125rem !default;
13
13
 
14
14
  /// @type Number
15
15
  /// @access public
16
16
  /// @group @carbon/layout
17
- $carbon--spacing-02: 0.25rem !default;
17
+ $spacing-02: 0.25rem !default;
18
18
 
19
19
  /// @type Number
20
20
  /// @access public
21
21
  /// @group @carbon/layout
22
- $carbon--spacing-03: 0.5rem !default;
22
+ $spacing-03: 0.5rem !default;
23
23
 
24
24
  /// @type Number
25
25
  /// @access public
26
26
  /// @group @carbon/layout
27
- $carbon--spacing-04: 0.75rem !default;
27
+ $spacing-04: 0.75rem !default;
28
28
 
29
29
  /// @type Number
30
30
  /// @access public
31
31
  /// @group @carbon/layout
32
- $carbon--spacing-05: 1rem !default;
32
+ $spacing-05: 1rem !default;
33
33
 
34
34
  /// @type Number
35
35
  /// @access public
36
36
  /// @group @carbon/layout
37
- $carbon--spacing-06: 1.5rem !default;
37
+ $spacing-06: 1.5rem !default;
38
38
 
39
39
  /// @type Number
40
40
  /// @access public
41
41
  /// @group @carbon/layout
42
- $carbon--spacing-07: 2rem !default;
42
+ $spacing-07: 2rem !default;
43
43
 
44
44
  /// @type Number
45
45
  /// @access public
46
46
  /// @group @carbon/layout
47
- $carbon--spacing-08: 2.5rem !default;
47
+ $spacing-08: 2.5rem !default;
48
48
 
49
49
  /// @type Number
50
50
  /// @access public
51
51
  /// @group @carbon/layout
52
- $carbon--spacing-09: 3rem !default;
52
+ $spacing-09: 3rem !default;
53
53
 
54
54
  /// @type Number
55
55
  /// @access public
56
56
  /// @group @carbon/layout
57
- $carbon--spacing-10: 4rem !default;
57
+ $spacing-10: 4rem !default;
58
58
 
59
59
  /// @type Number
60
60
  /// @access public
61
61
  /// @group @carbon/layout
62
- $carbon--spacing-11: 5rem !default;
62
+ $spacing-11: 5rem !default;
63
63
 
64
64
  /// @type Number
65
65
  /// @access public
66
66
  /// @group @carbon/layout
67
- $carbon--spacing-12: 6rem !default;
67
+ $spacing-12: 6rem !default;
68
68
 
69
69
  /// @type Number
70
70
  /// @access public
71
71
  /// @group @carbon/layout
72
- $carbon--spacing-13: 10rem !default;
72
+ $spacing-13: 10rem !default;
73
73
 
74
- /// @type List
74
+ /// @type Map
75
75
  /// @access public
76
76
  /// @group @carbon/layout
77
- $carbon--spacing: (
78
- $carbon--spacing-01,
79
- $carbon--spacing-02,
80
- $carbon--spacing-03,
81
- $carbon--spacing-04,
82
- $carbon--spacing-05,
83
- $carbon--spacing-06,
84
- $carbon--spacing-07,
85
- $carbon--spacing-08,
86
- $carbon--spacing-09,
87
- $carbon--spacing-10,
88
- $carbon--spacing-11,
89
- $carbon--spacing-12,
90
- $carbon--spacing-13
77
+ $spacing: (
78
+ spacing-01: $spacing-01,
79
+ spacing-02: $spacing-02,
80
+ spacing-03: $spacing-03,
81
+ spacing-04: $spacing-04,
82
+ spacing-05: $spacing-05,
83
+ spacing-06: $spacing-06,
84
+ spacing-07: $spacing-07,
85
+ spacing-08: $spacing-08,
86
+ spacing-09: $spacing-09,
87
+ spacing-10: $spacing-10,
88
+ spacing-11: $spacing-11,
89
+ spacing-12: $spacing-12,
90
+ spacing-13: $spacing-13,
91
91
  );
92
-
93
- /// @type Number
94
- /// @access public
95
- /// @group @carbon/layout
96
- /// @alias carbon--spacing-01
97
- $spacing-01: $carbon--spacing-01 !default;
98
-
99
- /// @type Number
100
- /// @access public
101
- /// @group @carbon/layout
102
- /// @alias carbon--spacing-02
103
- $spacing-02: $carbon--spacing-02 !default;
104
-
105
- /// @type Number
106
- /// @access public
107
- /// @group @carbon/layout
108
- /// @alias carbon--spacing-03
109
- $spacing-03: $carbon--spacing-03 !default;
110
-
111
- /// @type Number
112
- /// @access public
113
- /// @group @carbon/layout
114
- /// @alias carbon--spacing-04
115
- $spacing-04: $carbon--spacing-04 !default;
116
-
117
- /// @type Number
118
- /// @access public
119
- /// @group @carbon/layout
120
- /// @alias carbon--spacing-05
121
- $spacing-05: $carbon--spacing-05 !default;
122
-
123
- /// @type Number
124
- /// @access public
125
- /// @group @carbon/layout
126
- /// @alias carbon--spacing-06
127
- $spacing-06: $carbon--spacing-06 !default;
128
-
129
- /// @type Number
130
- /// @access public
131
- /// @group @carbon/layout
132
- /// @alias carbon--spacing-07
133
- $spacing-07: $carbon--spacing-07 !default;
134
-
135
- /// @type Number
136
- /// @access public
137
- /// @group @carbon/layout
138
- /// @alias carbon--spacing-08
139
- $spacing-08: $carbon--spacing-08 !default;
140
-
141
- /// @type Number
142
- /// @access public
143
- /// @group @carbon/layout
144
- /// @alias carbon--spacing-09
145
- $spacing-09: $carbon--spacing-09 !default;
146
-
147
- /// @type Number
148
- /// @access public
149
- /// @group @carbon/layout
150
- /// @alias carbon--spacing-10
151
- $spacing-10: $carbon--spacing-10 !default;
152
-
153
- /// @type Number
154
- /// @access public
155
- /// @group @carbon/layout
156
- /// @alias carbon--spacing-11
157
- $spacing-11: $carbon--spacing-11 !default;
158
-
159
- /// @type Number
160
- /// @access public
161
- /// @group @carbon/layout
162
- /// @alias carbon--spacing-12
163
- $spacing-12: $carbon--spacing-12 !default;
164
-
165
- /// @type Number
166
- /// @access public
167
- /// @group @carbon/layout
168
- /// @alias carbon--spacing-13
169
- $spacing-13: $carbon--spacing-13 !default;