@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.js CHANGED
@@ -36804,7 +36804,7 @@ function requireFollowRedirects () {
36804
36804
  redirectUrl.protocol !== "https:" ||
36805
36805
  redirectUrl.host !== currentHost &&
36806
36806
  !isSubdomain(redirectUrl.host, currentHost)) {
36807
- removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
36807
+ removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
36808
36808
  }
36809
36809
 
36810
36810
  // Evaluate the beforeRedirect callback
@@ -39273,6 +39273,7 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
39273
39273
  var progressBar = function progressBar() {
39274
39274
  var width = 0;
39275
39275
  var frame = function frame() {
39276
+ if (!progressRef.current) return;
39276
39277
  if (width >= 100) {
39277
39278
  clearInterval(id);
39278
39279
  setSelectedTabId(function (prevSelectedTabId) {
@@ -39282,7 +39283,6 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
39282
39283
  width++;
39283
39284
  progressRef.current.style.width = "".concat(width, "%");
39284
39285
  }
39285
- return null;
39286
39286
  };
39287
39287
  var id = setInterval(frame, 100);
39288
39288
  setIntervalId(id);
@@ -39307,13 +39307,13 @@ var FeatureWithProgressBar = function FeatureWithProgressBar(_ref) {
39307
39307
  "sm:col-start-8": contentPosition === POSITIONS.RIGHT.label
39308
39308
  });
39309
39309
  return /*#__PURE__*/React__default.createElement(BlockWrapper, {
39310
+ className: className,
39311
+ enableAnimation: enableAnimation,
39312
+ id: id,
39310
39313
  backgroundImage: mergeLeft({
39311
39314
  src: src
39312
39315
  }, design.backgroundImage),
39313
- className: className,
39314
39316
  design: design.body,
39315
- enableAnimation: enableAnimation,
39316
- id: id,
39317
39317
  nestedClassName: baseClasses
39318
39318
  }, /*#__PURE__*/React__default.createElement("div", {
39319
39319
  className: progressBarBaseClasses