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
  */
@@ -21378,10 +21378,10 @@ const VDatePicker = genericComponent()({
21378
21378
  emit('update:year', value);
21379
21379
  }
21380
21380
  watch(model, (val, oldVal) => {
21381
- const before = adapter.date(wrapInArray(val)[0]);
21382
- const after = adapter.date(wrapInArray(oldVal)[0]);
21383
- const newMonth = adapter.getMonth(before);
21384
- const newYear = adapter.getYear(before);
21381
+ const before = adapter.date(wrapInArray(oldVal)[oldVal.length - 1]);
21382
+ const after = adapter.date(wrapInArray(val)[val.length - 1]);
21383
+ const newMonth = adapter.getMonth(after);
21384
+ const newYear = adapter.getYear(after);
21385
21385
  if (newMonth !== month.value) {
21386
21386
  month.value = newMonth;
21387
21387
  onUpdateMonth(month.value);
@@ -24211,9 +24211,6 @@ const VSnackbar = genericComponent()({
24211
24211
  slots
24212
24212
  } = _ref;
24213
24213
  const isActive = useProxiedModel(props, 'modelValue');
24214
- const {
24215
- mainStyles
24216
- } = useLayout();
24217
24214
  const {
24218
24215
  positionClasses
24219
24216
  } = usePosition(props);
@@ -24236,6 +24233,14 @@ const VSnackbar = genericComponent()({
24236
24233
  const timerRef = ref();
24237
24234
  const isHovering = shallowRef(false);
24238
24235
  const startY = shallowRef(0);
24236
+ const mainStyles = ref();
24237
+ const hasLayout = inject$1(VuetifyLayoutKey, undefined);
24238
+ useToggleScope(() => !!hasLayout, () => {
24239
+ const layout = useLayout();
24240
+ watchEffect(() => {
24241
+ mainStyles.value = layout.mainStyles.value;
24242
+ });
24243
+ });
24239
24244
  watch(isActive, startTimeout);
24240
24245
  watch(() => props.timeout, startTimeout);
24241
24246
  onMounted(() => {
@@ -24305,7 +24310,7 @@ const VSnackbar = genericComponent()({
24305
24310
  "scrim": false,
24306
24311
  "scrollStrategy": "none",
24307
24312
  "_disableGlobalStack": true,
24308
- "onTouchstart": onTouchstart,
24313
+ "onTouchstartPassive": onTouchstart,
24309
24314
  "onTouchend": onTouchend
24310
24315
  }, scopeId), {
24311
24316
  default: () => [genOverlays(false, 'v-snackbar'), props.timer && !isHovering.value && createVNode("div", {
@@ -27425,8 +27430,7 @@ const VSpeedDial = genericComponent()({
27425
27430
  default: () => [createVNode(MaybeTransition, {
27426
27431
  "appear": true,
27427
27432
  "group": true,
27428
- "transition": props.transition,
27429
- "mode": "out-in"
27433
+ "transition": props.transition
27430
27434
  }, {
27431
27435
  default: () => [slots.default?.(slotProps)]
27432
27436
  })]
@@ -28830,7 +28834,7 @@ function createVuetify$1() {
28830
28834
  goTo
28831
28835
  };
28832
28836
  }
28833
- const version$1 = "3.5.17";
28837
+ const version$1 = "3.5.18";
28834
28838
  createVuetify$1.version = version$1;
28835
28839
 
28836
28840
  // Vue's inject() can only be used in setup
@@ -29083,7 +29087,7 @@ var index = /*#__PURE__*/Object.freeze({
29083
29087
 
29084
29088
  /* eslint-disable local-rules/sort-imports */
29085
29089
 
29086
- const version = "3.5.17";
29090
+ const version = "3.5.18";
29087
29091
 
29088
29092
  /* eslint-disable local-rules/sort-imports */
29089
29093