@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 +1 -1
- package/dist/index.es.js +7 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25685,9 +25685,14 @@ var getSerializers$1 = function getSerializers(client, pageview, videoAccountIDs
|
|
|
25685
25685
|
// feature_img { asset-> {url} }
|
|
25686
25686
|
// }`
|
|
25687
25687
|
|
|
25688
|
+
//Update* Added control toggle for features. Will default to off -
|
|
25689
|
+
//<Feature controls dataset={props.features} /></div>
|
|
25688
25690
|
|
|
25689
25691
|
var Feature = function Feature(props) {
|
|
25690
25692
|
var dataset = props.dataset;
|
|
25693
|
+
var _props$controls = props.controls,
|
|
25694
|
+
controls = _props$controls === undefined ? false : _props$controls;
|
|
25695
|
+
|
|
25691
25696
|
|
|
25692
25697
|
var checkUrlIsExternal = function checkUrlIsExternal(url) {
|
|
25693
25698
|
if (/(http|https?)([^\s]+)/g.test(url)) {
|
|
@@ -25743,7 +25748,7 @@ var Feature = function Feature(props) {
|
|
|
25743
25748
|
null,
|
|
25744
25749
|
React__default.createElement(
|
|
25745
25750
|
Carousel,
|
|
25746
|
-
{ touch: true },
|
|
25751
|
+
{ touch: true, controls: controls },
|
|
25747
25752
|
dataset.map(function (feature, index) {
|
|
25748
25753
|
var feature_title = feature.feature_title,
|
|
25749
25754
|
feature_body = feature.feature_body,
|