@mjhls/mjh-framework 1.0.440 → 1.0.442
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 +172 -172
- package/dist/cjs/{ADInfeed-494f5e6b.js → ADInfeed-ae1f348d.js} +12 -10
- package/dist/cjs/{ADlgInfeed-be0e0bde.js → ADlgInfeed-f4c4a1bf.js} +8 -7
- package/dist/cjs/{AdSlot-4d22aad4.js → AdSlot-257d8d4e.js} +256 -15
- package/dist/cjs/{AuthorComponent-4706f297.js → AuthorComponent-b44bb44e.js} +13 -12
- package/dist/cjs/DeckContent.js +91 -87
- package/dist/cjs/DeckQueue.js +82 -78
- package/dist/cjs/{Dfp-2399639f.js → Dfp-d7639f4c.js} +22 -20
- package/dist/cjs/{Figure-9e886c5b.js → Figure-cc919c38.js} +20 -19
- package/dist/cjs/{GridContent-184cdd0f.js → GridContent-db383f73.js} +161 -157
- package/dist/cjs/GridContent.js +14 -14
- package/dist/cjs/GroupDeck.js +39 -38
- package/dist/cjs/IssueContentDeck.js +65 -60
- package/dist/cjs/IssueDeck.js +69 -64
- package/dist/cjs/MasterDeck.js +60 -59
- package/dist/cjs/{Normal-62915103.js → Normal-430e8e61.js} +523 -512
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/QueueDeckExpanded.js +116 -99
- package/dist/cjs/{TaxonomyCard-eb928f05.js → TaxonomyCard-fa09aac1.js} +77 -71
- package/dist/cjs/TaxonomyCard.js +4 -4
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/ThumbnailCard.js +17 -15
- package/dist/cjs/{Ustream-6aebd935.js → Ustream-46288bdf.js} +17 -16
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +40 -39
- package/dist/cjs/YoutubeGroup.js +49 -48
- package/dist/cjs/{debounce-b088070c.js → debounce-420ff8a8.js} +16 -12
- package/dist/cjs/{get-5aa7468c.js → get-7a75c563.js} +1 -1
- package/dist/cjs/{index-fa0fb52c.js → index-8a3fb0bc.js} +13 -10
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index.es-ab3f2690.js → index.es-44c8e726.js} +9 -10
- package/dist/cjs/index.esm-340d3792.js +0 -3
- package/dist/cjs/index.js +1903 -1935
- package/dist/cjs/{inherits-e793003e.js → inherits-b4036c94.js} +4 -4
- package/dist/cjs/{main-bc4db521.js → main-d76cde9c.js} +52 -82
- package/dist/cjs/{react-social-icons-cd0d9d3b.js → react-social-icons-07939b41.js} +13 -11
- package/dist/cjs/{typeof-2747c582.js → typeof-0d86b91c.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-a40ae0cd.js} +8 -6
- package/dist/esm/{ADInfeed-e5cefea5.js → ADInfeed-dff74bbe.js} +6 -6
- package/dist/esm/{ADlgInfeed-51a2801a.js → ADlgInfeed-7b29db85.js} +5 -5
- package/dist/esm/{AdSlot-78e48a2c.js → AdSlot-362a1c30.js} +246 -8
- package/dist/esm/{AuthorComponent-c9e46673.js → AuthorComponent-4f5f15ed.js} +10 -10
- package/dist/esm/DeckContent.js +62 -62
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-d5fe1252.js → Dfp-994cd0ab.js} +10 -10
- package/dist/esm/{Figure-cc1affbe.js → Figure-1c55ebf0.js} +17 -17
- package/dist/esm/{GridContent-b79201ad.js → GridContent-6b38c580.js} +111 -111
- package/dist/esm/GridContent.js +14 -14
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/IssueContentDeck.js +35 -35
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/MasterDeck.js +45 -45
- package/dist/esm/{Normal-6eba8168.js → Normal-6efd92da.js} +407 -407
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/QueueDeckExpanded.js +109 -92
- package/dist/esm/{TaxonomyCard-b29aa7ac.js → TaxonomyCard-b22a742f.js} +37 -37
- package/dist/esm/TaxonomyCard.js +4 -4
- package/dist/esm/TemplateNormal.js +6 -6
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/{Ustream-914ce145.js → Ustream-c4f281a3.js} +14 -14
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoSeriesListing.js +26 -26
- package/dist/esm/YoutubeGroup.js +37 -37
- package/dist/esm/{debounce-df468b0e.js → debounce-42a7f724.js} +9 -7
- package/dist/esm/{get-53653403.js → get-bc6cf9fb.js} +1 -1
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/{index.es-938a3a58.js → index.es-27d0bae9.js} +6 -8
- package/dist/esm/index.js +1768 -1823
- package/dist/esm/{inherits-dfba24f5.js → inherits-bbec2f34.js} +1 -1
- package/dist/esm/{main-7d1b3c98.js → main-cf4930f0.js} +50 -81
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-e4b50250.js → typeof-09bf9211.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-87d6b78c.js} +3 -3
- package/package.json +105 -103
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
4
|
import Row from 'react-bootstrap/Row';
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Card from 'react-bootstrap/Card';
|
|
7
7
|
import 'react-dom';
|
|
8
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
-
import { L as LazyLoad } from './index-
|
|
8
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
9
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
10
10
|
import { l as lodash } from './lodash-17fdfebb.js';
|
|
11
11
|
import Button from 'react-bootstrap/Button';
|
|
12
12
|
|
|
@@ -50,43 +50,43 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
if (sortedRegPubs && sortedRegPubs.length || sortedLegacyPubs && sortedLegacyPubs.length) {
|
|
53
|
-
return
|
|
53
|
+
return React.createElement(
|
|
54
54
|
'div',
|
|
55
55
|
{ className: 'publication-wrapper', style: { paddingBottom: '150px' } },
|
|
56
|
-
sortedRegPubs && sortedRegPubs.length > 0 &&
|
|
56
|
+
sortedRegPubs && sortedRegPubs.length > 0 && React.createElement(
|
|
57
57
|
Row,
|
|
58
58
|
{ className: 'regular-publication-wrapper' },
|
|
59
59
|
sortedRegPubs.map(function (row, index) {
|
|
60
|
-
return row.identifier && row.identifier.current &&
|
|
60
|
+
return row.identifier && row.identifier.current && React.createElement(
|
|
61
61
|
Col,
|
|
62
62
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
63
|
-
|
|
63
|
+
React.createElement(
|
|
64
64
|
Card,
|
|
65
65
|
{ className: 'block-card', style: { width: '200px' } },
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
'a',
|
|
68
68
|
{ href: href + '/' + row.identifier.current },
|
|
69
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
69
|
+
row.childIssue && row.childIssue.thumbnail ? React.createElement(
|
|
70
70
|
LazyLoad,
|
|
71
71
|
{ height: imageHeight },
|
|
72
|
-
|
|
73
|
-
) :
|
|
74
|
-
|
|
72
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
73
|
+
) : React.createElement('p', { className: 'placeholder-tag' }),
|
|
74
|
+
React.createElement(
|
|
75
75
|
Card.Body,
|
|
76
76
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
77
|
-
|
|
77
|
+
React.createElement(
|
|
78
78
|
Card.Title,
|
|
79
79
|
null,
|
|
80
80
|
row.name
|
|
81
81
|
),
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
Button,
|
|
84
84
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
85
85
|
'Browse Issues'
|
|
86
86
|
)
|
|
87
87
|
)
|
|
88
88
|
),
|
|
89
|
-
|
|
89
|
+
React.createElement(
|
|
90
90
|
'style',
|
|
91
91
|
{ jsx: 'true' },
|
|
92
92
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -95,53 +95,53 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
95
95
|
);
|
|
96
96
|
})
|
|
97
97
|
),
|
|
98
|
-
sortedLegacyPubs && sortedLegacyPubs.length > 0 &&
|
|
99
|
-
|
|
98
|
+
sortedLegacyPubs && sortedLegacyPubs.length > 0 && React.createElement(
|
|
99
|
+
React.Fragment,
|
|
100
100
|
null,
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
'div',
|
|
103
103
|
{ className: 'legacy-publication-title' },
|
|
104
|
-
|
|
104
|
+
React.createElement(
|
|
105
105
|
'h2',
|
|
106
106
|
null,
|
|
107
107
|
'Legacy'
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React.createElement('hr', null)
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
Row,
|
|
113
113
|
{ className: 'legacy-publication-wrapper' },
|
|
114
114
|
sortedLegacyPubs.map(function (row, index) {
|
|
115
|
-
return row.identifier && row.identifier.current &&
|
|
115
|
+
return row.identifier && row.identifier.current && React.createElement(
|
|
116
116
|
Col,
|
|
117
117
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
118
|
-
|
|
118
|
+
React.createElement(
|
|
119
119
|
Card,
|
|
120
120
|
{ className: 'block-card', style: { width: '200px' } },
|
|
121
|
-
|
|
121
|
+
React.createElement(
|
|
122
122
|
'a',
|
|
123
123
|
{ href: href + '/' + row.identifier.current },
|
|
124
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
124
|
+
row.childIssue && row.childIssue.thumbnail ? React.createElement(
|
|
125
125
|
LazyLoad,
|
|
126
126
|
{ height: imageHeight },
|
|
127
|
-
|
|
128
|
-
) :
|
|
129
|
-
|
|
127
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
128
|
+
) : React.createElement('p', { className: 'placeholder-tag' }),
|
|
129
|
+
React.createElement(
|
|
130
130
|
Card.Body,
|
|
131
131
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
132
|
-
|
|
132
|
+
React.createElement(
|
|
133
133
|
Card.Title,
|
|
134
134
|
null,
|
|
135
135
|
row.name
|
|
136
136
|
),
|
|
137
|
-
|
|
137
|
+
React.createElement(
|
|
138
138
|
Button,
|
|
139
139
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
140
140
|
'Browse Issues'
|
|
141
141
|
)
|
|
142
142
|
)
|
|
143
143
|
),
|
|
144
|
-
|
|
144
|
+
React.createElement(
|
|
145
145
|
'style',
|
|
146
146
|
{ jsx: 'true' },
|
|
147
147
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -153,13 +153,13 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
153
153
|
)
|
|
154
154
|
);
|
|
155
155
|
} else {
|
|
156
|
-
return
|
|
156
|
+
return React.createElement(
|
|
157
157
|
'div',
|
|
158
158
|
null,
|
|
159
|
-
|
|
159
|
+
React.createElement(
|
|
160
160
|
'h5',
|
|
161
161
|
null,
|
|
162
|
-
|
|
162
|
+
React.createElement(
|
|
163
163
|
'em',
|
|
164
164
|
{ className: 'pl-3' },
|
|
165
165
|
'New content coming soon, please check back later.'
|