@carbon/type 11.20.0-rc.0 → 11.20.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/es/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { px, baseFontSize, rem, breakpoint, breakpoints } from '@carbon/layout';
|
|
|
11
11
|
// Condensed, IBM Plex Sans Hebrew, and IBM Plex Serif
|
|
12
12
|
var fontFamilies = {
|
|
13
13
|
mono: "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace",
|
|
14
|
-
sans: "'IBM Plex Sans',
|
|
14
|
+
sans: "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif",
|
|
15
15
|
sansCondensed: "'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif",
|
|
16
16
|
sansHebrew: "'IBM Plex Sans Hebrew', 'Helvetica Hebrew', 'Arial Hebrew', sans-serif",
|
|
17
17
|
serif: "'IBM Plex Serif', 'Georgia', Times, serif"
|
package/lib/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var layout = require('@carbon/layout');
|
|
|
15
15
|
// Condensed, IBM Plex Sans Hebrew, and IBM Plex Serif
|
|
16
16
|
var fontFamilies = {
|
|
17
17
|
mono: "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace",
|
|
18
|
-
sans: "'IBM Plex Sans',
|
|
18
|
+
sans: "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif",
|
|
19
19
|
sansCondensed: "'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif",
|
|
20
20
|
sansHebrew: "'IBM Plex Sans Hebrew', 'Helvetica Hebrew', 'Arial Hebrew', sans-serif",
|
|
21
21
|
serif: "'IBM Plex Serif', 'Georgia', Times, serif"
|
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.20.0
|
|
4
|
+
"version": "11.20.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"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@carbon/grid": "^11.16.0
|
|
41
|
-
"@carbon/layout": "^11.16.0
|
|
40
|
+
"@carbon/grid": "^11.16.0",
|
|
41
|
+
"@carbon/layout": "^11.16.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@carbon/cli": "^11.12.0
|
|
44
|
+
"@carbon/cli": "^11.12.0",
|
|
45
45
|
"@carbon/test-utils": "^10.30.0",
|
|
46
46
|
"change-case": "^4.1.1",
|
|
47
47
|
"css": "^3.0.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"sassDir": "scss",
|
|
54
54
|
"needs": "^1.3.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "3a58934eed5588f5e8ee1facbb09584a41adc089"
|
|
57
57
|
}
|
|
@@ -5,7 +5,7 @@ exports[`fontFamily should be printable 1`] = `"font-family: 'IBM Plex Mono', 'M
|
|
|
5
5
|
exports[`fontFamily should export the supported font families 1`] = `
|
|
6
6
|
Object {
|
|
7
7
|
"mono": "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace",
|
|
8
|
-
"sans": "'IBM Plex Sans',
|
|
8
|
+
"sans": "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif",
|
|
9
9
|
"sansCondensed": "'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif",
|
|
10
10
|
"sansHebrew": "'IBM Plex Sans Hebrew', 'Helvetica Hebrew', 'Arial Hebrew', sans-serif",
|
|
11
11
|
"serif": "'IBM Plex Serif', 'Georgia', Times, serif",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`reset should be printable 1`] = `"font-size: 16px;"`;
|
|
4
4
|
|
|
5
5
|
exports[`reset should be printable 2`] = `
|
|
6
|
-
"font-family: 'IBM Plex Sans',
|
|
6
|
+
"font-family: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
|
|
7
7
|
font-weight: 400;
|
|
8
8
|
text-rendering: optimizeLegibility;
|
|
9
9
|
--webkit--font--smoothing: antialiased;
|
package/src/fontFamily.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// Condensed, IBM Plex Sans Hebrew, and IBM Plex Serif
|
|
10
10
|
export const fontFamilies = {
|
|
11
11
|
mono: "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace",
|
|
12
|
-
sans: "'IBM Plex Sans',
|
|
12
|
+
sans: "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif",
|
|
13
13
|
sansCondensed:
|
|
14
14
|
"'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif",
|
|
15
15
|
sansHebrew:
|
package/umd/index.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// Condensed, IBM Plex Sans Hebrew, and IBM Plex Serif
|
|
16
16
|
var fontFamilies = {
|
|
17
17
|
mono: "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace",
|
|
18
|
-
sans: "'IBM Plex Sans',
|
|
18
|
+
sans: "'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif",
|
|
19
19
|
sansCondensed: "'IBM Plex Sans Condensed', 'Helvetica Neue', Arial, sans-serif",
|
|
20
20
|
sansHebrew: "'IBM Plex Sans Hebrew', 'Helvetica Hebrew', 'Arial Hebrew', sans-serif",
|
|
21
21
|
serif: "'IBM Plex Serif', 'Georgia', Times, serif"
|