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.
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  function _extends() {
26
- _extends = Object.assign || function (target) {
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 || function _setPrototypeOf(o, p) {
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 = ['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^="-"])'];
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
- var next = child;
2860
+ var next = child;
2850
2861
 
2851
- do {
2852
- if (next && parent.isSameNode(next)) {
2853
- return true;
2854
- } // $FlowFixMe[prop-missing]: need a better way to handle this...
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
- next = next.parentNode || next.host;
2858
- } while (next);
2859
- } // Give up, the result is false
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; // Offsets are the actual position the popper needs to have to be
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,