@vuetify/nightly 3.8.8-master.2025-06-04 → 3.8.8-master.2025-06-07

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 (41) hide show
  1. package/CHANGELOG.md +10 -3
  2. package/dist/json/attributes.json +3121 -3121
  3. package/dist/json/importMap-labs.json +24 -24
  4. package/dist/json/importMap.json +178 -178
  5. package/dist/json/web-types.json +5827 -5827
  6. package/dist/vuetify-labs.cjs +29 -35
  7. package/dist/vuetify-labs.css +3477 -3477
  8. package/dist/vuetify-labs.d.ts +71 -61
  9. package/dist/vuetify-labs.esm.js +29 -35
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +29 -35
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.cjs +23 -20
  14. package/dist/vuetify.cjs.map +1 -1
  15. package/dist/vuetify.css +3921 -3921
  16. package/dist/vuetify.d.ts +66 -61
  17. package/dist/vuetify.esm.js +23 -20
  18. package/dist/vuetify.esm.js.map +1 -1
  19. package/dist/vuetify.js +23 -20
  20. package/dist/vuetify.js.map +1 -1
  21. package/dist/vuetify.min.css +2 -2
  22. package/dist/vuetify.min.js +30 -30
  23. package/dist/vuetify.min.js.map +1 -1
  24. package/lib/components/VDataTable/VDataTableFooter.js +3 -1
  25. package/lib/components/VDataTable/VDataTableFooter.js.map +1 -1
  26. package/lib/components/VNumberInput/VNumberInput.d.ts +5 -0
  27. package/lib/components/VNumberInput/VNumberInput.js +7 -11
  28. package/lib/components/VNumberInput/VNumberInput.js.map +1 -1
  29. package/lib/components/VOtpInput/VOtpInput.js +5 -2
  30. package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
  31. package/lib/components/VTextField/VTextField.js +5 -4
  32. package/lib/components/VTextField/VTextField.js.map +1 -1
  33. package/lib/entry-bundler.js +1 -1
  34. package/lib/framework.d.ts +61 -61
  35. package/lib/framework.js +1 -1
  36. package/lib/labs/VColorInput/VColorInput.js +3 -8
  37. package/lib/labs/VColorInput/VColorInput.js.map +1 -1
  38. package/lib/labs/VDateInput/VDateInput.d.ts +5 -0
  39. package/lib/labs/VDateInput/VDateInput.js +5 -9
  40. package/lib/labs/VDateInput/VDateInput.js.map +1 -1
  41. package/package.json +1 -1
package/dist/vuetify.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.8.8-master.2025-06-04
2
+ * Vuetify v3.8.8-master.2025-06-07
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -12396,10 +12396,12 @@
12396
12396
  const inputRef = vue.ref();
12397
12397
  const isActive = vue.computed(() => activeTypes.includes(props.type) || props.persistentPlaceholder || isFocused.value || props.active);
12398
12398
  function onFocus() {
12399
- if (inputRef.value !== document.activeElement) {
12400
- inputRef.value?.focus();
12401
- }
12402
12399
  if (!isFocused.value) focus();
12400
+ vue.nextTick(() => {
12401
+ if (inputRef.value !== document.activeElement) {
12402
+ inputRef.value?.focus();
12403
+ }
12404
+ });
12403
12405
  }
12404
12406
  function onControlMousedown(e) {
12405
12407
  emit('mousedown:control', e);
@@ -12408,7 +12410,6 @@
12408
12410
  e.preventDefault();
12409
12411
  }
12410
12412
  function onControlClick(e) {
12411
- onFocus();
12412
12413
  emit('click:control', e);
12413
12414
  }
