vrembem 3.0.8 → 3.0.9
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/dev/scripts.esm.js +26 -15
- package/dev/scripts.esm.js.map +1 -1
- package/dev/scripts.js +26 -15
- package/dev/scripts.js.map +1 -1
- package/dev/{scripts.modern.js → scripts.modern.mjs} +26 -14
- package/dev/scripts.modern.mjs.map +1 -0
- package/dev/scripts.umd.js +26 -15
- package/dev/scripts.umd.js.map +1 -1
- package/dev/styles.css +12 -127
- package/dev/styles.css.map +1 -1
- package/dist/scripts.esm.js +1 -1
- package/dist/scripts.esm.js.map +1 -1
- package/dist/scripts.js +1 -1
- package/dist/scripts.js.map +1 -1
- package/dist/scripts.modern.mjs +2 -0
- package/dist/scripts.modern.mjs.map +1 -0
- package/dist/scripts.umd.js +1 -1
- package/dist/scripts.umd.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/index.scss +2 -3
- package/package.json +26 -26
- package/dev/scripts.modern.js.map +0 -1
- package/dist/scripts.modern.js +0 -2
- package/dist/scripts.modern.js.map +0 -1
package/dev/scripts.umd.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
function _extends() {
|
|
26
|
-
_extends = Object.assign
|
|
26
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
27
27
|
for (var i = 1; i < arguments.length; i++) {
|
|
28
28
|
var source = arguments[i];
|
|
29
29
|
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
|
|
37
37
|
return target;
|
|
38
38
|
};
|
|
39
|
-
|
|
40
39
|
return _extends.apply(this, arguments);
|
|
41
40
|
}
|
|
42
41
|
|
|
@@ -48,11 +47,10 @@
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
function _setPrototypeOf(o, p) {
|
|
51
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
50
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
52
51
|
o.__proto__ = p;
|
|
53
52
|
return o;
|
|
54
53
|
};
|
|
55
|
-
|
|
56
54
|
return _setPrototypeOf(o, p);
|
|
57
55
|
}
|
|
58
56
|
|
|
@@ -434,7 +432,20 @@
|
|
|
434
432
|
return Collection;
|
|
435
433
|
}();
|
|
436
434
|
|
|
437
|
-
var focusableSelectors = [
|
|
435
|
+
var focusableSelectors = [
|
|
436
|
+
'a[href]:not([tabindex^="-"])',
|
|
437
|
+
'area[href]:not([tabindex^="-"])',
|
|
438
|
+
'input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])',
|
|
439
|
+
'input[type="radio"]:not([disabled]):not([tabindex^="-"])',
|
|
440
|
+
'select:not([disabled]):not([tabindex^="-"])',
|
|
441
|
+
'textarea:not([disabled]):not([tabindex^="-"])',
|
|
442
|
+
'button:not([disabled]):not([tabindex^="-"])',
|
|
443
|
+
'iframe:not([tabindex^="-"])',
|
|
444
|
+
'audio[controls]:not([tabindex^="-"])',
|
|
445
|
+
'video[controls]:not([tabindex^="-"])',
|
|
446
|
+
'[contenteditable]:not([tabindex^="-"])',
|
|
447
|
+
'[tabindex]:not([tabindex^="-"])',
|
|
448
|
+
];
|
|
438
449
|
|
|
439
450
|
var _focusable = /*#__PURE__*/_classPrivateFieldLooseKey("focusable");
|
|
440
451
|
|
|
@@ -2846,17 +2857,17 @@
|
|
|
2846
2857
|
return true;
|
|
2847
2858
|
} // then fallback to custom implementation with Shadow DOM support
|
|
2848
2859
|
else if (rootNode && isShadowRoot(rootNode)) {
|
|
2849
|
-
|
|
2860
|
+
var next = child;
|
|
2850
2861
|
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2862
|
+
do {
|
|
2863
|
+
if (next && parent.isSameNode(next)) {
|
|
2864
|
+
return true;
|
|
2865
|
+
} // $FlowFixMe[prop-missing]: need a better way to handle this...
|
|
2855
2866
|
|
|
2856
2867
|
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2868
|
+
next = next.parentNode || next.host;
|
|
2869
|
+
} while (next);
|
|
2870
|
+
} // Give up, the result is false
|
|
2860
2871
|
|
|
2861
2872
|
|
|
2862
2873
|
return false;
|
|
@@ -3913,11 +3924,11 @@
|
|
|
3913
3924
|
|
|
3914
3925
|
function popperOffsets(_ref) {
|
|
3915
3926
|
var state = _ref.state,
|
|
3916
|
-
name = _ref.name;
|
|
3927
|
+
name = _ref.name;
|
|
3928
|
+
// Offsets are the actual position the popper needs to have to be
|
|
3917
3929
|
// properly positioned near its reference element
|
|
3918
3930
|
// This is the most basic placement, and will be adjusted by
|
|
3919
3931
|
// the modifiers in the next step
|
|
3920
|
-
|
|
3921
3932
|
state.modifiersData[name] = computeOffsets({
|
|
3922
3933
|
reference: state.rects.reference,
|
|
3923
3934
|
element: state.rects.popper,
|