@vuetify/nightly 3.6.8-master.2024-06-07 → 3.6.9-master.2024-06-12

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 (52) hide show
  1. package/CHANGELOG.md +2 -10
  2. package/dist/json/attributes.json +4 -4
  3. package/dist/json/importMap-labs.json +12 -12
  4. package/dist/json/importMap.json +150 -150
  5. package/dist/json/web-types.json +12 -13
  6. package/dist/vuetify-labs.css +2651 -2651
  7. package/dist/vuetify-labs.d.ts +187 -189
  8. package/dist/vuetify-labs.esm.js +32 -19
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +32 -19
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +1049 -1049
  13. package/dist/vuetify.d.ts +233 -241
  14. package/dist/vuetify.esm.js +20 -13
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +20 -13
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +31 -28
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/blueprints/index.d.mts +58 -56
  22. package/lib/blueprints/md1.d.mts +58 -56
  23. package/lib/blueprints/md2.d.mts +58 -56
  24. package/lib/blueprints/md3.d.mts +58 -56
  25. package/lib/components/VFab/VFab.mjs +4 -7
  26. package/lib/components/VFab/VFab.mjs.map +1 -1
  27. package/lib/components/VFab/index.d.mts +46 -49
  28. package/lib/components/VList/VList.mjs +1 -0
  29. package/lib/components/VList/VList.mjs.map +1 -1
  30. package/lib/components/VList/index.d.mts +2 -0
  31. package/lib/components/VMenu/VMenu.mjs +1 -1
  32. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  33. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  34. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  35. package/lib/components/index.d.mts +38 -45
  36. package/lib/composables/goto.mjs.map +1 -1
  37. package/lib/composables/icons.mjs.map +1 -1
  38. package/lib/composables/scroll.mjs +6 -0
  39. package/lib/composables/scroll.mjs.map +1 -1
  40. package/lib/entry-bundler.mjs +1 -1
  41. package/lib/framework.mjs +1 -1
  42. package/lib/index.d.mts +161 -162
  43. package/lib/labs/VStepperVertical/index.d.mts +3 -3
  44. package/lib/labs/VTimePicker/VTimePickerClock.mjs +3 -1
  45. package/lib/labs/VTimePicker/VTimePickerClock.mjs.map +1 -1
  46. package/lib/labs/VTimePicker/VTimePickerControls.mjs +7 -2
  47. package/lib/labs/VTimePicker/VTimePickerControls.mjs.map +1 -1
  48. package/lib/labs/VTreeview/VTreeview.mjs +3 -4
  49. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  50. package/lib/labs/VTreeview/index.d.mts +6 -0
  51. package/lib/labs/components.d.mts +6 -0
  52. package/package.json +1 -1
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.8-master.2024-06-07
2
+ * Vuetify v3.6.9-master.2024-06-12
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -4200,6 +4200,7 @@
4200
4200
  canScroll
4201
4201
  } = args;
4202
4202
  let previousScroll = 0;
4203
+ let previousScrollHeight = 0;
4203
4204
  const target = vue.ref(null);
4204
4205
  const currentScroll = vue.shallowRef(0);
4205
4206
  const savedScroll = vue.shallowRef(0);
@@ -4222,6 +4223,11 @@
4222
4223
  if (!targetEl || canScroll && !canScroll.value) return;
4223
4224
  previousScroll = currentScroll.value;
4224
4225
  currentScroll.value = 'window' in targetEl ? targetEl.pageYOffset : targetEl.scrollTop;
4226
+ const currentScrollHeight = targetEl instanceof Window ? document.documentElement.scrollHeight : targetEl.scrollHeight;
4227
+ if (previousScrollHeight !== currentScrollHeight) {
4228
+ previousScrollHeight = currentScrollHeight;
4229
+ return;
4230
+ }
4225
4231
  isScrollingUp.value = currentScroll.value < previousScroll;
4226
4232
  currentThreshold.value = Math.abs(currentScroll.value - scrollThreshold.value);
4227
4233
  };
@@ -9621,6 +9627,7 @@
9621
9627
  nav: Boolean,
9622
9628
  'onClick:open': EventProp(),
9623
9629
  'onClick:select': EventProp(),
