@carbon/elements 10.55.0 → 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.
Files changed (165) hide show
  1. package/package.json +12 -13
  2. package/src/__tests__/__snapshots__/PublicAPI-test.js.snap +44 -130
  3. package/scss/colors/colors.scss +0 -12
  4. package/scss/colors/index.scss +0 -12
  5. package/scss/colors/mixins.scss +0 -1456
  6. package/scss/elements.scss +0 -17
  7. package/scss/grid/12.scss +0 -41
  8. package/scss/grid/_inlined/12.scss +0 -41
  9. package/scss/grid/_inlined/_mixins.import.scss +0 -431
  10. package/scss/grid/_inlined/_mixins.scss +0 -415
  11. package/scss/grid/_inlined/_prefix.scss +0 -12
  12. package/scss/grid/_mixins.import.scss +0 -431
  13. package/scss/grid/_mixins.scss +0 -415
  14. package/scss/grid/_prefix.scss +0 -12
  15. package/scss/grid/grid.scss +0 -10
  16. package/scss/grid/index.scss +0 -10
  17. package/scss/grid/modules/_breakpoint.scss +0 -198
  18. package/scss/grid/modules/_config.scss +0 -94
  19. package/scss/grid/modules/_css-grid.scss +0 -470
  20. package/scss/grid/modules/_flex-grid.scss +0 -363
  21. package/scss/grid/modules/_mixins.scss +0 -336
  22. package/scss/grid/vendor/@carbon/import-once/import-once.scss +0 -27
  23. package/scss/grid/vendor/@carbon/import-once/index.scss +0 -8
  24. package/scss/grid/vendor/@carbon/layout/_breakpoint.scss +0 -246
  25. package/scss/grid/vendor/@carbon/layout/_convert.import.scss +0 -65
  26. package/scss/grid/vendor/@carbon/layout/_convert.scss +0 -54
  27. package/scss/grid/vendor/@carbon/layout/_key-height.import.scss +0 -117
  28. package/scss/grid/vendor/@carbon/layout/_key-height.scss +0 -111
  29. package/scss/grid/vendor/@carbon/layout/_mini-unit.scss +0 -23
  30. package/scss/grid/vendor/@carbon/layout/_spacing.scss +0 -12
  31. package/scss/grid/vendor/@carbon/layout/_utilities.scss +0 -41
  32. package/scss/grid/vendor/@carbon/layout/generated/_container.scss +0 -73
  33. package/scss/grid/vendor/@carbon/layout/generated/_fluid-spacing.scss +0 -61
  34. package/scss/grid/vendor/@carbon/layout/generated/_icon-size.scss +0 -34
  35. package/scss/grid/vendor/@carbon/layout/generated/_layout.scss +0 -97
  36. package/scss/grid/vendor/@carbon/layout/generated/_size.scss +0 -17
  37. package/scss/grid/vendor/@carbon/layout/generated/_spacing.scss +0 -169
  38. package/scss/grid/vendor/@carbon/layout/index.scss +0 -8
  39. package/scss/grid/vendor/@carbon/layout/layout.scss +0 -12
  40. package/scss/grid/vendor/@carbon/layout/modules/_convert.scss +0 -51
  41. package/scss/grid/vendor/@carbon/layout/modules/_spacing.scss +0 -9
  42. package/scss/grid/vendor/@carbon/layout/modules/_utilities.scss +0 -41
  43. package/scss/grid/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +0 -37
  44. package/scss/grid/vendor/@carbon/layout/modules/generated/_spacing.scss +0 -91
  45. package/scss/icons/icons.scss +0 -10
  46. package/scss/icons/index.scss +0 -8
  47. package/scss/icons/mixins.scss +0 -18
  48. package/scss/import-once/import-once.scss +0 -27
  49. package/scss/import-once/index.scss +0 -8
  50. package/scss/index.scss +0 -15
  51. package/scss/layout/_breakpoint.scss +0 -246
  52. package/scss/layout/_convert.import.scss +0 -65
  53. package/scss/layout/_convert.scss +0 -54
  54. package/scss/layout/_key-height.import.scss +0 -117
  55. package/scss/layout/_key-height.scss +0 -111
  56. package/scss/layout/_mini-unit.scss +0 -23
  57. package/scss/layout/_spacing.scss +0 -12
  58. package/scss/layout/_utilities.scss +0 -41
  59. package/scss/layout/generated/_container.scss +0 -73
  60. package/scss/layout/generated/_fluid-spacing.scss +0 -61
  61. package/scss/layout/generated/_icon-size.scss +0 -34
  62. package/scss/layout/generated/_layout.scss +0 -97
  63. package/scss/layout/generated/_size.scss +0 -17
  64. package/scss/layout/generated/_spacing.scss +0 -169
  65. package/scss/layout/index.scss +0 -8
  66. package/scss/layout/layout.scss +0 -12
  67. package/scss/layout/modules/_convert.scss +0 -51
  68. package/scss/layout/modules/_spacing.scss +0 -9
  69. package/scss/layout/modules/_utilities.scss +0 -41
  70. package/scss/layout/modules/generated/_fluid-spacing.scss +0 -37
  71. package/scss/layout/modules/generated/_spacing.scss +0 -91
  72. package/scss/motion/index.scss +0 -8
  73. package/scss/motion/motion.scss +0 -78
  74. package/scss/themes/_mixins.scss +0 -39
  75. package/scss/themes/_theme-maps.scss +0 -9
  76. package/scss/themes/_tokens.scss +0 -8
  77. package/scss/themes/compat/_themes.scss +0 -8
  78. package/scss/themes/compat/_tokens.scss +0 -8
  79. package/scss/themes/compat/generated/_themes.scss +0 -271
  80. package/scss/themes/compat/generated/_tokens.scss +0 -206
  81. package/scss/themes/generated/_mixins.scss +0 -3622
  82. package/scss/themes/generated/_themes.scss +0 -2955
  83. package/scss/themes/generated/_tokens.scss +0 -3179
  84. package/scss/themes/index.scss +0 -8
  85. package/scss/themes/modules/_config.scss +0 -11
  86. package/scss/themes/modules/_theme.scss +0 -120
  87. package/scss/themes/modules/_themes.scss +0 -8
  88. package/scss/themes/modules/_tokens.scss +0 -8
  89. package/scss/themes/modules/_utilities.scss +0 -18
  90. package/scss/themes/modules/generated/_themes.scss +0 -432
  91. package/scss/themes/modules/generated/_tokens.scss +0 -308
  92. package/scss/themes/themes.scss +0 -10
  93. package/scss/type/_classes.scss +0 -41
  94. package/scss/type/_font-family.scss +0 -70
  95. package/scss/type/_inlined/_classes.scss +0 -41
  96. package/scss/type/_inlined/_font-family.scss +0 -70
  97. package/scss/type/_inlined/_prefix.scss +0 -11
  98. package/scss/type/_inlined/_reset.scss +0 -90
  99. package/scss/type/_inlined/_scale.scss +0 -59
  100. package/scss/type/_inlined/_styles.import.scss +0 -766
  101. package/scss/type/_inlined/_styles.scss +0 -924
  102. package/scss/type/_inlined/font-face/_mono.scss +0 -1166
  103. package/scss/type/_inlined/font-face/_sans-condensed.scss +0 -1009
  104. package/scss/type/_inlined/font-face/_sans.scss +0 -1326
  105. package/scss/type/_inlined/font-face/_serif.scss +0 -1166
  106. package/scss/type/_inlined/font-face/_settings.scss +0 -12
  107. package/scss/type/_prefix.scss +0 -11
  108. package/scss/type/_reset.scss +0 -90
  109. package/scss/type/_scale.scss +0 -59
  110. package/scss/type/_styles.import.scss +0 -766
  111. package/scss/type/_styles.scss +0 -924
  112. package/scss/type/font-face/_mono.scss +0 -1166
  113. package/scss/type/font-face/_sans-condensed.scss +0 -1009
  114. package/scss/type/font-face/_sans.scss +0 -1326
  115. package/scss/type/font-face/_serif.scss +0 -1166
  116. package/scss/type/font-face/_settings.scss +0 -12
  117. package/scss/type/index.scss +0 -8
  118. package/scss/type/modules/_classes.scss +0 -42
  119. package/scss/type/modules/_default-type.scss +0 -55
  120. package/scss/type/modules/_font-family.scss +0 -104
  121. package/scss/type/modules/_prefix.scss +0 -11
  122. package/scss/type/modules/_reset.scss +0 -44
  123. package/scss/type/modules/_scale.scss +0 -57
  124. package/scss/type/modules/_styles.scss +0 -876
  125. package/scss/type/type.scss +0 -8
  126. package/scss/type/vendor/@carbon/grid/12.scss +0 -41
  127. package/scss/type/vendor/@carbon/grid/_inlined/12.scss +0 -41
  128. package/scss/type/vendor/@carbon/grid/_inlined/_mixins.import.scss +0 -431
  129. package/scss/type/vendor/@carbon/grid/_inlined/_mixins.scss +0 -415
  130. package/scss/type/vendor/@carbon/grid/_inlined/_prefix.scss +0 -12
  131. package/scss/type/vendor/@carbon/grid/_mixins.import.scss +0 -431
  132. package/scss/type/vendor/@carbon/grid/_mixins.scss +0 -415
  133. package/scss/type/vendor/@carbon/grid/_prefix.scss +0 -12
  134. package/scss/type/vendor/@carbon/grid/grid.scss +0 -10
  135. package/scss/type/vendor/@carbon/grid/index.scss +0 -10
  136. package/scss/type/vendor/@carbon/grid/modules/_breakpoint.scss +0 -198
  137. package/scss/type/vendor/@carbon/grid/modules/_config.scss +0 -94
  138. package/scss/type/vendor/@carbon/grid/modules/_css-grid.scss +0 -470
  139. package/scss/type/vendor/@carbon/grid/modules/_flex-grid.scss +0 -363
  140. package/scss/type/vendor/@carbon/grid/modules/_mixins.scss +0 -336
  141. package/scss/type/vendor/@carbon/grid/vendor/@carbon/import-once/import-once.scss +0 -27
  142. package/scss/type/vendor/@carbon/grid/vendor/@carbon/import-once/index.scss +0 -8
  143. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_breakpoint.scss +0 -246
  144. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_convert.import.scss +0 -65
  145. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_convert.scss +0 -54
  146. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_key-height.import.scss +0 -117
  147. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_key-height.scss +0 -111
  148. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_mini-unit.scss +0 -23
  149. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_spacing.scss +0 -12
  150. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/_utilities.scss +0 -41
  151. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_container.scss +0 -73
  152. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_fluid-spacing.scss +0 -61
  153. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_icon-size.scss +0 -34
  154. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_layout.scss +0 -97
  155. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_size.scss +0 -17
  156. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/generated/_spacing.scss +0 -169
  157. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/index.scss +0 -8
  158. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/layout.scss +0 -12
  159. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/_convert.scss +0 -51
  160. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/_spacing.scss +0 -9
  161. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/_utilities.scss +0 -41
  162. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +0 -37
  163. package/scss/type/vendor/@carbon/grid/vendor/@carbon/layout/modules/generated/_spacing.scss +0 -91
  164. package/scss/type/vendor/@carbon/import-once/import-once.scss +0 -27
  165. package/scss/type/vendor/@carbon/import-once/index.scss +0 -8
