@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.
- package/dist/evaa-bridge.cjs +33 -8
- package/dist/evaa-bridge.cjs.map +1 -1
- package/dist/evaa-bridge.mjs +33 -8
- package/dist/evaa-bridge.mjs.map +1 -1
- package/dist/styles.css +2 -1
- package/package.json +2 -1
package/dist/evaa-bridge.mjs
CHANGED
|
@@ -1477,17 +1477,17 @@ function createFocusGuard() {
|
|
|
1477
1477
|
element.style.pointerEvents = "none";
|
|
1478
1478
|
return element;
|
|
1479
1479
|
}
|
|
1480
|
-
var __assign = function() {
|
|
1481
|
-
__assign = Object.assign || function __assign2(t2) {
|
|
1480
|
+
var __assign$1 = function() {
|
|
1481
|
+
__assign$1 = Object.assign || function __assign2(t2) {
|
|
1482
1482
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1483
1483
|
s = arguments[i];
|
|
1484
1484
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t2[p] = s[p];
|
|
1485
1485
|
}
|
|
1486
1486
|
return t2;
|
|
1487
1487
|
};
|
|
1488
|
-
return __assign.apply(this, arguments);
|
|
1488
|
+
return __assign$1.apply(this, arguments);
|
|
1489
1489
|
};
|
|
1490
|
-
function __rest(s, e) {
|
|
1490
|
+
function __rest$1(s, e) {
|
|
1491
1491
|
var t2 = {};
|
|
1492
1492
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1493
1493
|
t2[p] = s[p];
|
|
@@ -1577,6 +1577,31 @@ function useMergeRefs(refs, defaultValue) {
|
|
|
1577
1577
|
}, [refs]);
|
|
1578
1578
|
return callbackRef;
|
|
1579
1579
|
}
|
|
1580
|
+
var __assign = function() {
|
|
1581
|
+
__assign = Object.assign || function __assign2(t2) {
|
|
1582
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1583
|
+
s = arguments[i];
|
|
1584
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t2[p] = s[p];
|
|
1585
|
+
}
|
|
1586
|
+
return t2;
|
|
1587
|
+
};
|
|
1588
|
+
return __assign.apply(this, arguments);
|
|
1589
|
+
};
|
|
1590
|
+
function __rest(s, e) {
|
|
1591
|
+
var t2 = {};
|
|
1592
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1593
|
+
t2[p] = s[p];
|
|
1594
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
1595
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1596
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
1597
|
+
t2[p[i]] = s[p[i]];
|
|
1598
|
+
}
|
|
1599
|
+
return t2;
|
|
1600
|
+
}
|
|
1601
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
1602
|
+
var e = new Error(message);
|
|
1603
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1604
|
+
};
|
|
1580
1605
|
function ItoI(a) {
|
|
1581
1606
|
return a;
|
|
1582
1607
|
}
|
|
@@ -1688,15 +1713,15 @@ var RemoveScroll = React.forwardRef(function(props, parentRef) {
|
|
|
1688
1713
|
onWheelCapture: nothing,
|
|
1689
1714
|
onTouchMoveCapture: nothing
|
|
1690
1715
|
}), callbacks = _a[0], setCallbacks = _a[1];
|
|
1691
|
-
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"]);
|
|
1716
|
+
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"]);
|
|
1692
1717
|
var SideCar2 = sideCar;
|
|
1693
1718
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
1694
|
-
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
1719
|
+
var containerProps = __assign$1(__assign$1({}, rest), callbacks);
|
|
1695
1720
|
return React.createElement(
|
|
1696
1721
|
React.Fragment,
|
|
1697
1722
|
null,
|
|
1698
1723
|
enabled && React.createElement(SideCar2, { sideCar: effectCar, removeScrollBar, shards, noRelative, noIsolation, inert, setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode }),
|
|
1699
|
-
forwardProps ? React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : React.createElement(Container, __assign({}, containerProps, { className, ref: containerRef }), children)
|
|
1724
|
+
forwardProps ? React.cloneElement(React.Children.only(children), __assign$1(__assign$1({}, containerProps), { ref: containerRef })) : React.createElement(Container, __assign$1({}, containerProps, { className, ref: containerRef }), children)
|
|
1700
1725
|
);
|
|
1701
1726
|
});
|
|
1702
1727
|
RemoveScroll.defaultProps = {
|
|
@@ -2128,7 +2153,7 @@ function getOutermostShadowParent(node) {
|
|
|
2128
2153
|
}
|
|
2129
2154
|
const SideCar = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
2130
2155
|
var ReactRemoveScroll = React.forwardRef(function(props, ref) {
|
|
2131
|
-
return React.createElement(RemoveScroll, __assign({}, props, { ref, sideCar: SideCar }));
|
|
2156
|
+
return React.createElement(RemoveScroll, __assign$1({}, props, { ref, sideCar: SideCar }));
|
|
2132
2157
|
});
|
|
2133
2158
|
ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
2134
2159
|
var getDefaultParent = function(originalTarget) {
|