@mjhls/mjh-framework 1.0.837 → 1.0.838
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 +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +2 -3
- package/dist/cjs/AdSlotsProvider.js +2 -3
- package/dist/cjs/AlgoliaSearch.js +17 -14098
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -6
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +4 -5
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +2 -3
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +11 -12
- package/dist/cjs/DeckQueue.js +2 -3
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-3f0ed4c8.js} +1 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +5 -6
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -5
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HorizontalArticleListing.js +5 -6
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueLanding.js +36 -37
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +12 -13
- package/dist/cjs/MediaSeriesLanding.js +408 -307
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -8
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +4 -5
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -5
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-cbab9f0f.js → SeriesSlider-e3e8ead7.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-948138c7.js} +3 -3
- package/dist/cjs/TaxonomyDescription.js +5 -6
- package/dist/cjs/TemplateNormal.js +7 -8
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VideoProgramLandingPage.js +5 -6
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -5
- package/dist/cjs/VideoSeriesListing.js +4 -5
- package/dist/cjs/View.js +9 -10
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getSerializers.js +5 -6
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-a100d6e5.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-fc2f1ca2.js → index-0e4427c8.js} +467 -2
- package/dist/cjs/{index-0a582ba9.js → index-55dd328c.js} +3 -3
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-2bb721c8.js} +1 -1
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +14 -15
- package/dist/cjs/{main-025fdc78.js → main-f1c77adb.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +6 -7
- package/dist/esm/AD300x250x600.js +6 -7
- package/dist/esm/AD728x90.js +7 -8
- package/dist/esm/ADFloatingFooter.js +9 -10
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -10
- package/dist/esm/{ADInfeed-28b1e946.js → ADInfeed-4a09242b.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -10
- package/dist/esm/ADSponsoredResources.js +9 -10
- package/dist/esm/ADWebcast.js +9 -10
- package/dist/esm/ADWelcome.js +13 -14
- package/dist/esm/{ADlgInfeed-0b474b02.js → ADlgInfeed-0bff9a62.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +5 -6
- package/dist/esm/AdSlotsProvider.js +4 -5
- package/dist/esm/AlgoliaSearch.js +39 -14120
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +17 -18
- package/dist/esm/ArticleSeriesLandingPage.js +12 -13
- package/dist/esm/ArticleSeriesListing.js +31 -32
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-30aeba69.js} +10 -10
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-c99c9a8d.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +23 -24
- package/dist/esm/ConferenceArticleCard.js +28 -28
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +57 -58
- package/dist/esm/DeckQueue.js +42 -43
- package/dist/esm/{Dfp-43f121ff.js → Dfp-be030f2a.js} +10 -11
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +35 -36
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/ForbesHero.js +26 -26
- package/dist/esm/GridContent.js +124 -125
- package/dist/esm/GridHero.js +27 -27
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +31 -32
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/IssueContentDeck.js +39 -39
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +51 -52
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -17
- package/dist/esm/MasterDeck.js +46 -47
- package/dist/esm/MediaSeriesLanding.js +433 -332
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +50 -50
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +62 -63
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +14 -15
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +246 -247
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +19 -20
- package/dist/esm/{SeriesSlider-5c62a578.js → SeriesSlider-ae17159f.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-db963c3e.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TaxonomyDescription.js +13 -14
- package/dist/esm/TemplateNormal.js +29 -30
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +11 -11
- package/dist/esm/VideoProgramLandingPage.js +24 -25
- package/dist/esm/VideoSeriesCard.js +15 -15
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +12 -13
- package/dist/esm/VideoSeriesListing.js +47 -48
- package/dist/esm/View.js +170 -171
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/getSerializers.js +8 -9
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-05c216d6.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-66ffc224.js → index-490e778a.js} +365 -365
- package/dist/esm/{index-2446af28.js → index-5cc7b406.js} +469 -4
- package/dist/esm/{index-35bdcc81.js → index-755f2cc2.js} +4 -4
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +39 -40
- package/dist/esm/{main-b5c5aac1.js → main-d4165069.js} +19 -19
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-9be47857.js} +5 -5
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +110 -110
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-8041a4eb.js +0 -99
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-67e1773f.js +0 -94
- /package/dist/cjs/{ADInfeed-8b336c67.js → ADInfeed-eb4ce360.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-aedd5e18.js → ADlgInfeed-8a05b63f.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
|
-
import { I as IoIosArrowForward } from './index.esm-
|
|
5
|
-
import { B as BlockContent } from './BlockContent-
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
4
|
+
import { I as IoIosArrowForward } from './index.esm-f6156a57.js';
|
|
5
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
6
|
+
import { g as getSerializers } from './index-490e778a.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './_to-object-b50e61c3.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -16,17 +16,16 @@ import './_library-528f1934.js';
|
|
|
16
16
|
import './slicedToArray-be2f7a22.js';
|
|
17
17
|
import './core.get-iterator-method-133dfacd.js';
|
|
18
18
|
import './index-c7e2ac95.js';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-755f2cc2.js';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'prop-types';
|
|
22
22
|
import './smoothscroll-fa4e3f8c.js';
|
|
23
23
|
import './urlFor.js';
|
|
24
24
|
import './index-0dbff1d1.js';
|
|
25
|
-
import './main-
|
|
26
|
-
import './iconBase-
|
|
25
|
+
import './main-d4165069.js';
|
|
26
|
+
import './iconBase-ccc56b97.js';
|
|
27
27
|
import 'react-bootstrap';
|
|
28
|
-
import './index-
|
|
29
|
-
import './events-6c3a7a63.js';
|
|
28
|
+
import './index-5cc7b406.js';
|
|
30
29
|
import 'next/router';
|
|
31
30
|
import './util-3ab476bf.js';
|
|
32
31
|
import './Beam.js';
|
|
@@ -34,7 +33,7 @@ import './stringify-59c8f690.js';
|
|
|
34
33
|
import './asyncToGenerator-7f8f9219.js';
|
|
35
34
|
import './_iter-detect-7e5e5ce2.js';
|
|
36
35
|
import './Segment.js';
|
|
37
|
-
import './brightcove-react-player-loader.es-
|
|
36
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
38
37
|
import './GroupDeck.js';
|
|
39
38
|
import './moment-bc12cb97.js';
|
|
40
39
|
import './SocialShare.js';
|
|
@@ -71,59 +70,59 @@ function HorizontalArticleListing(_ref) {
|
|
|
71
70
|
// identifier: ...,
|
|
72
71
|
// data: Array of latest articles with videos
|
|
73
72
|
// }
|
|
74
|
-
return
|
|
73
|
+
return React__default.createElement(
|
|
75
74
|
'div',
|
|
76
75
|
null,
|
|
77
76
|
data.length > 0 ? data.map(function (taxonomy, index) {
|
|
78
|
-
return
|
|
79
|
-
|
|
77
|
+
return React__default.createElement(
|
|
78
|
+
React__default.Fragment,
|
|
80
79
|
null,
|
|
81
|
-
|
|
80
|
+
React__default.createElement(
|
|
82
81
|
'div',
|
|
83
82
|
{ key: 'articleCarousel_' + taxonomy.identifier + '_' + index, className: 'mb-3 horizontal-article' },
|
|
84
|
-
|
|
83
|
+
React__default.createElement(
|
|
85
84
|
'div',
|
|
86
85
|
{ className: 'horizontal-article-header', style: { borderBottom: '2px solid ' + color } },
|
|
87
|
-
|
|
86
|
+
React__default.createElement(
|
|
88
87
|
'div',
|
|
89
88
|
{ className: 'horizontal-article-title-wrapper' },
|
|
90
|
-
|
|
89
|
+
React__default.createElement(
|
|
91
90
|
'a',
|
|
92
91
|
{ href: '/' + taxonomy.identifier },
|
|
93
|
-
|
|
92
|
+
React__default.createElement(
|
|
94
93
|
'h4',
|
|
95
94
|
{ className: 'article-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', margin: '0' } },
|
|
96
95
|
taxonomy.name
|
|
97
96
|
)
|
|
98
97
|
),
|
|
99
|
-
taxonomy.identifier &&
|
|
98
|
+
taxonomy.identifier && React__default.createElement(
|
|
100
99
|
'div',
|
|
101
100
|
{ style: { width: 'fit-content', whiteSpace: 'nowrap' } },
|
|
102
|
-
|
|
101
|
+
React__default.createElement(
|
|
103
102
|
'a',
|
|
104
103
|
{ href: '/' + taxonomy.identifier },
|
|
105
104
|
'View All ',
|
|
106
|
-
|
|
105
|
+
React__default.createElement(IoIosArrowForward, null)
|
|
107
106
|
)
|
|
108
107
|
)
|
|
109
108
|
),
|
|
110
|
-
taxonomy.summary &&
|
|
109
|
+
taxonomy.summary && React__default.createElement(
|
|
111
110
|
'div',
|
|
112
111
|
{ className: 'horizontal-article-summary' },
|
|
113
|
-
|
|
112
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: taxonomy.summary, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
114
113
|
)
|
|
115
114
|
),
|
|
116
|
-
taxonomy.data.length > 0 ?
|
|
115
|
+
taxonomy.data.length > 0 ? React__default.createElement(
|
|
117
116
|
'div',
|
|
118
117
|
{ className: 'article-carousel' },
|
|
119
|
-
|
|
120
|
-
) :
|
|
118
|
+
React__default.createElement(ArticleCarousel, { articles: taxonomy.data, client: client })
|
|
119
|
+
) : React__default.createElement(
|
|
121
120
|
'div',
|
|
122
121
|
null,
|
|
123
|
-
|
|
122
|
+
React__default.createElement(
|
|
124
123
|
'h5',
|
|
125
124
|
{ className: 'mt-2' },
|
|
126
|
-
|
|
125
|
+
React__default.createElement(
|
|
127
126
|
'em',
|
|
128
127
|
{ className: 'pl-3' },
|
|
129
128
|
'New content coming soon, please check back later.'
|
|
@@ -131,19 +130,19 @@ function HorizontalArticleListing(_ref) {
|
|
|
131
130
|
)
|
|
132
131
|
)
|
|
133
132
|
),
|
|
134
|
-
|
|
133
|
+
React__default.createElement(
|
|
135
134
|
'style',
|
|
136
135
|
{ jsx: 'true' },
|
|
137
136
|
'\n .article-carousel {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .horizontal-article-title-wrapper {\n display: flex;\n flex-wrap: no-wrap;\n align-items: center;\n justify-content: space-between;\n }\n '
|
|
138
137
|
)
|
|
139
138
|
);
|
|
140
|
-
}) :
|
|
139
|
+
}) : React__default.createElement(
|
|
141
140
|
'div',
|
|
142
141
|
null,
|
|
143
|
-
|
|
142
|
+
React__default.createElement(
|
|
144
143
|
'h5',
|
|
145
144
|
null,
|
|
146
|
-
|
|
145
|
+
React__default.createElement(
|
|
147
146
|
'em',
|
|
148
147
|
{ className: 'pl-3' },
|
|
149
148
|
'New content coming soon, please check back later.'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { a as FaLongArrowAltRight } from './index.esm-
|
|
4
|
+
import { a as FaLongArrowAltRight } from './index.esm-d4932dea.js';
|
|
5
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
6
|
import './index-0dbff1d1.js';
|
|
7
|
-
import './iconBase-
|
|
7
|
+
import './iconBase-ccc56b97.js';
|
|
8
8
|
|
|
9
9
|
var HorizontalHero = function HorizontalHero(props) {
|
|
10
10
|
var client = props.client;
|
|
@@ -29,44 +29,44 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
29
29
|
topArticleThumbnail = props.thumbnail;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
return
|
|
32
|
+
return React__default.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
{ className: 'horizontal-hero-container', style: { borderRight: '3px solid ' + borderColor, borderTop: '3px solid ' + borderColor } },
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
'div',
|
|
37
37
|
{ className: 'horizontal-hero-title' },
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
'h2',
|
|
40
40
|
null,
|
|
41
41
|
heroTitle
|
|
42
42
|
),
|
|
43
|
-
|
|
43
|
+
React__default.createElement('div', null)
|
|
44
44
|
),
|
|
45
|
-
|
|
45
|
+
React__default.createElement(
|
|
46
46
|
'div',
|
|
47
47
|
{ className: 'horizontal-hero-inner' },
|
|
48
|
-
|
|
48
|
+
React__default.createElement(
|
|
49
49
|
'a',
|
|
50
50
|
{ href: '/view/' + topArticle.url.current, className: 'horizontal-hero-img' },
|
|
51
|
-
|
|
51
|
+
React__default.createElement('img', { style: { objectFit: props.imageSize ? props.imageSize : 'cover' }, src: topArticleThumbnail, alt: topArticleAltText })
|
|
52
52
|
),
|
|
53
|
-
|
|
53
|
+
React__default.createElement(
|
|
54
54
|
'div',
|
|
55
55
|
{ className: 'horizontal-articles-wrap' },
|
|
56
|
-
|
|
56
|
+
React__default.createElement(
|
|
57
57
|
'a',
|
|
58
58
|
{ href: '/view/' + topArticle.url.current, className: 'horizontal-article' },
|
|
59
|
-
|
|
59
|
+
React__default.createElement(
|
|
60
60
|
'p',
|
|
61
61
|
null,
|
|
62
62
|
topArticle.title
|
|
63
63
|
)
|
|
64
64
|
),
|
|
65
65
|
subArticles.map(function (article, index) {
|
|
66
|
-
return
|
|
66
|
+
return React__default.createElement(
|
|
67
67
|
'a',
|
|
68
68
|
{ key: index, href: '/view/' + article.url.current, className: 'horizontal-article' },
|
|
69
|
-
|
|
69
|
+
React__default.createElement(
|
|
70
70
|
'p',
|
|
71
71
|
null,
|
|
72
72
|
article.title
|
|
@@ -75,23 +75,23 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
75
75
|
})
|
|
76
76
|
)
|
|
77
77
|
),
|
|
78
|
-
props.linkTo &&
|
|
78
|
+
props.linkTo && React__default.createElement(
|
|
79
79
|
'div',
|
|
80
80
|
{ className: 'horizontal-view-more' },
|
|
81
|
-
|
|
81
|
+
React__default.createElement(
|
|
82
82
|
'a',
|
|
83
83
|
{ href: props.linkTo },
|
|
84
84
|
props.linkTitle ? props.linkTitle : 'View More' + heroTitle,
|
|
85
85
|
' ',
|
|
86
86
|
' ',
|
|
87
|
-
|
|
87
|
+
React__default.createElement(
|
|
88
88
|
'span',
|
|
89
89
|
null,
|
|
90
|
-
|
|
90
|
+
React__default.createElement(FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
91
91
|
)
|
|
92
92
|
)
|
|
93
93
|
),
|
|
94
|
-
|
|
94
|
+
React__default.createElement(
|
|
95
95
|
'style',
|
|
96
96
|
{ jsx: 'true' },
|
|
97
97
|
'\n .horizontal-hero-container {\n margin-bottom: 3rem;\n margin-top: 2rem;\n position: relative;\n }\n .horizontal-hero-title {\n position: absolute;\n top: -25px;\n background: white;\n z-index: 2;\n padding-right: 1rem;\n font-weight: bold;\n }\n .horizontal-hero-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n\n .horizontal-articles-wrap {\n padding: 0 1rem;\n flex-basis: 60%;\n }\n\n .horizontal-hero-img {\n flex-basis: 40%;\n }\n .horizontal-hero-img img {\n width: 100%;\n height: 100%;\n \n }\n .horizontal-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .horizontal-article:hover {\n background: #eee;\n }\n .horizontal-article p {\n font-size: 1.1rem;\n margin-bottom: 0.5rem;\n font-weight: bold;\n color: #252525;\n }\n .horizontal-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-weight: bold;\n }\n .horizontal-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 1.2rem;\n }\n @media screen and (max-width: 1191px){\n \n .horizontal-article > p {\n font-size: 1rem;\n }\n }\n \n @media screen and (max-width: 768px) {\n .horizontal-hero-img {\n display: none;\n }\n .horizontal-articles-wrap {\n \n flex-basis: 100%;\n }\n }\n @media screen and (max-width: 495px) {\n \n .horizontal-article > p {\n font-size: 1rem;\n }\n }\n '
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Row from 'react-bootstrap/Row';
|
|
3
3
|
import Col from 'react-bootstrap/Col';
|
|
4
4
|
import Card from 'react-bootstrap/Card';
|
|
5
5
|
import Badge from 'react-bootstrap/Badge';
|
|
6
|
-
import { L as LazyLoad } from './index-
|
|
6
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
7
7
|
import urlFor from './urlFor.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
9
|
+
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import 'prop-types';
|
|
@@ -36,25 +36,25 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
36
36
|
index = props.index,
|
|
37
37
|
source = props.source;
|
|
38
38
|
|
|
39
|
-
return
|
|
39
|
+
return React__default.createElement(
|
|
40
40
|
Col,
|
|
41
41
|
{ md: 12, lg: 12, key: index },
|
|
42
|
-
|
|
42
|
+
React__default.createElement(
|
|
43
43
|
Card,
|
|
44
44
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
45
|
-
|
|
45
|
+
React__default.createElement(
|
|
46
46
|
'div',
|
|
47
47
|
{ style: { display: 'flex', flex: '1 0 auto', paddingBottom: '1rem' } },
|
|
48
|
-
coverImage &&
|
|
48
|
+
coverImage && React__default.createElement(
|
|
49
49
|
'div',
|
|
50
50
|
{ style: { display: 'flex', flexDirection: 'column', justifyContent: 'center' } },
|
|
51
|
-
|
|
51
|
+
React__default.createElement(
|
|
52
52
|
'a',
|
|
53
53
|
{ href: '/view/' + link },
|
|
54
|
-
|
|
54
|
+
React__default.createElement(
|
|
55
55
|
LazyLoad,
|
|
56
56
|
{ height: imageHeight },
|
|
57
|
-
|
|
57
|
+
React__default.createElement(Card.Img, {
|
|
58
58
|
variant: 'right',
|
|
59
59
|
src: coverImage ? urlFor({ source: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit, client: client }) : Settings.logo,
|
|
60
60
|
alt: title,
|
|
@@ -62,60 +62,60 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
62
62
|
})
|
|
63
63
|
)
|
|
64
64
|
),
|
|
65
|
-
source &&
|
|
65
|
+
source && React__default.createElement(
|
|
66
66
|
'div',
|
|
67
67
|
{ className: 'mb-2 sanityDisplayLabel displayLabelThumb' },
|
|
68
68
|
source
|
|
69
69
|
)
|
|
70
70
|
),
|
|
71
|
-
|
|
71
|
+
React__default.createElement(
|
|
72
72
|
Card.Body,
|
|
73
73
|
{ style: { padding: '0.5rem' } },
|
|
74
|
-
section ?
|
|
74
|
+
section ? React__default.createElement(
|
|
75
75
|
Badge,
|
|
76
76
|
{ variant: 'success' },
|
|
77
77
|
section.name
|
|
78
78
|
) : '',
|
|
79
|
-
|
|
79
|
+
React__default.createElement(
|
|
80
80
|
Card.Title,
|
|
81
81
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
82
|
-
|
|
82
|
+
React__default.createElement(
|
|
83
83
|
'a',
|
|
84
84
|
{ href: '/view/' + link },
|
|
85
|
-
|
|
85
|
+
React__default.createElement(
|
|
86
86
|
'span',
|
|
87
87
|
null,
|
|
88
88
|
title
|
|
89
89
|
)
|
|
90
90
|
),
|
|
91
|
-
|
|
91
|
+
React__default.createElement('br', null)
|
|
92
92
|
),
|
|
93
|
-
|
|
93
|
+
React__default.createElement(
|
|
94
94
|
'div',
|
|
95
95
|
{ style: { float: 'left' } },
|
|
96
|
-
source && !coverImage &&
|
|
96
|
+
source && !coverImage && React__default.createElement(
|
|
97
97
|
'div',
|
|
98
98
|
{ className: 'content-category-label' },
|
|
99
|
-
|
|
99
|
+
React__default.createElement(
|
|
100
100
|
'div',
|
|
101
101
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
102
102
|
source
|
|
103
103
|
)
|
|
104
104
|
),
|
|
105
|
-
|
|
105
|
+
React__default.createElement(
|
|
106
106
|
'p',
|
|
107
107
|
{ style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
|
|
108
108
|
moment(published).format('MMMM DD, YYYY ')
|
|
109
109
|
),
|
|
110
|
-
author.length > 0 &&
|
|
110
|
+
author.length > 0 && React__default.createElement(
|
|
111
111
|
LazyLoad,
|
|
112
112
|
{ height: 50 },
|
|
113
|
-
|
|
113
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: author })
|
|
114
114
|
)
|
|
115
115
|
)
|
|
116
116
|
)
|
|
117
117
|
),
|
|
118
|
-
|
|
118
|
+
React__default.createElement(
|
|
119
119
|
'p',
|
|
120
120
|
{ style: { paddingLeft: '0.5rem' } },
|
|
121
121
|
summary
|
|
@@ -135,29 +135,29 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
135
135
|
Settings = props.Settings,
|
|
136
136
|
index = props.index;
|
|
137
137
|
|
|
138
|
-
return
|
|
138
|
+
return React__default.createElement(
|
|
139
139
|
Col,
|
|
140
140
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
141
|
-
|
|
141
|
+
React__default.createElement(
|
|
142
142
|
Card,
|
|
143
143
|
null,
|
|
144
|
-
|
|
144
|
+
React__default.createElement(
|
|
145
145
|
'a',
|
|
146
146
|
{ href: '/view/' + link },
|
|
147
|
-
coverImage &&
|
|
147
|
+
coverImage && React__default.createElement(
|
|
148
148
|
LazyLoad,
|
|
149
149
|
{ height: imageHeight },
|
|
150
|
-
|
|
150
|
+
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 })
|
|
151
151
|
),
|
|
152
|
-
|
|
152
|
+
React__default.createElement(
|
|
153
153
|
Card.Body,
|
|
154
154
|
null,
|
|
155
|
-
section && section.name ?
|
|
155
|
+
section && section.name ? React__default.createElement(
|
|
156
156
|
Badge,
|
|
157
157
|
{ variant: 'success' },
|
|
158
158
|
section && section.name
|
|
159
159
|
) : '',
|
|
160
|
-
|
|
160
|
+
React__default.createElement(
|
|
161
161
|
Card.Title,
|
|
162
162
|
null,
|
|
163
163
|
title
|
|
@@ -177,12 +177,12 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
177
177
|
_props$variant = props.variant,
|
|
178
178
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
179
179
|
|
|
180
|
-
return
|
|
180
|
+
return React__default.createElement(
|
|
181
181
|
Row,
|
|
182
182
|
null,
|
|
183
183
|
data && data.length ? data.map(function (row, index) {
|
|
184
184
|
if (variant === 'stack') {
|
|
185
|
-
return row.url && row.url.current &&
|
|
185
|
+
return row.url && row.url.current && React__default.createElement(PublicationDeckStack, {
|
|
186
186
|
index: index,
|
|
187
187
|
title: row.title,
|
|
188
188
|
coverImage: row.thumbnail,
|
|
@@ -198,7 +198,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
198
198
|
summary: row.summary
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
return
|
|
201
|
+
return React__default.createElement(PublicationDeckBlock, {
|
|
202
202
|
index: index,
|
|
203
203
|
title: row.title,
|
|
204
204
|
coverImage: row.thumbnail,
|
|
@@ -209,20 +209,20 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
209
209
|
imageWidth: imageWidth,
|
|
210
210
|
client: client
|
|
211
211
|
});
|
|
212
|
-
}) :
|
|
212
|
+
}) : React__default.createElement(
|
|
213
213
|
'div',
|
|
214
214
|
null,
|
|
215
|
-
|
|
215
|
+
React__default.createElement(
|
|
216
216
|
'h5',
|
|
217
217
|
null,
|
|
218
|
-
|
|
218
|
+
React__default.createElement(
|
|
219
219
|
'em',
|
|
220
220
|
{ className: 'pl-3' },
|
|
221
221
|
'New content coming soon, please check back later.'
|
|
222
222
|
)
|
|
223
223
|
)
|
|
224
224
|
),
|
|
225
|
-
|
|
225
|
+
React__default.createElement(
|
|
226
226
|
'style',
|
|
227
227
|
{ jsx: 'true' },
|
|
228
228
|
'\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 display: inline;\n max-width: 240px;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
2
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
-
import
|
|
4
|
+
import React__default, { useState, useEffect, useRef } from 'react';
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
8
|
import Card from 'react-bootstrap/Card';
|
|
9
|
-
import { L as LazyLoad } from './index-
|
|
9
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
10
10
|
import urlFor from './urlFor.js';
|
|
11
|
-
import { I as InfiniteScroll } from './index.es-
|
|
11
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
12
12
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
13
|
import './es6.string.iterator-bc33758b.js';
|
|
14
14
|
import './_to-object-b50e61c3.js';
|
|
@@ -131,71 +131,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
131
131
|
}
|
|
132
132
|
}, [issuesData, setScrolling, count]);
|
|
133
133
|
|
|
134
|
-
return
|
|
134
|
+
return React__default.createElement(
|
|
135
135
|
InfiniteScroll,
|
|
136
136
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
137
137
|
return loadMore();
|
|
138
138
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
139
|
-
|
|
139
|
+
React__default.createElement(
|
|
140
140
|
Row,
|
|
141
141
|
null,
|
|
142
142
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
143
|
-
return publication && row.identifier && row.identifier.current &&
|
|
143
|
+
return publication && row.identifier && row.identifier.current && React__default.createElement(
|
|
144
144
|
Col,
|
|
145
145
|
{ md: 12, lg: 12, key: index },
|
|
146
|
-
|
|
146
|
+
React__default.createElement(
|
|
147
147
|
Card,
|
|
148
148
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
149
|
-
|
|
149
|
+
React__default.createElement(
|
|
150
150
|
Row,
|
|
151
151
|
{ style: { flexDirection: 'left' } },
|
|
152
|
-
|
|
152
|
+
React__default.createElement(
|
|
153
153
|
Col,
|
|
154
154
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
155
|
-
row.issues.length > 0 ?
|
|
155
|
+
row.issues.length > 0 ? React__default.createElement(
|
|
156
156
|
'a',
|
|
157
157
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
158
|
-
row.thumbnail &&
|
|
158
|
+
row.thumbnail && React__default.createElement(
|
|
159
159
|
LazyLoad,
|
|
160
160
|
{ height: imageHeight },
|
|
161
|
-
|
|
161
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
162
162
|
)
|
|
163
|
-
) :
|
|
163
|
+
) : React__default.createElement(
|
|
164
164
|
'a',
|
|
165
165
|
null,
|
|
166
|
-
row.thumbnail &&
|
|
166
|
+
row.thumbnail && React__default.createElement(
|
|
167
167
|
LazyLoad,
|
|
168
168
|
{ height: imageHeight },
|
|
169
|
-
|
|
169
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
170
170
|
)
|
|
171
171
|
)
|
|
172
172
|
),
|
|
173
|
-
|
|
173
|
+
React__default.createElement(
|
|
174
174
|
Col,
|
|
175
175
|
{ md: 12, lg: 8 },
|
|
176
|
-
|
|
176
|
+
React__default.createElement(
|
|
177
177
|
Card.Body,
|
|
178
178
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
179
|
-
|
|
179
|
+
React__default.createElement(
|
|
180
180
|
Row,
|
|
181
181
|
null,
|
|
182
|
-
|
|
182
|
+
React__default.createElement(
|
|
183
183
|
Col,
|
|
184
184
|
null,
|
|
185
|
-
|
|
185
|
+
React__default.createElement(
|
|
186
186
|
Card.Title,
|
|
187
187
|
null,
|
|
188
188
|
row.name
|
|
189
189
|
)
|
|
190
190
|
)
|
|
191
191
|
),
|
|
192
|
-
|
|
192
|
+
React__default.createElement(
|
|
193
193
|
Row,
|
|
194
194
|
null,
|
|
195
|
-
|
|
195
|
+
React__default.createElement(
|
|
196
196
|
Col,
|
|
197
197
|
null,
|
|
198
|
-
|
|
198
|
+
React__default.createElement(
|
|
199
199
|
'div',
|
|
200
200
|
null,
|
|
201
201
|
'Volume: ',
|
|
@@ -203,13 +203,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
203
203
|
)
|
|
204
204
|
)
|
|
205
205
|
),
|
|
206
|
-
|
|
206
|
+
React__default.createElement(
|
|
207
207
|
Row,
|
|
208
208
|
null,
|
|
209
|
-
|
|
209
|
+
React__default.createElement(
|
|
210
210
|
Col,
|
|
211
211
|
null,
|
|
212
|
-
|
|
212
|
+
React__default.createElement(
|
|
213
213
|
'div',
|
|
214
214
|
null,
|
|
215
215
|
'Number: ',
|
|
@@ -217,19 +217,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
217
217
|
)
|
|
218
218
|
)
|
|
219
219
|
),
|
|
220
|
-
|
|
220
|
+
React__default.createElement(
|
|
221
221
|
Row,
|
|
222
222
|
null,
|
|
223
|
-
row.issues.length > 0 &&
|
|
223
|
+
row.issues.length > 0 && React__default.createElement(
|
|
224
224
|
'a',
|
|
225
225
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
226
|
-
|
|
226
|
+
React__default.createElement(
|
|
227
227
|
Button,
|
|
228
228
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
229
229
|
'View Issue'
|
|
230
230
|
)
|
|
231
231
|
),
|
|
232
|
-
row.pdf && row.pdf.asset &&
|
|
232
|
+
row.pdf && row.pdf.asset && React__default.createElement(
|
|
233
233
|
'a',
|
|
234
234
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
235
235
|
'Download Issue'
|
|
@@ -240,13 +240,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
240
240
|
)
|
|
241
241
|
)
|
|
242
242
|
);
|
|
243
|
-
}) :
|
|
243
|
+
}) : React__default.createElement(
|
|
244
244
|
'div',
|
|
245
245
|
null,
|
|
246
|
-
|
|
246
|
+
React__default.createElement(
|
|
247
247
|
'h5',
|
|
248
248
|
null,
|
|
249
|
-
|
|
249
|
+
React__default.createElement(
|
|
250
250
|
'em',
|
|
251
251
|
{ className: 'pl-3' },
|
|
252
252
|
'New content coming soon, please check back later.'
|