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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() {
|
|
2
|
-
_extends = Object.assign
|
|
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 = [
|
|
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
|
-
|
|
2224
|
+
var next = child;
|
|
2213
2225
|
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
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
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
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;
|
|
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.
|
|
4053
|
+
//# sourceMappingURL=scripts.modern.mjs.map
|