@vuetify/nightly 3.6.14-master.2024-08-04 → 3.6.14-master.2024-08-13

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 (139) hide show
  1. package/dist/json/attributes.json +7 -11
  2. package/dist/json/importMap-labs.json +30 -30
  3. package/dist/json/importMap.json +144 -144
  4. package/dist/json/tags.json +0 -1
  5. package/dist/json/web-types.json +8 -18
  6. package/dist/vuetify-labs.css +2162 -2162
  7. package/dist/vuetify-labs.d.ts +33122 -39828
  8. package/dist/vuetify-labs.esm.js +17 -9
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +17 -9
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +1025 -1025
  13. package/dist/vuetify.d.ts +32674 -39040
  14. package/dist/vuetify.esm.js +16 -8
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +16 -8
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +22 -22
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAlert/index.d.mts +50 -73
  22. package/lib/components/VApp/index.d.mts +9 -11
  23. package/lib/components/VAppBar/index.d.mts +92 -128
  24. package/lib/components/VAutocomplete/index.d.mts +4771 -3230
  25. package/lib/components/VAvatar/index.d.mts +23 -22
  26. package/lib/components/VBadge/index.d.mts +53 -59
  27. package/lib/components/VBanner/index.d.mts +44 -66
  28. package/lib/components/VBottomNavigation/index.d.mts +25 -32
  29. package/lib/components/VBottomSheet/index.d.mts +125 -135
  30. package/lib/components/VBreadcrumbs/index.d.mts +35 -78
  31. package/lib/components/VBtn/index.d.mts +49 -53
  32. package/lib/components/VBtnGroup/index.d.mts +14 -13
  33. package/lib/components/VBtnToggle/index.d.mts +21 -23
  34. package/lib/components/VCard/index.d.mts +104 -168
  35. package/lib/components/VCarousel/index.d.mts +59 -96
  36. package/lib/components/VCheckbox/index.d.mts +132 -155
  37. package/lib/components/VChip/index.d.mts +47 -59
  38. package/lib/components/VChipGroup/index.d.mts +39 -41
  39. package/lib/components/VCode/index.d.mts +9 -11
  40. package/lib/components/VColorPicker/index.d.mts +58 -133
  41. package/lib/components/VCombobox/index.d.mts +4785 -3244
  42. package/lib/components/VConfirmEdit/index.d.mts +11 -19
  43. package/lib/components/VCounter/index.d.mts +40 -42
  44. package/lib/components/VDataIterator/index.d.mts +171 -185
  45. package/lib/components/VDataTable/index.d.mts +480 -1204
  46. package/lib/components/VDatePicker/index.d.mts +120 -158
  47. package/lib/components/VDefaultsProvider/index.d.mts +5 -9
  48. package/lib/components/VDialog/index.d.mts +243 -277
  49. package/lib/components/VDivider/index.d.mts +9 -11
  50. package/lib/components/VEmptyState/index.d.mts +30 -52
  51. package/lib/components/VExpansionPanel/index.d.mts +60 -85
  52. package/lib/components/VFab/index.d.mts +81 -73
  53. package/lib/components/VField/index.d.mts +35 -62
  54. package/lib/components/VFileInput/VFileInput.mjs +1 -1
  55. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  56. package/lib/components/VFileInput/index.d.mts +172 -259
  57. package/lib/components/VFooter/index.d.mts +9 -11
  58. package/lib/components/VForm/index.d.mts +105 -77
  59. package/lib/components/VGrid/index.d.mts +41 -52
  60. package/lib/components/VHover/index.d.mts +5 -9
  61. package/lib/components/VIcon/index.d.mts +23 -29
  62. package/lib/components/VImg/index.d.mts +28 -42
  63. package/lib/components/VInfiniteScroll/index.d.mts +17 -37
  64. package/lib/components/VInput/index.d.mts +48 -50
  65. package/lib/components/VItemGroup/index.d.mts +21 -30
  66. package/lib/components/VKbd/index.d.mts +9 -11
  67. package/lib/components/VLabel/index.d.mts +9 -11
  68. package/lib/components/VLayout/index.d.mts +18 -24
  69. package/lib/components/VLazy/index.d.mts +42 -44
  70. package/lib/components/VList/VList.mjs.map +1 -1
  71. package/lib/components/VList/index.d.mts +210 -329
  72. package/lib/components/VLocaleProvider/index.d.mts +9 -11
  73. package/lib/components/VMain/index.d.mts +9 -11
  74. package/lib/components/VMenu/index.d.mts +272 -306
  75. package/lib/components/VMessages/index.d.mts +49 -51
  76. package/lib/components/VNavigationDrawer/index.d.mts +27 -40
  77. package/lib/components/VOtpInput/index.d.mts +22 -28
  78. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  79. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  80. package/lib/components/VOverlay/index.d.mts +53 -63
  81. package/lib/components/VPagination/index.d.mts +31 -46
  82. package/lib/components/VParallax/index.d.mts +15 -29
  83. package/lib/components/VProgressCircular/index.d.mts +9 -11
  84. package/lib/components/VProgressLinear/index.d.mts +22 -24
  85. package/lib/components/VRadio/index.d.mts +49 -52
  86. package/lib/components/VRadioGroup/index.d.mts +66 -66
  87. package/lib/components/VRangeSlider/index.d.mts +58 -69
  88. package/lib/components/VRating/index.d.mts +13 -19
  89. package/lib/components/VResponsive/index.d.mts +11 -17
  90. package/lib/components/VSelect/index.d.mts +4762 -3221
  91. package/lib/components/VSelectionControl/index.d.mts +38 -44
  92. package/lib/components/VSelectionControlGroup/index.d.mts +34 -34
  93. package/lib/components/VSheet/index.d.mts +15 -17
  94. package/lib/components/VSkeletonLoader/index.d.mts +41 -11
  95. package/lib/components/VSlideGroup/index.d.mts +112 -129
  96. package/lib/components/VSlider/index.d.mts +58 -69
  97. package/lib/components/VSnackbar/VSnackbar.mjs +5 -1
  98. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  99. package/lib/components/VSnackbar/index.d.mts +231 -270
  100. package/lib/components/VSparkline/index.d.mts +11 -19
  101. package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
  102. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  103. package/lib/components/VSpeedDial/index.d.mts +179 -189
  104. package/lib/components/VStepper/index.d.mts +105 -180
  105. package/lib/components/VSwitch/index.d.mts +78 -98
  106. package/lib/components/VSystemBar/index.d.mts +13 -15
  107. package/lib/components/VTable/index.d.mts +15 -29
  108. package/lib/components/VTabs/index.d.mts +213 -297
  109. package/lib/components/VTextField/index.d.mts +253 -408
  110. package/lib/components/VTextarea/index.d.mts +157 -236
  111. package/lib/components/VThemeProvider/index.d.mts +9 -11
  112. package/lib/components/VTimeline/index.d.mts +29 -43
  113. package/lib/components/VToolbar/index.d.mts +49 -80
  114. package/lib/components/VTooltip/index.d.mts +282 -316
  115. package/lib/components/VValidation/index.d.mts +16 -23
  116. package/lib/components/VVirtualScroll/index.d.mts +14 -23
  117. package/lib/components/VWindow/index.d.mts +29 -50
  118. package/lib/components/index.d.mts +31169 -37524
  119. package/lib/components/transitions/index.d.mts +84 -148
  120. package/lib/composables/location.mjs.map +1 -1
  121. package/lib/directives/click-outside/index.mjs +3 -0
  122. package/lib/directives/click-outside/index.mjs.map +1 -1
  123. package/lib/entry-bundler.mjs +1 -1
  124. package/lib/framework.mjs +1 -1
  125. package/lib/index.d.mts +60 -60
  126. package/lib/labs/VCalendar/index.d.mts +146 -166
  127. package/lib/labs/VDateInput/index.d.mts +83 -62
  128. package/lib/labs/VNumberInput/index.d.mts +61 -88
  129. package/lib/labs/VPicker/index.d.mts +28 -46
  130. package/lib/labs/VPullToRefresh/index.d.mts +7 -15
  131. package/lib/labs/VSnackbarQueue/index.d.mts +311 -369
  132. package/lib/labs/VStepperVertical/index.d.mts +109 -184
  133. package/lib/labs/VTimePicker/index.d.mts +35 -53
  134. package/lib/labs/VTreeview/VTreeview.mjs +1 -1
  135. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  136. package/lib/labs/VTreeview/index.d.mts +200 -292
  137. package/lib/labs/components.d.mts +905 -1246
  138. package/lib/util/propsFactory.mjs.map +1 -1
  139. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.14-master.2024-08-04
