@carbon/grid 11.18.0 → 11.19.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/grid",
3
3
  "description": "Grid for digital and software products using the Carbon Design System",
4
- "version": "11.18.0",
4
+ "version": "11.19.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  "clean": "rimraf scss/_inlined scss/vendor"
34
34
  },
35
35
  "dependencies": {
36
- "@carbon/layout": "^11.18.0"
36
+ "@carbon/layout": "^11.19.0-rc.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@carbon/cli": "^11.14.0",
@@ -45,5 +45,5 @@
45
45
  "sassDir": "scss",
46
46
  "needs": "^1.3.0"
47
47
  },
48
- "gitHead": "f9ac32a70a209100bb30ed41edc39c596eae7956"
48
+ "gitHead": "d51dfbb8dc951c6f609561a1e2935e8208bf6e30"
49
49
  }
package/scss/_config.scss CHANGED
@@ -24,13 +24,13 @@ $flex-grid-columns: 16 !default;
24
24
  /// @type Number
25
25
  /// @access public
26
26
  /// @group @carbon/layout
27
- $grid-gutter: convert.rem(32px) !default;
27
+ $grid-gutter: convert.to-rem(32px) !default;
28
28
 
29
29
  /// Carbon condensed gutter size in rem
30
30
  /// @type Number
31
31
  /// @access public
32
32
  /// @group @carbon/layout
33
- $grid-gutter-condensed: convert.rem(1px) !default;
33
+ $grid-gutter-condensed: convert.to-rem(1px) !default;
34
34
 
35
35
  // Initial map of our breakpoints and their values
36
36
  /// @type Map
@@ -40,27 +40,27 @@ $grid-breakpoints: (
40
40
  sm: (
41
41
  columns: 4,
42
42
  margin: 0,
43
- width: convert.rem(320px),
43
+ width: convert.to-rem(320px),
44
44
  ),
45
45
  md: (
46
46
  columns: 8,
47
- margin: convert.rem(16px),
48
- width: convert.rem(672px),
47
+ margin: convert.to-rem(16px),
48
+ width: convert.to-rem(672px),
49
49
  ),
50
50
  lg: (
51
51
  columns: 16,
52
- margin: convert.rem(16px),
53
- width: convert.rem(1056px),
52
+ margin: convert.to-rem(16px),
53
+ width: convert.to-rem(1056px),
54
54
  ),
55
55
  xlg: (
56
56
  columns: 16,
57
- margin: convert.rem(16px),
58
- width: convert.rem(1312px),
57
+ margin: convert.to-rem(16px),
58
+ width: convert.to-rem(1312px),
59
59
  ),
60
60
  max: (
61
61
  columns: 16,
62
- margin: convert.rem(24px),
63
- width: convert.rem(1584px),
62
+ margin: convert.to-rem(24px),
63
+ width: convert.to-rem(1584px),
64
64
  ),
65
65
  ) !default;
66
66
 
@@ -24,13 +24,13 @@ $flex-grid-columns: 16 !default;
24
24
  /// @type Number
25
25
  /// @access public
26
26
  /// @group @carbon/layout
27
- $grid-gutter: convert.rem(32px) !default;
27
+ $grid-gutter: convert.to-rem(32px) !default;
28
28
 
29
29
  /// Carbon condensed gutter size in rem
30
30
  /// @type Number
31
31
  /// @access public
32
32
  /// @group @carbon/layout
33
- $grid-gutter-condensed: convert.rem(1px) !default;
33
+ $grid-gutter-condensed: convert.to-rem(1px) !default;
34
34
 
35
35
  // Initial map of our breakpoints and their values
36
36
  /// @type Map
@@ -40,27 +40,27 @@ $grid-breakpoints: (
40
40
  sm: (
41
41
  columns: 4,
42
42
  margin: 0,
43
- width: convert.rem(320px),
43
+ width: convert.to-rem(320px),
44
44
  ),
45
45
  md: (
46
46
  columns: 8,
47
- margin: convert.rem(16px),
48
- width: convert.rem(672px),
47
+ margin: convert.to-rem(16px),
48
+ width: convert.to-rem(672px),
49
49
  ),
50
50
  lg: (
51
51
  columns: 16,
52
- margin: convert.rem(16px),
53
- width: convert.rem(1056px),
52
+ margin: convert.to-rem(16px),
53
+ width: convert.to-rem(1056px),
54
54
  ),
55
55
  xlg: (
56
56
  columns: 16,
57
- margin: convert.rem(16px),
58
- width: convert.rem(1312px),
57
+ margin: convert.to-rem(16px),
58
+ width: convert.to-rem(1312px),
59
59
  ),
60
60
  max: (
61
61
  columns: 16,
62
- margin: convert.rem(24px),
63
- width: convert.rem(1584px),
62
+ margin: convert.to-rem(24px),
63
+ width: convert.to-rem(1584px),
64
64
  ),
65
65
  ) !default;
66
66
 
@@ -19,7 +19,7 @@ $base-font-size: 16px !default;
19
19
  /// @return {Number} Number with rem unit
20
20
  /// @access public
21
21
  /// @group @carbon/layout
22
- @function rem($px) {
22
+ @function to-rem($px) {
23
23
  @if unit($px) != 'px' {
24
24
  @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
25
25
  }
@@ -19,7 +19,7 @@ $base-font-size: 16px !default;
19
19
  /// @return {Number} Number with rem unit
20
20
  /// @access public
21
21
  /// @group @carbon/layout
22
- @function rem($px) {
22
+ @function to-rem($px) {
23
23
  @if unit($px) != 'px' {
24
24
  @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
25
25
  }