@vuetify/nightly 3.8.1-master.2025-04-13 → 3.8.1-master.2025-04-15

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 (37) hide show
  1. package/CHANGELOG.md +32 -27
  2. package/dist/json/attributes.json +3391 -3391
  3. package/dist/json/importMap-labs.json +20 -20
  4. package/dist/json/importMap.json +202 -202
  5. package/dist/json/web-types.json +6071 -6075
  6. package/dist/vuetify-labs.cjs +30 -26
  7. package/dist/vuetify-labs.css +4235 -4235
  8. package/dist/vuetify-labs.d.ts +104 -91
  9. package/dist/vuetify-labs.esm.js +30 -26
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +30 -26
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.cjs +6 -8
  14. package/dist/vuetify.cjs.map +1 -1
  15. package/dist/vuetify.css +3224 -3224
  16. package/dist/vuetify.d.ts +94 -81
  17. package/dist/vuetify.esm.js +6 -8
  18. package/dist/vuetify.esm.js.map +1 -1
  19. package/dist/vuetify.js +6 -8
  20. package/dist/vuetify.js.map +1 -1
  21. package/dist/vuetify.min.css +2 -2
  22. package/dist/vuetify.min.js +9 -9
  23. package/dist/vuetify.min.js.map +1 -1
  24. package/lib/components/VDatePicker/VDatePicker.d.ts +7 -7
  25. package/lib/components/VDatePicker/VDatePickerMonth.d.ts +7 -7
  26. package/lib/composables/calendar.d.ts +2 -2
  27. package/lib/composables/calendar.js +3 -5
  28. package/lib/composables/calendar.js.map +1 -1
  29. package/lib/composables/theme.js.map +1 -1
  30. package/lib/entry-bundler.js +1 -1
  31. package/lib/framework.d.ts +71 -70
  32. package/lib/framework.js +1 -1
  33. package/lib/labs/VCalendar/VCalendar.d.ts +7 -7
  34. package/lib/labs/VCalendar/VCalendarInterval.js +25 -19
  35. package/lib/labs/VCalendar/VCalendarInterval.js.map +1 -1
  36. package/lib/labs/VDateInput/VDateInput.d.ts +7 -7
  37. package/package.json +44 -43
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.8.1-master.2025-04-13
2
+ * Vuetify v3.8.1-master.2025-04-15
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -21910,7 +21910,7 @@
21910
21910
  },
21911
21911
  firstDayOfWeek: {
21912
21912
  type: [Number, String],
21913
- default: 0
21913
+ default: undefined
21914
21914
  }
21915
21915
  }, 'calendar');
21916
21916
  function useCalendar(props) {
@@ -21933,14 +21933,12 @@
21933
21933
  return adapter.setMonth(date, value);
21934
21934
  }, v => adapter.getMonth(v));
21935
21935
  const weekDays = vue.computed(() => {
21936
- const firstDayOfWeek = Number(props.firstDayOfWeek);
21937
-
21936
+ const firstDayOfWeek = adapter.toJsDate(adapter.startOfWeek(adapter.date(), props.firstDayOfWeek)).getDay();
21938
21937
  // Always generate all days, regardless of props.weekdays
21939
21938
  return [0, 1, 2, 3, 4, 5, 6].map(day => (day + firstDayOfWeek) % 7);
21940
21939
  });
