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