@carbon/type 10.32.1 → 10.34.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": "10.32.1",
4
+ "version": "10.34.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
  },
39
39
  "dependencies": {
40
40
  "@carbon/import-once": "^10.6.0",
41
- "@carbon/layout": "^10.28.0"
41
+ "@carbon/layout": "^10.30.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@carbon/cli": "^10.26.0",
45
- "@carbon/test-utils": "^10.16.0",
44
+ "@carbon/cli": "^10.28.0",
45
+ "@carbon/test-utils": "^10.18.0",
46
46
  "change-case": "^4.1.1",
47
47
  "rimraf": "^3.0.0"
48
48
  },
@@ -52,5 +52,5 @@
52
52
  "sassDir": "scss",
53
53
  "needs": "^1.3.0"
54
54
  },
55
- "gitHead": "51b7bce591d08798445927dec8a91436bfd31c57"
55
+ "gitHead": "1b4811e1ef0be1d058e63a90242d9d48f0bff445"
56
56
  }
@@ -13,16 +13,44 @@
13
13
  $font-families: (
14
14
  'mono':
15
15
  unquote(
16
- "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace"
16
+ "'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace"
17
+ ),
18
+ 'sans':
19
+ unquote(
20
+ "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif"
17
21
  ),
18
- 'sans': unquote("'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif"),
19
22
  'sans-condensed':
20
- unquote("'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif"),
23
+ unquote(
24
+ "'IBM Plex Sans Condensed', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif"
25
+ ),
26
+ 'sans-arabic':
27
+ unquote(
28
+ "'IBM Plex Sans Arabic', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif"
29
+ ),
30
+ 'sans-devanagari':
31
+ unquote(
32
+ "'IBM Plex Sans Devanagari', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif"
33
+ ),
21
34
  'sans-hebrew':
22
35
  unquote(
23
- "'IBM Plex Sans Hebrew', 'Helvetica Hebrew', 'Arial Hebrew', sans-serif"
36
+ "'IBM Plex Sans Hebrew', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif"
37
+ ),
38
+ 'sans-jp':
39
+ unquote(
40
+ "'IBM Plex Sans JP', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif"
41
+ ),
42
+ 'sans-kr':
43
+ unquote(
44
+ "'IBM Plex Sans KR', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif"
45
+ ),
46
+ 'sans-thai':
47
+ unquote(
48
+ "'IBM Plex Sans Thai', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif"
49
+ ),
50
+ 'serif':
51
+ unquote(
52
+ "'IBM Plex Serif', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', serif"
24
53
  ),
25
- 'serif': unquote("'IBM Plex Serif', 'Georgia', Times, serif"),
26
54
  ) !default;
27
55
 
28
56
  /// Get the font-family for an IBM Plex font
@@ -54,7 +54,7 @@ $carbon--grid-breakpoints: (
54
54
  ) !default;
55
55
 
56
56
  /// Get the value of the next breakpoint, or null for the last breakpoint
57
- /// @param {String} $name - The name of the brekapoint
57
+ /// @param {String} $name - The name of the breakpoint
58
58
  /// @param {Map} $breakpoints [$carbon--grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
59
59
  /// @param {List} $breakpoint-names [map-keys($breakpoints)] - A list of names from the `$breakpoints` map
60
60
  /// @return {String}
@@ -73,7 +73,7 @@ $carbon--grid-breakpoints: (
73
73
  }
74
74
 
75
75
  /// Get the value of the previous breakpoint, or null for the first breakpoint
76
- /// @param {String} $name - The name of the brekapoint
76
+ /// @param {String} $name - The name of the breakpoint
77
77
  /// @param {Map} $breakpoints [$carbon--grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
78
78
  /// @param {List} $breakpoint-names [map-keys($breakpoints)] - A list of names from the `$breakpoints` map
79
79
  /// @return {String}
@@ -92,7 +92,7 @@ $carbon--grid-breakpoints: (
92
92
  }
93
93
 
94
94
  /// Check to see if the given breakpoint name
95
- /// @param {String} $name - The name of the brekapoint
95
+ /// @param {String} $name - The name of the breakpoint
96
96
  /// @param {Map} $breakpoints [$carbon--grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
97
97
  /// @return {Bool}
98
98
  /// @access public
@@ -116,7 +116,7 @@ $carbon--grid-breakpoints: (
116
116
  @return carbon--key-by-index($breakpoints, $total-breakpoints);
117
117
  }
118
118
 
119
- /// Get the infix for a given breakpoint in a list of breakpoints. Usesful for generate the size part in a selector, for example: `.prefix--col-sm-2`.
119
+ /// Get the infix for a given breakpoint in a list of breakpoints. Useful for generating the size part in a selector, for example: `.prefix--col-sm-2`.
120
120
  /// @param {String} $name - The name of the breakpoint
121
121
  /// @return {String}
122
122
  /// @access public
@@ -57,7 +57,7 @@ $grid-breakpoints: (
57
57
  ) !default;
58
58
 
59
59
  /// Get the value of the next breakpoint, or null for the last breakpoint
60
- /// @param {String} $name - The name of the brekapoint
60
+ /// @param {String} $name - The name of the breakpoint
61
61
  /// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
62
62
  /// @param {List} $breakpoint-names [map-keys($breakpoints)] - A list of names from the `$breakpoints` map
63
63
  /// @return {String}
@@ -76,7 +76,7 @@ $grid-breakpoints: (
76
76
  }
77
77
 
78
78
  /// Get the value of the previous breakpoint, or null for the first breakpoint
79
- /// @param {String} $name - The name of the brekapoint
79
+ /// @param {String} $name - The name of the breakpoint
80
80
  /// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
81
81
  /// @param {List} $breakpoint-names [map-keys($breakpoints)] - A list of names from the `$breakpoints` map
82
82
  /// @return {String}
@@ -95,7 +95,7 @@ $grid-breakpoints: (
95
95
  }
96
96
 
97
97
  /// Check to see if the given breakpoint name
98
- /// @param {String} $name - The name of the brekapoint
98
+ /// @param {String} $name - The name of the breakpoint
99
99
  /// @param {Map} $breakpoints [$grid-breakpoints] - A map of breakpoints where the key is the name of the breakpoint and the value is the values for the breakpoint
100
100
  /// @return {Bool}
101
101
  /// @access public
@@ -114,7 +114,7 @@ $grid-breakpoints: (
114
114
  @return key-by-index($breakpoints, $total-breakpoints);
115
115
  }
116
116
 
117
- /// Get the infix for a given breakpoint in a list of breakpoints. Usesful for generate the size part in a selector, for example: `.prefix--col-sm-2`.
117
+ /// Get the infix for a given breakpoint in a list of breakpoints. Useful for generating the size part in a selector, for example: `.prefix--col-sm-2`.
118
118
  /// @param {String} $name - The name of the breakpoint
119
119
  /// @return {String}
120
120
  /// @access public