@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.
- package/dist/node/components/DocumentHead.js +1 -1
- package/dist/node/components/GTMBody.d.ts +0 -1
- package/dist/node/components/GTMHead.d.ts +0 -1
- package/dist/node/components/LinkedData.d.ts +0 -1
- package/dist/node/components/OpenGraph.d.ts +0 -1
- package/dist/node/components/ResourceHints.d.ts +0 -1
- package/dist/node/components/Shell.d.ts +0 -1
- package/dist/node/components/Shell.js +1 -1
- package/dist/node/components/StyleSheets.d.ts +0 -1
- package/dist/node/index.js +1 -1
- package/dist/tsconfig.tsbuildinfo +788 -82
- package/package.json +6 -6
- package/src/__test__/components/__snapshots__/DocumentHead.test.tsx.snap +1 -1
- package/src/__test__/components/__snapshots__/Shell.test.tsx.snap +7 -7
- package/src/components/DocumentHead.tsx +1 -1
@@ -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}
|
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 }),
|
@@ -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
|
};
|
package/dist/node/index.js
CHANGED
@@ -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" && !
|
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);
|