@mjhls/mjh-framework 1.0.309 → 1.0.310

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.309
2
+ # mjh-framework v. 1.0.310
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -18,7 +18,7 @@ var Router = require('next/router');
18
18
  var Router__default = _interopDefault(Router);
19
19
  require('react-dom');
20
20
  require('./index-fa0fb52c.js');
21
- var YoutubeGroup = require('./YoutubeGroup-98ffbc57.js');
21
+ var YoutubeGroup = require('./YoutubeGroup-44b6c266.js');
22
22
  var index_esm = require('./index.esm-340d3792.js');
23
23
 
24
24
  var VideoSeriesListing = function (_React$Component) {
@@ -518,6 +518,11 @@ var YoutubeGroup = function YoutubeGroup(props) {
518
518
  if (direction === 'prev') {
519
519
  scrollDirection = scrollOffset - viewableWidth;
520
520
  }
521
+
522
+ if (slide.clientWidth <= scrollDirection) {
523
+ scrollDirection = 0;
524
+ }
525
+
521
526
  slide.scrollTo({
522
527
  left: scrollDirection,
523
528
  behavior: 'smooth'
@@ -6,7 +6,7 @@ require('prop-types');
6
6
  require('next/link');
7
7
  require('react-dom');
8
8
  require('./index-fa0fb52c.js');
9
- var YoutubeGroup = require('./YoutubeGroup-98ffbc57.js');
9
+ var YoutubeGroup = require('./YoutubeGroup-44b6c266.js');
10
10
 
11
11
 
12
12
 
package/dist/cjs/index.js CHANGED
@@ -41,7 +41,7 @@ var ThumbnailCard = require('./ThumbnailCard.js');
41
41
  var TaxonomyCard = require('./TaxonomyCard-a8a64f98.js');
42
42
  require('./react-social-icons-cd0d9d3b.js');
43
43
  var GroupDeck = require('./GroupDeck.js');
44
- var YoutubeGroup = require('./YoutubeGroup-98ffbc57.js');
44
+ var YoutubeGroup = require('./YoutubeGroup-44b6c266.js');
45
45
  var reactBootstrap = require('react-bootstrap');
46
46
  var QueueDeckExpanded = require('./QueueDeckExpanded.js');
47
47
  var index_esm = require('./index.esm-340d3792.js');
@@ -12,7 +12,7 @@ import 'next/link';
12
12
  import { withRouter } from 'next/router';
13
13
  import 'react-dom';
14
14
  import './index-5f9f807a.js';
15
- import { Y as YoutubeGroup } from './YoutubeGroup-562ed456.js';
15
+ import { Y as YoutubeGroup } from './YoutubeGroup-a3ea5e8e.js';
16
16
  import { a as IoIosArrowForward } from './index.esm-536609db.js';
17
17
 
18
18
  var VideoSeriesListing = function (_React$Component) {
@@ -513,6 +513,11 @@ var YoutubeGroup = function YoutubeGroup(props) {
513
513
  if (direction === 'prev') {
514
514
  scrollDirection = scrollOffset - viewableWidth;
515
515
  }
516
+
517
+ if (slide.clientWidth <= scrollDirection) {
518
+ scrollDirection = 0;
519
+ }
520
+
516
521
  slide.scrollTo({
517
522
  left: scrollDirection,
518
523
  behavior: 'smooth'
@@ -4,4 +4,4 @@ import 'prop-types';
4
4
  import 'next/link';
5
5
  import 'react-dom';
6
6
  import './index-5f9f807a.js';
7
- export { Y as default } from './YoutubeGroup-562ed456.js';
7
+ export { Y as default } from './YoutubeGroup-a3ea5e8e.js';
package/dist/esm/index.js CHANGED
@@ -36,8 +36,8 @@ export { T as TaxonomyCard } from './TaxonomyCard-ea494c28.js';
36
36
  import './react-social-icons-a7d5c5c7.js';
37
37
  import GroupDeck from './GroupDeck.js';
38
38
  export { default as GroupDeck } from './GroupDeck.js';
39
- import { g as getYoutubeId } from './YoutubeGroup-562ed456.js';
40
- export { Y as YoutubeGroup } from './YoutubeGroup-562ed456.js';
39
+ import { g as getYoutubeId } from './YoutubeGroup-a3ea5e8e.js';
40
+ export { Y as YoutubeGroup } from './YoutubeGroup-a3ea5e8e.js';
41
41
  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';
42
42
  export { default as QueueDeckExpanded } from './QueueDeckExpanded.js';
43
43
  import { I as IoMdArrowDropdown } from './index.esm-536609db.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.309",
3
+ "version": "1.0.310",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",