@@ -1,111 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2018, 2018
3
- //
4
- // This source code is licensed under the Apache-2.0 license found in the
5
- // LICENSE file in the root directory of this source tree.
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.
21
-
22
- @import 'breakpoint';
23
- @import 'utilities';
24
-
25
- /// Get the column width for a given breakpoint
26
- /// @param {String} $breakpoint
27
- /// @param {Map} $breakpoints [$carbon--grid-breakpoints]
28
- /// @return {Number} In rem
29
- /// @access public
30
- /// @group @carbon/layout
31
- @function carbon--get-column-width(
32
- $breakpoint,
33
- $breakpoints: $carbon--grid-breakpoints
34
- ) {
35
- @if map-has-key($breakpoints, $breakpoint) {
36
- $values: map-get($breakpoints, $breakpoint);
37
- $width: map-get($values, width);
38
- $margin: map-get($values, margin);
39
- $columns: map-get($values, columns);
40
-
41
- @return ($width - (2 * $margin)) / $columns;
42
- } @else {
43
- @warn 'Breakpoint: `#{$breakpoint}` is not a valid breakpoint.';
44
- }
45
- }
46
-
47
- /// @type Map
48
- /// @access public
49
- /// @group @carbon/layout
50
- $carbon--key-height-scales: (
51
- sm: (
52
- carbon--get-column-width(sm),
53
- carbon--get-column-width(sm) * 2,
54
- carbon--get-column-width(sm) * 3,
55
- carbon--get-column-width(sm) * 4,
56
- carbon--get-column-width(sm) * 5,
57
- carbon--get-column-width(sm) * 6,
58
- ),
59
- md: (
60
- carbon--get-column-width(md),
61
- carbon--get-column-width(md) * 2,
62
- carbon--get-column-width(md) * 3,
63
- carbon--get-column-width(md) * 4,
64
- carbon--get-column-width(md) * 5,
65
- carbon--get-column-width(md) * 6,
66
- ),
67
- lg: (
68
- carbon--get-column-width(lg),
69
- carbon--get-column-width(lg) * 2,
70
- carbon--get-column-width(lg) * 3,
71
- carbon--get-column-width(lg) * 4,
72
- carbon--get-column-width(lg) * 5,
73
- carbon--get-column-width(lg) * 6,
74
- carbon--get-column-width(lg) * 7,
75
- carbon--get-column-width(lg) * 8,
76
- ),
77
- xlg: (
78
- carbon--get-column-width(xlg),
79
- carbon--get-column-width(xlg) * 2,
80
- carbon--get-column-width(xlg) * 3,
81
- carbon--get-column-width(xlg) * 4,
82
- carbon--get-column-width(xlg) * 5,
83
- carbon--get-column-width(xlg) * 6,
84
- carbon--get-column-width(xlg) * 7,
85
- carbon--get-column-width(xlg) * 8,
86
- ),
87
- max: (
88
- carbon--get-column-width(max),
89
- carbon--get-column-width(max) * 2,
90
- carbon--get-column-width(max) * 3,
91
- carbon--get-column-width(max) * 4,
92
- carbon--get-column-width(max) * 5,
93
- carbon--get-column-width(max) * 6,
94
- carbon--get-column-width(max) * 7,
95
- carbon--get-column-width(max) * 8,
96
- ),
97
- );
98
-
99
- /// Get the value of a key height step at a given breakpoint
100
- /// @param {String} $breakpoint
101
- /// @param {Number} $step
102
- /// @return {Number} In rem
103
- /// @access public
104
- /// @group @carbon/layout
105
- @function carbon--key-height($breakpoint, $step) {
106
- @if map-has-key($carbon--key-height-scales, $breakpoint) {
107
- @return nth(map-get($carbon--key-height-scales, $breakpoint), $step);
108
- } @else {
109
- @warn 'Breakpoint: `#{$breakpoint}` is not a valid breakpoint.';
110
- }
111
- }
@@ -1,23 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2018, 2018
3
- //
4
- // This source code is licensed under the Apache-2.0 license found in the
5
- // LICENSE file in the root directory of this source tree.
6
- //
7
-
8
- @import 'convert';
9
-
10
- /// Default mini-unit value
11
- /// @type Number
12
- /// @access public
13
- /// @group @carbon/layout
14
- $carbon--mini-unit-size: 8px !default;
15
-
16
- /// Get the value of the corresponding number of units
17
- /// @param {Number} $count - The number of units to get the value for
18
- /// @return {Number} In rem units
19
- /// @access public
20
- /// @group @carbon/layout
21
- @function carbon--mini-units($count) {
22
- @return carbon--rem($carbon--mini-unit-size * $count);
23
- }
@@ -1,12 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2018, 2018
3
- //
4
- // This source code is licensed under the Apache-2.0 license found in the
5
- // LICENSE file in the root directory of this source tree.
6
- //
7
-
8
- @import './generated/spacing';
9
- @import './generated/layout';
10
- @import './generated/fluid-spacing';
11
- @import './generated/container';
12
- @import './generated/icon-size';
@@ -1,41 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2018, 2018
3
- //
4
- // This source code is licensed under the Apache-2.0 license found in the
5
- // LICENSE file in the root directory of this source tree.
6
- //
7
-
8
- /// Map deep get
9
- /// @author Hugo Giraudel
10
- /// @access public
11
- /// @param {Map} $map - Map
12
- /// @param {Arglist} $keys - Key chain
13
- /// @return {*} Desired value
14
- /// @group @carbon/layout
15
- @function map-deep-get($map, $keys...) {
16
- @each $key in $keys {
17
- $map: map-get($map, $key);
18
- }
19
- @return $map;
20
- }
21
-
22
- /// Provide a map and index, and get back the relevant key value
23
- /// @access public
24
- /// @param {Map} $map - Map
25
- /// @param {Integer} $index - Key chain
26
- /// @return {String} Desired value
27
- /// @group @carbon/layout
28
- @function carbon--key-by-index($map, $index) {
29
- $keys: map-keys($map);
30
- @return nth($keys, $index);
31
- }
32
-
33
- /// Pass in a map, and get the last one in the list back
34
- /// @access public
35
- /// @param {Map} $map - Map
36
- /// @return {*} Desired value
37
- /// @group @carbon/layout
38
- @function last-map-item($map) {
39
- $total-length: length($map);
40
- @return map-get($map, carbon--key-by-index($map, $total-length));
41
- }
@@ -1,73 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2019
4
- //
5
- // This source code is licensed under the Apache-2.0 license found in the
6
- // LICENSE file in the root directory of this source tree.
7
- //
8
-
9
- /// @type Number
10
- /// @access public
11
- /// @group @carbon/layout
12
- $carbon--container-01: 1.5rem !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $carbon--container-02: 2rem !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $carbon--container-03: 2.5rem !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $carbon--container-04: 3rem !default;
28
-
29
- /// @type Number
30
- /// @access public
31
- /// @group @carbon/layout
32
- $carbon--container-05: 4rem !default;
33
-
34
- /// @type List
35
- /// @access public
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
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,61 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2019
4
- //
5
- // This source code is licensed under the Apache-2.0 license found in the
6
- // LICENSE file in the root directory of this source tree.
7
- //
8
-
9
- /// @type Number
10
- /// @access public
11
- /// @group @carbon/layout
12
- $carbon--fluid-spacing-01: 0 !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $carbon--fluid-spacing-02: 2vw !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $carbon--fluid-spacing-03: 5vw !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $carbon--fluid-spacing-04: 10vw !default;
28
-
29
- /// @type List
30
- /// @access public
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
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,34 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2019
4
- //
5
- // This source code is licensed under the Apache-2.0 license found in the
6
- // LICENSE file in the root directory of this source tree.
7
- //
8
-
9
- /// @type Number
10
- /// @access public
11
- /// @group @carbon/layout
12
- $carbon--icon-size-01: 1rem !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $carbon--icon-size-02: 1.25rem !default;
18
-
19
- /// @type List
20
- /// @access public
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;
@@ -1,97 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2019
4
- //
5
- // This source code is licensed under the Apache-2.0 license found in the
6
- // LICENSE file in the root directory of this source tree.
7
- //
8
-
9
- /// @type Number
10
- /// @access public
11
- /// @group @carbon/layout
12
- $carbon--layout-01: 1rem !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $carbon--layout-02: 1.5rem !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $carbon--layout-03: 2rem !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $carbon--layout-04: 3rem !default;
28
-
29
- /// @type Number
30
- /// @access public
31
- /// @group @carbon/layout
32
- $carbon--layout-05: 4rem !default;
33
-
34
- /// @type Number
35
- /// @access public
36
- /// @group @carbon/layout
37
- $carbon--layout-06: 6rem !default;
38
-
39
- /// @type Number
40
- /// @access public
41
- /// @group @carbon/layout
42
- $carbon--layout-07: 10rem !default;
43
-
44
- /// @type List
45
- /// @access public
46
- /// @group @carbon/layout
47
- $carbon--layout: (
48
- $carbon--layout-01,
49
- $carbon--layout-02,
50
- $carbon--layout-03,
51
- $carbon--layout-04,
52
- $carbon--layout-05,
53
- $carbon--layout-06,
54
- $carbon--layout-07
55
- );
56
-
57
- /// @type Number
58
- /// @access public
59
- /// @group @carbon/layout
60
- /// @alias carbon--layout-01
61
- $layout-01: $carbon--layout-01 !default;
62
-
63
- /// @type Number
64
- /// @access public
65
- /// @group @carbon/layout
66
- /// @alias carbon--layout-02
67
- $layout-02: $carbon--layout-02 !default;
68
-
69
- /// @type Number
70
- /// @access public
71
- /// @group @carbon/layout
72
- /// @alias carbon--layout-03
73
- $layout-03: $carbon--layout-03 !default;
74
-
75
- /// @type Number
76
- /// @access public
77
- /// @group @carbon/layout
78
- /// @alias carbon--layout-04
79
- $layout-04: $carbon--layout-04 !default;
80
-
81
- /// @type Number
82
- /// @access public
83
- /// @group @carbon/layout
84
- /// @alias carbon--layout-05
85
- $layout-05: $carbon--layout-05 !default;
86
-
87
- /// @type Number
88
- /// @access public
89
- /// @group @carbon/layout
90
- /// @alias carbon--layout-06
91
- $layout-06: $carbon--layout-06 !default;
92
-
93
- /// @type Number
94
- /// @access public
95
- /// @group @carbon/layout
96
- /// @alias carbon--layout-07
97
- $layout-07: $carbon--layout-07 !default;
@@ -1,17 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2019
4
- //
5
- // This source code is licensed under the Apache-2.0 license found in the
6
- // LICENSE file in the root directory of this source tree.
7
- //
8
-
9
- /// @type Number
10
- /// @access public
11
- /// @group @carbon/layout
12
- $size-xs: 1.5rem;
13
- $size-sm: 2rem;
14
- $size-md: 2.5rem;
15
- $size-lg: 3rem;
16
- $size-xl: 4rem;
17
- $size-2xl: 5rem;
@@ -1,169 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2019
4
- //
5
- // This source code is licensed under the Apache-2.0 license found in the
6
- // LICENSE file in the root directory of this source tree.
7
- //
8
-
9
- /// @type Number
10
- /// @access public
11
- /// @group @carbon/layout
12
- $carbon--spacing-01: 0.125rem !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $carbon--spacing-02: 0.25rem !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $carbon--spacing-03: 0.5rem !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $carbon--spacing-04: 0.75rem !default;
28
-
29
- /// @type Number
30
- /// @access public
31
- /// @group @carbon/layout
32
- $carbon--spacing-05: 1rem !default;
33
-
34
- /// @type Number
35
- /// @access public
36
- /// @group @carbon/layout
37
- $carbon--spacing-06: 1.5rem !default;
38
-
39
- /// @type Number
40
- /// @access public
41
- /// @group @carbon/layout
42
- $carbon--spacing-07: 2rem !default;
43
-
44
- /// @type Number
45
- /// @access public
46
- /// @group @carbon/layout
47
- $carbon--spacing-08: 2.5rem !default;
48
-
49
- /// @type Number
50
- /// @access public
51
- /// @group @carbon/layout
52
- $carbon--spacing-09: 3rem !default;
53
-
54
- /// @type Number
55
- /// @access public
56
- /// @group @carbon/layout
57
- $carbon--spacing-10: 4rem !default;
58
-
59
- /// @type Number
60
- /// @access public
61
- /// @group @carbon/layout
62
- $carbon--spacing-11: 5rem !default;
63
-
64
- /// @type Number
65
- /// @access public
66
- /// @group @carbon/layout
67
- $carbon--spacing-12: 6rem !default;
68
-
69
- /// @type Number
70
- /// @access public
71
- /// @group @carbon/layout
72
- $carbon--spacing-13: 10rem !default;
73
-
74
- /// @type List
75
- /// @access public
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
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;
@@ -1,8 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2018, 2018
3
- //
4
- // This source code is licensed under the Apache-2.0 license found in the
5
- // LICENSE file in the root directory of this source tree.
6
- //
7
-
8
- @import 'layout';
@@ -1,12 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2018, 2018
3
- //
4
- // This source code is licensed under the Apache-2.0 license found in the
5
- // LICENSE file in the root directory of this source tree.
6
- //
7
-
8
- @import 'convert';
9
- @import 'breakpoint';
10
- @import 'mini-unit';
11
- @import 'spacing';
12
- @import 'key-height';