@vuetify/nightly 3.6.13-3.7.0-beta.0.0-pr-20092.a834b18 → 3.7.0-beta.1-dev.2024-07-29

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 (47) hide show
  1. package/dist/json/attributes.json +99 -107
  2. package/dist/json/importMap-labs.json +24 -24
  3. package/dist/json/importMap.json +134 -134
  4. package/dist/json/tags.json +0 -2
  5. package/dist/json/web-types.json +193 -212
  6. package/dist/vuetify-labs.css +4026 -4026
  7. package/dist/vuetify-labs.d.ts +106 -190
  8. package/dist/vuetify-labs.esm.js +13 -36
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +13 -36
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +2721 -2721
  13. package/dist/vuetify.d.ts +153 -237
  14. package/dist/vuetify.esm.js +13 -36
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +13 -36
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +44 -45
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAutocomplete/index.d.mts +24 -42
  22. package/lib/components/VCombobox/index.d.mts +24 -42
  23. package/lib/components/VDialog/index.d.mts +3 -3
  24. package/lib/components/VList/VListItem.mjs +1 -1
  25. package/lib/components/VList/VListItem.mjs.map +1 -1
  26. package/lib/components/VMenu/VMenu.mjs +3 -19
  27. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  28. package/lib/components/VMenu/index.d.mts +12 -27
  29. package/lib/components/VOverlay/VOverlay.mjs +4 -5
  30. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  31. package/lib/components/VOverlay/locationStrategies.mjs +0 -6
  32. package/lib/components/VOverlay/locationStrategies.mjs.map +1 -1
  33. package/lib/components/VOverlay/useActivator.mjs +2 -3
  34. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  35. package/lib/components/VSelect/index.d.mts +24 -42
  36. package/lib/components/VSnackbar/index.d.mts +3 -3
  37. package/lib/components/VSpeedDial/index.d.mts +13 -28
  38. package/lib/components/VTooltip/index.d.mts +3 -3
  39. package/lib/components/index.d.mts +106 -190
  40. package/lib/entry-bundler.mjs +1 -1
  41. package/lib/entry-bundler.mjs.map +1 -1
  42. package/lib/framework.mjs +1 -1
  43. package/lib/framework.mjs.map +1 -1
  44. package/lib/index.d.mts +47 -47
  45. package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
  46. package/lib/labs/components.d.mts +3 -3
  47. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.13-3.7.0-beta.0.0-pr-20092.a834b18
2
+ * Vuetify v3.7.0-beta.1-dev.2024-07-29
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -8962,7 +8962,7 @@
8962
8962
  function onKeyDown(e) {
8963
8963
  if (e.key === 'Enter' || e.key === ' ') {
8964
8964
  e.preventDefault();
8965
- e.target.dispatchEvent(new MouseEvent('click', e));
8965
+ onClick(e);
8966
8966
  }
8967
8967
  }
8968
8968
  useRender(() => {
@@ -9752,12 +9752,6 @@
9752
9752
  // el.style.removeProperty('max-width')
9753
9753
  // el.style.removeProperty('max-height')
9754
9754
 
9755
- if (isRtl) {
9756
- el.style.removeProperty('left');
9757
- } else {
9758
- el.style.removeProperty('right');
9759
- }
9760
-
9761
9755
  /* eslint-disable-next-line sonarjs/prefer-immediate-return */
9762
9756
  const contentBox = nullifyTransforms(el);
9763
9757
  if (isRtl) {
@@ -10285,8 +10279,7 @@
10285
10279
  function useActivator(props, _ref) {
10286
10280
  let {
10287
10281
  isActive,
10288
- isTop,
10289
- contentEl
10282
+ isTop
10290
10283
  } = _ref;
10291
10284
  const vm = getCurrentInstance('useActivator');
10292
10285
  const activatorEl = vue.ref();
@@ -10403,7 +10396,7 @@
10403
10396
  return events;
10404
10397
  });
10405
10398
  vue.watch(isTop, val => {
10406
- if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered)) && !contentEl.value?.contains(document.activeElement)) {
10399
+ if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
10407
10400
  isActive.value = false;
10408
10401
  }
10409
10402
  });
@@ -10809,9 +10802,6 @@
10809
10802
  attrs,
10810
10803
  emit
10811
10804
  } = _ref;
10812
- const root = vue.ref();
10813
- const scrimEl = vue.ref();
10814
- const contentEl = vue.ref();
10815
10805
  const model = useProxiedModel(props, 'modelValue');
