@vuetify/nightly 3.7.5-master.2024-12-16 → 3.7.5-master.2024-12-17

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.5-master.2024-12-16
2
+ * Vuetify v3.7.5-master.2024-12-17
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -8954,16 +8954,22 @@
8954
8954
  color: isActive.value ? color.value ?? props.baseColor : props.baseColor,
8955
8955
  variant: props.variant
8956
8956
  }));
8957
+
8958
+ // useNestedItem doesn't call register until beforeMount,
8959
+ // so this can't be an immediate watcher as we don't know parent yet
8957
8960
  vue.watch(() => link.isActive?.value, val => {
8958
- if (val && parent.value != null) {
8961
+ if (!val) return;
8962
+ handleActiveLink();
8963
+ });
8964
+ vue.onBeforeMount(() => {
8965
+ if (link.isActive?.value) handleActiveLink();
8966
+ });
8967
+ function handleActiveLink() {
8968
+ if (parent.value != null) {
8959
8969
  root.open(parent.value, true);
8960
8970
  }
8961
- if (val) {
8962
- openOnSelect(val);
8963
- }
8964
- }, {
8965
- immediate: true
8966
- });
8971
+ openOnSelect(true);
8972
+ }
8967
8973
  const {
8968
8974
  themeClasses
8969
8975
  } = provideTheme(props);
@@ -30744,7 +30750,7 @@
30744
30750
  goTo
30745
30751
  };
30746
30752
  }
30747
- const version$1 = "3.7.5-master.2024-12-16";
30753
+ const version$1 = "3.7.5-master.2024-12-17";
30748
30754
  createVuetify$1.version = version$1;
30749
30755
 
30750
30756
  // Vue's inject() can only be used in setup
@@ -30997,7 +31003,7 @@
30997
31003
 
30998
31004
  /* eslint-disable local-rules/sort-imports */
30999
31005
 
31000
- const version = "3.7.5-master.2024-12-16";
31006
+ const version = "3.7.5-master.2024-12-17";
31001
31007
 
31002
31008
  /* eslint-disable local-rules/sort-imports */
31003
31009