@mjhls/mjh-framework 1.0.529 → 1.0.531
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 +9 -10
- package/dist/cjs/AD300x250.js +7 -8
- package/dist/cjs/AD300x250x600.js +7 -8
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +11 -12
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +11 -12
- package/dist/cjs/{ADInfeed-393c6084.js → ADInfeed-d8e47444.js} +9 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +15 -16
- package/dist/cjs/{ADlgInfeed-dd4e103e.js → ADlgInfeed-947c3a47.js} +6 -7
- package/dist/cjs/AccordionPanel.js +22 -24
- package/dist/cjs/AdSlot.js +13 -15
- package/dist/cjs/AdSlotsProvider.js +5 -6
- package/dist/cjs/AlphabeticList.js +15 -16
- package/dist/cjs/ArticleQueue.js +114 -117
- package/dist/cjs/Auth.js +344 -232
- package/dist/cjs/{AuthorComponent-5bb8f868.js → AuthorComponent-cb8b8128.js} +12 -13
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-77f81ffc.js} +24 -26
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +32 -35
- package/dist/cjs/ConferenceArticleCard.js +18 -19
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +73 -77
- package/dist/cjs/DeckQueue.js +69 -73
- package/dist/cjs/{Dfp-a06d722a.js → Dfp-fcdeabc4.js} +20 -22
- package/dist/cjs/EventsDeck.js +89 -96
- package/dist/cjs/ExternalResources.js +42 -43
- package/dist/cjs/Feature.js +24 -26
- package/dist/cjs/{Figure-85d19c5f.js → Figure-eeac313a.js} +20 -21
- package/dist/cjs/ForbesHero.js +33 -34
- package/dist/cjs/GridContent.js +145 -149
- package/dist/cjs/GridHero.js +34 -35
- package/dist/cjs/GroupDeck.js +33 -34
- package/dist/cjs/HamMagazine.js +104 -109
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +10 -11
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalHero.js +24 -25
- package/dist/cjs/{InscreenSensor-1f9f7db4.js → InscreenSensor-3aec8492.js} +7 -8
- package/dist/cjs/IssueContentDeck.js +64 -69
- package/dist/cjs/IssueDeck.js +60 -65
- package/dist/cjs/IssueLanding.js +18 -19
- package/dist/cjs/LeftNav.js +20 -22
- package/dist/cjs/MasterDeck.js +52 -53
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +107 -112
- package/dist/cjs/NavNative.js +66 -71
- package/dist/cjs/NavNormal.js +36 -41
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +58 -59
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PartnerDetailListing.js +130 -132
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PublicationDeck.js +59 -64
- package/dist/cjs/PublicationLanding.js +44 -48
- package/dist/cjs/QueueDeckExpanded.js +187 -187
- package/dist/cjs/RelatedContent.js +18 -19
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/SideFooter.js +17 -18
- package/dist/cjs/{SocialNavFooter-d9ab4d17.js → SocialNavFooter-9a07520f.js} +17 -18
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +54 -59
- package/dist/cjs/TemplateNormal.js +34 -35
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +20 -21
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +38 -39
- package/dist/cjs/View.js +165 -170
- package/dist/cjs/YahooHero.js +29 -30
- package/dist/cjs/YoutubeGroup.js +42 -43
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +6 -355
- package/dist/cjs/getSerializers.js +647 -668
- package/dist/cjs/{getTargeting-86e68d62.js → getTargeting-3d208b98.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-637d3f1e.js +3 -0
- package/dist/cjs/{index-99edf08a.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index-8a3fb0bc.js → index-fa0fb52c.js} +10 -13
- package/dist/cjs/{index-44481153.js → index-fa3cec70.js} +14 -14
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-2ea63d18.js → index.esm-25423c2f.js} +6 -3
- package/dist/cjs/{index.esm-c8d2c195.js → index.esm-c0d8b44b.js} +9 -4
- package/dist/cjs/{index.esm-d7e04264.js → index.esm-fcdbd2c6.js} +15 -6
- package/dist/cjs/index.js +32 -32
- package/dist/cjs/{inherits-4a2f1cc3.js → inherits-14962339.js} +4 -4
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-c50facd7.js → main-88348b15.js} +53 -89
- package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-cd0d9d3b.js} +11 -13
- package/dist/cjs/{typeof-583cdc4b.js → typeof-1869832c.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- 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-1dd2344b.js → ADInfeed-2eb234ae.js} +5 -5
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWebcast.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-cecd5e76.js → ADlgInfeed-17c13711.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/ArticleQueue.js +100 -100
- package/dist/esm/Auth.js +326 -210
- package/dist/esm/{AuthorComponent-f67cb027.js → AuthorComponent-158226c9.js} +10 -10
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- 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 +14 -14
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +54 -54
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-0557840a.js → Dfp-81a052c2.js} +10 -10
- package/dist/esm/EventsDeck.js +47 -47
- package/dist/esm/ExternalResources.js +36 -36
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/{Figure-0b6d360c.js → Figure-bc2b95d7.js} +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +107 -107
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +30 -30
- package/dist/esm/HamMagazine.js +77 -77
- 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/{InscreenSensor-3e1fe82a.js → InscreenSensor-280b2b10.js} +5 -5
- package/dist/esm/IssueContentDeck.js +40 -40
- 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 +46 -46
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +82 -82
- package/dist/esm/NavNative.js +48 -48
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +15 -14
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +69 -69
- 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 +25 -25
- package/dist/esm/QueueDeckExpanded.js +168 -168
- package/dist/esm/RelatedContent.js +15 -15
- 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 +15 -15
- package/dist/esm/{SocialNavFooter-1a531144.js → SocialNavFooter-4fb16720.js} +15 -15
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TemplateNormal.js +28 -28
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +135 -135
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +33 -33
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +6 -355
- package/dist/esm/getSerializers.js +609 -625
- package/dist/esm/{index-1819118a.js → index-3f4dd6f2.js} +9 -7
- package/dist/esm/{index-c5fd0af5.js → index-5f9f807a.js} +4 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-fa2ffe86.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-d3249151.js → index.esm-9d6faf80.js} +9 -4
- package/dist/esm/{index.esm-be9486fc.js → index.esm-a7ad65ba.js} +6 -3
- package/dist/esm/{index.esm-4b1810e3.js → index.esm-b97cf389.js} +15 -6
- package/dist/esm/index.js +26 -26
- package/dist/esm/{inherits-2758cc14.js → inherits-b8e4c697.js} +1 -1
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-b722e2e2.js → main-d7ee6151.js} +52 -87
- package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/{typeof-7e72fee0.js → typeof-5f046efd.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/esm/index-db3bb315.js +0 -207
|
@@ -7,19 +7,19 @@ import './from-2c0a5f49.js';
|
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
8
|
import { _ as _extends } from './extends-6e00b262.js';
|
|
9
9
|
import './web.dom.iterable-46c95e52.js';
|
|
10
|
-
import './typeof-
|
|
10
|
+
import './typeof-5f046efd.js';
|
|
11
11
|
import './_is-array-dd5523d6.js';
|
|
12
|
-
import
|
|
13
|
-
import './index-
|
|
12
|
+
import React__default, { useState, useEffect } from 'react';
|
|
13
|
+
import './index-3f4dd6f2.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import './moment-
|
|
15
|
+
import './moment-e2f9b20c.js';
|
|
16
16
|
import { useRouter } from 'next/router';
|
|
17
17
|
import './isSymbol-b7b7434f.js';
|
|
18
18
|
import './debounce-048d9cb6.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import './index-
|
|
21
|
-
import './index-
|
|
22
|
-
import './main-
|
|
20
|
+
import './index-73819142.js';
|
|
21
|
+
import './index-5f9f807a.js';
|
|
22
|
+
import './main-d7ee6151.js';
|
|
23
23
|
import './entities-7cc3bf45.js';
|
|
24
24
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
25
25
|
import './stringify-e30bc114.js';
|
|
@@ -27,15 +27,15 @@ import './asyncToGenerator-0379e924.js';
|
|
|
27
27
|
import './_set-species-6f64f1c1.js';
|
|
28
28
|
import './beam-a25bd8fd.js';
|
|
29
29
|
import './AdSlot.js';
|
|
30
|
-
import { B as BlockContent } from './BlockContent-
|
|
30
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
31
31
|
import './smoothscroll-4b699764.js';
|
|
32
32
|
import './GroupDeck.js';
|
|
33
33
|
import 'react-bootstrap';
|
|
34
34
|
import Button from 'react-bootstrap/Button';
|
|
35
|
-
import { m as momentTimezone } from './index-
|
|
35
|
+
import { m as momentTimezone } from './index-ef6d5dcf.js';
|
|
36
36
|
import getSerializers from './getSerializers.js';
|
|
37
37
|
import './util-7700fc59.js';
|
|
38
|
-
import './brightcove-react-player-loader.es-
|
|
38
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
39
39
|
import 'react-bootstrap/Pagination';
|
|
40
40
|
import 'next/dynamic';
|
|
41
41
|
|
|
@@ -57,13 +57,13 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
57
57
|
useEffect(function () {
|
|
58
58
|
router.push(router.pathname, '/' + url + '?display=' + active, { shallow: true });
|
|
59
59
|
}, [active]);
|
|
60
|
-
return
|
|
60
|
+
return React__default.createElement(
|
|
61
61
|
'div',
|
|
62
62
|
{ id: 'resources' },
|
|
63
|
-
|
|
63
|
+
React__default.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ id: 'toggles' },
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
'div',
|
|
68
68
|
{ onClick: function onClick() {
|
|
69
69
|
return setActive(function () {
|
|
@@ -72,7 +72,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
72
72
|
}, className: active === 'recent' ? 'active' : '' },
|
|
73
73
|
'Recent'
|
|
74
74
|
),
|
|
75
|
-
|
|
75
|
+
React__default.createElement(
|
|
76
76
|
'div',
|
|
77
77
|
{ onClick: function onClick() {
|
|
78
78
|
return setActive(function () {
|
|
@@ -83,72 +83,72 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
83
83
|
)
|
|
84
84
|
),
|
|
85
85
|
resources[active].length > 0 ? resources[active].map(function (r, i) {
|
|
86
|
-
return
|
|
86
|
+
return React__default.createElement(
|
|
87
87
|
'div',
|
|
88
88
|
{ key: i, className: 'resource' },
|
|
89
|
-
|
|
89
|
+
React__default.createElement(
|
|
90
90
|
'div',
|
|
91
91
|
{ id: 'thumb' },
|
|
92
|
-
|
|
92
|
+
React__default.createElement(
|
|
93
93
|
'a',
|
|
94
94
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
95
|
-
|
|
95
|
+
React__default.createElement('img', { src: r.thumbnail })
|
|
96
96
|
)
|
|
97
97
|
),
|
|
98
|
-
|
|
98
|
+
React__default.createElement(
|
|
99
99
|
'div',
|
|
100
100
|
{ id: 'details' },
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
'a',
|
|
103
103
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
104
|
-
|
|
104
|
+
React__default.createElement(
|
|
105
105
|
'p',
|
|
106
106
|
{ id: 'title' },
|
|
107
107
|
r.title
|
|
108
108
|
),
|
|
109
|
-
r.intro &&
|
|
109
|
+
r.intro && React__default.createElement(
|
|
110
110
|
'div',
|
|
111
111
|
{ id: 'intro' },
|
|
112
|
-
|
|
112
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.intro }, client.config()))
|
|
113
113
|
),
|
|
114
|
-
|
|
114
|
+
React__default.createElement(
|
|
115
115
|
'div',
|
|
116
116
|
{ id: 'date' },
|
|
117
|
-
|
|
117
|
+
React__default.createElement(
|
|
118
118
|
'p',
|
|
119
119
|
{ style: { fontWeight: 'bold' } },
|
|
120
120
|
'Date:'
|
|
121
121
|
),
|
|
122
|
-
|
|
122
|
+
React__default.createElement(
|
|
123
123
|
'p',
|
|
124
124
|
null,
|
|
125
125
|
momentTimezone.tz(r.displayDate, 'America/New_York').format('MMMM Do YYYY, h:mm:ss a z')
|
|
126
126
|
)
|
|
127
127
|
),
|
|
128
|
-
r.speakers &&
|
|
128
|
+
r.speakers && React__default.createElement(
|
|
129
129
|
'div',
|
|
130
130
|
{ id: 'speakers' },
|
|
131
|
-
|
|
131
|
+
React__default.createElement(
|
|
132
132
|
'p',
|
|
133
133
|
{ style: { fontWeight: 'bold' } },
|
|
134
134
|
'Speakers:'
|
|
135
135
|
),
|
|
136
|
-
|
|
136
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.speakers }, client.config()))
|
|
137
137
|
),
|
|
138
|
-
r.location &&
|
|
138
|
+
r.location && React__default.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ id: 'location' },
|
|
141
|
-
|
|
141
|
+
React__default.createElement(
|
|
142
142
|
'p',
|
|
143
143
|
{ style: { fontWeight: 'bold' } },
|
|
144
144
|
'Location:'
|
|
145
145
|
),
|
|
146
146
|
r.location
|
|
147
147
|
),
|
|
148
|
-
r.sponsor &&
|
|
148
|
+
r.sponsor && React__default.createElement(
|
|
149
149
|
'div',
|
|
150
150
|
{ id: 'sponsor' },
|
|
151
|
-
|
|
151
|
+
React__default.createElement(
|
|
152
152
|
'p',
|
|
153
153
|
{ style: { fontWeight: 'bold' } },
|
|
154
154
|
'Sponsors:'
|
|
@@ -156,19 +156,19 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
156
156
|
r.sponsor
|
|
157
157
|
)
|
|
158
158
|
),
|
|
159
|
-
|
|
159
|
+
React__default.createElement(
|
|
160
160
|
Button,
|
|
161
161
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
162
162
|
cta
|
|
163
163
|
)
|
|
164
164
|
)
|
|
165
165
|
);
|
|
166
|
-
}) :
|
|
166
|
+
}) : React__default.createElement(
|
|
167
167
|
'p',
|
|
168
168
|
null,
|
|
169
169
|
'No ' + active + ' resources available. '
|
|
170
170
|
),
|
|
171
|
-
|
|
171
|
+
React__default.createElement(
|
|
172
172
|
'style',
|
|
173
173
|
{ jsx: true },
|
|
174
174
|
'\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__default from 'react';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
4
|
+
import { m as main_36 } from './main-d7ee6151.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
|
|
36
36
|
var imageWidth = 900;
|
|
37
|
-
if (
|
|
37
|
+
if (main_36) {
|
|
38
38
|
imageWidth = 450;
|
|
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__default.createElement(
|
|
44
|
+
React__default.Fragment,
|
|
45
45
|
null,
|
|
46
|
-
|
|
46
|
+
React__default.createElement(
|
|
47
47
|
'a',
|
|
48
48
|
{ href: feature_link, target: '_blank' },
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
'h3',
|
|
51
51
|
{ style: { color: 'white' } },
|
|
52
52
|
feature_title
|
|
53
53
|
),
|
|
54
|
-
|
|
54
|
+
React__default.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__default.createElement(
|
|
64
64
|
'a',
|
|
65
65
|
{ href: feature_link },
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
'h3',
|
|
68
68
|
{ style: { color: 'white' } },
|
|
69
69
|
feature_title
|
|
70
70
|
),
|
|
71
|
-
|
|
71
|
+
React__default.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__default.createElement(
|
|
80
80
|
'div',
|
|
81
81
|
null,
|
|
82
|
-
|
|
82
|
+
React__default.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__default.createElement(
|
|
93
93
|
Carousel.Item,
|
|
94
94
|
{ key: index, style: { background: 'var(--primary)' } },
|
|
95
|
-
|
|
95
|
+
React__default.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__default.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' } },
|
|
@@ -2,8 +2,8 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
|
-
import
|
|
6
|
-
import { i as imageUrlBuilder } from './index-
|
|
5
|
+
import React__default, { useState } from 'react';
|
|
6
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
8
8
|
import { Figure as Figure$1 } from 'react-bootstrap';
|
|
9
9
|
|
|
@@ -97,21 +97,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
97
97
|
margin: figureMargin
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
return
|
|
101
|
-
|
|
100
|
+
return React__default.createElement(
|
|
101
|
+
React__default.Fragment,
|
|
102
102
|
null,
|
|
103
|
-
|
|
103
|
+
React__default.createElement(
|
|
104
104
|
Figure$1,
|
|
105
105
|
{ className: '' + class_name, style: figureStyle },
|
|
106
|
-
link ?
|
|
106
|
+
link ? React__default.createElement(
|
|
107
107
|
'a',
|
|
108
108
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
109
|
-
|
|
110
|
-
caption &&
|
|
111
|
-
) :
|
|
112
|
-
|
|
109
|
+
React__default.createElement(Figure$1.Image, { style: { maxWidth: '100%' }, className: 'figure-image', src: urlFor(node, client).url(), alt: alt && alt }),
|
|
110
|
+
caption && React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } })
|
|
111
|
+
) : React__default.createElement(
|
|
112
|
+
React__default.Fragment,
|
|
113
113
|
null,
|
|
114
|
-
|
|
114
|
+
React__default.createElement(Figure$1.Image, {
|
|
115
115
|
style: { maxWidth: '100%', cursor: 'pointer', width: 'auto' },
|
|
116
116
|
className: 'figure-image',
|
|
117
117
|
src: urlFor(node, client).url(),
|
|
@@ -121,14 +121,14 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
121
121
|
setOpenImg(true);
|
|
122
122
|
}
|
|
123
123
|
}),
|
|
124
|
-
caption &&
|
|
124
|
+
caption && React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } })
|
|
125
125
|
)
|
|
126
126
|
),
|
|
127
|
-
|
|
127
|
+
React__default.createElement(
|
|
128
128
|
'div',
|
|
129
129
|
{ className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
React__default.createElement('img', { src: openImgSrc }),
|
|
131
|
+
React__default.createElement('a', {
|
|
132
132
|
className: 'lightbox-close',
|
|
133
133
|
onClick: function onClick() {
|
|
134
134
|
setOpenImgSrc('');
|
|
@@ -136,7 +136,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
136
136
|
}
|
|
137
137
|
})
|
|
138
138
|
),
|
|
139
|
-
|
|
139
|
+
React__default.createElement(
|
|
140
140
|
'style',
|
|
141
141
|
{ jsx: 'true' },
|
|
142
142
|
'\n figure-caption {\n font-size: 90%;\n color: #6c757d;\n }\n /*Eliminates padding, centers the thumbnail */\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 99999;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -144,6 +144,6 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
144
144
|
);
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
-
var Figure =
|
|
147
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
148
148
|
|
|
149
149
|
export default Figure;
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -2,14 +2,14 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
|
-
import
|
|
5
|
+
import React__default from 'react';
|
|
6
6
|
import 'prop-types';
|
|
7
|
-
import { m as moment } from './moment-
|
|
7
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
10
|
-
import { L as LazyLoad } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
10
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import './slicedToArray-f1e40361.js';
|
|
12
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
12
|
+
import { A as AuthorComponent } from './AuthorComponent-158226c9.js';
|
|
13
13
|
|
|
14
14
|
var fbsHero = function fbsHero(props) {
|
|
15
15
|
var removeTimeStamp = props.removeTimeStamp;
|
|
@@ -33,50 +33,50 @@ var fbsHero = function fbsHero(props) {
|
|
|
33
33
|
topArticleThumbnail = props.thumbnail;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
return
|
|
36
|
+
return React__default.createElement(
|
|
37
37
|
'div',
|
|
38
38
|
{ className: 'article-hero' },
|
|
39
|
-
|
|
39
|
+
React__default.createElement(
|
|
40
40
|
'div',
|
|
41
41
|
{ className: 'fbs-top-article' },
|
|
42
|
-
|
|
42
|
+
React__default.createElement(
|
|
43
43
|
'div',
|
|
44
44
|
{ className: 'fbs-top-article--img' },
|
|
45
|
-
|
|
45
|
+
React__default.createElement(
|
|
46
46
|
'a',
|
|
47
47
|
{ href: '/view/' + topArticle.url.current },
|
|
48
|
-
|
|
48
|
+
React__default.createElement('img', { src: topArticleThumbnail, alt: topArticleAltText })
|
|
49
49
|
)
|
|
50
50
|
),
|
|
51
|
-
|
|
51
|
+
React__default.createElement(
|
|
52
52
|
'div',
|
|
53
53
|
{ className: 'fbs-top-article--body' },
|
|
54
|
-
|
|
54
|
+
React__default.createElement(
|
|
55
55
|
'a',
|
|
56
56
|
{ href: '/view/' + topArticle.url.current },
|
|
57
|
-
|
|
57
|
+
React__default.createElement(
|
|
58
58
|
'h1',
|
|
59
59
|
null,
|
|
60
60
|
topArticle.title
|
|
61
61
|
)
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
React__default.createElement(
|
|
64
64
|
'p',
|
|
65
65
|
null,
|
|
66
66
|
moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
67
67
|
),
|
|
68
|
-
topArticle.authorMapping && topArticle.authorMapping.length > 0 &&
|
|
68
|
+
topArticle.authorMapping && topArticle.authorMapping.length > 0 && React__default.createElement(
|
|
69
69
|
'div',
|
|
70
70
|
{ className: 'author-wrapper' },
|
|
71
|
-
|
|
71
|
+
React__default.createElement(
|
|
72
72
|
LazyLoad,
|
|
73
73
|
{ height: 50 },
|
|
74
|
-
|
|
74
|
+
React__default.createElement(AuthorComponent, { key: topArticle.url.current, index: topArticle.url.current, authors: topArticle.authorMapping })
|
|
75
75
|
)
|
|
76
76
|
)
|
|
77
77
|
)
|
|
78
78
|
),
|
|
79
|
-
|
|
79
|
+
React__default.createElement(
|
|
80
80
|
'div',
|
|
81
81
|
{ className: 'fbs-sub-article-container' },
|
|
82
82
|
subArticles.map(function (article, index) {
|
|
@@ -89,41 +89,41 @@ var fbsHero = function fbsHero(props) {
|
|
|
89
89
|
articleThumbnail = props.thumbnail;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
return
|
|
92
|
+
return React__default.createElement(
|
|
93
93
|
'div',
|
|
94
94
|
{ key: index, className: 'fbs-sub-article' },
|
|
95
|
-
|
|
95
|
+
React__default.createElement(
|
|
96
96
|
'a',
|
|
97
97
|
{ href: '/view/' + article.url.current },
|
|
98
|
-
|
|
98
|
+
React__default.createElement('img', { src: articleThumbnail, alt: articleAltText })
|
|
99
99
|
),
|
|
100
|
-
|
|
100
|
+
React__default.createElement(
|
|
101
101
|
'div',
|
|
102
102
|
null,
|
|
103
|
-
|
|
103
|
+
React__default.createElement(
|
|
104
104
|
'a',
|
|
105
105
|
{ href: '/view/' + article.url.current },
|
|
106
|
-
|
|
106
|
+
React__default.createElement(
|
|
107
107
|
'h2',
|
|
108
108
|
{ className: 'fbs-sub-article--title' },
|
|
109
109
|
article.title
|
|
110
110
|
)
|
|
111
111
|
),
|
|
112
|
-
|
|
112
|
+
React__default.createElement(
|
|
113
113
|
'p',
|
|
114
114
|
null,
|
|
115
115
|
moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
116
116
|
),
|
|
117
|
-
article.authorMapping && article.authorMapping.length > 0 &&
|
|
117
|
+
article.authorMapping && article.authorMapping.length > 0 && React__default.createElement(
|
|
118
118
|
LazyLoad,
|
|
119
119
|
{ height: 50 },
|
|
120
|
-
|
|
120
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
121
121
|
)
|
|
122
122
|
)
|
|
123
123
|
);
|
|
124
124
|
})
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React__default.createElement(
|
|
127
127
|
'style',
|
|
128
128
|
{ jsx: 'true' },
|
|
129
129
|
'\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 '
|