@carbon/type 11.0.0-rc.0 → 11.1.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/README.md CHANGED
@@ -85,7 +85,7 @@ what we call type styles. These tokens have a variety of properties for styling
85
85
  how text is rendered on a page.
86
86
 
87
87
  You can find a full reference of the type styles that are available on the
88
- [Carbon Design System website](https://www.carbondesignsystem.com/guidelines/typography/productive)
88
+ [Carbon Design System website](https://www.carbondesignsystem.com/guidelines/typography/type-sets)
89
89
  .
90
90
 
91
91
  You can include a token in your Sass file by writing:
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.0.0-rc.0",
4
+ "version": "11.1.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -37,11 +37,11 @@
37
37
  "clean": "rimraf css es lib umd scss/_inlined scss/vendor"
38
38
  },
39
39
  "dependencies": {
40
- "@carbon/grid": "^11.0.0-rc.0"
40
+ "@carbon/grid": "^11.1.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@carbon/cli": "^11.0.0-rc.0",
44
- "@carbon/test-utils": "^10.22.0-rc.0",
43
+ "@carbon/cli": "^11.0.0",
44
+ "@carbon/test-utils": "^10.23.0",
45
45
  "change-case": "^4.1.1",
46
46
  "css": "^3.0.0",
47
47
  "rimraf": "^3.0.0"
@@ -52,5 +52,5 @@
52
52
  "sassDir": "scss",
53
53
  "needs": "^1.3.0"
54
54
  },
55
- "gitHead": "e4894776a4996c10bfc8f9a724532a25966aa622"
55
+ "gitHead": "80e297d5fc423e406af5ca658332bbfe9538db7f"
56
56
  }
@@ -4,7 +4,7 @@
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
-
7
+ @use 'sass:meta';
8
8
  @use 'styles' as *;
9
9
 
10
10
  /// Include default type styles
@@ -40,13 +40,7 @@
40
40
  }
41
41
 
42
42
  a {
43
- @if meta.global-variable-exists('carbon--theme') and
44
- map.has-key($carbon--theme, 'link-01')
45
- {
46
- color: map.get($carbon--theme, 'link-01');
47
- } @else {
48
- color: #0062fe;
49
- }
43
+ color: var(--cds-link-primary, #0062fe);
50
44
  }
51
45
 
52
46
  em {
@@ -4,7 +4,7 @@
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
-
7
+ @use 'sass:meta';
8
8
  @use 'styles' as *;
9
9
 
10
10
  /// Include default type styles
@@ -40,13 +40,7 @@
40
40
  }
41
41
 
42
42
  a {
43
- @if meta.global-variable-exists('carbon--theme') and
44
- map.has-key($carbon--theme, 'link-01')
45
- {
46
- color: map.get($carbon--theme, 'link-01');
47
- } @else {
48
- color: #0062fe;
49
- }
43
+ color: var(--cds-link-primary, #0062fe);
50
44
  }
51
45
 
52
46
  em {