12414
12415
  function onClear(e, reset) {
@@ -20221,7 +20222,9 @@
20221
20222
  "class": "v-data-table-footer"
20222
20223
  }, [slots.prepend?.(), vue.createElementVNode("div", {
20223
20224
  "class": "v-data-table-footer__items-per-page"
20224
- }, [vue.createElementVNode("span", null, [t(props.itemsPerPageText)]), vue.createVNode(VSelect, {
20225
+ }, [vue.createElementVNode("span", {
20226
+ "aria-label": t(props.itemsPerPageText)
20227
+ }, [t(props.itemsPerPageText)]), vue.createVNode(VSelect, {
20225
20228
  "items": itemsPerPageOptions.value,
20226
20229
  "modelValue": itemsPerPage.value,
20227
20230
  "onUpdate:modelValue": v => setItemsPerPage(Number(v)),
@@ -25167,6 +25170,7 @@
25167
25170
  ...makeVNumberInputProps()
25168
25171
  },
25169
25172
  emits: {
25173
+ 'update:focused': val => true,
25170
25174
  'update:modelValue': val => true
25171
25175
  },
25172
25176
  setup(props, _ref) {
@@ -25182,11 +25186,7 @@
25182
25186
  });
25183
25187
  const form = useForm(props);
25184
25188
  const controlsDisabled = vue.computed(() => form.isDisabled.value || form.isReadonly.value);
25185
- const {
25186
- isFocused,
25187
- focus,
25188
- blur
25189
- } = useFocus(props);
25189
+ const isFocused = vue.shallowRef(props.focused);
25190
25190
  function correctPrecision(val) {
25191
25191
  let precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : props.precision;
25192
25192
  const fixed = precision == null ? String(val) : val.toFixed(precision);
@@ -25371,11 +25371,9 @@
25371
25371
  inputText.value = model.value.toString();
25372
25372
  }
25373
25373
  function onFocus() {
25374
- focus();
25375
25374
  trimDecimalZeros();
25376
25375
  }
25377
25376
  function onBlur() {
25378
- blur();
25379
25377
  clampModel();
25380
25378
  }
25381
25379
  useRender(() => {
@@ -25468,9 +25466,12 @@
25468
25466
  }, null)]) : props.reverse && controlVariant.value !== 'hidden' ? vue.createElementVNode(vue.Fragment, null, [controlNode(), dividerNode()]) : undefined;
25469
25467
  const hasPrependInner = slots['prepend-inner'] || prependInnerControl;
25470
25468
  return vue.createVNode(VTextField, vue.mergeProps({
25471
- "ref": vTextFieldRef,
25469
+ "ref": vTextFieldRef
25470
+ }, textFieldProps, {
25472
25471
  "modelValue": inputText.value,
25473
25472
  "onUpdate:modelValue": $event => inputText.value = $event,
25473
+ "focused": isFocused.value,
25474
+ "onUpdate:focused": $event => isFocused.value = $event,
25474
25475
  "validationValue": model.value,
25475
25476
  "onBeforeinput": onBeforeinput,
25476
25477
  "onFocus": onFocus,
@@ -25483,8 +25484,7 @@
25483
25484
  'v-number-input--reverse': props.reverse,
25484
25485
  'v-number-input--split': controlVariant.value === 'split',
25485
25486
  'v-number-input--stacked': controlVariant.value === 'stacked'
25486
- }, props.class]
25487
- }, textFieldProps, {
25487
+ }, props.class],
25488
25488
  "style": props.style,
25489
25489
  "inputmode": "decimal"
25490
25490
  }), {
@@ -25619,7 +25619,7 @@
25619
25619
  function onPaste(index, e) {
25620
25620
  e.preventDefault();
25621
25621
  e.stopPropagation();
25622
- const clipboardText = e?.clipboardData?.getData('Text').slice(0, length.value) ?? '';
25622
+ const clipboardText = e?.clipboardData?.getData('Text').trim().slice(0, length.value) ?? '';
25623
25623
  if (isValidNumber(clipboardText)) return;
25624
25624
  model.value = clipboardText.split('');
25625
25625
  inputRef.value?.[index].blur();
@@ -25651,7 +25651,10 @@
25651
25651
  scoped: true
25652
25652
  });
25653
25653
  vue.watch(model, val => {
25654
- if (val.length === length.value) emit('finish', val.join(''));
25654
+ if (val.length === length.value) {
25655
+ focusIndex.value = length.value - 1;
25656
+ emit('finish', val.join(''));
25657
+ }
25655
25658
  }, {
25656
25659
  deep: true
25657
25660
  });
@@ -29404,7 +29407,7 @@
29404
29407
  };
29405
29408
  });
29406
29409
  }
29407
- const version$1 = "3.8.8-master.2025-06-04";
29410
+ const version$1 = "3.8.8-master.2025-06-07";
29408
29411
  createVuetify$1.version = version$1;
29409
29412
 
29410
29413
  // Vue's inject() can only be used in setup
@@ -29429,7 +29432,7 @@
29429
29432
  ...options
29430
29433
  });
29431
29434
  };
29432
- const version = "3.8.8-master.2025-06-04";
29435
+ const version = "3.8.8-master.2025-06-07";
29433
29436
  createVuetify.version = version;
29434
29437
 
29435
29438
  exports.blueprints = index;