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.
@@ -1,5 +1,5 @@
1
1
  function _extends() {
2
- _extends = Object.assign || function (target) {
2
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
3
3
  for (var i = 1; i < arguments.length; i++) {
4
4
  var source = arguments[i];
5
5
 
@@ -12,7 +12,6 @@ function _extends() {
12
12
 
13
13
  return target;
14
14
  };
15
-
16
15
  return _extends.apply(this, arguments);
17
16
  }
18
17
 
@@ -151,7 +150,20 @@ class Collection {
151
150
 
152
151
  }
153
152
 
154
- 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^="-"])'];
153
+ var focusableSelectors = [
154
+ 'a[href]:not([tabindex^="-"])',
155
+ 'area[href]:not([tabindex^="-"])',
156
+ 'input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])',
157
+ 'input[type="radio"]:not([disabled]):not([tabindex^="-"])',
158
+ 'select:not([disabled]):not([tabindex^="-"])',
159
+ 'textarea:not([disabled]):not([tabindex^="-"])',
160
+ 'button:not([disabled]):not([tabindex^="-"])',
161
+ 'iframe:not([tabindex^="-"])',
162
+ 'audio[controls]:not([tabindex^="-"])',
163
+ 'video[controls]:not([tabindex^="-"])',
164
+ '[contenteditable]:not([tabindex^="-"])',
165
+ '[tabindex]:not([tabindex^="-"])',
166
+ ];
155
167
 
156
168
  var _focusable = /*#__PURE__*/_classPrivateFieldLooseKey("focusable");
157
169
 
@@ -2209,17 +2221,17 @@ function contains(parent, child) {
2209
2221
  return true;
2210
2222
  } // then fallback to custom implementation with Shadow DOM support
2211
2223
  else if (rootNode && isShadowRoot(rootNode)) {
2212
- var next = child;
2224
+ var next = child;
2213
2225
 
2214
- do {
2215
- if (next && parent.isSameNode(next)) {
2216
- return true;
2217
- } // $FlowFixMe[prop-missing]: need a better way to handle this...
2226
+ do {
2227
+ if (next && parent.isSameNode(next)) {
2228
+ return true;
2229
+ } // $FlowFixMe[prop-missing]: need a better way to handle this...
2218
2230
 
2219
2231
 
2220
- next = next.parentNode || next.host;
2221
- } while (next);
2222
- } // Give up, the result is false
2232
+ next = next.parentNode || next.host;
2233
+ } while (next);
2234
+ } // Give up, the result is false
2223
2235
 
2224
2236
 
2225
2237
  return false;
@@ -3276,11 +3288,11 @@ var offset$1 = {
3276
3288
 
3277
3289
  function popperOffsets(_ref) {
3278
3290
  var state = _ref.state,
3279
- name = _ref.name; // Offsets are the actual position the popper needs to have to be
3291
+ name = _ref.name;
3292
+ // Offsets are the actual position the popper needs to have to be
3280
3293
  // properly positioned near its reference element
3281
3294
  // This is the most basic placement, and will be adjusted by
3282
3295
  // the modifiers in the next step
3283
-
3284
3296
  state.modifiersData[name] = computeOffsets({
3285
3297
  reference: state.rects.reference,
3286
3298
  element: state.rects.popper,
@@ -4038,4 +4050,4 @@ class Popover extends Collection {
4038
4050
  }
4039
4051
 
4040
4052
  export { Checkbox, Drawer, Modal, Popover, index as core };
4041
- //# sourceMappingURL=scripts.modern.js.map
4053
+ //# sourceMappingURL=scripts.modern.mjs.map