@carbon/type 11.1.0-rc.0 → 11.2.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 (32) hide show
  1. package/index.scss +3 -5
  2. package/package.json +6 -6
  3. package/scss/_default-type.scss +7 -7
  4. package/scss/_prefix.scss +18 -1
  5. package/scss/_styles.scss +1 -4
  6. package/scss/_inlined/_classes.scss +0 -42
  7. package/scss/_inlined/_default-type.scss +0 -49
  8. package/scss/_inlined/_font-family.scss +0 -104
  9. package/scss/_inlined/_prefix.scss +0 -11
  10. package/scss/_inlined/_reset.scss +0 -42
  11. package/scss/_inlined/_scale.scss +0 -57
  12. package/scss/_inlined/_styles.scss +0 -856
  13. package/scss/vendor/@carbon/grid/_breakpoint.scss +0 -198
  14. package/scss/vendor/@carbon/grid/_config.scss +0 -94
  15. package/scss/vendor/@carbon/grid/_css-grid.scss +0 -470
  16. package/scss/vendor/@carbon/grid/_flex-grid.scss +0 -343
  17. package/scss/vendor/@carbon/grid/_inlined/_breakpoint.scss +0 -198
  18. package/scss/vendor/@carbon/grid/_inlined/_config.scss +0 -94
  19. package/scss/vendor/@carbon/grid/_inlined/_css-grid.scss +0 -470
  20. package/scss/vendor/@carbon/grid/_inlined/_flex-grid.scss +0 -343
  21. package/scss/vendor/@carbon/grid/_inlined/_mixins.scss +0 -316
  22. package/scss/vendor/@carbon/grid/_mixins.scss +0 -316
  23. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_convert.import.scss +0 -63
  24. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_convert.scss +0 -49
  25. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_spacing.scss +0 -9
  26. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_utilities.scss +0 -41
  27. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_container.scss +0 -43
  28. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_fluid-spacing.scss +0 -37
  29. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_icon-size.scss +0 -25
  30. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_size.scss +0 -17
  31. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_spacing.scss +0 -91
  32. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/modules/_convert.scss +0 -49
