@twreporter/react-article-components 2.5.2-rc.3 → 2.5.3-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -84,7 +84,7 @@ function dispatchWindowLoadEvent() {
|
|
|
84
84
|
window.dispatchEvent(loadEvent);
|
|
85
85
|
}
|
|
86
86
|
var dispatchInlineScriptLoadEvent = function dispatchInlineScriptLoadEvent(scriptText) {
|
|
87
|
-
return "".concat(scriptText, "\n // Manually trigger the load event on the script itself\n
|
|
87
|
+
return "".concat(scriptText, "\n // Manually trigger the load event on the script itself\n document.currentScript.dispatchEvent(new Event('load'));\n ");
|
|
88
88
|
};
|
|
89
89
|
var EmbeddedCode = /*#__PURE__*/function (_React$PureComponent) {
|
|
90
90
|
_inherits(EmbeddedCode, _React$PureComponent);
|
|
@@ -223,7 +223,8 @@ _defineProperty(EmbeddedCode, "propTypes", {
|
|
|
223
223
|
_defineProperty(EmbeddedCode, "defaultProps", {
|
|
224
224
|
className: '',
|
|
225
225
|
showCaption: true,
|
|
226
|
-
handleIsLoaded: function handleIsLoaded() {}
|
|
226
|
+
handleIsLoaded: function handleIsLoaded() {},
|
|
227
|
+
handleFinishLoaded: function handleFinishLoaded() {}
|
|
227
228
|
});
|
|
228
229
|
var WayPointWrapper = function WayPointWrapper(_ref) {
|
|
229
230
|
var _ref$isScrollingToAnc = _ref.isScrollingToAnchor,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/react-article-components",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.3-rc.0",
|
|
4
4
|
"description": "The Reporter react article components, which are used in article page",
|
|
5
5
|
"main": "lib/components/article-page.js",
|
|
6
6
|
"repository": "https://github.com/twreporter/twreporter-npm-packages.git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@twreporter/core": "^1.24.0",
|
|
27
|
-
"@twreporter/react-components": "^9.4.1
|
|
28
|
-
"@twreporter/redux": "^8.2.0
|
|
29
|
-
"@twreporter/universal-header": "^3.0.10
|
|
27
|
+
"@twreporter/react-components": "^9.4.1",
|
|
28
|
+
"@twreporter/redux": "^8.2.0",
|
|
29
|
+
"@twreporter/universal-header": "^3.0.10",
|
|
30
30
|
"howler": "^2.2.3",
|
|
31
31
|
"lodash": "^4.17.11",
|
|
32
32
|
"memoize-one": "^5.0.5",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"files": [
|
|
42
42
|
"lib"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "d01dd89d37a39dbb94b9fe5122b8a0fde852d2c8"
|
|
45
45
|
}
|