@mjhls/mjh-framework 1.0.1050-lightbox-v2 → 1.0.1050-lightbox-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.
Files changed (33) hide show
  1. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  2. package/dist/cjs/ExternalResources.js +1 -1
  3. package/dist/cjs/HorizontalArticleListing.js +1 -1
  4. package/dist/cjs/IssueLanding.js +1 -1
  5. package/dist/cjs/{MediaSeriesCard-8ed9c173.js → MediaSeriesCard-5b3bb56b.js} +1 -1
  6. package/dist/cjs/MediaSeriesLanding.js +2 -2
  7. package/dist/cjs/MediaSeriesLandingPaginated.js +2 -2
  8. package/dist/cjs/PartnerDetailListing.js +1 -1
  9. package/dist/cjs/PartnerDetailListingPaginated.js +1 -1
  10. package/dist/cjs/PodcastsLanding.js +2 -2
  11. package/dist/cjs/TaxonomyDescription.js +1 -1
  12. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  13. package/dist/cjs/View.js +1 -1
  14. package/dist/cjs/getSerializers.js +1 -1
  15. package/dist/cjs/{index-a3c5ff75.js → index-1141e009.js} +9 -7
  16. package/dist/cjs/index.js +1 -1
  17. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  18. package/dist/esm/ExternalResources.js +1 -1
  19. package/dist/esm/HorizontalArticleListing.js +1 -1
  20. package/dist/esm/IssueLanding.js +1 -1
  21. package/dist/esm/{MediaSeriesCard-8868ab0e.js → MediaSeriesCard-e68d9d03.js} +1 -1
  22. package/dist/esm/MediaSeriesLanding.js +2 -2
  23. package/dist/esm/MediaSeriesLandingPaginated.js +2 -2
  24. package/dist/esm/PartnerDetailListing.js +1 -1
  25. package/dist/esm/PartnerDetailListingPaginated.js +1 -1
  26. package/dist/esm/PodcastsLanding.js +2 -2
  27. package/dist/esm/TaxonomyDescription.js +1 -1
  28. package/dist/esm/VideoProgramLandingPage.js +1 -1
  29. package/dist/esm/View.js +1 -1
  30. package/dist/esm/getSerializers.js +1 -1
  31. package/dist/esm/{index-92ba8276.js → index-cb1754b5.js} +9 -7
  32. package/dist/esm/index.js +1 -1
  33. package/package.json +1 -1
@@ -5,7 +5,7 @@ var slicedToArray = require('./slicedToArray-067dd3bc.js');
5
5
  var _extends = require('./extends-be0d85bc.js');
6
6
  var React = require('react');
7
7
  var BlockContent = require('./BlockContent-96b44364.js');
8
- var getSerializers = require('./index-a3c5ff75.js');
8
+ var getSerializers = require('./index-1141e009.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-be0d85bc.js');
4
4
  var slicedToArray = require('./slicedToArray-067dd3bc.js');
5
5
  var React = require('react');
6
6
  var BlockContent = require('./BlockContent-96b44364.js');
7
- var getSerializers = require('./index-a3c5ff75.js');
7
+ var getSerializers = require('./index-1141e009.js');
8
8
  var index = require('./index-96c331fd.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-d81454e7.js');
7
7
  var BlockContent = require('./BlockContent-96b44364.js');
8
- var getSerializers = require('./index-a3c5ff75.js');
8
+ var getSerializers = require('./index-1141e009.js');
9
9
  require('./_commonjsHelpers-06173234.js');
10
10
  require('./core.get-iterator-method-5643aa10.js');
11
11
  require('./YoutubeGroup.js');
@@ -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-96b44364.js');
8
- var getSerializers = require('./index-a3c5ff75.js');
8
+ var getSerializers = require('./index-1141e009.js');
9
9
  require('./_commonjsHelpers-06173234.js');
10
10
  require('./core.get-iterator-method-5643aa10.js');
11
11
  require('./slicedToArray-067dd3bc.js');
@@ -7,7 +7,7 @@ var urlFor = require('./urlFor.js');
7
7
  var moment = require('./moment-aca40de1.js');
8
8
  var styleInject_es = require('./style-inject.es-dcee06b6.js');
9
9
  var BlockContent = require('./BlockContent-96b44364.js');
10
- var getSerializers = require('./index-a3c5ff75.js');
10
+ var getSerializers = require('./index-1141e009.js');
11
11
 
12
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
13
 
@@ -10,9 +10,9 @@ require('./index-9ec837cc.js');
10
10
  require('react-dom');
