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.
@@ -18,7 +18,7 @@ function _createClass(Constructor, protoProps, staticProps) {
18
18
  }
19
19
 
20
20
  function _extends() {
21
- _extends = Object.assign || function (target) {
21
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
22
22
  for (var i = 1; i < arguments.length; i++) {
23
23
  var source = arguments[i];
24
24
 
@@ -31,7 +31,6 @@ function _extends() {
31
31
 
32
32
  return target;
33
33
  };
34
-
35
34
  return _extends.apply(this, arguments);
36
35
  }
37
36
 
@@ -43,11 +42,10 @@ function _inheritsLoose(subClass, superClass) {
43
42
  }
44
43
 
45
44
  function _setPrototypeOf(o, p) {
46
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
45
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
47
46
  o.__proto__ = p;
48
47
  return o;
49
48
  };
50
-
51
49
  return _setPrototypeOf(o, p);
52
50
  }
53
51
 
@@ -429,7 +427,20 @@ var Collection = /*#__PURE__*/function () {
429
427
  return Collection;
430
428
  }();
431
429
 
432
- var focusableSelectors = ['a[href]:not([tabindex^="-"])', 'area[href]:not([tabindex^="-"])', 'input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])', 'input[type="radio"]:not([disabled]):not([tabindex^="-"])', 'select:not([disabled]):not([tabindex^="-"])', 'textarea:not([disabled]):not([tabindex^="-"])', 'button:not([disabled]):not([tabindex^="-"])', 'iframe:not([tabindex^="-"])', 'audio[controls]:not([tabindex^="-"])', 'video[controls]:not([tabindex^="-"])', '[contenteditable]:not([tabindex^="-"])', '[tabindex]:not([tabindex^="-"])'];
430
+ var focusableSelectors = [
431
+ 'a[href]:not([tabindex^="-"])',
432
+ 'area[href]:not([tabindex^="-"])',
433
+ 'input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])',
434
+ 'input[type="radio"]:not([disabled]):not([tabindex^="-"])',
435
+ 'select:not([disabled]):not([tabindex^="-"])',
436
+ 'textarea:not([disabled]):not([tabindex^="-"])',
437
+ 'button:not([disabled]):not([tabindex^="-"])',
438
+ 'iframe:not([tabindex^="-"])',
439
+ 'audio[controls]:not([tabindex^="-"])',
440
+ 'video[controls]:not([tabindex^="-"])',
441
+ '[contenteditable]:not([tabindex^="-"])',
442
+ '[tabindex]:not([tabindex^="-"])',
443
+ ];
433
444
 
434
445
  var _focusable = /*#__PURE__*/_classPrivateFieldLooseKey("focusable");
435
446
 
@@ -2841,17 +2852,17 @@ function contains(parent, child) {
2841
2852
  return true;
2842
2853
  } // then fallback to custom implementation with Shadow DOM support
2843
2854
  else if (rootNode && isShadowRoot(rootNode)) {
2844
- var next = child;
2855
+ var next = child;
2845
2856
 
2846
- do {
2847
- if (next && parent.isSameNode(next)) {
2848
- return true;
2849
- } // $FlowFixMe[prop-missing]: need a better way to handle this...
2857
+ do {
2858
+ if (next && parent.isSameNode(next)) {
2859
+ return true;
2860
+ } // $FlowFixMe[prop-missing]: need a better way to handle this...
2850
2861
 
2851
2862
 
2852
- next = next.parentNode || next.host;
2853
- } while (next);
2854
- } // Give up, the result is false
2863
+ next = next.parentNode || next.host;
2864
+ } while (next);
2865
+ } // Give up, the result is false
2855
2866
 
2856
2867
 
2857
2868
  return false;
@@ -3908,11 +3919,11 @@ var offset$1 = {
3908
3919
 
3909
3920
  function popperOffsets(_ref) {
3910
3921
  var state = _ref.state,
3911
- name = _ref.name; // Offsets are the actual position the popper needs to have to be
3922
+ name = _ref.name;
3923
+ // Offsets are the actual position the popper needs to have to be
3912
3924
  // properly positioned near its reference element
3913
3925
  // This is the most basic placement, and will be adjusted by
3914
3926
  // the modifiers in the next step
3915
-
3916
3927
  state.modifiersData[name] = computeOffsets({
3917
3928
  reference: state.rects.reference,
3918
3929
  element: state.rects.popper,