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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 }),
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TFlagsData } from '@financial-times/dotcom-ui-flags/src/types';
3
2
  declare const GTMBody: {
4
3
  ({ flags }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TFlagsData } from '@financial-times/dotcom-ui-flags/src/types';
3
2
  declare const GTMHead: {
4
3
  ({ flags }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TLinkedDataProps = {
3
2
  jsonLd?: {
4
3
  [key: string]: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TOpenGraphData } from '../lib/flattenOpenGraphData';
3
2
  export declare type TOpenGraphProps = {
4
3
  openGraph?: TOpenGraphData;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TResourceHintsProps = {
3
2
  resourceHints?: string[];
4
3
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import Content, { TContentProps } from './Content';
3
2
  import DocumentHead, { TDocumentHeadProps } from './DocumentHead';
4
3
  import { TStylesheetProps } from './StyleSheets';
@@ -14,7 +14,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
14
14
  var __importStar = (this && this.__importStar) || function (mod) {
15
15
  if (mod && mod.__esModule) return mod;
16
16
  var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type TStylesheetProps = {
3
2
  criticalStyles?: string;
4
3
  stylesheets?: string[];
@@ -7,7 +7,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
7
7
  o[k2] = m[k];
8
8
  }));
9
9
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./components/Shell"), exports);