scoobie 10.0.2 → 10.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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/typography.ts +8 -2
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "license": "MIT",
5
5
  "main": "src/index.ts",
6
6
  "sideEffects": false,
7
- "version": "10.0.2",
7
+ "version": "10.1.0",
8
8
  "dependencies": {
9
9
  "@mdx-js/loader": "^1.6.22",
10
10
  "@mdx-js/react": "^1.6.22",
@@ -32,15 +32,15 @@
32
32
  "devDependencies": {
33
33
  "@storybook/addon-essentials": "6.3.12",
34
34
  "@storybook/storybook-deployer": "2.8.10",
35
- "@types/react": "17.0.32",
36
- "@types/react-dom": "17.0.10",
35
+ "@types/react": "17.0.36",
36
+ "@types/react-dom": "17.0.11",
37
37
  "@types/react-helmet": "6.1.4",
38
- "braid-design-system": "30.5.1",
38
+ "braid-design-system": "30.7.0",
39
39
  "loki": "0.28.1",
40
40
  "react": "17.0.2",
41
41
  "react-dom": "17.0.2",
42
42
  "react-helmet": "6.1.0",
43
- "react-router-dom": "6.0.0",
43
+ "react-router-dom": "6.0.2",
44
44
  "semantic-release": "18.0.0",
45
45
  "sku": "11.1.0"
46
46
  },
package/typography.ts CHANGED
@@ -4,6 +4,12 @@ export const robotoHref =
4
4
  export const robotoMonoHref =
5
5
  'https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap';
6
6
 
7
- export const robotoHtml = `<link href="${robotoHref}" rel="stylesheet">`;
7
+ export const robotoHtml = `
8
+ <link rel="preload" href="${robotoHref}" as="style" onload="this.onload=null;this.rel='stylesheet'">
9
+ <noscript><link rel="stylesheet" href="${robotoHref}"></noscript>
10
+ `.trim();
8
11
 
9
- export const robotoMonoHtml = `<link href="${robotoMonoHref}" rel="stylesheet">`;
12
+ export const robotoMonoHtml = `
13
+ <link rel="preload" href="${robotoMonoHref}" as="style" onload="this.onload=null;this.rel='stylesheet'">
14
+ <noscript><link rel="stylesheet" href="${robotoMonoHref}"></noscript>
15
+ `.trim();