@mjhls/mjh-framework 1.0.1013 → 1.0.1014-og-test
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 +1 -1
- package/dist/cjs/AD300x250.js +4 -4
- package/dist/cjs/AD300x250x600.js +4 -4
- package/dist/cjs/AD728x90.js +4 -4
- package/dist/cjs/ADFloatingFooter.js +4 -4
- package/dist/cjs/ADGutter.js +4 -4
- package/dist/cjs/ADSkyscraper.js +4 -4
- package/dist/cjs/ADSponsoredResources.js +4 -4
- package/dist/cjs/ADWebcast.js +4 -4
- package/dist/cjs/ADWelcome.js +4 -4
- package/dist/cjs/AdSlot.js +4 -4
- package/dist/cjs/AdSlotsProvider.js +4 -4
- package/dist/cjs/AlgoliaSearch.js +521 -1068
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +6 -6
- package/dist/cjs/ArticleSeriesListing.js +3 -2
- package/dist/cjs/Auth.js +12 -42
- package/dist/cjs/AuthWrapper.js +19 -89
- package/dist/cjs/Beam.js +1 -2
- package/dist/cjs/CMEDeck.js +4 -4
- package/dist/cjs/Column2.js +1 -2
- package/dist/cjs/Column3.js +4 -4
- package/dist/cjs/ContentCardPaginated.js +6 -6
- package/dist/cjs/DeckContent.js +5 -5
- package/dist/cjs/DeckQueue.js +3 -2
- package/dist/cjs/DeckQueuePaginated.js +5 -5
- package/dist/cjs/{Dfp-67646058.js → Dfp-c313a700.js} +2 -1
- package/dist/cjs/EventsDeck.js +2 -2
- package/dist/cjs/ExternalResources.js +6 -6
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +6 -6
- package/dist/cjs/GridContentPaginated.js +7 -7
- package/dist/cjs/HamMagazine.js +3 -4
- package/dist/cjs/Header.js +29 -3
- package/dist/cjs/HorizontalArticleListing.js +5 -5
- package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-17fdaf3b.js} +116 -156
- package/dist/cjs/IssueLanding.js +7 -7
- package/dist/cjs/LeftNav.js +4 -4
- package/dist/cjs/MasterDeck.js +6 -6
- package/dist/cjs/MasterDeckPaginated.js +7 -7
- package/dist/cjs/{MediaSeriesCard-775036a8.js → MediaSeriesCard-6b5d0ec4.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +10 -10
- package/dist/cjs/MediaSeriesLandingPaginated.js +11 -11
- package/dist/cjs/NavDvm.js +1 -2
- package/dist/cjs/NavMagazine.js +3 -4
- package/dist/cjs/NavNative.js +2 -3
- package/dist/cjs/{Pagination-6359861a.js → Pagination-842c556f.js} +1 -1
- package/dist/cjs/PartnerDetailListing.js +9 -8
- package/dist/cjs/PartnerDetailListingPaginated.js +10 -9
- package/dist/cjs/PodcastsLanding.js +8 -8
- package/dist/cjs/PtceDeck.js +1 -2
- package/dist/cjs/PubSection.js +6 -6
- package/dist/cjs/PubToc.js +1 -2
- package/dist/cjs/PublicationLanding.js +96 -43
- package/dist/cjs/QueueDeckExpanded.js +6 -6
- package/dist/cjs/QueueDeckExpandedPaginated.js +7 -7
- package/dist/cjs/Segment.js +1 -2
- package/dist/cjs/SeriesListingDeck.js +4 -3
- package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-3d57985d.js} +1 -1
- package/dist/cjs/SideFooter.js +1 -2
- package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-62bceb87.js} +1 -1
- package/dist/cjs/TaxonomyDescription.js +5 -5
- package/dist/cjs/TemplateNormal.js +6 -5
- package/dist/cjs/{Tooltip-71754b2a.js → Tooltip-4cb8849a.js} +272 -355
- package/dist/cjs/Ustream.js +2 -3
- package/dist/cjs/VideoProgramLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesFilter.js +1 -2
- package/dist/cjs/VideoSeriesLandingPage.js +6 -6
- package/dist/cjs/VideoSeriesListing.js +3 -2
- package/dist/cjs/View.js +6 -6
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/{asyncToGenerator-65df6bf8.js → asyncToGenerator-77821af0.js} +56 -8
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/faundadb.js +1 -2
- package/dist/cjs/getPtceActivities.js +1 -2
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +1 -2
- package/dist/cjs/getRootDocGroup.js +1 -2
- package/dist/cjs/getSerializers.js +5 -5
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-7ca74b82.js → index-91f1bb3c.js} +3 -3
- package/dist/cjs/{index-7435b964.js → index-d2a6ef75.js} +2 -467
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/index.js +15 -12
- package/dist/cjs/{main-6054981e.js → main-3643d499.js} +9 -4
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +4 -4
- package/dist/esm/AD300x250x600.js +4 -4
- package/dist/esm/AD728x90.js +4 -4
- package/dist/esm/ADFloatingFooter.js +4 -4
- package/dist/esm/ADGutter.js +4 -4
- package/dist/esm/ADSkyscraper.js +4 -4
- package/dist/esm/ADSponsoredResources.js +4 -4
- package/dist/esm/ADWebcast.js +4 -4
- package/dist/esm/ADWelcome.js +4 -4
- package/dist/esm/AdSlot.js +4 -4
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlgoliaSearch.js +518 -1065
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +5 -5
- package/dist/esm/ArticleSeriesLandingPage.js +6 -6
- package/dist/esm/ArticleSeriesListing.js +3 -2
- package/dist/esm/Auth.js +12 -42
- package/dist/esm/AuthWrapper.js +16 -86
- package/dist/esm/Beam.js +1 -2
- package/dist/esm/CMEDeck.js +4 -4
- package/dist/esm/Column2.js +1 -2
- package/dist/esm/Column3.js +4 -4
- package/dist/esm/ContentCardPaginated.js +6 -6
- package/dist/esm/DeckContent.js +5 -5
- package/dist/esm/DeckQueue.js +3 -2
- package/dist/esm/DeckQueuePaginated.js +5 -5
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +6 -6
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +6 -6
- package/dist/esm/GridContentPaginated.js +7 -7
- package/dist/esm/HamMagazine.js +3 -4
- package/dist/esm/Header.js +28 -3
- package/dist/esm/HorizontalArticleListing.js +5 -5
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-f84174cb.js} +117 -157
- package/dist/esm/IssueLanding.js +7 -7
- package/dist/esm/LeftNav.js +4 -4
- package/dist/esm/MasterDeck.js +6 -6
- package/dist/esm/MasterDeckPaginated.js +7 -7
- package/dist/esm/{MediaSeriesCard-96d46dee.js → MediaSeriesCard-7f8d726e.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +10 -10
- package/dist/esm/MediaSeriesLandingPaginated.js +11 -11
- package/dist/esm/NavDvm.js +1 -2
- package/dist/esm/NavMagazine.js +3 -4
- package/dist/esm/NavNative.js +2 -3
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +9 -8
- package/dist/esm/PartnerDetailListingPaginated.js +10 -9
- package/dist/esm/PodcastsLanding.js +8 -8
- package/dist/esm/PtceDeck.js +1 -2
- package/dist/esm/PubSection.js +6 -6
- package/dist/esm/PubToc.js +1 -2
- package/dist/esm/PublicationLanding.js +85 -32
- package/dist/esm/QueueDeckExpanded.js +6 -6
- package/dist/esm/QueueDeckExpandedPaginated.js +7 -7
- package/dist/esm/Segment.js +1 -2
- package/dist/esm/SeriesListingDeck.js +4 -3
- package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-f771e20d.js} +1 -1
- package/dist/esm/SideFooter.js +1 -2
- package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-165b4ae7.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +5 -5
- package/dist/esm/TemplateNormal.js +6 -5
- package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-95655b44.js} +67 -150
- package/dist/esm/Ustream.js +2 -3
- package/dist/esm/VideoProgramLandingPage.js +5 -5
- package/dist/esm/VideoSeriesFilter.js +1 -2
- package/dist/esm/VideoSeriesLandingPage.js +6 -6
- package/dist/esm/VideoSeriesListing.js +3 -2
- package/dist/esm/View.js +6 -6
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/{asyncToGenerator-64822ccc.js → asyncToGenerator-958ef5fc.js} +50 -6
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/faundadb.js +1 -2
- package/dist/esm/getPtceActivities.js +1 -2
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -2
- package/dist/esm/getRootDocGroup.js +1 -2
- package/dist/esm/getSerializers.js +5 -5
- package/dist/esm/{index-fbb977dc.js → index-6f8a75dd.js} +3 -3
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +15 -12
- package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +1 -1
- package/dist/cjs/_set-species-0c7864a2.js +0 -55
- package/dist/cjs/index-b95410f0.js +0 -54
- package/dist/esm/_set-species-2cd9340f.js +0 -50
- package/dist/esm/index-174b5baf.js +0 -52
- /package/dist/cjs/{ADInfeed-43871736.js → ADInfeed-0394f391.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-6ca217b7.js → ADlgInfeed-759969d6.js} +0 -0
- /package/dist/esm/{ADInfeed-65b1c440.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-fccdebf4.js → ADlgInfeed-5e36f317.js} +0 -0
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -15,8 +15,8 @@ import Col from 'react-bootstrap/Col';
|
|
|
15
15
|
import Card from 'react-bootstrap/Card';
|
|
16
16
|
import Form from 'react-bootstrap/Form';
|
|
17
17
|
import Button from 'react-bootstrap/Button';
|
|
18
|
-
import './main-
|
|
19
|
-
import { m as momentTimezone } from './index-
|
|
18
|
+
import './main-1894c974.js';
|
|
19
|
+
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
20
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
21
|
import { useRouter } from 'next/router';
|
|
22
22
|
import './_object-pie-133f504a.js';
|
|
@@ -2,8 +2,8 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
6
|
-
import { m as momentTimezone } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-6f8a75dd.js';
|
|
6
|
+
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
9
9
|
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
@@ -15,17 +15,17 @@ import 'prop-types';
|
|
|
15
15
|
import './index-3f5c03b2.js';
|
|
16
16
|
import 'react-bootstrap';
|
|
17
17
|
import './urlFor.js';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-f0fc23eb.js';
|
|
19
|
+
import './events-6c3a7a63.js';
|
|
19
20
|
import './index-c7e2ac95.js';
|
|
20
21
|
import './util-8ed16d48.js';
|
|
21
22
|
import './Beam.js';
|
|
22
23
|
import './stringify-2b084bee.js';
|
|
23
|
-
import './asyncToGenerator-
|
|
24
|
+
import './asyncToGenerator-958ef5fc.js';
|
|
24
25
|
import './_library-528f1934.js';
|
|
25
|
-
import './_set-species-2cd9340f.js';
|
|
26
26
|
import './_iter-detect-98db3b07.js';
|
|
27
27
|
import './Segment.js';
|
|
28
|
-
import './main-
|
|
28
|
+
import './main-1894c974.js';
|
|
29
29
|
import './urlForFile-b69adffc.js';
|
|
30
30
|
import './index-755f2cc2.js';
|
|
31
31
|
import 'react-dom';
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import urlFor from './urlFor.js';
|
|
3
|
-
import { m as main_43 } from './main-
|
|
3
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
4
4
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
|
2
2
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
3
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
6
6
|
import Container from 'react-bootstrap/Container';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
@@ -12,15 +12,15 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
13
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-5765a73a.js';
|
|
16
16
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-5e36f317.js';
|
|
18
18
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
19
|
import { g as get_1 } from './get-3c308da4.js';
|
|
20
20
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
21
21
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
22
22
|
import urlFor from './urlFor.js';
|
|
23
|
-
import { m as main_43 } from './main-
|
|
23
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
24
24
|
import './AD.js';
|
|
25
25
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
26
26
|
import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
|
|
@@ -34,14 +34,14 @@ import './typeof-e9fc0c5d.js';
|
|
|
34
34
|
import './web.dom.iterable-ab4dea5c.js';
|
|
35
35
|
import './_is-array-8d21b9e3.js';
|
|
36
36
|
import './_library-528f1934.js';
|
|
37
|
+
import './events-6c3a7a63.js';
|
|
37
38
|
import 'prop-types';
|
|
38
39
|
import 'react-dom';
|
|
39
40
|
import './slicedToArray-6ebcbfea.js';
|
|
40
41
|
import './AdSlot.js';
|
|
41
42
|
import './Beam.js';
|
|
42
43
|
import './stringify-2b084bee.js';
|
|
43
|
-
import './asyncToGenerator-
|
|
44
|
-
import './_set-species-2cd9340f.js';
|
|
44
|
+
import './asyncToGenerator-958ef5fc.js';
|
|
45
45
|
import './Segment.js';
|
|
46
46
|
import './isSymbol-a7e9aafe.js';
|
|
47
47
|
import './eq-bdcbf886.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
2
2
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
3
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
3
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
4
4
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
5
5
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
-
import { l as lib_3 } from './index-
|
|
7
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
8
8
|
import Container from 'react-bootstrap/Container';
|
|
9
9
|
import Row from 'react-bootstrap/Row';
|
|
10
10
|
import Col from 'react-bootstrap/Col';
|
|
@@ -13,28 +13,28 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
13
13
|
import { withRouter } from 'next/router';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
15
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
16
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
16
|
+
import { A as ADInfeed } from './ADInfeed-5765a73a.js';
|
|
17
17
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-5e36f317.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import { g as get_1 } from './get-3c308da4.js';
|
|
21
21
|
import urlFor from './urlFor.js';
|
|
22
|
-
import { m as main_43 } from './main-
|
|
22
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
23
23
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
24
24
|
import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
|
|
25
|
-
import { P as Pagination } from './Pagination-
|
|
25
|
+
import { P as Pagination } from './Pagination-dc30727b.js';
|
|
26
26
|
import Spinner from 'react-bootstrap/Spinner';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
28
|
import './core.get-iterator-method-ea258bb1.js';
|
|
29
29
|
import './_iter-detect-98db3b07.js';
|
|
30
30
|
import './web.dom.iterable-ab4dea5c.js';
|
|
31
31
|
import './_library-528f1934.js';
|
|
32
|
-
import './_set-species-2cd9340f.js';
|
|
33
32
|
import './_object-pie-133f504a.js';
|
|
34
33
|
import './_object-sap-7cee6f84.js';
|
|
35
34
|
import './define-property-5f1bda73.js';
|
|
36
35
|
import './typeof-e9fc0c5d.js';
|
|
37
36
|
import './_is-array-8d21b9e3.js';
|
|
37
|
+
import './events-6c3a7a63.js';
|
|
38
38
|
import 'prop-types';
|
|
39
39
|
import 'react-dom';
|
|
40
40
|
import './slicedToArray-6ebcbfea.js';
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { N as NavFooter } from './NavFooter-3272e9cd.js';
|
|
4
4
|
import { S as SocialNavFooter } from './index.esm-07c37a92.js';
|
|
5
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
5
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-165b4ae7.js';
|
|
6
6
|
import 'react-bootstrap/Form';
|
|
7
7
|
import 'react-bootstrap/FormControl';
|
|
8
8
|
import 'react-bootstrap/Button';
|
|
@@ -14,7 +14,7 @@ import Navbar from 'react-bootstrap/Navbar';
|
|
|
14
14
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
15
15
|
import { M as MdEmail } from './index.esm-9b042655.js';
|
|
16
16
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
17
|
-
import { m as main_43, c as main_44 } from './main-
|
|
17
|
+
import { m as main_43, c as main_44 } from './main-1894c974.js';
|
|
18
18
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
19
19
|
import './web.dom.iterable-ab4dea5c.js';
|
|
20
20
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -22,9 +22,8 @@ import './react-social-icons-9be47857.js';
|
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import './iconBase-ccc56b97.js';
|
|
24
24
|
import './SocialIcons.js';
|
|
25
|
-
import './asyncToGenerator-
|
|
25
|
+
import './asyncToGenerator-958ef5fc.js';
|
|
26
26
|
import './_library-528f1934.js';
|
|
27
|
-
import './_set-species-2cd9340f.js';
|
|
28
27
|
import './_iter-detect-98db3b07.js';
|
|
29
28
|
|
|
30
29
|
var HamMagazine = function HamMagazine(props) {
|
package/dist/esm/Header.js
CHANGED
|
@@ -1,15 +1,40 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import Head from 'next/head';
|
|
3
|
+
import urlFor from '@mjhls/mjh-framework/dist/cjs/urlFor';
|
|
3
4
|
|
|
4
5
|
var Header = function Header(props) {
|
|
5
6
|
var title = props.title,
|
|
6
7
|
keyword = props.keyword,
|
|
7
8
|
description = props.description,
|
|
8
9
|
isLiveSite = props.isLiveSite,
|
|
9
|
-
canonicalUrl = props.canonicalUrl
|
|
10
|
+
canonicalUrl = props.canonicalUrl,
|
|
11
|
+
addOpenGraph = props.addOpenGraph,
|
|
12
|
+
docGroup = props.docGroup,
|
|
13
|
+
client = props.client;
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
return React__default.createElement(
|
|
15
|
+
console.log('Header props', props);
|
|
16
|
+
return addOpenGraph && docGroup ? React__default.createElement(
|
|
17
|
+
Head,
|
|
18
|
+
null,
|
|
19
|
+
title && React__default.createElement(
|
|
20
|
+
'title',
|
|
21
|
+
null,
|
|
22
|
+
title
|
|
23
|
+
),
|
|
24
|
+
keyword && React__default.createElement('meta', { name: 'keywords', content: keyword }),
|
|
25
|
+
description && React__default.createElement('meta', { name: 'description', content: description, key: 'description' }),
|
|
26
|
+
!isLiveSite && React__default.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
27
|
+
canonicalUrl && React__default.createElement('link', { rel: 'canonical', href: canonicalUrl, key: 'canonical' }),
|
|
28
|
+
React__default.createElement('meta', { name: 'twitter:card', content: 'summary' }),
|
|
29
|
+
React__default.createElement('meta', { name: 'twitter:title', content: docGroup.name }),
|
|
30
|
+
React__default.createElement('meta', { name: 'twitter:site', content: '@cancernetwrk' }),
|
|
31
|
+
React__default.createElement('meta', { name: 'twitter:image', content: urlFor({ client: client, source: docGroup.thumbnail, imageHeight: 630, imageWidth: 1200, imageMaxHeight: null, imageFit: null }) }),
|
|
32
|
+
React__default.createElement('meta', { name: 'twitter:description', content: docGroup.description[0].children[0].text }),
|
|
33
|
+
React__default.createElement('meta', { property: 'og:title', content: docGroup.name }),
|
|
34
|
+
React__default.createElement('meta', { property: 'og:site_name', content: 'Cancer Network' }),
|
|
35
|
+
React__default.createElement('meta', { property: 'og:url', content: 'https://www.cancernetwork.com' + props.url }),
|
|
36
|
+
React__default.createElement('meta', { property: 'og:image', content: urlFor({ client: client, source: docGroup.thumbnail, imageHeight: 630, imageWidth: 1200, imageMaxHeight: null, imageFit: null }) })
|
|
37
|
+
) : React__default.createElement(
|
|
13
38
|
Head,
|
|
14
39
|
null,
|
|
15
40
|
title && React__default.createElement(
|
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-6f8a75dd.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -17,17 +17,17 @@ import 'prop-types';
|
|
|
17
17
|
import './smoothscroll-fa4e3f8c.js';
|
|
18
18
|
import './urlFor.js';
|
|
19
19
|
import './index-3f5c03b2.js';
|
|
20
|
-
import './main-
|
|
20
|
+
import './main-1894c974.js';
|
|
21
21
|
import './iconBase-ccc56b97.js';
|
|
22
22
|
import 'react-bootstrap';
|
|
23
|
-
import './index-
|
|
23
|
+
import './index-f0fc23eb.js';
|
|
24
|
+
import './events-6c3a7a63.js';
|
|
24
25
|
import 'next/router';
|
|
25
26
|
import './util-8ed16d48.js';
|
|
26
27
|
import './Beam.js';
|
|
27
28
|
import './stringify-2b084bee.js';
|
|
28
|
-
import './asyncToGenerator-
|
|
29
|
+
import './asyncToGenerator-958ef5fc.js';
|
|
29
30
|
import './_library-528f1934.js';
|
|
30
|
-
import './_set-species-2cd9340f.js';
|
|
31
31
|
import './_iter-detect-98db3b07.js';
|
|
32
32
|
import './Segment.js';
|
|
33
33
|
import './urlForFile-b69adffc.js';
|