vuetify 3.0.5 → 3.0.6

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.
Files changed (46) hide show
  1. package/dist/_component-variables.sass +1 -0
  2. package/dist/json/attributes.json +9 -5
  3. package/dist/json/importMap.json +94 -94
  4. package/dist/json/tags.json +1 -0
  5. package/dist/json/web-types.json +20 -11
  6. package/dist/vuetify.css +73 -60
  7. package/dist/vuetify.d.ts +28 -26
  8. package/dist/vuetify.esm.js +39 -21
  9. package/dist/vuetify.esm.js.map +1 -1
  10. package/dist/vuetify.js +39 -21
  11. package/dist/vuetify.js.map +1 -1
  12. package/dist/vuetify.min.css +2 -2
  13. package/dist/vuetify.min.js +39 -36
  14. package/dist/vuetify.min.js.map +1 -1
  15. package/lib/components/VApp/{variables.scss → _variables.scss} +0 -0
  16. package/lib/components/VAvatar/VAvatar.mjs +7 -2
  17. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  18. package/lib/components/VAvatar/index.d.ts +2 -0
  19. package/lib/components/VFileInput/VFileInput.mjs +4 -3
  20. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  21. package/lib/components/VImg/VImg.mjs +10 -2
  22. package/lib/components/VImg/VImg.mjs.map +1 -1
  23. package/lib/components/VList/VList.mjs +4 -2
  24. package/lib/components/VList/VList.mjs.map +1 -1
  25. package/lib/components/VList/VListGroup.mjs +2 -1
  26. package/lib/components/VList/VListGroup.mjs.map +1 -1
  27. package/lib/components/VList/VListItem.css +1 -0
  28. package/lib/components/VList/VListItem.sass +1 -0
  29. package/lib/components/VRadioGroup/VRadioGroup.css +4 -4
  30. package/lib/components/VRadioGroup/VRadioGroup.sass +4 -4
  31. package/lib/components/VRadioGroup/_variables.scss +2 -2
  32. package/lib/components/VSlider/VSliderThumb.css +9 -0
  33. package/lib/components/VSlider/VSliderThumb.mjs +4 -6
  34. package/lib/components/VSlider/VSliderThumb.mjs.map +1 -1
  35. package/lib/components/VSlider/VSliderThumb.sass +8 -0
  36. package/lib/components/VSlider/VSliderTrack.css +4 -1
  37. package/lib/components/VSlider/VSliderTrack.sass +3 -1
  38. package/lib/components/VSlider/slider.mjs +2 -2
  39. package/lib/components/VSlider/slider.mjs.map +1 -1
  40. package/lib/components/VSnackbar/VSnackbar.mjs +6 -1
  41. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  42. package/lib/components/index.d.ts +2 -0
  43. package/lib/entry-bundler.mjs +1 -1
  44. package/lib/framework.mjs +1 -1
  45. package/lib/index.d.ts +26 -26
  46. package/package.json +2 -2
package/dist/vuetify.d.ts CHANGED
@@ -3466,6 +3466,7 @@ declare const VAvatar: vue.DefineComponent<{
3466
3466
  type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
3467
3467
  default: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
3468
3468
  };
