vuetify 3.1.9 → 3.1.10

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.1.9
2
+ * Vuetify v3.1.10
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -954,7 +954,7 @@
954
954
  const providedDefaults = vue.ref(defaults);
955
955
  const newDefaults = vue.computed(() => {
956
956
  const disabled = vue.unref(options?.disabled);
957
- if (disabled) return {};
957
+ if (disabled) return injectedDefaults.value;
958
958
  const scoped = vue.unref(options?.scoped);
959
959
  const reset = vue.unref(options?.reset);
960
960
  const root = vue.unref(options?.root);
@@ -7742,7 +7742,7 @@
7742
7742
  const hasColor = !list || isSelected.value || isActive.value;
7743
7743
  const hasTitle = slots.title || props.title;
7744
7744
  const hasSubtitle = slots.subtitle || props.subtitle;
7745
- const hasAppendMedia = !!(props.prependAvatar || props.prependIcon);
7745
+ const hasAppendMedia = !!(props.appendAvatar || props.appendIcon);
7746
7746
  const hasAppend = !!(hasAppendMedia || slots.append);
7747
7747
  const hasPrependMedia = !!(props.prependAvatar || props.prependIcon);
7748
7748
  const hasPrepend = !!(hasPrependMedia || slots.prepend);
@@ -17330,6 +17330,16 @@
17330
17330
  backgroundColorClasses,
17331
17331
  backgroundColorStyles
17332
17332
  } = useBackgroundColor(vue.toRef(props, 'bgColor'));
17333
+ provideDefaults({
17334
+ VTab: {
17335
+ color: vue.toRef(props, 'color'),
17336
+ direction: vue.toRef(props, 'direction'),
17337
+ stacked: vue.toRef(props, 'stacked'),
17338
+ fixed: vue.toRef(props, 'fixedTabs'),
17339
+ sliderColor: vue.toRef(props, 'sliderColor'),
17340
+ hideSlider: vue.toRef(props, 'hideSlider')
17341
+ }
17342
+ });
17333
17343
  useRender(() => vue.createVNode(VSlideGroup, {
17334
17344
  "modelValue": model.value,
17335
17345
  "onUpdate:modelValue": $event => model.value = $event,
@@ -17346,27 +17356,9 @@
17346
17356
  "mandatory": props.mandatory,
17347
17357
  "direction": props.direction
17348
17358
  }, {
17349
- default: () => [!slots.default ? parsedItems.value.map(item => vue.createVNode(VTab, vue.mergeProps({
17350
- "key": item.title,
17351
- "color": props.color,
17352
- "direction": props.direction,
17353
- "fixed": props.fixedTabs,
17354
- "hideSlider": props.hideSlider,
17355
- "sliderColor": props.sliderColor,
17356
- "stacked": props.stacked
17357
- }, item), null)) : vue.createVNode(VDefaultsProvider, {
17358
- "key": "tabs-defaults",
17359
- "defaults": {
17360
- VTab: {
17361
- color: props.color,
17362
- direction: props.direction,
17363
- fixed: props.fixedTabs,
17364
- hideSlider: props.hideSlider,
17365
- sliderColor: props.sliderColor,
17366
- stacked: props.stacked
17367
- }
17368
- }
17369
- }, slots.default)]
17359
+ default: () => [slots.default ? slots.default() : parsedItems.value.map(item => vue.createVNode(VTab, vue.mergeProps(item, {
17360
+ "key": item.title
17361
+ }), null))]
17370
17362
  }));
17371
17363
  return {};
17372
17364
  }
@@ -20242,7 +20234,7 @@
20242
20234
  locale
20243
20235
  };
20244
20236
  }
20245
- const version$1 = "3.1.9";
20237
+ const version$1 = "3.1.10";
20246
20238
  createVuetify$1.version = version$1;
20247
20239
 
20248
20240
  // Vue's inject() can only be used in setup
@@ -20254,7 +20246,7 @@
20254
20246
  }
20255
20247
  }
20256
20248
 
20257
- const version = "3.1.9";
20249
+ const version = "3.1.10";
20258
20250
 
20259
20251
  const createVuetify = function () {
20260
20252
  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};