@vueuse/components 10.10.1 → 10.11.1

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/index.cjs CHANGED
@@ -120,8 +120,9 @@ function onClickOutside(target, handler, options = {}) {
120
120
  setTimeout(() => {
121
121
  var _a;
122
122
  const el = unrefElement(target);
123
- if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window.document.activeElement)))
123
+ if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window.document.activeElement))) {
124
124
  handler(event);
125
+ }
125
126
  }, 0);
126
127
  })
127
128
  ].filter(Boolean);
package/index.iife.js CHANGED
@@ -237,8 +237,9 @@ var VueDemi = (function (VueDemi, Vue, VueCompositionAPI) {
237
237
  setTimeout(() => {
238
238
  var _a;
239
239
  const el = unrefElement(target);
240
- if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window.document.activeElement)))
240
+ if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window.document.activeElement))) {
241
241
  handler(event);
242
+ }
242
243
  }, 0);
243
244
  })
244
245
  ].filter(Boolean);
package/index.mjs CHANGED
@@ -118,8 +118,9 @@ function onClickOutside(target, handler, options = {}) {
118
118
  setTimeout(() => {
119
119
  var _a;
120
120
  const el = unrefElement(target);
121
- if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window.document.activeElement)))
121
+ if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window.document.activeElement))) {
122
122
  handler(event);
123
+ }
123
124
  }, 0);
124
125
  })
125
126
  ].filter(Boolean);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/components",
3
- "version": "10.10.1",
3
+ "version": "10.11.1",
4
4
  "description": "Renderless components for VueUse",
5
5
  "author": "Jacob Clevenger<https://github.com/wheatjs>",
6
6
  "license": "MIT",
@@ -32,8 +32,8 @@
32
32
  "jsdelivr": "./index.iife.min.js",
33
33
  "types": "./index.d.cts",
34
34
  "dependencies": {
35
- "@vueuse/core": "10.10.1",
36
- "@vueuse/shared": "10.10.1",
35
+ "@vueuse/core": "10.11.1",
36
+ "@vueuse/shared": "10.11.1",
37
37
  "vue-demi": ">=0.14.8"
38
38
  }
39
39
  }