@mjhls/mjh-framework 1.0.711-beta.2 → 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 +7 -6
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +12 -12
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- 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 +29 -29
- 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 +47 -47
- 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 +43 -43
- 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 +72 -72
- 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 +23 -23
- 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 +56 -56
- package/dist/cjs/View.js +183 -180
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +51 -51
- 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 +12 -13
- 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-9b8a57e5.js → index-ad961307.js} +811 -788
- 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 +31 -37
- 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/{smoothscroll-5054361f.js → smoothscroll-95231a70.js} +50 -0
- 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 +4 -4
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +9 -10
- package/dist/esm/ArticleSeriesListing.js +35 -36
- 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 +26 -27
- 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 +40 -41
- 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 +37 -38
- 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 +67 -68
- 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 +17 -18
- 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 +49 -50
- package/dist/esm/View.js +158 -159
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +36 -37
- 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 +12 -13
- package/dist/esm/{index-4d1ed4ba.js → index-1a7c57c9.js} +748 -732
- 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 +26 -30
- 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/{smoothscroll-0cd4c7a6.js → smoothscroll-4b699764.js} +51 -2
- 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
- package/dist/cjs/VideoProgramLandingPage.js +0 -247
- package/dist/cjs/VideoSeriesLandingPage.js +0 -177
- package/dist/cjs/index-187c967e.js +0 -54
- package/dist/esm/VideoProgramLandingPage.js +0 -242
- package/dist/esm/VideoSeriesLandingPage.js +0 -172
- package/dist/esm/index-c7e2ac95.js +0 -52
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './moment-b6f49411.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
import './iconBase-602d52fe.js';
|
|
6
|
-
import { a as FaLongArrowAltRight } from './index.esm-
|
|
6
|
+
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
7
7
|
|
|
8
8
|
var RecentNews = function RecentNews(_ref) {
|
|
9
9
|
var client = _ref.client,
|
|
@@ -22,39 +22,39 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
22
22
|
var topArticle = dataRecord[0];
|
|
23
23
|
var subArticles = dataRecord.slice(1, dataRecord.length);
|
|
24
24
|
|
|
25
|
-
return
|
|
25
|
+
return React.createElement(
|
|
26
26
|
'div',
|
|
27
27
|
{ className: 'recent-news-container', style: { border: '3px solid ' + borderColor } },
|
|
28
|
-
|
|
28
|
+
React.createElement(
|
|
29
29
|
'div',
|
|
30
30
|
{ className: 'recent-news-title' },
|
|
31
|
-
|
|
31
|
+
React.createElement(
|
|
32
32
|
'h2',
|
|
33
33
|
null,
|
|
34
34
|
heroTitle
|
|
35
35
|
),
|
|
36
|
-
|
|
36
|
+
React.createElement('div', null)
|
|
37
37
|
),
|
|
38
|
-
|
|
38
|
+
React.createElement(
|
|
39
39
|
'div',
|
|
40
40
|
{ className: 'recent-news-inner' },
|
|
41
|
-
|
|
41
|
+
React.createElement(
|
|
42
42
|
'div',
|
|
43
43
|
{ className: 'recent-article-wrap', style: { flexBasis: '100%' } },
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
'a',
|
|
46
46
|
{ href: '/view/' + topArticle.url.current, className: 'recent-article' },
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
'p',
|
|
49
49
|
null,
|
|
50
50
|
topArticle.title
|
|
51
51
|
)
|
|
52
52
|
),
|
|
53
53
|
subArticles.map(function (article, index) {
|
|
54
|
-
return
|
|
54
|
+
return React.createElement(
|
|
55
55
|
'a',
|
|
56
56
|
{ key: index, href: '/view/' + article.url.current, className: 'recent-article' },
|
|
57
|
-
|
|
57
|
+
React.createElement(
|
|
58
58
|
'p',
|
|
59
59
|
null,
|
|
60
60
|
article.title
|
|
@@ -63,21 +63,21 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
63
63
|
})
|
|
64
64
|
)
|
|
65
65
|
),
|
|
66
|
-
linkTo &&
|
|
66
|
+
linkTo && React.createElement(
|
|
67
67
|
'div',
|
|
68
68
|
{ className: 'recent-view-more' },
|
|
69
|
-
|
|
69
|
+
React.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ href: linkTo },
|
|
72
72
|
linkTitle,
|
|
73
|
-
|
|
73
|
+
React.createElement(
|
|
74
74
|
'span',
|
|
75
75
|
null,
|
|
76
|
-
|
|
76
|
+
React.createElement(FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
77
77
|
)
|
|
78
78
|
)
|
|
79
79
|
),
|
|
80
|
-
|
|
80
|
+
React.createElement(
|
|
81
81
|
'style',
|
|
82
82
|
{ jsx: 'true' },
|
|
83
83
|
'\n .recent-news-container {\n margin-bottom: 1.7rem;\n margin-top: 1rem;\n position: relative;\n }\n .recent-news-title {\n position: absolute;\n top: -10px;\n background: white;\n z-index: 2;\n left: 10px;\n padding-right: 0.25rem;\n padding-left: 0.25rem;\n font-weight: bold;\n }\n .recent-news-title h2 {\n font-size: 0.9rem;\n font-weight: bold;\n }\n .recent-news-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n .recent-article-wrap {\n padding: 0 0.5rem;\n }\n \n .recent-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .recent-article:last-child {\n border-bottom: none;\n }\n .recent-article:hover {\n background: #eee;\n }\n .recent-article p {\n font-size: 0.7rem;\n margin-bottom: 0.5rem;\n color: #252525;\n }\n .recent-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-size: 0.7rem;\n font-weight: bold;\n }\n .recent-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 0.7rem;\n }\n @media screen and (max-width: 1191px){\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n }\n @media screen and (max-width: 495px) {\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n '
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import { m as moment } from './moment-
|
|
4
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
5
5
|
import 'react-dom';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-
|
|
7
|
-
import { L as LazyLoad } from './index-
|
|
6
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
7
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
8
8
|
import 'react-bootstrap/Media';
|
|
9
9
|
|
|
10
10
|
/*
|
|
@@ -47,47 +47,47 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
47
47
|
return builder.image(source);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
return
|
|
50
|
+
return React.createElement(
|
|
51
51
|
'div',
|
|
52
52
|
null,
|
|
53
|
-
|
|
53
|
+
React.createElement(
|
|
54
54
|
'h1',
|
|
55
55
|
{ className: 'mb-4 pb-2', style: { borderBottom: '1px solid #ccc', fontSize: '1.2rem', fontWeight: 'bold', color: '#252525' } },
|
|
56
56
|
'Related Content'
|
|
57
57
|
),
|
|
58
|
-
|
|
58
|
+
React.createElement(
|
|
59
59
|
'div',
|
|
60
60
|
{ className: 'related-articles-container' },
|
|
61
61
|
dataRecord.map(function (article, index) {
|
|
62
|
-
return
|
|
62
|
+
return React.createElement(
|
|
63
63
|
'a',
|
|
64
64
|
{ key: index, href: '/view/' + article.url.current, className: 'related-article' },
|
|
65
|
-
|
|
65
|
+
React.createElement(
|
|
66
66
|
'figure',
|
|
67
67
|
null,
|
|
68
|
-
|
|
68
|
+
React.createElement(
|
|
69
69
|
LazyLoad,
|
|
70
70
|
{ once: true },
|
|
71
|
-
|
|
71
|
+
React.createElement('img', {
|
|
72
72
|
src: article.thumbnail ? urlFor(article.thumbnail.asset).width(500).url() : defaultImage,
|
|
73
73
|
alt: article.title
|
|
74
74
|
})
|
|
75
75
|
)
|
|
76
76
|
),
|
|
77
|
-
|
|
77
|
+
React.createElement(
|
|
78
78
|
'div',
|
|
79
79
|
{ className: 'related-article-body' },
|
|
80
|
-
|
|
81
|
-
props.showPublished &&
|
|
80
|
+
React.createElement('h4', { dangerouslySetInnerHTML: { __html: article.title } }),
|
|
81
|
+
props.showPublished && React.createElement(
|
|
82
82
|
'p',
|
|
83
83
|
{ className: 'pb-0 mb-0' },
|
|
84
84
|
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
85
85
|
),
|
|
86
|
-
props.showAuthor && article.authorMapping && article.authorMapping[0] &&
|
|
86
|
+
props.showAuthor && article.authorMapping && article.authorMapping[0] && React.createElement(
|
|
87
87
|
'p',
|
|
88
88
|
null,
|
|
89
89
|
'By ',
|
|
90
|
-
|
|
90
|
+
React.createElement(
|
|
91
91
|
'b',
|
|
92
92
|
null,
|
|
93
93
|
article.authorMapping[0].displayName
|
|
@@ -96,7 +96,7 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
96
96
|
)
|
|
97
97
|
);
|
|
98
98
|
}),
|
|
99
|
-
|
|
99
|
+
React.createElement(
|
|
100
100
|
'style',
|
|
101
101
|
{ jsx: 'true' },
|
|
102
102
|
'\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 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.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
null,
|
|
35
|
-
|
|
35
|
+
React.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 overflow: hidden;\n overflow-y: scroll;\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 overflow: hidden;\n overflow-y: scroll;\n }\n }\n '
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
'div',
|
|
42
42
|
{ id: 'related_dropdown', className: className },
|
|
43
|
-
|
|
43
|
+
React.createElement(
|
|
44
44
|
DropdownButton,
|
|
45
45
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
46
|
-
|
|
46
|
+
React.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.createElement(
|
|
56
56
|
'div',
|
|
57
57
|
null,
|
|
58
|
-
|
|
58
|
+
React.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 overflow: hidden;\n overflow-y: scroll;\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 overflow: hidden;\n overflow-y: scroll;\n }\n }\n '
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
React.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ id: 'related_dropdown', className: className },
|
|
66
|
-
|
|
66
|
+
React.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.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 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.createElement(
|
|
19
19
|
'div',
|
|
20
20
|
{ className: 'rolesDeck' },
|
|
21
|
-
|
|
21
|
+
React.createElement(
|
|
22
22
|
Container,
|
|
23
23
|
null,
|
|
24
|
-
|
|
24
|
+
React.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.createElement(
|
|
30
30
|
Col,
|
|
31
31
|
{ key: index, md: 12, lg: 6, counter: index++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
32
|
-
|
|
32
|
+
React.createElement(
|
|
33
33
|
Card,
|
|
34
34
|
{ className: 'taxonomy-card', style: { position: 'relative', overflow: 'hidden', borderBottom: '3px solid var(--primary)' } },
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
Card.Link,
|
|
37
37
|
{ href: row.url },
|
|
38
|
-
|
|
38
|
+
React.createElement(
|
|
39
39
|
Card.Body,
|
|
40
40
|
null,
|
|
41
|
-
|
|
41
|
+
React.createElement(
|
|
42
42
|
Row,
|
|
43
43
|
null,
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
Col,
|
|
46
46
|
{ className: 'details-content-wrapper' },
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'details-wrapper' },
|
|
50
50
|
row.name
|
|
51
51
|
)
|
|
52
52
|
)
|
|
53
53
|
),
|
|
54
|
-
icon &&
|
|
54
|
+
icon && React.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.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
|
@@ -3,7 +3,7 @@ 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, { useState } from 'react';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
9
9
|
import Form from 'react-bootstrap/Form';
|
|
@@ -27,12 +27,12 @@ var Search = function Search(props) {
|
|
|
27
27
|
window.location.href = '/search?searchTerm=' + searchKey;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
return
|
|
30
|
+
return React.createElement(
|
|
31
31
|
Form,
|
|
32
32
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
33
33
|
return submitSearch(e);
|
|
34
34
|
} },
|
|
35
|
-
|
|
35
|
+
React.createElement(FormControl, {
|
|
36
36
|
className: device === 'mobile' ? 'mobile-search mr-sm-2' : 'mr-sm-2',
|
|
37
37
|
type: 'text',
|
|
38
38
|
placeholder: placeholder,
|
|
@@ -41,14 +41,14 @@ var Search = function Search(props) {
|
|
|
41
41
|
return setSearchKey(e.target.value);
|
|
42
42
|
}
|
|
43
43
|
}),
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
Button,
|
|
46
46
|
{ variant: 'secondary', onClick: function onClick(e) {
|
|
47
47
|
return submitSearch(e);
|
|
48
48
|
} },
|
|
49
49
|
btnText
|
|
50
50
|
),
|
|
51
|
-
|
|
51
|
+
React.createElement(
|
|
52
52
|
'style',
|
|
53
53
|
{ jsx: 'true' },
|
|
54
54
|
'\n .mobile-search {\n width: 75%;\n margin-right: 15px;\n }\n '
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -6,27 +6,27 @@ import './_iter-detect-59409a32.js';
|
|
|
6
6
|
import './core.get-iterator-method-54d2e411.js';
|
|
7
7
|
import './define-property-de3fc946.js';
|
|
8
8
|
import './web.dom.iterable-8956f9a5.js';
|
|
9
|
-
import
|
|
9
|
+
import React, { useRef, useEffect } from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import './isSymbol-807e927e.js';
|
|
12
12
|
import './asyncToGenerator-7c654f36.js';
|
|
13
13
|
import './_set-species-cede29f8.js';
|
|
14
14
|
import Segment from './Segment.js';
|
|
15
15
|
import { g as get_1 } from './get-5ee14cda.js';
|
|
16
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
16
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-3822f1ce.js';
|
|
17
17
|
import { _ as _defineProperty } from './defineProperty-b798470d.js';
|
|
18
18
|
|
|
19
19
|
var year = new Date().getFullYear();
|
|
20
20
|
|
|
21
21
|
var renderLink = function renderLink(row) {
|
|
22
22
|
if (row.blank) {
|
|
23
|
-
return
|
|
23
|
+
return React.createElement(
|
|
24
24
|
'a',
|
|
25
25
|
_defineProperty({ rel: 'noopener', href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: '_blank' }, 'rel', 'noopener noreferrer'),
|
|
26
26
|
row.title
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return React.createElement(
|
|
30
30
|
'a',
|
|
31
31
|
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '' },
|
|
32
32
|
row.title
|
|
@@ -69,24 +69,24 @@ var SideFooter = function SideFooter(props) {
|
|
|
69
69
|
name = copyRightText;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
return
|
|
72
|
+
return React.createElement(
|
|
73
73
|
'div',
|
|
74
74
|
{ className: 'side-footer', ref: sfRef },
|
|
75
|
-
|
|
75
|
+
React.createElement(
|
|
76
76
|
'ul',
|
|
77
77
|
null,
|
|
78
78
|
footerLinks && footerLinks.map(function (row, index) {
|
|
79
|
-
return
|
|
79
|
+
return React.createElement(
|
|
80
80
|
'li',
|
|
81
81
|
{ key: index },
|
|
82
82
|
renderLink(row)
|
|
83
83
|
);
|
|
84
84
|
}),
|
|
85
|
-
|
|
85
|
+
React.createElement(
|
|
86
86
|
'li',
|
|
87
87
|
{ style: { marginTop: '10px' } },
|
|
88
88
|
socialLinks && socialLinks.map(function (row, index) {
|
|
89
|
-
return
|
|
89
|
+
return React.createElement(reactSocialIcons_1, {
|
|
90
90
|
target: row.blank ? '_blank' : '_self',
|
|
91
91
|
rel: 'noopener noreferrer',
|
|
92
92
|
key: index,
|
|
@@ -99,39 +99,39 @@ var SideFooter = function SideFooter(props) {
|
|
|
99
99
|
})
|
|
100
100
|
)
|
|
101
101
|
),
|
|
102
|
-
logo &&
|
|
102
|
+
logo && React.createElement(
|
|
103
103
|
'ul',
|
|
104
104
|
null,
|
|
105
|
-
|
|
105
|
+
React.createElement(
|
|
106
106
|
'li',
|
|
107
107
|
{ className: 'pt-2' },
|
|
108
|
-
|
|
108
|
+
React.createElement(
|
|
109
109
|
'a',
|
|
110
110
|
{ href: 'https://www.mjhlifesciences.com' },
|
|
111
|
-
|
|
111
|
+
React.createElement('img', { style: { maxWidth: '100%' }, alt: 'MJHLS Brand Logo', src: logo })
|
|
112
112
|
)
|
|
113
113
|
)
|
|
114
114
|
),
|
|
115
|
-
showAddress &&
|
|
115
|
+
showAddress && React.createElement(
|
|
116
116
|
'div',
|
|
117
117
|
null,
|
|
118
|
-
address ? address :
|
|
118
|
+
address ? address : React.createElement(
|
|
119
119
|
'p',
|
|
120
120
|
null,
|
|
121
121
|
'2 Clarke Drive',
|
|
122
|
-
|
|
122
|
+
React.createElement('br', null),
|
|
123
123
|
'Suite 100',
|
|
124
|
-
|
|
124
|
+
React.createElement('br', null),
|
|
125
125
|
'Cranbury, NJ 08512'
|
|
126
126
|
)
|
|
127
127
|
),
|
|
128
|
-
|
|
128
|
+
React.createElement(
|
|
129
129
|
'p',
|
|
130
130
|
null,
|
|
131
131
|
'\xA9 ',
|
|
132
132
|
year,
|
|
133
133
|
' MJH Life Sciences',
|
|
134
|
-
|
|
134
|
+
React.createElement(
|
|
135
135
|
'sup',
|
|
136
136
|
null,
|
|
137
137
|
'\u2122'
|
package/dist/esm/SocialIcons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
|
|
3
3
|
// SVGs for light icons
|
|
4
4
|
var lightIcons = [{
|
|
@@ -63,12 +63,12 @@ var SocialIcons = function SocialIcons(props) {
|
|
|
63
63
|
if (icon) {
|
|
64
64
|
// Creating icon component
|
|
65
65
|
var Icon = function Icon() {
|
|
66
|
-
return
|
|
66
|
+
return React.createElement('p', { dangerouslySetInnerHTML: { __html: icon } });
|
|
67
67
|
};
|
|
68
|
-
return
|
|
68
|
+
return React.createElement(
|
|
69
69
|
'a',
|
|
70
70
|
{ href: link.url, target: link.blank ? '_blank' : '_self', style: { marginRight: '4px' } },
|
|
71
|
-
|
|
71
|
+
React.createElement(Icon, null)
|
|
72
72
|
);
|
|
73
73
|
} else return null;
|
|
74
74
|
});
|
|
@@ -82,12 +82,12 @@ var SocialIcons = function SocialIcons(props) {
|
|
|
82
82
|
if (icon) {
|
|
83
83
|
// Creating icon component
|
|
84
84
|
var Icon = function Icon() {
|
|
85
|
-
return
|
|
85
|
+
return React.createElement('p', { dangerouslySetInnerHTML: { __html: icon } });
|
|
86
86
|
};
|
|
87
|
-
return
|
|
87
|
+
return React.createElement(
|
|
88
88
|
'a',
|
|
89
89
|
{ href: link.url, target: link.blank ? '_blank' : '_self', style: { marginRight: '4px' } },
|
|
90
|
-
|
|
90
|
+
React.createElement(Icon, null)
|
|
91
91
|
);
|
|
92
92
|
} else return null;
|
|
93
93
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { f as
|
|
1
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
2
|
+
import { f as main_31, c as main_41 } from './main-747e7d25.js';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
4
4
|
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
5
5
|
import Button from 'react-bootstrap/Button';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
|
-
import { G as GoSearch } from './index.esm-
|
|
7
|
+
import { G as GoSearch } from './index.esm-8ee5ff72.js';
|
|
8
8
|
import SocialIcons from './SocialIcons.js';
|
|
9
9
|
import FormControl from 'react-bootstrap/FormControl';
|
|
10
10
|
|
|
@@ -40,7 +40,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
40
40
|
var mastNav = document.querySelector('.nav-brands');
|
|
41
41
|
var topOffset = 0;
|
|
42
42
|
// Checking for non-IOS devices before setting the offset position.
|
|
43
|
-
if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !
|
|
43
|
+
if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !main_31) topOffset = topOffset + mastNav.offsetHeight;
|
|
44
44
|
if (navWrapper && navWrapper.offsetHeight) topOffset = topOffset + navWrapper.offsetHeight;
|
|
45
45
|
setTopOffset(topOffset + 2);
|
|
46
46
|
|
|
@@ -68,14 +68,14 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
68
68
|
var searchBtn = document.getElementsByClassName(selector)[0];
|
|
69
69
|
if (searchBtn && searchBtn.classList && searchBtn.classList.contains(addOn)) {
|
|
70
70
|
// Set overflow fix for iPhones safari browsers
|
|
71
|
-
if (
|
|
71
|
+
if (main_41 || window.innerWidth < 1200 && main_31) {
|
|
72
72
|
var mainNav = document.querySelector('#navbar-ham');
|
|
73
73
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
74
74
|
}
|
|
75
75
|
searchBtn.classList.remove(addOn);
|
|
76
76
|
} else if (searchBtn && searchBtn.classList) {
|
|
77
77
|
// Set overflow fix for iPhones safari browsers
|
|
78
|
-
if (
|
|
78
|
+
if (main_41 || window.innerWidth < 1200 && main_31) {
|
|
79
79
|
var _mainNav = document.querySelector('#navbar-ham');
|
|
80
80
|
if (_mainNav && _mainNav.style) _mainNav.style.overflow = 'visible';
|
|
81
81
|
}
|
|
@@ -85,21 +85,21 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
var socialSearchDesktop = function socialSearchDesktop() {
|
|
88
|
-
return
|
|
88
|
+
return React.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ id: 'search-content-desktop', ref: desktopComponent, style: { display: 'flex' } },
|
|
91
|
-
|
|
91
|
+
React.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ id: 'search-bar-desktop', style: { top: topOffset, right: rightOffset } },
|
|
94
|
-
|
|
94
|
+
React.createElement(
|
|
95
95
|
Form,
|
|
96
96
|
{ style: { padding: '6px' }, inline: true, onSubmit: function onSubmit(e) {
|
|
97
97
|
return submitSearch(e);
|
|
98
98
|
} },
|
|
99
|
-
|
|
99
|
+
React.createElement(FormControl, { style: { width: '78%' }, placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
100
100
|
return setSearchKey(e.target.value);
|
|
101
101
|
} }),
|
|
102
|
-
|
|
102
|
+
React.createElement(
|
|
103
103
|
Button,
|
|
104
104
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
105
105
|
return submitSearch(e);
|
|
@@ -108,22 +108,22 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
108
108
|
)
|
|
109
109
|
)
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
IconContext.Provider,
|
|
113
113
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-desktop', size: '35px' } },
|
|
114
|
-
|
|
114
|
+
React.createElement(GoSearch, {
|
|
115
115
|
onClick: function onClick() {
|
|
116
116
|
toggleClass('search-bar-desktop', 'id', 'show');
|
|
117
117
|
toggleClass('search-btn-desktop', 'class', 'active-search');
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
),
|
|
121
|
-
website && website.socialLinks && website.socialLinks.length !== 0 &&
|
|
121
|
+
website && website.socialLinks && website.socialLinks.length !== 0 && React.createElement(
|
|
122
122
|
'div',
|
|
123
123
|
{ id: 'social-tab-desktop', style: { display: 'flex', left: '0px', position: 'relative', paddingTop: '3px', maxHeight: '35px' } },
|
|
124
|
-
website.socialLinks &&
|
|
124
|
+
website.socialLinks && React.createElement(SocialIcons, { socialLinks: website.socialLinks, variant: socialIconVariant })
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React.createElement(
|
|
127
127
|
'style',
|
|
128
128
|
{ jsx: 'true' },
|
|
129
129
|
'\n #search-content-desktop .search-btn-desktop {\n padding: 5px;\n cursor: pointer;\n }\n #search-content-desktop #search-bar-desktop {\n display: none;\n background-color: var(--primary);\n position: absolute;\n width: 400px;\n border-radius: 5px;\n height: 48px;\n right: 15%;\n }\n #search-content-desktop .search-btn-desktop.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary) !important;\n }\n #search-content-desktop #search-bar-desktop.show {\n display: block !important;\n }\n '
|
|
@@ -132,21 +132,21 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
var socialSearchMobile = function socialSearchMobile() {
|
|
135
|
-
return
|
|
135
|
+
return React.createElement(
|
|
136
136
|
'div',
|
|
137
137
|
{ id: 'search-content-mobile', ref: mobileComponent },
|
|
138
|
-
|
|
138
|
+
React.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ id: 'search-bar-mobile', style: { top: topOffset } },
|
|
141
|
-
|
|
141
|
+
React.createElement(
|
|
142
142
|
Form,
|
|
143
143
|
{ inline: true, style: { padding: '6px', width: '100%' }, onSubmit: function onSubmit(e) {
|
|
144
144
|
return submitSearch(e);
|
|
145
145
|
} },
|
|
146
|
-
|
|
146
|
+
React.createElement(FormControl, { style: { width: '78%' }, placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
147
147
|
return setSearchKey(e.target.value);
|
|
148
148
|
} }),
|
|
149
|
-
|
|
149
|
+
React.createElement(
|
|
150
150
|
Button,
|
|
151
151
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
152
152
|
return submitSearch(e);
|
|
@@ -155,10 +155,10 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
155
155
|
)
|
|
156
156
|
)
|
|
157
157
|
),
|
|
158
|
-
|
|
158
|
+
React.createElement(
|
|
159
159
|
IconContext.Provider,
|
|
160
160
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-mobile', size: '35px' } },
|
|
161
|
-
|
|
161
|
+
React.createElement(GoSearch, {
|
|
162
162
|
onClick: function onClick() {
|
|
163
163
|
var navToggle = document.getElementsByClassName('navbar-toggler')[0];
|
|
164
164
|
if (navToggle && navToggle.classList && !navToggle.classList.contains('collapsed')) {
|
|
@@ -174,10 +174,10 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
174
174
|
}
|
|
175
175
|
})
|
|
176
176
|
),
|
|
177
|
-
|
|
177
|
+
React.createElement(
|
|
178
178
|
'style',
|
|
179
179
|
{ jsx: 'true' },
|
|
180
|
-
'\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (
|
|
180
|
+
'\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_31 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
|
|
181
181
|
)
|
|
182
182
|
);
|
|
183
183
|
};
|