@vuetify/nightly 3.6.5-master.2024-05-12 → 3.6.5-master.2024-05-14

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.6.5-master.2024-05-12
2
+ * Vuetify v3.6.5-master.2024-05-14
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -11375,6 +11375,7 @@
11375
11375
  function onKeydown(e) {
11376
11376
  if (props.disabled) return;
11377
11377
  if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
11378
+ if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
11378
11379
  if (e.key === 'Enter') e.preventDefault();
11379
11380
  const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
11380
11381
  if (!nextElement) {
@@ -26409,6 +26410,7 @@
26409
26410
  blur
26410
26411
  } = useFocus(props);
26411
26412
  const control = vue.ref();
26413
+ const isForcedColorsModeActive = IN_BROWSER && window.matchMedia('(forced-colors: active)').matches;
26412
26414
  const loaderColor = vue.computed(() => {
26413
26415
  return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
26414
26416
  });
@@ -26477,7 +26479,7 @@
26477
26479
  backgroundColorStyles
26478
26480
  } = _ref3;
26479
26481
  return vue.createVNode("div", {
26480
- "class": ['v-switch__track', ...backgroundColorClasses.value],
26482
+ "class": ['v-switch__track', !isForcedColorsModeActive ? backgroundColorClasses.value : undefined],
26481
26483
  "style": backgroundColorStyles.value,
26482
26484
  "onClick": onTrackClick
26483
26485
  }, [slots['track-true'] && vue.createVNode("div", {
@@ -26498,7 +26500,7 @@
26498
26500
  return vue.createVNode(vue.Fragment, null, [inputNode, vue.createVNode("div", {
26499
26501
  "class": ['v-switch__thumb', {
26500
26502
  'v-switch__thumb--filled': icon || props.loading
26501
- }, props.inset ? undefined : backgroundColorClasses.value],
26503
+ }, props.inset || isForcedColorsModeActive ? undefined : backgroundColorClasses.value],
26502
26504
  "style": props.inset ? undefined : backgroundColorStyles.value
26503
26505
  }, [slots.thumb ? vue.createVNode(VDefaultsProvider, {
26504
26506
  "defaults": {
@@ -27998,7 +28000,7 @@
27998
28000
  goTo
27999
28001
  };
28000
28002
  }
28001
- const version$1 = "3.6.5-master.2024-05-12";
28003
+ const version$1 = "3.6.5-master.2024-05-14";
28002
28004
  createVuetify$1.version = version$1;
28003
28005
 
28004
28006
  // Vue's inject() can only be used in setup
@@ -28023,7 +28025,7 @@
28023
28025
  ...options
28024
28026
  });
28025
28027
  };
28026
- const version = "3.6.5-master.2024-05-12";
28028
+ const version = "3.6.5-master.2024-05-14";
28027
28029
  createVuetify.version = version;
28028
28030
 
28029
28031
  exports.blueprints = index;