@mjhls/mjh-framework 1.0.211 → 1.0.213
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.
- package/README.md +1 -1
- package/dist/cjs/index.js +2 -3
- package/dist/esm/index.js +2 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -320,7 +320,7 @@ var FigureComponent = function FigureComponent(_ref) {
|
|
|
320
320
|
widthP = _node$widthP === undefined ? 'auto' : _node$widthP;
|
|
321
321
|
|
|
322
322
|
|
|
323
|
-
if (client.clientConfig.defaultImageSize && widthP === 'auto') {
|
|
323
|
+
if (client.clientConfig && client.clientConfig.defaultImageSize && widthP === 'auto') {
|
|
324
324
|
widthP = client.clientConfig.defaultImageSize;
|
|
325
325
|
}
|
|
326
326
|
|
|
@@ -9985,7 +9985,6 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
9985
9985
|
|
|
9986
9986
|
var get2 = router && router.asPath ? router.asPath.split('/')[1] : '';
|
|
9987
9987
|
var get3 = router && router.asPath ? router.asPath.split('/')[2].split('?')[0] : '';
|
|
9988
|
-
|
|
9989
9988
|
// Once component mounts, set the variables
|
|
9990
9989
|
React.useEffect(function () {
|
|
9991
9990
|
var params = new URL(document.location).searchParams;
|
|
@@ -10541,7 +10540,7 @@ var getSerializers = function getSerializers() {
|
|
|
10541
10540
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10542
10541
|
var node = _ref2.node;
|
|
10543
10542
|
|
|
10544
|
-
return React__default.createElement(YouTubeGallery, { nodes: node, client: client, getSerializers: getSerializers(
|
|
10543
|
+
return React__default.createElement(YouTubeGallery, { nodes: node, client: client, getSerializers: getSerializers(client) });
|
|
10545
10544
|
},
|
|
10546
10545
|
figure: function figure(_ref3) {
|
|
10547
10546
|
var node = _ref3.node;
|
package/dist/esm/index.js
CHANGED
|
@@ -318,7 +318,7 @@ var FigureComponent = function FigureComponent(_ref) {
|
|
|
318
318
|
widthP = _node$widthP === undefined ? 'auto' : _node$widthP;
|
|
319
319
|
|
|
320
320
|
|
|
321
|
-
if (client.clientConfig.defaultImageSize && widthP === 'auto') {
|
|
321
|
+
if (client.clientConfig && client.clientConfig.defaultImageSize && widthP === 'auto') {
|
|
322
322
|
widthP = client.clientConfig.defaultImageSize;
|
|
323
323
|
}
|
|
324
324
|
|
|
@@ -9983,7 +9983,6 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
9983
9983
|
|
|
9984
9984
|
var get2 = router && router.asPath ? router.asPath.split('/')[1] : '';
|
|
9985
9985
|
var get3 = router && router.asPath ? router.asPath.split('/')[2].split('?')[0] : '';
|
|
9986
|
-
|
|
9987
9986
|
// Once component mounts, set the variables
|
|
9988
9987
|
useEffect(function () {
|
|
9989
9988
|
var params = new URL(document.location).searchParams;
|
|
@@ -10539,7 +10538,7 @@ var getSerializers = function getSerializers() {
|
|
|
10539
10538
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10540
10539
|
var node = _ref2.node;
|
|
10541
10540
|
|
|
10542
|
-
return React__default.createElement(YouTubeGallery, { nodes: node, client: client, getSerializers: getSerializers(
|
|
10541
|
+
return React__default.createElement(YouTubeGallery, { nodes: node, client: client, getSerializers: getSerializers(client) });
|
|
10543
10542
|
},
|
|
10544
10543
|
figure: function figure(_ref3) {
|
|
10545
10544
|
var node = _ref3.node;
|