@financial-times/dotcom-ui-shell 9.0.0-beta.14 → 9.0.0-beta.16

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.
@@ -20,7 +20,6 @@ export declare type TDocumentHeadProps = TOpenGraphProps & TLinkedDataProps & {
20
20
  declare const DocumentHead: {
21
21
  (props: TDocumentHeadProps): JSX.Element;
22
22
  defaultProps: {
23
- description: string;
24
23
  facebookPage: string;
25
24
  googleSiteVerification: string;
26
25
  metaTags: any[];
@@ -11,7 +11,7 @@ const DocumentHead = (props) => (react_1.default.createElement(react_1.default.F
11
11
  react_1.default.createElement("meta", { charSet: "utf-8" }),
12
12
  react_1.default.createElement("meta", { httpEquiv: "X-UA-Compatible", content: "IE=edge" }),
13
13
  react_1.default.createElement("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }),
14
- react_1.default.createElement("title", null, props.pageTitle ? `${props.pageTitle} | ${props.siteTitle}` : props.siteTitle),
14
+ react_1.default.createElement("title", null, props.pageTitle ? `${props.pageTitle}` : props.siteTitle),
15
15
  props.description && react_1.default.createElement("meta", { name: "description", content: props.description }),
16
16
  props.canonicalURL && react_1.default.createElement("link", { rel: "canonical", href: props.canonicalURL }),
17
17
  react_1.default.createElement("meta", { name: "robots", content: props.robots }),
@@ -30,7 +30,6 @@ const DocumentHead = (props) => (react_1.default.createElement(react_1.default.F
30
30
  props.manifestFile ? react_1.default.createElement("link", { rel: "manifest", href: props.manifestFile }) : null,
31
31
  props.additionalMetadata));
32
32
  DocumentHead.defaultProps = {
33
- description: 'News, analysis and comment from the Financial Times, the worldʼs leading global business publication',
34
33
  facebookPage: '8860325749',
35
34
  googleSiteVerification: '4-t8sFaPvpO5FH_Gnw1dkM28CQepjzo8UjjAkdDflTw',
36
35
  metaTags: [],
@@ -192,8 +192,8 @@
192
192
  "affectsGlobalScope": false
193
193
  },
194
194
  "../src/components/DocumentHead.tsx": {
195
- "version": "04dfff4f915890f2a29a475c715e15dd3e538aa1b72e95dceae74b56144bcebf",
196
- "signature": "ceb7a7762a5b7c2dcbcb765c5e27c38068d48909eb91a007d4356ff51dc24622",
195
+ "version": "f300ef652801ea46b0dcc80a5c60521b5364f11682ee0fff242e21223560d63c",
196
+ "signature": "f65bd9263fe3e1fb5f8a7b7571d6b30118b3e2bf5882954d1cbeac08744e6c6c",
197
197
  "affectsGlobalScope": false
198
198
  },
199
199
  "../src/lib/loadAsyncStylesheets.ts": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/dotcom-ui-shell",
3
- "version": "9.0.0-beta.14",
3
+ "version": "9.0.0-beta.16",
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": "^9.0.0-beta.14",
24
- "@financial-times/dotcom-ui-base-styles": "^9.0.0-beta.14",
25
- "@financial-times/dotcom-ui-bootstrap": "^9.0.0-beta.14",
26
- "@financial-times/dotcom-ui-flags": "^9.0.0-beta.14",
27
- "@financial-times/dotcom-ui-polyfill-service": "^9.0.0-beta.14",
23
+ "@financial-times/dotcom-ui-app-context": "^9.0.0-beta.16",
24
+ "@financial-times/dotcom-ui-base-styles": "^9.0.0-beta.16",
25
+ "@financial-times/dotcom-ui-bootstrap": "^9.0.0-beta.16",
26
+ "@financial-times/dotcom-ui-flags": "^9.0.0-beta.16",
27
+ "@financial-times/dotcom-ui-polyfill-service": "^9.0.0-beta.16",
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,12 +26,8 @@ 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
- <meta
32
- content="News, analysis and comment from the Financial Times, the worldʼs leading global business publication"
33
- name="description"
34
- />
35
31
  <meta
36
32
  content="index,follow,max-snippet:200,max-image-preview:large"
37
33
  name="robots"
@@ -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
 
@@ -45,7 +45,7 @@ const DocumentHead = (props: TDocumentHeadProps) => (
45
45
  <OpenGraph openGraph={props.openGraph} />
46
46
 
47
47
  {/* native apps */}
48
- {props.showSmartBanner &&
48
+ {props.showSmartBanner &&
49
49
  (
50
50
  <meta
51
51
  name="apple-itunes-app"
@@ -86,8 +86,6 @@ const DocumentHead = (props: TDocumentHeadProps) => (
86
86
  )
87
87
 
88
88
  DocumentHead.defaultProps = {
89
- description:
90
- 'News, analysis and comment from the Financial Times, the worldʼs leading global business publication',
91
89
  facebookPage: '8860325749',
92
90
  googleSiteVerification: '4-t8sFaPvpO5FH_Gnw1dkM28CQepjzo8UjjAkdDflTw',
93
91
  metaTags: [],