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.
@@ -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
  */
@@ -21382,10 +21382,10 @@
21382
21382
  emit('update:year', value);
21383
21383
  }
21384
21384
  vue.watch(model, (val, oldVal) => {
21385
- const before = adapter.date(wrapInArray(val)[0]);
21386
- const after = adapter.date(wrapInArray(oldVal)[0]);
21387
- const newMonth = adapter.getMonth(before);
21388
- const newYear = adapter.getYear(before);
21385
+ const before = adapter.date(wrapInArray(oldVal)[oldVal.length - 1]);
21386
+ const after = adapter.date(wrapInArray(val)[val.length - 1]);
21387
+ const newMonth = adapter.getMonth(after);
21388
+ const newYear = adapter.getYear(after);
21389
21389
  if (newMonth !== month.value) {
21390
21390
  month.value = newMonth;
21391
21391
  onUpdateMonth(month.value);
@@ -24215,9 +24215,6 @@
24215
24215
  slots
24216
24216
  } = _ref;
24217
24217
  const isActive = useProxiedModel(props, 'modelValue');
24218
- const {
24219
- mainStyles
24220
- } = useLayout();
24221
24218
  const {
24222
24219
  positionClasses
24223
24220
  } = usePosition(props);
@@ -24240,6 +24237,14 @@
24240
24237
  const timerRef = vue.ref();
24241
24238
  const isHovering = vue.shallowRef(false);
24242
24239
  const startY = vue.shallowRef(0);
24240
+ const mainStyles = vue.ref();
24241
+ const hasLayout = vue.inject(VuetifyLayoutKey, undefined);
24242
+ useToggleScope(() => !!hasLayout, () => {
24243
+ const layout = useLayout();
24244
+ vue.watchEffect(() => {
24245
+ mainStyles.value = layout.mainStyles.value;
24246
+ });
24247
+ });
24243
24248
  vue.watch(isActive, startTimeout);
24244
24249
  vue.watch(() => props.timeout, startTimeout);
24245
24250
  vue.onMounted(() => {
@@ -24309,7 +24314,7 @@
24309
24314
  "scrim": false,
24310
24315
  "scrollStrategy": "none",
24311
24316
  "_disableGlobalStack": true,
24312
- "onTouchstart": onTouchstart,
24317
+ "onTouchstartPassive": onTouchstart,
24313
24318
  "onTouchend": onTouchend
24314
24319
  }, scopeId), {
24315
24320
  default: () => [genOverlays(false, 'v-snackbar'), props.timer && !isHovering.value && vue.createVNode("div", {
@@ -27429,8 +27434,7 @@
27429
27434
  default: () => [vue.createVNode(MaybeTransition, {
27430
27435
  "appear": true,
27431
27436
  "group": true,
27432
- "transition": props.transition,
27433
- "mode": "out-in"
27437
+ "transition": props.transition
27434
27438
  }, {
27435
27439
  default: () => [slots.default?.(slotProps)]
27436
27440
  })]
@@ -28834,7 +28838,7 @@
28834
28838
  goTo
28835
28839
  };
28836
28840
  }
28837
- const version$1 = "3.5.17";
28841
+ const version$1 = "3.5.18";
28838
28842
  createVuetify$1.version = version$1;
28839
28843
 
28840
28844
  // Vue's inject() can only be used in setup
@@ -29087,7 +29091,7 @@
29087
29091
 
29088
29092
  /* eslint-disable local-rules/sort-imports */
29089
29093
 
29090
- const version = "3.5.17";
29094
+ const version = "3.5.18";
29091
29095
 
29092
29096
  /* eslint-disable local-rules/sort-imports */
29093
29097