@@ -1,316 +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
- @use 'sass:meta';
9
- @use "sass:math";
10
-
11
- @use 'config' as *;
12
- @use 'breakpoint' as *;
13
-
14
- // -----------------------------------------------------------------------------
15
- // Columns
16
- // -----------------------------------------------------------------------------
17
-
18
- /// Used to initialize the default properties for a column class, most notably
19
- /// for setting width and default gutters when a column's breakpoint has not been
20
- /// hit yet.
21
- /// @param {Number} $gutter [$grid-gutter] - The gutter for the grid system
22
- /// @param {Number} $collapsed-gutter [$grid-gutter--condensed] - The condensed mode gutter
23
- /// @access private
24
- /// @group @carbon/grid
25
- @mixin -make-col-ready(
26
- $gutter: $grid-gutter,
27
- $condensed-gutter: $grid-gutter--condensed
28
- ) {
29
- // Prevent columns from becoming too narrow when at smaller grid tiers by
30
- // always setting `width: 100%;`. This works because we use `flex` values
31
- // later on to override this initial width.
32
- width: 100%;
33
- padding-right: ($gutter * 0.5);
34
- padding-left: ($gutter * 0.5);
35
-
36
- // For our condensed use-case, our gutters collapse to 2px solid, 1px on each
37
- // side.
38
- .#{$prefix}--row--condensed &,
39
- .#{$prefix}--grid--condensed & {
40
- padding-right: ($condensed-gutter * 0.5);
41
- padding-left: ($condensed-gutter * 0.5);
42
- }
43
-
44
- // For our narrow use-case, our container hangs 16px into the gutter
45
- .#{$prefix}--row--narrow &,
46
- .#{$prefix}--grid--narrow & {
47
- padding-right: ($gutter * 0.5);
48
- padding-left: 0;
49
- }
50
- }
51
-
52
- /// Define the width of the column for a given span and column count.
53
- /// A width of 0 will hide the column entirely.
54
- /// @param {Number} $span - The number of columns covered
55
- /// @param {Number} $columns - The total number of columns available
56
- /// @access private
57
- /// @group @carbon/grid
58
- @mixin -make-col($span, $columns) {
59
- @if $span == 0 {
60
- display: none;
61
- } @else {
62
- // Explicitly include `display: block` to override
63
- display: block;
64
- // Add a `max-width` to ensure content within each column does not blow out
65
- // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari
66
- // do not appear to require this.
67
- @if meta.function-exists('div', 'math') {
68
- max-width: math.percentage(math.div($span, $columns));
69
- flex: 0 0 math.percentage(math.div($span, $columns));
70
- } @else {
71
- max-width: math.percentage(($span / $columns));
72
- flex: 0 0 math.percentage(($span / $columns));
73
- }
74
- }
75
- }
76
-
77
- /// Create a column offset for a given span and column count.
78
- /// @param {Number} $span - The number of columns the offset should cover
79
- /// @param {Number} $columns - The total number of columns available
80
- /// @access private
81
- /// @group @carbon/grid
82
- @mixin -make-col-offset($span, $columns) {
83
- $offset: 0;
84
- @if meta.function-exists('div', 'math') {
85
- $offset: math.div($span, $columns);
86
- } @else {
87
- $offset: ($span / $columns);
88
- }
89
- @if $offset == 0 {
90
- margin-left: 0;
91
- } @else {
92
- margin-left: math.percentage($offset);
93
- }
94
- }
95
-
96
- /// Output the CSS required for all the columns in a given grid system.
97
- /// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints in the grid system
98
- /// @param {Number} $gutter [$grid-gutter] - The gutter for the grid system
99
- /// @access private
100
- /// @group @carbon/grid
101
- @mixin -make-grid-columns(
102
- $breakpoints: $grid-breakpoints,
103
- $gutter: $grid-gutter
104
- ) {
105
- .#{$prefix}--col {
106
- @include -make-col-ready($gutter);
107
- }
108
-
109
- @each $breakpoint in map-keys($breakpoints) {
110
- $infix: breakpoint-infix($breakpoint);
111
- $columns: map.get(map.get($breakpoints, $breakpoint), columns);
112
-
113
- // Allow columns to stretch full width below their breakpoints
114
- @for $i from 0 through $columns {
115
- .#{$prefix}--col#{$infix}-#{$i} {
116
- @include -make-col-ready($gutter);
117
- }
118
- }
119
-
120
- .#{$prefix}--col#{$infix},
121
- .#{$prefix}--col#{$infix}--auto {
122
- @include -make-col-ready($gutter);
123
- }
124
-
125
- @include breakpoint($breakpoint, $breakpoints) {
126
- // Provide basic `.col-{bp}` classes for equal-width flexbox columns
127
- .#{$prefix}--col,
128
- .#{$prefix}--col#{$infix} {
129
- max-width: 100%;
130
- flex-basis: 0;
131
- flex-grow: 1;
132
- }
133
-
134
- .#{$prefix}--col--auto,
135
- .#{$prefix}--col#{$infix}--auto {
136
- width: auto;
137
- // Reset earlier grid tiers
138
- max-width: 100%;
139
- flex: 1 0 0%;
140
- }
141
-
142
- @for $i from 0 through $columns {
143
- .#{$prefix}--col#{$infix}-#{$i} {
144
- @include -make-col($i, $columns);
145
- }
146
- }
147
-
148
- @for $i from 0 through ($columns - 1) {
149
- @if not($infix == '') {
150
- .#{$prefix}--offset#{$infix}-#{$i} {
151
- @include -make-col-offset($i, $columns);
152
- }
153
- }
154
- }
155
- }
156
- }
157
- }
158
-
159
- // -----------------------------------------------------------------------------
160
- // Rows
161
- // -----------------------------------------------------------------------------
162
-
163
- /// Define the properties for a selector assigned to a row in the grid system.
164
- /// @param {Number} $gutter [$grid-gutter] - The gutter in the grid system
165
- /// @access private
166
- /// @group @carbon/grid
167
- @mixin make-row($gutter: $grid-gutter) {
168
- display: flex;
169
- flex-wrap: wrap;
170
- margin-right: -1 * $gutter * 0.5;
171
- margin-left: -1 * $gutter * 0.5;
172
- }
173
-
174
- // -----------------------------------------------------------------------------
175
- // No gutter
176
- // -----------------------------------------------------------------------------
177
-
178
- /// Add `no-gutter` and `no-gutter--{start,end}` classes to the output CSS. These
179
- /// classes are useful for dropping the gutter in fluid situations.
180
- /// @access private
181
- /// @group @carbon/grid
182
- @mixin -no-gutter {
183
- .#{$prefix}--no-gutter,
184
- .#{$prefix}--row.#{$prefix}--no-gutter [class*='#{$prefix}--col'] {
185
- padding-right: 0;
186
- padding-left: 0;
187
- }
188
-
189
- .#{$prefix}--no-gutter--start,
190
- .#{$prefix}--row.#{$prefix}--no-gutter--start [class*='#{$prefix}--col'] {
191
- padding-left: 0;
192
- }
193
-
194
- .#{$prefix}--no-gutter--end,
195
- .#{$prefix}--row.#{$prefix}--no-gutter--end [class*='#{$prefix}--col'] {
196
- padding-right: 0;
197
- }
198
- }
199
-
200
- // -----------------------------------------------------------------------------
201
- // Hang
202
- // -----------------------------------------------------------------------------
203
-
204
- /// Add `hang--start` and `hang--end` classes for a given gutter. These classes are
205
- /// used alongside `no-gutter--start` and `no-gutter--end` to "hang" type.
206
- /// @param {Number} $gutter [$grid-gutter] - The gutter in the grid system
207
- /// @access private
208
- /// @group @carbon/grid
209
- @mixin -hang($gutter: $grid-gutter) {
210
- .#{$prefix}--hang--start {
211
- padding-left: ($gutter * 0.5);
212
- }
213
-
214
- .#{$prefix}--hang--end {
215
- padding-right: ($gutter * 0.5);
216
- }
217
- }
218
-
219
- // -----------------------------------------------------------------------------
220
- // Grid
221
- // -----------------------------------------------------------------------------
222
-
223
- /// Create the container for a grid. Will cause full-bleed for the grid unless
224
- /// max-width properties are added with `-make-container-max-widths`
225
- /// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name
226
- /// @access private
227
- /// @group @carbon/grid
228
- @mixin -make-container($breakpoints: $grid-breakpoints) {
229
- margin-right: auto;
230
- margin-left: auto;
231
-
232
- @include -set-largest-breakpoint();
233
-
234
- @each $name, $value in $breakpoints {
235
- $prev-breakpoint: map.get($breakpoints, breakpoint-prev($name));
236
- $margin: map.get($value, margin);
237
-
238
- @if $prev-breakpoint {
239
- $prev-margin: map.get($prev-breakpoint, margin);
240
- @if $prev-margin != $margin {
241
- @include breakpoint($name) {
242
- padding-right: #{($grid-gutter * 0.5) + $margin};
243
- padding-left: #{($grid-gutter * 0.5) + $margin};
244
- }
245
- }
246
- } @else {
247
- @include breakpoint($name) {
248
- padding-right: #{($grid-gutter * 0.5) + $margin};
249
- padding-left: #{($grid-gutter * 0.5) + $margin};
250
- }
251
- }
252
- }
253
- }
254
-
255
- /// Get the last breakpoint width and set max-width to its value
256
- /// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name
257
- /// @access private
258
- /// @group @carbon/grid
259
- @mixin -set-largest-breakpoint($breakpoints: $grid-breakpoints) {
260
- $largest-breakpoint: last-map-item($breakpoints);
261
-
262
- max-width: map.get($largest-breakpoint, 'width');
263
- }
264
-
265
- /// Add in the max-widths for each breakpoint to the container
266
- /// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name
267
- /// @access private
268
- /// @group @carbon/grid
269
- @mixin -make-container-max-widths($breakpoints: $grid-breakpoints) {
270
- @each $name, $value in $breakpoints {
271
- @include breakpoint($name) {
272
- max-width: map.get($value, width);
273
- }
274
- }
275
- }
276
-
277
- /// Generate the CSS for a grid for the given breakpoints and gutters
278
- /// @param {Map} $breakpoints [$grid-breakpoints] - The default breakpoints
279
- /// @param {Number} $grid-gutter [$grid-gutter] - The default gutters
280
- /// @param {Number} $condensed-gutter [$grid-gutter--condensed] - The condensed mode gutter
281
- /// @access public
282
- /// @group @carbon/grid
283
- @mixin grid(
284
- $breakpoints: $grid-breakpoints,
285
- $grid-gutter: $grid-gutter,
286
- $condensed-gutter: $grid-gutter--condensed
287
- ) {
288
- .#{$prefix}--grid {
289
- @include -make-container($breakpoints);
290
- }
291
-
292
- @include largest-breakpoint($breakpoints) {
293
- .#{$prefix}--grid--full-width {
294
- max-width: 100%;
295
- }
296
- }
297
-
298
- .#{$prefix}--row {
299
- @include make-row();
300
- }
301
-
302
- .#{$prefix}--row-padding [class*='#{$prefix}--col'],
303
- .#{$prefix}--col-padding {
304
- padding-top: $grid-gutter * 0.5;
305
- padding-bottom: $grid-gutter * 0.5;
306
- }
307
-
308
- .#{$prefix}--grid--condensed [class*='#{$prefix}--col'] {
309
- padding-top: $condensed-gutter * 0.5;
310
- padding-bottom: $condensed-gutter * 0.5;
311
- }
312
-
313
- @include -make-grid-columns($breakpoints, $grid-gutter);
314
- @include -no-gutter();
315
- @include -hang($grid-gutter);
316
- }
@@ -1,63 +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 (*.import.scss)
9
- // ------------------------------------------
10
- //
11
- // This file is intended to be consumed and processed with dart-sass.
12
- // It is incompatible with node-sass/libsass as it contains sass language features
13
- // or functions that are unavailable in node-sass/libsass, such as `math.div`.
14
- //
15
- // The non-`.import` suffixed version of this file eg. `_filename.scss`
16
- // is intended to be compatible with node-sass/libsass.
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
- @use 'sass:meta';
23
- @use 'sass:math';
24
-
25
- /// Default font size
26
- /// @type Number
27
- /// @access public
28
- /// @group @carbon/layout
29
- $carbon--base-font-size: 16px !default;
30
-
31
- /// Convert a given px unit to a rem unit
32
- /// @param {Number} $px - Number with px unit
33
- /// @return {Number} Number with rem unit
34
- /// @access public
35
- /// @group @carbon/layout
36
- @function carbon--rem($px) {
37
- @if unit($px) != 'px' {
38
- @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
39
- }
40
-
41
- @if meta.function-exists('div', 'math') {
42
- @return math.div($px, $carbon--base-font-size) * 1rem;
43
- } @else {
44
- @return ($px / $carbon--base-font-size) * 1rem;
45
- }
46
- }
47
-
48
- /// Convert a given px unit to a em unit
49
- /// @param {Number} $px - Number with px unit
50
- /// @return {Number} Number with em unit
51
- /// @access public
52
- /// @group @carbon/layout
53
- @function carbon--em($px) {
54
- @if unit($px) != 'px' {
55
- @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
56
- }
57
-
58
- @if meta.function-exists('div', 'math') {
59
- @return math.div($px, $carbon--base-font-size) * 1em;
60
- } @else {
61
- @return ($px / $carbon--base-font-size) * 1em;
62
- }
63
- }
@@ -1,49 +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
- @use 'sass:meta';
9
- @use 'sass:math';
10
-
11
- /// Default font size
12
- /// @type Number
13
- /// @access public
14
- /// @group @carbon/layout
15
- $base-font-size: 16px !default;
16
-
17
- /// Convert a given px unit to a rem unit
18
- /// @param {Number} $px - Number with px unit
19
- /// @return {Number} Number with rem unit
20
- /// @access public
21
- /// @group @carbon/layout
22
- @function rem($px) {
23
- @if unit($px) != 'px' {
24
- @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
25
- }
26
-
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
- }
32
- }
33
-
34
- /// Convert a given px unit to a em unit
35
- /// @param {Number} $px - Number with px unit
36
- /// @return {Number} Number with em unit
37
- /// @access public
38
- /// @group @carbon/layout
39
- @function em($px) {
40
- @if unit($px) != 'px' {
41
- @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
42
- }
43
-
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
- }
49
- }
@@ -1,9 +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
- @forward './generated/fluid-spacing';
9
- @forward './generated/spacing';
@@ -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 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: list.length($map);
40
- @return map-get($map, carbon--key-by-index($map, $total-length));
41
- }
@@ -1,43 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2021
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
- $container-01: 1.5rem !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $container-02: 2rem !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $container-03: 2.5rem !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $container-04: 3rem !default;
28
-
29
- /// @type Number
30
- /// @access public
31
- /// @group @carbon/layout
32
- $container-05: 4rem !default;
33
-
34
- /// @type Map
35
- /// @access public
36
- /// @group @carbon/layout
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
- );
@@ -1,37 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2021
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
- $fluid-spacing-01: 0 !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $fluid-spacing-02: 2vw !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $fluid-spacing-03: 5vw !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $fluid-spacing-04: 10vw !default;
28
-
29
- /// @type Map
30
- /// @access public
31
- /// @group @carbon/layout
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
- );
@@ -1,25 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2021
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
- $icon-size-01: 1rem !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $icon-size-02: 1.25rem !default;
18
-
19
- /// @type Map
20
- /// @access public
21
- /// @group @carbon/layout
22
- $icon-size: (
23
- icon-size-01: $icon-size-01,
24
- icon-size-02: $icon-size-02,
25
- );
@@ -1,17 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2021
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,91 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2021
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
- $spacing-01: 0.125rem !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $spacing-02: 0.25rem !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $spacing-03: 0.5rem !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $spacing-04: 0.75rem !default;
28
-
29
- /// @type Number
30
- /// @access public
31
- /// @group @carbon/layout
32
- $spacing-05: 1rem !default;
33
-
34
- /// @type Number
35
- /// @access public
36
- /// @group @carbon/layout
37
- $spacing-06: 1.5rem !default;
38
-
39
- /// @type Number
40
- /// @access public
41
- /// @group @carbon/layout
42
- $spacing-07: 2rem !default;
43
-
44
- /// @type Number
45
- /// @access public
46
- /// @group @carbon/layout
47
- $spacing-08: 2.5rem !default;
48
-
49
- /// @type Number
50
- /// @access public
51
- /// @group @carbon/layout
52
- $spacing-09: 3rem !default;
53
-
54
- /// @type Number
55
- /// @access public
56
- /// @group @carbon/layout
57
- $spacing-10: 4rem !default;
58
-
59
- /// @type Number
60
- /// @access public
61
- /// @group @carbon/layout
62
- $spacing-11: 5rem !default;
63
-
64
- /// @type Number
65
- /// @access public
66
- /// @group @carbon/layout
67
- $spacing-12: 6rem !default;
68
-
69
- /// @type Number
70
- /// @access public
71
- /// @group @carbon/layout
72
- $spacing-13: 10rem !default;
73
-
74
- /// @type Map
75
- /// @access public
76
- /// @group @carbon/layout
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
- );