@mjhls/mjh-framework 1.0.285 → 1.0.286

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 CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.285
2
+ # mjh-framework v. 1.0.286
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var React__default = _interopDefault(React);
7
7
  var Card = _interopDefault(require('react-bootstrap/Card'));
8
8
  var slicedToArray = require('./slicedToArray-e38fb29d.js');
9
- var AdSlot = require('./AdSlot-1886ea26.js');
9
+ var AdSlot = require('./AdSlot-0cd6f861.js');
10
10
 
11
11
  var ADInfeed = function ADInfeed(_ref) {
12
12
  var index = _ref.index,
@@ -1112,10 +1112,6 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
1112
1112
  }
1113
1113
  }, 500);
1114
1114
 
1115
- var matchAd = function matchAd(element) {
1116
- return slotId && slotId.includes(element);
1117
- };
1118
-
1119
1115
  return React__default.createElement(
1120
1116
  'div',
1121
1117
  { className: className, style: { textAlign: 'center' } },
@@ -1126,8 +1122,12 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
1126
1122
  sizeMapping: sizeMapping,
1127
1123
  targetingArguments: targeting,
1128
1124
  onSlotRender: function onSlotRender(eventData) {
1129
- if (['floating-ad', 'infeed'].some(matchAd) && eventData && eventData.event && eventData.event.creativeId == null) {
1130
- setShowAd(false);
1125
+ if (eventData && eventData.slotId && ['floating-ad', 'infeed', 'welcome-ad'].includes(eventData.slotId)) {
1126
+ if (eventData.event && eventData.event.creativeId == null) {
1127
+ setShowAd(false);
1128
+ } else {
1129
+ setShowAd(true);
1130
+ }
1131
1131
  }
1132
1132
  setAdRendered(true);
1133
1133
  if (eventData && eventData.event) {
@@ -27,9 +27,9 @@ var index = require('./index-39beccb3.js');
27
27
  var index$1 = require('./index-fa0fb52c.js');
28
28
  var entities = require('./entities-310b46ee.js');
29
29
  require('./slicedToArray-e38fb29d.js');
30
- require('./AdSlot-1886ea26.js');
30
+ require('./AdSlot-0cd6f861.js');
31
31
  require('./promise-2c453658.js');
32
- var ADInfeed = require('./ADInfeed-a33644bc.js');
32
+ var ADInfeed = require('./ADInfeed-db54195d.js');
33
33
 
34
34
  var DeckContent = function (_React$Component) {
35
35
  inherits$2._inherits(DeckContent, _React$Component);
@@ -20,7 +20,7 @@ var Router__default = _interopDefault(Router);
20
20
  var index = require('./index-39beccb3.js');
21
21
  var index$1 = require('./index-fa0fb52c.js');
22
22
  var entities = require('./entities-310b46ee.js');
23
- var ADInfeed = require('./ADInfeed-a33644bc.js');
23
+ var ADInfeed = require('./ADInfeed-db54195d.js');
24
24
  var get$1 = require('./get-de2660c3.js');
25
25
 
26
26
  var Dfp = React__default.lazy(function () {
@@ -23,11 +23,11 @@ require('./index-39beccb3.js');
23
23
  require('./index-fa0fb52c.js');
24
24
  require('./entities-310b46ee.js');
25
25
  require('./slicedToArray-e38fb29d.js');
26
- require('./AdSlot-1886ea26.js');
26
+ require('./AdSlot-0cd6f861.js');
27
27
  require('./promise-2c453658.js');
28
- require('./ADInfeed-a33644bc.js');
28
+ require('./ADInfeed-db54195d.js');
29
29
  require('./get-de2660c3.js');
30
- var GridContent = require('./GridContent-26572c38.js');
30
+ var GridContent = require('./GridContent-02acbd72.js');
31
31
 
32
32
 
33
33
 
@@ -12,7 +12,7 @@ var Row = _interopDefault(require('react-bootstrap/Row'));
12
12
  var Col = _interopDefault(require('react-bootstrap/Col'));
13
13
  var Link = _interopDefault(require('next/link'));
14
14
  var slicedToArray = require('./slicedToArray-e38fb29d.js');
15
- var AdSlot = require('./AdSlot-1886ea26.js');
15
+ var AdSlot = require('./AdSlot-0cd6f861.js');
16
16
  var get$1 = require('./get-de2660c3.js');
17
17
  var reactBootstrap = require('react-bootstrap');
18
18
  var index_esm = require('./index.esm-340d3792.js');
@@ -23,9 +23,9 @@ var index = require('./index-39beccb3.js');
23
23
  var index$1 = require('./index-fa0fb52c.js');
24
24
  var entities = require('./entities-310b46ee.js');
25
25
  var slicedToArray = require('./slicedToArray-e38fb29d.js');
26
- require('./AdSlot-1886ea26.js');
26
+ require('./AdSlot-0cd6f861.js');
27
27
  require('./promise-2c453658.js');
28
- var ADInfeed = require('./ADInfeed-a33644bc.js');
28
+ var ADInfeed = require('./ADInfeed-db54195d.js');
29
29
  var reactBootstrap = require('react-bootstrap');
30
30
 
31
31
  var urlFor = function urlFor(source, builder) {
@@ -13,13 +13,13 @@ require('react-bootstrap/Row');
13
13
  require('react-bootstrap/Col');
14
14
  require('next/link');
15
15
  require('./slicedToArray-e38fb29d.js');
16
- require('./AdSlot-1886ea26.js');
16
+ require('./AdSlot-0cd6f861.js');
17
17
  require('./promise-2c453658.js');
18
18
  require('./get-de2660c3.js');
19
19
  require('react-bootstrap');
20
20
  require('./index.esm-340d3792.js');
21
21
  require('react-bootstrap/Button');
22
- var TemplateNormal = require('./Normal-92be86eb.js');
22
+ var TemplateNormal = require('./Normal-2514655c.js');
23
23
  require('react-bootstrap/ListGroup');
24
24
  require('next/head');
25
25
  require('react-bootstrap/Nav');
package/dist/cjs/index.js CHANGED
@@ -29,12 +29,12 @@ var index = require('./index-39beccb3.js');
29
29
  require('./index-fa0fb52c.js');
30
30
  var entities = require('./entities-310b46ee.js');
31
31
  var slicedToArray = require('./slicedToArray-e38fb29d.js');
32
- var AdSlot = require('./AdSlot-1886ea26.js');
32
+ var AdSlot = require('./AdSlot-0cd6f861.js');
33
33
  require('./promise-2c453658.js');
34
- require('./ADInfeed-a33644bc.js');
34
+ require('./ADInfeed-db54195d.js');
35
35
  var DeckContent = require('./DeckContent.js');
36
36
  var get$1 = require('./get-de2660c3.js');
37
- var GridContent = require('./GridContent-26572c38.js');
37
+ var GridContent = require('./GridContent-02acbd72.js');
38
38
  var DeckQueue = require('./DeckQueue.js');
39
39
  require('react-bootstrap/Media');
40
40
  var ThumbnailCard = require('./ThumbnailCard.js');
@@ -52,7 +52,7 @@ var IssueDeck = require('./IssueDeck.js');
52
52
  require('react-bootstrap/Badge');
53
53
  var IssueContentDeck = require('./IssueContentDeck.js');
54
54
  var Spinner = _interopDefault(require('react-bootstrap/Spinner'));
55
- var TemplateNormal = require('./Normal-92be86eb.js');
55
+ var TemplateNormal = require('./Normal-2514655c.js');
56
56
  require('react-bootstrap/ListGroup');
57
57
  var Head = _interopDefault(require('next/head'));
58
58
  var Accordion = _interopDefault(require('react-bootstrap/Accordion'));
@@ -63,7 +63,6 @@ require('react-bootstrap/Navbar');
63
63
  require('react-bootstrap/NavDropdown');
64
64
  require('react-bootstrap/Form');
65
65
  require('react-bootstrap/FormControl');
66
- var Modal = _interopDefault(require('react-bootstrap/Modal'));
67
66
  var Pagination = _interopDefault(require('react-bootstrap/Pagination'));
68
67
  var dynamic = _interopDefault(require('next/dynamic'));
69
68
  var Carousel = _interopDefault(require('react-bootstrap/Carousel'));
@@ -3029,14 +3028,21 @@ var ADWelcome = function ADWelcome(_ref) {
3029
3028
  adTargeting = _useState2[0],
3030
3029
  setTargeting = _useState2[1];
3031
3030
 
3031
+ var adRef = React.useRef(null);
3032
+
3033
+ var _useState3 = React.useState(),
3034
+ _useState4 = slicedToArray._slicedToArray(_useState3, 2),
3035
+ showAd = _useState4[0],
3036
+ setShowAd = _useState4[1];
3037
+
3032
3038
  var calculateTimeLeft = function calculateTimeLeft(timeLeft) {
3033
3039
  return --timeLeft;
3034
3040
  };
3035
3041
 
3036
- var _useState3 = React.useState(calculateTimeLeft(counter)),
3037
- _useState4 = slicedToArray._slicedToArray(_useState3, 2),
3038
- timeLeft = _useState4[0],
3039
- setTimeLeft = _useState4[1];
3042
+ var _useState5 = React.useState(calculateTimeLeft(counter + 1)),
3043
+ _useState6 = slicedToArray._slicedToArray(_useState5, 2),
3044
+ timeLeft = _useState6[0],
3045
+ setTimeLeft = _useState6[1];
3040
3046
 
3041
3047
  React.useEffect(function () {
3042
3048
  if (timeLeft > 0) {
@@ -3048,9 +3054,17 @@ var ADWelcome = function ADWelcome(_ref) {
3048
3054
  }
3049
3055
  });
3050
3056
 
3057
+ React.useEffect(function () {
3058
+ if (typeof showAd !== 'undefined' && showAd) {
3059
+ adRef.current.style.opacity = '1';
3060
+ } else if (typeof showAd !== 'undefined' && !showAd) {
3061
+ setFlag(true);
3062
+ }
3063
+ }, [showAd]);
3064
+
3051
3065
  return React__default.createElement(
3052
- Modal,
3053
- { show: true, 'aria-labelledby': 'contained-modal-title-vcenter', backdrop: 'static', style: { outline: 'none' }, dialogClassName: 'welcome-modal' },
3066
+ 'div',
3067
+ { ref: adRef, style: { outline: 'none', opacity: 0 }, className: 'welcome-modal' },
3054
3068
  React__default.createElement(
3055
3069
  'div',
3056
3070
  { className: 'right-top', style: { position: 'absolute', top: 0, right: 0, textAlign: 'center', margin: '2rem' } },
@@ -3085,14 +3099,14 @@ var ADWelcome = function ADWelcome(_ref) {
3085
3099
  React__default.createElement('img', { style: { width: '100%' }, src: Website.logo, alt: Website.title })
3086
3100
  ),
3087
3101
  React__default.createElement(
3088
- Modal.Body,
3102
+ 'div',
3089
3103
  { className: title, style: { position: 'relative', width: '300px', height: '250px', margin: 'auto', top: '10rem' } },
3090
- React__default.createElement(AdSlot.DFPAdSlot, { className: className, slotId: slotId, networkID: networkID, sizes: sizes, adUnit: adUnit, targeting: adTargeting, refreshFlag: false })
3104
+ React__default.createElement(AdSlot.DFPAdSlot, { className: className, slotId: slotId, networkID: networkID, sizes: sizes, adUnit: adUnit, targeting: adTargeting, refreshFlag: false, setShowAd: setShowAd })
3091
3105
  ),
3092
3106
  React__default.createElement(
3093
3107
  'style',
3094
3108
  { jsx: 'true' },
3095
- '\n .modal.show {\n padding: 0px;\n }\n .continue-site:hover {\n cursor: pointer;\n }\n\n .welcome-modal {\n max-width: 100% !important;\n margin: 0px !important;\n }\n @media (min-width: 1200px) {\n .modal-backdrop {\n display: block;\n }\n .modal-content {\n display: block;\n height: 100vh;\n }\n }\n '
3109
+ '\n .continue-site:hover {\n cursor: pointer;\n }\n\n .welcome-modal {\n max-width: 100% !important;\n margin: 0px !important;\n }\n '
3096
3110
  )
3097
3111
  );
3098
3112
  };
@@ -1,7 +1,7 @@
1
1
  import React__default, { useState } from 'react';
2
2
  import Card from 'react-bootstrap/Card';
3
3
  import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
4
- import { D as DFPAdSlot } from './AdSlot-cc6a4f74.js';
4
+ import { D as DFPAdSlot } from './AdSlot-03043ffb.js';
5
5
 
6
6
  var ADInfeed = function ADInfeed(_ref) {
7
7
  var index = _ref.index,
@@ -1107,10 +1107,6 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
1107
1107
  }
1108
1108
  }, 500);
1109
1109
 
1110
- var matchAd = function matchAd(element) {
1111
- return slotId && slotId.includes(element);
1112
- };
1113
-
1114
1110
  return React__default.createElement(
1115
1111
  'div',
1116
1112
  { className: className, style: { textAlign: 'center' } },
@@ -1121,8 +1117,12 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
1121
1117
  sizeMapping: sizeMapping,
1122
1118
  targetingArguments: targeting,
1123
1119
  onSlotRender: function onSlotRender(eventData) {
1124
- if (['floating-ad', 'infeed'].some(matchAd) && eventData && eventData.event && eventData.event.creativeId == null) {
1125
- setShowAd(false);
1120
+ if (eventData && eventData.slotId && ['floating-ad', 'infeed', 'welcome-ad'].includes(eventData.slotId)) {
1121
+ if (eventData.event && eventData.event.creativeId == null) {
1122
+ setShowAd(false);
1123
+ } else {
1124
+ setShowAd(true);
1125
+ }
1126
1126
  }
1127
1127
  setAdRendered(true);
1128
1128
  if (eventData && eventData.event) {
@@ -21,9 +21,9 @@ import { i as imageUrlBuilder } from './index-3849e3fe.js';
21
21
  import { L as LazyLoad } from './index-5f9f807a.js';
22
22
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
23
23
  import './slicedToArray-d0a9593a.js';
24
- import './AdSlot-cc6a4f74.js';
24
+ import './AdSlot-03043ffb.js';
25
25
  import './promise-e3480f1c.js';
26
- import { A as ADInfeed } from './ADInfeed-fd816c1f.js';
26
+ import { A as ADInfeed } from './ADInfeed-ac3ac372.js';
27
27
 
28
28
  var DeckContent = function (_React$Component) {
29
29
  _inherits(DeckContent, _React$Component);
@@ -14,7 +14,7 @@ import { withRouter } from 'next/router';
14
14
  import { i as imageUrlBuilder } from './index-3849e3fe.js';
15
15
  import { L as LazyLoad } from './index-5f9f807a.js';
16
16
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
17
- import { A as ADInfeed } from './ADInfeed-fd816c1f.js';
17
+ import { A as ADInfeed } from './ADInfeed-ac3ac372.js';
18
18
  import { g as get_1 } from './get-9c285a85.js';
19
19
 
20
20
  var Dfp = React__default.lazy(function () {
@@ -21,8 +21,8 @@ import './index-3849e3fe.js';
21
21
  import './index-5f9f807a.js';
22
22
  import './entities-7cc3bf45.js';
23
23
  import './slicedToArray-d0a9593a.js';
24
- import './AdSlot-cc6a4f74.js';
24
+ import './AdSlot-03043ffb.js';
25
25
  import './promise-e3480f1c.js';
26
- import './ADInfeed-fd816c1f.js';
26
+ import './ADInfeed-ac3ac372.js';
27
27
  import './get-9c285a85.js';
28
- export { G as default } from './GridContent-2e9e7528.js';
28
+ export { G as default } from './GridContent-96716e42.js';
@@ -7,7 +7,7 @@ import Row from 'react-bootstrap/Row';
7
7
  import Col from 'react-bootstrap/Col';
8
8
  import Link from 'next/link';
9
9
  import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
10
- import { D as DFPAdSlot } from './AdSlot-cc6a4f74.js';
10
+ import { D as DFPAdSlot } from './AdSlot-03043ffb.js';
11
11
  import { g as get_1 } from './get-9c285a85.js';
12
12
  import { Dropdown } from 'react-bootstrap';
13
13
  import { G as GenIcon, b as IoMdLogIn, c as IoIosHome } from './index.esm-536609db.js';
@@ -17,9 +17,9 @@ import { i as imageUrlBuilder } from './index-3849e3fe.js';
17
17
  import { L as LazyLoad } from './index-5f9f807a.js';
18
18
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
19
19
  import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
20
- import './AdSlot-cc6a4f74.js';
20
+ import './AdSlot-03043ffb.js';
21
21
  import './promise-e3480f1c.js';
22
- import { A as ADInfeed } from './ADInfeed-fd816c1f.js';
22
+ import { A as ADInfeed } from './ADInfeed-ac3ac372.js';
23
23
  import { Container, Media } from 'react-bootstrap';
24
24
 
25
25
  var urlFor = function urlFor(source, builder) {
@@ -11,13 +11,13 @@ import 'react-bootstrap/Row';
11
11
  import 'react-bootstrap/Col';
12
12
  import 'next/link';
13
13
  import './slicedToArray-d0a9593a.js';
14
- import './AdSlot-cc6a4f74.js';
14
+ import './AdSlot-03043ffb.js';
15
15
  import './promise-e3480f1c.js';
16
16
  import './get-9c285a85.js';
17
17
  import 'react-bootstrap';
18
18
  import './index.esm-536609db.js';
19
19
  import 'react-bootstrap/Button';
20
- export { T as default } from './Normal-319bc9fb.js';
20
+ export { T as default } from './Normal-d27184f4.js';
21
21
  import 'react-bootstrap/ListGroup';
22
22
  import 'next/head';
23
23
  import 'react-bootstrap/Nav';
package/dist/esm/index.js CHANGED
@@ -21,13 +21,13 @@ import { i as imageUrlBuilder } from './index-3849e3fe.js';
21
21
  import './index-5f9f807a.js';
22
22
  import { h as html_decode_1, c as clean_html_1 } from './entities-7cc3bf45.js';
23
23
  import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
24
- import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-cc6a4f74.js';
25
- export { D as AdSlot, B as Beam } from './AdSlot-cc6a4f74.js';
24
+ import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-03043ffb.js';
25
+ export { D as AdSlot, B as Beam } from './AdSlot-03043ffb.js';
26
26
  import './promise-e3480f1c.js';
27
- import './ADInfeed-fd816c1f.js';
27
+ import './ADInfeed-ac3ac372.js';
28
28
  export { default as DeckContent } from './DeckContent.js';
29
29
  import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './get-9c285a85.js';
30
- export { A as AD, G as GridContent } from './GridContent-2e9e7528.js';
30
+ export { A as AD, G as GridContent } from './GridContent-96716e42.js';
31
31
  export { default as DeckQueue } from './DeckQueue.js';
32
32
  import 'react-bootstrap/Media';
33
33
  export { default as ThumbnailCard } from './ThumbnailCard.js';
@@ -48,8 +48,8 @@ export { default as IssueDeck } from './IssueDeck.js';
48
48
  import 'react-bootstrap/Badge';
49
49
  export { default as IssueContentDeck } from './IssueContentDeck.js';
50
50
  import Spinner from 'react-bootstrap/Spinner';
51
- import { M as MdPictureAsPdf, T as TemplateNormal } from './Normal-319bc9fb.js';
52
- export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-319bc9fb.js';
51
+ import { M as MdPictureAsPdf, T as TemplateNormal } from './Normal-d27184f4.js';
52
+ export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-d27184f4.js';
53
53
  import 'react-bootstrap/ListGroup';
54
54
  import Head from 'next/head';
55
55
  import Accordion from 'react-bootstrap/Accordion';
@@ -60,7 +60,6 @@ import 'react-bootstrap/Navbar';
60
60
  import 'react-bootstrap/NavDropdown';
61
61
  import 'react-bootstrap/Form';
62
62
  import 'react-bootstrap/FormControl';
63
- import Modal from 'react-bootstrap/Modal';
64
63
  import Pagination from 'react-bootstrap/Pagination';
65
64
  import dynamic from 'next/dynamic';
66
65
  import Carousel$1 from 'react-bootstrap/Carousel';
@@ -3027,14 +3026,21 @@ var ADWelcome = function ADWelcome(_ref) {
3027
3026
  adTargeting = _useState2[0],
3028
3027
  setTargeting = _useState2[1];
3029
3028
 
3029
+ var adRef = useRef(null);
3030
+
3031
+ var _useState3 = useState(),
3032
+ _useState4 = _slicedToArray(_useState3, 2),
3033
+ showAd = _useState4[0],
3034
+ setShowAd = _useState4[1];
3035
+
3030
3036
  var calculateTimeLeft = function calculateTimeLeft(timeLeft) {
3031
3037
  return --timeLeft;
3032
3038
  };
3033
3039
 
3034
- var _useState3 = useState(calculateTimeLeft(counter)),
3035
- _useState4 = _slicedToArray(_useState3, 2),
3036
- timeLeft = _useState4[0],
3037
- setTimeLeft = _useState4[1];
3040
+ var _useState5 = useState(calculateTimeLeft(counter + 1)),
3041
+ _useState6 = _slicedToArray(_useState5, 2),
3042
+ timeLeft = _useState6[0],
3043
+ setTimeLeft = _useState6[1];
3038
3044
 
3039
3045
  useEffect(function () {
3040
3046
  if (timeLeft > 0) {
@@ -3046,9 +3052,17 @@ var ADWelcome = function ADWelcome(_ref) {
3046
3052
  }
3047
3053
  });
3048
3054
 
3055
+ useEffect(function () {
3056
+ if (typeof showAd !== 'undefined' && showAd) {
3057
+ adRef.current.style.opacity = '1';
3058
+ } else if (typeof showAd !== 'undefined' && !showAd) {
3059
+ setFlag(true);
3060
+ }
3061
+ }, [showAd]);
3062
+
3049
3063
  return React__default.createElement(
3050
- Modal,
3051
- { show: true, 'aria-labelledby': 'contained-modal-title-vcenter', backdrop: 'static', style: { outline: 'none' }, dialogClassName: 'welcome-modal' },
3064
+ 'div',
3065
+ { ref: adRef, style: { outline: 'none', opacity: 0 }, className: 'welcome-modal' },
3052
3066
  React__default.createElement(
3053
3067
  'div',
3054
3068
  { className: 'right-top', style: { position: 'absolute', top: 0, right: 0, textAlign: 'center', margin: '2rem' } },
@@ -3083,14 +3097,14 @@ var ADWelcome = function ADWelcome(_ref) {
3083
3097
  React__default.createElement('img', { style: { width: '100%' }, src: Website.logo, alt: Website.title })
3084
3098
  ),
3085
3099
  React__default.createElement(
3086
- Modal.Body,
3100
+ 'div',
3087
3101
  { className: title, style: { position: 'relative', width: '300px', height: '250px', margin: 'auto', top: '10rem' } },
3088
- React__default.createElement(DFPAdSlot, { className: className, slotId: slotId, networkID: networkID, sizes: sizes, adUnit: adUnit, targeting: adTargeting, refreshFlag: false })
3102
+ React__default.createElement(DFPAdSlot, { className: className, slotId: slotId, networkID: networkID, sizes: sizes, adUnit: adUnit, targeting: adTargeting, refreshFlag: false, setShowAd: setShowAd })
3089
3103
  ),
3090
3104
  React__default.createElement(
3091
3105
  'style',
3092
3106
  { jsx: 'true' },
3093
- '\n .modal.show {\n padding: 0px;\n }\n .continue-site:hover {\n cursor: pointer;\n }\n\n .welcome-modal {\n max-width: 100% !important;\n margin: 0px !important;\n }\n @media (min-width: 1200px) {\n .modal-backdrop {\n display: block;\n }\n .modal-content {\n display: block;\n height: 100vh;\n }\n }\n '
3107
+ '\n .continue-site:hover {\n cursor: pointer;\n }\n\n .welcome-modal {\n max-width: 100% !important;\n margin: 0px !important;\n }\n '
3094
3108
  )
3095
3109
  );
3096
3110
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.285",
3
+ "version": "1.0.286",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",