@carbon/type 10.32.0-rc.0 → 10.33.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/index.scss ADDED
@@ -0,0 +1,15 @@
1
+ //
2
+ // Copyright IBM Corp. 2018, 2018
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @forward 'scss/modules/prefix' with (
9
+ $prefix: 'bx' !default,
10
+ );
11
+ @forward 'scss/modules/classes';
12
+ @forward 'scss/modules/font-family';
13
+ @forward 'scss/modules/reset';
14
+ @forward 'scss/modules/scale';
15
+ @forward 'scss/modules/styles';
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.0-rc.0",
4
+ "version": "10.33.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -16,7 +16,8 @@
16
16
  "lib",
17
17
  "scss",
18
18
  "src",
19
- "umd"
19
+ "umd",
20
+ "index.scss"
20
21
  ],
21
22
  "keywords": [
22
23
  "eyeglass-module",
@@ -37,11 +38,11 @@
37
38
  },
38
39
  "dependencies": {
39
40
  "@carbon/import-once": "^10.6.0",
40
- "@carbon/layout": "^10.28.0-rc.0"
41
+ "@carbon/layout": "^10.29.0"
41
42
  },
42
43
  "devDependencies": {
43
- "@carbon/cli": "^10.26.0-rc.0",
44
- "@carbon/test-utils": "^10.16.0",
44
+ "@carbon/cli": "^10.27.0",
45
+ "@carbon/test-utils": "^10.17.0",
45
46
  "change-case": "^4.1.1",
46
47
  "rimraf": "^3.0.0"
47
48
  },
@@ -51,5 +52,5 @@
51
52
  "sassDir": "scss",
52
53
  "needs": "^1.3.0"
53
54
  },
54
- "gitHead": "e67704162819d0c37dd42be0d83d86bbb135e09f"
55
+ "gitHead": "9c2eb1cfa0e5b2c4dc0142b98cd8828e84640af8"
55
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