@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
package/dist/vuetify.js CHANGED
@@ -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
  */
@@ -5137,7 +5137,7 @@
5137
5137
  resizeRef,
5138
5138
  contentRect
5139
5139
  } = useResizeObserver();
5140
- const normalizedValue = vue.toRef(() => Math.max(0, Math.min(100, parseFloat(props.modelValue))));
5140
+ const normalizedValue = vue.toRef(() => clamp(parseFloat(props.modelValue), 0, 100));
5141
5141
  const width = vue.toRef(() => Number(props.width));
5142
5142
  const size = vue.toRef(() => {
5143
5143
  // Get size from element if size prop value is small, large etc
@@ -7744,7 +7744,7 @@
7744
7744
  min = 0;
7745
7745
  max = scrollHeight + -containerHeight;
7746
7746
  }
7747
- return Math.max(Math.min(value, max), min);
7747
+ return clamp(value, min, max);
7748
7748
  }
7749
7749
 
7750
7750
  function calculateUpdatedTarget(_ref) {
@@ -13096,42 +13096,39 @@
13096
13096
  const items = displayItems.value;
13097
13097
  function findItem() {
13098
13098
  let result = findItemBase();
13099
- if (result !== undefined) return result;
13099
+ if (result) return result;
13100
13100
  if (keyboardLookupPrefix.at(-1) === keyboardLookupPrefix.at(-2)) {
13101
13101
  // No matches but we have a repeated letter, try the next item with that prefix
13102
13102
  keyboardLookupPrefix = keyboardLookupPrefix.slice(0, -1);
13103
13103
  result = findItemBase();
13104
- if (result !== undefined) return result;
13104
+ if (result) return result;
13105
13105
  }
13106
13106
 
13107
13107
  // Still nothing, wrap around to the top
13108
13108
  keyboardLookupIndex = -1;
13109
13109
  result = findItemBase();
13110
- if (result !== undefined) return result;
13110
+ if (result) return result;
13111
13111
 
13112
13112
  // Still nothing, try just the new letter
13113
13113
  keyboardLookupPrefix = e.key.toLowerCase();
13114
13114
  return findItemBase();
13115
13115
  }
13116
13116
  function findItemBase() {
13117
- for (let i = 0; i < items.length; i++) {
13117
+ for (let i = keyboardLookupIndex + 1; i < items.length; i++) {
13118
13118
  const _item = items[i];
13119
- if (i > keyboardLookupIndex && _item.title.toLowerCase().startsWith(keyboardLookupPrefix)) {
13120
- keyboardLookupIndex = i;
13121
- return _item;
13119
+ if (_item.title.toLowerCase().startsWith(keyboardLookupPrefix)) {
13120
+ return [_item, i];
13122
13121
  }
13123
13122
  }
13124
13123
  return undefined;
13125
13124
  }
13126
- const item = findItem();
13127
- if (item !== undefined) {
13128
- if (!props.multiple) {
13129
- model.value = [item];
13130
- }
13131
- const index = displayItems.value.indexOf(item);
13132
- if (~index && IN_BROWSER) {
13133
- listRef.value?.focus(index);
13134
- }
13125
+ const result = findItem();
13126
+ if (!result) return;
13127
+ const [item, index] = result;
13128
+ keyboardLookupIndex = index;
13129
+ listRef.value?.focus(index);
13130
+ if (!props.multiple) {
13131
+ model.value = [item];
13135
13132
  }
13136
13133
  }
13137
13134
 
@@ -16175,7 +16172,7 @@
16175
16172
  const clickOffset = getPosition(e, position);
16176
16173
 
16177
16174
  // It is possible for left to be NaN, force to number
16178
- let clickPos = Math.min(Math.max((clickOffset - trackStart - startOffset.value) / trackLength, 0), 1) || 0;
16175
+ let clickPos = clamp((clickOffset - trackStart - startOffset.value) / trackLength) || 0;
16179
16176
  if (vertical ? indexFromEnd.value : indexFromEnd.value !== isRtl.value) clickPos = 1 - clickPos;
16180
16177
  return roundValue(min.value + clickPos * (max.value - min.value));
16181
16178
  }
@@ -24613,7 +24610,7 @@
24613
24610
  function getProgress(pos) {
24614
24611
  let limit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
24615
24612
  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();
24616
- return limit ? Math.max(0, Math.min(1, progress)) : progress;
24613
+ return limit ? clamp(progress) : progress;
24617
24614
  }
24618
24615
  function onTouchstart(e) {
24619
24616
  if (touchless.value) return;
@@ -25098,6 +25095,9 @@
25098
25095
  const controlNodeDefaultHeight = vue.toRef(() => controlVariant.value === 'stacked' ? 'auto' : '100%');
25099
25096
  const incrementSlotProps = {
25100
25097
  props: {
25098
+ style: {
25099
+ touchAction: 'none'
25100
+ },
25101
25101
  onClick: onControlClick,
25102
25102
  onPointerup: onControlMouseup,
25103
25103
  onPointerdown: onUpControlMousedown
@@ -25105,6 +25105,9 @@
25105
25105
  };
25106
25106
  const decrementSlotProps = {
25107
25107
  props: {
25108
+ style: {
25109
+ touchAction: 'none'
25110
+ },
25108
25111
  onClick: onControlClick,
25109
25112
  onPointerup: onControlMouseup,
25110
25113
  onPointerdown: onDownControlMousedown
@@ -25237,17 +25240,18 @@
25237
25240
  } = VTextField.filterProps(props);
25238
25241
  function incrementControlNode() {
25239
25242
  return !slots.increment ? vue.createVNode(VBtn, {
25243
+ "aria-hidden": "true",
25244
+ "data-testid": "increment",
25240
25245
  "disabled": !canIncrease.value,
25241
25246
  "flat": true,
25242
- "key": "increment-btn",
25243
25247
  "height": controlNodeDefaultHeight.value,
25244
- "data-testid": "increment",
25245
- "aria-hidden": "true",
25246
25248
  "icon": incrementIcon.value,
25249
+ "key": "increment-btn",
25247
25250
  "onClick": onControlClick,
25248
- "onPointerup": onControlMouseup,
25249
25251
  "onPointerdown": onUpControlMousedown,
25252
+ "onPointerup": onControlMouseup,
25250
25253
  "size": controlNodeSize.value,
25254
+ "style": "touch-action: none",
25251
25255
  "tabindex": "-1"
25252
25256
  }, null) : vue.createVNode(VDefaultsProvider, {
25253
25257
  "key": "increment-defaults",
@@ -25266,18 +25270,19 @@
25266
25270
  }
25267
25271
  function decrementControlNode() {
25268
25272
  return !slots.decrement ? vue.createVNode(VBtn, {
25273
+ "aria-hidden": "true",
25274
+ "data-testid": "decrement",
25269
25275
  "disabled": !canDecrease.value,
25270
25276
  "flat": true,
25271
- "key": "decrement-btn",
25272
25277
  "height": controlNodeDefaultHeight.value,
25273
- "data-testid": "decrement",
25274
- "aria-hidden": "true",
25275
25278
  "icon": decrementIcon.value,
25276
- "size": controlNodeSize.value,
25277
- "tabindex": "-1",
25279
+ "key": "decrement-btn",
25278
25280
  "onClick": onControlClick,
25281
+ "onPointerdown": onDownControlMousedown,
25279
25282
  "onPointerup": onControlMouseup,
25280
- "onPointerdown": onDownControlMousedown
25283
+ "size": controlNodeSize.value,
25284
+ "style": "touch-action: none",
25285
+ "tabindex": "-1"
25281
25286
  }, null) : vue.createVNode(VDefaultsProvider, {
25282
25287
  "key": "decrement-defaults",
25283
25288
  "defaults": {
@@ -29254,7 +29259,7 @@
29254
29259
  };
29255
29260
  });
29256
29261
  }
29257
- const version$1 = "3.8.5-pr-21419.3ae3440";
29262
+ const version$1 = "3.8.6-master.2025-05-21";
29258
29263
  createVuetify$1.version = version$1;
29259
29264
 
29260
29265
  // Vue's inject() can only be used in setup
@@ -29279,7 +29284,7 @@
29279
29284
  ...options
29280
29285
  });
29281
29286
  };
29282
- const version = "3.8.5-pr-21419.3ae3440";
29287
+ const version = "3.8.6-master.2025-05-21";
29283
29288
  createVuetify.version = version;
29284
29289
 
29285
29290
  exports.blueprints = index;