@financial-times/dotcom-ui-shell 8.2.1 → 9.0.0-beta.10
Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,7 @@ export declare type TDocumentHeadProps = TOpenGraphProps & TLinkedDataProps & {
|
|
20
20
|
declare const DocumentHead: {
|
21
21
|
(props: TDocumentHeadProps): JSX.Element;
|
22
22
|
defaultProps: {
|
23
|
+
description: string;
|
23
24
|
facebookPage: string;
|
24
25
|
googleSiteVerification: string;
|
25
26
|
metaTags: any[];
|
@@ -30,6 +30,7 @@ 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',
|
33
34
|
facebookPage: '8860325749',
|
34
35
|
googleSiteVerification: '4-t8sFaPvpO5FH_Gnw1dkM28CQepjzo8UjjAkdDflTw',
|
35
36
|
metaTags: [],
|
@@ -192,8 +192,8 @@
|
|
192
192
|
"affectsGlobalScope": false
|
193
193
|
},
|
194
194
|
"../src/components/DocumentHead.tsx": {
|
195
|
-
"version": "
|
196
|
-
"signature": "
|
195
|
+
"version": "04dfff4f915890f2a29a475c715e15dd3e538aa1b72e95dceae74b56144bcebf",
|
196
|
+
"signature": "ceb7a7762a5b7c2dcbcb765c5e27c38068d48909eb91a007d4356ff51dc24622",
|
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": "
|
3
|
+
"version": "9.0.0-beta.10",
|
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": "^
|
24
|
-
"@financial-times/dotcom-ui-base-styles": "^
|
25
|
-
"@financial-times/dotcom-ui-bootstrap": "^
|
26
|
-
"@financial-times/dotcom-ui-flags": "^
|
27
|
-
"@financial-times/dotcom-ui-polyfill-service": "^
|
23
|
+
"@financial-times/dotcom-ui-app-context": "^9.0.0-beta.10",
|
24
|
+
"@financial-times/dotcom-ui-base-styles": "^9.0.0-beta.10",
|
25
|
+
"@financial-times/dotcom-ui-bootstrap": "^9.0.0-beta.10",
|
26
|
+
"@financial-times/dotcom-ui-flags": "^9.0.0-beta.10",
|
27
|
+
"@financial-times/dotcom-ui-polyfill-service": "^9.0.0-beta.10",
|
28
28
|
"mime-types": "^2.1.26"
|
29
29
|
},
|
30
30
|
"peerDependencies": {
|
@@ -28,6 +28,10 @@ exports[`dotcom-ui-shell/src/components/Shell renders the GTM script when the en
|
|
28
28
|
<title>
|
29
29
|
Foo | Financial Times
|
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
|
+
/>
|
31
35
|
<meta
|
32
36
|
content="index,follow,max-snippet:200,max-image-preview:large"
|
33
37
|
name="robots"
|
@@ -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,6 +86,8 @@ 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',
|
89
91
|
facebookPage: '8860325749',
|
90
92
|
googleSiteVerification: '4-t8sFaPvpO5FH_Gnw1dkM28CQepjzo8UjjAkdDflTw',
|
91
93
|
metaTags: [],
|