11
11
  var Link = require('next/link');
12
12
  var MasterDeck = require('./MasterDeck.js');
13
- var MediaSeriesCard = require('./MediaSeriesCard-8ed9c173.js');
13
+ var MediaSeriesCard = require('./MediaSeriesCard-5b3bb56b.js');
14
14
  var BlockContent = require('./BlockContent-96b44364.js');
15
- var getSerializers = require('./index-a3c5ff75.js');
15
+ var getSerializers = require('./index-1141e009.js');
16
16
  require('./_commonjsHelpers-06173234.js');
17
17
  require('./core.get-iterator-method-5643aa10.js');
18
18
  require('./web.dom.iterable-d98303e0.js');
@@ -11,8 +11,8 @@ require('react-dom');
11
11
  var Link = require('next/link');
12
12
  var BlockContent = require('./BlockContent-96b44364.js');
13
13
  var MasterDeckPaginated = require('./MasterDeckPaginated.js');
14
- var MediaSeriesCard = require('./MediaSeriesCard-8ed9c173.js');
15
- var getSerializers = require('./index-a3c5ff75.js');
14
+ var MediaSeriesCard = require('./MediaSeriesCard-5b3bb56b.js');
15
+ var getSerializers = require('./index-1141e009.js');
16
16
  require('./_commonjsHelpers-06173234.js');
17
17
  require('./core.get-iterator-method-5643aa10.js');
18
18
  require('./web.dom.iterable-d98303e0.js');
@@ -12,7 +12,7 @@ var QueueDeckExpanded = require('./QueueDeckExpanded.js');
12
12
  var Breadcrumbs = require('./Breadcrumbs.js');
13
13
  var Feature = require('./Feature.js');
14
14
  var urlFor = require('./urlFor.js');
15
- var getSerializers = require('./index-a3c5ff75.js');
15
+ var getSerializers = require('./index-1141e009.js');
16
16
  var BlockContent = require('./BlockContent-96b44364.js');
17
17
  var checkSisterSite = require('./checkSisterSite-c3a4ac98.js');
18
18
  require('./_commonjsHelpers-06173234.js');
@@ -12,7 +12,7 @@ var QueueDeckExpandedPaginated = require('./QueueDeckExpandedPaginated.js');
12
12
  var Breadcrumbs = require('./Breadcrumbs.js');
13
13
  var Feature = require('./Feature.js');
14
14
  var urlFor = require('./urlFor.js');
15
- var getSerializers = require('./index-a3c5ff75.js');
15
+ var getSerializers = require('./index-1141e009.js');
16
16
  var BlockContent = require('./BlockContent-96b44364.js');
17
17
  var checkSisterSite = require('./checkSisterSite-c3a4ac98.js');
18
18
  require('./_commonjsHelpers-06173234.js');
@@ -6,9 +6,9 @@ var slicedToArray = require('./slicedToArray-067dd3bc.js');
6
6
  var React = require('react');
7
7
  var Link = require('next/link');
8
8
  var MasterDeck = require('./MasterDeck.js');
9
- var MediaSeriesCard = require('./MediaSeriesCard-8ed9c173.js');
9
+ var MediaSeriesCard = require('./MediaSeriesCard-5b3bb56b.js');
10
10
  var BlockContent = require('./BlockContent-96b44364.js');
11
- var getSerializers = require('./index-a3c5ff75.js');
11
+ var getSerializers = require('./index-1141e009.js');
12
12
  require('./_commonjsHelpers-06173234.js');
13
13
  require('./core.get-iterator-method-5643aa10.js');
14
14
  require('./web.dom.iterable-d98303e0.js');
@@ -7,7 +7,7 @@ var React = require('react');
7
7
  var Router = require('next/router');
8
8
  var Head = require('next/head');
9
9
  var BlockContent = require('./BlockContent-96b44364.js');
10
- var getSerializers = require('./index-a3c5ff75.js');
10
+ var getSerializers = require('./index-1141e009.js');
11
11
  require('./_commonjsHelpers-06173234.js');
12
12
  require('./core.get-iterator-method-5643aa10.js');
13
13
  require('./web.dom.iterable-d98303e0.js');
@@ -7,7 +7,7 @@ var BlockContent = require('./BlockContent-96b44364.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-a3c5ff75.js');
10
+ var getSerializers = require('./index-1141e009.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-56020df6.js');
19
19
  var SocialShare = require('./SocialShare.js');
20
- var getSerializers = require('./index-a3c5ff75.js');
20
+ var getSerializers = require('./index-1141e009.js');
21
21
  var AdSlot = require('./AdSlot.js');
