@vuetify/nightly 3.7.0-beta.1-pr-20092.92a3215 → 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 (45) 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 +132 -132
  4. package/dist/json/tags.json +0 -2
  5. package/dist/json/web-types.json +193 -212
  6. package/dist/vuetify-labs.css +3162 -3162
  7. package/dist/vuetify-labs.d.ts +106 -190
  8. package/dist/vuetify-labs.esm.js +13 -30
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +13 -30
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +1693 -1693
  13. package/dist/vuetify.d.ts +150 -234
  14. package/dist/vuetify.esm.js +13 -30
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +13 -30
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +43 -43
  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/useActivator.mjs +2 -3
  32. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  33. package/lib/components/VSelect/index.d.mts +24 -42
  34. package/lib/components/VSnackbar/index.d.mts +3 -3
  35. package/lib/components/VSpeedDial/index.d.mts +13 -28
  36. package/lib/components/VTooltip/index.d.mts +3 -3
  37. package/lib/components/index.d.mts +106 -190
  38. package/lib/entry-bundler.mjs +1 -1
  39. package/lib/entry-bundler.mjs.map +1 -1
  40. package/lib/framework.mjs +1 -1
  41. package/lib/framework.mjs.map +1 -1
  42. package/lib/index.d.mts +44 -44
  43. package/lib/labs/VSnackbarQueue/index.d.mts +3 -3
  44. package/lib/labs/components.d.mts +3 -3
  45. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.0-beta.1-pr-20092.92a3215
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(() => {
@@ -10279,8 +10279,7 @@
10279
10279
  function useActivator(props, _ref) {
10280
10280
  let {
10281
10281
  isActive,
10282
- isTop,
10283
- contentEl
10282
+ isTop
10284
10283
  } = _ref;
10285
10284
  const vm = getCurrentInstance('useActivator');
10286
10285
  const activatorEl = vue.ref();
@@ -10397,7 +10396,7 @@
10397
10396
  return events;
10398
10397
  });
10399
10398
  vue.watch(isTop, val => {
10400
- 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))) {
10401
10400
  isActive.value = false;
10402
10401
  }
10403
10402
  });
@@ -10803,9 +10802,6 @@
10803
10802
  attrs,
10804
10803
  emit
10805
10804
  } = _ref;
10806
- const root = vue.ref();
10807
- const scrimEl = vue.ref();
10808
- const contentEl = vue.ref();
10809
10805
  const model = useProxiedModel(props, 'modelValue');
10810
10806
  const isActive = vue.computed({
10811
10807
  get: () => model.value,
@@ -10843,8 +10839,7 @@
10843
10839
  scrimEvents
10844
10840
  } = useActivator(props, {
10845
10841
  isActive,
10846
- isTop: localTop,
10847
- contentEl
10842
+ isTop: localTop
10848
10843
  });
10849
10844
  const {
10850
10845
  teleportTarget
@@ -10865,6 +10860,9 @@
10865
10860
  vue.watch(() => props.disabled, v => {
10866
10861
  if (v) isActive.value = false;
10867
10862
  });
10863
+ const root = vue.ref();
10864
+ const scrimEl = vue.ref();
10865
+ const contentEl = vue.ref();
10868
10866
  const {
10869
10867
  contentStyles,
10870
10868
  updateLocation
@@ -11115,12 +11113,10 @@
11115
11113
  // TODO
11116
11114
  // disableKeys: Boolean,
11117
11115
  id: String,
11118
- submenu: Boolean,
11119
11116
  ...omit(makeVOverlayProps({
11120
11117
  closeDelay: 250,
11121
11118
  closeOnContentClick: true,
11122
11119
  locationStrategy: 'connected',
11123
- location: undefined,
11124
11120
  openDelay: 300,
11125
11121
  scrim: false,
11126
11122
  scrollStrategy: 'reposition',
@@ -11143,9 +11139,6 @@
11143
11139
  const {
11144
11140
  scopeId
11145
11141
  } = useScopeId();
11146
- const {
11147
- isRtl
11148
- } = useRtl();
11149
11142
  const uid = getUid();
11150
11143
  const id = vue.computed(() => props.id || `v-menu-${uid}`);
11151
11144
  const overlay = vue.ref();
@@ -11208,9 +11201,9 @@
11208
11201
  isActive.value = false;
11209
11202
  overlay.value?.activatorEl?.focus();
11210
11203
  }
11211
- } else if (props.submenu && e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11204
+ } else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
11212
11205
  isActive.value = false;
11213
- overlay.value?.activatorEl?.focus();
11206
+ parent?.closeParents();
11214
11207
  }
11215
11208
  }
11216
11209
  function onActivatorKeydown(e) {
@@ -11219,21 +11212,12 @@
11219
11212
  if (el && isActive.value) {
11220
11213
  if (e.key === 'ArrowDown') {
11221
11214
  e.preventDefault();
11222
- e.stopImmediatePropagation();
11223
11215
  focusChild(el, 'next');
11224
11216
  } else if (e.key === 'ArrowUp') {
11225
11217
  e.preventDefault();
11226
- e.stopImmediatePropagation();
11227
11218
  focusChild(el, 'prev');
11228
- } else if (props.submenu) {
11229
- if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11230
- isActive.value = false;
11231
- } else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
11232
- e.preventDefault();
11233
- focusChild(el, 'first');
11234
- }
11235
11219
  }
11236
- } else if (props.submenu ? e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight') : ['ArrowDown', 'ArrowUp'].includes(e.key)) {
11220
+ } else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
11237
11221
  isActive.value = true;
11238
11222
  e.preventDefault();
11239
11223
  setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
@@ -11257,7 +11241,6 @@
11257
11241
  "onUpdate:modelValue": $event => isActive.value = $event,
11258
11242
  "absolute": true,
11259
11243
  "activatorProps": activatorProps.value,
11260
- "location": props.location ?? (props.submenu ? 'end' : 'bottom'),
11261
11244
  "onClick:outside": onClickOutside,
11262
11245
  "onKeydown": onKeydown
11263
11246
  }, scopeId), {
@@ -30329,7 +30312,7 @@
30329
30312
  goTo
30330
30313
  };
30331
30314
  }
30332
- const version$1 = "3.7.0-beta.1-pr-20092.92a3215";
30315
+ const version$1 = "3.7.0-beta.1-dev.2024-07-29";
30333
30316
  createVuetify$1.version = version$1;
30334
30317
 
30335
30318
  // Vue's inject() can only be used in setup
@@ -30582,7 +30565,7 @@
30582
30565
 
30583
30566
  /* eslint-disable local-rules/sort-imports */
30584
30567
 
30585
- const version = "3.7.0-beta.1-pr-20092.92a3215";
30568
+ const version = "3.7.0-beta.1-dev.2024-07-29";
30586
30569
 
30587
30570
  /* eslint-disable local-rules/sort-imports */
30588
30571