@vuetify/nightly 3.8.5-pr-21419.3ae3440 → 3.8.6-master.2025-05-21

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 (43) hide show
  1. package/CHANGELOG.md +10 -11
  2. package/dist/json/attributes.json +3365 -3365
  3. package/dist/json/importMap-labs.json +24 -24
  4. package/dist/json/importMap.json +164 -164
  5. package/dist/json/web-types.json +6152 -6152
  6. package/dist/vuetify-labs.cjs +38 -33
  7. package/dist/vuetify-labs.css +4423 -4412
  8. package/dist/vuetify-labs.d.ts +59 -59
  9. package/dist/vuetify-labs.esm.js +38 -33
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +38 -33
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.cjs +38 -33
  14. package/dist/vuetify.cjs.map +1 -1
  15. package/dist/vuetify.css +4299 -4288
  16. package/dist/vuetify.d.ts +59 -59
  17. package/dist/vuetify.esm.js +38 -33
  18. package/dist/vuetify.esm.js.map +1 -1
  19. package/dist/vuetify.js +38 -33
  20. package/dist/vuetify.js.map +1 -1
  21. package/dist/vuetify.min.css +2 -2
  22. package/dist/vuetify.min.js +21 -21
  23. package/dist/vuetify.min.js.map +1 -1
  24. package/lib/components/VNavigationDrawer/touch.js +2 -4
  25. package/lib/components/VNavigationDrawer/touch.js.map +1 -1
  26. package/lib/components/VNumberInput/VNumberInput.css +15 -4
  27. package/lib/components/VNumberInput/VNumberInput.js +18 -10
  28. package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
  29. package/lib/components/VNumberInput/VNumberInput.sass +18 -6
  30. package/lib/components/VProgressCircular/VProgressCircular.js +2 -2
  31. package/lib/components/VProgressCircular/VProgressCircular.js.map +1 -1
  32. package/lib/components/VSelect/VSelect.js +13 -16
  33. package/lib/components/VSelect/VSelect.js.map +1 -1
  34. package/lib/components/VSlider/slider.js +1 -1
  35. package/lib/components/VSlider/slider.js.map +1 -1
  36. package/lib/composables/goto.js +1 -1
  37. package/lib/composables/goto.js.map +1 -1
  38. package/lib/entry-bundler.js +1 -1
  39. package/lib/entry-bundler.js.map +1 -1
  40. package/lib/framework.d.ts +59 -59
  41. package/lib/framework.js +1 -1
  42. package/lib/framework.js.map +1 -1
  43. package/package.json +5 -5
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.8.5-pr-21419.3ae3440
2
+ * Vuetify v3.8.6-master.2025-05-21
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -4859,7 +4859,7 @@
4859
4859
  resizeRef,
4860
4860
  contentRect
4861
4861
  } = useResizeObserver();
4862
- const normalizedValue = vue.toRef(() => Math.max(0, Math.min(100, parseFloat(props.modelValue))));
4862
+ const normalizedValue = vue.toRef(() => clamp(parseFloat(props.modelValue), 0, 100));
4863
4863
  const width = vue.toRef(() => Number(props.width));
4864
4864
  const size = vue.toRef(() => {
4865
4865
  // Get size from element if size prop value is small, large etc
@@ -7466,7 +7466,7 @@
7466
7466
  min = 0;
7467
7467
  max = scrollHeight + -containerHeight;
7468
7468
  }
7469
- return Math.max(Math.min(value, max), min);
7469
+ return clamp(value, min, max);
7470
7470
  }
7471
7471
 
