@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
package/dist/vuetify.js CHANGED
@@ -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
  */
@@ -9195,7 +9195,7 @@
9195
9195
  function onKeyDown(e) {
9196
9196
  if (e.key === 'Enter' || e.key === ' ') {
9197
9197
  e.preventDefault();
9198
- e.target.dispatchEvent(new MouseEvent('click', e));
9198
+ onClick(e);
9199
9199
  }
9200
9200
  }
9201
9201
  useRender(() => {
@@ -10512,8 +10512,7 @@
10512
10512
  function useActivator(props, _ref) {
10513
10513
  let {
10514
10514
  isActive,
10515
- isTop,
10516
- contentEl
10515
+ isTop
10517
10516
  } = _ref;
10518
10517
  const vm = getCurrentInstance('useActivator');
10519
10518
  const activatorEl = vue.ref();
@@ -10630,7 +10629,7 @@
10630
10629
  return events;
10631
10630
  });
10632
10631
  vue.watch(isTop, val => {
10633
- if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered)) && !contentEl.value?.contains(document.activeElement)) {
10632
+ if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
10634
10633
  isActive.value = false;
10635
10634
  }
10636
10635
  });
@@ -11036,9 +11035,6 @@
11036
11035
  attrs,
11037
11036
  emit
11038
11037
  } = _ref;
11039
- const root = vue.ref();
11040
- const scrimEl = vue.ref();
11041
- const contentEl = vue.ref();
11042
11038
  const model = useProxiedModel(props, 'modelValue');
11043
11039
  const isActive = vue.computed({
11044
11040
  get: () => model.value,
@@ -11076,8 +11072,7 @@
11076
11072
  scrimEvents
11077
11073
  } = useActivator(props, {
11078
11074
  isActive,
11079
- isTop: localTop,
11080
- contentEl
11075
+ isTop: localTop
11081
11076
  });
11082
11077
  const {
11083
11078
  teleportTarget
@@ -11098,6 +11093,9 @@
11098
11093
  vue.watch(() => props.disabled, v => {
11099
11094
  if (v) isActive.value = false;
11100
11095
  });
11096
+ const root = vue.ref();
11097
+ const scrimEl = vue.ref();
11098
+ const contentEl = vue.ref();
11101
11099
  const {
11102
11100
  contentStyles,
11103
11101
  updateLocation
@@ -11348,12 +11346,10 @@
11348
11346
  // TODO
11349
11347
  // disableKeys: Boolean,
11350
11348
  id: String,
11351
- submenu: Boolean,
11352
11349
  ...omit(makeVOverlayProps({
11353
11350
  closeDelay: 250,
11354
11351
  closeOnContentClick: true,
11355
11352
  locationStrategy: 'connected',
11356
- location: undefined,
11357
11353
  openDelay: 300,
11358
11354
  scrim: false,
11359
11355
  scrollStrategy: 'reposition',
@@ -11376,9 +11372,6 @@
11376
11372
  const {
11377
11373
  scopeId
11378
11374
  } = useScopeId();
11379
- const {
11380
- isRtl
11381
- } = useRtl();
11382
11375
  const uid = getUid();
11383
11376
  const id = vue.computed(() => props.id || `v-menu-${uid}`);
11384
11377
  const overlay = vue.ref();
@@ -11441,9 +11434,9 @@
11441
11434
  isActive.value = false;
11442
11435
  overlay.value?.activatorEl?.focus();
11443
11436
  }
11444
- } else if (props.submenu && e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11437
+ } else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
11445
11438
  isActive.value = false;
11446
- overlay.value?.activatorEl?.focus();
11439
+ parent?.closeParents();
11447
11440
  }
11448
11441
  }
11449
11442
  function onActivatorKeydown(e) {
@@ -11452,21 +11445,12 @@
11452
11445
  if (el && isActive.value) {
11453
11446
  if (e.key === 'ArrowDown') {
11454
11447
  e.preventDefault();
11455
- e.stopImmediatePropagation();
11456
11448
  focusChild(el, 'next');
11457
11449
  } else if (e.key === 'ArrowUp') {
11458
11450
  e.preventDefault();
11459
- e.stopImmediatePropagation();
11460
11451
  focusChild(el, 'prev');
11461
- } else if (props.submenu) {
11462
- if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11463
- isActive.value = false;
11464
- } else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
11465
- e.preventDefault();
11466
- focusChild(el, 'first');
11467
- }
11468
11452
  }
11469
- } else if (props.submenu ? e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight') : ['ArrowDown', 'ArrowUp'].includes(e.key)) {
11453
+ } else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
11470
11454
  isActive.value = true;
11471
11455
  e.preventDefault();
11472
11456
  setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
@@ -11490,7 +11474,6 @@
11490
11474
  "onUpdate:modelValue": $event => isActive.value = $event,
11491
11475
  "absolute": true,
11492
11476
  "activatorProps": activatorProps.value,
11493
- "location": props.location ?? (props.submenu ? 'end' : 'bottom'),
11494
11477
  "onClick:outside": onClickOutside,
11495
11478
  "onKeydown": onKeydown
11496
11479
  }, scopeId), {
@@ -28196,7 +28179,7 @@
28196
28179
  goTo
28197
28180
  };
28198
28181
  }
28199
- const version$1 = "3.7.0-beta.1-pr-20092.92a3215";
28182
+ const version$1 = "3.7.0-beta.1-dev.2024-07-29";
28200
28183
  createVuetify$1.version = version$1;
28201
28184
 
28202
28185
  // Vue's inject() can only be used in setup
@@ -28221,7 +28204,7 @@
28221
28204
  ...options
28222
28205
  });
28223
28206
  };
28224
- const version = "3.7.0-beta.1-pr-20092.92a3215";
28207
+ const version = "3.7.0-beta.1-dev.2024-07-29";
28225
28208
  createVuetify.version = version;
28226
28209
 
28227
28210
  exports.blueprints = index;