@vuetify/nightly 3.6.5-master.2024-05-14 → 3.6.6-master.2024-05-16

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 (42) hide show
  1. package/CHANGELOG.md +3 -11
  2. package/dist/json/importMap-labs.json +20 -20
  3. package/dist/json/importMap.json +104 -104
  4. package/dist/json/web-types.json +5 -5
  5. package/dist/vuetify-labs.css +2749 -2748
  6. package/dist/vuetify-labs.d.ts +60 -36
  7. package/dist/vuetify-labs.esm.js +23 -17
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +23 -17
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +932 -931
  12. package/dist/vuetify.d.ts +97 -73
  13. package/dist/vuetify.esm.js +11 -7
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +11 -7
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +8 -8
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VBanner/VBanner.mjs +3 -1
  21. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  22. package/lib/components/VBanner/index.d.mts +15 -9
  23. package/lib/components/VChipGroup/index.d.mts +15 -9
  24. package/lib/components/VDivider/VDivider.css +1 -0
  25. package/lib/components/VDivider/VDivider.sass +1 -0
  26. package/lib/components/VMenu/VMenu.mjs +1 -1
  27. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  28. package/lib/components/VSelect/VSelect.mjs +1 -1
  29. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  30. package/lib/components/VSlideGroup/VSlideGroup.mjs +3 -1
  31. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  32. package/lib/components/VSlideGroup/index.d.mts +15 -9
  33. package/lib/components/VTabs/index.d.mts +15 -9
  34. package/lib/components/index.d.mts +60 -36
  35. package/lib/entry-bundler.mjs +1 -1
  36. package/lib/framework.mjs +1 -1
  37. package/lib/index.d.mts +37 -37
  38. package/lib/labs/VTreeview/VTreeviewChildren.mjs +12 -10
  39. package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
  40. package/lib/locale/de.mjs +4 -4
  41. package/lib/locale/de.mjs.map +1 -1
  42. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.5-master.2024-05-14
2
+ * Vuetify v3.6.6-master.2024-05-16
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -7372,7 +7372,9 @@
7372
7372
  validator: v => typeof v === 'boolean' || ['always', 'desktop', 'mobile'].includes(v)
7373
7373
  },
7374
7374
  ...makeComponentProps(),
7375
- ...makeDisplayProps(),
7375
+ ...makeDisplayProps({
7376
+ mobile: null
7377
+ }),
7376
7378
  ...makeTagProps(),
7377
7379
  ...makeGroupProps({
7378
7380
  selectedClass: 'v-slide-group-item--active'
@@ -11103,7 +11105,7 @@
11103
11105
  },
11104
11106
  closeParents(e) {
11105
11107
  setTimeout(() => {
11106
- if (!openChildren.value && (e == null || e && !isClickInsideElement(e, overlay.value.contentEl))) {
11108
+ if (!openChildren.value && !props.persistent && (e == null || e && !isClickInsideElement(e, overlay.value.contentEl))) {
11107
11109
  isActive.value = false;
11108
11110
  parent?.closeParents();
11109
11111
  }
@@ -12324,7 +12326,7 @@
12324
12326
  let keyboardLookupLastTime;
12325
12327
  const displayItems = vue.computed(() => {
12326
12328
  if (props.hideSelected) {
12327
- return items.value.filter(item => !model.value.some(s => s === item));
12329
+ return items.value.filter(item => !model.value.some(s => props.valueComparator(s, item)));
12328
12330
  }
12329
12331
  return items.value;
12330
12332
  });
@@ -13350,7 +13352,9 @@
13350
13352
  ...makeComponentProps(),
13351
13353
  ...makeDensityProps(),
13352
13354
  ...makeDimensionProps(),
13353
- ...makeDisplayProps(),
13355
+ ...makeDisplayProps({
13356
+ mobile: null
13357
+ }),
13354
13358
  ...makeElevationProps(),
13355
13359
  ...makeLocationProps(),
13356
13360
  ...makePositionProps(),
@@ -29375,17 +29379,18 @@
29375
29379
  emit,
29376
29380
  slots
29377
29381
  } = _ref;
29378
- const isLoading = vue.shallowRef(false);
29379
- const hasLoaded = vue.shallowRef(false);
29382
+ const isLoading = vue.shallowRef(null);
29380
29383
  function checkChildren(item) {
29381
29384
  return new Promise(resolve => {
29382
- if (!props.items?.length || !props.loadChildren || hasLoaded.value) return resolve();
29383
- isLoading.value = true;
29384
- props.loadChildren(item).then(resolve);
29385
- }).then(() => {
29386
- hasLoaded.value = true;
29385
+ if (!props.items?.length || !props.loadChildren) return resolve();
29386
+ if (item?.children?.length === 0) {
29387
+ isLoading.value = item.value;
29388
+ props.loadChildren(item).then(resolve);
29389
+ return;
29390
+ }
29391
+ resolve();
29387
29392
  }).finally(() => {
29388
- isLoading.value = false;
29393
+ isLoading.value = null;
29389
29394
  });
29390
29395
  }
29391
29396
  function onClick(e, item) {
@@ -29398,6 +29403,7 @@
29398
29403
  props: itemProps,
29399
29404
  raw: item
29400
29405
  } = _ref2;
29406
+ const loading = isLoading.value === item.value;
29401
29407
  const slotsWithItem = {
29402
29408
  prepend: slots.prepend ? slotProps => slots.prepend?.({
29403
29409
  ...slotProps,
@@ -29411,7 +29417,7 @@
29411
29417
  "key": item.value,
29412
29418
  "tabindex": "-1",
29413
29419
  "modelValue": isSelected,
29414
- "loading": isLoading.value,
29420
+ "loading": loading,
29415
29421
  "indeterminate": isIndeterminate,
29416
29422
  "onClick": e => onClick(e, item)
29417
29423
  }, null);
@@ -29435,7 +29441,7 @@
29435
29441
  props: activatorProps
29436
29442
  } = _ref4;
29437
29443
  return vue.createVNode(VTreeviewItem, vue.mergeProps(itemProps, activatorProps, {
29438
- "loading": isLoading.value,
29444
+ "loading": loading,
29439
29445
  "onClick": e => onClick(e, item)
29440
29446
  }), slotsWithItem);
29441
29447
  },
@@ -30088,7 +30094,7 @@
30088
30094
  goTo
30089
30095
  };
30090
30096
  }
30091
- const version$1 = "3.6.5-master.2024-05-14";
30097
+ const version$1 = "3.6.6-master.2024-05-16";
30092
30098
  createVuetify$1.version = version$1;
30093
30099
 
30094
30100
  // Vue's inject() can only be used in setup
@@ -30341,7 +30347,7 @@
30341
30347
 
30342
30348
  /* eslint-disable local-rules/sort-imports */
30343
30349
 
30344
- const version = "3.6.5-master.2024-05-14";
30350
+ const version = "3.6.6-master.2024-05-16";
30345
30351
 
30346
30352
  /* eslint-disable local-rules/sort-imports */
30347
30353