22
22
  var SeriesSlider = require('./SeriesSlider-c7ed509b.js');
23
23
  var getTargeting = require('./getTargeting-45ffbee8.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('react');
4
- var getSerializers = require('./index-a3c5ff75.js');
4
+ var getSerializers = require('./index-1141e009.js');
5
5
  require('./BlockContent-96b44364.js');
6
6
  require('./entities-df1aed86.js');
7
7
  require('./slicedToArray-067dd3bc.js');
@@ -9470,11 +9470,12 @@ var ArticleSeries = function ArticleSeries(_ref) {
9470
9470
  var LightBox = function LightBox(_ref) {
9471
9471
  var showLightbox = _ref.showLightbox,
9472
9472
  lightboxImgSrc = _ref.lightboxImgSrc,
9473
- closeLightbox = _ref.closeLightbox;
9473
+ closeLightbox = _ref.closeLightbox,
9474
+ disableLightBox = _ref.disableLightBox;
9474
9475
 
9475
9476
  var lightboxImage = React.useRef(null);
9476
9477
  var lightboxContainer = React.useRef(null);
9477
-
9478
+ console.log('disableLightBox lightbox', disableLightBox);
9478
9479
  var handleClickOutside = React.useCallback(function (event) {
9479
9480
  if (lightboxImage.current && !lightboxImage.current.contains(event.target) && lightboxContainer.current && lightboxContainer.current.className.includes('open')) {
9480
9481
  closeLightbox();
@@ -9490,8 +9491,7 @@ var LightBox = function LightBox(_ref) {
9490
9491
 
9491
9492
  return React__default["default"].createElement(
9492
9493
  'div',
9493
- { ref: lightboxContainer, className: 'lightbox-target ' + (disableLightBox && showLightbox ? 'open' : 'close') },
9494
- console.log("disableLightBox", disableLightBox),
9494
+ { ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
9495
9495
  React__default["default"].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
9496
9496
  React__default["default"].createElement(
9497
9497
  'style',
@@ -9545,7 +9545,6 @@ var FigureComponent = function FigureComponent(props) {
9545
9545
  lightboxImgSrc = _useState4[0],
9546
9546
  setLightboxImgSrc = _useState4[1];
9547
9547
 
9548
- console.log("props", props);
9549
9548
  if (typeof window === 'undefined') return null;
9550
9549
 
9551
9550
  var node = props.node,
@@ -9565,8 +9564,10 @@ var FigureComponent = function FigureComponent(props) {
9565
9564
  _node$class_name = node.class_name,
9566
9565
  class_name = _node$class_name === undefined ? 'd-block' : _node$class_name,
9567
9566
  _node$disableTextWrap = node.disableTextWrap,
9568
- disableTextWrap = _node$disableTextWrap === undefined ? false : _node$disableTextWrap;
9569
- node.disableLightBox;
9567
+ disableTextWrap = _node$disableTextWrap === undefined ? false : _node$disableTextWrap,
9568
+ disableLightBox = node.disableLightBox;
9569
+
9570
+ console.log("disableLightBox FigureComponent node===>", node, "disableLightBox==>", disableLightBox);
9570
9571
  var _node$widthP = node.widthP,
9571
9572
  widthP = _node$widthP === undefined ? 'auto' : _node$widthP;
9572
9573
 
@@ -9722,6 +9723,7 @@ var FigureComponent = function FigureComponent(props) {
9722
9723
  React__default["default"].createElement(LightBox, {
9723
9724
  showLightbox: showLightbox,
9724
9725
  lightboxImgSrc: lightboxImgSrc,
9726
+ disableLightBox: disableLightBox,
9725
9727
  closeLightbox: function closeLightbox() {
9726
9728
  setLightboxImgSrc('');
9727
9729
  setShowLightbox(false);
package/dist/cjs/index.js CHANGED
@@ -90,7 +90,7 @@ var VerticalHero = require('./VerticalHero.js');
90
90
  var YahooHero = require('./YahooHero.js');
91
91
  var GridHero = require('./GridHero.js');
92
92
  var ConferenceArticleCard = require('./ConferenceArticleCard.js');
93
- var getSerializers = require('./index-a3c5ff75.js');
93
+ var getSerializers = require('./index-1141e009.js');
94
94
  var Beam = require('./Beam.js');
95
95
  var Segment = require('./Segment.js');
96
96
  var KMTracker = require('./KMTracker.js');
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-1559c147.js';
4
4
  import React__default from 'react';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-92ba8276.js';
6
+ import { g as getSerializers } from './index-cb1754b5.js';
7
7
  import ArticleSeriesListing from './ArticleSeriesListing.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './core.get-iterator-method-ea258bb1.js';
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-1559c147.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
4
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
- import { g as getSerializers } from './index-92ba8276.js';
5
+ import { g as getSerializers } from './index-cb1754b5.js';
6
6
  import { m as momentTimezone } from './index-30a6257d.js';
7
7
  import { useRouter } from 'next/router';
8
8
  import Button from 'react-bootstrap/Button';
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import ArticleCarousel from './ArticleCarousel.js';
4
4
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-92ba8276.js';
6
+ import { g as getSerializers } from './index-cb1754b5.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './YoutubeGroup.js';
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import QueueDeckExpanded from './QueueDeckExpanded.js';
4
4
  import Breadcrumbs from './Breadcrumbs.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-92ba8276.js';
6
+ import { g as getSerializers } from './index-cb1754b5.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './slicedToArray-6ebcbfea.js';
@@ -5,7 +5,7 @@ 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 { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-92ba8276.js';
8
+ import { g as getSerializers } from './index-cb1754b5.js';
9
9
 
10
10
  var css = ".MediaSeriesCard-module_article__SAFYK {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.MediaSeriesCard-module_article__SAFYK a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU {\r\n width: 25%;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_published__E4oiz {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_summary__1xanh {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR {\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR span {\r\n color: #6d6d6d;\r\n}\r\n.MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1.3rem;\r\n font-weight: bold;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .MediaSeriesCard-module_article__SAFYK {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .MediaSeriesCard-module_article__SAFYK a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU figure {\r\n margin: 0;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o {\r\n width: 90%;\r\n padding: 0rem !important;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o h2 {\r\n font-size: 1rem;\r\n }\r\n .MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1rem;\r\n \r\n }\r\n}\r\n";
11
11
  var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
@@ -8,9 +8,9 @@ import './index-0ce54f8a.js';
8
8
  import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import MasterDeck from './MasterDeck.js';
11
- import { M as MediaSeriesCard } from './MediaSeriesCard-8868ab0e.js';
11
+ import { M as MediaSeriesCard } from './MediaSeriesCard-e68d9d03.js';
12
12
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
13
- import { g as getSerializers } from './index-92ba8276.js';
13
+ import { g as getSerializers } from './index-cb1754b5.js';
14
14
  import './_commonjsHelpers-0c4b6f40.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
@@ -9,8 +9,8 @@ import 'react-dom';
9
9
  import Link from 'next/link';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
11
  import MasterDeck from './MasterDeckPaginated.js';
12
- import { M as MediaSeriesCard } from './MediaSeriesCard-8868ab0e.js';
13
- import { g as getSerializers } from './index-92ba8276.js';
12
+ import { M as MediaSeriesCard } from './MediaSeriesCard-e68d9d03.js';
13
+ import { g as getSerializers } from './index-cb1754b5.js';
14
14
  import './_commonjsHelpers-0c4b6f40.js';
15
15
  import './core.get-iterator-method-ea258bb1.js';
16
16
  import './web.dom.iterable-ab4dea5c.js';
@@ -10,7 +10,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
10
10
  import Breadcrumbs from './Breadcrumbs.js';
11
11
  import Feature from './Feature.js';
12
12
  import urlFor from './urlFor.js';
13
- import { g as getSerializers } from './index-92ba8276.js';
13
+ import { g as getSerializers } from './index-cb1754b5.js';
14
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
15
15
  import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
@@ -10,7 +10,7 @@ import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
10
10
  import Breadcrumbs from './Breadcrumbs.js';
11
11
  import Feature from './Feature.js';
12
12
  import urlFor from './urlFor.js';
13
- import { g as getSerializers } from './index-92ba8276.js';
13
+ import { g as getSerializers } from './index-cb1754b5.js';
14
14
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
15
15
  import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
@@ -4,9 +4,9 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
4
4
  import React__default, { useState } from 'react';
5
5
  import Link from 'next/link';
6
6
  import MasterDeck from './MasterDeck.js';
7
- import { M as MediaSeriesCard } from './MediaSeriesCard-8868ab0e.js';
7
+ import { M as MediaSeriesCard } from './MediaSeriesCard-e68d9d03.js';
8
8
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
9
- import { g as getSerializers } from './index-92ba8276.js';
9
+ import { g as getSerializers } from './index-cb1754b5.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
12
12
  import './web.dom.iterable-ab4dea5c.js';
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import Head from 'next/head';
7
7
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-92ba8276.js';
8
+ import { g as getSerializers } from './index-cb1754b5.js';
9
9
  import './_commonjsHelpers-0c4b6f40.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
11
11
  import './web.dom.iterable-ab4dea5c.js';
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.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-92ba8276.js';
8
+ import { g as getSerializers } from './index-cb1754b5.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.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-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-92ba8276.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-cb1754b5.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
20
  import { S as SeriesSlider } from './SeriesSlider-b467f00c.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-a569a9cc.js';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-92ba8276.js';
2
+ export { g as default } from './index-cb1754b5.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -9450,11 +9450,12 @@ var ArticleSeries = function ArticleSeries(_ref) {
9450
9450
  var LightBox = function LightBox(_ref) {
9451
9451
  var showLightbox = _ref.showLightbox,
9452
9452
  lightboxImgSrc = _ref.lightboxImgSrc,
9453
- closeLightbox = _ref.closeLightbox;
9453
+ closeLightbox = _ref.closeLightbox,
9454
+ disableLightBox = _ref.disableLightBox;
9454
9455
 
9455
9456
  var lightboxImage = useRef(null);
9456
9457
  var lightboxContainer = useRef(null);
9457
-
9458
+ console.log('disableLightBox lightbox', disableLightBox);
9458
9459
  var handleClickOutside = useCallback(function (event) {
9459
9460
  if (lightboxImage.current && !lightboxImage.current.contains(event.target) && lightboxContainer.current && lightboxContainer.current.className.includes('open')) {
9460
9461
  closeLightbox();
@@ -9470,8 +9471,7 @@ var LightBox = function LightBox(_ref) {
9470
9471
 
9471
9472
  return React__default.createElement(
9472
9473
  'div',
9473
- { ref: lightboxContainer, className: 'lightbox-target ' + (disableLightBox && showLightbox ? 'open' : 'close') },
9474
- console.log("disableLightBox", disableLightBox),
9474
+ { ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
9475
9475
  React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
9476
9476
  React__default.createElement(
9477
9477
  'style',
@@ -9525,7 +9525,6 @@ var FigureComponent = function FigureComponent(props) {
9525
9525
  lightboxImgSrc = _useState4[0],
9526
9526
  setLightboxImgSrc = _useState4[1];
9527
9527
 
9528
- console.log("props", props);
9529
9528
  if (typeof window === 'undefined') return null;
9530
9529
 
9531
9530
  var node = props.node,
@@ -9545,8 +9544,10 @@ var FigureComponent = function FigureComponent(props) {
9545
9544
  _node$class_name = node.class_name,
9546
9545
  class_name = _node$class_name === undefined ? 'd-block' : _node$class_name,
9547
9546
  _node$disableTextWrap = node.disableTextWrap,
9548
- disableTextWrap = _node$disableTextWrap === undefined ? false : _node$disableTextWrap;
9549
- node.disableLightBox;
9547
+ disableTextWrap = _node$disableTextWrap === undefined ? false : _node$disableTextWrap,
9548
+ disableLightBox = node.disableLightBox;
9549
+
9550
+ console.log("disableLightBox FigureComponent node===>", node, "disableLightBox==>", disableLightBox);
9550
9551
  var _node$widthP = node.widthP,
9551
9552
  widthP = _node$widthP === undefined ? 'auto' : _node$widthP;
9552
9553
 
@@ -9702,6 +9703,7 @@ var FigureComponent = function FigureComponent(props) {
9702
9703
  React__default.createElement(LightBox, {
9703
9704
  showLightbox: showLightbox,
9704
9705
  lightboxImgSrc: lightboxImgSrc,
9706
+ disableLightBox: disableLightBox,
9705
9707
  closeLightbox: function closeLightbox() {
9706
9708
  setLightboxImgSrc('');
9707
9709
  setShowLightbox(false);
package/dist/esm/index.js CHANGED
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
87
87
  export { default as YahooHero } from './YahooHero.js';
88
88
  export { default as GridHero } from './GridHero.js';
89
89
  export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
90
- export { g as getSerializers } from './index-92ba8276.js';
90
+ export { g as getSerializers } from './index-cb1754b5.js';
91
91
  export { default as Beam } from './Beam.js';
92
92
  export { default as Segment } from './Segment.js';
93
93
  export { default as KMTracker } from './KMTracker.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.1050-lightbox-v2",
3
+ "version": "1.0.1050-lightbox-v4",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",