@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
  */
@@ -8958,7 +8958,7 @@ const VListItem = genericComponent()({
8958
8958
  function onKeyDown(e) {
8959
8959
  if (e.key === 'Enter' || e.key === ' ') {
8960
8960
  e.preventDefault();
8961
- e.target.dispatchEvent(new MouseEvent('click', e));
8961
+ onClick(e);
8962
8962
  }
8963
8963
  }
8964
8964
  useRender(() => {
@@ -10275,8 +10275,7 @@ const makeActivatorProps = propsFactory({
10275
10275
  function useActivator(props, _ref) {
10276
10276
  let {
10277
10277
  isActive,
10278
- isTop,
10279
- contentEl
10278
+ isTop
10280
10279
  } = _ref;
10281
10280
  const vm = getCurrentInstance('useActivator');
10282
10281
  const activatorEl = ref();
@@ -10393,7 +10392,7 @@ function useActivator(props, _ref) {
10393
10392
  return events;
10394
10393
  });
10395
10394
  watch(isTop, val => {
10396
- if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered)) && !contentEl.value?.contains(document.activeElement)) {
10395
+ if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
10397
10396
  isActive.value = false;
10398
10397
  }
10399
10398
  });
@@ -10799,9 +10798,6 @@ const VOverlay = genericComponent()({
10799
10798
  attrs,
10800
10799
  emit
10801
10800
  } = _ref;
10802
- const root = ref();
10803
- const scrimEl = ref();
10804
- const contentEl = ref();
10805
10801
  const model = useProxiedModel(props, 'modelValue');
10806
10802
  const isActive = computed({
10807
10803
  get: () => model.value,
@@ -10839,8 +10835,7 @@ const VOverlay = genericComponent()({
10839
10835
  scrimEvents
10840
10836
  } = useActivator(props, {
10841
10837
  isActive,
10842
- isTop: localTop,
10843
- contentEl
10838
+ isTop: localTop
10844
10839
  });
10845
10840
  const {
10846
10841
  teleportTarget
@@ -10861,6 +10856,9 @@ const VOverlay = genericComponent()({
10861
10856
  watch(() => props.disabled, v => {
10862
10857
  if (v) isActive.value = false;
10863
10858
  });
10859
+ const root = ref();
10860
+ const scrimEl = ref();
10861
+ const contentEl = ref();
10864
10862
  const {
10865
10863
  contentStyles,
10866
10864
  updateLocation
@@ -11111,12 +11109,10 @@ const makeVMenuProps = propsFactory({
11111
11109
  // TODO
11112
11110
  // disableKeys: Boolean,
11113
11111
  id: String,
11114
- submenu: Boolean,
11115
11112
  ...omit(makeVOverlayProps({
11116
11113
  closeDelay: 250,
11117
11114
  closeOnContentClick: true,
11118
11115
  locationStrategy: 'connected',
11119
- location: undefined,
11120
11116
  openDelay: 300,
11121
11117
  scrim: false,
11122
11118
  scrollStrategy: 'reposition',
@@ -11139,9 +11135,6 @@ const VMenu = genericComponent()({
11139
11135
  const {
11140
11136
  scopeId
11141
11137
  } = useScopeId();
11142
- const {
11143
- isRtl
11144
- } = useRtl();
11145
11138
  const uid = getUid();
11146
11139
  const id = computed(() => props.id || `v-menu-${uid}`);
11147
11140
  const overlay = ref();
@@ -11204,9 +11197,9 @@ const VMenu = genericComponent()({
11204
11197
  isActive.value = false;
11205
11198
  overlay.value?.activatorEl?.focus();
11206
11199
  }
11207
- } else if (props.submenu && e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11200
+ } else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
11208
11201
  isActive.value = false;
11209
- overlay.value?.activatorEl?.focus();
11202
+ parent?.closeParents();
11210
11203
  }
11211
11204
  }
11212
11205
  function onActivatorKeydown(e) {
@@ -11215,21 +11208,12 @@ const VMenu = genericComponent()({
11215
11208
  if (el && isActive.value) {
11216
11209
  if (e.key === 'ArrowDown') {
11217
11210
  e.preventDefault();
11218
- e.stopImmediatePropagation();
11219
11211
  focusChild(el, 'next');
11220
11212
  } else if (e.key === 'ArrowUp') {
11221
11213
  e.preventDefault();
11222
- e.stopImmediatePropagation();
11223
11214
  focusChild(el, 'prev');
11224
- } else if (props.submenu) {
11225
- if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11226
- isActive.value = false;
11227
- } else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
11228
- e.preventDefault();
11229
- focusChild(el, 'first');
11230
- }
11231
11215
  }
11232
- } else if (props.submenu ? e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight') : ['ArrowDown', 'ArrowUp'].includes(e.key)) {
11216
+ } else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
11233
11217
  isActive.value = true;
11234
11218
  e.preventDefault();
11235
11219
  setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
@@ -11253,7 +11237,6 @@ const VMenu = genericComponent()({
11253
11237
  "onUpdate:modelValue": $event => isActive.value = $event,
11254
11238
  "absolute": true,
11255
11239
  "activatorProps": activatorProps.value,
11256
- "location": props.location ?? (props.submenu ? 'end' : 'bottom'),
11257
11240
  "onClick:outside": onClickOutside,
11258
11241
  "onKeydown": onKeydown
11259
11242
  }, scopeId), {
@@ -30325,7 +30308,7 @@ function createVuetify$1() {
30325
30308
  goTo
30326
30309
  };
30327
30310
  }
30328
- const version$1 = "3.7.0-beta.1-pr-20092.92a3215";
30311
+ const version$1 = "3.7.0-beta.1-dev.2024-07-29";
30329
30312
  createVuetify$1.version = version$1;
30330
30313
 
30331
30314
  // Vue's inject() can only be used in setup
@@ -30578,7 +30561,7 @@ var index = /*#__PURE__*/Object.freeze({
30578
30561
 
30579
30562
  /* eslint-disable local-rules/sort-imports */
30580
30563
 
30581
- const version = "3.7.0-beta.1-pr-20092.92a3215";
30564
+ const version = "3.7.0-beta.1-dev.2024-07-29";
30582
30565
 
30583
30566
  /* eslint-disable local-rules/sort-imports */
30584
30567