@mjhls/mjh-framework 1.0.350 → 1.0.351

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.350
2
+ # mjh-framework v. 1.0.351
3
3
 
4
4
 
5
5
  > Foundation Framework
@@ -261,10 +261,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
261
261
  showAuthor && article.authorMapping && article.authorMapping.length > 0 && article.authorMapping.map(function (authorDetail, index) {
262
262
  return renderAuthor(authorDetail, index, article.authorMapping.length);
263
263
  }),
264
- article.publicationSource && React__default.createElement(
264
+ article.source && React__default.createElement(
265
265
  'p',
266
266
  { className: 'p-0 mb-1' },
267
- article.publicationSource
267
+ article.source
268
268
  ),
269
269
  showCategory && article.contentCategory && React__default.createElement(
270
270
  'p',
@@ -341,10 +341,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
341
341
  showAuthor && article.authorMapping && article.authorMapping.length > 0 && article.authorMapping.map(function (authorDetail, index) {
342
342
  return renderAuthor(authorDetail, index, article.authorMapping.length);
343
343
  }),
344
- article.publicationSource && React__default.createElement(
344
+ article.source && React__default.createElement(
345
345
  'p',
346
346
  { className: 'p-0 mb-1' },
347
- article.publicationSource
347
+ article.source
348
348
  ),
349
349
  showCategory && article.contentCategory && React__default.createElement(
350
350
  'p',
@@ -422,10 +422,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
422
422
  showAuthor && article.authorMapping && article.authorMapping.length > 0 && article.authorMapping.map(function (authorDetail, index) {
423
423
  return renderAuthor(authorDetail, index, article.authorMapping.length);
424
424
  }),
425
- article.publicationSource && React__default.createElement(
425
+ article.source && React__default.createElement(
426
426
  'p',
427
427
  { className: 'p-0 mb-1' },
428
- article.publicationSource
428
+ article.source
429
429
  ),
430
430
  showCategory && article.contentCategory && React__default.createElement(
431
431
  'p',
@@ -1048,13 +1048,14 @@ var TaxonomyCard = function TaxonomyCard(props) {
1048
1048
  { className: 'details-field', href: field.value, key: index },
1049
1049
  field.value
1050
1050
  );
1051
- } else if (field.value && field.key === 'email') {
1052
- return React__default.createElement(
1053
- 'a',
1054
- { className: 'details-field', href: 'mailto:' + field.value, key: index },
1055
- field.value
1056
- );
1057
1051
  }
1052
+ // else if (field.value && field.key === 'email') {
1053
+ // return (
1054
+ // <a className='details-field' href={`mailto:${field.value}`} key={index}>
1055
+ // {field.value}
1056
+ // </a>
1057
+ // )
1058
+ // }
1058
1059
  })
1059
1060
  ),
1060
1061
  address && address.length > 0 && React__default.createElement(
@@ -12,7 +12,7 @@ require('react-bootstrap/Card');
12
12
  require('react-dom');
13
13
  require('./index-b5eb3ff8.js');
14
14
  require('./index-fa0fb52c.js');
15
- var TaxonomyCard = require('./TaxonomyCard-266e757b.js');
15
+ var TaxonomyCard = require('./TaxonomyCard-b51062ec.js');
16
16
  require('./react-social-icons-cd0d9d3b.js');
17
17
 
18
18
 
package/dist/cjs/index.js CHANGED
@@ -37,7 +37,7 @@ var GridContent = require('./GridContent-7a85d904.js');
37
37
  var DeckQueue = require('./DeckQueue.js');
38
38
  require('react-bootstrap/Media');
39
39
  var ThumbnailCard = require('./ThumbnailCard.js');
40
- var TaxonomyCard = require('./TaxonomyCard-266e757b.js');
40
+ var TaxonomyCard = require('./TaxonomyCard-b51062ec.js');
41
41
  require('./react-social-icons-cd0d9d3b.js');
42
42
  var smoothscroll = require('./smoothscroll-95231a70.js');
43
43
  var GroupDeck = require('./GroupDeck.js');
@@ -16385,6 +16385,7 @@ var Article = function Article(props) {
16385
16385
  } : _props$article$url;
16386
16386
  var url = _props$article$url.current,
16387
16387
  issue = _props$article.issue,
16388
+ source = _props$article.source,
16388
16389
  regionalPages = props.regionalPages,
16389
16390
  nationalPage = props.nationalPage,
16390
16391
  ISIContent = props.ISIContent,
@@ -16612,18 +16613,18 @@ var Article = function Article(props) {
16612
16613
  renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length)
16613
16614
  );
16614
16615
  }),
