@mjhls/mjh-framework 1.0.678 → 1.0.679-article-series-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 +1 -1
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +10 -9
- package/dist/cjs/AD300x250x600.js +10 -9
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +12 -11
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-c676389b.js → ADInfeed-b5b2314f.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +12 -11
- package/dist/cjs/ADWebcast.js +12 -11
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-57d63c87.js → ADlgInfeed-c68807aa.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +9 -8
- package/dist/cjs/ArticleSeriesListing.js +38 -37
- package/dist/cjs/Auth.js +430 -593
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/BrowseVideosListing.js +77 -0
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +19 -18
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +77 -73
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-fa2c6aad.js} +21 -20
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +44 -43
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +153 -149
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +40 -39
- package/dist/cjs/HamMagazine.js +119 -114
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +69 -64
- package/dist/cjs/IssueDeck.js +64 -59
- package/dist/cjs/IssueLanding.js +18 -17
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +50 -49
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +121 -116
- package/dist/cjs/NavNative.js +103 -95
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +1269 -71
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +52 -48
- package/dist/cjs/QueueDeckExpanded.js +219 -219
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +22 -21
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-fde6c921.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +36 -35
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesCard.js +25 -24
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesListing.js +52 -51
- package/dist/cjs/View.js +249 -194
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +61 -58
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +9 -9
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-c190d704.js → index-14681913.js} +360 -350
- package/dist/cjs/{index-2d0a4911.js → index-44481153.js} +9 -8
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-8a3fb0bc.js} +12 -10
- package/dist/cjs/index-bd6c9f56.js +211 -0
- 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-fe549f9c.js → index.esm-dd489d02.js} +20 -20
- package/dist/cjs/index.js +35 -32
- package/dist/cjs/{inherits-513d81cd.js → inherits-87492b40.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-9499b3ef.js} +48 -43
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -7
- package/dist/esm/AD300x250x600.js +7 -7
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +9 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-97b8cea7.js → ADInfeed-8c903afb.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-3ab91c75.js → ADlgInfeed-cec57eaf.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleSeriesListing.js +32 -32
- package/dist/esm/Auth.js +411 -578
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-23afa074.js} +10 -10
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-d05b5b23.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/BrowseVideosListing.js +71 -0
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +13 -13
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +53 -53
- package/dist/esm/DeckQueue.js +46 -46
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-939e8fcf.js} +10 -10
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +37 -37
- package/dist/esm/Feature.js +16 -16
- package/dist/esm/ForbesHero.js +27 -27
- package/dist/esm/GridContent.js +110 -110
- package/dist/esm/GridHero.js +28 -28
- package/dist/esm/GroupDeck.js +35 -35
- package/dist/esm/HamMagazine.js +86 -86
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/IssueContentDeck.js +40 -40
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +43 -43
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +90 -90
- package/dist/esm/NavNative.js +70 -70
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +13 -14
- package/dist/esm/OncliveLargeHero.js +51 -51
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +1263 -67
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +28 -28
- package/dist/esm/QueueDeckExpanded.js +199 -199
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +16 -16
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-a13fc98b.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TemplateNormal.js +29 -29
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoSeriesCard.js +16 -16
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesListing.js +45 -45
- package/dist/esm/View.js +231 -180
- package/dist/esm/YahooHero.js +24 -24
- package/dist/esm/YoutubeGroup.js +46 -44
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +9 -9
- package/dist/esm/{index-93ec3c59.js → index-1819118a.js} +3 -3
- package/dist/esm/{index-983cedab.js → index-609b2da6.js} +302 -298
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/index-db3bb315.js +207 -0
- 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-73e847d2.js → index.esm-902766e0.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 +28 -27
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-596840e8.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-edbd70ac.js} +48 -44
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-08f2c380.js → typeof-ee095d0c.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -8,24 +8,24 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
8
8
|
import './_object-pie-71ac75a4.js';
|
|
9
9
|
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
10
|
import './_object-sap-4d59d5bd.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-596840e8.js';
|
|
12
12
|
import './define-property-de3fc946.js';
|
|
13
13
|
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
-
import './typeof-
|
|
14
|
+
import './typeof-ee095d0c.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
|
-
import
|
|
17
|
-
import './index-
|
|
16
|
+
import React, { useState, useEffect } from 'react';
|
|
17
|
+
import './index-1819118a.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import 'react-bootstrap/Row';
|
|
20
20
|
import 'react-bootstrap/Col';
|
|
21
|
-
import './moment-
|
|
21
|
+
import './moment-b6f49411.js';
|
|
22
22
|
import { useRouter } from 'next/router';
|
|
23
23
|
import './isSymbol-807e927e.js';
|
|
24
24
|
import './debounce-1a993acf.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import './index-51a80699.js';
|
|
27
|
-
import './index-
|
|
28
|
-
import './main-
|
|
27
|
+
import './index-c5fd0af5.js';
|
|
28
|
+
import './main-edbd70ac.js';
|
|
29
29
|
import './entities-7cc3bf45.js';
|
|
30
30
|
import './stringify-008c8802.js';
|
|
31
31
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
@@ -33,15 +33,15 @@ import './asyncToGenerator-7c654f36.js';
|
|
|
33
33
|
import './_set-species-cede29f8.js';
|
|
34
34
|
import './beam-681a9749.js';
|
|
35
35
|
import './AdSlot.js';
|
|
36
|
-
import { B as BlockContent } from './BlockContent-
|
|
36
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
37
37
|
import './smoothscroll-4b699764.js';
|
|
38
38
|
import './GroupDeck.js';
|
|
39
39
|
import 'react-bootstrap';
|
|
40
40
|
import Button from 'react-bootstrap/Button';
|
|
41
|
-
import { m as momentTimezone } from './index-
|
|
42
|
-
import { g as getSerializers } from './index-
|
|
41
|
+
import { m as momentTimezone } from './index-c00b0bbb.js';
|
|
42
|
+
import { g as getSerializers } from './index-609b2da6.js';
|
|
43
43
|
import './util-7700fc59.js';
|
|
44
|
-
import './brightcove-react-player-loader.es-
|
|
44
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
45
45
|
import 'react-bootstrap/Pagination';
|
|
46
46
|
import 'next/head';
|
|
47
47
|
|
|
@@ -63,13 +63,13 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
63
63
|
useEffect(function () {
|
|
64
64
|
router.push(router.pathname, '/' + url + '?display=' + active, { shallow: true });
|
|
65
65
|
}, [active]);
|
|
66
|
-
return
|
|
66
|
+
return React.createElement(
|
|
67
67
|
'div',
|
|
68
68
|
{ id: 'resources' },
|
|
69
|
-
|
|
69
|
+
React.createElement(
|
|
70
70
|
'div',
|
|
71
71
|
{ id: 'toggles' },
|
|
72
|
-
|
|
72
|
+
React.createElement(
|
|
73
73
|
'div',
|
|
74
74
|
{ onClick: function onClick() {
|
|
75
75
|
return setActive(function () {
|
|
@@ -78,7 +78,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
78
78
|
}, className: active === 'recent' ? 'active' : '' },
|
|
79
79
|
'Recent'
|
|
80
80
|
),
|
|
81
|
-
|
|
81
|
+
React.createElement(
|
|
82
82
|
'div',
|
|
83
83
|
{ onClick: function onClick() {
|
|
84
84
|
return setActive(function () {
|
|
@@ -89,72 +89,72 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
89
89
|
)
|
|
90
90
|
),
|
|
91
91
|
resources[active].length > 0 ? resources[active].map(function (r, i) {
|
|
92
|
-
return
|
|
92
|
+
return React.createElement(
|
|
93
93
|
'div',
|
|
94
94
|
{ key: i, className: 'resource' },
|
|
95
|
-
|
|
95
|
+
React.createElement(
|
|
96
96
|
'div',
|
|
97
97
|
{ id: 'thumb' },
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
'a',
|
|
100
100
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
101
|
-
|
|
101
|
+
React.createElement('img', { src: r.thumbnail })
|
|
102
102
|
)
|
|
103
103
|
),
|
|
104
|
-
|
|
104
|
+
React.createElement(
|
|
105
105
|
'div',
|
|
106
106
|
{ id: 'details' },
|
|
107
|
-
|
|
107
|
+
React.createElement(
|
|
108
108
|
'a',
|
|
109
109
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
110
|
-
|
|
110
|
+
React.createElement(
|
|
111
111
|
'p',
|
|
112
112
|
{ id: 'title' },
|
|
113
113
|
r.title
|
|
114
114
|
),
|
|
115
|
-
r.intro &&
|
|
115
|
+
r.intro && React.createElement(
|
|
116
116
|
'div',
|
|
117
117
|
{ id: 'intro' },
|
|
118
|
-
|
|
118
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.intro }, client.config()))
|
|
119
119
|
),
|
|
120
|
-
|
|
120
|
+
React.createElement(
|
|
121
121
|
'div',
|
|
122
122
|
{ id: 'date' },
|
|
123
|
-
|
|
123
|
+
React.createElement(
|
|
124
124
|
'p',
|
|
125
125
|
{ style: { fontWeight: 'bold' } },
|
|
126
126
|
'Date:'
|
|
127
127
|
),
|
|
128
|
-
|
|
128
|
+
React.createElement(
|
|
129
129
|
'p',
|
|
130
130
|
null,
|
|
131
131
|
momentTimezone.tz(r.displayDate, 'America/New_York').format('MMMM Do YYYY, h:mm a z')
|
|
132
132
|
)
|
|
133
133
|
),
|
|
134
|
-
r.speakers &&
|
|
134
|
+
r.speakers && React.createElement(
|
|
135
135
|
'div',
|
|
136
136
|
{ id: 'speakers' },
|
|
137
|
-
|
|
137
|
+
React.createElement(
|
|
138
138
|
'p',
|
|
139
139
|
{ style: { fontWeight: 'bold' } },
|
|
140
140
|
'Speakers:'
|
|
141
141
|
),
|
|
142
|
-
|
|
142
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.speakers }, client.config()))
|
|
143
143
|
),
|
|
144
|
-
r.location &&
|
|
144
|
+
r.location && React.createElement(
|
|
145
145
|
'div',
|
|
146
146
|
{ id: 'location' },
|
|
147
|
-
|
|
147
|
+
React.createElement(
|
|
148
148
|
'p',
|
|
149
149
|
{ style: { fontWeight: 'bold' } },
|
|
150
150
|
'Location:'
|
|
151
151
|
),
|
|
152
152
|
r.location
|
|
153
153
|
),
|
|
154
|
-
r.sponsor &&
|
|
154
|
+
r.sponsor && React.createElement(
|
|
155
155
|
'div',
|
|
156
156
|
{ id: 'sponsor' },
|
|
157
|
-
|
|
157
|
+
React.createElement(
|
|
158
158
|
'p',
|
|
159
159
|
{ style: { fontWeight: 'bold' } },
|
|
160
160
|
'Sponsors:'
|
|
@@ -162,19 +162,19 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
162
162
|
r.sponsor
|
|
163
163
|
)
|
|
164
164
|
),
|
|
165
|
-
|
|
165
|
+
React.createElement(
|
|
166
166
|
Button,
|
|
167
167
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
168
168
|
cta
|
|
169
169
|
)
|
|
170
170
|
)
|
|
171
171
|
);
|
|
172
|
-
}) :
|
|
172
|
+
}) : React.createElement(
|
|
173
173
|
'p',
|
|
174
174
|
null,
|
|
175
175
|
'No ' + active + ' resources available. '
|
|
176
176
|
),
|
|
177
|
-
|
|
177
|
+
React.createElement(
|
|
178
178
|
'style',
|
|
179
179
|
{ jsx: true },
|
|
180
180
|
'\n .resource {\n display: flex;\n position: relative;\n margin: 0 0 1rem 0;\n }\n .resource #thumb {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 25%;\n }\n .resource #thumb img {\n width: 100%;\n }\n .resource #details {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 75%;\n }\n #resources .resource p {\n margin: 0;\n }\n #toggles {\n display: flex;\n margin: 0 0 1rem 0;\n }\n #toggles > div {\n padding: 0.5rem;\n cursor: pointer;\n }\n #toggles > div:hover {\n font-weight: bold;\n border-bottom: 2px solid #cecece;\n }\n #toggles > div.active {\n font-weight: bold;\n border-bottom: 2px solid var(--primary);\n }\n .resource #title {\n font-weight: bold;\n font-size: 1.25rem;\n }\n .resource #date,\n .resource #speakers,\n .resource #location,\n .resource #sponsor,\n .resource #cta {\n margin: 1rem 0 0 0;\n }\n '
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
4
|
-
import { m as
|
|
4
|
+
import { m as main_40 } from './main-edbd70ac.js';
|
|
5
5
|
import Carousel from 'react-bootstrap/Carousel';
|
|
6
6
|
|
|
7
7
|
//Feature query to be used
|
|
@@ -34,24 +34,24 @@ var Feature = function Feature(props) {
|
|
|
34
34
|
};
|
|
35
35
|
//image width updated.
|
|
36
36
|
var imageWidth = 450;
|
|
37
|
-
if (
|
|
37
|
+
if (main_40) {
|
|
38
38
|
imageWidth = 225;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
var renderUrl = function renderUrl(feature_link, feature_title, feature_body) {
|
|
42
42
|
if (checkUrlIsExternal(feature_link)) {
|
|
43
|
-
return
|
|
44
|
-
|
|
43
|
+
return React.createElement(
|
|
44
|
+
React.Fragment,
|
|
45
45
|
null,
|
|
46
|
-
|
|
46
|
+
React.createElement(
|
|
47
47
|
'a',
|
|
48
48
|
{ href: feature_link, target: '_blank' },
|
|
49
|
-
|
|
49
|
+
React.createElement(
|
|
50
50
|
'h3',
|
|
51
51
|
{ style: { color: 'white' } },
|
|
52
52
|
feature_title
|
|
53
53
|
),
|
|
54
|
-
|
|
54
|
+
React.createElement(
|
|
55
55
|
'p',
|
|
56
56
|
{ style: { color: '#eee' } },
|
|
57
57
|
feature_body
|
|
@@ -60,15 +60,15 @@ var Feature = function Feature(props) {
|
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
return
|
|
63
|
+
return React.createElement(
|
|
64
64
|
'a',
|
|
65
65
|
{ href: feature_link },
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
'h3',
|
|
68
68
|
{ style: { color: 'white' } },
|
|
69
69
|
feature_title
|
|
70
70
|
),
|
|
71
|
-
|
|
71
|
+
React.createElement(
|
|
72
72
|
'p',
|
|
73
73
|
{ style: { color: '#eee' } },
|
|
74
74
|
feature_body
|
|
@@ -76,10 +76,10 @@ var Feature = function Feature(props) {
|
|
|
76
76
|
);
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
return
|
|
79
|
+
return React.createElement(
|
|
80
80
|
'div',
|
|
81
81
|
null,
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
Carousel,
|
|
84
84
|
{ touch: true, controls: controls },
|
|
85
85
|
dataset.map(function (feature, index) {
|
|
@@ -89,16 +89,16 @@ var Feature = function Feature(props) {
|
|
|
89
89
|
feature_alt = feature.feature_alt,
|
|
90
90
|
feature_link = feature.feature_link;
|
|
91
91
|
|
|
92
|
-
return
|
|
92
|
+
return React.createElement(
|
|
93
93
|
Carousel.Item,
|
|
94
94
|
{ key: index, style: { background: 'var(--primary)' } },
|
|
95
|
-
|
|
95
|
+
React.createElement('img', {
|
|
96
96
|
style: { maxHeight: '375px', minHeight: '300px', objectFit: 'cover', paddingLeft: '50%' },
|
|
97
97
|
className: 'd-block w-100',
|
|
98
98
|
src: urlFor(feature_img).width(imageWidth).url(),
|
|
99
99
|
alt: feature_alt
|
|
100
100
|
}),
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
Carousel.Caption,
|
|
103
103
|
{
|
|
104
104
|
style: { paddingRight: '50%', left: '3rem', right: '3rem', top: '0', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -3,14 +3,14 @@ import './_to-object-ded78eb9.js';
|
|
|
3
3
|
import './es6.string.iterator-9b2af4a5.js';
|
|
4
4
|
import './core.get-iterator-method-54d2e411.js';
|
|
5
5
|
import './web.dom.iterable-8956f9a5.js';
|
|
6
|
-
import
|
|
6
|
+
import React from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
9
9
|
import 'react-dom';
|
|
10
10
|
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
11
|
-
import { L as LazyLoad } from './index-
|
|
11
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
12
12
|
import './slicedToArray-7021e5df.js';
|
|
13
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
13
|
+
import { A as AuthorComponent } from './AuthorComponent-23afa074.js';
|
|
14
14
|
|
|
15
15
|
var fbsHero = function fbsHero(props) {
|
|
16
16
|
var removeTimeStamp = props.removeTimeStamp;
|
|
@@ -34,50 +34,50 @@ var fbsHero = function fbsHero(props) {
|
|
|
34
34
|
topArticleThumbnail = props.thumbnail;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
return
|
|
37
|
+
return React.createElement(
|
|
38
38
|
'div',
|
|
39
39
|
{ className: 'article-hero' },
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
'div',
|
|
42
42
|
{ className: 'fbs-top-article' },
|
|
43
|
-
|
|
43
|
+
React.createElement(
|
|
44
44
|
'div',
|
|
45
45
|
{ className: 'fbs-top-article--img' },
|
|
46
|
-
|
|
46
|
+
React.createElement(
|
|
47
47
|
'a',
|
|
48
48
|
{ href: '/view/' + topArticle.url.current },
|
|
49
|
-
|
|
49
|
+
React.createElement('img', { src: topArticleThumbnail, alt: topArticleAltText })
|
|
50
50
|
)
|
|
51
51
|
),
|
|
52
|
-
|
|
52
|
+
React.createElement(
|
|
53
53
|
'div',
|
|
54
54
|
{ className: 'fbs-top-article--body' },
|
|
55
|
-
|
|
55
|
+
React.createElement(
|
|
56
56
|
'a',
|
|
57
57
|
{ href: '/view/' + topArticle.url.current },
|
|
58
|
-
|
|
58
|
+
React.createElement(
|
|
59
59
|
'h1',
|
|
60
60
|
null,
|
|
61
61
|
topArticle.title
|
|
62
62
|
)
|
|
63
63
|
),
|
|
64
|
-
|
|
64
|
+
React.createElement(
|
|
65
65
|
'p',
|
|
66
66
|
null,
|
|
67
67
|
moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
68
68
|
),
|
|
69
|
-
topArticle.authorMapping && topArticle.authorMapping.length > 0 &&
|
|
69
|
+
topArticle.authorMapping && topArticle.authorMapping.length > 0 && React.createElement(
|
|
70
70
|
'div',
|
|
71
71
|
{ className: 'author-wrapper' },
|
|
72
|
-
|
|
72
|
+
React.createElement(
|
|
73
73
|
LazyLoad,
|
|
74
74
|
{ height: 50 },
|
|
75
|
-
|
|
75
|
+
React.createElement(AuthorComponent, { key: topArticle.url.current, index: topArticle.url.current, authors: topArticle.authorMapping })
|
|
76
76
|
)
|
|
77
77
|
)
|
|
78
78
|
)
|
|
79
79
|
),
|
|
80
|
-
|
|
80
|
+
React.createElement(
|
|
81
81
|
'div',
|
|
82
82
|
{ className: 'fbs-sub-article-container' },
|
|
83
83
|
subArticles.map(function (article, index) {
|
|
@@ -90,41 +90,41 @@ var fbsHero = function fbsHero(props) {
|
|
|
90
90
|
articleThumbnail = props.thumbnail;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
return
|
|
93
|
+
return React.createElement(
|
|
94
94
|
'div',
|
|
95
95
|
{ key: index, className: 'fbs-sub-article' },
|
|
96
|
-
|
|
96
|
+
React.createElement(
|
|
97
97
|
'a',
|
|
98
98
|
{ href: '/view/' + article.url.current },
|
|
99
|
-
|
|
99
|
+
React.createElement('img', { src: articleThumbnail, alt: articleAltText })
|
|
100
100
|
),
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
'div',
|
|
103
103
|
null,
|
|
104
|
-
|
|
104
|
+
React.createElement(
|
|
105
105
|
'a',
|
|
106
106
|
{ href: '/view/' + article.url.current },
|
|
107
|
-
|
|
107
|
+
React.createElement(
|
|
108
108
|
'h2',
|
|
109
109
|
{ className: 'fbs-sub-article--title' },
|
|
110
110
|
article.title
|
|
111
111
|
)
|
|
112
112
|
),
|
|
113
|
-
|
|
113
|
+
React.createElement(
|
|
114
114
|
'p',
|
|
115
115
|
null,
|
|
116
116
|
moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
117
117
|
),
|
|
118
|
-
article.authorMapping && article.authorMapping.length > 0 &&
|
|
118
|
+
article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
119
119
|
LazyLoad,
|
|
120
120
|
{ height: 50 },
|
|
121
|
-
|
|
121
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
122
122
|
)
|
|
123
123
|
)
|
|
124
124
|
);
|
|
125
125
|
})
|
|
126
126
|
),
|
|
127
|
-
|
|
127
|
+
React.createElement(
|
|
128
128
|
'style',
|
|
129
129
|
{ jsx: 'true' },
|
|
130
130
|
'\n .author-wrapper {\n text-align: center;\n }\n .article-hero {\n margin-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n padding-bottom: 0.5rem;\n }\n .fbs-top-article {\n width: 100%;\n margin-bottom: 1rem;\n padding-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n }\n .fbs-top-article img {\n width: 100%;\n\n max-height: 300px;\n min-height: 275px;\n object-fit: cover;\n }\n\n .fbs-top-article--body {\n }\n .fbs-top-article--body h1 {\n color: #252525 !important;\n font-size: 1.6rem;\n font-weight: bold;\n text-align: center;\n margin-top: 1rem;\n }\n .fbs-top-article--body p {\n text-align: center;\n margin-bottom: 0;\n color: #252525;\n }\n .fbs-top-article--body p:first-of-type {\n font-size: 0.9rem;\n }\n .fbs-sub-article-container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n padding-top: 1.75rem;\n margin-left: -1rem;\n margin-rigth: -1rem;\n }\n .fbs-sub-article {\n width: calc(50% - 2rem);\n min-width: 350px;\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0 1rem 1.75rem;\n }\n .fbs-sub-article img {\n margin-right: 1rem;\n width: 145px;\n min-width: 145px;\n max-height: 100px;\n object-fit: cover;\n }\n .fbs-sub-article p {\n margin-bottom: 0;\n font-size: 0.8rem;\n color: #252525;\n }\n .fbs-sub-article .fbs-sub-article--title {\n font-weight: bold;\n font-size: 1rem;\n color: #252525;\n }\n '
|