@mjhls/mjh-framework 1.0.730 → 1.0.731-isi-test

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 (44) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/ConferenceArticleCard.js +15 -15
  3. package/dist/cjs/DeckContent.js +8 -8
  4. package/dist/cjs/EventsDeck.js +18 -18
  5. package/dist/cjs/ExternalResources.js +1 -1
  6. package/dist/cjs/HamMagazine.js +9 -9
  7. package/dist/cjs/IssueLanding.js +29 -29
  8. package/dist/cjs/KMTracker.js +15 -15
  9. package/dist/cjs/MasterDeck.js +8 -8
  10. package/dist/cjs/NavMagazine.js +10 -10
  11. package/dist/cjs/NavNative.js +9 -9
  12. package/dist/cjs/PublicationLanding.js +33 -33
  13. package/dist/cjs/RelatedContent.js +28 -28
  14. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  15. package/dist/cjs/SideFooter.js +2 -2
  16. package/dist/cjs/VideoSeriesCard.js +1 -1
  17. package/dist/cjs/View.js +77 -5
  18. package/dist/cjs/YoutubeGroup.js +4 -4
  19. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-963303c6.js} +9 -9
  20. package/dist/cjs/getTargeting.js +1 -1
  21. package/dist/cjs/{index-4d74ffd6.js → index-cb6ed1fc.js} +29 -29
  22. package/dist/cjs/index.js +2 -2
  23. package/dist/esm/ConferenceArticleCard.js +15 -15
  24. package/dist/esm/DeckContent.js +8 -8
  25. package/dist/esm/EventsDeck.js +18 -18
  26. package/dist/esm/ExternalResources.js +1 -1
  27. package/dist/esm/HamMagazine.js +9 -9
  28. package/dist/esm/IssueLanding.js +29 -29
  29. package/dist/esm/KMTracker.js +15 -15
  30. package/dist/esm/MasterDeck.js +8 -8
  31. package/dist/esm/NavMagazine.js +10 -10
  32. package/dist/esm/NavNative.js +9 -9
  33. package/dist/esm/PublicationLanding.js +33 -33
  34. package/dist/esm/RelatedContent.js +28 -28
  35. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  36. package/dist/esm/SideFooter.js +2 -2
  37. package/dist/esm/VideoSeriesCard.js +1 -1
  38. package/dist/esm/View.js +77 -5
  39. package/dist/esm/YoutubeGroup.js +4 -4
  40. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-85315091.js} +9 -9
  41. package/dist/esm/getTargeting.js +1 -1
  42. package/dist/esm/{index-ccb770c7.js → index-750a7380.js} +29 -29
  43. package/dist/esm/index.js +2 -2
  44. package/package.json +105 -105
package/README.md CHANGED
@@ -1,168 +1,168 @@
1
- # mjh-framework v. 1.0.730
2
-
3
- [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm install --save @mjhls/mjh-framework
9
- ```
10
-
11
- ## Usage
12
-
13
- ```jsx
14
- import React, { Component } from 'react'
15
-
16
- import { NavMagazine, DeckQueue } from 'mjh-framework'
17
-
18
- export default class App extends Component {
19
- render() {
20
- return (
21
- <div>
22
- <NavMagazine />
23
- <DeckQueue />
24
- </div>
25
- )
26
- }
27
- }
28
- ```
29
-
30
- ## Publish new updates to the npm registry
31
-
32
- ```bash
33
- npm publish
34
- ```
35
-
36
- ## For getting updates in the template without publishing each time a change is made in the framework
37
-
38
- Link react and react-dom of the template repo, so that it can be used by the framework.
39
- This is to avoid the error arising due to multiple instances of React.
40
-
41
- ```bash
42
- cd ../mjh-template/node_modules/react
43
-
44
- yarn link
45
-
46
- cd ../react-dom
47
-
48
- yarn link
49
-
50
- cd ../../../mjh-framework
51
-
52
- yarn link react && yarn link react-dom
53
- ```
54
-
55
- Link the framework repo so that it can be used in the template
56
-
57
- ```bash
58
- npm link
59
-
60
- cd ../mjh-template
61
-
62
- npm link @mjhls/mjh-framework
63
- ```
64
-
65
- ## Components and "props"
66
-
67
- ### Deck Components
68
-
69
- - #### DeckContent
70
-
71
- ##### Props
72
-
73
- - mapping
74
- - dataRecord
75
- - query
76
- - params
77
- - pointer
78
- - pointerArray
79
- - defaultImage
80
-
81
- - #### DeckQueue
82
- ##### Props
83
- - page
84
- - dataRecord
85
- - query
86
- - params
87
- - pointer
88
- - pointerArray
89
-
90
- ### Layout Components
91
-
92
- - #### Column1
93
- - #### Column2
94
- ##### Props
95
- - rightItems
96
- - #### Column3
97
- ##### Props
98
- - leftItems
99
- - rightItems
100
- ##### Common Props (Column1, Column2, Column3)
101
- - title
102
- - children
103
- - #### Header
104
- ##### Props
105
- - title
106
- - keyword
107
- - description
108
- - #### LeftNav
109
- ##### Props
110
- - leftItems
111
- - #### AccordionPanel
112
- ##### Props
113
- - accordionClassName
114
- - data
115
-
116
- ### Navigation Components
117
-
118
- - #### NavMagazine
119
- ##### Props
120
- - logo
121
- - dataObject
122
- - #### NavNative
123
- ##### Props
124
- - logo
125
- - dataObject
126
- - #### NavNormal
127
- ##### Props
128
- - logo
129
- - dataObject
130
- - variant
131
- - #### NavDvm
132
- ##### Props
133
- - logo
134
- - dataObject
135
- - subNavHeads
136
-
137
- ### Template Components
138
-
139
- - #### TemplateNormal
140
- ##### Props
141
- - config
142
- - title
143
- - keywords
144
- - description
145
- - website
146
-
147
- ### Ad Components
148
-
149
- - #### AD300x250
150
- - #### AD300x250x600
151
- - #### AD728x90
152
- ##### Common Props
153
- - networkID
154
- - adUnit
155
-
156
- ### Serializers
157
-
158
- - #### getSerializers (function)
159
- ##### arguments
160
- - client
161
- ##### types
162
- - youtube
163
- - figure
164
- - slideshow
165
-
166
- ## License
167
-
168
- MIT © [mjh-framework](https://github.com/mjh-framework)
1
+ # mjh-framework v. 1.0.731
2
+
3
+ [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install --save @mjhls/mjh-framework
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```jsx
14
+ import React, { Component } from 'react'
15
+
16
+ import { NavMagazine, DeckQueue } from 'mjh-framework'
17
+
18
+ export default class App extends Component {
19
+ render() {
20
+ return (
21
+ <div>
22
+ <NavMagazine />
23
+ <DeckQueue />
24
+ </div>
25
+ )
26
+ }
27
+ }
28
+ ```
29
+
30
+ ## Publish new updates to the npm registry
31
+
32
+ ```bash
33
+ npm publish
34
+ ```
35
+
36
+ ## For getting updates in the template without publishing each time a change is made in the framework
37
+
38
+ Link react and react-dom of the template repo, so that it can be used by the framework.
39
+ This is to avoid the error arising due to multiple instances of React.
40
+
41
+ ```bash
42
+ cd ../mjh-template/node_modules/react
43
+
44
+ yarn link
45
+
46
+ cd ../react-dom
47
+
48
+ yarn link
49
+
50
+ cd ../../../mjh-framework
51
+
52
+ yarn link react && yarn link react-dom
53
+ ```
54
+
55
+ Link the framework repo so that it can be used in the template
56
+
57
+ ```bash
58
+ npm link
59
+
60
+ cd ../mjh-template
61
+
62
+ npm link @mjhls/mjh-framework
63
+ ```
64
+
65
+ ## Components and "props"
66
+
67
+ ### Deck Components
68
+
69
+ - #### DeckContent
70
+
71
+ ##### Props
72
+
73
+ - mapping
74
+ - dataRecord
75
+ - query
76
+ - params
77
+ - pointer
78
+ - pointerArray
79
+ - defaultImage
80
+
81
+ - #### DeckQueue
82
+ ##### Props
83
+ - page
84
+ - dataRecord
85
+ - query
86
+ - params
87
+ - pointer
88
+ - pointerArray
89
+
90
+ ### Layout Components
91
+
92
+ - #### Column1
93
+ - #### Column2
94
+ ##### Props
95
+ - rightItems
96
+ - #### Column3
97
+ ##### Props
98
+ - leftItems
99
+ - rightItems
100
+ ##### Common Props (Column1, Column2, Column3)
101
+ - title
102
+ - children
103
+ - #### Header
104
+ ##### Props
105
+ - title
106
+ - keyword
107
+ - description
108
+ - #### LeftNav
109
+ ##### Props
110
+ - leftItems
111
+ - #### AccordionPanel
112
+ ##### Props
113
+ - accordionClassName
114
+ - data
115
+
116
+ ### Navigation Components
117
+
118
+ - #### NavMagazine
119
+ ##### Props
120
+ - logo
121
+ - dataObject
122
+ - #### NavNative
123
+ ##### Props
124
+ - logo
125
+ - dataObject
126
+ - #### NavNormal
127
+ ##### Props
128
+ - logo
129
+ - dataObject
130
+ - variant
131
+ - #### NavDvm
132
+ ##### Props
133
+ - logo
134
+ - dataObject
135
+ - subNavHeads
136
+
137
+ ### Template Components
138
+
139
+ - #### TemplateNormal
140
+ ##### Props
141
+ - config
142
+ - title
143
+ - keywords
144
+ - description
145
+ - website
146
+
147
+ ### Ad Components
148
+
149
+ - #### AD300x250
150
+ - #### AD300x250x600
151
+ - #### AD728x90
152
+ ##### Common Props
153
+ - networkID
154
+ - adUnit
155
+
156
+ ### Serializers
157
+
158
+ - #### getSerializers (function)
159
+ ##### arguments
160
+ - client
161
+ ##### types
162
+ - youtube
163
+ - figure
164
+ - slideshow
165
+
166
+ ## License
167
+
168
+ MIT © [mjh-framework](https://github.com/mjh-framework)
@@ -9,21 +9,21 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
9
9
 
10
10
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
11
 
12
- /*
13
- Example usage - targetedonc.com/latest-conference
14
- const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
15
- ...,
16
- title,
17
- summary,
18
- thumbnail,
19
- url,
20
- published,
21
- documentGroup->,
22
- contentCategory->,
23
- 'pageNumber': ${currentPage}
24
- }`
25
-
26
- const posts = await client.fetch(query, params)
12
+ /*
13
+ Example usage - targetedonc.com/latest-conference
14
+ const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
15
+ ...,
16
+ title,
17
+ summary,
18
+ thumbnail,
19
+ url,
20
+ published,
21
+ documentGroup->,
22
+ contentCategory->,
23
+ 'pageNumber': ${currentPage}
24
+ }`
25
+
26
+ const posts = await client.fetch(query, params)
27
27
  */
28
28
 
29
29
  var ConferenceArticleCard = function ConferenceArticleCard(props) {
@@ -189,14 +189,14 @@ var DeckContent = function (_React$Component) {
189
189
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
190
190
 
191
191
  // please leave this for later debug purpose : Yong Jun.
192
- /* console.log('page change reported', {
193
- currentPage: currentPage,
194
- pageNumber: pageNumber,
195
- pathname: pathname,
196
- path: path,
197
- newPath: newPath,
198
- firstPage: pageNumber === 1,
199
- queryString: queryString
192
+ /* console.log('page change reported', {
193
+ currentPage: currentPage,
194
+ pageNumber: pageNumber,
195
+ pathname: pathname,
196
+ path: path,
197
+ newPath: newPath,
198
+ firstPage: pageNumber === 1,
199
+ queryString: queryString
200
200
  }) */
201
201
 
202
202
  if (pageview) {
@@ -18,7 +18,7 @@ var Card = require('react-bootstrap/Card');
18
18
  var Form = require('react-bootstrap/Form');
19
19
  var Button = require('react-bootstrap/Button');
20
20
  require('./main-dc082238.js');
21
- var index = require('./index-4d74ffd6.js');
21
+ var index = require('./index-cb6ed1fc.js');
22
22
  var js_cookie = require('./js.cookie-a511c430.js');
23
23
  var Router = require('next/router');
24
24
  require('./define-property-aff11f8a.js');
@@ -258,23 +258,23 @@ var EventsDeck = function EventsDeck(_ref) {
258
258
  if (cventAccessToken && cventAccessToken !== 'undefined') {
259
259
  setAccessToken(cventAccessToken);
260
260
  } else {
261
- /*const encodedData = window.btoa(clientId + ':' + clientSecret)
262
- //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
263
- const url = `https://api-platform.cvent.com/ea/oauth2/token`
264
- fetch(url, {
265
- headers: {
266
- 'Content-Type': 'application/x-www-form-urlencoded',
267
- Authorization: `Basic ${encodedData}`
268
- },
269
- method: 'POST',
270
- body: `grant_type=client_credentials&client_id=${clientId}`
271
- })
272
- .then((response) => response.json())
273
- .then((json) => {
274
- const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
275
- Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
276
- setAccessToken(json.access_token)
277
- })
261
+ /*const encodedData = window.btoa(clientId + ':' + clientSecret)
262
+ //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
263
+ const url = `https://api-platform.cvent.com/ea/oauth2/token`
264
+ fetch(url, {
265
+ headers: {
266
+ 'Content-Type': 'application/x-www-form-urlencoded',
267
+ Authorization: `Basic ${encodedData}`
268
+ },
269
+ method: 'POST',
270
+ body: `grant_type=client_credentials&client_id=${clientId}`
271
+ })
272
+ .then((response) => response.json())
273
+ .then((json) => {
274
+ const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
275
+ Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
276
+ setAccessToken(json.access_token)
277
+ })
278
278
  .catch((e) => console.log(e))*/
279
279
  // hello
280
280
  var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
@@ -5,7 +5,7 @@ var slicedToArray = require('./slicedToArray-db24842a.js');
5
5
  var React = require('react');
6
6
  var BlockContent = require('./BlockContent-eca358e4.js');
7
7
  var getSerializers = require('./index-5260126b.js');
8
- var index = require('./index-4d74ffd6.js');
8
+ var index = require('./index-cb6ed1fc.js');
9
9
  var Router = require('next/router');
10
10
  var Button = require('react-bootstrap/Button');
11
11
  require('./_commonjsHelpers-06173234.js');
@@ -41,15 +41,15 @@ var Navbar__default = /*#__PURE__*/_interopDefaultLegacy(Navbar);
41
41
  var NavDropdown__default = /*#__PURE__*/_interopDefaultLegacy(NavDropdown);
42
42
 
43
43
  var HamMagazine = function HamMagazine(props) {
44
- /*
45
- Example Nav with acceptable props
46
- <MagazineNav
47
- showLogin
48
- logo={props.settings.logo}
49
- dataObject={props.cache.mainNavCache}
50
- website={website}
51
- subNav={props.cache.subNavCache}
52
- />
44
+ /*
45
+ Example Nav with acceptable props
46
+ <MagazineNav
47
+ showLogin
48
+ logo={props.settings.logo}
49
+ dataObject={props.cache.mainNavCache}
50
+ website={website}
51
+ subNav={props.cache.subNavCache}
52
+ />
53
53
  */
54
54
 
55
55
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -47,35 +47,35 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
47
47
 
48
48
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
49
49
 
50
- /* usage
51
- import Settings, { Ads } from '../../../../settings'
52
- import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
53
- import client from '../../../../client'
54
- import moment from 'moment'
55
- import Shell from '../../../../components/2.0/Shell'
56
- import { pageview } from '../../../../utilities/gtag'
57
-
58
- const Issue = (props) => {
59
- const { pubIssue, cache } = props
60
- const targeting = {
61
- content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
62
- document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
63
- }
64
- return (
65
- <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
66
- <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
67
- </Shell>
68
- )
69
- }
70
-
71
- Issue.getInitialProps = async (ctx) => {
72
- const { query } = ctx
73
- const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
74
- )
75
- return { pubIssue }
76
- }
77
-
78
- export default Issue
50
+ /* usage
51
+ import Settings, { Ads } from '../../../../settings'
52
+ import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
53
+ import client from '../../../../client'
54
+ import moment from 'moment'
55
+ import Shell from '../../../../components/2.0/Shell'
56
+ import { pageview } from '../../../../utilities/gtag'
57
+
58
+ const Issue = (props) => {
59
+ const { pubIssue, cache } = props
60
+ const targeting = {
61
+ content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
62
+ document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
63
+ }
64
+ return (
65
+ <Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
66
+ <IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
67
+ </Shell>
68
+ )
69
+ }
70
+
71
+ Issue.getInitialProps = async (ctx) => {
72
+ const { query } = ctx
73
+ const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
74
+ )
75
+ return { pubIssue }
76
+ }
77
+
78
+ export default Issue
79
79
  */
80
80
 
81
81
  var IssueLanding = function IssueLanding(props) {
@@ -1,27 +1,27 @@
1
1
  'use strict';
2
2
 
3
3
  var KMTracker = function KMTracker(props) {
4
- var id = props.id;
4
+ var id = props.id;
5
5
 
6
- if (document && id) {
6
+ if (document && id) {
7
7
  (function () {
8
- var ecnJquery = document.createElement('script');
8
+ var ecnJquery = document.createElement('script');
9
9
 
10
- ecnJquery.type = 'text/javascript';
11
- ecnJquery.async = true;
12
- ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
10
+ ecnJquery.type = 'text/javascript';
11
+ ecnJquery.async = true;
12
+ ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
13
13
 
14
- var ecnScript = document.createElement('script');
14
+ var ecnScript = document.createElement('script');
15
15
 
16
- ecnScript.type = 'text/javascript';
17
- ecnScript.async = true;
18
- ecnScript.id = 'km-tracker';
19
- ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
16
+ ecnScript.type = 'text/javascript';
17
+ ecnScript.async = true;
18
+ ecnScript.id = 'km-tracker';
19
+ ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
20
20
 
21
- document.head.appendChild(ecnJquery);
22
- document.head.appendChild(ecnScript);
23
- })();
24
- }
21
+ document.head.appendChild(ecnJquery);
22
+ document.head.appendChild(ecnScript);
23
+ })();
24
+ }
25
25
  };
26
26
 
27
27
  module.exports = KMTracker;
@@ -231,14 +231,14 @@ var MasterDeck = function (_React$Component) {
231
231
  }
232
232
 
233
233
  // please leave this for later debug purpose : Yong Jun.
234
- /* console.log('page change reported', {
235
- currentPage: currentPage,
236
- pageNumber: pageNumber,
237
- pathname: pathname,
238
- path: path,
239
- newPath: newPath,
240
- firstPage: pageNumber === 1,
241
- queryString: queryString
234
+ /* console.log('page change reported', {
235
+ currentPage: currentPage,
236
+ pageNumber: pageNumber,
237
+ pathname: pathname,
238
+ path: path,
239
+ newPath: newPath,
240
+ firstPage: pageNumber === 1,
241
+ queryString: queryString
242
242
  }) */
243
243
 
244
244
  if (pageview) {
@@ -41,16 +41,16 @@ var Navbar__default = /*#__PURE__*/_interopDefaultLegacy(Navbar);
41
41
  var NavDropdown__default = /*#__PURE__*/_interopDefaultLegacy(NavDropdown);
42
42
 
43
43
  var NavMagazine = function NavMagazine(props) {
44
- /*
45
- Example Nav with acceptable props
46
- <MagazineNav
47
- showLogin
48
- user={props.cache.user}
49
- logo={props.settings.logo}
50
- dataObject={props.cache.mainNavCache}
51
- website={website}
52
- subNav={props.cache.subNavCache}
53
- />
44
+ /*
45
+ Example Nav with acceptable props
46
+ <MagazineNav
47
+ showLogin
48
+ user={props.cache.user}
49
+ logo={props.settings.logo}
50
+ dataObject={props.cache.mainNavCache}
51
+ website={website}
52
+ subNav={props.cache.subNavCache}
53
+ />
54
54
  */
55
55
 
56
56
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -41,15 +41,15 @@ var FormControl__default = /*#__PURE__*/_interopDefaultLegacy(FormControl);
41
41
  var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
42
42
 
43
43
  var NavNative = function NavNative(props) {
44
- /*
45
- Example Nav with acceptable props
46
- <MagazineNav
47
- showLogin
48
- logo={props.settings.logo}
49
- dataObject={props.cache.mainNavCache}
50
- website={website}
51
- subNav={props.cache.subNavCache}
52
- />
44
+ /*
45
+ Example Nav with acceptable props
46
+ <MagazineNav
47
+ showLogin
48
+ logo={props.settings.logo}
49
+ dataObject={props.cache.mainNavCache}
50
+ website={website}
51
+ subNav={props.cache.subNavCache}
52
+ />
53
53
  */
54
54
  // Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
55
55
  var logo = props.logo,