16615
- issue && React__default.createElement(
16616
+ React__default.createElement(
16616
16617
  'div',
16617
16618
  null,
16618
- React__default.createElement(
16619
- 'div',
16619
+ source && React__default.createElement(
16620
+ 'p',
16620
16621
  null,
16621
- issue.articleSource && React__default.createElement(
16622
- 'p',
16623
- null,
16624
- issue.articleSource
16625
- )
16626
- ),
16622
+ source
16623
+ )
16624
+ ),
16625
+ issue && React__default.createElement(
16626
+ 'div',
16627
+ null,
16627
16628
  React__default.createElement(
16628
16629
  'div',
16629
16630
  { className: 'volume-issue' },
@@ -255,10 +255,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
255
255
  showAuthor && article.authorMapping && article.authorMapping.length > 0 && article.authorMapping.map(function (authorDetail, index) {
256
256
  return renderAuthor(authorDetail, index, article.authorMapping.length);
257
257
  }),
258
- article.publicationSource && React__default.createElement(
258
+ article.source && React__default.createElement(
259
259
  'p',
260
260
  { className: 'p-0 mb-1' },
261
- article.publicationSource
261
+ article.source
262
262
  ),
263
263
  showCategory && article.contentCategory && React__default.createElement(
264
264
  'p',
@@ -335,10 +335,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
335
335
  showAuthor && article.authorMapping && article.authorMapping.length > 0 && article.authorMapping.map(function (authorDetail, index) {
336
336
  return renderAuthor(authorDetail, index, article.authorMapping.length);
337
337
  }),
338
- article.publicationSource && React__default.createElement(
338
+ article.source && React__default.createElement(
339
339
  'p',
340
340
  { className: 'p-0 mb-1' },
341
- article.publicationSource
341
+ article.source
342
342
  ),
343
343
  showCategory && article.contentCategory && React__default.createElement(
344
344
  'p',
@@ -416,10 +416,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
416
416
  showAuthor && article.authorMapping && article.authorMapping.length > 0 && article.authorMapping.map(function (authorDetail, index) {
417
417
  return renderAuthor(authorDetail, index, article.authorMapping.length);
418
418
  }),
419
- article.publicationSource && React__default.createElement(
419
+ article.source && React__default.createElement(
420
420
  'p',
421
421
  { className: 'p-0 mb-1' },
422
- article.publicationSource
422
+ article.source
423
423
  ),
424
424
  showCategory && article.contentCategory && React__default.createElement(
425
425
  'p',
@@ -1043,13 +1043,14 @@ var TaxonomyCard = function TaxonomyCard(props) {
1043
1043
  { className: 'details-field', href: field.value, key: index },
1044
1044
  field.value
1045
1045
  );
1046
- } else if (field.value && field.key === 'email') {
1047
- return React__default.createElement(
1048
- 'a',
1049
- { className: 'details-field', href: 'mailto:' + field.value, key: index },
1050
- field.value
1051
- );
1052
1046
  }
1047
+ // else if (field.value && field.key === 'email') {
1048
+ // return (
1049
+ // <a className='details-field' href={`mailto:${field.value}`} key={index}>
1050
+ // {field.value}
1051
+ // </a>
1052
+ // )
1053
+ // }
1053
1054
  })
1054
1055
  ),
1055
1056
  address && address.length > 0 && React__default.createElement(
@@ -10,5 +10,5 @@ import 'react-bootstrap/Card';
10
10
  import 'react-dom';
11
11
  import './index-51a80699.js';
12
12
  import './index-5f9f807a.js';
13
- export { T as default } from './TaxonomyCard-c1a1a544.js';
13
+ export { T as default } from './TaxonomyCard-f1f072ab.js';
14
14
  import './react-social-icons-a7d5c5c7.js';
package/dist/esm/index.js CHANGED
@@ -30,8 +30,8 @@ export { A as AD, G as GridContent } from './GridContent-e2b1de22.js';
30
30
  export { default as DeckQueue } from './DeckQueue.js';
31
31
  import 'react-bootstrap/Media';
32
32
  export { default as ThumbnailCard } from './ThumbnailCard.js';
33
- import { B as BlockContent } from './TaxonomyCard-c1a1a544.js';
34
- export { T as TaxonomyCard } from './TaxonomyCard-c1a1a544.js';
33
+ import { B as BlockContent } from './TaxonomyCard-f1f072ab.js';
34
+ export { T as TaxonomyCard } from './TaxonomyCard-f1f072ab.js';
35
35
  import './react-social-icons-a7d5c5c7.js';
36
36
  import { g as getYoutubeId } from './smoothscroll-4b699764.js';
37
37
  import GroupDeck from './GroupDeck.js';
@@ -16382,6 +16382,7 @@ var Article = function Article(props) {
16382
16382
  } : _props$article$url;
16383
16383
  var url = _props$article$url.current,
16384
16384
  issue = _props$article.issue,
16385
+ source = _props$article.source,
16385
16386
  regionalPages = props.regionalPages,
16386
16387
  nationalPage = props.nationalPage,
16387
16388
  ISIContent = props.ISIContent,
@@ -16609,18 +16610,18 @@ var Article = function Article(props) {
16609
16610
  renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length)
16610
16611
  );
16611
16612
  }),
16612
- issue && React__default.createElement(
16613
+ React__default.createElement(
16613
16614
  'div',
16614
16615
  null,
16615
- React__default.createElement(
16616
- 'div',
16616
+ source && React__default.createElement(
16617
+ 'p',
16617
16618
  null,
16618
- issue.articleSource && React__default.createElement(
16619
- 'p',
16620
- null,
16621
- issue.articleSource
16622
- )
16623
- ),
16619
+ source
16620
+ )
16621
+ ),
16622
+ issue && React__default.createElement(
16623
+ 'div',
16624
+ null,
16624
16625
  React__default.createElement(
16625
16626
  'div',
16626
16627
  { className: 'volume-issue' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.350",
3
+ "version": "1.0.351",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",