@mjhls/mjh-framework 1.0.175 → 1.0.177
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/index.es.js +22 -16
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +21 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React__default, { Component, useState, useEffect, useRef,
|
|
1
|
+
import React__default, { Component, useState, useEffect, useRef, createElement, createContext } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import require$$1 from 'react-dom';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
@@ -12905,8 +12905,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
12905
12905
|
'p',
|
|
12906
12906
|
{
|
|
12907
12907
|
style: {
|
|
12908
|
-
background: '
|
|
12909
|
-
color: '
|
|
12908
|
+
background: '#3FB618',
|
|
12909
|
+
color: '#ffffff',
|
|
12910
12910
|
marginBottom: '.25rem',
|
|
12911
12911
|
display: 'inline-block',
|
|
12912
12912
|
padding: '0 .25rem',
|
|
@@ -12914,7 +12914,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
12914
12914
|
} },
|
|
12915
12915
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
12916
12916
|
),
|
|
12917
|
-
article.summary && React__default.createElement(
|
|
12917
|
+
article.summary && React__default.createElement(
|
|
12918
|
+
'p',
|
|
12919
|
+
{ className: 'pt-2 card-text' },
|
|
12920
|
+
article.summary
|
|
12921
|
+
)
|
|
12918
12922
|
)
|
|
12919
12923
|
)
|
|
12920
12924
|
)
|
|
@@ -12982,8 +12986,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
12982
12986
|
'p',
|
|
12983
12987
|
{
|
|
12984
12988
|
style: {
|
|
12985
|
-
background: '
|
|
12986
|
-
color: '
|
|
12989
|
+
background: '#3FB618',
|
|
12990
|
+
color: '#ffffff',
|
|
12987
12991
|
marginBottom: '.25rem',
|
|
12988
12992
|
display: 'inline-block',
|
|
12989
12993
|
padding: '0 .25rem',
|
|
@@ -12991,7 +12995,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
12991
12995
|
} },
|
|
12992
12996
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
12993
12997
|
),
|
|
12994
|
-
article.summary && React__default.createElement(
|
|
12998
|
+
article.summary && React__default.createElement(
|
|
12999
|
+
'p',
|
|
13000
|
+
{ className: 'pt-2 card-text' },
|
|
13001
|
+
article.summary
|
|
13002
|
+
)
|
|
12995
13003
|
)
|
|
12996
13004
|
)
|
|
12997
13005
|
)
|
|
@@ -13060,8 +13068,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
13060
13068
|
'p',
|
|
13061
13069
|
{
|
|
13062
13070
|
style: {
|
|
13063
|
-
background: '
|
|
13064
|
-
color: '
|
|
13071
|
+
background: '#3FB618',
|
|
13072
|
+
color: '#ffffff',
|
|
13065
13073
|
marginBottom: '.25rem',
|
|
13066
13074
|
display: 'inline-block',
|
|
13067
13075
|
padding: '0 .25rem',
|
|
@@ -13069,7 +13077,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
13069
13077
|
} },
|
|
13070
13078
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
13071
13079
|
),
|
|
13072
|
-
article.summary && React__default.createElement(
|
|
13080
|
+
article.summary && React__default.createElement(
|
|
13081
|
+
'p',
|
|
13082
|
+
{ className: 'pt-2 card-text' },
|
|
13083
|
+
article.summary
|
|
13084
|
+
)
|
|
13073
13085
|
)
|
|
13074
13086
|
)
|
|
13075
13087
|
)
|
|
@@ -13675,7 +13687,6 @@ var MasterDeck = function (_React$Component) {
|
|
|
13675
13687
|
return _this.defaultImage;
|
|
13676
13688
|
}
|
|
13677
13689
|
}, _this.changePageNumber = function (pageNumber) {
|
|
13678
|
-
console.log(pageNumber);
|
|
13679
13690
|
var _this$props2 = _this.props,
|
|
13680
13691
|
seoPaginate = _this$props2.seoPaginate,
|
|
13681
13692
|
pageview = _this$props2.pageview,
|
|
@@ -28498,7 +28509,6 @@ var NativeAd = function NativeAd(props) {
|
|
|
28498
28509
|
sizes = _props$node.sizes,
|
|
28499
28510
|
sizeMapping = _props$node.sizeMapping;
|
|
28500
28511
|
|
|
28501
|
-
console.log('props', props);
|
|
28502
28512
|
return React__default.createElement(
|
|
28503
28513
|
'div',
|
|
28504
28514
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
@@ -29184,8 +29194,6 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
29184
29194
|
};
|
|
29185
29195
|
|
|
29186
29196
|
var PdfDownload = function PdfDownload(props) {
|
|
29187
|
-
console.log(props.issueInfo.asset.url);
|
|
29188
|
-
|
|
29189
29197
|
return React__default.createElement(
|
|
29190
29198
|
'div',
|
|
29191
29199
|
{ className: 'pdf-download', style: { textAlign: 'center', padding: '1rem 0', borderTop: '1px solid #eee', marginTop: '1rem' } },
|
|
@@ -29578,7 +29586,6 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
29578
29586
|
function urlFor(source) {
|
|
29579
29587
|
return builder.image(source);
|
|
29580
29588
|
}
|
|
29581
|
-
console.log(props);
|
|
29582
29589
|
return React__default.createElement(
|
|
29583
29590
|
'div',
|
|
29584
29591
|
{ className: 'article-group--container' },
|
|
@@ -29934,7 +29941,6 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
29934
29941
|
'div',
|
|
29935
29942
|
{ className: 'related-articles-container' },
|
|
29936
29943
|
dataRecord.map(function (article, index) {
|
|
29937
|
-
console.log(article);
|
|
29938
29944
|
return React__default.createElement(
|
|
29939
29945
|
Link,
|
|
29940
29946
|
{ href: '/view/[url]', as: '/view/' + article.url.current, key: index },
|