3469
+ theme: StringConstructor;
3469
3470
  tag: {
3470
3471
  type: StringConstructor;
3471
3472
  default: string;
@@ -3497,6 +3498,7 @@ declare const VAvatar: vue.DefineComponent<{
3497
3498
  type: vue.PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
3498
3499
  default: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain";
3499
3500
  };
3501
+ theme: StringConstructor;
3500
3502
  tag: {
3501
3503
  type: StringConstructor;
3502
3504
  default: string;
@@ -25991,7 +25993,6 @@ declare module '@vue/runtime-core' {
25991
25993
  }
25992
25994
 
25993
25995
  export interface GlobalComponents {
25994
- VApp: typeof import('vuetify/components')['VApp']
25995
25996
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
25996
25997
  VForm: typeof import('vuetify/components')['VForm']
25997
25998
  VContainer: typeof import('vuetify/components')['VContainer']
@@ -25999,22 +26000,16 @@ declare module '@vue/runtime-core' {
25999
26000
  VRow: typeof import('vuetify/components')['VRow']
26000
26001
  VSpacer: typeof import('vuetify/components')['VSpacer']
26001
26002
  VHover: typeof import('vuetify/components')['VHover']
26002
- VLazy: typeof import('vuetify/components')['VLazy']
26003
26003
  VLayout: typeof import('vuetify/components')['VLayout']
26004
26004
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
26005
26005
  VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
26006
+ VLazy: typeof import('vuetify/components')['VLazy']
26006
26007
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
26007
26008
  VParallax: typeof import('vuetify/components')['VParallax']
26008
- VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
26009
26009
  VRadio: typeof import('vuetify/components')['VRadio']
26010
+ VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
26010
26011
  VResponsive: typeof import('vuetify/components')['VResponsive']
26011
- VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
26012
- VValidation: typeof import('vuetify/components')['VValidation']
26013
- VAppBar: typeof import('vuetify/components')['VAppBar']
26014
- VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
26015
- VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
26016
- VAlert: typeof import('vuetify/components')['VAlert']
26017
- VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
26012
+ VApp: typeof import('vuetify/components')['VApp']
26018
26013
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
26019
26014
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
26020
26015
  VDialogTopTransition: typeof import('vuetify/components')['VDialogTopTransition']
@@ -26031,9 +26026,16 @@ declare module '@vue/runtime-core' {
26031
26026
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
26032
26027
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
26033
26028
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
26034
- VAvatar: typeof import('vuetify/components')['VAvatar']
26029
+ VAppBar: typeof import('vuetify/components')['VAppBar']
26030
+ VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
26031
+ VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
26032
+ VValidation: typeof import('vuetify/components')['VValidation']
26033
+ VAlert: typeof import('vuetify/components')['VAlert']
26034
+ VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
26035
26035
  VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
26036
26036
  VBadge: typeof import('vuetify/components')['VBadge']
26037
+ VAvatar: typeof import('vuetify/components')['VAvatar']
26038
+ VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
26037
26039
  VBanner: typeof import('vuetify/components')['VBanner']
26038
26040
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
26039
26041
  VBannerText: typeof import('vuetify/components')['VBannerText']
@@ -26042,6 +26044,7 @@ declare module '@vue/runtime-core' {
26042
26044
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
26043
26045
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
26044
26046
  VBtn: typeof import('vuetify/components')['VBtn']
26047
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
26045
26048
  VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
26046
26049
  VCard: typeof import('vuetify/components')['VCard']
26047
26050
  VCardActions: typeof import('vuetify/components')['VCardActions']
@@ -26054,28 +26057,27 @@ declare module '@vue/runtime-core' {
26054
26057
  VCheckbox: typeof import('vuetify/components')['VCheckbox']
26055
26058
  VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
26056
26059
  VChip: typeof import('vuetify/components')['VChip']
26057
- VChipGroup: typeof import('vuetify/components')['VChipGroup']
26058
26060
  VCode: typeof import('vuetify/components')['VCode']
26061
+ VChipGroup: typeof import('vuetify/components')['VChipGroup']
26059
26062
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
26060
26063
  VCombobox: typeof import('vuetify/components')['VCombobox']
26061
26064
  VCounter: typeof import('vuetify/components')['VCounter']
26062
26065
  VDialog: typeof import('vuetify/components')['VDialog']
26063
- VDivider: typeof import('vuetify/components')['VDivider']
26064
26066
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
26065
26067
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
26066
26068
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
26067
26069
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
26070
+ VDivider: typeof import('vuetify/components')['VDivider']
26068
26071
  VField: typeof import('vuetify/components')['VField']
26069
26072
  VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
26070
- VFileInput: typeof import('vuetify/components')['VFileInput']
26071
26073
  VFooter: typeof import('vuetify/components')['VFooter']
26074
+ VInput: typeof import('vuetify/components')['VInput']
26075
+ VFileInput: typeof import('vuetify/components')['VFileInput']
26072
26076
  VIcon: typeof import('vuetify/components')['VIcon']
26073
26077
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
26074
26078
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
26075
26079
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
26076
26080
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
26077
- VImg: typeof import('vuetify/components')['VImg']
26078
- VInput: typeof import('vuetify/components')['VInput']
26079
26081
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
26080
26082
  VItem: typeof import('vuetify/components')['VItem']
26081
26083
  VKbd: typeof import('vuetify/components')['VKbd']
@@ -26092,36 +26094,36 @@ declare module '@vue/runtime-core' {
26092
26094
  VMain: typeof import('vuetify/components')['VMain']
26093
26095
  VMenu: typeof import('vuetify/components')['VMenu']
26094
26096
  VMessages: typeof import('vuetify/components')['VMessages']
26095
- VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
26096
26097
  VOverlay: typeof import('vuetify/components')['VOverlay']
26097
- VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
26098
26098
  VPagination: typeof import('vuetify/components')['VPagination']
26099
- VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
26099
+ VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
26100
+ VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
26100
26101
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
26102
+ VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
26101
26103
  VRating: typeof import('vuetify/components')['VRating']
26102
26104
  VSelect: typeof import('vuetify/components')['VSelect']
26103
26105
  VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
26104
26106
  VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
26107
+ VSheet: typeof import('vuetify/components')['VSheet']
26105
26108
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
26106
26109
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
26107
- VSheet: typeof import('vuetify/components')['VSheet']
26108
26110
  VSlider: typeof import('vuetify/components')['VSlider']
26109
26111
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
26110
26112
  VSwitch: typeof import('vuetify/components')['VSwitch']
26111
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
26112
26113
  VTabs: typeof import('vuetify/components')['VTabs']
26113
26114
  VTab: typeof import('vuetify/components')['VTab']
26115
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
26116
+ VTextField: typeof import('vuetify/components')['VTextField']
26114
26117
  VTable: typeof import('vuetify/components')['VTable']
26115
26118
  VTextarea: typeof import('vuetify/components')['VTextarea']
26116
- VTextField: typeof import('vuetify/components')['VTextField']
26117
- VToolbar: typeof import('vuetify/components')['VToolbar']
26118
- VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
26119
- VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
26120
26119
  VTimeline: typeof import('vuetify/components')['VTimeline']
26121
26120
  VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
26122
26121
  VTooltip: typeof import('vuetify/components')['VTooltip']
26122
+ VToolbar: typeof import('vuetify/components')['VToolbar']
26123
+ VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
26124
+ VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
26123
26125
  VWindow: typeof import('vuetify/components')['VWindow']
26124
26126
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
26125
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
26127
+ VImg: typeof import('vuetify/components')['VImg']
26126
26128
  }
26127
26129
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.0.5
2
+ * Vuetify v3.0.6
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2713,7 +2713,7 @@ const VImg = defineComponent({
2713
2713
  src: props.src.src,
2714
2714
  srcset: props.srcset || props.src.srcset,
2715
2715
  lazySrc: props.lazySrc || props.src.lazySrc,
2716
- aspect: Number(props.aspectRatio || props.src.aspect)
2716
+ aspect: Number(props.aspectRatio || props.src.aspect || 0)
2717
2717
  } : {
2718
2718
  src: props.src,
2719
2719
  srcset: props.srcset,
@@ -2727,6 +2727,12 @@ const VImg = defineComponent({
2727
2727
  watch(() => props.src, () => {
2728
2728
  init(state.value !== 'idle');
2729
2729
  });
2730
+ watch(aspectRatio, (val, oldVal) => {
2731
+ if (!val && oldVal && image.value) {
2732
+ pollForSize(image.value);
2733
+ }
2734
+ });
2735
+
2730
2736
  // TODO: getSrc when window width changes
2731
2737
 
2732
2738
  onBeforeMount(() => init());
@@ -2771,9 +2777,11 @@ const VImg = defineComponent({
2771
2777
  const img = image.value;
2772
2778
  if (img) currentSrc.value = img.currentSrc || img.src;
2773
2779
  }
2780
+ let timer = -1;
2774
2781
  function pollForSize(img) {
2775
2782
  let timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;
2776
2783
  const poll = () => {
2784
+ clearTimeout(timer);
2777
2785
  const {
2778
2786
  naturalHeight: imgHeight,
2779
2787
  naturalWidth: imgWidth
@@ -2782,7 +2790,7 @@ const VImg = defineComponent({
2782
2790
  naturalWidth.value = imgWidth;
2783
2791
  naturalHeight.value = imgHeight;
2784
2792
  } else if (!img.complete && state.value === 'loading' && timeout != null) {
2785
- setTimeout(poll, timeout);
2793
+ timer = window.setTimeout(poll, timeout);
2786
2794
  } else if (img.currentSrc.endsWith('.svg') || img.currentSrc.startsWith('data:image/svg+xml')) {
2787
2795
  naturalWidth.value = 1;
2788
2796
  naturalHeight.value = 1;
@@ -6571,6 +6579,7 @@ const makeVAvatarProps = propsFactory({
6571
6579
  ...makeRoundedProps(),
6572
6580
  ...makeSizeProps(),
6573
6581
  ...makeTagProps(),
6582
+ ...makeThemeProps(),
6574
6583
  ...makeVariantProps({
6575
6584
  variant: 'flat'
6576
6585
  })
@@ -6582,6 +6591,9 @@ const VAvatar = defineComponent({
6582
6591
  let {
6583
6592
  slots
6584
6593
  } = _ref;
6594
+ const {
6595
+ themeClasses
6596
+ } = provideTheme(props);
6585
6597
  const {
6586
6598
  colorClasses,
6587
6599
  colorStyles,
@@ -6603,7 +6615,7 @@ const VAvatar = defineComponent({
6603
6615
  "class": ['v-avatar', {
6604
6616
  'v-avatar--start': props.start,
6605
6617
  'v-avatar--end': props.end
6606
- }, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value],
6618
+ }, themeClasses.value, colorClasses.value, densityClasses.value, roundedClasses.value, sizeClasses.value, variantClasses.value],
6607
6619
  "style": [colorStyles.value, sizeStyles.value]
6608
6620
  }, {
6609
6621
  default: () => [props.image ? createVNode(VImg, {
@@ -7456,7 +7468,8 @@ const VListGroup = genericComponent()({
7456
7468
  "class": ['v-list-group', {
7457
7469
  'v-list-group--prepend': list == null ? void 0 : list.hasPrepend.value,
7458
7470
  'v-list-group--fluid': props.fluid,
7459
- 'v-list-group--subgroup': props.subgroup
7471
+ 'v-list-group--subgroup': props.subgroup,
7472
+ 'v-list-group--open': isOpen.value
7460
7473
  }]
7461
7474
  }, {
7462
7475
  default: () => [slots.activator && createVNode(VDefaultsProvider, {
@@ -8083,8 +8096,10 @@ const VList = genericComponent()({
8083
8096
  const focusable = [...contentRef.value.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')].filter(el => !el.hasAttribute('disabled'));
8084
8097
  const idx = focusable.indexOf(document.activeElement);
8085
8098
  if (!location) {
8086
- var _focusable$;
8087
- (_focusable$ = focusable[0]) == null ? void 0 : _focusable$.focus();
8099
+ if (!contentRef.value.contains(document.activeElement)) {
8100
+ var _focusable$;
8101
+ (_focusable$ = focusable[0]) == null ? void 0 : _focusable$.focus();
8102
+ }
8088
8103
  } else if (location === 'first') {
8089
8104
  var _focusable$2;
8090
8105
  (_focusable$2 = focusable[0]) == null ? void 0 : _focusable$2.focus();
@@ -12142,7 +12157,7 @@ const useSlider = _ref => {
12142
12157
  const {
12143
12158
  isRtl
12144
12159
  } = useRtl();
12145
- const isReversed = computed(() => isRtl.value !== props.reverse);
12160
+ const isReversed = toRef(props, 'reverse');
12146
12161
  const horizontalDirection = computed(() => {
12147
12162
  let hd = isRtl.value ? 'rtl' : 'ltr';
12148
12163
  if (props.reverse) {
@@ -12191,7 +12206,7 @@ const useSlider = _ref => {
12191
12206
 
12192
12207
  // It is possible for left to be NaN, force to number
12193
12208
  let clickPos = Math.min(Math.max((clickOffset - trackStart - startOffset.value) / trackLength, 0), 1) || 0;
12194
- if (vertical || isReversed.value) clickPos = 1 - clickPos;
12209
+ if (vertical || horizontalDirection.value === 'rtl') clickPos = 1 - clickPos;
12195
12210
  return roundValue(min.value + clickPos * (max.value - min.value));
12196
12211
  }
12197
12212
  let thumbMoved = false;
@@ -12398,7 +12413,7 @@ const VSliderThumb = defineComponent({
12398
12413
  const _step = step.value || 0.1;
12399
12414
  const steps = (props.max - props.min) / _step;
12400
12415
  if ([left, right, down, up].includes(e.key)) {
12401
- const increase = isReversed.value ? [left, up] : [right, up];
12416
+ const increase = horizontalDirection.value === 'rtl' ? [left, up] : [right, up];
12402
12417
  const direction = increase.includes(e.key) ? 1 : -1;
12403
12418
  const multiplier = e.shiftKey ? 2 : e.ctrlKey ? 1 : 0;
12404
12419
  value = value + direction * _step * multipliers.value[multiplier];
@@ -12418,8 +12433,7 @@ const VSliderThumb = defineComponent({
12418
12433
  }
12419
12434
  useRender(() => {
12420
12435
  var _slots$thumbLabel;
12421
- const positionPercentage = convertToUnit(vertical.value ? 100 - props.position : props.position, '%');
12422
- const inset = vertical.value ? 'block' : 'inline';
12436
+ const positionPercentage = convertToUnit(vertical.value || isReversed.value ? 100 - props.position : props.position, '%');
12423
12437
  const {
12424
12438
  elevationClasses
12425
12439
  } = useElevation(computed(() => !disabled.value ? elevation.value : undefined));
@@ -12429,9 +12443,8 @@ const VSliderThumb = defineComponent({
12429
12443
  'v-slider-thumb--pressed': props.focused && mousePressed.value
12430
12444
  }],
12431
12445
  "style": {
12432
- [`inset-${inset}-start`]: `calc(${positionPercentage} - var(--v-slider-thumb-size) / 2)`,
12433
- '--v-slider-thumb-size': convertToUnit(thumbSize.value),
12434
- direction: !vertical.value ? horizontalDirection.value : undefined
12446
+ '--v-slider-thumb-position': positionPercentage,
12447
+ '--v-slider-thumb-size': convertToUnit(thumbSize.value)
12435
12448
  },
12436
12449
  "role": "slider",
12437
12450
  "tabindex": disabled.value ? -1 : 0,
@@ -14167,6 +14180,7 @@ const VFileInput = defineComponent({
14167
14180
  }), {
14168
14181
  ...slots,
14169
14182
  default: _ref4 => {
14183
+ var _model$value2;
14170
14184
  let {
14171
14185
  props: {
14172
14186
  class: fieldClass,
@@ -14193,7 +14207,7 @@ const VFileInput = defineComponent({
14193
14207
  "onBlur": () => isFocused.value = false
14194
14208
  }, slotProps, inputAttrs), null), createVNode("div", {
14195
14209
  "class": fieldClass
14196
- }, [model.value.length > 0 && (slots.selection ? slots.selection({
14210
+ }, [!!((_model$value2 = model.value) != null && _model$value2.length) && (slots.selection ? slots.selection({
14197
14211
  fileNames: fileNames.value,
14198
14212
  totalBytes: totalBytes.value,
14199
14213
  totalBytesReadable: totalBytesReadable.value
@@ -14208,9 +14222,9 @@ const VFileInput = defineComponent({
14208
14222
  });
14209
14223
  },
14210
14224
  details: hasDetails ? slotProps => {
14211
- var _slots$details;
14225
+ var _slots$details, _model$value3;
14212
14226
  return createVNode(Fragment, null, [(_slots$details = slots.details) == null ? void 0 : _slots$details.call(slots, slotProps), hasCounter && createVNode(Fragment, null, [createVNode("span", null, null), createVNode(VCounter, {
14213
- "active": !!model.value.length,
14227
+ "active": !!((_model$value3 = model.value) != null && _model$value3.length),
14214
14228
  "value": counterValue.value
14215
14229
  }, slots.counter)])]);
14216
14230
  } : undefined
@@ -16786,6 +16800,7 @@ const VSnackbar = genericComponent()({
16786
16800
  ...makePositionProps(),
16787
16801
  ...makeRoundedProps(),
16788
16802
  ...makeVariantProps(),
16803
+ ...makeThemeProps(),
16789
16804
  ...omit(makeVOverlayProps({
16790
16805
  transition: 'v-snackbar-transition'
16791
16806
  }), ['persistent', 'noClickAnimation', 'scrim', 'scrollStrategy'])
@@ -16807,6 +16822,9 @@ const VSnackbar = genericComponent()({
16807
16822
  const {
16808
16823
  scopeId
16809
16824
  } = useScopeId();
16825
+ const {
16826
+ themeClasses
16827
+ } = provideTheme(props);
16810
16828
  const {
16811
16829
  colorClasses,
16812
16830
  colorStyles,
@@ -16854,7 +16872,7 @@ const VSnackbar = genericComponent()({
16854
16872
  "scrollStrategy": "none"
16855
16873
  }, scopeId), {
16856
16874
  default: () => [createVNode("div", {
16857
- "class": ['v-snackbar__wrapper', colorClasses.value, roundedClasses.value, variantClasses.value],
16875
+ "class": ['v-snackbar__wrapper', themeClasses.value, colorClasses.value, roundedClasses.value, variantClasses.value],
16858
16876
  "style": [colorStyles.value],
16859
16877
  "onPointerenter": onPointerenter,
16860
16878
  "onPointerleave": startTimeout
@@ -18226,7 +18244,7 @@ function createVuetify$1() {
18226
18244
  locale
18227
18245
  };
18228
18246
  }
18229
- const version$1 = "3.0.5";
18247
+ const version$1 = "3.0.6";
18230
18248
  createVuetify$1.version = version$1;
18231
18249
 
18232
18250
  // Vue's inject() can only be used in setup
@@ -18247,7 +18265,7 @@ const createVuetify = function () {
18247
18265
  ...options
18248
18266
  });
18249
18267
  };
18250
- const version = "3.0.5";
18268
+ const version = "3.0.6";
18251
18269
  createVuetify.version = version;
18252
18270
 
18253
18271
  export { components, createVuetify, directives, useDisplay, useLayout, useLocale, useRtl, useTheme, version };