@mjhls/mjh-framework 1.0.544 → 1.0.546
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
CHANGED
|
@@ -922,7 +922,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
922
922
|
React__default.createElement(
|
|
923
923
|
'style',
|
|
924
924
|
{ jsx: 'true' },
|
|
925
|
-
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n display:
|
|
925
|
+
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n display: block;\n width: max-content;\n padding: 5px;\n color: var(--franchise-primary, #484848);\n border-radius: 2px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
926
926
|
)
|
|
927
927
|
);
|
|
928
928
|
};
|
|
@@ -193,7 +193,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
193
193
|
'div',
|
|
194
194
|
null,
|
|
195
195
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
196
|
-
if (docSeries.body.length > 0 && docSeries.body[0].videos) {
|
|
196
|
+
if (docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos) {
|
|
197
197
|
docSeries.body[0].videos.map(function (singleVideo, indexInner) {
|
|
198
198
|
singleVideo.link = '/view/' + docSeries.url.current + '?seriesVid=' + (indexInner + 1);
|
|
199
199
|
});
|
|
@@ -216,7 +216,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
216
216
|
)
|
|
217
217
|
)
|
|
218
218
|
),
|
|
219
|
-
docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends._extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
219
|
+
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends._extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
220
220
|
'p',
|
|
221
221
|
null,
|
|
222
222
|
'No Video Found.'
|
|
@@ -916,7 +916,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
916
916
|
React__default.createElement(
|
|
917
917
|
'style',
|
|
918
918
|
{ jsx: 'true' },
|
|
919
|
-
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n display:
|
|
919
|
+
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n display: block;\n width: max-content;\n padding: 5px;\n color: var(--franchise-primary, #484848);\n border-radius: 2px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
920
920
|
)
|
|
921
921
|
);
|
|
922
922
|
};
|
|
@@ -187,7 +187,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
187
187
|
'div',
|
|
188
188
|
null,
|
|
189
189
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
190
|
-
if (docSeries.body.length > 0 && docSeries.body[0].videos) {
|
|
190
|
+
if (docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos) {
|
|
191
191
|
docSeries.body[0].videos.map(function (singleVideo, indexInner) {
|
|
192
192
|
singleVideo.link = '/view/' + docSeries.url.current + '?seriesVid=' + (indexInner + 1);
|
|
193
193
|
});
|
|
@@ -210,7 +210,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
210
210
|
)
|
|
211
211
|
)
|
|
212
212
|
),
|
|
213
|
-
docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
213
|
+
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
214
214
|
'p',
|
|
215
215
|
null,
|
|
216
216
|
'No Video Found.'
|