Comparing version 1.2.66 to 1.2.69
@@ -6,2 +6,26 @@ # Change Log | ||
## [1.2.69](https://github.com/muy/metax/compare/v1.2.68...v1.2.69) (2021-02-27) | ||
**Note:** Version bump only for package metax | ||
## [1.2.68](https://github.com/muy/metax/compare/v1.2.67...v1.2.68) (2021-02-27) | ||
**Note:** Version bump only for package metax | ||
## [1.2.67](https://github.com/muy/metax/compare/v1.2.66...v1.2.67) (2021-02-27) | ||
**Note:** Version bump only for package metax | ||
## [1.2.66](https://github.com/muy/metax/compare/v1.2.65...v1.2.66) (2021-02-27) | ||
@@ -8,0 +32,0 @@ |
@@ -99,6 +99,6 @@ 'use strict'; | ||
var defaultProps = { | ||
var defaultProps$f = { | ||
name: "application-name" | ||
}; | ||
var nameTypes = ["application-name", "apple-mobile-web-app-title"]; | ||
var nameTypes$3 = ["application-name", "apple-mobile-web-app-title"]; | ||
/** | ||
@@ -116,6 +116,6 @@ * Defines the name of the site application instance | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$f.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes.includes(name) ? name : defaultProps.name | ||
name: content && nameTypes$3.includes(name) ? name : defaultProps$f.name | ||
}; | ||
@@ -125,6 +125,6 @@ }; | ||
content: PropTypes__default['default'].string.isRequired, | ||
name: PropTypes__default['default'].oneOf(nameTypes) | ||
name: PropTypes__default['default'].oneOf(nameTypes$3) | ||
}; | ||
var contentTypes = ["no"]; | ||
var contentTypes$2 = ["no"]; | ||
/** | ||
@@ -151,3 +151,3 @@ * Link highlighting | ||
applicationTapHighlightMeta.propTypes = { | ||
content: PropTypes__default['default'].oneOf(contentTypes) | ||
content: PropTypes__default['default'].oneOf(contentTypes$2) | ||
}; | ||
@@ -244,3 +244,3 @@ | ||
var defaultProps$1 = { | ||
var defaultProps$e = { | ||
content: "Global" | ||
@@ -254,3 +254,3 @@ }; | ||
var distributionMeta = function distributionMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$1, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$e, | ||
content = _ref.content; | ||
@@ -280,3 +280,3 @@ | ||
var defaultProps$2 = { | ||
var defaultProps$d = { | ||
value: "yes" | ||
@@ -303,3 +303,3 @@ }; | ||
_ref$value = _ref.value, | ||
value = _ref$value === void 0 ? defaultProps$2.value : _ref$value; | ||
value = _ref$value === void 0 ? defaultProps$d.value : _ref$value; | ||
var content = keyTypes.includes(key) && valueTypes.includes(value) && "".concat(key, "=").concat(value); | ||
@@ -311,3 +311,3 @@ return { | ||
}; | ||
formatDetectionMeta.defaultProps = defaultProps$2; | ||
formatDetectionMeta.defaultProps = defaultProps$d; | ||
/** | ||
@@ -348,3 +348,3 @@ * @type {string[]} | ||
var defaultProps$3 = { | ||
var defaultProps$c = { | ||
schema: "og" | ||
@@ -359,3 +359,3 @@ }; | ||
var imageAltMeta = function imageAltMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$3, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$c, | ||
content = _ref.content, | ||
@@ -370,3 +370,3 @@ schema = _ref.schema; | ||
}; | ||
imageAltMeta.defaultProps = defaultProps$3; | ||
imageAltMeta.defaultProps = defaultProps$c; | ||
@@ -382,3 +382,3 @@ var imageMeta = function imageMeta(_ref) { | ||
var defaultProps$4 = { | ||
var defaultProps$b = { | ||
type: "image" | ||
@@ -394,3 +394,3 @@ }; | ||
var ogObjectDimensionMeta = function ogObjectDimensionMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$4, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$b, | ||
content = _ref.content, | ||
@@ -405,5 +405,5 @@ property = _ref.property, | ||
}; | ||
ogObjectDimensionMeta.defaultProps = defaultProps$4; | ||
ogObjectDimensionMeta.defaultProps = defaultProps$b; | ||
var defaultProps$5 = { | ||
var defaultProps$a = { | ||
type: "image" | ||
@@ -418,3 +418,3 @@ }; | ||
var ogObjectTypeMeta = function ogObjectTypeMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$5, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$a, | ||
content = _ref.content, | ||
@@ -428,3 +428,3 @@ type = _ref.type; | ||
}; | ||
ogObjectTypeMeta.defaultProps = defaultProps$5; | ||
ogObjectTypeMeta.defaultProps = defaultProps$a; | ||
@@ -516,3 +516,3 @@ var getImageMetaProps = function getImageMetaProps(image, index) { | ||
var defaultProps$6 = { | ||
var defaultProps$9 = { | ||
content: "yes", | ||
@@ -522,3 +522,3 @@ name: "mobile-web-app-capable" | ||
var contentTypes$1 = ["yes"]; | ||
var nameTypes$1 = ["apple-mobile-web-app-capable", "mobile-web-app-capable"]; | ||
var nameTypes$2 = ["apple-mobile-web-app-capable", "mobile-web-app-capable"]; | ||
/** | ||
@@ -535,3 +535,3 @@ * Sets whether a web application runs in full-screen mode. | ||
var mobileWebAppCapableMeta = function mobileWebAppCapableMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$6, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$9, | ||
content = _ref.content, | ||
@@ -543,3 +543,3 @@ name = _ref.name; | ||
content: content, | ||
name: content && nameTypes$1.includes(name) ? name : defaultProps$6.name | ||
name: content && nameTypes$2.includes(name) ? name : defaultProps$9.name | ||
}; | ||
@@ -549,3 +549,3 @@ }; | ||
content: PropTypes__default['default'].oneOf(contentTypes$1), | ||
name: PropTypes__default['default'].oneOf(nameTypes$1) | ||
name: PropTypes__default['default'].oneOf(nameTypes$2) | ||
}; | ||
@@ -569,3 +569,3 @@ | ||
var defaultProps$7 = { | ||
var defaultProps$8 = { | ||
alternate: false | ||
@@ -575,3 +575,3 @@ }; | ||
var ogLocaleMeta = function ogLocaleMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$7, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$8, | ||
content = _ref.content, | ||
@@ -586,3 +586,3 @@ alternate = _ref.alternate; | ||
ogLocaleMeta.defaultProps = defaultProps$7; | ||
ogLocaleMeta.defaultProps = defaultProps$8; | ||
@@ -597,3 +597,3 @@ var ogSiteNameMeta = function ogSiteNameMeta(_ref) { | ||
var defaultProps$8 = { | ||
var defaultProps$7 = { | ||
content: "website" | ||
@@ -606,3 +606,3 @@ }; | ||
var ogTypeMeta = function ogTypeMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$8, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$7, | ||
content = _ref.content; | ||
@@ -615,3 +615,3 @@ | ||
}; | ||
ogTypeMeta.defaultProps = defaultProps$8; | ||
ogTypeMeta.defaultProps = defaultProps$7; | ||
@@ -634,3 +634,3 @@ var ogUrlMeta = function ogUrlMeta(_ref) { | ||
var contentTypes$2 = [ | ||
var contentTypes = [ | ||
/** | ||
@@ -651,3 +651,3 @@ * The black setting has a black background and black text and symbols | ||
"default"]; | ||
var defaultProps$9 = { | ||
var defaultProps$6 = { | ||
content: "default" | ||
@@ -664,17 +664,17 @@ }; | ||
var _ref$content = _ref.content, | ||
content = _ref$content === void 0 ? defaultProps$9.content : _ref$content; | ||
content = _ref$content === void 0 ? defaultProps$6.content : _ref$content; | ||
return { | ||
content: contentTypes$2.includes(content) ? content : defaultProps$9.content, | ||
content: contentTypes.includes(content) ? content : defaultProps$6.content, | ||
name: content && "apple-mobile-web-app-status-bar-style" | ||
}; | ||
}; | ||
statusBarStyleMeta.defaultProps = defaultProps$9; | ||
statusBarStyleMeta.defaultProps = defaultProps$6; | ||
statusBarStyleMeta.propTypes = { | ||
content: PropTypes__default['default'].oneOf(contentTypes$2) | ||
content: PropTypes__default['default'].oneOf(contentTypes) | ||
}; | ||
var defaultProps$a = { | ||
var defaultProps$5 = { | ||
name: "theme-color" | ||
}; | ||
var nameTypes$2 = ["msapplication-navbutton-color", "msapplication-TileColor", "theme-color"]; | ||
var nameTypes$1 = ["msapplication-navbutton-color", "msapplication-TileColor", "theme-color"]; | ||
/** | ||
@@ -699,6 +699,6 @@ * Indicates a color associated with the web site's theme. | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps$a.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$5.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes$2.includes(name) ? name : defaultProps$a.name | ||
name: content && nameTypes$1.includes(name) ? name : defaultProps$5.name | ||
}; | ||
@@ -708,3 +708,3 @@ }; | ||
content: PropTypes__default['default'].string.isRequired, | ||
name: PropTypes__default['default'].oneOf(nameTypes$2) | ||
name: PropTypes__default['default'].oneOf(nameTypes$1) | ||
}; | ||
@@ -721,3 +721,3 @@ | ||
var defaultProps$b = { | ||
var defaultProps$4 = { | ||
content: "summary" | ||
@@ -731,3 +731,3 @@ }; | ||
var twitterCardMeta = function twitterCardMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$b, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$4, | ||
content = _ref.content; | ||
@@ -742,3 +742,3 @@ | ||
twitterCardMeta.defaultProps = defaultProps$b; | ||
twitterCardMeta.defaultProps = defaultProps$4; | ||
@@ -835,6 +835,6 @@ var twitterCreatorMeta = function twitterCreatorMeta(_ref) { | ||
var defaultProps$c = { | ||
var defaultProps$3 = { | ||
name: "application-url" | ||
}; | ||
var nameTypes$3 = ["application-url", "msapplication-starturl"]; | ||
var nameTypes = ["application-url", "msapplication-starturl"]; | ||
/** | ||
@@ -856,12 +856,12 @@ * Start URL of web apps | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps$c.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$3.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes$3.includes(name) ? name : "application-url" | ||
name: content && nameTypes.includes(name) ? name : "application-url" | ||
}; | ||
}; | ||
applicationUrlMeta.defaultProps = defaultProps$c; | ||
applicationUrlMeta.defaultProps = defaultProps$3; | ||
applicationUrlMeta.propTypes = { | ||
content: PropTypes__default['default'].string.isRequired, | ||
name: PropTypes__default['default'].oneOf(nameTypes$3) | ||
name: PropTypes__default['default'].oneOf(nameTypes) | ||
}; | ||
@@ -1113,3 +1113,3 @@ | ||
var defaultProps$d = { | ||
var defaultProps$2 = { | ||
siteMetadata: {} | ||
@@ -1123,3 +1123,3 @@ }; | ||
var mergeProps = function mergeProps() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$d, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$2, | ||
siteMetadata = _ref.siteMetadata, | ||
@@ -1133,3 +1133,3 @@ props = _objectWithoutProperties(_ref, ["siteMetadata"]); | ||
}; | ||
mergeProps.defaultProps = defaultProps$d; | ||
mergeProps.defaultProps = defaultProps$2; | ||
mergeProps.propTypes = { | ||
@@ -1145,3 +1145,3 @@ author: PropTypes__default['default'].string, | ||
var defaultProps$e = { | ||
var defaultProps$1 = { | ||
itemScope: true, | ||
@@ -1152,3 +1152,3 @@ itemType: "https://schema.org/WebSite" | ||
var htmlAttributes = function htmlAttributes() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$e, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$1, | ||
itemScope = _ref.itemScope, | ||
@@ -1165,3 +1165,3 @@ itemType = _ref.itemType, | ||
htmlAttributes.defaultProps = defaultProps$e; | ||
htmlAttributes.defaultProps = defaultProps$1; | ||
/** | ||
@@ -1178,3 +1178,3 @@ * @todo Set itemType to an enum of items at https://schema.org/docs/full.html | ||
var defaultProps$f = { | ||
var defaultProps = { | ||
itemProp: "name" | ||
@@ -1184,3 +1184,3 @@ }; | ||
var titleAttributes = function titleAttributes() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$f, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps, | ||
itemProp = _ref.itemProp, | ||
@@ -1195,3 +1195,3 @@ lang = _ref.lang; | ||
titleAttributes.defaultProps = defaultProps$f; | ||
titleAttributes.defaultProps = defaultProps; | ||
titleAttributes.propTypes = { | ||
@@ -1198,0 +1198,0 @@ itemProp: PropTypes__default['default'].string, |
@@ -90,6 +90,6 @@ import React from 'react'; | ||
var defaultProps = { | ||
var defaultProps$f = { | ||
name: "application-name" | ||
}; | ||
var nameTypes = ["application-name", "apple-mobile-web-app-title"]; | ||
var nameTypes$3 = ["application-name", "apple-mobile-web-app-title"]; | ||
/** | ||
@@ -107,6 +107,6 @@ * Defines the name of the site application instance | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$f.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes.includes(name) ? name : defaultProps.name | ||
name: content && nameTypes$3.includes(name) ? name : defaultProps$f.name | ||
}; | ||
@@ -116,6 +116,6 @@ }; | ||
content: PropTypes.string.isRequired, | ||
name: PropTypes.oneOf(nameTypes) | ||
name: PropTypes.oneOf(nameTypes$3) | ||
}; | ||
var contentTypes = ["no"]; | ||
var contentTypes$2 = ["no"]; | ||
/** | ||
@@ -142,3 +142,3 @@ * Link highlighting | ||
applicationTapHighlightMeta.propTypes = { | ||
content: PropTypes.oneOf(contentTypes) | ||
content: PropTypes.oneOf(contentTypes$2) | ||
}; | ||
@@ -235,3 +235,3 @@ | ||
var defaultProps$1 = { | ||
var defaultProps$e = { | ||
content: "Global" | ||
@@ -245,3 +245,3 @@ }; | ||
var distributionMeta = function distributionMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$1, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$e, | ||
content = _ref.content; | ||
@@ -271,3 +271,3 @@ | ||
var defaultProps$2 = { | ||
var defaultProps$d = { | ||
value: "yes" | ||
@@ -294,3 +294,3 @@ }; | ||
_ref$value = _ref.value, | ||
value = _ref$value === void 0 ? defaultProps$2.value : _ref$value; | ||
value = _ref$value === void 0 ? defaultProps$d.value : _ref$value; | ||
var content = keyTypes.includes(key) && valueTypes.includes(value) && "".concat(key, "=").concat(value); | ||
@@ -302,3 +302,3 @@ return { | ||
}; | ||
formatDetectionMeta.defaultProps = defaultProps$2; | ||
formatDetectionMeta.defaultProps = defaultProps$d; | ||
/** | ||
@@ -339,3 +339,3 @@ * @type {string[]} | ||
var defaultProps$3 = { | ||
var defaultProps$c = { | ||
schema: "og" | ||
@@ -350,3 +350,3 @@ }; | ||
var imageAltMeta = function imageAltMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$3, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$c, | ||
content = _ref.content, | ||
@@ -361,3 +361,3 @@ schema = _ref.schema; | ||
}; | ||
imageAltMeta.defaultProps = defaultProps$3; | ||
imageAltMeta.defaultProps = defaultProps$c; | ||
@@ -373,3 +373,3 @@ var imageMeta = function imageMeta(_ref) { | ||
var defaultProps$4 = { | ||
var defaultProps$b = { | ||
type: "image" | ||
@@ -385,3 +385,3 @@ }; | ||
var ogObjectDimensionMeta = function ogObjectDimensionMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$4, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$b, | ||
content = _ref.content, | ||
@@ -396,5 +396,5 @@ property = _ref.property, | ||
}; | ||
ogObjectDimensionMeta.defaultProps = defaultProps$4; | ||
ogObjectDimensionMeta.defaultProps = defaultProps$b; | ||
var defaultProps$5 = { | ||
var defaultProps$a = { | ||
type: "image" | ||
@@ -409,3 +409,3 @@ }; | ||
var ogObjectTypeMeta = function ogObjectTypeMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$5, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$a, | ||
content = _ref.content, | ||
@@ -419,3 +419,3 @@ type = _ref.type; | ||
}; | ||
ogObjectTypeMeta.defaultProps = defaultProps$5; | ||
ogObjectTypeMeta.defaultProps = defaultProps$a; | ||
@@ -507,3 +507,3 @@ var getImageMetaProps = function getImageMetaProps(image, index) { | ||
var defaultProps$6 = { | ||
var defaultProps$9 = { | ||
content: "yes", | ||
@@ -513,3 +513,3 @@ name: "mobile-web-app-capable" | ||
var contentTypes$1 = ["yes"]; | ||
var nameTypes$1 = ["apple-mobile-web-app-capable", "mobile-web-app-capable"]; | ||
var nameTypes$2 = ["apple-mobile-web-app-capable", "mobile-web-app-capable"]; | ||
/** | ||
@@ -526,3 +526,3 @@ * Sets whether a web application runs in full-screen mode. | ||
var mobileWebAppCapableMeta = function mobileWebAppCapableMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$6, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$9, | ||
content = _ref.content, | ||
@@ -534,3 +534,3 @@ name = _ref.name; | ||
content: content, | ||
name: content && nameTypes$1.includes(name) ? name : defaultProps$6.name | ||
name: content && nameTypes$2.includes(name) ? name : defaultProps$9.name | ||
}; | ||
@@ -540,3 +540,3 @@ }; | ||
content: PropTypes.oneOf(contentTypes$1), | ||
name: PropTypes.oneOf(nameTypes$1) | ||
name: PropTypes.oneOf(nameTypes$2) | ||
}; | ||
@@ -560,3 +560,3 @@ | ||
var defaultProps$7 = { | ||
var defaultProps$8 = { | ||
alternate: false | ||
@@ -566,3 +566,3 @@ }; | ||
var ogLocaleMeta = function ogLocaleMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$7, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$8, | ||
content = _ref.content, | ||
@@ -577,3 +577,3 @@ alternate = _ref.alternate; | ||
ogLocaleMeta.defaultProps = defaultProps$7; | ||
ogLocaleMeta.defaultProps = defaultProps$8; | ||
@@ -588,3 +588,3 @@ var ogSiteNameMeta = function ogSiteNameMeta(_ref) { | ||
var defaultProps$8 = { | ||
var defaultProps$7 = { | ||
content: "website" | ||
@@ -597,3 +597,3 @@ }; | ||
var ogTypeMeta = function ogTypeMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$8, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$7, | ||
content = _ref.content; | ||
@@ -606,3 +606,3 @@ | ||
}; | ||
ogTypeMeta.defaultProps = defaultProps$8; | ||
ogTypeMeta.defaultProps = defaultProps$7; | ||
@@ -625,3 +625,3 @@ var ogUrlMeta = function ogUrlMeta(_ref) { | ||
var contentTypes$2 = [ | ||
var contentTypes = [ | ||
/** | ||
@@ -642,3 +642,3 @@ * The black setting has a black background and black text and symbols | ||
"default"]; | ||
var defaultProps$9 = { | ||
var defaultProps$6 = { | ||
content: "default" | ||
@@ -655,17 +655,17 @@ }; | ||
var _ref$content = _ref.content, | ||
content = _ref$content === void 0 ? defaultProps$9.content : _ref$content; | ||
content = _ref$content === void 0 ? defaultProps$6.content : _ref$content; | ||
return { | ||
content: contentTypes$2.includes(content) ? content : defaultProps$9.content, | ||
content: contentTypes.includes(content) ? content : defaultProps$6.content, | ||
name: content && "apple-mobile-web-app-status-bar-style" | ||
}; | ||
}; | ||
statusBarStyleMeta.defaultProps = defaultProps$9; | ||
statusBarStyleMeta.defaultProps = defaultProps$6; | ||
statusBarStyleMeta.propTypes = { | ||
content: PropTypes.oneOf(contentTypes$2) | ||
content: PropTypes.oneOf(contentTypes) | ||
}; | ||
var defaultProps$a = { | ||
var defaultProps$5 = { | ||
name: "theme-color" | ||
}; | ||
var nameTypes$2 = ["msapplication-navbutton-color", "msapplication-TileColor", "theme-color"]; | ||
var nameTypes$1 = ["msapplication-navbutton-color", "msapplication-TileColor", "theme-color"]; | ||
/** | ||
@@ -690,6 +690,6 @@ * Indicates a color associated with the web site's theme. | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps$a.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$5.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes$2.includes(name) ? name : defaultProps$a.name | ||
name: content && nameTypes$1.includes(name) ? name : defaultProps$5.name | ||
}; | ||
@@ -699,3 +699,3 @@ }; | ||
content: PropTypes.string.isRequired, | ||
name: PropTypes.oneOf(nameTypes$2) | ||
name: PropTypes.oneOf(nameTypes$1) | ||
}; | ||
@@ -712,3 +712,3 @@ | ||
var defaultProps$b = { | ||
var defaultProps$4 = { | ||
content: "summary" | ||
@@ -722,3 +722,3 @@ }; | ||
var twitterCardMeta = function twitterCardMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$b, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$4, | ||
content = _ref.content; | ||
@@ -733,3 +733,3 @@ | ||
twitterCardMeta.defaultProps = defaultProps$b; | ||
twitterCardMeta.defaultProps = defaultProps$4; | ||
@@ -826,6 +826,6 @@ var twitterCreatorMeta = function twitterCreatorMeta(_ref) { | ||
var defaultProps$c = { | ||
var defaultProps$3 = { | ||
name: "application-url" | ||
}; | ||
var nameTypes$3 = ["application-url", "msapplication-starturl"]; | ||
var nameTypes = ["application-url", "msapplication-starturl"]; | ||
/** | ||
@@ -847,12 +847,12 @@ * Start URL of web apps | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps$c.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$3.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes$3.includes(name) ? name : "application-url" | ||
name: content && nameTypes.includes(name) ? name : "application-url" | ||
}; | ||
}; | ||
applicationUrlMeta.defaultProps = defaultProps$c; | ||
applicationUrlMeta.defaultProps = defaultProps$3; | ||
applicationUrlMeta.propTypes = { | ||
content: PropTypes.string.isRequired, | ||
name: PropTypes.oneOf(nameTypes$3) | ||
name: PropTypes.oneOf(nameTypes) | ||
}; | ||
@@ -1104,3 +1104,3 @@ | ||
var defaultProps$d = { | ||
var defaultProps$2 = { | ||
siteMetadata: {} | ||
@@ -1114,3 +1114,3 @@ }; | ||
var mergeProps = function mergeProps() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$d, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$2, | ||
siteMetadata = _ref.siteMetadata, | ||
@@ -1124,3 +1124,3 @@ props = _objectWithoutProperties(_ref, ["siteMetadata"]); | ||
}; | ||
mergeProps.defaultProps = defaultProps$d; | ||
mergeProps.defaultProps = defaultProps$2; | ||
mergeProps.propTypes = { | ||
@@ -1136,3 +1136,3 @@ author: PropTypes.string, | ||
var defaultProps$e = { | ||
var defaultProps$1 = { | ||
itemScope: true, | ||
@@ -1143,3 +1143,3 @@ itemType: "https://schema.org/WebSite" | ||
var htmlAttributes = function htmlAttributes() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$e, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$1, | ||
itemScope = _ref.itemScope, | ||
@@ -1156,3 +1156,3 @@ itemType = _ref.itemType, | ||
htmlAttributes.defaultProps = defaultProps$e; | ||
htmlAttributes.defaultProps = defaultProps$1; | ||
/** | ||
@@ -1169,3 +1169,3 @@ * @todo Set itemType to an enum of items at https://schema.org/docs/full.html | ||
var defaultProps$f = { | ||
var defaultProps = { | ||
itemProp: "name" | ||
@@ -1175,3 +1175,3 @@ }; | ||
var titleAttributes = function titleAttributes() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$f, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps, | ||
itemProp = _ref.itemProp, | ||
@@ -1186,3 +1186,3 @@ lang = _ref.lang; | ||
titleAttributes.defaultProps = defaultProps$f; | ||
titleAttributes.defaultProps = defaultProps; | ||
titleAttributes.propTypes = { | ||
@@ -1189,0 +1189,0 @@ itemProp: PropTypes.string, |
@@ -97,6 +97,6 @@ (function (global, factory) { | ||
var defaultProps = { | ||
var defaultProps$f = { | ||
name: "application-name" | ||
}; | ||
var nameTypes = ["application-name", "apple-mobile-web-app-title"]; | ||
var nameTypes$3 = ["application-name", "apple-mobile-web-app-title"]; | ||
/** | ||
@@ -114,6 +114,6 @@ * Defines the name of the site application instance | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$f.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes.includes(name) ? name : defaultProps.name | ||
name: content && nameTypes$3.includes(name) ? name : defaultProps$f.name | ||
}; | ||
@@ -123,6 +123,6 @@ }; | ||
content: PropTypes__default['default'].string.isRequired, | ||
name: PropTypes__default['default'].oneOf(nameTypes) | ||
name: PropTypes__default['default'].oneOf(nameTypes$3) | ||
}; | ||
var contentTypes = ["no"]; | ||
var contentTypes$2 = ["no"]; | ||
/** | ||
@@ -149,3 +149,3 @@ * Link highlighting | ||
applicationTapHighlightMeta.propTypes = { | ||
content: PropTypes__default['default'].oneOf(contentTypes) | ||
content: PropTypes__default['default'].oneOf(contentTypes$2) | ||
}; | ||
@@ -242,3 +242,3 @@ | ||
var defaultProps$1 = { | ||
var defaultProps$e = { | ||
content: "Global" | ||
@@ -252,3 +252,3 @@ }; | ||
var distributionMeta = function distributionMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$1, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$e, | ||
content = _ref.content; | ||
@@ -278,3 +278,3 @@ | ||
var defaultProps$2 = { | ||
var defaultProps$d = { | ||
value: "yes" | ||
@@ -301,3 +301,3 @@ }; | ||
_ref$value = _ref.value, | ||
value = _ref$value === void 0 ? defaultProps$2.value : _ref$value; | ||
value = _ref$value === void 0 ? defaultProps$d.value : _ref$value; | ||
var content = keyTypes.includes(key) && valueTypes.includes(value) && "".concat(key, "=").concat(value); | ||
@@ -309,3 +309,3 @@ return { | ||
}; | ||
formatDetectionMeta.defaultProps = defaultProps$2; | ||
formatDetectionMeta.defaultProps = defaultProps$d; | ||
/** | ||
@@ -346,3 +346,3 @@ * @type {string[]} | ||
var defaultProps$3 = { | ||
var defaultProps$c = { | ||
schema: "og" | ||
@@ -357,3 +357,3 @@ }; | ||
var imageAltMeta = function imageAltMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$3, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$c, | ||
content = _ref.content, | ||
@@ -368,3 +368,3 @@ schema = _ref.schema; | ||
}; | ||
imageAltMeta.defaultProps = defaultProps$3; | ||
imageAltMeta.defaultProps = defaultProps$c; | ||
@@ -380,3 +380,3 @@ var imageMeta = function imageMeta(_ref) { | ||
var defaultProps$4 = { | ||
var defaultProps$b = { | ||
type: "image" | ||
@@ -392,3 +392,3 @@ }; | ||
var ogObjectDimensionMeta = function ogObjectDimensionMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$4, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$b, | ||
content = _ref.content, | ||
@@ -403,5 +403,5 @@ property = _ref.property, | ||
}; | ||
ogObjectDimensionMeta.defaultProps = defaultProps$4; | ||
ogObjectDimensionMeta.defaultProps = defaultProps$b; | ||
var defaultProps$5 = { | ||
var defaultProps$a = { | ||
type: "image" | ||
@@ -416,3 +416,3 @@ }; | ||
var ogObjectTypeMeta = function ogObjectTypeMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$5, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$a, | ||
content = _ref.content, | ||
@@ -426,3 +426,3 @@ type = _ref.type; | ||
}; | ||
ogObjectTypeMeta.defaultProps = defaultProps$5; | ||
ogObjectTypeMeta.defaultProps = defaultProps$a; | ||
@@ -514,3 +514,3 @@ var getImageMetaProps = function getImageMetaProps(image, index) { | ||
var defaultProps$6 = { | ||
var defaultProps$9 = { | ||
content: "yes", | ||
@@ -520,3 +520,3 @@ name: "mobile-web-app-capable" | ||
var contentTypes$1 = ["yes"]; | ||
var nameTypes$1 = ["apple-mobile-web-app-capable", "mobile-web-app-capable"]; | ||
var nameTypes$2 = ["apple-mobile-web-app-capable", "mobile-web-app-capable"]; | ||
/** | ||
@@ -533,3 +533,3 @@ * Sets whether a web application runs in full-screen mode. | ||
var mobileWebAppCapableMeta = function mobileWebAppCapableMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$6, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$9, | ||
content = _ref.content, | ||
@@ -541,3 +541,3 @@ name = _ref.name; | ||
content: content, | ||
name: content && nameTypes$1.includes(name) ? name : defaultProps$6.name | ||
name: content && nameTypes$2.includes(name) ? name : defaultProps$9.name | ||
}; | ||
@@ -547,3 +547,3 @@ }; | ||
content: PropTypes__default['default'].oneOf(contentTypes$1), | ||
name: PropTypes__default['default'].oneOf(nameTypes$1) | ||
name: PropTypes__default['default'].oneOf(nameTypes$2) | ||
}; | ||
@@ -567,3 +567,3 @@ | ||
var defaultProps$7 = { | ||
var defaultProps$8 = { | ||
alternate: false | ||
@@ -573,3 +573,3 @@ }; | ||
var ogLocaleMeta = function ogLocaleMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$7, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$8, | ||
content = _ref.content, | ||
@@ -584,3 +584,3 @@ alternate = _ref.alternate; | ||
ogLocaleMeta.defaultProps = defaultProps$7; | ||
ogLocaleMeta.defaultProps = defaultProps$8; | ||
@@ -595,3 +595,3 @@ var ogSiteNameMeta = function ogSiteNameMeta(_ref) { | ||
var defaultProps$8 = { | ||
var defaultProps$7 = { | ||
content: "website" | ||
@@ -604,3 +604,3 @@ }; | ||
var ogTypeMeta = function ogTypeMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$8, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$7, | ||
content = _ref.content; | ||
@@ -613,3 +613,3 @@ | ||
}; | ||
ogTypeMeta.defaultProps = defaultProps$8; | ||
ogTypeMeta.defaultProps = defaultProps$7; | ||
@@ -632,3 +632,3 @@ var ogUrlMeta = function ogUrlMeta(_ref) { | ||
var contentTypes$2 = [ | ||
var contentTypes = [ | ||
/** | ||
@@ -649,3 +649,3 @@ * The black setting has a black background and black text and symbols | ||
"default"]; | ||
var defaultProps$9 = { | ||
var defaultProps$6 = { | ||
content: "default" | ||
@@ -662,17 +662,17 @@ }; | ||
var _ref$content = _ref.content, | ||
content = _ref$content === void 0 ? defaultProps$9.content : _ref$content; | ||
content = _ref$content === void 0 ? defaultProps$6.content : _ref$content; | ||
return { | ||
content: contentTypes$2.includes(content) ? content : defaultProps$9.content, | ||
content: contentTypes.includes(content) ? content : defaultProps$6.content, | ||
name: content && "apple-mobile-web-app-status-bar-style" | ||
}; | ||
}; | ||
statusBarStyleMeta.defaultProps = defaultProps$9; | ||
statusBarStyleMeta.defaultProps = defaultProps$6; | ||
statusBarStyleMeta.propTypes = { | ||
content: PropTypes__default['default'].oneOf(contentTypes$2) | ||
content: PropTypes__default['default'].oneOf(contentTypes) | ||
}; | ||
var defaultProps$a = { | ||
var defaultProps$5 = { | ||
name: "theme-color" | ||
}; | ||
var nameTypes$2 = ["msapplication-navbutton-color", "msapplication-TileColor", "theme-color"]; | ||
var nameTypes$1 = ["msapplication-navbutton-color", "msapplication-TileColor", "theme-color"]; | ||
/** | ||
@@ -697,6 +697,6 @@ * Indicates a color associated with the web site's theme. | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps$a.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$5.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes$2.includes(name) ? name : defaultProps$a.name | ||
name: content && nameTypes$1.includes(name) ? name : defaultProps$5.name | ||
}; | ||
@@ -706,3 +706,3 @@ }; | ||
content: PropTypes__default['default'].string.isRequired, | ||
name: PropTypes__default['default'].oneOf(nameTypes$2) | ||
name: PropTypes__default['default'].oneOf(nameTypes$1) | ||
}; | ||
@@ -719,3 +719,3 @@ | ||
var defaultProps$b = { | ||
var defaultProps$4 = { | ||
content: "summary" | ||
@@ -729,3 +729,3 @@ }; | ||
var twitterCardMeta = function twitterCardMeta() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$b, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$4, | ||
content = _ref.content; | ||
@@ -740,3 +740,3 @@ | ||
twitterCardMeta.defaultProps = defaultProps$b; | ||
twitterCardMeta.defaultProps = defaultProps$4; | ||
@@ -833,6 +833,6 @@ var twitterCreatorMeta = function twitterCreatorMeta(_ref) { | ||
var defaultProps$c = { | ||
var defaultProps$3 = { | ||
name: "application-url" | ||
}; | ||
var nameTypes$3 = ["application-url", "msapplication-starturl"]; | ||
var nameTypes = ["application-url", "msapplication-starturl"]; | ||
/** | ||
@@ -854,12 +854,12 @@ * Start URL of web apps | ||
_ref$name = _ref.name, | ||
name = _ref$name === void 0 ? defaultProps$c.name : _ref$name; | ||
name = _ref$name === void 0 ? defaultProps$3.name : _ref$name; | ||
return { | ||
content: content, | ||
name: content && nameTypes$3.includes(name) ? name : "application-url" | ||
name: content && nameTypes.includes(name) ? name : "application-url" | ||
}; | ||
}; | ||
applicationUrlMeta.defaultProps = defaultProps$c; | ||
applicationUrlMeta.defaultProps = defaultProps$3; | ||
applicationUrlMeta.propTypes = { | ||
content: PropTypes__default['default'].string.isRequired, | ||
name: PropTypes__default['default'].oneOf(nameTypes$3) | ||
name: PropTypes__default['default'].oneOf(nameTypes) | ||
}; | ||
@@ -1111,3 +1111,3 @@ | ||
var defaultProps$d = { | ||
var defaultProps$2 = { | ||
siteMetadata: {} | ||
@@ -1121,3 +1121,3 @@ }; | ||
var mergeProps = function mergeProps() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$d, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$2, | ||
siteMetadata = _ref.siteMetadata, | ||
@@ -1131,3 +1131,3 @@ props = _objectWithoutProperties(_ref, ["siteMetadata"]); | ||
}; | ||
mergeProps.defaultProps = defaultProps$d; | ||
mergeProps.defaultProps = defaultProps$2; | ||
mergeProps.propTypes = { | ||
@@ -1143,3 +1143,3 @@ author: PropTypes__default['default'].string, | ||
var defaultProps$e = { | ||
var defaultProps$1 = { | ||
itemScope: true, | ||
@@ -1150,3 +1150,3 @@ itemType: "https://schema.org/WebSite" | ||
var htmlAttributes = function htmlAttributes() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$e, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$1, | ||
itemScope = _ref.itemScope, | ||
@@ -1163,3 +1163,3 @@ itemType = _ref.itemType, | ||
htmlAttributes.defaultProps = defaultProps$e; | ||
htmlAttributes.defaultProps = defaultProps$1; | ||
/** | ||
@@ -1176,3 +1176,3 @@ * @todo Set itemType to an enum of items at https://schema.org/docs/full.html | ||
var defaultProps$f = { | ||
var defaultProps = { | ||
itemProp: "name" | ||
@@ -1182,3 +1182,3 @@ }; | ||
var titleAttributes = function titleAttributes() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps$f, | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultProps, | ||
itemProp = _ref.itemProp, | ||
@@ -1193,3 +1193,3 @@ lang = _ref.lang; | ||
titleAttributes.defaultProps = defaultProps$f; | ||
titleAttributes.defaultProps = defaultProps; | ||
titleAttributes.propTypes = { | ||
@@ -1196,0 +1196,0 @@ itemProp: PropTypes__default['default'].string, |
{ | ||
"name": "metax", | ||
"displayName": "Metax", | ||
"version": "1.2.66", | ||
"version": "1.2.69", | ||
"private": false, | ||
@@ -58,3 +58,3 @@ "description": "Add SEO and other metadata tags to your Gatsby website.", | ||
}, | ||
"gitHead": "f0b344df340c4e0b0e1ce9eecd015c81c5cbb7e8" | ||
"gitHead": "3b2bf1a17a54079a25edceb822cfdd7453be8268" | ||
} |
185199