@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
  */
@@ -9191,7 +9191,7 @@ const VListItem = genericComponent()({
9191
9191
  function onKeyDown(e) {
9192
9192
  if (e.key === 'Enter' || e.key === ' ') {
9193
9193
  e.preventDefault();
9194
- e.target.dispatchEvent(new MouseEvent('click', e));
9194
+ onClick(e);
9195
9195
  }
9196
9196
  }
9197
9197
  useRender(() => {
@@ -10508,8 +10508,7 @@ const makeActivatorProps = propsFactory({
10508
10508
  function useActivator(props, _ref) {
10509
10509
  let {
10510
10510
  isActive,
10511
- isTop,
10512
- contentEl
10511
+ isTop
10513
10512
  } = _ref;
10514
10513
  const vm = getCurrentInstance('useActivator');
10515
10514
  const activatorEl = ref();
@@ -10626,7 +10625,7 @@ function useActivator(props, _ref) {
10626
10625
  return events;
10627
10626
  });
10628
10627
  watch(isTop, val => {
10629
- if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered)) && !contentEl.value?.contains(document.activeElement)) {
10628
+ if (val && (props.openOnHover && !isHovered && (!openOnFocus.value || !isFocused) || openOnFocus.value && !isFocused && (!props.openOnHover || !isHovered))) {
10630
10629
  isActive.value = false;
10631
10630
  }
10632
10631
  });
@@ -11032,9 +11031,6 @@ const VOverlay = genericComponent()({
11032
11031
  attrs,
11033
11032
  emit
11034
11033
  } = _ref;
11035
- const root = ref();
11036
- const scrimEl = ref();
11037
- const contentEl = ref();
11038
11034
  const model = useProxiedModel(props, 'modelValue');
11039
11035
  const isActive = computed({
11040
11036
  get: () => model.value,
@@ -11072,8 +11068,7 @@ const VOverlay = genericComponent()({
11072
11068
  scrimEvents
11073
11069
  } = useActivator(props, {
11074
11070
  isActive,
11075
- isTop: localTop,
11076
- contentEl
11071
+ isTop: localTop
11077
11072
  });
11078
11073
  const {
11079
11074
  teleportTarget
@@ -11094,6 +11089,9 @@ const VOverlay = genericComponent()({
11094
11089
  watch(() => props.disabled, v => {
11095
11090
  if (v) isActive.value = false;
11096
11091
  });
11092
+ const root = ref();
11093
+ const scrimEl = ref();
11094
+ const contentEl = ref();
11097
11095
  const {
11098
11096
  contentStyles,
11099
11097
  updateLocation
@@ -11344,12 +11342,10 @@ const makeVMenuProps = propsFactory({
11344
11342
  // TODO
11345
11343
  // disableKeys: Boolean,
11346
11344
  id: String,
11347
- submenu: Boolean,
11348
11345
  ...omit(makeVOverlayProps({
11349
11346
  closeDelay: 250,
11350
11347
  closeOnContentClick: true,
11351
11348
  locationStrategy: 'connected',
11352
- location: undefined,
11353
11349
  openDelay: 300,
11354
11350
  scrim: false,
11355
11351
  scrollStrategy: 'reposition',
@@ -11372,9 +11368,6 @@ const VMenu = genericComponent()({
11372
11368
  const {
11373
11369
  scopeId
11374
11370
  } = useScopeId();
11375
- const {
11376
- isRtl
11377
- } = useRtl();
11378
11371
  const uid = getUid();
11379
11372
  const id = computed(() => props.id || `v-menu-${uid}`);
11380
11373
  const overlay = ref();
@@ -11437,9 +11430,9 @@ const VMenu = genericComponent()({
11437
11430
  isActive.value = false;
11438
11431
  overlay.value?.activatorEl?.focus();
11439
11432
  }
11440
- } else if (props.submenu && e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11433
+ } else if (['Enter', ' '].includes(e.key) && props.closeOnContentClick) {
11441
11434
  isActive.value = false;
11442
- overlay.value?.activatorEl?.focus();
11435
+ parent?.closeParents();
11443
11436
  }
11444
11437
  }
11445
11438
  function onActivatorKeydown(e) {
@@ -11448,21 +11441,12 @@ const VMenu = genericComponent()({
11448
11441
  if (el && isActive.value) {
11449
11442
  if (e.key === 'ArrowDown') {
11450
11443
  e.preventDefault();
11451
- e.stopImmediatePropagation();
11452
11444
  focusChild(el, 'next');
11453
11445
  } else if (e.key === 'ArrowUp') {
11454
11446
  e.preventDefault();
11455
- e.stopImmediatePropagation();
11456
11447
  focusChild(el, 'prev');
11457
- } else if (props.submenu) {
11458
- if (e.key === (isRtl.value ? 'ArrowRight' : 'ArrowLeft')) {
11459
- isActive.value = false;
11460
- } else if (e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight')) {
11461
- e.preventDefault();
11462
- focusChild(el, 'first');
11463
- }
11464
11448
  }
11465
- } else if (props.submenu ? e.key === (isRtl.value ? 'ArrowLeft' : 'ArrowRight') : ['ArrowDown', 'ArrowUp'].includes(e.key)) {
11449
+ } else if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
11466
11450
  isActive.value = true;
11467
11451
  e.preventDefault();
11468
11452
  setTimeout(() => setTimeout(() => onActivatorKeydown(e)));
@@ -11486,7 +11470,6 @@ const VMenu = genericComponent()({
11486
11470
  "onUpdate:modelValue": $event => isActive.value = $event,
11487
11471
  "absolute": true,
11488
11472
  "activatorProps": activatorProps.value,
11489
- "location": props.location ?? (props.submenu ? 'end' : 'bottom'),
11490
11473
  "onClick:outside": onClickOutside,
11491
11474
  "onKeydown": onKeydown
11492
11475
  }, scopeId), {
@@ -28192,7 +28175,7 @@ function createVuetify$1() {
28192
28175
  goTo
28193
28176
  };
28194
28177
  }
28195
- const version$1 = "3.7.0-beta.1-pr-20092.92a3215";
28178
+ const version$1 = "3.7.0-beta.1-dev.2024-07-29";
28196
28179
  createVuetify$1.version = version$1;
28197
28180
 
28198
28181
  // Vue's inject() can only be used in setup
@@ -28217,7 +28200,7 @@ const createVuetify = function () {
28217
28200
  ...options
28218
28201
  });
28219
28202
  };
28220
- const version = "3.7.0-beta.1-pr-20092.92a3215";
28203
+ const version = "3.7.0-beta.1-dev.2024-07-29";
28221
28204
  createVuetify.version = version;
28222
28205
 
28223
28206
  export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };