@mjhls/mjh-framework 1.0.384 → 1.0.387

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 (65) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{ADInfeed-5949653c.js → ADInfeed-f544f2a5.js} +1 -1
  3. package/dist/cjs/{AdSlot-91bc9d77.js → AdSlot-1e40a214.js} +2 -2
  4. package/dist/cjs/DeckContent.js +9 -6
  5. package/dist/cjs/DeckQueue.js +7 -4
  6. package/dist/cjs/{Dfp-25e669fe.js → Dfp-27b922b0.js} +1 -1
  7. package/dist/cjs/{GridContent-1f1041b1.js → GridContent-1871749e.js} +6 -6
  8. package/dist/cjs/GridContent.js +11 -8
  9. package/dist/cjs/GroupDeck.js +26 -2
  10. package/dist/cjs/IssueContentDeck.js +44 -37
  11. package/dist/cjs/MasterDeck.js +7 -4
  12. package/dist/cjs/{Normal-c96bc60c.js → Normal-cc68fd44.js} +329 -111
  13. package/dist/cjs/PublicationDeck.js +2 -2
  14. package/dist/cjs/QueueDeckExpanded.js +7 -5
  15. package/dist/cjs/{TaxonomyCard-b51062ec.js → TaxonomyCard-cf264332.js} +1 -1
  16. package/dist/cjs/TaxonomyCard.js +3 -2
  17. package/dist/cjs/TemplateNormal.js +6 -5
  18. package/dist/cjs/VideoSeriesListing.js +7 -3
  19. package/dist/cjs/YoutubeGroup.js +23 -2
  20. package/dist/cjs/_library-dd23b178.js +5 -0
  21. package/dist/cjs/_object-pie-68c5bcbc.js +16 -0
  22. package/dist/cjs/{debounce-528ad412.js → debounce-b088070c.js} +0 -3
  23. package/dist/cjs/{extends-4c2285ff.js → extends-60837c34.js} +3 -16
  24. package/dist/cjs/{get-3b23d857.js → get-5aa7468c.js} +1 -1
  25. package/dist/cjs/index.js +32 -72
  26. package/dist/cjs/inherits-2a0fa98c.js +210 -0
  27. package/dist/cjs/{promise-f3635def.js → promise-d5136080.js} +2 -2
  28. package/dist/cjs/{inherits-cfb3a105.js → typeof-2747c582.js} +17 -217
  29. package/dist/esm/{ADInfeed-cb72a50c.js → ADInfeed-88c335d9.js} +1 -1
  30. package/dist/esm/{AdSlot-691d4ea0.js → AdSlot-971ce41c.js} +5 -5
  31. package/dist/esm/{AuthorComponent-2d328934.js → AuthorComponent-beb2ad16.js} +1 -1
  32. package/dist/esm/DeckContent.js +14 -11
  33. package/dist/esm/DeckQueue.js +11 -8
  34. package/dist/esm/{Dfp-9f16c743.js → Dfp-3b3273ee.js} +4 -4
  35. package/dist/esm/{Figure-c3dd2204.js → Figure-7ba30e53.js} +3 -3
  36. package/dist/esm/{GridContent-2c9483e5.js → GridContent-3229be76.js} +9 -9
  37. package/dist/esm/GridContent.js +17 -14
  38. package/dist/esm/GroupDeck.js +29 -5
  39. package/dist/esm/IssueContentDeck.js +44 -37
  40. package/dist/esm/MasterDeck.js +11 -8
  41. package/dist/esm/{Normal-1dbb3ddd.js → Normal-c171a945.js} +331 -113
  42. package/dist/esm/PublicationDeck.js +2 -2
  43. package/dist/esm/QueueDeckExpanded.js +13 -11
  44. package/dist/esm/{TaxonomyCard-dace0e7a.js → TaxonomyCard-12f0a90a.js} +1 -1
  45. package/dist/esm/TaxonomyCard.js +4 -3
  46. package/dist/esm/TemplateNormal.js +10 -9
  47. package/dist/esm/{Ustream-5af5d020.js → Ustream-ee7aeeef.js} +1 -1
  48. package/dist/esm/Ustream.js +4 -4
  49. package/dist/esm/VideoSeriesListing.js +10 -6
  50. package/dist/esm/YoutubeGroup.js +26 -5
  51. package/dist/esm/_library-528f1934.js +3 -0
  52. package/dist/esm/_object-pie-33c40e79.js +13 -0
  53. package/dist/esm/{_to-object-18b775df.js → _to-object-1b1f7766.js} +1 -1
  54. package/dist/esm/{debounce-702eb224.js → debounce-df468b0e.js} +1 -3
  55. package/dist/esm/{extends-886d1c3d.js → extends-92072fff.js} +3 -14
  56. package/dist/esm/{get-36d03764.js → get-53653403.js} +1 -1
  57. package/dist/esm/index.js +39 -79
  58. package/dist/esm/inherits-cacd91d8.js +203 -0
  59. package/dist/esm/{main-b2628307.js → main-25bb2c75.js} +2 -2
  60. package/dist/esm/{promise-e74ec3c8.js → promise-5d7cd78a.js} +4 -4
  61. package/dist/esm/{slicedToArray-e6f2ff4b.js → slicedToArray-04e02710.js} +2 -2
  62. package/dist/esm/{toConsumableArray-6e77ffeb.js → toConsumableArray-d7054876.js} +3 -3
  63. package/dist/esm/{inherits-08eb6462.js → typeof-e4b50250.js} +8 -205
  64. package/dist/esm/{web.dom.iterable-21cbfc63.js → web.dom.iterable-e6bf2bf6.js} +2 -2
  65. package/package.json +1 -1
