vuetify 3.5.17 → 3.5.18

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/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.5.17
2
+ * Vuetify v3.5.18
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -21615,10 +21615,10 @@
21615
21615
  emit('update:year', value);
21616
21616
  }
21617
21617
  vue.watch(model, (val, oldVal) => {
21618
- const before = adapter.date(wrapInArray(val)[0]);
21619
- const after = adapter.date(wrapInArray(oldVal)[0]);
21620
- const newMonth = adapter.getMonth(before);
21621
- const newYear = adapter.getYear(before);
21618
+ const before = adapter.date(wrapInArray(oldVal)[oldVal.length - 1]);
21619
+ const after = adapter.date(wrapInArray(val)[val.length - 1]);
21620
+ const newMonth = adapter.getMonth(after);
21621
+ const newYear = adapter.getYear(after);
21622
21622
  if (newMonth !== month.value) {
21623
21623
  month.value = newMonth;
21624
21624
  onUpdateMonth(month.value);
@@ -24448,9 +24448,6 @@
24448
24448
  slots
24449
24449
  } = _ref;
24450
24450
  const isActive = useProxiedModel(props, 'modelValue');
24451
- const {
24452
- mainStyles
24453
- } = useLayout();
24454
24451
  const {
24455
24452
  positionClasses
24456
24453
  } = usePosition(props);
@@ -24473,6 +24470,14 @@
24473
24470
  const timerRef = vue.ref();
24474
24471
  const isHovering = vue.shallowRef(false);
24475
24472
  const startY = vue.shallowRef(0);
24473
+ const mainStyles = vue.ref();
24474
+ const hasLayout = vue.inject(VuetifyLayoutKey, undefined);
24475
+ useToggleScope(() => !!hasLayout, () => {
24476
+ const layout = useLayout();
24477
+ vue.watchEffect(() => {
24478
+ mainStyles.value = layout.mainStyles.value;
24479
+ });
24480
+ });
24476
24481
  vue.watch(isActive, startTimeout);
24477
24482
  vue.watch(() => props.timeout, startTimeout);
24478
24483
  vue.onMounted(() => {
@@ -24542,7 +24547,7 @@
24542
24547
  "scrim": false,
24543
24548
  "scrollStrategy": "none",
24544
24549
  "_disableGlobalStack": true,
24545
- "onTouchstart": onTouchstart,
24550
+ "onTouchstartPassive": onTouchstart,
24546
24551
  "onTouchend": onTouchend
24547
24552
  }, scopeId), {
24548
24553
  default: () => [genOverlays(false, 'v-snackbar'), props.timer && !isHovering.value && vue.createVNode("div", {
@@ -26402,7 +26407,7 @@
26402
26407
  goTo
26403
26408
  };
26404
26409
  }
26405
- const version$1 = "3.5.17";
26410
+ const version$1 = "3.5.18";
26406
26411
  createVuetify$1.version = version$1;
26407
26412
 
26408
26413
  // Vue's inject() can only be used in setup
@@ -26427,7 +26432,7 @@
26427
26432
  ...options
26428
26433
  });
26429
26434
  };
26430
- const version = "3.5.17";
26435
+ const version = "3.5.18";
26431
26436
  createVuetify.version = version;
26432
26437
 
26433
26438
  exports.blueprints = index;