@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import { m as moment } from './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
5
5
|
import 'react-bootstrap/Media';
|
|
6
6
|
|
|
7
7
|
/*
|
|
@@ -44,43 +44,43 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
44
44
|
return builder.image(source);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
return
|
|
47
|
+
return React__default.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
null,
|
|
50
|
-
|
|
50
|
+
React__default.createElement(
|
|
51
51
|
'h1',
|
|
52
52
|
{ className: 'mb-4 pb-2', style: { borderBottom: '1px solid #ccc', fontSize: '1.2rem', fontWeight: 'bold', color: '#252525' } },
|
|
53
53
|
'Related Content'
|
|
54
54
|
),
|
|
55
|
-
|
|
55
|
+
React__default.createElement(
|
|
56
56
|
'div',
|
|
57
57
|
{ className: 'related-articles-container' },
|
|
58
58
|
dataRecord.map(function (article, index) {
|
|
59
|
-
return
|
|
59
|
+
return React__default.createElement(
|
|
60
60
|
'a',
|
|
61
61
|
{ key: index, href: '/view/' + article.url.current, className: 'related-article' },
|
|
62
|
-
|
|
62
|
+
React__default.createElement(
|
|
63
63
|
'figure',
|
|
64
64
|
null,
|
|
65
|
-
|
|
65
|
+
React__default.createElement('img', {
|
|
66
66
|
src: article.thumbnail ? urlFor(article.thumbnail.asset).width(500).url() : defaultImage,
|
|
67
67
|
alt: article.title
|
|
68
68
|
})
|
|
69
69
|
),
|
|
70
|
-
|
|
70
|
+
React__default.createElement(
|
|
71
71
|
'div',
|
|
72
72
|
{ className: 'related-article-body' },
|
|
73
|
-
|
|
74
|
-
props.showPublished &&
|
|
73
|
+
React__default.createElement('h4', { dangerouslySetInnerHTML: { __html: article.title } }),
|
|
74
|
+
props.showPublished && React__default.createElement(
|
|
75
75
|
'p',
|
|
76
76
|
{ className: 'pb-0 mb-0' },
|
|
77
77
|
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
78
78
|
),
|
|
79
|
-
props.showAuthor && article.authorMapping && article.authorMapping[0] &&
|
|
79
|
+
props.showAuthor && article.authorMapping && article.authorMapping[0] && React__default.createElement(
|
|
80
80
|
'p',
|
|
81
81
|
null,
|
|
82
82
|
'By ',
|
|
83
|
-
|
|
83
|
+
React__default.createElement(
|
|
84
84
|
'b',
|
|
85
85
|
null,
|
|
86
86
|
article.authorMapping[0].displayName
|
|
@@ -89,7 +89,7 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
89
89
|
)
|
|
90
90
|
);
|
|
91
91
|
}),
|
|
92
|
-
|
|
92
|
+
React__default.createElement(
|
|
93
93
|
'style',
|
|
94
94
|
{ jsx: 'true' },
|
|
95
95
|
'\n .related-article {\n width: 100%;\n display: flex;\n flex-direction: ' + (props.reverse ? 'row-reverse' : 'row') + ';\n margin-bottom: 1rem;\n }\n .related-article figure {\n width: 165px;\n height: 110px;\n min-width: 165px;\n }\n .related-article figure img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .related-article-body {\n flex: 1 1 auto;\n padding: 0 1rem;\n }\n .related-article-body h4 {\n font-weight: bold;\n font-size: 1.1rem;\n margin-bottom: 0.25rem;\n line-height: 1.3;\n }\n @media screen and (max-width: 430px) {\n .related-article {\n flex-direction: column;\n }\n .related-article figure {\n width: 80%;\n height: auto;\n min-width: 80%;\n margin: 0 auto;\n }\n .related-article figure img {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n }\n '
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import DropdownButton from 'react-bootstrap/DropdownButton';
|
|
3
3
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
4
4
|
|
|
@@ -29,21 +29,21 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|
|
30
30
|
return '';
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return React__default.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
null,
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
'style',
|
|
37
37
|
{ jsx: true },
|
|
38
38
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 50vh !important;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n transform: none !important;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n font-size: 0.85em;\n }\n }\n '
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React__default.createElement(
|
|
41
41
|
'div',
|
|
42
42
|
{ id: 'related_dropdown', className: className },
|
|
43
|
-
|
|
43
|
+
React__default.createElement(
|
|
44
44
|
DropdownButton,
|
|
45
45
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
46
|
-
|
|
46
|
+
React__default.createElement(
|
|
47
47
|
Dropdown.Item,
|
|
48
48
|
{ href: parentTaxonomy.identifier },
|
|
49
49
|
parentTaxonomy.name
|
|
@@ -52,22 +52,22 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
52
52
|
)
|
|
53
53
|
);
|
|
54
54
|
} else {
|
|
55
|
-
return
|
|
55
|
+
return React__default.createElement(
|
|
56
56
|
'div',
|
|
57
57
|
null,
|
|
58
|
-
|
|
58
|
+
React__default.createElement(
|
|
59
59
|
'style',
|
|
60
60
|
{ jsx: true },
|
|
61
61
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 40vh !important;\n z-index: 9999;\n transform: none !important;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n z-index: 9999;\n font-size: 0.85em;\n }\n }\n '
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
React__default.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ id: 'related_dropdown', className: className },
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
DropdownButton,
|
|
68
68
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
69
69
|
subTaxonomies.length > 0 && subTaxonomies.map(function (taxonomy, index) {
|
|
70
|
-
return
|
|
70
|
+
return React__default.createElement(
|
|
71
71
|
Dropdown.Item,
|
|
72
72
|
{ key: index, href: page + '/' + taxonomy.identifier },
|
|
73
73
|
taxonomy.name
|
package/dist/esm/RolesDeck.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Container from 'react-bootstrap/Container';
|
|
3
3
|
import Row from 'react-bootstrap/Row';
|
|
4
4
|
import Col from 'react-bootstrap/Col';
|
|
@@ -15,43 +15,43 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
15
15
|
// dataRecord - data record to be shown in card.
|
|
16
16
|
// />
|
|
17
17
|
|
|
18
|
-
return
|
|
18
|
+
return React__default.createElement(
|
|
19
19
|
'div',
|
|
20
20
|
{ className: 'rolesDeck' },
|
|
21
|
-
|
|
21
|
+
React__default.createElement(
|
|
22
22
|
Container,
|
|
23
23
|
null,
|
|
24
|
-
|
|
24
|
+
React__default.createElement(
|
|
25
25
|
Row,
|
|
26
26
|
null,
|
|
27
27
|
data && data.map(function (row, index) {
|
|
28
28
|
if (row && row.url && row.name) {
|
|
29
|
-
return
|
|
29
|
+
return React__default.createElement(
|
|
30
30
|
Col,
|
|
31
31
|
{ key: index, md: 12, lg: 6, counter: index++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
32
|
-
|
|
32
|
+
React__default.createElement(
|
|
33
33
|
Card,
|
|
34
34
|
{ className: 'taxonomy-card', style: { position: 'relative', overflow: 'hidden', borderBottom: '3px solid var(--primary)' } },
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
Card.Link,
|
|
37
37
|
{ href: row.url },
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
Card.Body,
|
|
40
40
|
null,
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
Row,
|
|
43
43
|
null,
|
|
44
|
-
|
|
44
|
+
React__default.createElement(
|
|
45
45
|
Col,
|
|
46
46
|
{ className: 'details-content-wrapper' },
|
|
47
|
-
|
|
47
|
+
React__default.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'details-wrapper' },
|
|
50
50
|
row.name
|
|
51
51
|
)
|
|
52
52
|
)
|
|
53
53
|
),
|
|
54
|
-
icon &&
|
|
54
|
+
icon && React__default.createElement(
|
|
55
55
|
'span',
|
|
56
56
|
{
|
|
57
57
|
className: 'taxonomy-icon',
|
|
@@ -73,7 +73,7 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
73
73
|
})
|
|
74
74
|
)
|
|
75
75
|
),
|
|
76
|
-
icon &&
|
|
76
|
+
icon && React__default.createElement(
|
|
77
77
|
'style',
|
|
78
78
|
{ jsx: 'true' },
|
|
79
79
|
'\n .taxonomy-card .taxonomy-icon {\n transform: translateY(-50%) translateX(10px) !important;\n }\n .taxonomy-card.card:hover .taxonomy-icon {\n transform: translateY(-50%) translateX(5px) scale(1.25) rotate(-180deg) !important;\n }\n '
|
package/dist/esm/Search.js
CHANGED
|
@@ -2,7 +2,7 @@ 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, { useState } from 'react';
|
|
6
6
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
8
|
import Form from 'react-bootstrap/Form';
|
|
@@ -26,12 +26,12 @@ var Search = function Search(props) {
|
|
|
26
26
|
window.location.href = '/search?searchTerm=' + searchKey;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
return
|
|
29
|
+
return React__default.createElement(
|
|
30
30
|
Form,
|
|
31
31
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
32
32
|
return submitSearch(e);
|
|
33
33
|
} },
|
|
34
|
-
|
|
34
|
+
React__default.createElement(FormControl, {
|
|
35
35
|
className: device === 'mobile' ? 'mobile-search mr-sm-2' : 'mr-sm-2',
|
|
36
36
|
type: 'text',
|
|
37
37
|
placeholder: placeholder,
|
|
@@ -40,14 +40,14 @@ var Search = function Search(props) {
|
|
|
40
40
|
return setSearchKey(e.target.value);
|
|
41
41
|
}
|
|
42
42
|
}),
|
|
43
|
-
|
|
43
|
+
React__default.createElement(
|
|
44
44
|
Button,
|
|
45
45
|
{ variant: 'secondary', onClick: function onClick(e) {
|
|
46
46
|
return submitSearch(e);
|
|
47
47
|
} },
|
|
48
48
|
btnText
|
|
49
49
|
),
|
|
50
|
-
|
|
50
|
+
React__default.createElement(
|
|
51
51
|
'style',
|
|
52
52
|
{ jsx: 'true' },
|
|
53
53
|
'\n .mobile-search {\n width: 75%;\n margin-right: 15px;\n }\n '
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -4,7 +4,7 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
7
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import './isSymbol-b7b7434f.js';
|
|
10
10
|
import './stringify-e30bc114.js';
|
|
@@ -13,19 +13,19 @@ import './_set-species-6f64f1c1.js';
|
|
|
13
13
|
import { S as Segment } from './beam-a25bd8fd.js';
|
|
14
14
|
import './_arrayMap-64cbe0e4.js';
|
|
15
15
|
import { g as get_1 } from './get-0eb56363.js';
|
|
16
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
16
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
|
|
17
17
|
|
|
18
18
|
var year = new Date().getFullYear();
|
|
19
19
|
|
|
20
20
|
var renderLink = function renderLink(row) {
|
|
21
21
|
if (row.blank) {
|
|
22
|
-
return
|
|
22
|
+
return React__default.createElement(
|
|
23
23
|
'a',
|
|
24
24
|
{ href: row.url, needSegmentSupport: row.needSegmentSupport ? 'true' : '', target: '_blank', rel: 'noopener noreferrer' },
|
|
25
25
|
row.title
|
|
26
26
|
);
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return React__default.createElement(
|
|
29
29
|
'a',
|
|
30
30
|
{ href: row.url, needSegmentSupport: row.needSegmentSupport ? 'true' : '' },
|
|
31
31
|
row.title
|
|
@@ -63,24 +63,24 @@ var SideFooter = function SideFooter(props) {
|
|
|
63
63
|
name = copyRightText;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
return
|
|
66
|
+
return React__default.createElement(
|
|
67
67
|
'div',
|
|
68
68
|
{ className: 'side-footer', ref: sfRef },
|
|
69
|
-
|
|
69
|
+
React__default.createElement(
|
|
70
70
|
'ul',
|
|
71
71
|
null,
|
|
72
72
|
footerLinks && footerLinks.map(function (row, index) {
|
|
73
|
-
return
|
|
73
|
+
return React__default.createElement(
|
|
74
74
|
'li',
|
|
75
75
|
{ key: index },
|
|
76
76
|
renderLink(row)
|
|
77
77
|
);
|
|
78
78
|
}),
|
|
79
|
-
|
|
79
|
+
React__default.createElement(
|
|
80
80
|
'li',
|
|
81
81
|
{ style: { marginTop: '10px' } },
|
|
82
82
|
socialLinks && socialLinks.map(function (row, index) {
|
|
83
|
-
return
|
|
83
|
+
return React__default.createElement(reactSocialIcons_1, {
|
|
84
84
|
target: row.blank ? '_blank' : '_self',
|
|
85
85
|
rel: 'noopener noreferrer',
|
|
86
86
|
key: index,
|
|
@@ -91,26 +91,26 @@ var SideFooter = function SideFooter(props) {
|
|
|
91
91
|
})
|
|
92
92
|
)
|
|
93
93
|
),
|
|
94
|
-
logo &&
|
|
94
|
+
logo && React__default.createElement(
|
|
95
95
|
'ul',
|
|
96
96
|
null,
|
|
97
|
-
|
|
97
|
+
React__default.createElement(
|
|
98
98
|
'li',
|
|
99
99
|
{ className: 'pt-2' },
|
|
100
|
-
|
|
100
|
+
React__default.createElement(
|
|
101
101
|
'a',
|
|
102
102
|
{ href: 'https://www.mjhlifesciences.com' },
|
|
103
|
-
|
|
103
|
+
React__default.createElement('img', { style: { maxWidth: '100%' }, alt: 'MJHLS Brand Logo', src: logo })
|
|
104
104
|
)
|
|
105
105
|
)
|
|
106
106
|
),
|
|
107
|
-
|
|
107
|
+
React__default.createElement(
|
|
108
108
|
'p',
|
|
109
109
|
null,
|
|
110
110
|
'\xA9 ',
|
|
111
111
|
year,
|
|
112
112
|
' MJH Life Sciences',
|
|
113
|
-
|
|
113
|
+
React__default.createElement(
|
|
114
114
|
'sup',
|
|
115
115
|
null,
|
|
116
116
|
'\u2122'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
|
|
3
3
|
|
|
4
4
|
var year = new Date().getFullYear();
|
|
5
5
|
|
|
@@ -7,26 +7,26 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
7
7
|
var website = props.website,
|
|
8
8
|
showLogo = props.showLogo;
|
|
9
9
|
|
|
10
|
-
return
|
|
10
|
+
return React__default.createElement(
|
|
11
11
|
'div',
|
|
12
12
|
{ className: 'nav-footer' },
|
|
13
|
-
website && website.footerLinks && website.footerLinks.length &&
|
|
13
|
+
website && website.footerLinks && website.footerLinks.length && React__default.createElement(
|
|
14
14
|
'ul',
|
|
15
15
|
null,
|
|
16
16
|
website && website.footerLinks.map(function (content, index) {
|
|
17
17
|
if (content.url && content.title) {
|
|
18
|
-
return content.blank ?
|
|
18
|
+
return content.blank ? React__default.createElement(
|
|
19
19
|
'li',
|
|
20
20
|
{ key: index },
|
|
21
|
-
|
|
21
|
+
React__default.createElement(
|
|
22
22
|
'a',
|
|
23
23
|
{ target: '_blank', rel: 'noopener noreferrer', href: content.url, className: 'nav-link' },
|
|
24
24
|
content.title
|
|
25
25
|
)
|
|
26
|
-
) :
|
|
26
|
+
) : React__default.createElement(
|
|
27
27
|
'li',
|
|
28
28
|
{ key: index },
|
|
29
|
-
|
|
29
|
+
React__default.createElement(
|
|
30
30
|
'a',
|
|
31
31
|
{ href: content.url, className: 'nav-link' },
|
|
32
32
|
content.title
|
|
@@ -35,14 +35,14 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
35
35
|
} else return null;
|
|
36
36
|
})
|
|
37
37
|
),
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
'ul',
|
|
40
40
|
null,
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
'li',
|
|
43
43
|
{ style: { marginTop: '10px' }, key: website.footerLinks ? website.footerLinks.length + 1 : 1 },
|
|
44
44
|
website.socialLinks && website.socialLinks.map(function (row, index) {
|
|
45
|
-
return
|
|
45
|
+
return React__default.createElement(reactSocialIcons_1, {
|
|
46
46
|
target: row.blank ? '_blank' : '_self',
|
|
47
47
|
rel: 'noopener noreferrer',
|
|
48
48
|
key: index,
|
|
@@ -52,17 +52,17 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
52
52
|
});
|
|
53
53
|
})
|
|
54
54
|
),
|
|
55
|
-
showLogo &&
|
|
55
|
+
showLogo && React__default.createElement(
|
|
56
56
|
'li',
|
|
57
57
|
null,
|
|
58
|
-
|
|
58
|
+
React__default.createElement(
|
|
59
59
|
'a',
|
|
60
60
|
{ href: 'https://www.mjhlifesciences.com' },
|
|
61
|
-
|
|
61
|
+
React__default.createElement('img', { style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' }, alt: 'MJHLS Brand Logo', src: 'https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' })
|
|
62
62
|
)
|
|
63
63
|
)
|
|
64
64
|
),
|
|
65
|
-
website && website.name &&
|
|
65
|
+
website && website.name && React__default.createElement(
|
|
66
66
|
'p',
|
|
67
67
|
{ className: 'nav-link' },
|
|
68
68
|
'\xA9 ',
|
package/dist/esm/SocialShare.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Head from 'next/head';
|
|
3
3
|
import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, LinkedinShareButton, LinkedinIcon, PinterestShareButton, PinterestIcon, EmailShareButton, EmailIcon } from 'react-share';
|
|
4
4
|
|
|
@@ -15,51 +15,51 @@ var SocialShare = function SocialShare(props) {
|
|
|
15
15
|
_props$disableMeta = props.disableMeta,
|
|
16
16
|
disableMeta = _props$disableMeta === undefined ? false : _props$disableMeta;
|
|
17
17
|
|
|
18
|
-
return
|
|
19
|
-
|
|
18
|
+
return React__default.createElement(
|
|
19
|
+
React__default.Fragment,
|
|
20
20
|
null,
|
|
21
|
-
!disableMeta &&
|
|
21
|
+
!disableMeta && React__default.createElement(
|
|
22
22
|
Head,
|
|
23
23
|
null,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
React__default.createElement('meta', { property: 'og:url', content: shareUrl, key: 'og:url' }),
|
|
25
|
+
React__default.createElement('meta', { property: 'og:title', content: shareTitle, key: 'og:title' }),
|
|
26
|
+
React__default.createElement('meta', { property: 'og:image', content: shareImage, key: 'og:image' }),
|
|
27
|
+
React__default.createElement('meta', { property: 'og:site_name', content: siteName, key: 'og:site_name' }),
|
|
28
|
+
React__default.createElement('meta', { property: 'og:description', content: shareSummary, key: 'og:description' }),
|
|
29
|
+
React__default.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'og:card' }),
|
|
30
|
+
React__default.createElement('meta', { name: 'twitter:title', content: shareTitle, key: 'og:title' }),
|
|
31
|
+
React__default.createElement('meta', { name: 'twitter:image', content: shareImage, key: 'og:image' }),
|
|
32
|
+
React__default.createElement('meta', { name: 'twitter:site', content: twitterSiteName, key: 'og:site' }),
|
|
33
|
+
React__default.createElement('meta', { name: 'twitter:description', content: shareSummary, key: 'og:description' })
|
|
34
34
|
),
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
FacebookShareButton,
|
|
37
37
|
{ url: shareUrl, quote: shareTitle },
|
|
38
|
-
|
|
38
|
+
React__default.createElement(FacebookIcon, { size: size, round: true })
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React__default.createElement(
|
|
41
41
|
TwitterShareButton,
|
|
42
42
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
43
|
-
|
|
43
|
+
React__default.createElement(TwitterIcon, { size: size, round: true })
|
|
44
44
|
),
|
|
45
|
-
|
|
45
|
+
React__default.createElement(
|
|
46
46
|
LinkedinShareButton,
|
|
47
47
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
48
|
-
|
|
48
|
+
React__default.createElement(LinkedinIcon, { size: size, round: true })
|
|
49
49
|
),
|
|
50
|
-
!props.hidePinterest &&
|
|
50
|
+
!props.hidePinterest && React__default.createElement(
|
|
51
51
|
PinterestShareButton,
|
|
52
52
|
{ url: shareUrl, media: shareImage, description: shareSummary },
|
|
53
|
-
|
|
53
|
+
React__default.createElement(PinterestIcon, { size: size, round: true })
|
|
54
54
|
),
|
|
55
|
-
|
|
55
|
+
React__default.createElement(
|
|
56
56
|
EmailShareButton,
|
|
57
57
|
{ url: shareUrl, subject: shareSubject, body: shareSummary },
|
|
58
|
-
|
|
58
|
+
React__default.createElement(EmailIcon, { size: size, round: true })
|
|
59
59
|
)
|
|
60
60
|
);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
var SocialShare$1 =
|
|
63
|
+
var SocialShare$1 = React__default.memo(SocialShare);
|
|
64
64
|
|
|
65
65
|
export default SocialShare$1;
|