@rash2x/bridge-widget 0.2.0 → 0.2.2

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.
@@ -1516,17 +1516,17 @@ function createFocusGuard() {
1516
1516
  element.style.pointerEvents = "none";
1517
1517
  return element;
1518
1518
  }
1519
- var __assign = function() {
1520
- __assign = Object.assign || function __assign2(t) {
1519
+ var __assign$1 = function() {
1520
+ __assign$1 = Object.assign || function __assign2(t) {
1521
1521
  for (var s, i = 1, n = arguments.length; i < n; i++) {
1522
1522
  s = arguments[i];
1523
1523
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
1524
1524
  }
1525
1525
  return t;
1526
1526
  };
1527
- return __assign.apply(this, arguments);
1527
+ return __assign$1.apply(this, arguments);
1528
1528
  };
1529
- function __rest(s, e) {
1529
+ function __rest$1(s, e) {
1530
1530
  var t = {};
1531
1531
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1532
1532
  t[p] = s[p];
@@ -1616,6 +1616,31 @@ function useMergeRefs(refs, defaultValue) {
1616
1616
  }, [refs]);
1617
1617
  return callbackRef;
1618
1618
  }
1619
+ var __assign = function() {
1620
+ __assign = Object.assign || function __assign2(t) {
1621
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
1622
+ s = arguments[i];
1623
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
1624
+ }
1625
+ return t;
1626
+ };
1627
+ return __assign.apply(this, arguments);
1628
+ };
1629
+ function __rest(s, e) {
1630
+ var t = {};
1631
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1632
+ t[p] = s[p];
1633
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1634
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1635
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1636
+ t[p[i]] = s[p[i]];
1637
+ }
1638
+ return t;
1639
+ }
1640
+ typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
1641
+ var e = new Error(message);
1642
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1643
+ };
1619
1644
  function ItoI(a) {
1620
1645
  return a;
1621
1646
  }
@@ -1727,15 +1752,15 @@ var RemoveScroll = React__namespace.forwardRef(function(props, parentRef) {
1727
1752
  onWheelCapture: nothing,
1728
1753
  onTouchMoveCapture: nothing
1729
1754
  }), callbacks = _a[0], setCallbacks = _a[1];
1730
- var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, gapMode = props.gapMode, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]);
1755
+ var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, gapMode = props.gapMode, rest = __rest$1(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]);
1731
1756
  var SideCar2 = sideCar;
1732
1757
  var containerRef = useMergeRefs([ref, parentRef]);
1733
- var containerProps = __assign(__assign({}, rest), callbacks);
1758
+ var containerProps = __assign$1(__assign$1({}, rest), callbacks);
1734
1759
  return React__namespace.createElement(
1735
1760
  React__namespace.Fragment,
1736
1761
  null,
1737
1762
  enabled && React__namespace.createElement(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noRelative, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode }),
1738
- forwardProps ? React__namespace.cloneElement(React__namespace.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : React__namespace.createElement(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
1763
+ forwardProps ? React__namespace.cloneElement(React__namespace.Children.only(children), __assign$1(__assign$1({}, containerProps), { ref: containerRef })) : React__namespace.createElement(Container, __assign$1({}, containerProps, { className, ref: containerRef }), children)
1739
1764
  );
1740
1765
  });
1741
1766
  RemoveScroll.defaultProps = {
@@ -2167,7 +2192,7 @@ function getOutermostShadowParent(node) {
2167
2192
  }
2168
2193
  const SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
2169
2194
  var ReactRemoveScroll = React__namespace.forwardRef(function(props, ref) {
2170
- return React__namespace.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: SideCar }));
2195
+ return React__namespace.createElement(RemoveScroll, __assign$1({}, props, { ref, sideCar: SideCar }));
2171
2196
  });
2172
2197
  ReactRemoveScroll.classNames = RemoveScroll.classNames;
2173
2198
  var getDefaultParent = function(originalTarget) {