@financial-times/dotcom-ui-shell 8.2.2 → 8.2.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/dotcom-ui-shell",
3
- "version": "8.2.2",
3
+ "version": "8.2.3",
4
4
  "description": "",
5
5
  "main": "component.js",
6
6
  "browser": "browser.js",
@@ -20,11 +20,11 @@
20
20
  "author": "",
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
- "@financial-times/dotcom-ui-app-context": "^8.2.2",
24
- "@financial-times/dotcom-ui-base-styles": "^8.2.2",
25
- "@financial-times/dotcom-ui-bootstrap": "^8.2.2",
26
- "@financial-times/dotcom-ui-flags": "^8.2.2",
27
- "@financial-times/dotcom-ui-polyfill-service": "^8.2.2",
23
+ "@financial-times/dotcom-ui-app-context": "^8.2.3",
24
+ "@financial-times/dotcom-ui-base-styles": "^8.2.3",
25
+ "@financial-times/dotcom-ui-bootstrap": "^8.2.3",
26
+ "@financial-times/dotcom-ui-flags": "^8.2.3",
27
+ "@financial-times/dotcom-ui-polyfill-service": "^8.2.3",
28
28
  "mime-types": "^2.1.26"
29
29
  },
30
30
  "peerDependencies": {
@@ -14,7 +14,7 @@ Array [
14
14
  name="viewport"
15
15
  />,
16
16
  <title>
17
- Page title | Website title
17
+ Page title
18
18
  </title>,
19
19
  <meta
20
20
  content="Website description."
@@ -26,7 +26,7 @@ exports[`dotcom-ui-shell/src/components/Shell renders the GTM script when the en
26
26
  name="viewport"
27
27
  />
28
28
  <title>
29
- Foo | Financial Times
29
+ Foo
30
30
  </title>
31
31
  <meta
32
32
  content="index,follow,max-snippet:200,max-image-preview:large"
@@ -264,13 +264,13 @@ exports[`dotcom-ui-shell/src/components/Shell renders the GTM script when the en
264
264
  dangerouslySetInnerHTML={
265
265
  Object {
266
266
  "__html": "(function loadCustomFonts() {
267
- var rootElement = document.documentElement;
268
- if (/(^|\\\\s)o-typography-fonts-loaded=1(;|$)/.test(document.cookie)) {
269
- var fontLabels = ['sans', 'sans-bold', 'display', 'display-bold'];
270
- for (var i = 0; i < fontLabels.length; i++) {
271
- rootElement.className = rootElement.className.replace('o-typography--loading-' + fontLabels[i], '');
272
- }
267
+ var rootElement = document.documentElement;
268
+ if (/(^|\\\\s)o-typography-fonts-loaded=1(;|$)/.test(document.cookie)) {
269
+ var fontLabels = ['sans', 'sans-bold', 'display', 'display-bold'];
270
+ for (var i = 0; i < fontLabels.length; i++) {
271
+ rootElement.className = rootElement.className.replace('o-typography--loading-' + fontLabels[i], '');
273
272
  }
273
+ }
274
274
  }());",
275
275
  }
276
276
  }
@@ -25,7 +25,7 @@ const DocumentHead = (props: TDocumentHeadProps) => (
25
25
  <meta httpEquiv="X-UA-Compatible" content="IE=edge" />
26
26
  <meta name="viewport" content="width=device-width, initial-scale=1" />
27
27
 
28
- <title>{props.pageTitle ? `${props.pageTitle} | ${props.siteTitle}` : props.siteTitle}</title>
28
+ <title>{props.pageTitle ? `${props.pageTitle}` : props.siteTitle}</title>
29
29
 
30
30
  {props.description && <meta name="description" content={props.description} />}
31
31