@mjhls/mjh-framework 1.0.60 → 1.0.61

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,4 +1,4 @@
1
- # mjh-framework v. 1.0.60
1
+ # mjh-framework v. 1.0.61
2
2
 
3
3
  > Foundation Framework
4
4
 
package/dist/index.es.js CHANGED
@@ -5,7 +5,7 @@ import Row from 'react-bootstrap/Row';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Card from 'react-bootstrap/Card';
7
7
  import Link from 'next/link';
8
- import { withRouter } from 'next/router';
8
+ import { withRouter, useRouter } from 'next/router';
9
9
  import Media from 'react-bootstrap/Media';
10
10
  import ListGroup from 'react-bootstrap/ListGroup';
11
11
  import Head from 'next/head';
@@ -6234,8 +6234,9 @@ var Search = function Search(_ref) {
6234
6234
  var _ref$placeholder = _ref.placeholder,
6235
6235
  placeholder = _ref$placeholder === undefined ? 'Search' : _ref$placeholder,
6236
6236
  _ref$btnText = _ref.btnText,
6237
- btnText = _ref$btnText === undefined ? 'Search' : _ref$btnText,
6238
- router = _ref.router;
6237
+ btnText = _ref$btnText === undefined ? 'Search' : _ref$btnText;
6238
+
6239
+ var router = useRouter();
6239
6240
 
6240
6241
  var _useState = useState(''),
6241
6242
  _useState2 = slicedToArray(_useState, 2),
@@ -6270,8 +6271,6 @@ var Search = function Search(_ref) {
6270
6271
  );
6271
6272
  };
6272
6273
 
6273
- var Search$1 = withRouter(Search);
6274
-
6275
6274
  var NavDvm = function NavDvm(props) {
6276
6275
  var logo = props.logo,
6277
6276
  mobileLogo = props.mobileLogo,
@@ -6366,7 +6365,7 @@ var NavDvm = function NavDvm(props) {
6366
6365
  }
6367
6366
  })
6368
6367
  ),
6369
- React__default.createElement(Search$1, null)
6368
+ React__default.createElement(Search, null)
6370
6369
  )
6371
6370
  )
6372
6371
  ),
@@ -10107,7 +10106,15 @@ var YouTubePlayer$1 = function YouTubePlayer(_ref) {
10107
10106
  var url = _ref.url;
10108
10107
 
10109
10108
  var id = getYoutubeId(url);
10110
- return React__default.createElement(YouTube, { videoId: id, opts: { width: '100%' } });
10109
+
10110
+ var opts = {
10111
+ width: '100%',
10112
+ playerVars: {
10113
+ rel: 0
10114
+ }
10115
+ };
10116
+
10117
+ return React__default.createElement(YouTube, { videoId: id, opts: opts });
10111
10118
  };
10112
10119
 
10113
10120
  /*
@@ -11153,5 +11160,5 @@ var getSerializers$1 = function getSerializers(client) {
11153
11160
  };
11154
11161
  };
11155
11162
 
11156
- export { ContentCard as DeckContent, DeckQueue, ThumbnailCard, TaxonomyCard, GroupDeck, Column1, Column2, Column3, Header, LeftNav, AccordionPanel, NavMagazine, NavNative, NavNormal, NavDvm, TemplateNormal, AD300x250, AD300x250x600, AD728x90, getSerializers$1 as getSerializers, Search$1 as Search };
11163
+ export { ContentCard as DeckContent, DeckQueue, ThumbnailCard, TaxonomyCard, GroupDeck, Column1, Column2, Column3, Header, LeftNav, AccordionPanel, NavMagazine, NavNative, NavNormal, NavDvm, TemplateNormal, AD300x250, AD300x250x600, AD728x90, getSerializers$1 as getSerializers, Search };
11157
11164
  //# sourceMappingURL=index.es.js.map