9630
+ 'onUpdate:opened': EventProp(),
9624
9631
  ...makeNestedProps({
9625
9632
  selectStrategy: 'single-leaf',
9626
9633
  openStrategy: 'list'
@@ -11024,9 +11031,6 @@
11024
11031
  if (!(v && props.disabled)) model.value = v;
11025
11032
  }
11026
11033
  });
11027
- const {
11028
- teleportTarget
11029
- } = useTeleport(vue.computed(() => props.attach || props.contained));
11030
11034
  const {
11031
11035
  themeClasses
11032
11036
  } = provideTheme(props);
@@ -11059,6 +11063,10 @@
11059
11063
  isActive,
11060
11064
  isTop: localTop
11061
11065
  });
11066
+ const potentialShadowDomRoot = vue.computed(() => activatorEl?.value?.getRootNode());
11067
+ const {
11068
+ teleportTarget
11069
+ } = useTeleport(vue.computed(() => props.attach || props.contained || potentialShadowDomRoot.value instanceof ShadowRoot ? potentialShadowDomRoot.value : false));
11062
11070
  const {
11063
11071
  dimensionStyles
11064
11072
  } = useDimension(props);
@@ -11401,7 +11409,7 @@
11401
11409
  function onKeydown(e) {
11402
11410
  if (props.disabled) return;
11403
11411
  if (e.key === 'Tab' || e.key === 'Enter' && !props.closeOnContentClick) {
11404
- if (e.key === 'Enter' && e.target instanceof HTMLTextAreaElement) return;
11412
+ if (e.key === 'Enter' && (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement && !!e.target.closest('form'))) return;
11405
11413
  if (e.key === 'Enter') e.preventDefault();
11406
11414
  const nextElement = getNextElement(focusableChildren(overlay.value?.contentEl, false), e.shiftKey ? 'prev' : 'next', el => el.tabIndex >= 0);
11407
11415
  if (!nextElement) {
@@ -22749,15 +22757,13 @@
22749
22757
  }
22750
22758
  });
22751
22759
 
22760
+ // Types
22761
+
22752
22762
  const makeVFabProps = propsFactory({
22753
22763
  app: Boolean,
22754
22764
  appear: Boolean,
22755
22765
  extended: Boolean,
22756
22766
  layout: Boolean,
22757
- location: {
22758
- type: String,
22759
- default: 'bottom end'
22760
- },
22761
22767
  offset: Boolean,
22762
22768
  modelValue: {
22763
22769
  type: Boolean,
@@ -22767,6 +22773,7 @@
22767
22773
  active: true
22768
22774
  }), ['location']),
22769
22775
  ...makeLayoutItemProps(),
22776
+ ...makeLocationProps(),
22770
22777
  ...makeTransitionProps({
22771
22778
  transition: 'fab-transition'
22772
22779
  })
@@ -22793,11 +22800,11 @@
22793
22800
  const hasPosition = vue.computed(() => props.app || props.absolute);
22794
22801
  const position = vue.computed(() => {
22795
22802
  if (!hasPosition.value) return false;
22796
- return props.location.split(' ').shift();
22803
+ return props.location?.split(' ').shift() ?? 'bottom';
22797
22804
  });
22798
22805
  const orientation = vue.computed(() => {
22799
22806
  if (!hasPosition.value) return false;
22800
- return props.location.split(' ')[1] ?? 'end';
22807
+ return props.location?.split(' ')[1] ?? 'end';
22801
22808
  });
22802
22809
  useToggleScope(() => props.app, () => {
22803
22810
  const layout = useLayoutItem({
@@ -28071,7 +28078,7 @@
28071
28078
  goTo
28072
28079
  };
28073
28080
  }
28074
- const version$1 = "3.6.8-master.2024-06-07";
28081
+ const version$1 = "3.6.9-master.2024-06-12";
28075
28082
  createVuetify$1.version = version$1;
28076
28083
 
28077
28084
  // Vue's inject() can only be used in setup
@@ -28096,7 +28103,7 @@
28096
28103
  ...options
28097
28104
  });
28098
28105
  };
28099
- const version = "3.6.8-master.2024-06-07";
28106
+ const version = "3.6.9-master.2024-06-12";
28100
28107
  createVuetify.version = version;
28101
28108
 
28102
28109
  exports.blueprints = index;