@vuetify/nightly 3.8.11-master.2025-06-30 → 3.8.12-master.2025-07-02

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 (38) hide show
  1. package/CHANGELOG.md +3 -20
  2. package/dist/json/attributes.json +2770 -2770
  3. package/dist/json/importMap-labs.json +26 -26
  4. package/dist/json/importMap.json +138 -138
  5. package/dist/json/web-types.json +5060 -5060
  6. package/dist/vuetify-labs.cjs +34 -37
  7. package/dist/vuetify-labs.css +4720 -4720
  8. package/dist/vuetify-labs.d.ts +50 -50
  9. package/dist/vuetify-labs.esm.js +34 -37
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +34 -37
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.cjs +26 -29
  14. package/dist/vuetify.cjs.map +1 -1
  15. package/dist/vuetify.css +2906 -2906
  16. package/dist/vuetify.d.ts +50 -50
  17. package/dist/vuetify.esm.js +26 -29
  18. package/dist/vuetify.esm.js.map +1 -1
  19. package/dist/vuetify.js +26 -29
  20. package/dist/vuetify.js.map +1 -1
  21. package/dist/vuetify.min.css +2 -2
  22. package/dist/vuetify.min.js +28 -28
  23. package/dist/vuetify.min.js.map +1 -1
  24. package/lib/components/VDatePicker/VDatePickerMonth.js +1 -2
  25. package/lib/components/VDatePicker/VDatePickerMonth.js.map +1 -1
  26. package/lib/components/VOtpInput/VOtpInput.js +17 -14
  27. package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
  28. package/lib/composables/calendar.d.ts +0 -1
  29. package/lib/composables/calendar.js +6 -10
  30. package/lib/composables/calendar.js.map +1 -1
  31. package/lib/composables/date/adapters/vuetify.js +1 -1
  32. package/lib/composables/date/adapters/vuetify.js.map +1 -1
  33. package/lib/entry-bundler.js +1 -1
  34. package/lib/framework.d.ts +50 -50
  35. package/lib/framework.js +1 -1
  36. package/lib/labs/VCalendar/VCalendar.js +8 -8
  37. package/lib/labs/VCalendar/VCalendar.js.map +1 -1
  38. package/package.json +1 -1
@@ -101806,39 +101806,36 @@ declare module 'vue' {
101806
101806
  }
