@mjhls/mjh-framework 1.0.711-beta.0 → 1.0.711-cors-proxy
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/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-5a561d7c.js → ADInfeed-71e2533d.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-c50f81d4.js → ADlgInfeed-2c6a814f.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +13 -114
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +11 -10
- package/dist/cjs/ArticleSeriesListing.js +40 -39
- package/dist/cjs/Auth.js +232 -144
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/BrowseVideosListing.js +28 -27
- package/dist/cjs/CMEDeck.js +63 -63
- 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-ce7ac168.js → Dfp-234d2d8e.js} +21 -20
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +46 -45
- 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 +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +19 -18
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +51 -50
- 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 +107 -99
- 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 +71 -70
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +64 -60
- package/dist/cjs/QueueDeckExpanded.js +270 -270
- 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-8dd468fd.js → SocialSearchComponent-87578cd1.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TaxonomyDescription.js +22 -21
- 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 +24 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesListing.js +55 -54
- package/dist/cjs/View.js +182 -178
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +48 -47
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getRelatedArticle.js +8 -8
- package/dist/cjs/getSerializers.js +11 -11
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-fee8c429.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-3294d3bc.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-8a3fb0bc.js} +12 -10
- package/dist/cjs/{index-b0cfd1de.js → index-ad961307.js} +806 -783
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index-8bf6c863.js → index-e08f00ce.js} +9 -8
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- 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-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +30 -30
- package/dist/cjs/{inherits-c9f99d47.js → inherits-87492b40.js} +1 -1
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- 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-d4c94a16.js → ADInfeed-73a22dad.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-5b170d9e.js → ADlgInfeed-e5c107b7.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +11 -113
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +8 -8
- package/dist/esm/ArticleSeriesListing.js +34 -34
- package/dist/esm/Auth.js +209 -125
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-23afa074.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/BrowseVideosListing.js +25 -25
- package/dist/esm/CMEDeck.js +60 -60
- 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 +14 -14
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +54 -54
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-14e866d7.js → Dfp-f9463b48.js} +10 -10
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +39 -39
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +111 -111
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +86 -86
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +16 -16
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +44 -44
- 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 +72 -72
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +66 -66
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +35 -35
- package/dist/esm/PublicationLanding.js +35 -35
- package/dist/esm/QueueDeckExpanded.js +251 -251
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +17 -17
- 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-8ac29f4f.js → SocialSearchComponent-91c19daa.js} +25 -25
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TaxonomyDescription.js +16 -16
- package/dist/esm/TemplateNormal.js +29 -29
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +17 -17
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesListing.js +48 -48
- package/dist/esm/View.js +157 -157
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +35 -35
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +11 -11
- package/dist/esm/{index-c6440f6f.js → index-1a7c57c9.js} +747 -731
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-a9e53f80.js → index-acfb8079.js} +3 -3
- package/dist/esm/{index-ef6d5dcf.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.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 +25 -25
- 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-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-08f2c380.js → typeof-ee095d0c.js} +1 -1
- package/dist/esm/urlFor.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-acfb8079.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
|
-
import './index-
|
|
27
|
-
import './index-
|
|
28
|
-
import './main-
|
|
26
|
+
import './index-51a80699.js';
|
|
27
|
+
import './index-c5fd0af5.js';
|
|
28
|
+
import './main-747e7d25.js';
|
|
29
29
|
import './entities-7cc3bf45.js';
|
|
30
30
|
import './stringify-008c8802.js';
|
|
31
31
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
@@ -34,17 +34,17 @@ import './_set-species-cede29f8.js';
|
|
|
34
34
|
import './Segment.js';
|
|
35
35
|
import './Beam.js';
|
|
36
36
|
import './AdSlot.js';
|
|
37
|
-
import { B as BlockContent } from './BlockContent-
|
|
37
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
38
38
|
import './smoothscroll-4b699764.js';
|
|
39
39
|
import './GroupDeck.js';
|
|
40
40
|
import 'react-bootstrap';
|
|
41
41
|
import './iconBase-602d52fe.js';
|
|
42
|
-
import './index.esm-
|
|
42
|
+
import './index.esm-3fdda599.js';
|
|
43
43
|
import Button from 'react-bootstrap/Button';
|
|
44
|
-
import { m as momentTimezone } from './index-
|
|
45
|
-
import { g as getSerializers } from './index-
|
|
44
|
+
import { m as momentTimezone } from './index-c00b0bbb.js';
|
|
45
|
+
import { g as getSerializers } from './index-1a7c57c9.js';
|
|
46
46
|
import './util-7700fc59.js';
|
|
47
|
-
import './brightcove-react-player-loader.es-
|
|
47
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
48
48
|
import 'react-bootstrap/Pagination';
|
|
49
49
|
import 'next/head';
|
|
50
50
|
import 'react-bootstrap/Figure';
|
|
@@ -73,13 +73,13 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
73
73
|
useEffect(function () {
|
|
74
74
|
router.push(router.pathname, '/' + url + '?display=' + active, { shallow: true });
|
|
75
75
|
}, [active]);
|
|
76
|
-
return
|
|
76
|
+
return React.createElement(
|
|
77
77
|
'div',
|
|
78
78
|
{ id: 'resources' },
|
|
79
|
-
|
|
79
|
+
React.createElement(
|
|
80
80
|
'div',
|
|
81
81
|
{ id: 'toggles' },
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
'div',
|
|
84
84
|
{ onClick: function onClick() {
|
|
85
85
|
return setActive(function () {
|
|
@@ -88,7 +88,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
88
88
|
}, className: active === 'recent' ? 'active' : '' },
|
|
89
89
|
recentTitle
|
|
90
90
|
),
|
|
91
|
-
|
|
91
|
+
React.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ onClick: function onClick() {
|
|
94
94
|
return setActive(function () {
|
|
@@ -99,72 +99,72 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
99
99
|
)
|
|
100
100
|
),
|
|
101
101
|
resources[active].length > 0 ? resources[active].map(function (r) {
|
|
102
|
-
return
|
|
102
|
+
return React.createElement(
|
|
103
103
|
'div',
|
|
104
104
|
{ key: r._id, className: 'resource' },
|
|
105
|
-
dispalyThumb &&
|
|
105
|
+
dispalyThumb && React.createElement(
|
|
106
106
|
'div',
|
|
107
107
|
{ id: 'thumb' },
|
|
108
|
-
|
|
108
|
+
React.createElement(
|
|
109
109
|
'a',
|
|
110
110
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
111
|
-
|
|
111
|
+
React.createElement('img', { src: r.thumbnail })
|
|
112
112
|
)
|
|
113
113
|
),
|
|
114
|
-
|
|
114
|
+
React.createElement(
|
|
115
115
|
'div',
|
|
116
116
|
{ id: 'details' },
|
|
117
|
-
|
|
117
|
+
React.createElement(
|
|
118
118
|
'a',
|
|
119
119
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
120
|
-
|
|
120
|
+
React.createElement(
|
|
121
121
|
'p',
|
|
122
122
|
{ id: 'title' },
|
|
123
123
|
r.title
|
|
124
124
|
),
|
|
125
|
-
r.intro &&
|
|
125
|
+
r.intro && React.createElement(
|
|
126
126
|
'div',
|
|
127
127
|
{ id: 'intro' },
|
|
128
|
-
|
|
128
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.intro }, client.config()))
|
|
129
129
|
),
|
|
130
|
-
|
|
130
|
+
React.createElement(
|
|
131
131
|
'div',
|
|
132
132
|
{ id: 'date' },
|
|
133
|
-
|
|
133
|
+
React.createElement(
|
|
134
134
|
'p',
|
|
135
135
|
{ style: { fontWeight: 'bold' } },
|
|
136
136
|
'Date:'
|
|
137
137
|
),
|
|
138
|
-
|
|
138
|
+
React.createElement(
|
|
139
139
|
'p',
|
|
140
140
|
null,
|
|
141
141
|
momentTimezone.tz(r.displayDate, 'America/New_York').format('MMMM Do YYYY, h:mm a z')
|
|
142
142
|
)
|
|
143
143
|
),
|
|
144
|
-
r.speakers &&
|
|
144
|
+
r.speakers && React.createElement(
|
|
145
145
|
'div',
|
|
146
146
|
{ id: 'speakers' },
|
|
147
|
-
|
|
147
|
+
React.createElement(
|
|
148
148
|
'p',
|
|
149
149
|
{ style: { fontWeight: 'bold' } },
|
|
150
150
|
'Speakers:'
|
|
151
151
|
),
|
|
152
|
-
|
|
152
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.speakers }, client.config()))
|
|
153
153
|
),
|
|
154
|
-
r.location &&
|
|
154
|
+
r.location && React.createElement(
|
|
155
155
|
'div',
|
|
156
156
|
{ id: 'location' },
|
|
157
|
-
|
|
157
|
+
React.createElement(
|
|
158
158
|
'p',
|
|
159
159
|
{ style: { fontWeight: 'bold' } },
|
|
160
160
|
'Location:'
|
|
161
161
|
),
|
|
162
162
|
r.location
|
|
163
163
|
),
|
|
164
|
-
r.sponsor &&
|
|
164
|
+
r.sponsor && React.createElement(
|
|
165
165
|
'div',
|
|
166
166
|
{ id: 'sponsor' },
|
|
167
|
-
|
|
167
|
+
React.createElement(
|
|
168
168
|
'p',
|
|
169
169
|
{ style: { fontWeight: 'bold' } },
|
|
170
170
|
'Sponsors:'
|
|
@@ -172,19 +172,19 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
172
172
|
r.sponsor
|
|
173
173
|
)
|
|
174
174
|
),
|
|
175
|
-
|
|
175
|
+
React.createElement(
|
|
176
176
|
Button,
|
|
177
177
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
178
178
|
cta
|
|
179
179
|
)
|
|
180
180
|
)
|
|
181
181
|
);
|
|
182
|
-
}) :
|
|
182
|
+
}) : React.createElement(
|
|
183
183
|
'p',
|
|
184
184
|
null,
|
|
185
185
|
'No content available.'
|
|
186
186
|
),
|
|
187
|
-
|
|
187
|
+
React.createElement(
|
|
188
188
|
'style',
|
|
189
189
|
{ jsx: true },
|
|
190
190
|
'\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
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
4
|
-
import { m as
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
4
|
+
import { m as main_40 } from './main-747e7d25.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
|
-
import { i as imageUrlBuilder } from './index-
|
|
11
|
-
import { L as LazyLoad } from './index-
|
|
10
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
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 '
|