@mjhls/mjh-framework 1.0.884-beta.0 → 1.0.884-beta.1
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/dist/cjs/AD.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +6 -6
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +409 -0
- package/dist/cjs/DeckContent.js +1 -1
- package/dist/cjs/DeckQueue.js +1 -1
- package/dist/cjs/DeckQueuePaginated.js +340 -0
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-f492f985.js} +2 -2
- package/dist/cjs/ExternalResources.js +2 -2
- package/dist/cjs/GridContent.js +4 -116
- package/dist/cjs/GridContentPaginated.js +699 -0
- package/dist/cjs/HorizontalArticleListing.js +2 -2
- package/dist/cjs/ImageSlider-38f25e66.js +3989 -0
- package/dist/cjs/IssueLanding.js +2 -2
- package/dist/cjs/MasterDeck.js +1 -1
- package/dist/cjs/MasterDeckPaginated.js +444 -0
- package/dist/cjs/MediaSeriesCard-8d27612b.js +9411 -0
- package/dist/cjs/MediaSeriesLanding.js +26 -9415
- package/dist/cjs/MediaSeriesLandingPaginated.js +522 -0
- package/dist/cjs/Pagination-2f76381b.js +51 -0
- package/dist/cjs/PartnerDetailListing.js +15 -3986
- package/dist/cjs/PartnerDetailListingPaginated.js +312 -0
- package/dist/cjs/PublicationFeature-28c549f2.js +126 -0
- package/dist/cjs/QueueDeckExpandedPaginated.js +1378 -0
- package/dist/cjs/TaxonomyDescription.js +2 -2
- package/dist/cjs/VideoProgramLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +83 -3
- package/dist/cjs/faundadb.js +15 -15
- package/dist/cjs/getRootDocGroup.js +3 -3
- package/dist/cjs/getSerializers.js +2 -2
- package/dist/cjs/{index-396089c0.js → index-54adcbc3.js} +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/{inherits-cba9c846.js → inherits-12d44cca.js} +2 -2
- package/dist/esm/{ADInfeed-8a038df9.js → ADInfeed-d767ebe2.js} +2 -2
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +5 -5
- package/dist/esm/Column3.js +6 -6
- package/dist/esm/ContentCardPaginated.js +403 -0
- package/dist/esm/DeckContent.js +16 -16
- package/dist/esm/DeckQueue.js +18 -18
- package/dist/esm/DeckQueuePaginated.js +334 -0
- package/dist/esm/EventsDeck.js +26 -26
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/GridContent.js +38 -150
- package/dist/esm/GridContentPaginated.js +693 -0
- package/dist/esm/HamMagazine.js +4 -4
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/ImageSlider-a3154b97.js +3980 -0
- package/dist/esm/IssueContentDeck.js +14 -14
- package/dist/esm/IssueDeck.js +22 -22
- package/dist/esm/IssueLanding.js +2 -2
- package/dist/esm/MasterDeck.js +4 -4
- package/dist/esm/MasterDeckPaginated.js +438 -0
- package/dist/esm/MediaSeriesCard-1dd7eae8.js +9403 -0
- package/dist/esm/MediaSeriesLanding.js +23 -9411
- package/dist/esm/MediaSeriesLandingPaginated.js +517 -0
- package/dist/esm/NavDvm.js +3 -3
- package/dist/esm/NavMagazine.js +4 -4
- package/dist/esm/NavNative.js +5 -5
- package/dist/esm/Pagination-c0db7ca1.js +46 -0
- package/dist/esm/PartnerDetailListing.js +12 -3982
- package/dist/esm/PartnerDetailListingPaginated.js +307 -0
- package/dist/esm/PubSection.js +1 -1
- package/dist/esm/PublicationDeck.js +18 -18
- package/dist/esm/PublicationFeature-fa24dedb.js +121 -0
- package/dist/esm/PublicationLanding.js +22 -22
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +1372 -0
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +2 -2
- package/dist/esm/{SocialSearchComponent-b5be0e6c.js → SocialSearchComponent-dca69151.js} +3 -3
- package/dist/esm/TaxonomyCard.js +16 -16
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/TemplateNormal.js +4 -4
- package/dist/esm/VideoProgramLandingPage.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/View.js +84 -4
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-0e04b7d7.js → index-d1476645.js} +19 -19
- package/dist/esm/index.js +10 -9
- package/package.json +2 -1
- package/dist/cjs/Schema.js +0 -100
- package/dist/esm/Schema.js +0 -95
|
@@ -3,9 +3,9 @@ import './core.get-iterator-method-86d4db69.js';
|
|
|
3
3
|
import './web.dom.iterable-f8f967cd.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import Row
|
|
7
|
-
import Col
|
|
8
|
-
import Card
|
|
6
|
+
import Row from 'react-bootstrap/Row';
|
|
7
|
+
import Col from 'react-bootstrap/Col';
|
|
8
|
+
import Card from 'react-bootstrap/Card';
|
|
9
9
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
10
10
|
import 'react-dom';
|
|
11
11
|
import './slicedToArray-67a08c9c.js';
|
|
@@ -35,10 +35,10 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
35
35
|
source = props.source;
|
|
36
36
|
|
|
37
37
|
return React__default.createElement(
|
|
38
|
-
Col
|
|
38
|
+
Col,
|
|
39
39
|
{ md: 12, lg: 12, key: index },
|
|
40
40
|
React__default.createElement(
|
|
41
|
-
Card
|
|
41
|
+
Card,
|
|
42
42
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
43
43
|
React__default.createElement(
|
|
44
44
|
'div',
|
|
@@ -52,7 +52,7 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
52
52
|
React__default.createElement(
|
|
53
53
|
LazyLoad,
|
|
54
54
|
{ height: imageHeight },
|
|
55
|
-
React__default.createElement(Card
|
|
55
|
+
React__default.createElement(Card.Img, {
|
|
56
56
|
variant: 'right',
|
|
57
57
|
src: coverImage ? urlFor({ source: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit, client: client }) : Settings.logo,
|
|
58
58
|
alt: title,
|
|
@@ -67,7 +67,7 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
67
67
|
)
|
|
68
68
|
),
|
|
69
69
|
React__default.createElement(
|
|
70
|
-
Card
|
|
70
|
+
Card.Body,
|
|
71
71
|
{ style: { padding: '0.5rem' } },
|
|
72
72
|
section ? React__default.createElement(
|
|
73
73
|
Badge,
|
|
@@ -75,7 +75,7 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
75
75
|
section.name
|
|
76
76
|
) : '',
|
|
77
77
|
React__default.createElement(
|
|
78
|
-
Card
|
|
78
|
+
Card.Title,
|
|
79
79
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
80
80
|
React__default.createElement(
|
|
81
81
|
'a',
|
|
@@ -134,10 +134,10 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
134
134
|
index = props.index;
|
|
135
135
|
|
|
136
136
|
return React__default.createElement(
|
|
137
|
-
Col
|
|
137
|
+
Col,
|
|
138
138
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
139
139
|
React__default.createElement(
|
|
140
|
-
Card
|
|
140
|
+
Card,
|
|
141
141
|
null,
|
|
142
142
|
React__default.createElement(
|
|
143
143
|
'a',
|
|
@@ -145,10 +145,10 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
145
145
|
coverImage && React__default.createElement(
|
|
146
146
|
LazyLoad,
|
|
147
147
|
{ height: imageHeight },
|
|
148
|
-
React__default.createElement(Card
|
|
148
|
+
React__default.createElement(Card.Img, { variant: 'top', src: coverImage ? urlFor({ source: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit, client: client, Settings: Settings }) : Settings.logo, alt: title })
|
|
149
149
|
),
|
|
150
150
|
React__default.createElement(
|
|
151
|
-
Card
|
|
151
|
+
Card.Body,
|
|
152
152
|
null,
|
|
153
153
|
section && section.name ? React__default.createElement(
|
|
154
154
|
Badge,
|
|
@@ -156,7 +156,7 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
156
156
|
section && section.name
|
|
157
157
|
) : '',
|
|
158
158
|
React__default.createElement(
|
|
159
|
-
Card
|
|
159
|
+
Card.Title,
|
|
160
160
|
null,
|
|
161
161
|
title
|
|
162
162
|
)
|
|
@@ -176,7 +176,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
176
176
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
177
177
|
|
|
178
178
|
return React__default.createElement(
|
|
179
|
-
Row
|
|
179
|
+
Row,
|
|
180
180
|
null,
|
|
181
181
|
data && data.length ? data.map(function (row, index) {
|
|
182
182
|
if (variant === 'stack') {
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -7,16 +7,16 @@ import { _ as _extends } from './extends-5b1796d4.js';
|
|
|
7
7
|
import './web.dom.iterable-f8f967cd.js';
|
|
8
8
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import Row
|
|
11
|
-
import Col
|
|
12
|
-
import Card
|
|
10
|
+
import Row from 'react-bootstrap/Row';
|
|
11
|
+
import Col from 'react-bootstrap/Col';
|
|
12
|
+
import Card from 'react-bootstrap/Card';
|
|
13
13
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
16
16
|
import './index-73819142.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
18
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
19
|
-
import Button
|
|
19
|
+
import Button from 'react-bootstrap/Button';
|
|
20
20
|
|
|
21
21
|
var usePrevious = function usePrevious(value) {
|
|
22
22
|
var ref = useRef();
|
|
@@ -135,20 +135,20 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
135
135
|
return loadMore();
|
|
136
136
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
137
137
|
React__default.createElement(
|
|
138
|
-
Row
|
|
138
|
+
Row,
|
|
139
139
|
null,
|
|
140
140
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
141
141
|
return publication && row.identifier && row.identifier.current && React__default.createElement(
|
|
142
|
-
Col
|
|
142
|
+
Col,
|
|
143
143
|
{ md: 12, lg: 12, key: index },
|
|
144
144
|
React__default.createElement(
|
|
145
|
-
Card
|
|
145
|
+
Card,
|
|
146
146
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
147
147
|
React__default.createElement(
|
|
148
|
-
Row
|
|
148
|
+
Row,
|
|
149
149
|
{ style: { flexDirection: 'left' } },
|
|
150
150
|
React__default.createElement(
|
|
151
|
-
Col
|
|
151
|
+
Col,
|
|
152
152
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
153
153
|
row.issues.length > 0 ? React__default.createElement(
|
|
154
154
|
'a',
|
|
@@ -156,7 +156,7 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
156
156
|
row.thumbnail && React__default.createElement(
|
|
157
157
|
LazyLoad,
|
|
158
158
|
{ height: imageHeight },
|
|
159
|
-
React__default.createElement(Card
|
|
159
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
160
160
|
)
|
|
161
161
|
) : React__default.createElement(
|
|
162
162
|
'a',
|
|
@@ -164,34 +164,34 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
164
164
|
row.thumbnail && React__default.createElement(
|
|
165
165
|
LazyLoad,
|
|
166
166
|
{ height: imageHeight },
|
|
167
|
-
React__default.createElement(Card
|
|
167
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
168
168
|
)
|
|
169
169
|
)
|
|
170
170
|
),
|
|
171
171
|
React__default.createElement(
|
|
172
|
-
Col
|
|
172
|
+
Col,
|
|
173
173
|
{ md: 12, lg: 8 },
|
|
174
174
|
React__default.createElement(
|
|
175
|
-
Card
|
|
175
|
+
Card.Body,
|
|
176
176
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
177
177
|
React__default.createElement(
|
|
178
|
-
Row
|
|
178
|
+
Row,
|
|
179
179
|
null,
|
|
180
180
|
React__default.createElement(
|
|
181
|
-
Col
|
|
181
|
+
Col,
|
|
182
182
|
null,
|
|
183
183
|
React__default.createElement(
|
|
184
|
-
Card
|
|
184
|
+
Card.Title,
|
|
185
185
|
null,
|
|
186
186
|
row.name
|
|
187
187
|
)
|
|
188
188
|
)
|
|
189
189
|
),
|
|
190
190
|
React__default.createElement(
|
|
191
|
-
Row
|
|
191
|
+
Row,
|
|
192
192
|
null,
|
|
193
193
|
React__default.createElement(
|
|
194
|
-
Col
|
|
194
|
+
Col,
|
|
195
195
|
null,
|
|
196
196
|
React__default.createElement(
|
|
197
197
|
'div',
|
|
@@ -202,10 +202,10 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
202
202
|
)
|
|
203
203
|
),
|
|
204
204
|
React__default.createElement(
|
|
205
|
-
Row
|
|
205
|
+
Row,
|
|
206
206
|
null,
|
|
207
207
|
React__default.createElement(
|
|
208
|
-
Col
|
|
208
|
+
Col,
|
|
209
209
|
null,
|
|
210
210
|
React__default.createElement(
|
|
211
211
|
'div',
|
|
@@ -216,13 +216,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
216
216
|
)
|
|
217
217
|
),
|
|
218
218
|
React__default.createElement(
|
|
219
|
-
Row
|
|
219
|
+
Row,
|
|
220
220
|
null,
|
|
221
221
|
row.issues.length > 0 && React__default.createElement(
|
|
222
222
|
'a',
|
|
223
223
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
224
224
|
React__default.createElement(
|
|
225
|
-
Button
|
|
225
|
+
Button,
|
|
226
226
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
227
227
|
'View Issue'
|
|
228
228
|
)
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -37,7 +37,7 @@ import './asyncToGenerator-7bf8bc4d.js';
|
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './Beam.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
|
-
import './ADInfeed-
|
|
40
|
+
import './ADInfeed-d767ebe2.js';
|
|
41
41
|
import './lodash-17fdfebb.js';
|
|
42
42
|
import './ADlgInfeed-cee95aa2.js';
|
|
43
43
|
import './getContentCategory-15dcc413.js';
|
|
@@ -52,7 +52,7 @@ import './timeDifferenceCalc.js';
|
|
|
52
52
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
53
53
|
import './iconBase-602d52fe.js';
|
|
54
54
|
import './index.esm-29e48d38.js';
|
|
55
|
-
import { g as getSerializers } from './index-
|
|
55
|
+
import { g as getSerializers } from './index-d1476645.js';
|
|
56
56
|
import './util-7700fc59.js';
|
|
57
57
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
58
58
|
import 'next/head';
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -15,7 +15,7 @@ import React__default from 'react';
|
|
|
15
15
|
import './events-6c3a7a63.js';
|
|
16
16
|
import { l as lib_3 } from './index-41a678ea.js';
|
|
17
17
|
import 'prop-types';
|
|
18
|
-
import Container
|
|
18
|
+
import Container from 'react-bootstrap/Container';
|
|
19
19
|
import 'react-bootstrap/Row';
|
|
20
20
|
import 'react-bootstrap/Col';
|
|
21
21
|
import 'react-bootstrap/Card';
|
|
@@ -35,7 +35,7 @@ import { _ as _Promise } from './asyncToGenerator-7bf8bc4d.js';
|
|
|
35
35
|
import './Segment.js';
|
|
36
36
|
import './Beam.js';
|
|
37
37
|
import './AdSlot.js';
|
|
38
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
38
|
+
import { A as ADInfeed } from './ADInfeed-d767ebe2.js';
|
|
39
39
|
import { l as lodash } from './lodash-17fdfebb.js';
|
|
40
40
|
import { A as ADlgInfeed } from './ADlgInfeed-cee95aa2.js';
|
|
41
41
|
|
|
@@ -489,7 +489,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
489
489
|
InfiniteScroll,
|
|
490
490
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
491
491
|
React__default.createElement(
|
|
492
|
-
Container
|
|
492
|
+
Container,
|
|
493
493
|
null,
|
|
494
494
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
495
495
|
)
|
|
@@ -503,7 +503,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
503
503
|
React__default.Fragment,
|
|
504
504
|
null,
|
|
505
505
|
React__default.createElement(
|
|
506
|
-
Container
|
|
506
|
+
Container,
|
|
507
507
|
null,
|
|
508
508
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
509
509
|
),
|