7472
7472
  function calculateUpdatedTarget(_ref) {
@@ -12818,42 +12818,39 @@
12818
12818
  const items = displayItems.value;
12819
12819
  function findItem() {
12820
12820
  let result = findItemBase();
12821
- if (result !== undefined) return result;
12821
+ if (result) return result;
12822
12822
  if (keyboardLookupPrefix.at(-1) === keyboardLookupPrefix.at(-2)) {
12823
12823
  // No matches but we have a repeated letter, try the next item with that prefix
12824
12824
  keyboardLookupPrefix = keyboardLookupPrefix.slice(0, -1);
12825
12825
  result = findItemBase();
12826
- if (result !== undefined) return result;
12826
+ if (result) return result;
12827
12827
  }
12828
12828
 
12829
12829
  // Still nothing, wrap around to the top
12830
12830
  keyboardLookupIndex = -1;
12831
12831
  result = findItemBase();
12832
- if (result !== undefined) return result;
12832
+ if (result) return result;
12833
12833
 
12834
12834
  // Still nothing, try just the new letter
12835
12835
  keyboardLookupPrefix = e.key.toLowerCase();
12836
12836
  return findItemBase();
12837
12837
  }
12838
12838
  function findItemBase() {
12839
- for (let i = 0; i < items.length; i++) {
12839
+ for (let i = keyboardLookupIndex + 1; i < items.length; i++) {
12840
12840
  const _item = items[i];
12841
- if (i > keyboardLookupIndex && _item.title.toLowerCase().startsWith(keyboardLookupPrefix)) {
12842
- keyboardLookupIndex = i;
12843
- return _item;
12841
+ if (_item.title.toLowerCase().startsWith(keyboardLookupPrefix)) {
12842
+ return [_item, i];
12844
12843
  }
12845
12844
  }
12846
12845
  return undefined;
12847
12846
  }
12848
- const item = findItem();
12849
- if (item !== undefined) {
12850
- if (!props.multiple) {
12851
- model.value = [item];
12852
- }
12853
- const index = displayItems.value.indexOf(item);
12854
- if (~index && IN_BROWSER) {
12855
- listRef.value?.focus(index);
12856
- }
12847
+ const result = findItem();
12848
+ if (!result) return;
12849
+ const [item, index] = result;
12850
+ keyboardLookupIndex = index;
12851
+ listRef.value?.focus(index);
12852
+ if (!props.multiple) {
12853
+ model.value = [item];
12857
12854
  }
12858
12855
  }
12859
12856
 
@@ -15897,7 +15894,7 @@
15897
15894
  const clickOffset = getPosition(e, position);
15898
15895
 
15899
15896
  // It is possible for left to be NaN, force to number
15900
- let clickPos = Math.min(Math.max((clickOffset - trackStart - startOffset.value) / trackLength, 0), 1) || 0;
15897
+ let clickPos = clamp((clickOffset - trackStart - startOffset.value) / trackLength) || 0;
15901
15898
  if (vertical ? indexFromEnd.value : indexFromEnd.value !== isRtl.value) clickPos = 1 - clickPos;
15902
15899
  return roundValue(min.value + clickPos * (max.value - min.value));
15903
15900
  }
@@ -24335,7 +24332,7 @@
24335
24332
  function getProgress(pos) {
24336
24333
  let limit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
24337
24334
  const progress = position.value === 'left' ? (pos - offset.value) / width.value : position.value === 'right' ? (document.documentElement.clientWidth - pos - offset.value) / width.value : position.value === 'top' ? (pos - offset.value) / width.value : position.value === 'bottom' ? (document.documentElement.clientHeight - pos - offset.value) / width.value : oops();
24338
- return limit ? Math.max(0, Math.min(1, progress)) : progress;
24335
+ return limit ? clamp(progress) : progress;
24339
24336
  }
24340
24337
  function onTouchstart(e) {
24341
24338
  if (touchless.value) return;
@@ -24820,6 +24817,9 @@
24820
24817
  const controlNodeDefaultHeight = vue.toRef(() => controlVariant.value === 'stacked' ? 'auto' : '100%');
24821
24818
  const incrementSlotProps = {
24822
24819
  props: {
24820
+ style: {
24821
+ touchAction: 'none'
24822
+ },
24823
24823
  onClick: onControlClick,
24824
24824
  onPointerup: onControlMouseup,
24825
24825
  onPointerdown: onUpControlMousedown
@@ -24827,6 +24827,9 @@
24827
24827
  };
24828
24828
  const decrementSlotProps = {
24829
24829
  props: {
24830
+ style: {
24831
+ touchAction: 'none'
24832
+ },
24830
24833
  onClick: onControlClick,
24831
24834
  onPointerup: onControlMouseup,
24832
24835
  onPointerdown: onDownControlMousedown
@@ -24959,17 +24962,18 @@
24959
24962
  } = VTextField.filterProps(props);
24960
24963
  function incrementControlNode() {
24961
24964
  return !slots.increment ? vue.createVNode(VBtn, {
24965
+ "aria-hidden": "true",
24966
+ "data-testid": "increment",
24962
24967
  "disabled": !canIncrease.value,
24963
24968
  "flat": true,
24964
- "key": "increment-btn",
24965
24969
  "height": controlNodeDefaultHeight.value,
24966
- "data-testid": "increment",
24967
- "aria-hidden": "true",
24968
24970
  "icon": incrementIcon.value,
24971
+ "key": "increment-btn",
24969
24972
  "onClick": onControlClick,
24970
- "onPointerup": onControlMouseup,
24971
24973
  "onPointerdown": onUpControlMousedown,
24974
+ "onPointerup": onControlMouseup,
24972
24975
  "size": controlNodeSize.value,
24976
+ "style": "touch-action: none",
24973
24977
  "tabindex": "-1"
24974
24978
  }, null) : vue.createVNode(VDefaultsProvider, {
24975
24979
  "key": "increment-defaults",
@@ -24988,18 +24992,19 @@
24988
24992
  }
24989
24993
  function decrementControlNode() {
24990
24994
  return !slots.decrement ? vue.createVNode(VBtn, {
24995
+ "aria-hidden": "true",
24996
+ "data-testid": "decrement",
24991
24997
  "disabled": !canDecrease.value,
24992
24998
  "flat": true,
24993
- "key": "decrement-btn",
24994
24999
  "height": controlNodeDefaultHeight.value,
24995
- "data-testid": "decrement",
24996
- "aria-hidden": "true",
24997
25000
  "icon": decrementIcon.value,
24998
- "size": controlNodeSize.value,
24999
- "tabindex": "-1",
25001
+ "key": "decrement-btn",
25000
25002
  "onClick": onControlClick,
25003
+ "onPointerdown": onDownControlMousedown,
25001
25004
  "onPointerup": onControlMouseup,
25002
- "onPointerdown": onDownControlMousedown
25005
+ "size": controlNodeSize.value,
25006
+ "style": "touch-action: none",
25007
+ "tabindex": "-1"
25003
25008
  }, null) : vue.createVNode(VDefaultsProvider, {
25004
25009
  "key": "decrement-defaults",
25005
25010
  "defaults": {
@@ -31949,7 +31954,7 @@
31949
31954
  };
31950
31955
  });
31951
31956
  }
31952
- const version$1 = "3.8.5-pr-21419.3ae3440";
31957
+ const version$1 = "3.8.6-master.2025-05-21";
31953
31958
  createVuetify$1.version = version$1;
31954
31959
 
31955
31960
  // Vue's inject() can only be used in setup
@@ -32247,7 +32252,7 @@
32247
32252
 
32248
32253
  /* eslint-disable local-rules/sort-imports */
32249
32254
 
32250
- const version = "3.8.5-pr-21419.3ae3440";
32255
+ const version = "3.8.6-master.2025-05-21";
32251
32256
 
32252
32257
  /* eslint-disable local-rules/sort-imports */
32253
32258