@carbon/type 11.22.0-rc.0 → 11.23.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/type",
3
3
  "description": "Typography for digital and software products using the Carbon Design System",
4
- "version": "11.22.0-rc.0",
4
+ "version": "11.23.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -38,11 +38,11 @@
38
38
  "clean": "rimraf css es lib umd"
39
39
  },
40
40
  "dependencies": {
41
- "@carbon/grid": "^11.18.0-rc.0",
42
- "@carbon/layout": "^11.18.0-rc.0"
41
+ "@carbon/grid": "^11.19.0-rc.0",
42
+ "@carbon/layout": "^11.19.0-rc.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@carbon/cli": "^11.14.0-rc.0",
45
+ "@carbon/cli": "^11.14.0",
46
46
  "@carbon/test-utils": "^10.30.0",
47
47
  "change-case": "^4.1.1",
48
48
  "css": "^3.0.0",
@@ -54,5 +54,5 @@
54
54
  "sassDir": "scss",
55
55
  "needs": "^1.3.0"
56
56
  },
57
- "gitHead": "39f36c63d5cb77a525e0a82f0e565b8d6ef658e9"
57
+ "gitHead": "d51dfbb8dc951c6f609561a1e2935e8208bf6e30"
58
58
  }
package/scss/_scale.scss CHANGED
@@ -27,7 +27,7 @@
27
27
  /// @group @carbon/type
28
28
  $type-scale: ();
29
29
  @for $i from 1 through 23 {
30
- $type-scale: list.append($type-scale, layout.rem(get-type-size($i)));
30
+ $type-scale: list.append($type-scale, layout.to-rem(get-type-size($i)));
31
31
  }
32
32
 
33
33
  /// Get the value of a specific step in the type scale
package/scss/_styles.scss CHANGED
@@ -92,8 +92,8 @@ $helper-text-01: (
92
92
  /// @deprecated
93
93
  /// @group @carbon/type
94
94
  $helper-text-02: (
95
- font-size: carbon--type-scale(2),
96
- font-weight: carbon--font-weight('regular'),
95
+ font-size: scale.type-scale(2),
96
+ font-weight: font-family.font-weight('regular'),
97
97
  line-height: 1.28572,
98
98
  letter-spacing: 0.16px,
99
99
  ) !default;