21941
21940
  const weeksInMonth = vue.computed(() => {
21942
- const firstDayOfWeek = Number(props.firstDayOfWeek);
21943
- const weeks = adapter.getWeekArray(month.value, firstDayOfWeek);
21941
+ const weeks = adapter.getWeekArray(month.value, props.firstDayOfWeek);
21944
21942
  const days = weeks.flat();
21945
21943
 
21946
21944
  // Make sure there's always 6 weeks in month (6 * 7 days)
@@ -28552,37 +28550,43 @@
28552
28550
  "style": `height: ${convertToUnit(props.intervalHeight)}`
28553
28551
  }, [vue.createVNode("div", {
28554
28552
  "class": "v-calendar-day__row-label"
28555
- }, [vue.createVNode("slot", {
28553
+ }, [vue.createVNode(vue.resolveComponent("slot"), {
28556
28554
  "name": "intervalFormat",
28557
28555
  "interval": interval.value
28558
- }, [props.index ? props.intervalFormat ? typeof props.intervalFormat === 'string' ? adapter.format(interval.value.start, 'hours12h') : props.intervalFormat(interval.value) : interval.value.label : ''])]), vue.createVNode("div", {
28556
+ }, {
28557
+ default: () => [props.index ? props.intervalFormat ? typeof props.intervalFormat === 'string' ? adapter.format(interval.value.start, 'hours12h') : props.intervalFormat(interval.value) : interval.value.label : '']
28558
+ })]), vue.createVNode("div", {
28559
28559
  "class": "v-calendar-day__row-hairline"
28560
28560
  }, null), vue.createVNode("div", {
28561
28561
  "class": ['v-calendar-day__row-content', interval.value.events.some(e => !e.last) ? 'v-calendar-day__row-content-through' : '']
28562
- }, [vue.createVNode("slot", {
28562
+ }, [vue.createVNode(vue.resolveComponent("slot"), {
28563
28563
  "name": "intervalBody",
28564
28564
  "interval": interval.value
28565
- }, [interval.value.events?.map(event => vue.createVNode(VCalendarIntervalEvent, {
28566
- "event": event,
28567
- "interval": interval.value,
28568
- "intervalDivisions": props.intervalDivisions,
28569
- "intervalDuration": props.intervalDuration,
28570
- "intervalHeight": props.intervalHeight
28571
- }, null))])])]) : vue.createVNode("div", {
28565
+ }, {
28566
+ default: () => [interval.value.events?.map(event => vue.createVNode(VCalendarIntervalEvent, {
28567
+ "event": event,
28568
+ "interval": interval.value,
28569
+ "intervalDivisions": props.intervalDivisions,
28570
+ "intervalDuration": props.intervalDuration,
28571
+ "intervalHeight": props.intervalHeight
28572
+ }, null))]
28573
+ })])]) : vue.createVNode("div", {
28572
28574
  "class": "v-calendar-day__row-without-label",
28573
28575
  "style": `height: ${convertToUnit(props.intervalHeight)}`
28574
28576
  }, [vue.createVNode("div", {
28575
28577
  "class": ['v-calendar-day__row-content', interval.value.events.some(e => !e.last) ? 'v-calendar-day__row-content-through' : '']
28576
- }, [vue.createVNode("slot", {
28578
+ }, [vue.createVNode(vue.resolveComponent("slot"), {
28577
28579
  "name": "intervalBody",
28578
28580
  "interval": interval.value
28579
- }, [interval.value.events?.filter(event => !event.allDay).map(event => vue.createVNode(VCalendarIntervalEvent, {
28580
- "event": event,
28581
- "interval": interval.value,
28582
- "intervalDivisions": props.intervalDivisions,
28583
- "intervalDuration": props.intervalDuration,
28584
- "intervalHeight": props.intervalHeight
28585
- }, null))])])]);
28581
+ }, {
28582
+ default: () => [interval.value.events?.filter(event => !event.allDay).map(event => vue.createVNode(VCalendarIntervalEvent, {
28583
+ "event": event,
28584
+ "interval": interval.value,
28585
+ "intervalDivisions": props.intervalDivisions,
28586
+ "intervalDuration": props.intervalDuration,
28587
+ "intervalHeight": props.intervalHeight
28588
+ }, null))]
28589
+ })])]);
28586
28590
  });
28587
28591
  return {
28588
28592
  interval
@@ -31491,7 +31495,7 @@
31491
31495
  };
31492
31496
  });
31493
31497
  }
31494
- const version$1 = "3.8.1-master.2025-04-13";
31498
+ const version$1 = "3.8.1-master.2025-04-15";
31495
31499
  createVuetify$1.version = version$1;
31496
31500
 
31497
31501
  // Vue's inject() can only be used in setup
@@ -31776,7 +31780,7 @@
31776
31780
 
31777
31781
  /* eslint-disable local-rules/sort-imports */
31778
31782
 
31779
- const version = "3.8.1-master.2025-04-13";
31783
+ const version = "3.8.1-master.2025-04-15";
31780
31784
 
31781
31785
  /* eslint-disable local-rules/sort-imports */
31782
31786