2
+ * Vuetify v3.6.14-master.2024-08-13
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -10661,6 +10661,9 @@ function checkIsActive(e, binding) {
10661
10661
  }
10662
10662
  function directive(e, el, binding) {
10663
10663
  const handler = typeof binding.value === 'function' ? binding.value : binding.value.handler;
10664
+
10665
+ // Clicks in the Shadow DOM change their target while using setTimeout, so the original target is saved here
10666
+ e.shadowTarget = e.target;
10664
10667
  el._clickOutside.lastMousedownWasOutside && checkEvent(e, el, binding) && setTimeout(() => {
10665
10668
  checkIsActive(e, binding) && handler && handler(e);
10666
10669
  }, 0);
@@ -10784,6 +10787,7 @@ const VOverlay = genericComponent()({
10784
10787
  attrs,
10785
10788
  emit
10786
10789
  } = _ref;
10790
+ const vm = getCurrentInstance('VOverlay');
10787
10791
  const model = useProxiedModel(props, 'modelValue');
10788
10792
  const isActive = computed({
10789
10793
  get: () => model.value,
@@ -10828,7 +10832,7 @@ const VOverlay = genericComponent()({
10828
10832
  } = useTeleport(() => {
10829
10833
  const target = props.attach || props.contained;
10830
10834
  if (target) return target;
10831
- const rootNode = activatorEl?.value?.getRootNode();
10835
+ const rootNode = activatorEl?.value?.getRootNode() || vm.proxy?.$el?.getRootNode();
10832
10836
  if (rootNode instanceof ShadowRoot) return rootNode;
10833
10837
  return false;
10834
10838
  });
@@ -10868,7 +10872,7 @@ const VOverlay = genericComponent()({
10868
10872
  function closeConditional(e) {
10869
10873
  return isActive.value && globalTop.value && (
10870
10874
  // If using scrim, only close if clicking on it rather than anything opened on top
10871
- !props.scrim || e.target === scrimEl.value);
10875
+ !props.scrim || e.target === scrimEl.value || e instanceof MouseEvent && e.shadowTarget === scrimEl.value);
10872
10876
  }
10873
10877
  IN_BROWSER && watch(isActive, val => {
10874
10878
  if (val) {
@@ -22730,7 +22734,7 @@ const VFileInput = genericComponent()({
22730
22734
  const {
22731
22735
  t
22732
22736
  } = useLocale();
22733
- const model = useProxiedModel(props, 'modelValue', props.modelValue, val => wrapInArray(val), val => props.multiple || Array.isArray(props.modelValue) ? val : val[0] ?? null);
22737
+ const model = useProxiedModel(props, 'modelValue', props.modelValue, val => wrapInArray(val), val => !props.multiple && Array.isArray(val) ? val[0] : val);
22734
22738
  const {
22735
22739
  isFocused,
22736
22740
  focus,
@@ -25276,6 +25280,9 @@ const VSnackbar = genericComponent()({
25276
25280
  isActive.value = false;
25277
25281
  }
25278
25282
  }
25283
+ function onAfterLeave() {
25284
+ if (isHovering.value) onPointerleave();
25285
+ }
25279
25286
  const locationClasses = computed(() => {
25280
25287
  return props.location.split(' ').reduce((acc, loc) => {
25281
25288
  acc[`v-snackbar--${loc}`] = true;
@@ -25309,7 +25316,8 @@ const VSnackbar = genericComponent()({
25309
25316
  "scrollStrategy": "none",
25310
25317
  "_disableGlobalStack": true,
25311
25318
  "onTouchstartPassive": onTouchstart,
25312
- "onTouchend": onTouchend
25319
+ "onTouchend": onTouchend,
25320
+ "onAfterLeave": onAfterLeave
25313
25321
  }, scopeId), {
25314
25322
  default: () => [genOverlays(false, 'v-snackbar'), props.timer && !isHovering.value && createVNode("div", {
25315
25323
  "key": "timer",
@@ -25832,7 +25840,7 @@ const VSpeedDial = genericComponent()({
25832
25840
  "onUpdate:modelValue": $event => model.value = $event,
25833
25841
  "class": props.class,
25834
25842
  "style": props.style,
25835
- "contentClass": ['v-speed-dial__content', locationClasses.value],
25843
+ "contentClass": ['v-speed-dial__content', locationClasses.value, props.contentClass],
25836
25844
  "location": location.value,
25837
25845
  "ref": menuRef,
25838
25846
  "transition": "fade-transition"
@@ -29717,7 +29725,7 @@ const makeVTreeviewProps = propsFactory({
29717
29725
  collapseIcon: '$treeviewCollapse',
29718
29726
  expandIcon: '$treeviewExpand',
29719
29727
  slim: true
29720
- }), ['nav'])
29728
+ }), ['itemType', 'nav'])
29721
29729
  }, 'VTreeview');
29722
29730
  const VTreeview = genericComponent()({
29723
29731
  name: 'VTreeview',
@@ -30327,7 +30335,7 @@ function createVuetify$1() {
30327
30335
  goTo
30328
30336
  };
30329
30337
  }
30330
- const version$1 = "3.6.14-master.2024-08-04";
30338
+ const version$1 = "3.6.14-master.2024-08-13";
30331
30339
  createVuetify$1.version = version$1;
30332
30340
 
30333
30341
  // Vue's inject() can only be used in setup
@@ -30580,7 +30588,7 @@ var index = /*#__PURE__*/Object.freeze({
30580
30588
 
30581
30589
  /* eslint-disable local-rules/sort-imports */
30582
30590
 
30583
- const version = "3.6.14-master.2024-08-04";
30591
+ const version = "3.6.14-master.2024-08-13";
30584
30592
 
30585
30593
  /* eslint-disable local-rules/sort-imports */
30586
30594