@twreporter/react-article-components
Advanced tools
Comparing version 2.3.0-rc.4 to 2.3.0-rc.5
"use strict"; | ||
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -23,2 +24,3 @@ value: true | ||
var _blockquote = _interopRequireDefault(require("./blockquote")); | ||
var _embeddedCode = _interopRequireWildcard(require("./embedded-code")); | ||
var _map = _interopRequireDefault(require("lodash/map")); | ||
@@ -29,2 +31,4 @@ var _templateObject, _templateObject2, _templateObject3; // @twreporter | ||
// lodash | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -67,2 +71,6 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } | ||
})(["", " ", " ", ""], _mediaQuery["default"].mobileOnly(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 296px;\n "]))), _mediaQuery["default"].tabletOnly(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 456px;\n "]))), _mediaQuery["default"].desktopAndAbove(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 556px;\n "])))); | ||
var StyledEmbedded = /*#__PURE__*/(0, _styledComponents["default"])(_embeddedCode["default"]).withConfig({ | ||
displayName: "tracking-section__StyledEmbedded", | ||
componentId: "sc-104lyb5-8" | ||
})(["", "{margin-top:8px;padding:0px;}"], _embeddedCode.Caption); | ||
var TrackingSection = function TrackingSection(_ref) { | ||
@@ -125,2 +133,9 @@ var data = _ref.data; | ||
}); | ||
case 'embedded-code': | ||
case 'embeddedCode': | ||
case 'embeddedcode': | ||
return /*#__PURE__*/_react["default"].createElement(StyledEmbedded, { | ||
key: data.id, | ||
data: data | ||
}); | ||
default: | ||
@@ -127,0 +142,0 @@ return null; |
{ | ||
"name": "@twreporter/react-article-components", | ||
"version": "2.3.0-rc.4", | ||
"version": "2.3.0-rc.5", | ||
"description": "The Reporter react article components, which are used in article page", | ||
@@ -27,5 +27,5 @@ "main": "lib/components/article-page.js", | ||
"@twreporter/core": "^1.22.1", | ||
"@twreporter/react-components": "^9.2.0-rc.2", | ||
"@twreporter/react-components": "^9.2.0-rc.3", | ||
"@twreporter/redux": "^8.1.0-rc.1", | ||
"@twreporter/universal-header": "^3.0.5-rc.2", | ||
"@twreporter/universal-header": "^3.0.5-rc.3", | ||
"howler": "^2.2.3", | ||
@@ -45,3 +45,3 @@ "lodash": "^4.17.11", | ||
], | ||
"gitHead": "9813d6e3e00290afd56272efc233ff4c7a119499" | ||
"gitHead": "3d7d48a4f39504d78ce65336ed9c8347ba230101" | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
655400
8071