@mjhls/mjh-framework 1.0.345 → 1.0.347

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.345
2
+ # mjh-framework v. 1.0.347
3
3
 
4
4
 
5
5
  > Foundation Framework
@@ -58,7 +58,7 @@ var PublicationDeck = function PublicationDeck(props) {
58
58
  ),
59
59
  React__default.createElement(
60
60
  Card.Body,
61
- null,
61
+ { style: { paddingTop: '0', paddingBottom: '2.75rem' } },
62
62
  React__default.createElement(
63
63
  Card.Title,
64
64
  null,
@@ -66,7 +66,7 @@ var PublicationDeck = function PublicationDeck(props) {
66
66
  ),
67
67
  React__default.createElement(
68
68
  Button,
69
- { variant: 'secondary' },
69
+ { style: { position: 'absolute', bottom: '1rem', left: '20%' }, variant: 'secondary' },
70
70
  'Browse Issues'
71
71
  )
72
72
  )
@@ -1029,27 +1029,10 @@ var TaxonomyCard = function TaxonomyCard(props) {
1029
1029
  React__default.createElement(
1030
1030
  'div',
1031
1031
  null,
1032
- row.url ? React__default.createElement(
1033
- 'a',
1034
- { href: row.url },
1035
- React__default.createElement(
1036
- Card.Title,
1037
- null,
1038
- row.name
1039
- )
1040
- ) : React__default.createElement(
1041
- Card.Title,
1042
- null,
1043
- row.name
1044
- )
1045
- ),
1046
- React__default.createElement(
1047
- 'div',
1048
- null,
1049
- (address && address.length || companyDetails && companyDetails.length) && React__default.createElement(
1032
+ (address && address.length > 0 || companyDetails && companyDetails.length > 0) && React__default.createElement(
1050
1033
  'div',
1051
- { className: 'details-wrapper', style: { marginTop: '10px' } },
1052
- companyDetails && companyDetails.length && React__default.createElement(
1034
+ { className: 'details-wrapper' },
1035
+ companyDetails && companyDetails.length > 0 && React__default.createElement(
1053
1036
  'div',
1054
1037
  { className: 'company-wrapper' },
1055
1038
  companyDetails.map(function (field, index) {
@@ -1074,7 +1057,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
1074
1057
  }
1075
1058
  })
1076
1059
  ),
1077
- address && address.length && React__default.createElement(
1060
+ address && address.length > 0 && React__default.createElement(
1078
1061
  'div',
1079
1062
  { className: 'address-wrapper' },
1080
1063
  address.map(function (field, index) {
@@ -1111,7 +1094,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
1111
1094
  React__default.createElement(
1112
1095
  'style',
1113
1096
  { jsx: 'true' },
1114
- '\n .social-icons {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n '
1097
+ '\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
1115
1098
  )
1116
1099
  ),
1117
1100
  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-cd4b4668.js');
15
+ var TaxonomyCard = require('./TaxonomyCard-266e757b.js');
16
16
  require('./react-social-icons-cd0d9d3b.js');
17
17
 
18
18
 
package/dist/cjs/index.js CHANGED
@@ -18,7 +18,7 @@ var PropTypes = _interopDefault(require('prop-types'));
18
18
  var Container = _interopDefault(require('react-bootstrap/Container'));
19
19
  var Row = _interopDefault(require('react-bootstrap/Row'));
20
20
  var Col = _interopDefault(require('react-bootstrap/Col'));
21
- require('react-bootstrap/Card');
21
+ var Card = _interopDefault(require('react-bootstrap/Card'));
22
22
  var moment = require('./moment-66a6a284.js');
23
23
  var Router = require('next/router');
24
24
  var Router__default = _interopDefault(Router);
@@ -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-cd4b4668.js');
40
+ var TaxonomyCard = require('./TaxonomyCard-266e757b.js');
41
41
  require('./react-social-icons-cd0d9d3b.js');
42
42
  var smoothscroll = require('./smoothscroll-95231a70.js');
43
43
  var GroupDeck = require('./GroupDeck.js');
@@ -1991,7 +1991,7 @@ var EventsDeck = function EventsDeck(_ref) {
1991
1991
  { href: links.summary.href || '#', target: '_blank' },
1992
1992
  React__default.createElement(
1993
1993
  Button,
1994
- { size: 'sm', className: 'event-registration-button' },
1994
+ { size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
1995
1995
  'Register Now'
1996
1996
  )
1997
1997
  );
@@ -2020,7 +2020,7 @@ var EventsDeck = function EventsDeck(_ref) {
2020
2020
  var cardLoader = function cardLoader() {
2021
2021
  var numberOfItemsBeforeAd = 5;
2022
2022
  return React__default.createElement(
2023
- Row,
2023
+ React__default.Fragment,
2024
2024
  null,
2025
2025
  data && data.map(function (row, index) {
2026
2026
  var speakerInfo = [];
@@ -2032,12 +2032,10 @@ var EventsDeck = function EventsDeck(_ref) {
2032
2032
  });
2033
2033
  }
2034
2034
 
2035
- var description = row.description,
2036
- start = row.start,
2035
+ var start = row.start,
2037
2036
  end = row.end,
2038
2037
  venues = row.venues,
2039
2038
  _links = row._links,
2040
- virtual = row.virtual,
2041
2039
  timezone = row.timezone;
2042
2040
 
2043
2041
  var now = momentTimezone$1().tz(timezone);
@@ -2068,70 +2066,77 @@ var EventsDeck = function EventsDeck(_ref) {
2068
2066
  isVisible && changePageNumber(pageNumber);
2069
2067
  } },
2070
2068
  React__default.createElement(
2071
- Col,
2072
- { xl: 12, style: { paddingTop: '10px', marginBottom: '20px', borderTop: '1px solid #D3D3D3' } },
2073
- React__default.createElement(
2069
+ Card,
2070
+ null,
2071
+ isRegister && _links && React__default.createElement(
2074
2072
  Row,
2075
2073
  null,
2076
2074
  React__default.createElement(
2077
2075
  Col,
2078
- { xs: 12, sm: 4 },
2079
- venues && venues.length > 0 && React__default.createElement(
2080
- 'div',
2081
- null,
2082
- React__default.createElement(
2083
- 'h5',
2084
- null,
2085
- eventRegion
2086
- ),
2087
- React__default.createElement(
2088
- 'p',
2089
- { style: { padding: 0, margin: 0 } },
2090
- momentTimezone$1(start).tz(timezone).format('LL')
2091
- ),
2092
- React__default.createElement(
2093
- 'p',
2094
- { style: { padding: 0, margin: 0 } },
2095
- momentTimezone$1(start).tz(timezone).format('LT')
2096
- )
2097
- )
2098
- ),
2076
+ null,
2077
+ renderRegisterButton(_links)
2078
+ )
2079
+ ),
2080
+ discussionTopic && React__default.createElement(
2081
+ Row,
2082
+ null,
2099
2083
  React__default.createElement(
2100
2084
  Col,
2101
- { xs: 12, sm: 5 },
2102
- React__default.createElement('h6', { className: 'mb-1', dangerouslySetInnerHTML: { __html: discussionTopic } })
2103
- ),
2085
+ null,
2086
+ React__default.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
2087
+ )
2088
+ ),
2089
+ start && timezone && React__default.createElement(
2090
+ Row,
2091
+ null,
2104
2092
  React__default.createElement(
2105
2093
  Col,
2106
- { xs: 12, sm: 3 },
2107
- isRegister && renderRegisterButton(_links)
2094
+ null,
2095
+ React__default.createElement(
2096
+ 'p',
2097
+ { className: 'start-time', style: { padding: 0, margin: 0 } },
2098
+ momentTimezone$1(start).tz(timezone).format('LLL')
2099
+ )
2108
2100
  )
2109
2101
  ),
2110
- description && React__default.createElement(
2111
- React__default.Fragment,
2102
+ eventRegion && React__default.createElement(
2103
+ Row,
2112
2104
  null,
2113
2105
  React__default.createElement(
2114
- Row,
2115
- { style: { marginTop: '8px' } },
2106
+ Col,
2107
+ null,
2116
2108
  React__default.createElement(
2117
- Col,
2118
- null,
2119
- React__default.createElement('p', { dangerouslySetInnerHTML: { __html: description } })
2109
+ 'p',
2110
+ { className: 'event-region', style: { padding: 0, margin: 0 } },
2111
+ eventRegion
2120
2112
  )
2121
2113
  )
2122
2114
  ),
2123
- speakerInfo && speakerInfo.length > 0 && React__default.createElement(
2124
- React__default.Fragment,
2115
+ venues && venues.length && React__default.createElement(
2116
+ Row,
2125
2117
  null,
2126
2118
  React__default.createElement(
2127
- Row,
2128
- { style: { marginTop: '8px' } },
2119
+ Col,
2120
+ null,
2129
2121
  React__default.createElement(
2130
- Col,
2131
- null,
2122
+ 'p',
2123
+ { className: 'venue', style: { padding: 0, margin: 0 } },
2124
+ venues[0].address.country
2125
+ )
2126
+ )
2127
+ ),
2128
+ speakerInfo && speakerInfo.length && React__default.createElement(
2129
+ Row,
2130
+ null,
2131
+ React__default.createElement(
2132
+ Col,
2133
+ null,
2134
+ React__default.createElement(
2135
+ 'div',
2136
+ { className: 'speaker-section', style: { border: '1px solid', borderRadius: '8px', padding: '8px' } },
2132
2137
  React__default.createElement(
2133
2138
  'h6',
2134
- { style: { fontWeight: '600', marginBottom: '0', marginTop: '.25rem;' } },
2139
+ { className: 'speaker-title', style: { fontWeight: '600', marginBottom: '0', marginTop: '.25rem;' } },
2135
2140
  'SPEAKER'
2136
2141
  ),
2137
2142
  speakerInfo.map(function (info) {
@@ -2159,7 +2164,12 @@ var EventsDeck = function EventsDeck(_ref) {
2159
2164
  renderMobileAd(index, numberOfItemsBeforeAd)
2160
2165
  )
2161
2166
  );
2162
- })
2167
+ }),
2168
+ React__default.createElement(
2169
+ 'style',
2170
+ { jsx: 'true' },
2171
+ '\n .card {\n -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);\n border-radius: 8px;\n padding: 12px;\n }\n .row {\n margin-bottom: 8px;\n }\n '
2172
+ )
2163
2173
  );
2164
2174
  };
2165
2175
 
@@ -12998,7 +13008,8 @@ var VideoMp4 = function VideoMp4(_ref) {
12998
13008
  var YouTubeGallery = function YouTubeGallery(_ref) {
12999
13009
  var nodes = _ref.nodes,
13000
13010
  client = _ref.client,
13001
- getSerializers = _ref.getSerializers;
13011
+ getSerializers = _ref.getSerializers,
13012
+ accountIDs = _ref.accountIDs;
13002
13013
 
13003
13014
  var builder = index.imageUrlBuilder(client);
13004
13015
  function urlFor(source) {
@@ -13229,9 +13240,11 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
13229
13240
  React__default.createElement(
13230
13241
  'div',
13231
13242
  { className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
13232
- vidUrl && vidType == 'youtube' ? React__default.createElement(YouTube, { videoId: smoothscroll.getYoutubeId(vidUrl), opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: function onEnd(e) {
13243
+ vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, { videoId: smoothscroll.getYoutubeId(vidUrl), opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: function onEnd(e) {
13233
13244
  return handleOnEnd(e);
13234
- } }) : React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
13245
+ } }),
13246
+ vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
13247
+ vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs }),
13235
13248
  React__default.createElement(
13236
13249
  'div',
13237
13250
  {
@@ -13282,7 +13295,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
13282
13295
  React__default.createElement(
13283
13296
  'style',
13284
13297
  { jsx: 'true' },
13285
- '\n .vid-series .video-detail iframe {\n height: 415px !important;\n }\n span.btn {\n margin: 0 1rem;\n }\n '
13298
+ '\n .vid-series .video-detail iframe {\n height: 415px !important;\n }\n span.btn {\n margin: 0 1rem;\n }\n .brightcove .video-js {\n float: none;\n width: 100%;\n height: 385px;\n }\n @media screen and (max-width: 1399px) {\n .brightcove .video-js {\n height: 360px;\n }\n }\n @media screen and (max-width: 495px) {\n .brightcove .video-js {\n height: 255px;\n }\n }\n '
13286
13299
  )
13287
13300
  );
13288
13301
  };
@@ -13711,7 +13724,7 @@ var getSerializers = function getSerializers() {
13711
13724
  youtubeGallery: function youtubeGallery(_ref2) {
13712
13725
  var node = _ref2.node;
13713
13726
 
13714
- return React__default.createElement(YouTubeGallery, { nodes: node, client: client, getSerializers: getSerializers(client) });
13727
+ return React__default.createElement(YouTubeGallery, { nodes: node, accountIDs: videoAccountIDs || {}, client: client, getSerializers: getSerializers(client) });
13715
13728
  },
13716
13729
  figure: function figure(_ref3) {
13717
13730
  var node = _ref3.node;
@@ -16570,16 +16583,16 @@ var Article = function Article(props) {
16570
16583
  React__default.createElement(
16571
16584
  'p',
16572
16585
  null,
16573
- issue.issueNumber && React__default.createElement(
16586
+ issue.volume && React__default.createElement(
16574
16587
  'span',
16575
16588
  null,
16576
- 'Issue ' + issue.issueNumber,
16589
+ 'Volume ' + issue.volume,
16577
16590
  ','
16578
16591
  ),
16579
- issue.volume && React__default.createElement(
16592
+ issue.issueNumber && React__default.createElement(
16580
16593
  'span',
16581
16594
  null,
16582
- ' Volume ' + issue.volume
16595
+ ' Issue ' + issue.issueNumber
16583
16596
  )
16584
16597
  )
16585
16598
  )
@@ -53,7 +53,7 @@ var PublicationDeck = function PublicationDeck(props) {
53
53
  ),
54
54
  React__default.createElement(
55
55
  Card.Body,
56
- null,
56
+ { style: { paddingTop: '0', paddingBottom: '2.75rem' } },
57
57
  React__default.createElement(
58
58
  Card.Title,
59
59
  null,
@@ -61,7 +61,7 @@ var PublicationDeck = function PublicationDeck(props) {
61
61
  ),
62
62
  React__default.createElement(
63
63
  Button,
64
- { variant: 'secondary' },
64
+ { style: { position: 'absolute', bottom: '1rem', left: '20%' }, variant: 'secondary' },
65
65
  'Browse Issues'
66
66
  )
67
67
  )
@@ -1024,27 +1024,10 @@ var TaxonomyCard = function TaxonomyCard(props) {
1024
1024
  React__default.createElement(
1025
1025
  'div',
1026
1026
  null,
1027
- row.url ? React__default.createElement(
1028
- 'a',
1029
- { href: row.url },
1030
- React__default.createElement(
1031
- Card.Title,
1032
- null,
1033
- row.name
1034
- )
1035
- ) : React__default.createElement(
1036
- Card.Title,
1037
- null,
1038
- row.name
1039
- )
1040
- ),
1041
- React__default.createElement(
1042
- 'div',
1043
- null,
1044
- (address && address.length || companyDetails && companyDetails.length) && React__default.createElement(
1027
+ (address && address.length > 0 || companyDetails && companyDetails.length > 0) && React__default.createElement(
1045
1028
  'div',
1046
- { className: 'details-wrapper', style: { marginTop: '10px' } },
1047
- companyDetails && companyDetails.length && React__default.createElement(
1029
+ { className: 'details-wrapper' },
1030
+ companyDetails && companyDetails.length > 0 && React__default.createElement(
1048
1031
  'div',
1049
1032
  { className: 'company-wrapper' },
1050
1033
  companyDetails.map(function (field, index) {
@@ -1069,7 +1052,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
1069
1052
  }
1070
1053
  })
1071
1054
  ),
1072
- address && address.length && React__default.createElement(
1055
+ address && address.length > 0 && React__default.createElement(
1073
1056
  'div',
1074
1057
  { className: 'address-wrapper' },
1075
1058
  address.map(function (field, index) {
@@ -1106,7 +1089,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
1106
1089
  React__default.createElement(
1107
1090
  'style',
1108
1091
  { jsx: 'true' },
1109
- '\n .social-icons {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n '
1092
+ '\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
1110
1093
  )
1111
1094
  ),
1112
1095
  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-c17e6d28.js';
13
+ export { T as default } from './TaxonomyCard-c1a1a544.js';
14
14
  import './react-social-icons-a7d5c5c7.js';
package/dist/esm/index.js CHANGED
@@ -11,7 +11,7 @@ import PropTypes from 'prop-types';
11
11
  import Container from 'react-bootstrap/Container';
12
12
  import Row from 'react-bootstrap/Row';
13
13
  import Col from 'react-bootstrap/Col';
14
- import 'react-bootstrap/Card';
14
+ import Card from 'react-bootstrap/Card';
15
15
  import { m as moment } from './moment-12415288.js';
16
16
  import Router, { useRouter } from 'next/router';
17
17
  import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-49d5805d.js';
@@ -30,14 +30,14 @@ 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-c17e6d28.js';
34
- export { T as TaxonomyCard } from './TaxonomyCard-c17e6d28.js';
33
+ import { B as BlockContent } from './TaxonomyCard-c1a1a544.js';
34
+ export { T as TaxonomyCard } from './TaxonomyCard-c1a1a544.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';
38
38
  export { default as GroupDeck } from './GroupDeck.js';
39
39
  export { default as YoutubeGroup } from './YoutubeGroup.js';
40
- import { Spinner as Spinner$1, Container as Container$1, Row as Row$1, Col as Col$1, Carousel, Table, Figure as Figure$1, Button as Button$1, ProgressBar, Card, Form } from 'react-bootstrap';
40
+ import { Spinner as Spinner$1, Container as Container$1, Row as Row$1, Col as Col$1, Carousel, Table, Figure as Figure$1, Button as Button$1, ProgressBar, Card as Card$1, Form } from 'react-bootstrap';
41
41
  export { default as QueueDeckExpanded } from './QueueDeckExpanded.js';
42
42
  import { I as IoMdArrowDropdown } from './index.esm-536609db.js';
43
43
  export { default as VideoSeriesListing } from './VideoSeriesListing.js';
@@ -1988,7 +1988,7 @@ var EventsDeck = function EventsDeck(_ref) {
1988
1988
  { href: links.summary.href || '#', target: '_blank' },
1989
1989
  React__default.createElement(
1990
1990
  Button,
1991
- { size: 'sm', className: 'event-registration-button' },
1991
+ { size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
1992
1992
  'Register Now'
1993
1993
  )
1994
1994
  );
@@ -2017,7 +2017,7 @@ var EventsDeck = function EventsDeck(_ref) {
2017
2017
  var cardLoader = function cardLoader() {
2018
2018
  var numberOfItemsBeforeAd = 5;
2019
2019
  return React__default.createElement(
2020
- Row,
2020
+ React__default.Fragment,
2021
2021
  null,
2022
2022
  data && data.map(function (row, index) {
2023
2023
  var speakerInfo = [];
@@ -2029,12 +2029,10 @@ var EventsDeck = function EventsDeck(_ref) {
2029
2029
  });
2030
2030
  }
2031
2031
 
2032
- var description = row.description,
2033
- start = row.start,
2032
+ var start = row.start,
2034
2033
  end = row.end,
2035
2034
  venues = row.venues,
2036
2035
  _links = row._links,
2037
- virtual = row.virtual,
2038
2036
  timezone = row.timezone;
2039
2037
 
2040
2038
  var now = momentTimezone$1().tz(timezone);
@@ -2065,70 +2063,77 @@ var EventsDeck = function EventsDeck(_ref) {
2065
2063
  isVisible && changePageNumber(pageNumber);
2066
2064
  } },
2067
2065
  React__default.createElement(
2068
- Col,
2069
- { xl: 12, style: { paddingTop: '10px', marginBottom: '20px', borderTop: '1px solid #D3D3D3' } },
2070
- React__default.createElement(
2066
+ Card,
2067
+ null,
2068
+ isRegister && _links && React__default.createElement(
2071
2069
  Row,
2072
2070
  null,
2073
2071
  React__default.createElement(
2074
2072
  Col,
2075
- { xs: 12, sm: 4 },
2076
- venues && venues.length > 0 && React__default.createElement(
2077
- 'div',
2078
- null,
2079
- React__default.createElement(
2080
- 'h5',
2081
- null,
2082
- eventRegion
2083
- ),
2084
- React__default.createElement(
2085
- 'p',
2086
- { style: { padding: 0, margin: 0 } },
2087
- momentTimezone$1(start).tz(timezone).format('LL')
2088
- ),
2089
- React__default.createElement(
2090
- 'p',
2091
- { style: { padding: 0, margin: 0 } },
2092
- momentTimezone$1(start).tz(timezone).format('LT')
2093
- )
2094
- )
2095
- ),
2073
+ null,
2074
+ renderRegisterButton(_links)
2075
+ )
2076
+ ),
2077
+ discussionTopic && React__default.createElement(
2078
+ Row,
2079
+ null,
2096
2080
  React__default.createElement(
2097
2081
  Col,
2098
- { xs: 12, sm: 5 },
2099
- React__default.createElement('h6', { className: 'mb-1', dangerouslySetInnerHTML: { __html: discussionTopic } })
2100
- ),
2082
+ null,
2083
+ React__default.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
2084
+ )
2085
+ ),
2086
+ start && timezone && React__default.createElement(
2087
+ Row,
2088
+ null,
2101
2089
  React__default.createElement(
2102
2090
  Col,
2103
- { xs: 12, sm: 3 },
2104
- isRegister && renderRegisterButton(_links)
2091
+ null,
2092
+ React__default.createElement(
2093
+ 'p',
2094
+ { className: 'start-time', style: { padding: 0, margin: 0 } },
2095
+ momentTimezone$1(start).tz(timezone).format('LLL')
2096
+ )
2105
2097
  )
2106
2098
  ),
2107
- description && React__default.createElement(
2108
- React__default.Fragment,
2099
+ eventRegion && React__default.createElement(
2100
+ Row,
2109
2101
  null,
2110
2102
  React__default.createElement(
2111
- Row,
2112
- { style: { marginTop: '8px' } },
2103
+ Col,
2104
+ null,
2113
2105
  React__default.createElement(
2114
- Col,
2115
- null,
2116
- React__default.createElement('p', { dangerouslySetInnerHTML: { __html: description } })
2106
+ 'p',
2107
+ { className: 'event-region', style: { padding: 0, margin: 0 } },
2108
+ eventRegion
2117
2109
  )
2118
2110
  )
2119
2111
  ),
2120
- speakerInfo && speakerInfo.length > 0 && React__default.createElement(
2121
- React__default.Fragment,
2112
+ venues && venues.length && React__default.createElement(
2113
+ Row,
2122
2114
  null,
2123
2115
  React__default.createElement(
2124
- Row,
2125
- { style: { marginTop: '8px' } },
2116
+ Col,
2117
+ null,
2126
2118
  React__default.createElement(
2127
- Col,
2128
- null,
2119
+ 'p',
2120
+ { className: 'venue', style: { padding: 0, margin: 0 } },
2121
+ venues[0].address.country
2122
+ )
2123
+ )
2124
+ ),
2125
+ speakerInfo && speakerInfo.length && React__default.createElement(
2126
+ Row,
2127
+ null,
2128
+ React__default.createElement(
2129
+ Col,
2130
+ null,
2131
+ React__default.createElement(
2132
+ 'div',
2133
+ { className: 'speaker-section', style: { border: '1px solid', borderRadius: '8px', padding: '8px' } },
2129
2134
  React__default.createElement(
2130
2135
  'h6',
2131
- { style: { fontWeight: '600', marginBottom: '0', marginTop: '.25rem;' } },
2136
+ { className: 'speaker-title', style: { fontWeight: '600', marginBottom: '0', marginTop: '.25rem;' } },
2132
2137
  'SPEAKER'
2133
2138
  ),
2134
2139
  speakerInfo.map(function (info) {
@@ -2156,7 +2161,12 @@ var EventsDeck = function EventsDeck(_ref) {
2156
2161
  renderMobileAd(index, numberOfItemsBeforeAd)
2157
2162
  )
2158
2163
  );
2159
- })
2164
+ }),
2165
+ React__default.createElement(
2166
+ 'style',
2167
+ { jsx: 'true' },
2168
+ '\n .card {\n -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);\n border-radius: 8px;\n padding: 12px;\n }\n .row {\n margin-bottom: 8px;\n }\n '
2169
+ )
2160
2170
  );
2161
2171
  };
2162
2172
 
@@ -12995,7 +13005,8 @@ var VideoMp4 = function VideoMp4(_ref) {
12995
13005
  var YouTubeGallery = function YouTubeGallery(_ref) {
12996
13006
  var nodes = _ref.nodes,
12997
13007
  client = _ref.client,
12998
- getSerializers = _ref.getSerializers;
13008
+ getSerializers = _ref.getSerializers,
13009
+ accountIDs = _ref.accountIDs;
12999
13010
 
13000
13011
  var builder = imageUrlBuilder(client);
13001
13012
  function urlFor(source) {
@@ -13226,9 +13237,11 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
13226
13237
  React__default.createElement(
13227
13238
  'div',
13228
13239
  { className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
13229
- vidUrl && vidType == 'youtube' ? React__default.createElement(YouTube, { videoId: getYoutubeId(vidUrl), opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: function onEnd(e) {
13240
+ vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, { videoId: getYoutubeId(vidUrl), opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: function onEnd(e) {
13230
13241
  return handleOnEnd(e);
13231
- } }) : React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
13242
+ } }),
13243
+ vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
13244
+ vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs }),
13232
13245
  React__default.createElement(
13233
13246
  'div',
13234
13247
  {
@@ -13279,7 +13292,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
13279
13292
  React__default.createElement(
13280
13293
  'style',
13281
13294
  { jsx: 'true' },
13282
- '\n .vid-series .video-detail iframe {\n height: 415px !important;\n }\n span.btn {\n margin: 0 1rem;\n }\n '
13295
+ '\n .vid-series .video-detail iframe {\n height: 415px !important;\n }\n span.btn {\n margin: 0 1rem;\n }\n .brightcove .video-js {\n float: none;\n width: 100%;\n height: 385px;\n }\n @media screen and (max-width: 1399px) {\n .brightcove .video-js {\n height: 360px;\n }\n }\n @media screen and (max-width: 495px) {\n .brightcove .video-js {\n height: 255px;\n }\n }\n '
13283
13296
  )
13284
13297
  );
13285
13298
  };
@@ -13708,7 +13721,7 @@ var getSerializers = function getSerializers() {
13708
13721
  youtubeGallery: function youtubeGallery(_ref2) {
13709
13722
  var node = _ref2.node;
13710
13723
 
13711
- return React__default.createElement(YouTubeGallery, { nodes: node, client: client, getSerializers: getSerializers(client) });
13724
+ return React__default.createElement(YouTubeGallery, { nodes: node, accountIDs: videoAccountIDs || {}, client: client, getSerializers: getSerializers(client) });
13712
13725
  },
13713
13726
  figure: function figure(_ref3) {
13714
13727
  var node = _ref3.node;
@@ -14069,16 +14082,16 @@ var Hero = function Hero(_ref) {
14069
14082
  'a',
14070
14083
  { href: '/view/' + url.current },
14071
14084
  React__default.createElement(
14072
- Card,
14085
+ Card$1,
14073
14086
  { bsPrefix: 'hero-card' },
14074
14087
  title && React__default.createElement(
14075
- Card.Header,
14088
+ Card$1.Header,
14076
14089
  { className: 'h4' },
14077
14090
  title
14078
14091
  ),
14079
- thumbnail && client && React__default.createElement(Card.Img, { src: renderCardImage(thumbnail, client, imageHeight, imageWidth) }),
14092
+ thumbnail && client && React__default.createElement(Card$1.Img, { src: renderCardImage(thumbnail, client, imageHeight, imageWidth) }),
14080
14093
  summary && React__default.createElement(
14081
- Card.Footer,
14094
+ Card$1.Footer,
14082
14095
  { className: 'h6' },
14083
14096
  clean_html_1(summary)
14084
14097
  )
@@ -16567,16 +16580,16 @@ var Article = function Article(props) {
16567
16580
  React__default.createElement(
16568
16581
  'p',
16569
16582
  null,
16570
- issue.issueNumber && React__default.createElement(
16583
+ issue.volume && React__default.createElement(
16571
16584
  'span',
16572
16585
  null,
16573
- 'Issue ' + issue.issueNumber,
16586
+ 'Volume ' + issue.volume,
16574
16587
  ','
16575
16588
  ),
16576
- issue.volume && React__default.createElement(
16589
+ issue.issueNumber && React__default.createElement(
16577
16590
  'span',
16578
16591
  null,
16579
- ' Volume ' + issue.volume
16592
+ ' Issue ' + issue.issueNumber
16580
16593
  )
16581
16594
  )
16582
16595
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.345",
3
+ "version": "1.0.347",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",