@mjhls/mjh-framework 1.0.817-image-crop-test-v2 → 1.0.817-image-crop-test-v4
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/AlgoliaSearch.js +2 -2
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +2 -2
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +2 -2
- package/dist/cjs/DeckContent.js +2 -2
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/ExternalResources.js +2 -2
- package/dist/cjs/Feature.js +2 -2
- package/dist/cjs/ForbesHero.js +4 -4
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridHero.js +8 -6
- package/dist/cjs/GroupDeck.js +3 -3
- package/dist/cjs/Hero.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +2 -2
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueContentDeck.js +3 -3
- package/dist/cjs/IssueDeck.js +2 -2
- package/dist/cjs/IssueLanding.js +2 -2
- package/dist/cjs/MediaSeriesLanding.js +3 -3
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +5 -5
- package/dist/cjs/PartnerDetailListing.js +5 -5
- package/dist/cjs/PubSection.js +1 -1
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/RelatedContent.js +2 -2
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-8c157166.js → SeriesSlider-d54fa925.js} +2 -2
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +2 -2
- package/dist/cjs/ThumbnailCard.js +2 -2
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoProgramLandingPage.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +2 -2
- package/dist/cjs/VideoSeriesLandingPage.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/View.js +10 -10
- package/dist/cjs/YahooHero.js +4 -4
- package/dist/cjs/YoutubeGroup.js +3 -3
- package/dist/cjs/getSerializers.js +2 -2
- package/dist/cjs/{index-8543a68a.js → index-55c6de08.js} +23 -23
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/urlFor.js +34 -2
- package/dist/esm/AlgoliaSearch.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +2 -2
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/ExternalResources.js +2 -2
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +2 -2
- package/dist/esm/GridContent.js +1 -1
- package/dist/esm/GridHero.js +7 -5
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +2 -2
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +2 -2
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +2 -2
- package/dist/esm/PubSection.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-bfd7299d.js → SeriesSlider-8f2aca58.js} +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +2 -2
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +2 -2
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +4 -4
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getSerializers.js +2 -2
- package/dist/esm/{index-d1638f9e.js → index-e8c6a892.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/urlFor.js +34 -2
- package/package.json +1 -1
- package/dist/cjs/urlForV2.js +0 -35
- package/dist/esm/urlForV2.js +0 -33
|
@@ -29,7 +29,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
29
29
|
import './index-c7e2ac95.js';
|
|
30
30
|
import './index-35bdcc81.js';
|
|
31
31
|
import './smoothscroll-fa4e3f8c.js';
|
|
32
|
-
import './
|
|
32
|
+
import './urlFor.js';
|
|
33
33
|
import './index-0dbff1d1.js';
|
|
34
34
|
import './main-b5c5aac1.js';
|
|
35
35
|
import './isSymbol-a7e9aafe.js';
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -12,7 +12,7 @@ import { withRouter } from 'next/router';
|
|
|
12
12
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
13
13
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
14
14
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
15
|
-
import urlFor from './
|
|
15
|
+
import urlFor from './urlFor.js';
|
|
16
16
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
17
17
|
import { m as main_43 } from './main-b5c5aac1.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -14,7 +14,7 @@ import { L as LazyLoad } from './index-35bdcc81.js';
|
|
|
14
14
|
import { g as get_1 } from './get-3c308da4.js';
|
|
15
15
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
16
16
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
17
|
-
import urlFor from './
|
|
17
|
+
import urlFor from './urlFor.js';
|
|
18
18
|
import { m as main_43 } from './main-b5c5aac1.js';
|
|
19
19
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-60e0e1c6.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
3
|
import React, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-e8c6a892.js';
|
|
6
6
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -15,7 +15,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
15
15
|
import 'prop-types';
|
|
16
16
|
import './index-0dbff1d1.js';
|
|
17
17
|
import 'react-bootstrap';
|
|
18
|
-
import './
|
|
18
|
+
import './urlFor.js';
|
|
19
19
|
import './index-2446af28.js';
|
|
20
20
|
import './events-6c3a7a63.js';
|
|
21
21
|
import './index-c7e2ac95.js';
|
package/dist/esm/Feature.js
CHANGED
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
5
5
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -125,7 +125,7 @@ var fbsHero = function fbsHero(props) {
|
|
|
125
125
|
React.createElement(
|
|
126
126
|
'style',
|
|
127
127
|
{ jsx: 'true' },
|
|
128
|
-
'\n .author-wrapper {\n text-align: center;\n }\n .article-hero {\n margin-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n padding-bottom: 0.5rem;\n }\n .fbs-top-article {\n width: 100%;\n margin-bottom: 1rem;\n padding-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n }\n .fbs-top-article img {\n width: 100%;\n\n max-height:
|
|
128
|
+
'\n .author-wrapper {\n text-align: center;\n }\n .article-hero {\n margin-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n padding-bottom: 0.5rem;\n }\n .fbs-top-article {\n width: 100%;\n margin-bottom: 1rem;\n padding-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n }\n .fbs-top-article img {\n width: 100%;\n\n max-height: 400px;\n min-height: 275px;\n object-fit: cover;\n }\n\n .fbs-top-article--body {\n }\n .fbs-top-article--body h1 {\n color: #252525 !important;\n font-size: 1.6rem;\n font-weight: bold;\n text-align: center;\n margin-top: 1rem;\n }\n .fbs-top-article--body p {\n text-align: center;\n margin-bottom: 0;\n color: #252525;\n }\n .fbs-top-article--body p:first-of-type {\n font-size: 0.9rem;\n }\n .fbs-sub-article-container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n padding-top: 1.75rem;\n margin-left: -1rem;\n margin-rigth: -1rem;\n }\n .fbs-sub-article {\n width: calc(50% - 2rem);\n min-width: 350px;\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0 1rem 1.75rem;\n }\n .fbs-sub-article img {\n margin-right: 1rem;\n width: 145px;\n min-width: 145px;\n max-height: 100px;\n object-fit: cover;\n }\n .fbs-sub-article p {\n margin-bottom: 0;\n font-size: 0.8rem;\n color: #252525;\n }\n .fbs-sub-article .fbs-sub-article--title {\n font-weight: bold;\n font-size: 1rem;\n color: #252525;\n }\n '
|
|
129
129
|
)
|
|
130
130
|
);
|
|
131
131
|
};
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -19,7 +19,7 @@ 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-c6222053.js';
|
|
22
|
-
import urlFor from './
|
|
22
|
+
import urlFor from './urlFor.js';
|
|
23
23
|
import { m as main_43 } from './main-b5c5aac1.js';
|
|
24
24
|
import './AD.js';
|
|
25
25
|
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
5
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
6
6
|
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
@@ -20,9 +20,11 @@ var GridHero = function GridHero(props) {
|
|
|
20
20
|
|
|
21
21
|
var client = props.client,
|
|
22
22
|
_props$topWidth = props.topWidth,
|
|
23
|
-
topWidth = _props$topWidth === undefined ? 600 : _props$topWidth
|
|
24
|
-
props.subWidth
|
|
25
|
-
|
|
23
|
+
topWidth = _props$topWidth === undefined ? 600 : _props$topWidth,
|
|
24
|
+
_props$subWidth = props.subWidth,
|
|
25
|
+
subWidth = _props$subWidth === undefined ? 480 : _props$subWidth,
|
|
26
|
+
_props$subHeight = props.subHeight,
|
|
27
|
+
subHeight = _props$subHeight === undefined ? 270 : _props$subHeight;
|
|
26
28
|
|
|
27
29
|
|
|
28
30
|
var topArticleThumbnail = '';
|
|
@@ -85,7 +87,7 @@ var GridHero = function GridHero(props) {
|
|
|
85
87
|
var articleThumbnail = '';
|
|
86
88
|
var articleAltText = article.title;
|
|
87
89
|
if (article.thumbnail && article.thumbnail.asset) {
|
|
88
|
-
articleThumbnail = urlFor(article.thumbnail.asset);
|
|
90
|
+
articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: subWidth, imageHeight: subHeight });
|
|
89
91
|
articleAltText = article.thumbnail.asset.originalFileName;
|
|
90
92
|
} else if (props.thumbnail) {
|
|
91
93
|
articleThumbnail = props.thumbnail;
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
|
3
3
|
import React, { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
|
-
import urlFor from './
|
|
6
|
+
import urlFor from './urlFor.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './es6.string.iterator-bc33758b.js';
|
|
9
9
|
import './_to-object-b50e61c3.js';
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Card } from 'react-bootstrap';
|
|
3
|
-
import urlFor from './
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
5
|
import './index-0dbff1d1.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-e8c6a892.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './_to-object-b50e61c3.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -20,7 +20,7 @@ import './index-35bdcc81.js';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import 'prop-types';
|
|
22
22
|
import './smoothscroll-fa4e3f8c.js';
|
|
23
|
-
import './
|
|
23
|
+
import './urlFor.js';
|
|
24
24
|
import './index-0dbff1d1.js';
|
|
25
25
|
import './main-b5c5aac1.js';
|
|
26
26
|
import './iconBase-602d52fe.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
5
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
6
|
import './index-0dbff1d1.js';
|
|
@@ -4,7 +4,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
4
4
|
import Card from 'react-bootstrap/Card';
|
|
5
5
|
import Badge from 'react-bootstrap/Badge';
|
|
6
6
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
7
|
-
import urlFor from './
|
|
7
|
+
import urlFor from './urlFor.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -7,7 +7,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
8
|
import Card from 'react-bootstrap/Card';
|
|
9
9
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
10
|
-
import urlFor from './
|
|
10
|
+
import urlFor from './urlFor.js';
|
|
11
11
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
12
12
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
13
|
import './es6.string.iterator-bc33758b.js';
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-e8c6a892.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './_to-object-b50e61c3.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -14,7 +14,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
14
14
|
import './toConsumableArray-6d9a4616.js';
|
|
15
15
|
import './_iter-detect-7e5e5ce2.js';
|
|
16
16
|
import 'react-bootstrap';
|
|
17
|
-
import './
|
|
17
|
+
import './urlFor.js';
|
|
18
18
|
import './index-0dbff1d1.js';
|
|
19
19
|
import './index.es-c6222053.js';
|
|
20
20
|
import './moment-bc12cb97.js';
|
|
@@ -11,11 +11,11 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
|
|
|
11
11
|
import Link from 'next/link';
|
|
12
12
|
import MasterDeck from './MasterDeck.js';
|
|
13
13
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
14
|
-
import urlFor from './
|
|
14
|
+
import urlFor from './urlFor.js';
|
|
15
15
|
import { m as moment } from './moment-bc12cb97.js';
|
|
16
16
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
17
17
|
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
18
|
-
import { g as getSerializers } from './index-
|
|
18
|
+
import { g as getSerializers } from './index-e8c6a892.js';
|
|
19
19
|
import './define-property-fe54dc9f.js';
|
|
20
20
|
import './_to-object-b50e61c3.js';
|
|
21
21
|
import './es6.string.iterator-bc33758b.js';
|
package/dist/esm/OncliveHero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
5
|
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
6
6
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
@@ -4,12 +4,12 @@ import { _ as _extends } from './extends-60e0e1c6.js';
|
|
|
4
4
|
import React, { useRef, useState, useEffect } from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
6
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
7
|
-
import urlFor from './
|
|
7
|
+
import urlFor from './urlFor.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
10
10
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
11
|
import Feature from './Feature.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-e8c6a892.js';
|
|
13
13
|
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
14
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
15
|
import './es6.string.iterator-bc33758b.js';
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -13,7 +13,7 @@ import './_iter-detect-7e5e5ce2.js';
|
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import './toConsumableArray-6d9a4616.js';
|
|
15
15
|
import 'react-bootstrap';
|
|
16
|
-
import './
|
|
16
|
+
import './urlFor.js';
|
|
17
17
|
import './index-0dbff1d1.js';
|
|
18
18
|
import './index.es-c6222053.js';
|
|
19
19
|
import './moment-bc12cb97.js';
|
|
@@ -4,7 +4,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
4
4
|
import Button from 'react-bootstrap/Button';
|
|
5
5
|
import Card from 'react-bootstrap/Card';
|
|
6
6
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
7
|
-
import urlFor from './
|
|
7
|
+
import urlFor from './urlFor.js';
|
|
8
8
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import 'react-dom';
|
|
@@ -3,7 +3,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
4
4
|
import React, { useEffect, useState, useRef } from 'react';
|
|
5
5
|
import { Container, Media } from 'react-bootstrap';
|
|
6
|
-
import urlFor from './
|
|
6
|
+
import urlFor from './urlFor.js';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import 'react-bootstrap/Media';
|
|
4
|
-
import urlFor from './
|
|
4
|
+
import urlFor from './urlFor.js';
|
|
5
5
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './index-0dbff1d1.js';
|
|
@@ -5,7 +5,7 @@ import React, { useState, useEffect, useRef } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import { l as lib_3 } from './index-2446af28.js';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
8
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
8
|
+
import { S as SeriesSlider } from './SeriesSlider-8f2aca58.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -20,7 +20,7 @@ import './index-c7e2ac95.js';
|
|
|
20
20
|
import './index-35bdcc81.js';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
import './smoothscroll-fa4e3f8c.js';
|
|
23
|
-
import './
|
|
23
|
+
import './urlFor.js';
|
|
24
24
|
import './index-0dbff1d1.js';
|
|
25
25
|
import './main-b5c5aac1.js';
|
|
26
26
|
|
|
@@ -3,7 +3,7 @@ import React, { useRef, useState, useEffect } from 'react';
|
|
|
3
3
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
4
4
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
|
-
import urlFor from './
|
|
6
|
+
import urlFor from './urlFor.js';
|
|
7
7
|
import { m as main_43, a as main_49, b as main_42 } from './main-b5c5aac1.js';
|
|
8
8
|
|
|
9
9
|
/*
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -5,7 +5,7 @@ import Container from 'react-bootstrap/Container';
|
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Card from 'react-bootstrap/Card';
|
|
8
|
-
import urlFor from './
|
|
8
|
+
import urlFor from './urlFor.js';
|
|
9
9
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
10
10
|
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
7
|
-
import { g as getSerializers } from './index-
|
|
7
|
+
import { g as getSerializers } from './index-e8c6a892.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './es6.string.iterator-bc33758b.js';
|
|
10
10
|
import './_to-object-b50e61c3.js';
|
|
@@ -17,7 +17,7 @@ import 'prop-types';
|
|
|
17
17
|
import './index-0dbff1d1.js';
|
|
18
18
|
import './slicedToArray-be2f7a22.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
|
-
import './
|
|
20
|
+
import './urlFor.js';
|
|
21
21
|
import './index-2446af28.js';
|
|
22
22
|
import './events-6c3a7a63.js';
|
|
23
23
|
import './index-c7e2ac95.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Media from 'react-bootstrap/Media';
|
|
3
|
-
import urlFor from './
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
5
5
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
6
6
|
import './index-0dbff1d1.js';
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-e8c6a892.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -19,7 +19,7 @@ import 'prop-types';
|
|
|
19
19
|
import './index-0dbff1d1.js';
|
|
20
20
|
import './slicedToArray-be2f7a22.js';
|
|
21
21
|
import 'react-bootstrap';
|
|
22
|
-
import './
|
|
22
|
+
import './urlFor.js';
|
|
23
23
|
import './index-2446af28.js';
|
|
24
24
|
import './events-6c3a7a63.js';
|
|
25
25
|
import 'next/router';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
4
|
-
import urlFor from './
|
|
4
|
+
import urlFor from './urlFor.js';
|
|
5
5
|
import { m as moment } from './moment-bc12cb97.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'prop-types';
|
|
@@ -29,7 +29,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
29
29
|
import './index-c7e2ac95.js';
|
|
30
30
|
import './index-35bdcc81.js';
|
|
31
31
|
import './smoothscroll-fa4e3f8c.js';
|
|
32
|
-
import './
|
|
32
|
+
import './urlFor.js';
|
|
33
33
|
import './index-0dbff1d1.js';
|
|
34
34
|
import './main-b5c5aac1.js';
|
|
35
35
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -254,7 +254,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
254
254
|
_createClass(VideoSeriesListing, [{
|
|
255
255
|
key: 'componentDidMount',
|
|
256
256
|
value: function componentDidMount() {
|
|
257
|
-
console.log(this.state)
|
|
257
|
+
// console.log(this.state)
|
|
258
258
|
}
|
|
259
259
|
}, {
|
|
260
260
|
key: 'render',
|
package/dist/esm/View.js
CHANGED
|
@@ -15,12 +15,12 @@ import FormControl from 'react-bootstrap/FormControl';
|
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-e8c6a892.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-8f2aca58.js';
|
|
21
21
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-68291ce9.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
|
-
import urlFor from './
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
24
|
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
25
25
|
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
26
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -235,7 +235,7 @@ var ISI = function ISI(props) {
|
|
|
235
235
|
var article_body = document.getElementById('article__block');
|
|
236
236
|
var isi = document.getElementById('isi');
|
|
237
237
|
var articleBottomPosition = article_body.getBoundingClientRect().bottom - window.innerHeight;
|
|
238
|
-
console.log(articleBottomPosition, bottomOfArticle)
|
|
238
|
+
// console.log(articleBottomPosition, bottomOfArticle)
|
|
239
239
|
if (articleBottomPosition < 30 && !isi.classList.contains('in-view')) {
|
|
240
240
|
setbottomOfArticle(true);
|
|
241
241
|
}
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
5
|
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
6
6
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
@@ -114,7 +114,7 @@ var YahooHero = function YahooHero(props) {
|
|
|
114
114
|
React.createElement(
|
|
115
115
|
'style',
|
|
116
116
|
{ jsx: 'true' },
|
|
117
|
-
'\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:
|
|
117
|
+
'\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 height: 315px;\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 '
|
|
118
118
|
)
|
|
119
119
|
);
|
|
120
120
|
};
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -4,7 +4,7 @@ import React, { useRef, useState, useEffect } from 'react';
|
|
|
4
4
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
5
5
|
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
6
6
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
7
|
-
import urlFor from './
|
|
7
|
+
import urlFor from './urlFor.js';
|
|
8
8
|
import { m as main_43, a as main_49, b as main_42 } from './main-b5c5aac1.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-e8c6a892.js';
|
|
3
3
|
import './BlockContent-52cf21c5.js';
|
|
4
4
|
import './entities-932b50cf.js';
|
|
5
5
|
import './slicedToArray-be2f7a22.js';
|
|
@@ -9,7 +9,7 @@ import './es6.string.iterator-bc33758b.js';
|
|
|
9
9
|
import './_to-object-b50e61c3.js';
|
|
10
10
|
import './core.get-iterator-method-133dfacd.js';
|
|
11
11
|
import 'react-bootstrap';
|
|
12
|
-
import './
|
|
12
|
+
import './urlFor.js';
|
|
13
13
|
import './index-0dbff1d1.js';
|
|
14
14
|
import './index-2446af28.js';
|
|
15
15
|
import './events-6c3a7a63.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
2
2
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
|
|
3
3
|
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
|
|
4
|
-
import urlFor from './
|
|
4
|
+
import urlFor from './urlFor.js';
|
|
5
5
|
import { l as lib_3 } from './index-2446af28.js';
|
|
6
6
|
import Router, { useRouter } from 'next/router';
|
|
7
7
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -49,8 +49,8 @@ export { default as ADSkyscraper } from './ADSkyscraper.js';
|
|
|
49
49
|
export { default as Search } from './Search.js';
|
|
50
50
|
export { default as Feature } from './Feature.js';
|
|
51
51
|
import React from 'react';
|
|
52
|
-
import urlFor from './
|
|
53
|
-
export { default as urlFor } from './
|
|
52
|
+
import urlFor from './urlFor.js';
|
|
53
|
+
export { default as urlFor } from './urlFor.js';
|
|
54
54
|
import Row from 'react-bootstrap/Row';
|
|
55
55
|
import Col from 'react-bootstrap/Col';
|
|
56
56
|
import 'react-bootstrap/Badge';
|
|
@@ -80,7 +80,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
80
80
|
export { default as YahooHero } from './YahooHero.js';
|
|
81
81
|
export { default as GridHero } from './GridHero.js';
|
|
82
82
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
83
|
-
export { g as getSerializers } from './index-
|
|
83
|
+
export { g as getSerializers } from './index-e8c6a892.js';
|
|
84
84
|
export { default as Beam } from './Beam.js';
|
|
85
85
|
export { default as Segment } from './Segment.js';
|
|
86
86
|
export { default as KMTracker } from './KMTracker.js';
|
|
@@ -186,7 +186,7 @@ import 'swr';
|
|
|
186
186
|
import 'passport-local';
|
|
187
187
|
import 'mysql';
|
|
188
188
|
import './md5-4e42248e.js';
|
|
189
|
-
import './SeriesSlider-
|
|
189
|
+
import './SeriesSlider-8f2aca58.js';
|
|
190
190
|
import './style-inject.es-1f59c1d0.js';
|
|
191
191
|
import 'disqus-react';
|
|
192
192
|
import 'react-twitter-embed';
|
package/dist/esm/urlFor.js
CHANGED
|
@@ -2,8 +2,40 @@ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
|
2
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
|
|
4
4
|
// Sanity image auto formating
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
|
|
6
|
+
function urlFor(_ref) {
|
|
7
|
+
var client = _ref.client,
|
|
8
|
+
source = _ref.source,
|
|
9
|
+
_ref$imageWidth = _ref.imageWidth,
|
|
10
|
+
imageWidth = _ref$imageWidth === undefined ? null : _ref$imageWidth,
|
|
11
|
+
_ref$imageHeight = _ref.imageHeight,
|
|
12
|
+
imageHeight = _ref$imageHeight === undefined ? null : _ref$imageHeight,
|
|
13
|
+
_ref$imageMaxHeight = _ref.imageMaxHeight,
|
|
14
|
+
imageMaxHeight = _ref$imageMaxHeight === undefined ? null : _ref$imageMaxHeight,
|
|
15
|
+
_ref$imageFit = _ref.imageFit,
|
|
16
|
+
imageFit = _ref$imageFit === undefined ? null : _ref$imageFit;
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
//checks for old usage so it wont break view pages
|
|
20
|
+
//All view pages are using urlFor(client, thumbnail.asset).url()
|
|
21
|
+
//will need to update to urlFor({client, source: thumbnail.asset})
|
|
22
|
+
//All framework components are using new format
|
|
23
|
+
if (arguments[1] && arguments[1]._ref) {
|
|
24
|
+
return imageUrlBuilder(client).image(source).auto('format');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if (imageWidth && imageHeight) {
|
|
28
|
+
imageMaxHeight = imageHeight;
|
|
29
|
+
imageHeight = null;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
var builder = imageUrlBuilder(client);
|
|
33
|
+
var url = builder.image(source);
|
|
34
|
+
if (imageWidth) url = url.width(imageWidth);
|
|
35
|
+
if (imageHeight) url = url.height(imageHeight);
|
|
36
|
+
if (imageMaxHeight) url = url.maxHeight(imageMaxHeight);
|
|
37
|
+
if (imageFit) url = url.fit(imageFit);
|
|
38
|
+
return url.auto('format').url();
|
|
7
39
|
}
|
|
8
40
|
|
|
9
41
|
export default urlFor;
|