@mjhls/mjh-framework 1.0.876 → 1.0.877
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 +5 -6
- 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/Beam.js +2 -2
- 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-9be904d5.js → Dfp-94f8ccdf.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 +406 -306
- 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/Segment.js +0 -1
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-ce3261cb.js → SeriesSlider-f9128638.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-5ec44406.js → SocialSearchComponent-4942ddfc.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-9d509319.js → getTargeting-6d59cc5b.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-6a2a3e03.js → index-2a2528f6.js} +28 -28
- 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-6c6093ae.js → ADInfeed-c7b8f6be.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-5d7386e8.js → ADlgInfeed-1aea5403.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +8 -9
- package/dist/esm/AdSlotsProvider.js +4 -5
- package/dist/esm/AlgoliaSearch.js +40 -14121
- 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-46a745ba.js → AuthorComponent-defe68b6.js} +10 -10
- package/dist/esm/Beam.js +2 -2
- 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-4ca12f2e.js → Dfp-4b99f79d.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 +432 -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 +66 -67
- 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/Segment.js +0 -1
- package/dist/esm/SeriesListingDeck.js +19 -20
- package/dist/esm/{SeriesSlider-485f514e.js → SeriesSlider-98b7a870.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a5b11613.js → SocialSearchComponent-9458fac6.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 +173 -174
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +38 -38
- 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-ff2c9409.js → getTargeting-3792eba9.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-5bbd1562.js → index-1d312e35.js} +444 -444
- 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-1894c974.js} +20 -20
- 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 +111 -111
- 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-b9e5ff3f.js → ADInfeed-3c44e465.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-3cdefebd.js → ADlgInfeed-0c03dac2.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-dc6a71fd.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-1d312e35.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -11,17 +11,16 @@ import './YoutubeGroup.js';
|
|
|
11
11
|
import './slicedToArray-ca2c8b8d.js';
|
|
12
12
|
import './web.dom.iterable-fdf034f5.js';
|
|
13
13
|
import './index-c7e2ac95.js';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-755f2cc2.js';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import './smoothscroll-fa4e3f8c.js';
|
|
18
18
|
import './urlFor.js';
|
|
19
19
|
import './index-0dbff1d1.js';
|
|
20
|
-
import './main-
|
|
21
|
-
import './iconBase-
|
|
20
|
+
import './main-1894c974.js';
|
|
21
|
+
import './iconBase-ccc56b97.js';
|
|
22
22
|
import 'react-bootstrap';
|
|
23
|
-
import './index-
|
|
24
|
-
import './events-6c3a7a63.js';
|
|
23
|
+
import './index-5cc7b406.js';
|
|
25
24
|
import 'next/router';
|
|
26
25
|
import './util-3ab476bf.js';
|
|
27
26
|
import './Beam.js';
|
|
@@ -32,7 +31,7 @@ import './_iter-detect-f089461c.js';
|
|
|
32
31
|
import './Segment.js';
|
|
33
32
|
import './typeof-83d9eb10.js';
|
|
34
33
|
import './_is-array-893ab020.js';
|
|
35
|
-
import './brightcove-react-player-loader.es-
|
|
34
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
36
35
|
import './GroupDeck.js';
|
|
37
36
|
import './moment-bc12cb97.js';
|
|
38
37
|
import './SocialShare.js';
|
|
@@ -72,59 +71,59 @@ function HorizontalArticleListing(_ref) {
|
|
|
72
71
|
// identifier: ...,
|
|
73
72
|
// data: Array of latest articles with videos
|
|
74
73
|
// }
|
|
75
|
-
return
|
|
74
|
+
return React__default.createElement(
|
|
76
75
|
'div',
|
|
77
76
|
null,
|
|
78
77
|
data.length > 0 ? data.map(function (taxonomy, index) {
|
|
79
|
-
return
|
|
80
|
-
|
|
78
|
+
return React__default.createElement(
|
|
79
|
+
React__default.Fragment,
|
|
81
80
|
null,
|
|
82
|
-
|
|
81
|
+
React__default.createElement(
|
|
83
82
|
'div',
|
|
84
83
|
{ key: 'articleCarousel_' + taxonomy.identifier + '_' + index, className: 'mb-3 horizontal-article' },
|
|
85
|
-
|
|
84
|
+
React__default.createElement(
|
|
86
85
|
'div',
|
|
87
86
|
{ className: 'horizontal-article-header', style: { borderBottom: '2px solid ' + color } },
|
|
88
|
-
|
|
87
|
+
React__default.createElement(
|
|
89
88
|
'div',
|
|
90
89
|
{ className: 'horizontal-article-title-wrapper' },
|
|
91
|
-
|
|
90
|
+
React__default.createElement(
|
|
92
91
|
'a',
|
|
93
92
|
{ href: '/' + taxonomy.identifier },
|
|
94
|
-
|
|
93
|
+
React__default.createElement(
|
|
95
94
|
'h4',
|
|
96
95
|
{ className: 'article-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', margin: '0' } },
|
|
97
96
|
taxonomy.name
|
|
98
97
|
)
|
|
99
98
|
),
|
|
100
|
-
taxonomy.identifier &&
|
|
99
|
+
taxonomy.identifier && React__default.createElement(
|
|
101
100
|
'div',
|
|
102
101
|
{ style: { width: 'fit-content', whiteSpace: 'nowrap' } },
|
|
103
|
-
|
|
102
|
+
React__default.createElement(
|
|
104
103
|
'a',
|
|
105
104
|
{ href: '/' + taxonomy.identifier },
|
|
106
105
|
'View All ',
|
|
107
|
-
|
|
106
|
+
React__default.createElement(IoIosArrowForward, null)
|
|
108
107
|
)
|
|
109
108
|
)
|
|
110
109
|
),
|
|
111
|
-
taxonomy.summary &&
|
|
110
|
+
taxonomy.summary && React__default.createElement(
|
|
112
111
|
'div',
|
|
113
112
|
{ className: 'horizontal-article-summary' },
|
|
114
|
-
|
|
113
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: taxonomy.summary, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
115
114
|
)
|
|
116
115
|
),
|
|
117
|
-
taxonomy.data.length > 0 ?
|
|
116
|
+
taxonomy.data.length > 0 ? React__default.createElement(
|
|
118
117
|
'div',
|
|
119
118
|
{ className: 'article-carousel' },
|
|
120
|
-
|
|
121
|
-
) :
|
|
119
|
+
React__default.createElement(ArticleCarousel, { articles: taxonomy.data, client: client })
|
|
120
|
+
) : React__default.createElement(
|
|
122
121
|
'div',
|
|
123
122
|
null,
|
|
124
|
-
|
|
123
|
+
React__default.createElement(
|
|
125
124
|
'h5',
|
|
126
125
|
{ className: 'mt-2' },
|
|
127
|
-
|
|
126
|
+
React__default.createElement(
|
|
128
127
|
'em',
|
|
129
128
|
{ className: 'pl-3' },
|
|
130
129
|
'New content coming soon, please check back later.'
|
|
@@ -132,19 +131,19 @@ function HorizontalArticleListing(_ref) {
|
|
|
132
131
|
)
|
|
133
132
|
)
|
|
134
133
|
),
|
|
135
|
-
|
|
134
|
+
React__default.createElement(
|
|
136
135
|
'style',
|
|
137
136
|
{ jsx: 'true' },
|
|
138
137
|
'\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 '
|
|
139
138
|
)
|
|
140
139
|
);
|
|
141
|
-
}) :
|
|
140
|
+
}) : React__default.createElement(
|
|
142
141
|
'div',
|
|
143
142
|
null,
|
|
144
|
-
|
|
143
|
+
React__default.createElement(
|
|
145
144
|
'h5',
|
|
146
145
|
null,
|
|
147
|
-
|
|
146
|
+
React__default.createElement(
|
|
148
147
|
'em',
|
|
149
148
|
{ className: 'pl-3' },
|
|
150
149
|
'New content coming soon, please check back later.'
|
|
@@ -1,13 +1,13 @@
|
|
|
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 './slicedToArray-ca2c8b8d.js';
|
|
7
7
|
import './web.dom.iterable-fdf034f5.js';
|
|
8
8
|
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
import './index-0dbff1d1.js';
|
|
10
|
-
import './iconBase-
|
|
10
|
+
import './iconBase-ccc56b97.js';
|
|
11
11
|
|
|
12
12
|
var HorizontalHero = function HorizontalHero(props) {
|
|
13
13
|
var client = props.client;
|
|
@@ -32,44 +32,44 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
32
32
|
topArticleThumbnail = props.thumbnail;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
return
|
|
35
|
+
return React__default.createElement(
|
|
36
36
|
'div',
|
|
37
37
|
{ className: 'horizontal-hero-container', style: { borderRight: '3px solid ' + borderColor, borderTop: '3px solid ' + borderColor } },
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
'div',
|
|
40
40
|
{ className: 'horizontal-hero-title' },
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
'h2',
|
|
43
43
|
null,
|
|
44
44
|
heroTitle
|
|
45
45
|
),
|
|
46
|
-
|
|
46
|
+
React__default.createElement('div', null)
|
|
47
47
|
),
|
|
48
|
-
|
|
48
|
+
React__default.createElement(
|
|
49
49
|
'div',
|
|
50
50
|
{ className: 'horizontal-hero-inner' },
|
|
51
|
-
|
|
51
|
+
React__default.createElement(
|
|
52
52
|
'a',
|
|
53
53
|
{ href: '/view/' + topArticle.url.current, className: 'horizontal-hero-img' },
|
|
54
|
-
|
|
54
|
+
React__default.createElement('img', { style: { objectFit: props.imageSize ? props.imageSize : 'cover' }, src: topArticleThumbnail, alt: topArticleAltText })
|
|
55
55
|
),
|
|
56
|
-
|
|
56
|
+
React__default.createElement(
|
|
57
57
|
'div',
|
|
58
58
|
{ className: 'horizontal-articles-wrap' },
|
|
59
|
-
|
|
59
|
+
React__default.createElement(
|
|
60
60
|
'a',
|
|
61
61
|
{ href: '/view/' + topArticle.url.current, className: 'horizontal-article' },
|
|
62
|
-
|
|
62
|
+
React__default.createElement(
|
|
63
63
|
'p',
|
|
64
64
|
null,
|
|
65
65
|
topArticle.title
|
|
66
66
|
)
|
|
67
67
|
),
|
|
68
68
|
subArticles.map(function (article, index) {
|
|
69
|
-
return
|
|
69
|
+
return React__default.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ key: index, href: '/view/' + article.url.current, className: 'horizontal-article' },
|
|
72
|
-
|
|
72
|
+
React__default.createElement(
|
|
73
73
|
'p',
|
|
74
74
|
null,
|
|
75
75
|
article.title
|
|
@@ -78,23 +78,23 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
78
78
|
})
|
|
79
79
|
)
|
|
80
80
|
),
|
|
81
|
-
props.linkTo &&
|
|
81
|
+
props.linkTo && React__default.createElement(
|
|
82
82
|
'div',
|
|
83
83
|
{ className: 'horizontal-view-more' },
|
|
84
|
-
|
|
84
|
+
React__default.createElement(
|
|
85
85
|
'a',
|
|
86
86
|
{ href: props.linkTo },
|
|
87
87
|
props.linkTitle ? props.linkTitle : 'View More' + heroTitle,
|
|
88
88
|
' ',
|
|
89
89
|
' ',
|
|
90
|
-
|
|
90
|
+
React__default.createElement(
|
|
91
91
|
'span',
|
|
92
92
|
null,
|
|
93
|
-
|
|
93
|
+
React__default.createElement(FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
94
94
|
)
|
|
95
95
|
)
|
|
96
96
|
),
|
|
97
|
-
|
|
97
|
+
React__default.createElement(
|
|
98
98
|
'style',
|
|
99
99
|
{ jsx: 'true' },
|
|
100
100
|
'\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-defe68b6.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import 'prop-types';
|
|
@@ -34,25 +34,25 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
34
34
|
index = props.index,
|
|
35
35
|
source = props.source;
|
|
36
36
|
|
|
37
|
-
return
|
|
37
|
+
return React__default.createElement(
|
|
38
38
|
Col,
|
|
39
39
|
{ md: 12, lg: 12, key: index },
|
|
40
|
-
|
|
40
|
+
React__default.createElement(
|
|
41
41
|
Card,
|
|
42
42
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
43
|
-
|
|
43
|
+
React__default.createElement(
|
|
44
44
|
'div',
|
|
45
45
|
{ style: { display: 'flex', flex: '1 0 auto', paddingBottom: '1rem' } },
|
|
46
|
-
coverImage &&
|
|
46
|
+
coverImage && React__default.createElement(
|
|
47
47
|
'div',
|
|
48
48
|
{ style: { display: 'flex', flexDirection: 'column', justifyContent: 'center' } },
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
'a',
|
|
51
51
|
{ href: '/view/' + link },
|
|
52
|
-
|
|
52
|
+
React__default.createElement(
|
|
53
53
|
LazyLoad,
|
|
54
54
|
{ height: imageHeight },
|
|
55
|
-
|
|
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,
|
|
@@ -60,60 +60,60 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
60
60
|
})
|
|
61
61
|
)
|
|
62
62
|
),
|
|
63
|
-
source &&
|
|
63
|
+
source && React__default.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ className: 'mb-2 sanityDisplayLabel displayLabelThumb' },
|
|
66
66
|
source
|
|
67
67
|
)
|
|
68
68
|
),
|
|
69
|
-
|
|
69
|
+
React__default.createElement(
|
|
70
70
|
Card.Body,
|
|
71
71
|
{ style: { padding: '0.5rem' } },
|
|
72
|
-
section ?
|
|
72
|
+
section ? React__default.createElement(
|
|
73
73
|
Badge,
|
|
74
74
|
{ variant: 'success' },
|
|
75
75
|
section.name
|
|
76
76
|
) : '',
|
|
77
|
-
|
|
77
|
+
React__default.createElement(
|
|
78
78
|
Card.Title,
|
|
79
79
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
80
|
-
|
|
80
|
+
React__default.createElement(
|
|
81
81
|
'a',
|
|
82
82
|
{ href: '/view/' + link },
|
|
83
|
-
|
|
83
|
+
React__default.createElement(
|
|
84
84
|
'span',
|
|
85
85
|
null,
|
|
86
86
|
title
|
|
87
87
|
)
|
|
88
88
|
),
|
|
89
|
-
|
|
89
|
+
React__default.createElement('br', null)
|
|
90
90
|
),
|
|
91
|
-
|
|
91
|
+
React__default.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ style: { float: 'left' } },
|
|
94
|
-
source && !coverImage &&
|
|
94
|
+
source && !coverImage && React__default.createElement(
|
|
95
95
|
'div',
|
|
96
96
|
{ className: 'content-category-label' },
|
|
97
|
-
|
|
97
|
+
React__default.createElement(
|
|
98
98
|
'div',
|
|
99
99
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
100
100
|
source
|
|
101
101
|
)
|
|
102
102
|
),
|
|
103
|
-
|
|
103
|
+
React__default.createElement(
|
|
104
104
|
'p',
|
|
105
105
|
{ style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
|
|
106
106
|
moment(published).format('MMMM DD, YYYY ')
|
|
107
107
|
),
|
|
108
|
-
author.length > 0 &&
|
|
108
|
+
author.length > 0 && React__default.createElement(
|
|
109
109
|
LazyLoad,
|
|
110
110
|
{ height: 50 },
|
|
111
|
-
|
|
111
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: author })
|
|
112
112
|
)
|
|
113
113
|
)
|
|
114
114
|
)
|
|
115
115
|
),
|
|
116
|
-
|
|
116
|
+
React__default.createElement(
|
|
117
117
|
'p',
|
|
118
118
|
{ style: { paddingLeft: '0.5rem' } },
|
|
119
119
|
summary
|
|
@@ -133,29 +133,29 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
133
133
|
Settings = props.Settings,
|
|
134
134
|
index = props.index;
|
|
135
135
|
|
|
136
|
-
return
|
|
136
|
+
return React__default.createElement(
|
|
137
137
|
Col,
|
|
138
138
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
139
|
-
|
|
139
|
+
React__default.createElement(
|
|
140
140
|
Card,
|
|
141
141
|
null,
|
|
142
|
-
|
|
142
|
+
React__default.createElement(
|
|
143
143
|
'a',
|
|
144
144
|
{ href: '/view/' + link },
|
|
145
|
-
coverImage &&
|
|
145
|
+
coverImage && React__default.createElement(
|
|
146
146
|
LazyLoad,
|
|
147
147
|
{ height: imageHeight },
|
|
148
|
-
|
|
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
151
|
Card.Body,
|
|
152
152
|
null,
|
|
153
|
-
section && section.name ?
|
|
153
|
+
section && section.name ? React__default.createElement(
|
|
154
154
|
Badge,
|
|
155
155
|
{ variant: 'success' },
|
|
156
156
|
section && section.name
|
|
157
157
|
) : '',
|
|
158
|
-
|
|
158
|
+
React__default.createElement(
|
|
159
159
|
Card.Title,
|
|
160
160
|
null,
|
|
161
161
|
title
|
|
@@ -175,12 +175,12 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
175
175
|
_props$variant = props.variant,
|
|
176
176
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
177
177
|
|
|
178
|
-
return
|
|
178
|
+
return React__default.createElement(
|
|
179
179
|
Row,
|
|
180
180
|
null,
|
|
181
181
|
data && data.length ? data.map(function (row, index) {
|
|
182
182
|
if (variant === 'stack') {
|
|
183
|
-
return row.url && row.url.current &&
|
|
183
|
+
return row.url && row.url.current && React__default.createElement(PublicationDeckStack, {
|
|
184
184
|
index: index,
|
|
185
185
|
title: row.title,
|
|
186
186
|
coverImage: row.thumbnail,
|
|
@@ -196,7 +196,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
196
196
|
summary: row.summary
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
|
-
return
|
|
199
|
+
return React__default.createElement(PublicationDeckBlock, {
|
|
200
200
|
index: index,
|
|
201
201
|
title: row.title,
|
|
202
202
|
coverImage: row.thumbnail,
|
|
@@ -207,20 +207,20 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
207
207
|
imageWidth: imageWidth,
|
|
208
208
|
client: client
|
|
209
209
|
});
|
|
210
|
-
}) :
|
|
210
|
+
}) : React__default.createElement(
|
|
211
211
|
'div',
|
|
212
212
|
null,
|
|
213
|
-
|
|
213
|
+
React__default.createElement(
|
|
214
214
|
'h5',
|
|
215
215
|
null,
|
|
216
|
-
|
|
216
|
+
React__default.createElement(
|
|
217
217
|
'em',
|
|
218
218
|
{ className: 'pl-3' },
|
|
219
219
|
'New content coming soon, please check back later.'
|
|
220
220
|
)
|
|
221
221
|
)
|
|
222
222
|
),
|
|
223
|
-
|
|
223
|
+
React__default.createElement(
|
|
224
224
|
'style',
|
|
225
225
|
{ jsx: 'true' },
|
|
226
226
|
'\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-7b1c0e23.js';
|
|
2
2
|
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.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 './core.get-iterator-method-e903ff31.js';
|
|
14
14
|
import './_iter-detect-f089461c.js';
|
|
@@ -129,71 +129,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
129
129
|
}
|
|
130
130
|
}, [issuesData, setScrolling, count]);
|
|
131
131
|
|
|
132
|
-
return
|
|
132
|
+
return React__default.createElement(
|
|
133
133
|
InfiniteScroll,
|
|
134
134
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
135
135
|
return loadMore();
|
|
136
136
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
137
|
-
|
|
137
|
+
React__default.createElement(
|
|
138
138
|
Row,
|
|
139
139
|
null,
|
|
140
140
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
141
|
-
return publication && row.identifier && row.identifier.current &&
|
|
141
|
+
return publication && row.identifier && row.identifier.current && React__default.createElement(
|
|
142
142
|
Col,
|
|
143
143
|
{ md: 12, lg: 12, key: index },
|
|
144
|
-
|
|
144
|
+
React__default.createElement(
|
|
145
145
|
Card,
|
|
146
146
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
147
|
-
|
|
147
|
+
React__default.createElement(
|
|
148
148
|
Row,
|
|
149
149
|
{ style: { flexDirection: 'left' } },
|
|
150
|
-
|
|
150
|
+
React__default.createElement(
|
|
151
151
|
Col,
|
|
152
152
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
153
|
-
row.issues.length > 0 ?
|
|
153
|
+
row.issues.length > 0 ? React__default.createElement(
|
|
154
154
|
'a',
|
|
155
155
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
156
|
-
row.thumbnail &&
|
|
156
|
+
row.thumbnail && React__default.createElement(
|
|
157
157
|
LazyLoad,
|
|
158
158
|
{ height: imageHeight },
|
|
159
|
-
|
|
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',
|
|
163
163
|
null,
|
|
164
|
-
row.thumbnail &&
|
|
164
|
+
row.thumbnail && React__default.createElement(
|
|
165
165
|
LazyLoad,
|
|
166
166
|
{ height: imageHeight },
|
|
167
|
-
|
|
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
172
|
Col,
|
|
173
173
|
{ md: 12, lg: 8 },
|
|
174
|
-
|
|
174
|
+
React__default.createElement(
|
|
175
175
|
Card.Body,
|
|
176
176
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
177
|
-
|
|
177
|
+
React__default.createElement(
|
|
178
178
|
Row,
|
|
179
179
|
null,
|
|
180
|
-
|
|
180
|
+
React__default.createElement(
|
|
181
181
|
Col,
|
|
182
182
|
null,
|
|
183
|
-
|
|
183
|
+
React__default.createElement(
|
|
184
184
|
Card.Title,
|
|
185
185
|
null,
|
|
186
186
|
row.name
|
|
187
187
|
)
|
|
188
188
|
)
|
|
189
189
|
),
|
|
190
|
-
|
|
190
|
+
React__default.createElement(
|
|
191
191
|
Row,
|
|
192
192
|
null,
|
|
193
|
-
|
|
193
|
+
React__default.createElement(
|
|
194
194
|
Col,
|
|
195
195
|
null,
|
|
196
|
-
|
|
196
|
+
React__default.createElement(
|
|
197
197
|
'div',
|
|
198
198
|
null,
|
|
199
199
|
'Volume: ',
|
|
@@ -201,13 +201,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
201
201
|
)
|
|
202
202
|
)
|
|
203
203
|
),
|
|
204
|
-
|
|
204
|
+
React__default.createElement(
|
|
205
205
|
Row,
|
|
206
206
|
null,
|
|
207
|
-
|
|
207
|
+
React__default.createElement(
|
|
208
208
|
Col,
|
|
209
209
|
null,
|
|
210
|
-
|
|
210
|
+
React__default.createElement(
|
|
211
211
|
'div',
|
|
212
212
|
null,
|
|
213
213
|
'Number: ',
|
|
@@ -215,19 +215,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
215
215
|
)
|
|
216
216
|
)
|
|
217
217
|
),
|
|
218
|
-
|
|
218
|
+
React__default.createElement(
|
|
219
219
|
Row,
|
|
220
220
|
null,
|
|
221
|
-
row.issues.length > 0 &&
|
|
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
225
|
Button,
|
|
226
226
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
227
227
|
'View Issue'
|
|
228
228
|
)
|
|
229
229
|
),
|
|
230
|
-
row.pdf && row.pdf.asset &&
|
|
230
|
+
row.pdf && row.pdf.asset && React__default.createElement(
|
|
231
231
|
'a',
|
|
232
232
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
233
233
|
'Download Issue'
|
|
@@ -238,13 +238,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
238
238
|
)
|
|
239
239
|
)
|
|
240
240
|
);
|
|
241
|
-
}) :
|
|
241
|
+
}) : React__default.createElement(
|
|
242
242
|
'div',
|
|
243
243
|
null,
|
|
244
|
-
|
|
244
|
+
React__default.createElement(
|
|
245
245
|
'h5',
|
|
246
246
|
null,
|
|
247
|
-
|
|
247
|
+
React__default.createElement(
|
|
248
248
|
'em',
|
|
249
249
|
{ className: 'pl-3' },
|
|
250
250
|
'New content coming soon, please check back later.'
|