@mjhls/mjh-framework 1.0.558 → 1.0.560
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/AD728x90.js +4 -3
- package/dist/cjs/ArticleQueue.js +1 -1
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +1 -1
- package/dist/esm/AD728x90.js +4 -3
- package/dist/esm/ArticleQueue.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/AD728x90.js
CHANGED
|
@@ -25,7 +25,8 @@ var AdSlot = require('./AdSlot.js');
|
|
|
25
25
|
var AD728x90 = function AD728x90(_ref) {
|
|
26
26
|
var networkID = _ref.networkID,
|
|
27
27
|
adUnit = _ref.adUnit,
|
|
28
|
-
slotId = _ref.slotId,
|
|
28
|
+
_ref$slotId = _ref.slotId,
|
|
29
|
+
slotId = _ref$slotId === undefined ? 'leaderboard-ad' : _ref$slotId,
|
|
29
30
|
_ref$targeting = _ref.targeting,
|
|
30
31
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting,
|
|
31
32
|
_ref$pos = _ref.pos,
|
|
@@ -73,12 +74,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
73
74
|
React__default.createElement(
|
|
74
75
|
'style',
|
|
75
76
|
{ jsx: 'true' },
|
|
76
|
-
'\n .leaderboard-ad-wrapper {\n
|
|
77
|
+
'\n .leaderboard-ad-wrapper {\n height: auto !important;\n background: #fff;\n }\n .leaderboard-ad-wrapper .AD728x90 {\n height: auto !important;\n }\n /* setting height to 0px when the ad slot is empty. */\n .leaderboard-ad-wrapper .AD728x90 div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
77
78
|
),
|
|
78
79
|
main.main_39 && React__default.createElement(
|
|
79
80
|
'style',
|
|
80
81
|
{ jsx: 'true' },
|
|
81
|
-
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n
|
|
82
|
+
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n }\n }\n '
|
|
82
83
|
)
|
|
83
84
|
);
|
|
84
85
|
};
|
package/dist/cjs/ArticleQueue.js
CHANGED
|
@@ -1123,7 +1123,7 @@ var Article = function Article(props) {
|
|
|
1123
1123
|
React__default.createElement(
|
|
1124
1124
|
'style',
|
|
1125
1125
|
{ jsx: 'true' },
|
|
1126
|
-
'\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 2px solid
|
|
1126
|
+
'\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 2px solid #484848;\n width: fit-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|
|
1127
1127
|
)
|
|
1128
1128
|
);
|
|
1129
1129
|
};
|
|
@@ -246,7 +246,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
246
246
|
React__default.createElement(
|
|
247
247
|
'style',
|
|
248
248
|
{ jsx: 'true' },
|
|
249
|
-
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n border: 2px solid
|
|
249
|
+
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n border: 2px solid #484848;\n display: inline;\n width: max-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|
|
250
250
|
)
|
|
251
251
|
);
|
|
252
252
|
};
|
|
@@ -555,7 +555,7 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
555
555
|
React__default.createElement(
|
|
556
556
|
'style',
|
|
557
557
|
{ jsx: 'true' },
|
|
558
|
-
'\n .issueCard.card:hover {\n cursor: default;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n border: 2px solid
|
|
558
|
+
'\n .issueCard.card:hover {\n cursor: default;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n border: 2px solid #484848;\n display: inline;\n width: max-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|
|
559
559
|
)
|
|
560
560
|
);
|
|
561
561
|
};
|
|
@@ -1090,7 +1090,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1090
1090
|
React__default.createElement(
|
|
1091
1091
|
'style',
|
|
1092
1092
|
{ jsx: 'true' },
|
|
1093
|
-
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n
|
|
1093
|
+
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: 100%;\n max-width: 240px;\n padding: 5px;\n color: #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 '
|
|
1094
1094
|
)
|
|
1095
1095
|
);
|
|
1096
1096
|
};
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -20,7 +20,8 @@ import DFPAdSlot from './AdSlot.js';
|
|
|
20
20
|
var AD728x90 = function AD728x90(_ref) {
|
|
21
21
|
var networkID = _ref.networkID,
|
|
22
22
|
adUnit = _ref.adUnit,
|
|
23
|
-
slotId = _ref.slotId,
|
|
23
|
+
_ref$slotId = _ref.slotId,
|
|
24
|
+
slotId = _ref$slotId === undefined ? 'leaderboard-ad' : _ref$slotId,
|
|
24
25
|
_ref$targeting = _ref.targeting,
|
|
25
26
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting,
|
|
26
27
|
_ref$pos = _ref.pos,
|
|
@@ -68,12 +69,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
68
69
|
React__default.createElement(
|
|
69
70
|
'style',
|
|
70
71
|
{ jsx: 'true' },
|
|
71
|
-
'\n .leaderboard-ad-wrapper {\n
|
|
72
|
+
'\n .leaderboard-ad-wrapper {\n height: auto !important;\n background: #fff;\n }\n .leaderboard-ad-wrapper .AD728x90 {\n height: auto !important;\n }\n /* setting height to 0px when the ad slot is empty. */\n .leaderboard-ad-wrapper .AD728x90 div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
72
73
|
),
|
|
73
74
|
main_39 && React__default.createElement(
|
|
74
75
|
'style',
|
|
75
76
|
{ jsx: 'true' },
|
|
76
|
-
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n
|
|
77
|
+
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n }\n }\n '
|
|
77
78
|
)
|
|
78
79
|
);
|
|
79
80
|
};
|
package/dist/esm/ArticleQueue.js
CHANGED
|
@@ -1118,7 +1118,7 @@ var Article = function Article(props) {
|
|
|
1118
1118
|
React__default.createElement(
|
|
1119
1119
|
'style',
|
|
1120
1120
|
{ jsx: 'true' },
|
|
1121
|
-
'\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 2px solid
|
|
1121
|
+
'\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 2px solid #484848;\n width: fit-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|
|
1122
1122
|
)
|
|
1123
1123
|
);
|
|
1124
1124
|
};
|
|
@@ -241,7 +241,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
241
241
|
React__default.createElement(
|
|
242
242
|
'style',
|
|
243
243
|
{ jsx: 'true' },
|
|
244
|
-
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n border: 2px solid
|
|
244
|
+
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n border: 2px solid #484848;\n display: inline;\n width: max-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|
|
245
245
|
)
|
|
246
246
|
);
|
|
247
247
|
};
|
|
@@ -549,7 +549,7 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
549
549
|
React__default.createElement(
|
|
550
550
|
'style',
|
|
551
551
|
{ jsx: 'true' },
|
|
552
|
-
'\n .issueCard.card:hover {\n cursor: default;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n border: 2px solid
|
|
552
|
+
'\n .issueCard.card:hover {\n cursor: default;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n border: 2px solid #484848;\n display: inline;\n width: max-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|
|
553
553
|
)
|
|
554
554
|
);
|
|
555
555
|
};
|
|
@@ -1084,7 +1084,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1084
1084
|
React__default.createElement(
|
|
1085
1085
|
'style',
|
|
1086
1086
|
{ jsx: 'true' },
|
|
1087
|
-
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n
|
|
1087
|
+
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: 100%;\n max-width: 240px;\n padding: 5px;\n color: #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 '
|
|
1088
1088
|
)
|
|
1089
1089
|
);
|
|
1090
1090
|
};
|