@vuetify/nightly 3.6.5-master.2024-05-13 → 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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.5-master.2024-05-13
2
+ * Vuetify v3.6.5-master.2024-05-14
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -11142,6 +11142,7 @@
11142
11142
  function onKeydown(e) {
11143
11143
  if (props.disabled) return;
11144
11144
  if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
11145
+ if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
11145
11146
  if (e.key === 'Enter') e.preventDefault();
11146
11147
  const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
11147
11148
  if (!nextElement) {
@@ -26176,6 +26177,7 @@
26176
26177
  blur
26177
26178
  } = useFocus(props);
26178
26179
  const control = vue.ref();
26180
+ const isForcedColorsModeActive = IN_BROWSER && window.matchMedia('(forced-colors: active)').matches;
26179
26181
  const loaderColor = vue.computed(() => {
26180
26182
  return typeof props.loading === 'string' && props.loading !== '' ? props.loading : props.color;
26181
26183
  });
@@ -26244,7 +26246,7 @@
26244
26246
  backgroundColorStyles
26245
26247
  } = _ref3;
26246
26248
  return vue.createVNode("div", {
26247
- "class": ['v-switch__track', ...backgroundColorClasses.value],
26249
+ "class": ['v-switch__track', !isForcedColorsModeActive ? backgroundColorClasses.value : undefined],
26248
26250
  "style": backgroundColorStyles.value,
26249
26251
  "onClick": onTrackClick
26250
26252
  }, [slots['track-true'] && vue.createVNode("div", {
@@ -26265,7 +26267,7 @@
26265
26267
  return vue.createVNode(vue.Fragment, null, [inputNode, vue.createVNode("div", {
26266
26268
  "class": ['v-switch__thumb', {
26267
26269
  'v-switch__thumb--filled': icon || props.loading
26268
- }, props.inset ? undefined : backgroundColorClasses.value],
26270
+ }, props.inset || isForcedColorsModeActive ? undefined : backgroundColorClasses.value],
26269
26271
  "style": props.inset ? undefined : backgroundColorStyles.value
26270
26272
  }, [slots.thumb ? vue.createVNode(VDefaultsProvider, {
26271
26273
  "defaults": {
@@ -30086,7 +30088,7 @@
30086
30088
  goTo
30087
30089
  };
30088
30090
  }
30089
- const version$1 = "3.6.5-master.2024-05-13";
30091
+ const version$1 = "3.6.5-master.2024-05-14";
30090
30092
  createVuetify$1.version = version$1;
30091
30093
 
30092
30094
  // Vue's inject() can only be used in setup
@@ -30339,7 +30341,7 @@
30339
30341
 
30340
30342
  /* eslint-disable local-rules/sort-imports */
30341
30343
 
30342
- const version = "3.6.5-master.2024-05-13";
30344
+ const version = "3.6.5-master.2024-05-14";
30343
30345
 
30344
30346
  /* eslint-disable local-rules/sort-imports */
30345
30347