@vuetify/nightly 3.6.14-master.2024-08-12 → 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 (135) hide show
  1. package/dist/json/attributes.json +7 -7
  2. package/dist/json/importMap-labs.json +30 -30
  3. package/dist/json/importMap.json +138 -138
  4. package/dist/json/web-types.json +8 -8
  5. package/dist/vuetify-labs.css +2728 -2728
  6. package/dist/vuetify-labs.d.ts +33444 -40135
  7. package/dist/vuetify-labs.esm.js +16 -8
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +16 -8
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +556 -556
  12. package/dist/vuetify.d.ts +32672 -39038
  13. package/dist/vuetify.esm.js +16 -8
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +16 -8
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +22 -22
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VAlert/index.d.mts +50 -73
  21. package/lib/components/VApp/index.d.mts +9 -11
  22. package/lib/components/VAppBar/index.d.mts +92 -128
  23. package/lib/components/VAutocomplete/index.d.mts +4771 -3230
  24. package/lib/components/VAvatar/index.d.mts +23 -22
  25. package/lib/components/VBadge/index.d.mts +53 -59
  26. package/lib/components/VBanner/index.d.mts +44 -66
  27. package/lib/components/VBottomNavigation/index.d.mts +25 -32
  28. package/lib/components/VBottomSheet/index.d.mts +125 -135
  29. package/lib/components/VBreadcrumbs/index.d.mts +35 -78
  30. package/lib/components/VBtn/index.d.mts +49 -53
  31. package/lib/components/VBtnGroup/index.d.mts +14 -13
  32. package/lib/components/VBtnToggle/index.d.mts +21 -23
  33. package/lib/components/VCard/index.d.mts +104 -168
  34. package/lib/components/VCarousel/index.d.mts +59 -96
  35. package/lib/components/VCheckbox/index.d.mts +132 -155
  36. package/lib/components/VChip/index.d.mts +47 -59
  37. package/lib/components/VChipGroup/index.d.mts +39 -41
  38. package/lib/components/VCode/index.d.mts +9 -11
  39. package/lib/components/VColorPicker/index.d.mts +58 -133
  40. package/lib/components/VCombobox/index.d.mts +4785 -3244
  41. package/lib/components/VConfirmEdit/index.d.mts +11 -19
  42. package/lib/components/VCounter/index.d.mts +40 -42
  43. package/lib/components/VDataIterator/index.d.mts +171 -185
  44. package/lib/components/VDataTable/index.d.mts +480 -1204
  45. package/lib/components/VDatePicker/index.d.mts +120 -158
  46. package/lib/components/VDefaultsProvider/index.d.mts +5 -9
  47. package/lib/components/VDialog/index.d.mts +243 -277
  48. package/lib/components/VDivider/index.d.mts +9 -11
  49. package/lib/components/VEmptyState/index.d.mts +30 -52
  50. package/lib/components/VExpansionPanel/index.d.mts +60 -85
  51. package/lib/components/VFab/index.d.mts +81 -73
  52. package/lib/components/VField/index.d.mts +35 -62
  53. package/lib/components/VFileInput/VFileInput.mjs +1 -1
  54. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  55. package/lib/components/VFileInput/index.d.mts +172 -259
  56. package/lib/components/VFooter/index.d.mts +9 -11
  57. package/lib/components/VForm/index.d.mts +105 -77
  58. package/lib/components/VGrid/index.d.mts +41 -52
  59. package/lib/components/VHover/index.d.mts +5 -9
  60. package/lib/components/VIcon/index.d.mts +23 -29
  61. package/lib/components/VImg/index.d.mts +28 -42
  62. package/lib/components/VInfiniteScroll/index.d.mts +17 -37
  63. package/lib/components/VInput/index.d.mts +48 -50
  64. package/lib/components/VItemGroup/index.d.mts +21 -30
  65. package/lib/components/VKbd/index.d.mts +9 -11
  66. package/lib/components/VLabel/index.d.mts +9 -11
  67. package/lib/components/VLayout/index.d.mts +18 -24
  68. package/lib/components/VLazy/index.d.mts +42 -44
  69. package/lib/components/VList/index.d.mts +210 -329
  70. package/lib/components/VLocaleProvider/index.d.mts +9 -11
  71. package/lib/components/VMain/index.d.mts +9 -11
  72. package/lib/components/VMenu/index.d.mts +272 -306
  73. package/lib/components/VMessages/index.d.mts +49 -51
  74. package/lib/components/VNavigationDrawer/index.d.mts +27 -40
  75. package/lib/components/VOtpInput/index.d.mts +22 -28
  76. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  77. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  78. package/lib/components/VOverlay/index.d.mts +53 -63
  79. package/lib/components/VPagination/index.d.mts +31 -46
  80. package/lib/components/VParallax/index.d.mts +15 -29
  81. package/lib/components/VProgressCircular/index.d.mts +9 -11
  82. package/lib/components/VProgressLinear/index.d.mts +22 -24
  83. package/lib/components/VRadio/index.d.mts +49 -52
  84. package/lib/components/VRadioGroup/index.d.mts +66 -66
  85. package/lib/components/VRangeSlider/index.d.mts +58 -69
  86. package/lib/components/VRating/index.d.mts +13 -19
  87. package/lib/components/VResponsive/index.d.mts +11 -17
  88. package/lib/components/VSelect/index.d.mts +4762 -3221
  89. package/lib/components/VSelectionControl/index.d.mts +38 -44
  90. package/lib/components/VSelectionControlGroup/index.d.mts +34 -34
  91. package/lib/components/VSheet/index.d.mts +15 -17
  92. package/lib/components/VSkeletonLoader/index.d.mts +41 -11
  93. package/lib/components/VSlideGroup/index.d.mts +112 -129
  94. package/lib/components/VSlider/index.d.mts +58 -69
  95. package/lib/components/VSnackbar/VSnackbar.mjs +5 -1
  96. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  97. package/lib/components/VSnackbar/index.d.mts +231 -270
  98. package/lib/components/VSparkline/index.d.mts +11 -19
  99. package/lib/components/VSpeedDial/VSpeedDial.mjs +1 -1
  100. package/lib/components/VSpeedDial/VSpeedDial.mjs.map +1 -1
  101. package/lib/components/VSpeedDial/index.d.mts +179 -189
  102. package/lib/components/VStepper/index.d.mts +105 -180
  103. package/lib/components/VSwitch/index.d.mts +78 -98
  104. package/lib/components/VSystemBar/index.d.mts +13 -15
  105. package/lib/components/VTable/index.d.mts +15 -29
  106. package/lib/components/VTabs/index.d.mts +213 -297
  107. package/lib/components/VTextField/index.d.mts +253 -408
  108. package/lib/components/VTextarea/index.d.mts +157 -236
  109. package/lib/components/VThemeProvider/index.d.mts +9 -11
  110. package/lib/components/VTimeline/index.d.mts +29 -43
  111. package/lib/components/VToolbar/index.d.mts +49 -80
  112. package/lib/components/VTooltip/index.d.mts +282 -316
  113. package/lib/components/VValidation/index.d.mts +16 -23
  114. package/lib/components/VVirtualScroll/index.d.mts +14 -23
  115. package/lib/components/VWindow/index.d.mts +29 -50
  116. package/lib/components/index.d.mts +31169 -37524
  117. package/lib/components/transitions/index.d.mts +84 -148
  118. package/lib/composables/location.mjs.map +1 -1
  119. package/lib/directives/click-outside/index.mjs +3 -0
  120. package/lib/directives/click-outside/index.mjs.map +1 -1
  121. package/lib/entry-bundler.mjs +1 -1
  122. package/lib/framework.mjs +1 -1
  123. package/lib/index.d.mts +58 -58
  124. package/lib/labs/VCalendar/index.d.mts +146 -166
  125. package/lib/labs/VDateInput/index.d.mts +83 -62
  126. package/lib/labs/VNumberInput/index.d.mts +61 -88
  127. package/lib/labs/VPicker/index.d.mts +28 -46
  128. package/lib/labs/VPullToRefresh/index.d.mts +7 -15
  129. package/lib/labs/VSnackbarQueue/index.d.mts +311 -369
  130. package/lib/labs/VStepperVertical/index.d.mts +109 -184
  131. package/lib/labs/VTimePicker/index.d.mts +35 -53
  132. package/lib/labs/VTreeview/index.d.mts +200 -277
  133. package/lib/labs/components.d.mts +905 -1231
  134. package/lib/util/propsFactory.mjs.map +1 -1
  135. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.14-master.2024-08-12
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"
@@ -30327,7 +30335,7 @@ function createVuetify$1() {
30327
30335
  goTo
30328
30336
  };
30329
30337
  }
30330
- const version$1 = "3.6.14-master.2024-08-12";
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-12";
30591
+ const version = "3.6.14-master.2024-08-13";
30584
30592
 
30585
30593
  /* eslint-disable local-rules/sort-imports */
30586
30594