@mjhls/mjh-framework 1.0.689-segment → 1.0.690
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +29 -28
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +26 -25
- package/dist/cjs/{ADInfeed-3410ab3c.js → ADInfeed-ba531ca6.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +26 -25
- package/dist/cjs/ADSponsoredResources.js +26 -25
- package/dist/cjs/ADWebcast.js +26 -25
- package/dist/cjs/ADWelcome.js +30 -29
- package/dist/cjs/{ADlgInfeed-845aac15.js → ADlgInfeed-b0cc0e88.js} +9 -8
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +30 -29
- package/dist/cjs/AdSlotsProvider.js +7 -6
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +22 -21
- package/dist/cjs/ArticleSeriesListing.js +58 -57
- package/dist/cjs/Auth.js +793 -357
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-98ebefa4.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-bbc3be61.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/BrowseVideosListing.js +28 -27
- package/dist/cjs/CMEDeck.js +77 -77
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +57 -54
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +106 -102
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-76acc8c2.js} +31 -30
- package/dist/cjs/EventsDeck.js +153 -146
- package/dist/cjs/ExternalResources.js +73 -72
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +180 -176
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +50 -49
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +70 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +37 -35
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +153 -148
- package/dist/cjs/NavNative.js +132 -138
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +170 -169
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +98 -94
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +38 -37
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-6b5e5b47.js → SocialSearchComponent-de064e93.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TemplateNormal.js +72 -71
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesListing.js +72 -71
- package/dist/cjs/View.js +237 -234
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +69 -68
- package/dist/cjs/{_is-array-754e012d.js → _is-array-b1090e3d.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-8decaf0f.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-b69cab35.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-5c9fd235.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-e2d5cc9d.js} +3 -3
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-a855b820.js} +6 -6
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-bf3fde8c.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-1d75ae0f.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-16bd5829.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e3ce14ae.js} +1 -1
- package/dist/cjs/{extends-60837c34.js → extends-a9da965c.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +19 -19
- package/dist/cjs/getSerializers.js +39 -39
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-d8df2f51.js} +11 -11
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b5eb3ff8.js → index-10185024.js} +3 -3
- package/dist/cjs/{index-2d0a4911.js → index-5ad2b070.js} +12 -11
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-44c25825.js → index-e1d6c590.js} +427 -417
- package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-876ca9ff.js → index.esm-61650d1a.js} +5 -12
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/index.js +126 -126
- package/dist/cjs/{inherits-513d81cd.js → inherits-3affeccb.js} +8 -8
- package/dist/cjs/{keys-a586b7a0.js → keys-218a754a.js} +2 -2
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-df97bfe9.js} +84 -79
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5b1b0ed8.js} +4 -4
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-4f757ee6.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-57153848.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-c69a5548.js} +6 -6
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-0ffca19f.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +20 -20
- package/dist/esm/AD300x250x600.js +20 -20
- package/dist/esm/AD728x90.js +23 -23
- package/dist/esm/ADFloatingFooter.js +25 -25
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +22 -22
- package/dist/esm/{ADInfeed-205cb7a9.js → ADInfeed-45191cf8.js} +7 -7
- package/dist/esm/ADSkyscraper.js +22 -22
- package/dist/esm/ADSponsoredResources.js +22 -22
- package/dist/esm/ADWebcast.js +22 -22
- package/dist/esm/ADWelcome.js +26 -26
- package/dist/esm/{ADlgInfeed-e538f17a.js → ADlgInfeed-1f8fc733.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +21 -21
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +18 -18
- package/dist/esm/ArticleSeriesListing.js +52 -52
- package/dist/esm/Auth.js +775 -343
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-30ec92a8.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c5de3044.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/BrowseVideosListing.js +24 -24
- package/dist/esm/CMEDeck.js +73 -73
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +47 -47
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-8b5b19d0.js} +20 -20
- package/dist/esm/EventsDeck.js +99 -99
- package/dist/esm/ExternalResources.js +66 -66
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +138 -138
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +66 -66
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +31 -31
- package/dist/esm/MasterDeck.js +74 -74
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +102 -116
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +108 -108
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +33 -33
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-7f14e0f3.js → SocialSearchComponent-cddc9ce1.js} +26 -26
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesListing.js +65 -65
- package/dist/esm/View.js +223 -224
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +53 -53
- package/dist/esm/{_is-array-49698029.js → _is-array-ffa65b7e.js} +6 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-256a4d61.js} +2 -2
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-0cecd031.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-09ba387c.js} +4 -4
- package/dist/esm/{_to-object-ded78eb9.js → _to-object-ee10dabb.js} +4 -4
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-b0af4000.js} +6 -6
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-0e6dc181.js} +2 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-e013aae3.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-2385da87.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-c5179428.js} +2 -2
- package/dist/esm/{extends-cc5da797.js → extends-03593dc6.js} +1 -1
- package/dist/esm/getRelatedArticle.js +13 -13
- package/dist/esm/getSerializers.js +39 -39
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-60717d7f.js} +11 -11
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-51a80699.js → index-4de5c15f.js} +3 -3
- package/dist/esm/{index-93ec3c59.js → index-669ff425.js} +6 -6
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-8a757d91.js → index-cbd95715.js} +373 -369
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +104 -104
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-d88f5b29.js} +5 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-618df59d.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-a2443735.js} +84 -80
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-648674b3.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-7c97a94d.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-aa76a4fe.js} +4 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-5c759779.js} +6 -6
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-de3b4afb.js} +3 -3
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './moment-b6f49411.js';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
4
|
+
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
1
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import './moment-12415288.js';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
6
|
import './iconBase-602d52fe.js';
|
|
6
|
-
import { a as FaLongArrowAltRight } from './index.esm-cf08bf18.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,20 +1,20 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import './_to-object-ded78eb9.js';
|
|
3
|
-
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
5
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
6
|
-
import React__default from 'react';
|
|
7
|
-
import 'prop-types';
|
|
1
|
+
import React from 'react';
|
|
8
2
|
import Row from 'react-bootstrap/Row';
|
|
9
3
|
import Col from 'react-bootstrap/Col';
|
|
10
4
|
import Card from 'react-bootstrap/Card';
|
|
11
|
-
import { m as moment } from './moment-12415288.js';
|
|
12
|
-
import 'react-dom';
|
|
13
|
-
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
14
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
15
|
-
import './slicedToArray-7021e5df.js';
|
|
16
|
-
import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
|
|
17
5
|
import Badge from 'react-bootstrap/Badge';
|
|
6
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
7
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
8
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
9
|
+
import { A as AuthorComponent } from './AuthorComponent-30ec92a8.js';
|
|
10
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
+
import 'react-dom';
|
|
12
|
+
import 'prop-types';
|
|
13
|
+
import './slicedToArray-648674b3.js';
|
|
14
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
15
|
+
import './es6.string.iterator-c5179428.js';
|
|
16
|
+
import './_to-object-ee10dabb.js';
|
|
17
|
+
import './core.get-iterator-method-0e6dc181.js';
|
|
18
18
|
|
|
19
19
|
var urlFor = function urlFor(source, client) {
|
|
20
20
|
var builder = imageUrlBuilder(client);
|
|
@@ -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,23 +1,23 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
6
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
-
import './_object-pie-71ac75a4.js';
|
|
8
|
-
import { _ as _extends } from './extends-cc5da797.js';
|
|
9
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
10
|
-
import React__default, { useState, useEffect, useRef } from 'react';
|
|
11
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-aa76a4fe.js';
|
|
2
|
+
import { _ as _extends } from './extends-03593dc6.js';
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-648674b3.js';
|
|
4
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
12
5
|
import Row from 'react-bootstrap/Row';
|
|
13
6
|
import Col from 'react-bootstrap/Col';
|
|
7
|
+
import Button from 'react-bootstrap/Button';
|
|
14
8
|
import Card from 'react-bootstrap/Card';
|
|
15
|
-
import {
|
|
9
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
10
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
11
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
12
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
|
+
import './es6.string.iterator-c5179428.js';
|
|
14
|
+
import './_to-object-ee10dabb.js';
|
|
15
|
+
import './_iter-detect-256a4d61.js';
|
|
16
|
+
import './core.get-iterator-method-0e6dc181.js';
|
|
17
|
+
import './_object-pie-71ac75a4.js';
|
|
18
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
16
19
|
import 'react-dom';
|
|
17
|
-
import
|
|
18
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
19
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
20
|
-
import Button from 'react-bootstrap/Button';
|
|
20
|
+
import 'prop-types';
|
|
21
21
|
|
|
22
22
|
var usePrevious = function usePrevious(value) {
|
|
23
23
|
var ref = useRef();
|
|
@@ -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.'
|