@mjhls/mjh-framework 1.0.868 → 1.0.870
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/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/IssueLanding.js +1 -1
- package/dist/cjs/MediaSeriesLanding.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +1 -1
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/View.js +4 -2
- package/dist/cjs/YoutubeGroup.js +23 -4
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{index-959201d6.js → index-a13a767d.js} +2 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/IssueLanding.js +1 -1
- package/dist/esm/MediaSeriesLanding.js +1 -1
- package/dist/esm/PartnerDetailListing.js +1 -1
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/View.js +4 -2
- package/dist/esm/YoutubeGroup.js +23 -4
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-e378ff44.js → index-bd9ce1da.js} +2 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mjh-framework v. 1.0.
|
|
1
|
+
# mjh-framework v. 1.0.870
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
4
4
|
|
|
@@ -5,7 +5,7 @@ var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
|
5
5
|
var _extends = require('./extends-7c86182f.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var BlockContent = require('./BlockContent-36e54d77.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
9
9
|
var ArticleSeriesListing = require('./ArticleSeriesListing.js');
|
|
10
10
|
require('./_commonjsHelpers-06173234.js');
|
|
11
11
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -4,7 +4,7 @@ var _extends = require('./extends-7c86182f.js');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var BlockContent = require('./BlockContent-36e54d77.js');
|
|
7
|
-
var getSerializers = require('./index-
|
|
7
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
8
8
|
var index = require('./index-f86bb269.js');
|
|
9
9
|
var Router = require('next/router');
|
|
10
10
|
var Button = require('react-bootstrap/Button');
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var ArticleCarousel = require('./ArticleCarousel.js');
|
|
6
6
|
var index_esm = require('./index.esm-974f47d9.js');
|
|
7
7
|
var BlockContent = require('./BlockContent-36e54d77.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
9
9
|
require('./_commonjsHelpers-06173234.js');
|
|
10
10
|
require('./core.get-iterator-method-5643aa10.js');
|
|
11
11
|
require('./_object-pie-083f2dd6.js');
|
package/dist/cjs/IssueLanding.js
CHANGED
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
6
6
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
7
7
|
var BlockContent = require('./BlockContent-36e54d77.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
9
9
|
require('./_commonjsHelpers-06173234.js');
|
|
10
10
|
require('./core.get-iterator-method-5643aa10.js');
|
|
11
11
|
require('./_object-pie-083f2dd6.js');
|
|
@@ -17,7 +17,7 @@ var urlFor = require('./urlFor.js');
|
|
|
17
17
|
var moment = require('./moment-aca40de1.js');
|
|
18
18
|
var styleInject_es = require('./style-inject.es-dcee06b6.js');
|
|
19
19
|
var BlockContent = require('./BlockContent-36e54d77.js');
|
|
20
|
-
var getSerializers = require('./index-
|
|
20
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
21
21
|
require('./define-property-e8404b64.js');
|
|
22
22
|
require('./core.get-iterator-method-5643aa10.js');
|
|
23
23
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -13,7 +13,7 @@ var moment = require('./moment-aca40de1.js');
|
|
|
13
13
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
14
14
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
15
15
|
var Feature = require('./Feature.js');
|
|
16
|
-
var getSerializers = require('./index-
|
|
16
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
17
17
|
var BlockContent = require('./BlockContent-36e54d77.js');
|
|
18
18
|
require('./_commonjsHelpers-06173234.js');
|
|
19
19
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -6,7 +6,7 @@ var React = require('react');
|
|
|
6
6
|
var Router = require('next/router');
|
|
7
7
|
var Head = require('next/head');
|
|
8
8
|
var BlockContent = require('./BlockContent-36e54d77.js');
|
|
9
|
-
var getSerializers = require('./index-
|
|
9
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
10
10
|
require('./_commonjsHelpers-06173234.js');
|
|
11
11
|
require('./core.get-iterator-method-5643aa10.js');
|
|
12
12
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -7,7 +7,7 @@ var BlockContent = require('./BlockContent-36e54d77.js');
|
|
|
7
7
|
var Col = require('react-bootstrap/Col');
|
|
8
8
|
var Form = require('react-bootstrap/Form');
|
|
9
9
|
var Button = require('react-bootstrap/Button');
|
|
10
|
-
var getSerializers = require('./index-
|
|
10
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
11
11
|
var VideoSeriesListing = require('./VideoSeriesListing.js');
|
|
12
12
|
require('./_commonjsHelpers-06173234.js');
|
|
13
13
|
require('./core.get-iterator-method-5643aa10.js');
|
package/dist/cjs/View.js
CHANGED
|
@@ -17,7 +17,7 @@ var FormControl = require('react-bootstrap/FormControl');
|
|
|
17
17
|
var Button = require('react-bootstrap/Button');
|
|
18
18
|
var visibilitySensor = require('./visibility-sensor-eb2c5b69.js');
|
|
19
19
|
var SocialShare = require('./SocialShare.js');
|
|
20
|
-
var getSerializers = require('./index-
|
|
20
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
21
21
|
var AdSlot = require('./AdSlot.js');
|
|
22
22
|
var SeriesSlider = require('./SeriesSlider-ce3261cb.js');
|
|
23
23
|
var getTargeting = require('./getTargeting-9d509319.js');
|
|
@@ -590,6 +590,8 @@ var Article = React.forwardRef(function (props, ref) {
|
|
|
590
590
|
videoAccountIDs = props.videoAccountIDs,
|
|
591
591
|
drupalLeadSettings = props.drupalLeadSettings,
|
|
592
592
|
currentPage = props.currentPage,
|
|
593
|
+
_props$showAuthorDeta = props.showAuthorDetails,
|
|
594
|
+
showAuthorDetails = _props$showAuthorDeta === undefined ? false : _props$showAuthorDeta,
|
|
593
595
|
_props$article = props.article,
|
|
594
596
|
title = _props$article.title,
|
|
595
597
|
_props$article$passwo = _props$article.passwordLock,
|
|
@@ -1176,7 +1178,7 @@ var Article = React.forwardRef(function (props, ref) {
|
|
|
1176
1178
|
return React__default['default'].createElement(
|
|
1177
1179
|
'span',
|
|
1178
1180
|
{ key: index },
|
|
1179
|
-
getSerializers.renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
1181
|
+
getSerializers.renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }), showAuthorDetails)
|
|
1180
1182
|
);
|
|
1181
1183
|
}),
|
|
1182
1184
|
React__default['default'].createElement(
|
package/dist/cjs/YoutubeGroup.js
CHANGED
|
@@ -31,7 +31,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
31
31
|
var viewableWindow = React.useRef(null);
|
|
32
32
|
var viewableArea = React.useRef(null);
|
|
33
33
|
|
|
34
|
-
var _useState = React.useState(
|
|
34
|
+
var _useState = React.useState(200),
|
|
35
35
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
36
36
|
tileSize = _useState2[0],
|
|
37
37
|
setTileSize = _useState2[1];
|
|
@@ -266,11 +266,16 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
266
266
|
} },
|
|
267
267
|
React__default['default'].createElement(
|
|
268
268
|
'div',
|
|
269
|
-
{ className: 'tile__media', style: { width: tileSize + 'px', height: tileHeight + 'px' } },
|
|
269
|
+
{ className: 'tile__media', style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100px') } },
|
|
270
270
|
React__default['default'].createElement(
|
|
271
271
|
index$1.LazyLoad,
|
|
272
272
|
null,
|
|
273
|
-
React__default['default'].createElement('img', { className: 'tile__img', style: { width: tileSize + 'px', height: tileHeight + 'px' }, src: thumbnail, alt: '' })
|
|
273
|
+
React__default['default'].createElement('img', { className: 'tile__img', style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100px') }, src: thumbnail, alt: '' })
|
|
274
|
+
),
|
|
275
|
+
React__default['default'].createElement(
|
|
276
|
+
'noscript',
|
|
277
|
+
null,
|
|
278
|
+
React__default['default'].createElement('img', { className: 'tile__img', src: thumbnail, style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100%') }, alt: '' })
|
|
274
279
|
)
|
|
275
280
|
),
|
|
276
281
|
React__default['default'].createElement(
|
|
@@ -311,11 +316,16 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
311
316
|
{ href: _url },
|
|
312
317
|
React__default['default'].createElement(
|
|
313
318
|
'div',
|
|
314
|
-
{ className: 'tile__media', style: { width: tileSize + 'px', height: tileHeight + 'px' } },
|
|
319
|
+
{ className: 'tile__media', style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100%') } },
|
|
315
320
|
React__default['default'].createElement(
|
|
316
321
|
index$1.LazyLoad,
|
|
317
322
|
null,
|
|
318
323
|
React__default['default'].createElement('img', { className: 'tile__img', src: _thumbnail, style: { width: tileSize + 'px', height: tileHeight + 'px' }, alt: '' })
|
|
324
|
+
),
|
|
325
|
+
React__default['default'].createElement(
|
|
326
|
+
'noscript',
|
|
327
|
+
null,
|
|
328
|
+
React__default['default'].createElement('img', { className: 'tile__img', src: _thumbnail, style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100%') }, alt: '' })
|
|
319
329
|
)
|
|
320
330
|
),
|
|
321
331
|
React__default['default'].createElement(
|
|
@@ -341,6 +351,15 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
341
351
|
})
|
|
342
352
|
)
|
|
343
353
|
),
|
|
354
|
+
React__default['default'].createElement(
|
|
355
|
+
'noscript',
|
|
356
|
+
null,
|
|
357
|
+
React__default['default'].createElement(
|
|
358
|
+
'style',
|
|
359
|
+
{ jsx: 'true' },
|
|
360
|
+
'\n #vid-slider .row__inner {\n flex-wrap: wrap;\n flex-basis: 100%;\n }\n '
|
|
361
|
+
)
|
|
362
|
+
),
|
|
344
363
|
React__default['default'].createElement(
|
|
345
364
|
'style',
|
|
346
365
|
{ jsx: 'true' },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./extends-7c86182f.js');
|
|
4
4
|
require('react');
|
|
5
|
-
var getSerializers = require('./index-
|
|
5
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
6
6
|
require('./BlockContent-36e54d77.js');
|
|
7
7
|
require('./entities-3f9d0f2f.js');
|
|
8
8
|
require('./_commonjsHelpers-06173234.js');
|
|
@@ -7118,6 +7118,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7118
7118
|
var defaultUrl = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'authors';
|
|
7119
7119
|
var biography = arguments[5];
|
|
7120
7120
|
var profileImage = arguments[6];
|
|
7121
|
+
var showAuthorDetails = arguments[7];
|
|
7121
7122
|
|
|
7122
7123
|
if (authorName && authorURL) {
|
|
7123
7124
|
return React__default['default'].createElement(
|
|
@@ -7128,7 +7129,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7128
7129
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7129
7130
|
authorName
|
|
7130
7131
|
),
|
|
7131
|
-
React__default['default'].createElement(
|
|
7132
|
+
showAuthorDetails && React__default['default'].createElement(
|
|
7132
7133
|
reactBootstrap.Card,
|
|
7133
7134
|
{ className: 'author-details-card-' + index },
|
|
7134
7135
|
React__default['default'].createElement(
|
package/dist/cjs/index.js
CHANGED
|
@@ -82,7 +82,7 @@ var VerticalHero = require('./VerticalHero.js');
|
|
|
82
82
|
var YahooHero = require('./YahooHero.js');
|
|
83
83
|
var GridHero = require('./GridHero.js');
|
|
84
84
|
var ConferenceArticleCard = require('./ConferenceArticleCard.js');
|
|
85
|
-
var getSerializers = require('./index-
|
|
85
|
+
var getSerializers = require('./index-a13a767d.js');
|
|
86
86
|
var Beam = require('./Beam.js');
|
|
87
87
|
var Segment = require('./Segment.js');
|
|
88
88
|
var KMTracker = require('./KMTracker.js');
|
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-bd9ce1da.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-e903ff31.js';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-dc6a71fd.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.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-bd9ce1da.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';
|
|
@@ -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-bd9ce1da.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
import './_object-pie-133f504a.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-bd9ce1da.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -15,7 +15,7 @@ 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-bd9ce1da.js';
|
|
19
19
|
import './define-property-99e66838.js';
|
|
20
20
|
import './core.get-iterator-method-e903ff31.js';
|
|
21
21
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -11,7 +11,7 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
11
11
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
12
12
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
13
13
|
import Feature from './Feature.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-bd9ce1da.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-e903ff31.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-bd9ce1da.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-e903ff31.js';
|
|
10
10
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -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-bd9ce1da.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-e903ff31.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,7 +15,7 @@ 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-bd9ce1da.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-485f514e.js';
|
|
21
21
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-ff2c9409.js';
|
|
@@ -580,6 +580,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
580
580
|
videoAccountIDs = props.videoAccountIDs,
|
|
581
581
|
drupalLeadSettings = props.drupalLeadSettings,
|
|
582
582
|
currentPage = props.currentPage,
|
|
583
|
+
_props$showAuthorDeta = props.showAuthorDetails,
|
|
584
|
+
showAuthorDetails = _props$showAuthorDeta === undefined ? false : _props$showAuthorDeta,
|
|
583
585
|
_props$article = props.article,
|
|
584
586
|
title = _props$article.title,
|
|
585
587
|
_props$article$passwo = _props$article.passwordLock,
|
|
@@ -1166,7 +1168,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1166
1168
|
return React.createElement(
|
|
1167
1169
|
'span',
|
|
1168
1170
|
{ key: index },
|
|
1169
|
-
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
1171
|
+
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }), showAuthorDetails)
|
|
1170
1172
|
);
|
|
1171
1173
|
}),
|
|
1172
1174
|
React.createElement(
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -25,7 +25,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
25
25
|
var viewableWindow = useRef(null);
|
|
26
26
|
var viewableArea = useRef(null);
|
|
27
27
|
|
|
28
|
-
var _useState = useState(
|
|
28
|
+
var _useState = useState(200),
|
|
29
29
|
_useState2 = _slicedToArray(_useState, 2),
|
|
30
30
|
tileSize = _useState2[0],
|
|
31
31
|
setTileSize = _useState2[1];
|
|
@@ -260,11 +260,16 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
260
260
|
} },
|
|
261
261
|
React.createElement(
|
|
262
262
|
'div',
|
|
263
|
-
{ className: 'tile__media', style: { width: tileSize + 'px', height: tileHeight + 'px' } },
|
|
263
|
+
{ className: 'tile__media', style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100px') } },
|
|
264
264
|
React.createElement(
|
|
265
265
|
LazyLoad,
|
|
266
266
|
null,
|
|
267
|
-
React.createElement('img', { className: 'tile__img', style: { width: tileSize + 'px', height: tileHeight + 'px' }, src: thumbnail, alt: '' })
|
|
267
|
+
React.createElement('img', { className: 'tile__img', style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100px') }, src: thumbnail, alt: '' })
|
|
268
|
+
),
|
|
269
|
+
React.createElement(
|
|
270
|
+
'noscript',
|
|
271
|
+
null,
|
|
272
|
+
React.createElement('img', { className: 'tile__img', src: thumbnail, style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100%') }, alt: '' })
|
|
268
273
|
)
|
|
269
274
|
),
|
|
270
275
|
React.createElement(
|
|
@@ -305,11 +310,16 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
305
310
|
{ href: _url },
|
|
306
311
|
React.createElement(
|
|
307
312
|
'div',
|
|
308
|
-
{ className: 'tile__media', style: { width: tileSize + 'px', height: tileHeight + 'px' } },
|
|
313
|
+
{ className: 'tile__media', style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100%') } },
|
|
309
314
|
React.createElement(
|
|
310
315
|
LazyLoad,
|
|
311
316
|
null,
|
|
312
317
|
React.createElement('img', { className: 'tile__img', src: _thumbnail, style: { width: tileSize + 'px', height: tileHeight + 'px' }, alt: '' })
|
|
318
|
+
),
|
|
319
|
+
React.createElement(
|
|
320
|
+
'noscript',
|
|
321
|
+
null,
|
|
322
|
+
React.createElement('img', { className: 'tile__img', src: _thumbnail, style: { width: tileSize + 'px', height: '' + (tileHeight !== 0 ? tileHeight + 'px' : '100%') }, alt: '' })
|
|
313
323
|
)
|
|
314
324
|
),
|
|
315
325
|
React.createElement(
|
|
@@ -335,6 +345,15 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
335
345
|
})
|
|
336
346
|
)
|
|
337
347
|
),
|
|
348
|
+
React.createElement(
|
|
349
|
+
'noscript',
|
|
350
|
+
null,
|
|
351
|
+
React.createElement(
|
|
352
|
+
'style',
|
|
353
|
+
{ jsx: 'true' },
|
|
354
|
+
'\n #vid-slider .row__inner {\n flex-wrap: wrap;\n flex-basis: 100%;\n }\n '
|
|
355
|
+
)
|
|
356
|
+
),
|
|
338
357
|
React.createElement(
|
|
339
358
|
'style',
|
|
340
359
|
{ jsx: 'true' },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './extends-dc6a71fd.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { g as default } from './index-
|
|
3
|
+
export { g as default } from './index-bd9ce1da.js';
|
|
4
4
|
import './BlockContent-52cf21c5.js';
|
|
5
5
|
import './entities-932b50cf.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -7101,6 +7101,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7101
7101
|
var defaultUrl = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'authors';
|
|
7102
7102
|
var biography = arguments[5];
|
|
7103
7103
|
var profileImage = arguments[6];
|
|
7104
|
+
var showAuthorDetails = arguments[7];
|
|
7104
7105
|
|
|
7105
7106
|
if (authorName && authorURL) {
|
|
7106
7107
|
return React.createElement(
|
|
@@ -7111,7 +7112,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7111
7112
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7112
7113
|
authorName
|
|
7113
7114
|
),
|
|
7114
|
-
React.createElement(
|
|
7115
|
+
showAuthorDetails && React.createElement(
|
|
7115
7116
|
Card,
|
|
7116
7117
|
{ className: 'author-details-card-' + index },
|
|
7117
7118
|
React.createElement(
|
package/dist/esm/index.js
CHANGED
|
@@ -79,7 +79,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
79
79
|
export { default as YahooHero } from './YahooHero.js';
|
|
80
80
|
export { default as GridHero } from './GridHero.js';
|
|
81
81
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
82
|
-
export { g as getSerializers } from './index-
|
|
82
|
+
export { g as getSerializers } from './index-bd9ce1da.js';
|
|
83
83
|
export { default as Beam } from './Beam.js';
|
|
84
84
|
export { default as Segment } from './Segment.js';
|
|
85
85
|
export { default as KMTracker } from './KMTracker.js';
|