101807
101807
  export interface GlobalComponents {
101808
101808
  VApp: VApp
101809
- VAutocomplete: VAutocomplete
101810
101809
  VAppBar: VAppBar
101811
101810
  VAppBarNavIcon: VAppBarNavIcon
101812
101811
  VAppBarTitle: VAppBarTitle
101812
+ VBadge: VBadge
101813
101813
  VAlert: VAlert
101814
101814
  VAlertTitle: VAlertTitle
101815
101815
  VAvatar: VAvatar
101816
+ VAutocomplete: VAutocomplete
101817
+ VBottomNavigation: VBottomNavigation
101816
101818
  VBanner: VBanner
101817
101819
  VBannerActions: VBannerActions
101818
101820
  VBannerText: VBannerText
101819
- VBadge: VBadge
101820
- VBottomNavigation: VBottomNavigation
101821
+ VBtn: VBtn
101822
+ VBottomSheet: VBottomSheet
101821
101823
  VBreadcrumbs: VBreadcrumbs
101822
101824
  VBreadcrumbsItem: VBreadcrumbsItem
101823
101825
  VBreadcrumbsDivider: VBreadcrumbsDivider
101824
- VBtn: VBtn
101825
- VBtnGroup: VBtnGroup
101826
- VBtnToggle: VBtnToggle
101827
- VBottomSheet: VBottomSheet
101828
- VCheckbox: VCheckbox
101829
- VCheckboxBtn: VCheckboxBtn
101830
101826
  VCard: VCard
101831
101827
  VCardActions: VCardActions
101832
101828
  VCardItem: VCardItem
101833
101829
  VCardSubtitle: VCardSubtitle
101834
101830
  VCardText: VCardText
101835
101831
  VCardTitle: VCardTitle
101836
- VCarousel: VCarousel
101837
- VCarouselItem: VCarouselItem
101838
- VColorPicker: VColorPicker
101839
- VCombobox: VCombobox
101840
- VCode: VCode
101832
+ VBtnToggle: VBtnToggle
101833
+ VBtnGroup: VBtnGroup
101834
+ VCheckbox: VCheckbox
101835
+ VCheckboxBtn: VCheckboxBtn
101841
101836
  VChip: VChip
101837
+ VChipGroup: VChipGroup
101838
+ VCombobox: VCombobox
101842
101839
  VDataTable: VDataTable
101843
101840
  VDataTableHeaders: VDataTableHeaders
101844
101841
  VDataTableFooter: VDataTableFooter
@@ -101846,38 +101843,41 @@ declare module 'vue' {
101846
101843
  VDataTableRow: VDataTableRow
101847
101844
  VDataTableVirtual: VDataTableVirtual
101848
101845
  VDataTableServer: VDataTableServer
101846
+ VCarousel: VCarousel
101847
+ VCarouselItem: VCarouselItem
101848
+ VCode: VCode
101849
+ VColorPicker: VColorPicker
101850
+ VCounter: VCounter
101851
+ VDivider: VDivider
101852
+ VDialog: VDialog
101849
101853
  VDatePicker: VDatePicker
101850
101854
  VDatePickerControls: VDatePickerControls
101851
101855
  VDatePickerHeader: VDatePickerHeader
101852
101856
  VDatePickerMonth: VDatePickerMonth
101853
101857
  VDatePickerMonths: VDatePickerMonths
101854
101858
  VDatePickerYears: VDatePickerYears
101855
- VChipGroup: VChipGroup
101856
- VDialog: VDialog
101857
- VDivider: VDivider
101858
101859
  VEmptyState: VEmptyState
101859
- VFab: VFab
101860
101860
  VExpansionPanels: VExpansionPanels
101861
101861
  VExpansionPanel: VExpansionPanel
101862
101862
  VExpansionPanelText: VExpansionPanelText
101863
101863
  VExpansionPanelTitle: VExpansionPanelTitle
101864
- VCounter: VCounter
101865
- VFooter: VFooter
101866
- VFileInput: VFileInput
101864
+ VFab: VFab
101867
101865
  VField: VField
101868
101866
  VFieldLabel: VFieldLabel
101867
+ VFileInput: VFileInput
101868
+ VImg: VImg
101869
+ VFooter: VFooter
101869
101870
  VIcon: VIcon
101870
101871
  VComponentIcon: VComponentIcon
101871
101872
  VSvgIcon: VSvgIcon
101872
101873
  VLigatureIcon: VLigatureIcon
101873
101874
  VClassIcon: VClassIcon
101874
- VImg: VImg
101875
+ VInfiniteScroll: VInfiniteScroll
101876
+ VInput: VInput
101875
101877
  VItemGroup: VItemGroup
101876
101878
  VItem: VItem
101877
- VInput: VInput
101878
- VKbd: VKbd
101879
- VInfiniteScroll: VInfiniteScroll
101880
101879
  VLabel: VLabel
101880
+ VKbd: VKbd
101881
101881
  VList: VList
101882
101882
  VListGroup: VListGroup
101883
101883
  VListImg: VListImg
@@ -101887,50 +101887,50 @@ declare module 'vue' {
101887
101887
  VListItemSubtitle: VListItemSubtitle
101888
101888
  VListItemTitle: VListItemTitle
101889
101889
  VListSubheader: VListSubheader
101890
- VMain: VMain
101891
101890
  VMessages: VMessages
101891
+ VMain: VMain
101892
+ VMenu: VMenu
101892
101893
  VNavigationDrawer: VNavigationDrawer
101893
- VNumberInput: VNumberInput
101894
101894
  VOtpInput: VOtpInput
101895
- VOverlay: VOverlay
101895
+ VNumberInput: VNumberInput
101896
101896
  VProgressCircular: VProgressCircular
101897
101897
  VPagination: VPagination
101898
- VRating: VRating
101899
101898
  VProgressLinear: VProgressLinear
101899
+ VRating: VRating
101900
101900
  VRadioGroup: VRadioGroup
101901
+ VSelectionControlGroup: VSelectionControlGroup
101901
101902
  VSelect: VSelect
101902
101903
  VSkeletonLoader: VSkeletonLoader
101903
- VSelectionControlGroup: VSelectionControlGroup
101904
- VSelectionControl: VSelectionControl
101905
101904
  VSheet: VSheet
101906
- VSnackbar: VSnackbar
101907
- VSlider: VSlider
101908
101905
  VSlideGroup: VSlideGroup
101909
101906
  VSlideGroupItem: VSlideGroupItem
101907
+ VSlider: VSlider
101908
+ VSnackbar: VSnackbar
101909
+ VSelectionControl: VSelectionControl
101910
101910
  VStepper: VStepper
101911
101911
  VStepperActions: VStepperActions
101912
101912
  VStepperHeader: VStepperHeader
101913
101913
  VStepperItem: VStepperItem
101914
101914
  VStepperWindow: VStepperWindow
101915
101915
  VStepperWindowItem: VStepperWindowItem
101916
- VSwitch: VSwitch
101917
- VSystemBar: VSystemBar
101918
- VTextField: VTextField
101916
+ VTable: VTable
101919
101917
  VTab: VTab
101920
101918
  VTabs: VTabs
101921
101919
  VTabsWindow: VTabsWindow
101922
101920
  VTabsWindowItem: VTabsWindowItem
101921
+ VTextField: VTextField
101922
+ VSystemBar: VSystemBar
101923
+ VSwitch: VSwitch
101923
101924
  VTextarea: VTextarea
101924
101925
  VTimeline: VTimeline
101925
101926
  VTimelineItem: VTimelineItem
101926
- VTable: VTable
101927
101927
  VTooltip: VTooltip
101928
+ VWindow: VWindow
101929
+ VWindowItem: VWindowItem
101928
101930
  VToolbar: VToolbar
101929
101931
  VToolbarTitle: VToolbarTitle
101930
101932
  VToolbarItems: VToolbarItems
101931
- VWindow: VWindow
101932
- VWindowItem: VWindowItem
101933
- VMenu: VMenu
101933
+ VOverlay: VOverlay
101934
101934
  VConfirmEdit: VConfirmEdit
101935
101935
  VDataIterator: VDataIterator
101936
101936
  VDefaultsProvider: VDefaultsProvider
@@ -101944,9 +101944,9 @@ declare module 'vue' {
101944
101944
  VLayoutItem: VLayoutItem
101945
101945
  VLazy: VLazy
101946
101946
  VLocaleProvider: VLocaleProvider
101947
+ VRadio: VRadio
101947
101948
  VNoSsr: VNoSsr
101948
101949
  VParallax: VParallax
101949
- VRadio: VRadio
101950
101950
  VRangeSlider: VRangeSlider
101951
101951
  VResponsive: VResponsive
101952
101952
  VSnackbarQueue: VSnackbarQueue
@@ -101954,6 +101954,7 @@ declare module 'vue' {
101954
101954
  VSpeedDial: VSpeedDial
101955
101955
  VThemeProvider: VThemeProvider
101956
101956
  VValidation: VValidation
101957
+ VVirtualScroll: VVirtualScroll
101957
101958
  VFabTransition: VFabTransition
101958
101959
  VDialogBottomTransition: VDialogBottomTransition
101959
101960
  VDialogTopTransition: VDialogTopTransition
@@ -101970,29 +101971,28 @@ declare module 'vue' {
101970
101971
  VExpandTransition: VExpandTransition
101971
101972
  VExpandXTransition: VExpandXTransition
101972
101973
  VDialogTransition: VDialogTransition
101973
- VVirtualScroll: VVirtualScroll
101974
- VPicker: VPicker
101975
- VPickerTitle: VPickerTitle
101976
101974
  VColorInput: VColorInput
101977
- VFileUpload: VFileUpload
101978
- VFileUploadItem: VFileUploadItem
101979
101975
  VCalendar: VCalendar
101980
101976
  VCalendarDay: VCalendarDay
101981
101977
  VCalendarHeader: VCalendarHeader
101982
101978
  VCalendarInterval: VCalendarInterval
101983
101979
  VCalendarIntervalEvent: VCalendarIntervalEvent
101984
101980
  VCalendarMonthDay: VCalendarMonthDay
101981
+ VPicker: VPicker
101982
+ VPickerTitle: VPickerTitle
101985
101983
  VStepperVertical: VStepperVertical
101986
101984
  VStepperVerticalItem: VStepperVerticalItem
101987
101985
  VStepperVerticalActions: VStepperVerticalActions
101988
- VTreeview: VTreeview
101989
- VTreeviewItem: VTreeviewItem
101990
- VTreeviewGroup: VTreeviewGroup
101986
+ VFileUpload: VFileUpload
101987
+ VFileUploadItem: VFileUploadItem
101991
101988
  VTimePicker: VTimePicker
101992
101989
  VTimePickerClock: VTimePickerClock
101993
101990
  VTimePickerControls: VTimePickerControls
101994
- VIconBtn: VIconBtn
101991
+ VTreeview: VTreeview
101992
+ VTreeviewItem: VTreeviewItem
101993
+ VTreeviewGroup: VTreeviewGroup
101995
101994
  VDateInput: VDateInput
101996
101995
  VPullToRefresh: VPullToRefresh
101996
+ VIconBtn: VIconBtn
101997
101997
  }
101998
101998
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.8.11-master.2025-06-30
2
+ * Vuetify v3.8.12-master.2025-07-02
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -17300,7 +17300,7 @@ function format(value, formatString, locale, formats) {
17300
17300
  case 'fullDate':
17301
17301
  options = {
17302
17302
  year: 'numeric',
17303
- month: 'long',
17303
+ month: 'short',
17304
17304
  day: 'numeric'
17305
17305
  };
17306
17306
  break;
@@ -22096,13 +22096,9 @@ function useCalendar(props) {
22096
22096
  const date = adapter.setYear(adapter.startOfMonth(adapter.date()), adapter.getYear(year.value));
22097
22097
  return adapter.setMonth(date, value);
22098
22098
  }, v => adapter.getMonth(v));
22099
- const weekDays = computed(() => {
22100
- const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
22101
- return props.weekdays.map(day => (day + firstDayOfWeek) % 7);
22102
- });
22103
22099
  const weekdayLabels = computed(() => {
22104
- const labels = adapter.getWeekdays(props.firstDayOfWeek);
22105
- return weekDays.value.map(day => labels[day]);
22100
+ const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
22101
+ return adapter.getWeekdays(props.firstDayOfWeek).filter((_, i) => props.weekdays.includes((i + firstDayOfWeek) % 7));
22106
22102
  });
22107
22103
  const weeksInMonth = computed(() => {
22108
22104
  const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
@@ -22126,13 +22122,14 @@ function useCalendar(props) {
22126
22122
  });
22127
22123
  function genDays(days, today) {
22128
22124
  return days.filter(date => {
22129
- return weekDays.value.includes(adapter.toJsDate(date).getDay());
22125
+ return props.weekdays.includes(adapter.toJsDate(date).getDay());
22130
22126
  }).map((date, index) => {
22131
22127
  const isoDate = adapter.toISO(date);
22132
22128
  const isAdjacent = !adapter.isSameMonth(date, month.value);
22133
22129
  const isStart = adapter.isSameDay(date, adapter.startOfMonth(month.value));
22134
22130
  const isEnd = adapter.isSameDay(date, adapter.endOfMonth(month.value));
22135
22131
  const isSame = adapter.isSameDay(date, month.value);
22132
+ const weekdaysCount = props.weekdays.length;
22136
22133
  return {
22137
22134
  date,
22138
22135
  formatted: adapter.format(date, 'keyboardDate'),
@@ -22144,8 +22141,8 @@ function useCalendar(props) {
22144
22141
  isSelected: model.value.some(value => adapter.isSameDay(date, value)),
22145
22142
  isStart,
22146
22143
  isToday: adapter.isSameDay(date, today),
22147
- isWeekEnd: index % 7 === 6,
22148
- isWeekStart: index % 7 === 0,
22144
+ isWeekEnd: index % weekdaysCount === weekdaysCount - 1,
22145
+ isWeekStart: index % weekdaysCount === 0,
22149
22146
  isoDate,
22150
22147
  localized: adapter.format(date, 'dayOfMonth'),
22151
22148
  month: adapter.getMonth(date),
@@ -22192,7 +22189,6 @@ function useCalendar(props) {
22192
22189
  genDays,
22193
22190
  model,
22194
22191
  weeksInMonth,
22195
- weekDays,
22196
22192
  weekdayLabels,
22197
22193
  weekNumbers
22198
22194
  };
@@ -22233,7 +22229,6 @@ const VDatePickerMonth = genericComponent()({
22233
22229
  daysInMonth,
22234
22230
  model,
22235
22231
  weekNumbers,
22236
- weekDays,
22237
22232
  weekdayLabels
22238
22233
  } = useCalendar(props);
22239
22234
  const adapter = useDate();
@@ -22308,7 +22303,7 @@ const VDatePickerMonth = genericComponent()({
22308
22303
  useRender(() => createElementVNode("div", {
22309
22304
  "class": "v-date-picker-month",
22310
22305
  "style": {
22311
- '--v-date-picker-days-in-week': weekDays.value.length
22306
+ '--v-date-picker-days-in-week': props.weekdays.length
22312
22307
  }
22313
22308
  }, [props.showWeek && createElementVNode("div", {
22314
22309
  "key": "weeks",
@@ -25379,19 +25374,21 @@ const VOtpInput = genericComponent()({
25379
25374
  const contentRef = ref();
25380
25375
  const inputRef = ref([]);
25381
25376
  const current = computed(() => inputRef.value[focusIndex.value]);
25382
- const intersectScope = effectScope();
25383
- intersectScope.run(() => {
25384
- const {
25385
- intersectionRef,
25386
- isIntersecting
25387
- } = useIntersectionObserver();
25388
- watch(isIntersecting, v => {
25389
- if (!v) return;
25390
- intersectionRef.value?.focus();
25391
- intersectScope.stop();
25392
- });
25393
- watchEffect(() => {
25394
- intersectionRef.value = inputRef.value[0];
25377
+ useToggleScope(() => props.autofocus, () => {
25378
+ const intersectScope = effectScope();
25379
+ intersectScope.run(() => {
25380
+ const {
25381
+ intersectionRef,
25382
+ isIntersecting
25383
+ } = useIntersectionObserver();
25384
+ watchEffect(() => {
25385
+ intersectionRef.value = inputRef.value[0];
25386
+ });
25387
+ watch(isIntersecting, v => {
25388
+ if (!v) return;
25389
+ intersectionRef.value?.focus();
25390
+ intersectScope.stop();
25391
+ });
25395
25392
  });
25396
25393
  });
25397
25394
  function onInput() {
@@ -29230,9 +29227,8 @@ const VCalendar = genericComponent()({
29230
29227
  model,
29231
29228
  displayValue,
29232
29229
  weekNumbers,
29233
- weekDays
29230
+ weekdayLabels
29234
29231
  } = useCalendar(props);
29235
- const dayNames = adapter.getWeekdays();
29236
29232
  function onClickNext() {
29237
29233
  if (props.viewMode === 'month') {
29238
29234
  model.value = [adapter.addMonths(displayValue.value, 1)];
@@ -29270,6 +29266,7 @@ const VCalendar = genericComponent()({
29270
29266
  useRender(() => {
29271
29267
  const calendarDayProps = VCalendarDay.filterProps(props);
29272
29268
  const calendarHeaderProps = VCalendarHeader.filterProps(props);
29269
+ const weekdaysCount = daysInWeek.value.length;
29273
29270
  return createElementVNode("div", {
29274
29271
  "class": normalizeClass(['v-calendar', {
29275
29272
  'v-calendar-monthly': props.viewMode === 'month',
@@ -29291,19 +29288,19 @@ const VCalendar = genericComponent()({
29291
29288
  }), {
29292
29289
  title: slots.title
29293
29290
  }))]), createElementVNode("div", {
29294
- "class": normalizeClass(['v-calendar__container', `days__${weekDays.value.length}`])
29291
+ "class": normalizeClass(['v-calendar__container', `days__${weekdaysCount}`])
29295
29292
  }, [props.viewMode === 'month' && !props.hideDayHeader && createElementVNode("div", {
29296
- "class": normalizeClass(['v-calendar-weekly__head', `days__${weekDays.value.length}`, ...(!props.hideWeekNumber ? ['v-calendar-weekly__head-weeknumbers'] : [])]),
29293
+ "class": normalizeClass(['v-calendar-weekly__head', `days__${weekdaysCount}`, ...(!props.hideWeekNumber ? ['v-calendar-weekly__head-weeknumbers'] : [])]),
29297
29294
  "key": "calendarWeeklyHead"
29298
29295
  }, [!props.hideWeekNumber ? createElementVNode("div", {
29299
29296
  "key": "weekNumber0",
29300
29297
  "class": "v-calendar-weekly__head-weeknumber"
29301
- }, null) : '', weekDays.value.map(weekday => createElementVNode("div", {
29298
+ }, null) : '', weekdayLabels.value.map(weekday => createElementVNode("div", {
29302
29299
  "class": normalizeClass(`v-calendar-weekly__head-weekday${!props.hideWeekNumber ? '-with-weeknumber' : ''}`)
29303
- }, [dayNames[weekday]]))]), props.viewMode === 'month' && createElementVNode("div", {
29300
+ }, [weekday]))]), props.viewMode === 'month' && createElementVNode("div", {
29304
29301
  "key": "VCalendarMonth",
29305
- "class": normalizeClass(['v-calendar-month__days', `days${!props.hideWeekNumber ? '-with-weeknumbers' : ''}__${weekDays.value.length}`, ...(!props.hideWeekNumber ? ['v-calendar-month__weeknumbers'] : [])])
29306
- }, [chunkArray(daysInMonth.value, weekDays.value.length).map((week, wi) => [!props.hideWeekNumber ? createElementVNode("div", mergeProps({
29302
+ "class": normalizeClass(['v-calendar-month__days', `days${!props.hideWeekNumber ? '-with-weeknumbers' : ''}__${weekdaysCount}`, ...(!props.hideWeekNumber ? ['v-calendar-month__weeknumbers'] : [])])
29303
+ }, [chunkArray(daysInMonth.value, weekdaysCount).map((week, wi) => [!props.hideWeekNumber ? createElementVNode("div", mergeProps({
29307
29304
  "class": "v-calendar-month__weeknumber"
29308
29305
  }, getPrefixedEventHandlers(attrs, ':weekNumber', () => ({
29309
29306
  weekNumber: weekNumbers.value[wi],
@@ -32199,7 +32196,7 @@ function createVuetify$1() {
32199
32196
  };
32200
32197
  });
32201
32198
  }
32202
- const version$1 = "3.8.11-master.2025-06-30";
32199
+ const version$1 = "3.8.12-master.2025-07-02";
32203
32200
  createVuetify$1.version = version$1;
32204
32201
 
32205
32202
  // Vue's inject() can only be used in setup
@@ -32497,7 +32494,7 @@ var index = /*#__PURE__*/Object.freeze({
32497
32494
 
32498
32495
  /* eslint-disable local-rules/sort-imports */
32499
32496
 
32500
- const version = "3.8.11-master.2025-06-30";
32497
+ const version = "3.8.12-master.2025-07-02";
32501
32498
 
32502
32499
  /* eslint-disable local-rules/sort-imports */
32503
32500