@vuetify/nightly 3.7.3-master.2024-11-01 → 3.7.3-master.2024-11-04

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
  /*!
2
- * Vuetify v3.7.3-master.2024-11-01
2
+ * Vuetify v3.7.3-master.2024-11-04
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -11209,7 +11209,10 @@ const VMenu = genericComponent()({
11209
11209
  }, 40);
11210
11210
  }
11211
11211
  });
11212
- onBeforeUnmount(() => parent?.unregister());
11212
+ onBeforeUnmount(() => {
11213
+ parent?.unregister();
11214
+ document.removeEventListener('focusin', onFocusIn);
11215
+ });
11213
11216
  onDeactivated(() => isActive.value = false);
11214
11217
  async function onFocusIn(e) {
11215
11218
  const before = e.relatedTarget;
@@ -11229,13 +11232,19 @@ const VMenu = genericComponent()({
11229
11232
  watch(isActive, val => {
11230
11233
  if (val) {
11231
11234
  parent?.register();
11232
- document.addEventListener('focusin', onFocusIn, {
11233
- once: true
11234
- });
11235
+ if (IN_BROWSER) {
11236
+ document.addEventListener('focusin', onFocusIn, {
11237
+ once: true
11238
+ });
11239
+ }
11235
11240
  } else {
11236
11241
  parent?.unregister();
11237
- document.removeEventListener('focusin', onFocusIn);
11242
+ if (IN_BROWSER) {
11243
+ document.removeEventListener('focusin', onFocusIn);
11244
+ }
11238
11245
  }
11246
+ }, {
11247
+ immediate: true
11239
11248
  });
11240
11249
  function onClickOutside(e) {
11241
11250
  parent?.closeParents(e);
@@ -13751,6 +13760,9 @@ const VDialog = genericComponent()({
13751
13760
  }
13752
13761
  }
13753
13762
  }
13763
+ onBeforeUnmount(() => {
13764
+ document.removeEventListener('focusin', onFocusin);
13765
+ });
13754
13766
  if (IN_BROWSER) {
13755
13767
  watch(() => isActive.value && props.retainFocus, val => {
13756
13768
  val ? document.addEventListener('focusin', onFocusin) : document.removeEventListener('focusin', onFocusin);
@@ -30381,7 +30393,7 @@ function createVuetify$1() {
30381
30393
  goTo
30382
30394
  };
30383
30395
  }
30384
- const version$1 = "3.7.3-master.2024-11-01";
30396
+ const version$1 = "3.7.3-master.2024-11-04";
30385
30397
  createVuetify$1.version = version$1;
30386
30398
 
30387
30399
  // Vue's inject() can only be used in setup
@@ -30634,7 +30646,7 @@ var index = /*#__PURE__*/Object.freeze({
30634
30646
 
30635
30647
  /* eslint-disable local-rules/sort-imports */
30636
30648
 
30637
- const version = "3.7.3-master.2024-11-01";
30649
+ const version = "3.7.3-master.2024-11-04";
30638
30650
 
30639
30651
  /* eslint-disable local-rules/sort-imports */
30640
30652