@bigbinary/neeto-site-blocks 1.6.4 → 1.6.6

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/dist/index.cjs.js CHANGED
@@ -36850,7 +36850,7 @@ function requireFollowRedirects () {
36850
36850
  redirectUrl.protocol !== "https:" ||
36851
36851
  redirectUrl.host !== currentHost &&
36852
36852
  !isSubdomain(redirectUrl.host, currentHost)) {
36853
- removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
36853
+ removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
36854
36854
  }
36855
36855
 
36856
36856
  // Evaluate the beforeRedirect callback
@@ -39319,6 +39319,7 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
39319
39319
  var progressBar = function progressBar() {
39320
39320
  var width = 0;
39321
39321
  var frame = function frame() {
39322
+ if (!progressRef.current) return;
39322
39323
  if (width >= 100) {
39323
39324
  clearInterval(id);
39324
39325
  setSelectedTabId(function (prevSelectedTabId) {
@@ -39328,7 +39329,6 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
39328
39329
  width++;
39329
39330
  progressRef.current.style.width = "".concat(width, "%");
39330
39331
  }
39331
- return null;
39332
39332
  };
39333
39333
  var id = setInterval(frame, 100);
39334
39334
  setIntervalId(id);
@@ -39353,13 +39353,13 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
39353
39353
  "sm:col-start-8": contentPosition === POSITIONS.RIGHT.label
39354
39354
  });
39355
39355
  return /*#__PURE__*/React__default["default"].createElement(BlockWrapper, {
39356
+ className: className,
39357
+ enableAnimation: enableAnimation,
39358
+ id: id,
39356
39359
  backgroundImage: mergeLeft({
39357
39360
  src: src
39358
39361
  }, design.backgroundImage),
39359
- className: className,
39360
39362
  design: design.body,
39361
- enableAnimation: enableAnimation,
39362
- id: id,
39363
39363
  nestedClassName: baseClasses
39364
39364
  }, /*#__PURE__*/React__default["default"].createElement("div", {
39365
39365
  className: progressBarBaseClasses