@mjhls/mjh-framework 1.0.123 → 1.0.124

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.122
2
+ # mjh-framework v. 1.0.124
3
3
 
4
4
 
5
5
  > Foundation Framework
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import React__default, { Component, useState, useEffect, useRef, createElement, createContext } from 'react';
1
+ import React__default, { Component, useState, useEffect, useRef, createContext, createElement } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import reactDom from 'react-dom';
4
4
  import Container from 'react-bootstrap/Container';
@@ -25678,9 +25678,14 @@ var getSerializers$1 = function getSerializers(client, pageview, videoAccountIDs
25678
25678
  // feature_img { asset-> {url} }
25679
25679
  // }`
25680
25680
 
25681
+ //Update* Added control toggle for features. Will default to off -
25682
+ //<Feature controls dataset={props.features} /></div>
25681
25683
 
25682
25684
  var Feature = function Feature(props) {
25683
25685
  var dataset = props.dataset;
25686
+ var _props$controls = props.controls,
25687
+ controls = _props$controls === undefined ? false : _props$controls;
25688
+
25684
25689
 
25685
25690
  var checkUrlIsExternal = function checkUrlIsExternal(url) {
25686
25691
  if (/(http|https?)([^\s]+)/g.test(url)) {
@@ -25736,7 +25741,7 @@ var Feature = function Feature(props) {
25736
25741
  null,
25737
25742
  React__default.createElement(
25738
25743
  Carousel$1,
25739
- { touch: true },
25744
+ { touch: true, controls: controls },
25740
25745
  dataset.map(function (feature, index) {
25741
25746
  var feature_title = feature.feature_title,
25742
25747
  feature_body = feature.feature_body,