@mjhls/mjh-framework 1.0.866 → 1.0.867
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 +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +10 -11
- package/dist/cjs/AD300x250x600.js +10 -11
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +10 -11
- package/dist/cjs/ADFooter.js +3 -5
- package/dist/cjs/ADGutter.js +10 -11
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-7d13830e.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +10 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +10 -11
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-d9dbfadc.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -7
- package/dist/cjs/AdSlot.js +10 -11
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlgoliaSearch.js +14105 -24
- package/dist/cjs/AlphabeticList.js +6 -8
- package/dist/cjs/ArticleCarousel.js +5 -7
- package/dist/cjs/ArticleProgramLandingPage.js +20 -21
- package/dist/cjs/ArticleSeriesLandingPage.js +18 -19
- package/dist/cjs/ArticleSeriesListing.js +14 -15
- package/dist/cjs/Auth.js +7 -9
- package/dist/cjs/AuthWrapper.js +4 -6
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/Breadcrumbs.js +3 -5
- package/dist/cjs/CMEDeck.js +10 -11
- package/dist/cjs/Column2.js +6 -8
- package/dist/cjs/Column3.js +12 -13
- package/dist/cjs/ConferenceArticleCard.js +18 -15
- package/dist/cjs/DeckContent.js +25 -26
- package/dist/cjs/DeckQueue.js +14 -14
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-9be904d5.js} +5 -6
- package/dist/cjs/EventsDeck.js +30 -32
- package/dist/cjs/ExternalResources.js +20 -21
- package/dist/cjs/Feature.js +5 -2
- package/dist/cjs/ForbesHero.js +4 -6
- package/dist/cjs/GridContent.js +19 -20
- package/dist/cjs/GridHero.js +4 -6
- package/dist/cjs/GroupDeck.js +5 -7
- package/dist/cjs/HamMagazine.js +20 -22
- package/dist/cjs/Hero.js +4 -1
- package/dist/cjs/HorizontalArticleListing.js +20 -21
- package/dist/cjs/HorizontalHero.js +5 -2
- package/dist/cjs/IssueContentDeck.js +4 -6
- package/dist/cjs/IssueDeck.js +6 -8
- package/dist/cjs/IssueLanding.js +52 -53
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +10 -11
- package/dist/cjs/MasterDeck.js +26 -27
- package/dist/cjs/MediaSeriesLanding.js +320 -422
- package/dist/cjs/NavDvm.js +5 -7
- package/dist/cjs/NavMagazine.js +21 -23
- package/dist/cjs/NavNative.js +17 -19
- package/dist/cjs/OncliveHero.js +5 -2
- package/dist/cjs/OncliveLargeHero.js +4 -6
- package/dist/cjs/PageFilter.js +3 -5
- package/dist/cjs/PartnerDetailListing.js +23 -24
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +3 -5
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +5 -7
- package/dist/cjs/PublicationDeck.js +3 -0
- package/dist/cjs/PublicationLanding.js +61 -63
- package/dist/cjs/QueueDeckExpanded.js +14 -15
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +31 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +3 -5
- package/dist/cjs/Segment.js +4 -6
- package/dist/cjs/SeriesListingDeck.js +10 -11
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-ce3261cb.js} +6 -6
- package/dist/cjs/SideFooter.js +8 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-a4ae7b88.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +4 -2
- package/dist/cjs/TaxonomyDescription.js +20 -21
- package/dist/cjs/TemplateNormal.js +17 -18
- package/dist/cjs/ThumbnailCard.js +4 -1
- package/dist/cjs/Ustream.js +10 -12
- package/dist/cjs/VerticalHero.js +3 -0
- package/dist/cjs/VideoProgramLandingPage.js +20 -21
- package/dist/cjs/VideoSeriesCard.js +6 -6
- package/dist/cjs/VideoSeriesFilter.js +5 -7
- package/dist/cjs/VideoSeriesLandingPage.js +18 -19
- package/dist/cjs/VideoSeriesListing.js +14 -15
- package/dist/cjs/View.js +25 -26
- package/dist/cjs/YahooHero.js +4 -6
- package/dist/cjs/YoutubeGroup.js +8 -10
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-54228b29.js} +9 -9
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-b1df62f0.js} +6 -7
- package/dist/cjs/_object-sap-d1978572.js +16 -0
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-ce86cae7.js} +4 -4
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-77821af0.js} +65 -67
- package/dist/cjs/{_to-object-6de10e57.js → core.get-iterator-method-5643aa10.js} +248 -12
- package/dist/cjs/{define-property-c88be878.js → define-property-e8404b64.js} +3 -3
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-7c86182f.js} +8 -8
- package/dist/cjs/faundadb.js +4 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +4 -6
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +20 -21
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-9d509319.js} +11 -11
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-32097c80.js → index-ad4e6a69.js} +42 -21
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +32 -33
- package/dist/cjs/{inherits-c2065b95.js → inherits-de66ea16.js} +13 -14
- package/dist/cjs/{keys-7f2c2108.js → keys-e982b3fa.js} +4 -4
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-067dd3bc.js} +7 -9
- package/dist/cjs/{stringify-c9ac1214.js → stringify-f7a37a8d.js} +2 -2
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-d7797c2b.js} +8 -10
- package/dist/cjs/{typeof-88a668c5.js → typeof-567e31ff.js} +73 -74
- package/dist/cjs/urlFor.js +18 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-d98303e0.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -15
- package/dist/esm/AD300x250x600.js +14 -15
- package/dist/esm/AD728x90.js +15 -16
- package/dist/esm/ADFloatingFooter.js +17 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +17 -18
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-0cbd7bed.js} +6 -6
- package/dist/esm/ADSkyscraper.js +17 -18
- package/dist/esm/ADSponsoredResources.js +17 -18
- package/dist/esm/ADWebcast.js +17 -18
- package/dist/esm/ADWelcome.js +21 -22
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-2d1a52d9.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -23
- package/dist/esm/AdSlot.js +13 -14
- package/dist/esm/AdSlotsProvider.js +10 -11
- package/dist/esm/AlgoliaSearch.js +14127 -46
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +10 -12
- package/dist/esm/ArticleProgramLandingPage.js +32 -33
- package/dist/esm/ArticleSeriesLandingPage.js +26 -27
- package/dist/esm/ArticleSeriesListing.js +41 -42
- package/dist/esm/Auth.js +77 -79
- package/dist/esm/AuthWrapper.js +29 -31
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +69 -70
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -20
- package/dist/esm/Column3.js +33 -34
- package/dist/esm/ConferenceArticleCard.js +31 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +71 -72
- package/dist/esm/DeckQueue.js +54 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-4ca12f2e.js} +14 -15
- package/dist/esm/EventsDeck.js +91 -93
- package/dist/esm/ExternalResources.js +50 -51
- package/dist/esm/Feature.js +19 -16
- package/dist/esm/ForbesHero.js +29 -31
- package/dist/esm/GridContent.js +138 -139
- package/dist/esm/GridHero.js +30 -32
- package/dist/esm/GroupDeck.js +39 -41
- package/dist/esm/HamMagazine.js +100 -102
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +23 -20
- package/dist/esm/IssueContentDeck.js +42 -44
- package/dist/esm/IssueDeck.js +39 -41
- package/dist/esm/IssueLanding.js +66 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +24 -25
- package/dist/esm/MasterDeck.js +60 -61
- package/dist/esm/MediaSeriesLanding.js +347 -449
- package/dist/esm/NavDvm.js +48 -50
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -106
- package/dist/esm/NavNative.js +91 -93
- package/dist/esm/OncliveHero.js +17 -14
- package/dist/esm/OncliveLargeHero.js +53 -55
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +81 -82
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +23 -24
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +36 -33
- package/dist/esm/PublicationLanding.js +83 -85
- package/dist/esm/QueueDeckExpanded.js +255 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +46 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -10
- package/dist/esm/Segment.js +4 -6
- package/dist/esm/SeriesListingDeck.js +26 -27
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-485f514e.js} +24 -24
- package/dist/esm/SideFooter.js +27 -29
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-41b6b480.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +39 -37
- package/dist/esm/TaxonomyDescription.js +28 -29
- package/dist/esm/TemplateNormal.js +39 -40
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +14 -11
- package/dist/esm/VideoProgramLandingPage.js +39 -40
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +26 -27
- package/dist/esm/VideoSeriesListing.js +57 -58
- package/dist/esm/View.js +189 -190
- package/dist/esm/YahooHero.js +26 -28
- package/dist/esm/YoutubeGroup.js +35 -37
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-f089461c.js} +1 -2
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-b4dfe691.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{_to-object-b50e61c3.js → core.get-iterator-method-e903ff31.js} +239 -10
- package/dist/esm/{define-property-fe54dc9f.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -6
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +4 -6
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -24
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +5 -7
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-5e84f9cd.js → index-61397130.js} +452 -431
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +56 -57
- package/dist/esm/{inherits-a41fe93f.js → inherits-8a801a18.js} +4 -5
- package/dist/esm/{keys-7a3adabf.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-ca2c8b8d.js} +2 -4
- package/dist/esm/{stringify-59c8f690.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-7b1c0e23.js} +2 -4
- package/dist/esm/{typeof-a286cf0c.js → typeof-83d9eb10.js} +3 -4
- package/dist/esm/urlFor.js +18 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-fdf034f5.js} +1 -2
- package/package.json +111 -111
- package/dist/cjs/_object-sap-a175b4a9.js +0 -16
- package/dist/cjs/core.get-iterator-method-f474eacc.js +0 -39
- package/dist/cjs/es6.string.iterator-c2573ffd.js +0 -210
- package/dist/esm/core.get-iterator-method-133dfacd.js +0 -36
- package/dist/esm/es6.string.iterator-bc33758b.js +0 -201
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
6
|
-
import { L as LazyLoad } from './index-
|
|
5
|
+
import { A as AuthorComponent } from './AuthorComponent-46a745ba.js';
|
|
6
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
9
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
10
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
8
11
|
import './index-0dbff1d1.js';
|
|
9
|
-
import './slicedToArray-be2f7a22.js';
|
|
10
|
-
import './web.dom.iterable-4109ff68.js';
|
|
11
|
-
import './es6.string.iterator-bc33758b.js';
|
|
12
|
-
import './_to-object-b50e61c3.js';
|
|
13
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
14
12
|
import 'react-dom';
|
|
15
13
|
import 'prop-types';
|
|
16
14
|
|
|
@@ -31,35 +29,35 @@ var YahooHero = function YahooHero(props) {
|
|
|
31
29
|
topArticleThumbnail = props.thumbnail;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
|
-
return
|
|
32
|
+
return React.createElement(
|
|
35
33
|
'div',
|
|
36
34
|
{ className: 'article-hero' },
|
|
37
|
-
|
|
35
|
+
React.createElement(
|
|
38
36
|
'a',
|
|
39
37
|
{ href: '/view/' + topArticle.url.current },
|
|
40
|
-
|
|
38
|
+
React.createElement(
|
|
41
39
|
'div',
|
|
42
40
|
{ className: 'yh-top-article' },
|
|
43
|
-
|
|
41
|
+
React.createElement(
|
|
44
42
|
'div',
|
|
45
43
|
{ className: 'yh-top-article--img' },
|
|
46
|
-
|
|
44
|
+
React.createElement('img', { src: topArticleThumbnail, alt: topArticleAltText })
|
|
47
45
|
),
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
React.createElement('div', { className: 'yh-top-article--blur' }),
|
|
47
|
+
React.createElement(
|
|
50
48
|
'div',
|
|
51
49
|
{ className: 'yh-top-article--body' },
|
|
52
|
-
|
|
50
|
+
React.createElement(
|
|
53
51
|
'h1',
|
|
54
52
|
null,
|
|
55
53
|
topArticle.title
|
|
56
54
|
),
|
|
57
|
-
|
|
55
|
+
React.createElement(
|
|
58
56
|
'p',
|
|
59
57
|
null,
|
|
60
58
|
moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
61
59
|
),
|
|
62
|
-
|
|
60
|
+
React.createElement(
|
|
63
61
|
'p',
|
|
64
62
|
null,
|
|
65
63
|
clean_html_1(topArticle.summary)
|
|
@@ -67,7 +65,7 @@ var YahooHero = function YahooHero(props) {
|
|
|
67
65
|
)
|
|
68
66
|
)
|
|
69
67
|
),
|
|
70
|
-
|
|
68
|
+
React.createElement(
|
|
71
69
|
'div',
|
|
72
70
|
{ className: 'yh-sub-article-container' },
|
|
73
71
|
subArticles.map(function (article, index) {
|
|
@@ -81,37 +79,37 @@ var YahooHero = function YahooHero(props) {
|
|
|
81
79
|
articleThumbnail = props.thumbnail;
|
|
82
80
|
}
|
|
83
81
|
|
|
84
|
-
return
|
|
82
|
+
return React.createElement(
|
|
85
83
|
'div',
|
|
86
84
|
{ key: index, className: 'yh-sub-article' },
|
|
87
|
-
|
|
85
|
+
React.createElement(
|
|
88
86
|
'a',
|
|
89
87
|
{ href: '/view/' + article.url.current },
|
|
90
|
-
|
|
88
|
+
React.createElement('img', { src: articleThumbnail })
|
|
91
89
|
),
|
|
92
|
-
|
|
90
|
+
React.createElement(
|
|
93
91
|
'a',
|
|
94
92
|
{ href: '/view/' + article.url.current },
|
|
95
|
-
|
|
93
|
+
React.createElement(
|
|
96
94
|
'h6',
|
|
97
95
|
{ className: 'yh-sub-article--title' },
|
|
98
96
|
article.title
|
|
99
97
|
)
|
|
100
98
|
),
|
|
101
|
-
|
|
99
|
+
React.createElement(
|
|
102
100
|
'p',
|
|
103
101
|
{ className: 'yh-sub-article--info' },
|
|
104
102
|
moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
105
103
|
),
|
|
106
|
-
article.authorMapping && article.authorMapping.length > 0 &&
|
|
104
|
+
article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
107
105
|
LazyLoad,
|
|
108
106
|
{ height: 50 },
|
|
109
|
-
|
|
107
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
110
108
|
)
|
|
111
109
|
);
|
|
112
110
|
})
|
|
113
111
|
),
|
|
114
|
-
|
|
112
|
+
React.createElement(
|
|
115
113
|
'style',
|
|
116
114
|
{ jsx: 'true' },
|
|
117
115
|
'\n .article-hero{\n padding-bottom:15px\n }\n .yh-top-article {\n display: flex;\n flex-direction: row;\n position: relative;\n font-family: Roboto, sans-serif;\n margin-bottom: 1rem;\n border-radius: 15px;\n overflow: hidden;\n min-height: 315px;\n }\n .yh-top-article--img {\n width: 100%;\n min-height: 240px;\n overflow: hidden;\n }\n .yh-top-article--img img {\n width: 100%;\n height: auto;\n min-height: 100%;\n max-height: 615px;\n object-fit: cover;\n }\n .yh-top-article--body {\n height: 100%;\n width: 40%;\n min-width: 320px;\n right: 0;\n position: absolute;\n color: white;\n padding: 1.75rem;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n }\n .yh-top-article--body h1 {\n color: white!important;\n font-size: 1.4rem;\n font-weight: 500;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--body p {\n font-size: 0.9rem;\n margin-bottom: 0.5rem;\n }\n .yh-top-article--blur {\n height: 100%;\n width: 40%;\n right: 0;\n position: absolute;\n filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));\n background: rgba(0,0,0,.65);\n min-width: 320px;\n }\n .yh-sub-article-container {\n display: flex;\n justify-content: space-between;\n }\n .yh-sub-article {\n width: 23.25%;\n }\n .yh-sub-article p.yh-sub-article--title {\n font-weight: bold;\n }\n .yh-sub-article img {\n width: 100%;\n max-height: 150px;\n object-fit: cover;\n border-radius: 15px;\n }\n .yh-sub-article img[src=\'' + props.thumbnail + '\']{\n object-fit: contain;\n }\n .yh-sub-article--title {\n font-weight: bold;\n margin-top: .25rem;\n font-size: 1rem;\n margin-bottom: .25rem;\n }\n .yh-sub-article--info {\n font-size: .8rem;\n margin-bottom: 0;\n\n }\n @media screen and (max-width: 968px) {\n .yh-sub-article-container {\n flex-wrap: wrap;\n }\n .yh-sub-article {\n width: 48%;\n margin-bottom: 1rem;\n }\n }\n '
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
2
|
-
import
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
+
import React, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
4
|
-
import { L as LazyLoad } from './index-
|
|
4
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-b5c5aac1.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
|
-
import './web.dom.iterable-
|
|
10
|
-
import './
|
|
11
|
-
import './_to-object-b50e61c3.js';
|
|
12
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
10
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
13
11
|
import 'react-dom';
|
|
14
12
|
import 'prop-types';
|
|
15
13
|
import './index-0dbff1d1.js';
|
|
16
14
|
|
|
17
|
-
/*
|
|
18
|
-
GROQ query -
|
|
19
|
-
accepts an array of title, URL
|
|
20
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
15
|
+
/*
|
|
16
|
+
GROQ query -
|
|
17
|
+
accepts an array of title, URL
|
|
18
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
21
19
|
*/
|
|
22
20
|
|
|
23
21
|
var YoutubeGroup = function YoutubeGroup(props) {
|
|
@@ -191,13 +189,13 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
191
189
|
displayEpisodeNumber = _props$displayEpisode === undefined ? false : _props$displayEpisode;
|
|
192
190
|
|
|
193
191
|
|
|
194
|
-
return
|
|
192
|
+
return React.createElement(
|
|
195
193
|
'div',
|
|
196
194
|
{ ref: viewableWindow, id: 'vid-slider', style: { maxWidth: '100%' }, className: 'col' },
|
|
197
|
-
|
|
195
|
+
React.createElement(
|
|
198
196
|
'div',
|
|
199
197
|
{ ref: viewableArea, className: 'row', style: { display: 'flex', alignItems: 'center' } },
|
|
200
|
-
showScroller && showScroller &&
|
|
198
|
+
showScroller && showScroller && React.createElement(
|
|
201
199
|
'div',
|
|
202
200
|
{
|
|
203
201
|
onClick: function onClick(e) {
|
|
@@ -211,9 +209,9 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
211
209
|
borderRadius: '50%',
|
|
212
210
|
paddingLeft: '19px'
|
|
213
211
|
} },
|
|
214
|
-
|
|
212
|
+
React.createElement('i', { style: { border: 'solid #fff', borderWidth: '0 4px 4px 0', marginLeft: '3px' }, className: 'arrow left' })
|
|
215
213
|
),
|
|
216
|
-
showScroller && showScroller &&
|
|
214
|
+
showScroller && showScroller && React.createElement(
|
|
217
215
|
'div',
|
|
218
216
|
{
|
|
219
217
|
onClick: function onClick(e) {
|
|
@@ -227,9 +225,9 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
227
225
|
borderRadius: '50%',
|
|
228
226
|
paddingRight: '19px'
|
|
229
227
|
} },
|
|
230
|
-
|
|
228
|
+
React.createElement('i', { style: { border: 'solid #fff', borderWidth: '0 4px 4px 0', marginRight: '3px' }, className: 'arrow right' })
|
|
231
229
|
),
|
|
232
|
-
|
|
230
|
+
React.createElement(
|
|
233
231
|
'div',
|
|
234
232
|
{ ref: innerSlider, className: 'row__inner' },
|
|
235
233
|
props.dataset && props.dataset.map(function (video, index) {
|
|
@@ -245,37 +243,37 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
245
243
|
thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
|
|
246
244
|
}
|
|
247
245
|
|
|
248
|
-
return
|
|
246
|
+
return React.createElement(
|
|
249
247
|
'div',
|
|
250
248
|
{ ref: function ref(ele) {
|
|
251
249
|
return tileArray.current[index] = ele;
|
|
252
250
|
}, key: index, className: 'tile', style: { flex: '0 0 ' + tileSize + 'px', width: tileSize + 'px' } },
|
|
253
|
-
current && current === url ?
|
|
251
|
+
current && current === url ? React.createElement(
|
|
254
252
|
'div',
|
|
255
253
|
{ className: 'now-playing' },
|
|
256
254
|
'Now Playing'
|
|
257
255
|
) : '',
|
|
258
|
-
|
|
256
|
+
React.createElement(
|
|
259
257
|
'a',
|
|
260
258
|
{ onClick: function onClick() {
|
|
261
259
|
return handleClick(url, index + 1);
|
|
262
260
|
} },
|
|
263
|
-
|
|
261
|
+
React.createElement(
|
|
264
262
|
'div',
|
|
265
263
|
{ className: 'tile__media', style: { width: tileSize + 'px', height: tileHeight + 'px' } },
|
|
266
|
-
|
|
264
|
+
React.createElement(
|
|
267
265
|
LazyLoad,
|
|
268
266
|
null,
|
|
269
|
-
|
|
267
|
+
React.createElement('img', { className: 'tile__img', style: { width: tileSize + 'px', height: tileHeight + 'px' }, src: thumbnail, alt: '' })
|
|
270
268
|
)
|
|
271
269
|
),
|
|
272
|
-
|
|
270
|
+
React.createElement(
|
|
273
271
|
'div',
|
|
274
272
|
{ style: { color: variant }, className: 'tile__title' },
|
|
275
|
-
displayEpisodeNumber ?
|
|
273
|
+
displayEpisodeNumber ? React.createElement(
|
|
276
274
|
'span',
|
|
277
275
|
null,
|
|
278
|
-
|
|
276
|
+
React.createElement(
|
|
279
277
|
'b',
|
|
280
278
|
{ style: { marginLeft: '.25rem', display: 'inline-block' } },
|
|
281
279
|
'EP. ',
|
|
@@ -297,30 +295,30 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
297
295
|
} else {
|
|
298
296
|
_thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
|
|
299
297
|
}
|
|
300
|
-
return
|
|
298
|
+
return React.createElement(
|
|
301
299
|
'div',
|
|
302
300
|
{ ref: function ref(ele) {
|
|
303
301
|
return tileArray.current[index] = ele;
|
|
304
302
|
}, key: index, style: { flex: '0 0 ' + tileSize + 'px', width: tileSize + 'px' }, className: 'tile' },
|
|
305
|
-
|
|
303
|
+
React.createElement(
|
|
306
304
|
'a',
|
|
307
305
|
{ href: _url },
|
|
308
|
-
|
|
306
|
+
React.createElement(
|
|
309
307
|
'div',
|
|
310
308
|
{ className: 'tile__media', style: { width: tileSize + 'px', height: tileHeight + 'px' } },
|
|
311
|
-
|
|
309
|
+
React.createElement(
|
|
312
310
|
LazyLoad,
|
|
313
311
|
null,
|
|
314
|
-
|
|
312
|
+
React.createElement('img', { className: 'tile__img', src: _thumbnail, style: { width: tileSize + 'px', height: tileHeight + 'px' }, alt: '' })
|
|
315
313
|
)
|
|
316
314
|
),
|
|
317
|
-
|
|
315
|
+
React.createElement(
|
|
318
316
|
'div',
|
|
319
317
|
{ style: { color: variant }, className: 'tile__title' },
|
|
320
|
-
displayEpisodeNumber ?
|
|
318
|
+
displayEpisodeNumber ? React.createElement(
|
|
321
319
|
'span',
|
|
322
320
|
null,
|
|
323
|
-
|
|
321
|
+
React.createElement(
|
|
324
322
|
'b',
|
|
325
323
|
{ style: { marginLeft: '.25rem', display: 'inline-block' } },
|
|
326
324
|
'EP. ',
|
|
@@ -337,7 +335,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
337
335
|
})
|
|
338
336
|
)
|
|
339
337
|
),
|
|
340
|
-
|
|
338
|
+
React.createElement(
|
|
341
339
|
'style',
|
|
342
340
|
{ jsx: 'true' },
|
|
343
341
|
'\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n }\n #vid-slider.col {\n padding: 0 2.5rem;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n flex-wrap: nowrap;\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: normal;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n #vid-slider .tile:first-child {\n margin-left: 0;\n }\n #vid-slider .tile__img {\n height: auto;\n\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n }\n\n #vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (main_42 ? '0.75rem' : '0.9rem') + ';\n font-weight: normal;\n transition: opacity 0.25s;\n -webkit-font-smoothing: antialiased;\n }\n\n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: black;\n background: var(--primary);\n border: none;\n position: absolute;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: 1rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n padding-right: 0 1.2rem;\n }\n\n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n }\n #vid-slider .tile__img {\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n #vid-slider .tile__img {\n }\n }\n\n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n\n #vid-slider .tile__img {\n }\n #vid-slider .row__inner {\n margin-top: 1.5rem !important;\n }\n }\n\n @media screen and (max-width: 590px) {\n #vid-slider .tile__img {\n }\n }\n '
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
2
|
+
import { D as _uid, m as _fails, b as _isObject, B as _has, g as _objectDp, G as _cof } from './core.get-iterator-method-e903ff31.js';
|
|
3
3
|
|
|
4
4
|
var _meta = createCommonjsModule(function (module) {
|
|
5
5
|
var META = _uid('meta');
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as _wks, f as _iterators } from './es6.string.iterator-bc33758b.js';
|
|
1
|
+
import { v as _anObject, h as _wks, F as _iterators } from './core.get-iterator-method-e903ff31.js';
|
|
3
2
|
|
|
4
3
|
// call something on iterator step with safe closing on error
|
|
5
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as _toIobject, t as _objectKeys, e as _descriptors } from './core.get-iterator-method-e903ff31.js';
|
|
2
2
|
import { a as _objectPie } from './_object-pie-133f504a.js';
|
|
3
3
|
|
|
4
4
|
var isEnum = _objectPie.f;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import './web.dom.iterable-
|
|
2
|
+
import { s as core_getIteratorMethod, d as _ctx, k as _toLength, v as _anObject, h as _wks, q as _aFunction, l as _global, G as _cof, H as _domCreate, I as _html, b as _isObject, n as _hide, a as _core, e as _descriptors, g as _objectDp, p as _classof, _ as _export, o as _setToStringTag } from './core.get-iterator-method-e903ff31.js';
|
|
3
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
4
4
|
import { _ as _library } from './_library-528f1934.js';
|
|
5
|
-
import {
|
|
6
|
-
import { c as core_getIteratorMethod, _ as _classof } from './core.get-iterator-method-133dfacd.js';
|
|
7
|
-
import { a as _isArrayIter, b as _iterCall, _ as _iterDetect } from './_iter-detect-7e5e5ce2.js';
|
|
5
|
+
import { a as _isArrayIter, b as _iterCall, _ as _iterDetect } from './_iter-detect-f089461c.js';
|
|
8
6
|
|
|
9
7
|
var runtime = createCommonjsModule(function (module) {
|
|
10
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
|
|
4
4
|
var slice = Array.prototype.slice;
|
|
@@ -2217,10 +2217,10 @@ function (_React$Component) {
|
|
|
2217
2217
|
ref: this.setRefNode
|
|
2218
2218
|
});
|
|
2219
2219
|
|
|
2220
|
-
return
|
|
2220
|
+
return React.createElement('div', props);
|
|
2221
2221
|
};
|
|
2222
2222
|
|
|
2223
2223
|
return ReactPlayerLoader;
|
|
2224
|
-
}(
|
|
2224
|
+
}(React.Component);
|
|
2225
2225
|
|
|
2226
2226
|
export { ReactPlayerLoader as R };
|