@@ -1,4 +1,6 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
2
4
  import React__default from 'react';
3
5
  import 'prop-types';
4
6
  import Row from 'react-bootstrap/Row';
@@ -8,6 +10,8 @@ import { m as moment } from './moment-12415288.js';
8
10
  import 'react-dom';
9
11
  import { i as imageUrlBuilder } from './index-51a80699.js';
10
12
  import { L as LazyLoad } from './index-5f9f807a.js';
13
+ import './slicedToArray-04e02710.js';
14
+ import { A as AuthorComponent } from './AuthorComponent-beb2ad16.js';
11
15
  import Badge from 'react-bootstrap/Badge';
12
16
 
13
17
  var urlFor = function urlFor(source, client) {
@@ -53,12 +57,12 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
53
57
  Card,
54
58
  { style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
55
59
  React__default.createElement(
56
- 'a',
57
- { href: '/view/' + link },
58
- React__default.createElement(
59
- 'div',
60
- { style: { display: 'flex', flex: '1 0 auto' } },
61
- coverImage && React__default.createElement(
60
+ 'div',
61
+ { style: { display: 'flex', flex: '1 0 auto' } },
62
+ coverImage && React__default.createElement(
63
+ 'a',
64
+ { href: '/view/' + link },
65
+ React__default.createElement(
62
66
  LazyLoad,
63
67
  { height: imageHeight },
64
68
  React__default.createElement(Card.Img, {
@@ -67,47 +71,50 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
67
71
  alt: title,
68
72
  style: { width: '170px', height: 'auto', objectFit: 'contain', padding: '0.25rem', float: 'left', paddingBottom: '1rem' }
69
73
  })
70
- ),
74
+ )
75
+ ),
76
+ React__default.createElement(
77
+ Card.Body,
78
+ { style: { padding: '0.5rem' } },
79
+ section ? React__default.createElement(
80
+ Badge,
81
+ { variant: 'success' },
82
+ section.name
83
+ ) : '',
71
84
  React__default.createElement(
72
- Card.Body,
73
- { style: { padding: '0.5rem' } },
74
- section ? React__default.createElement(
75
- Badge,
76
- { variant: 'success' },
77
- section.name
78
- ) : '',
85
+ Card.Title,
86
+ { style: { color: '#121212', fontSize: '1.1rem' } },
79
87
  React__default.createElement(
80
- Card.Title,
81
- { style: { color: '#121212', fontSize: '1.1rem' } },
88
+ 'a',
89
+ { href: '/view/' + link },
82
90
  React__default.createElement(
83
91
  'span',
84
92
  null,
85
93
  title
86
- ),
87
- React__default.createElement('br', null)
94
+ )
88
95
  ),
96
+ React__default.createElement('br', null)
97
+ ),
98
+ React__default.createElement(
99
+ 'div',
100
+ { style: { float: 'left' } },
89
101
  React__default.createElement(
90
- 'div',
91
- { style: { float: 'left' } },
92
- React__default.createElement(
93
- 'p',
94
- { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
95
- moment(published).format('MMMM DD, YYYY ')
96
- ),
97
- author.length > 0 && React__default.createElement(
98
- 'p',
99
- { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
100
- 'By ',
101
- author
102
- )
102
+ 'p',
103
+ { style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
104
+ moment(published).format('MMMM DD, YYYY ')
105
+ ),
106
+ author.length > 0 && React__default.createElement(
107
+ LazyLoad,
108
+ { height: 50 },
109
+ React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: author })
103
110
  )
104
111
  )
105
- ),
106
- React__default.createElement(
107
- 'p',
108
- { style: { paddingLeft: '0.5rem' } },
109
- summary
110
112
  )
113
+ ),
114
+ React__default.createElement(
115
+ 'p',
116
+ { style: { paddingLeft: '0.5rem' } },
117
+ summary
111
118
  )
112
119
  )
113
120
  );
@@ -182,7 +189,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
182
189
  imageWidth: imageWidth,
183
190
  client: client,
184
191
  published: row.published,
185
- author: row.authorMapping && row.authorMapping.displayName ? row.authorMapping.displayName : '',
192
+ author: row.authorMapping && row.authorMapping.length > 0 ? row.authorMapping : [],
186
193
  summary: row.summary
187
194
  });
