@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
  */
@@ -8950,16 +8950,22 @@ const VListItem = genericComponent()({
8950
8950
  color: isActive.value ? color.value ?? props.baseColor : props.baseColor,
8951
8951
  variant: props.variant
8952
8952
  }));
8953
+
8954
+ // useNestedItem doesn't call register until beforeMount,
8955
+ // so this can't be an immediate watcher as we don't know parent yet
8953
8956
  watch(() => link.isActive?.value, val => {
8954
- if (val && parent.value != null) {
8957
+ if (!val) return;
8958
+ handleActiveLink();
8959
+ });
8960
+ onBeforeMount(() => {
8961
+ if (link.isActive?.value) handleActiveLink();
8962
+ });
8963
+ function handleActiveLink() {
8964
+ if (parent.value != null) {
8955
8965
  root.open(parent.value, true);
8956
8966
  }
8957
- if (val) {
8958
- openOnSelect(val);
8959
- }
8960
- }, {
8961
- immediate: true
8962
- });
8967
+ openOnSelect(true);
8968
+ }
8963
8969
  const {
8964
8970
  themeClasses
8965
8971
  } = provideTheme(props);
@@ -30740,7 +30746,7 @@ function createVuetify$1() {
30740
30746
  goTo
30741
30747
  };
30742
30748
  }
30743
- const version$1 = "3.7.5-master.2024-12-16";
30749
+ const version$1 = "3.7.5-master.2024-12-17";
30744
30750
  createVuetify$1.version = version$1;
30745
30751
 
30746
30752
  // Vue's inject() can only be used in setup
@@ -30993,7 +30999,7 @@ var index = /*#__PURE__*/Object.freeze({
30993
30999
 
30994
31000
  /* eslint-disable local-rules/sort-imports */
30995
31001
 
30996
- const version = "3.7.5-master.2024-12-16";
31002
+ const version = "3.7.5-master.2024-12-17";
30997
31003
 
30998
31004
  /* eslint-disable local-rules/sort-imports */
30999
31005