10816
10806
  const isActive = vue.computed({
10817
10807
  get: () => model.value,
@@ -10849,8 +10839,7 @@
10849
10839
  scrimEvents
10850
10840
  } = useActivator(props, {
10851
10841
  isActive,
10852
- isTop: localTop,
10853
- contentEl
10842
+ isTop: localTop
10854
10843
  });
10855
10844
  const {
10856
10845
  teleportTarget
@@ -10871,6 +10860,9 @@
10871
10860
  vue.watch(() => props.disabled, v => {
10872
10861
  if (v) isActive.value = false;
10873
10862
  });
10863
+ const root = vue.ref();
10864
+ const scrimEl = vue.ref();
10865
+ const contentEl = vue.ref();
10874
10866
  const {
10875
10867
  contentStyles,
10876
10868
  updateLocation
@@ -11121,12 +11113,10 @@
11121
11113
  // TODO
11122
11114
  // disableKeys: Boolean,
11123
11115
  id: String,
11124
- submenu: Boolean,
11125
11116
  ...omit(makeVOverlayProps({
11126
11117
  closeDelay: 250,
11127
11118
  closeOnContentClick: true,
11128
11119
  locationStrategy: 'connected',
11129
- location: undefined,
11130
11120
  openDelay: 300,
11131
11121
  scrim: false,
11132
11122
  scrollStrategy: 'reposition',
@@ -11149,9 +11139,6 @@
11149
11139
  const {
11150
11140
  scopeId
11151
11141
  } = useScopeId();
11152
- const {
11153
- isRtl
11154
- } = useRtl();
11155
11142
  const uid = getUid();
11156
11143
  const id = vue.computed(() => props.id || `v-menu-${uid}`);
11157
11144
  const overlay = vue.ref();
@@ -11214,9 +11201,9 @@
11214
11201
  isActive.value = false;
11215
11202
  overlay.value?.activatorEl?.focus();
11216
11203
  }
11217
- } else if (props.submenu && e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11204
+ } else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
11218
11205
  isActive.value = false;
11219
- overlay.value?.activatorEl?.focus();
11206
+ parent?.closeParents();
11220
11207
  }
11221
11208
  }
11222
11209
  function onActivatorKeydown(e) {
@@ -11225,21 +11212,12 @@
11225
11212
  if (el && isActive.value) {
11226
11213
  if (e.key === 'ArrowDown') {
11227
11214
  e.preventDefault();
11228
- e.stopImmediatePropagation();
11229
11215
  focusChild(el, 'next');
11230
11216
  } else if (e.key === 'ArrowUp') {
11231
11217
  e.preventDefault();
11232
- e.stopImmediatePropagation();
11233
11218
  focusChild(el, 'prev');
11234
- } else if (props.submenu) {
11235
- if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11236
- isActive.value = false;
11237
- } else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
11238
- e.preventDefault();
11239
- focusChild(el, 'first');
11240
- }
11241
11219
  }
11242
- } else if (props.submenu ? e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight') : ['ArrowDown', 'ArrowUp'].includes(e.key)) {
11220
+ } else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
11243
11221
  isActive.value = true;
11244
11222
  e.preventDefault();
11245
11223
  setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
@@ -11263,7 +11241,6 @@
11263
11241
  "onUpdate:modelValue": $event => isActive.value = $event,
11264
11242
  "absolute": true,
11265
11243
  "activatorProps": activatorProps.value,
11266
- "location": props.location ?? (props.submenu ? 'end' : 'bottom'),
11267
11244
  "onClick:outside": onClickOutside,
11268
11245
  "onKeydown": onKeydown
11269
11246
  }, scopeId), {
@@ -30335,7 +30312,7 @@
30335
30312
  goTo
30336
30313
  };
30337
30314
  }
30338
- const version$1 = "3.6.13-3.7.0-beta.0.0-pr-20092.a834b18";
30315
+ const version$1 = "3.7.0-beta.1-dev.2024-07-29";
30339
30316
  createVuetify$1.version = version$1;
30340
30317
 
30341
30318
  // Vue's inject() can only be used in setup
@@ -30588,7 +30565,7 @@
30588
30565
 
30589
30566
  /* eslint-disable local-rules/sort-imports */
30590
30567
 
30591
- const version = "3.6.13-3.7.0-beta.0.0-pr-20092.a834b18";
30568
+ const version = "3.7.0-beta.1-dev.2024-07-29";
30592
30569
 
30593
30570
  /* eslint-disable local-rules/sort-imports */
30594
30571