188
195
  }
@@ -1,12 +1,15 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-18b775df.js';
3
- import './web.dom.iterable-21cbfc63.js';
4
- import { d as debounce_1, l as lib_3 } from './debounce-702eb224.js';
5
- import { m as main_39 } from './main-b2628307.js';
6
- import { _ as _toConsumableArray } from './toConsumableArray-6e77ffeb.js';
7
- import { _ as _extends } from './extends-886d1c3d.js';
8
- import { c as _inherits, d as _classCallCheck, e as _possibleConstructorReturn, f as _Object$getPrototypeOf, g as _createClass } from './inherits-08eb6462.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
+ import './_library-528f1934.js';
5
+ import { m as main_39 } from './main-25bb2c75.js';
6
+ import { _ as _toConsumableArray } from './toConsumableArray-d7054876.js';
7
+ import './_object-pie-33c40e79.js';
8
+ import { _ as _extends } from './extends-92072fff.js';
9
+ import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-cacd91d8.js';
10
+ import './typeof-e4b50250.js';
9
11
  import React__default from 'react';
12
+ import { d as debounce_1, l as lib_3 } from './debounce-df468b0e.js';
10
13
  import 'prop-types';
11
14
  import Container from 'react-bootstrap/Container';
12
15
  import 'react-bootstrap/Row';
@@ -17,7 +20,7 @@ import { withRouter } from 'next/router';
17
20
  import { V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-49d5805d.js';
18
21
  import 'react-dom';
19
22
  import './index-51a80699.js';
20
- import { d as _Promise } from './promise-e74ec3c8.js';
23
+ import { d as _Promise } from './promise-5d7cd78a.js';
21
24
 
22
25
  var MasterDeck = function (_React$Component) {
23
26
  _inherits(MasterDeck, _React$Component);