@vuetify/nightly 3.8.0-beta.0-dev.2025-03-31 → 3.8.0-dev.2025-04-01

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 (44) hide show
  1. package/CHANGELOG.md +3 -104
  2. package/dist/json/attributes.json +3759 -3759
  3. package/dist/json/importMap-labs.json +36 -36
  4. package/dist/json/importMap.json +160 -160
  5. package/dist/json/web-types.json +6872 -6872
  6. package/dist/vuetify-labs.cjs +20 -26
  7. package/dist/vuetify-labs.css +3865 -3865
  8. package/dist/vuetify-labs.d.ts +58 -58
  9. package/dist/vuetify-labs.esm.js +20 -26
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +20 -26
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.cjs +15 -17
  14. package/dist/vuetify.cjs.map +1 -1
  15. package/dist/vuetify.css +5362 -5362
  16. package/dist/vuetify.d.ts +58 -58
  17. package/dist/vuetify.esm.js +15 -17
  18. package/dist/vuetify.esm.js.map +1 -1
  19. package/dist/vuetify.js +15 -17
  20. package/dist/vuetify.js.map +1 -1
  21. package/dist/vuetify.min.css +2 -2
  22. package/dist/vuetify.min.js +7 -8
  23. package/dist/vuetify.min.js.map +1 -1
  24. package/lib/components/VAutocomplete/VAutocomplete.js +5 -10
  25. package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
  26. package/lib/components/VColorPicker/VColorPickerPreview.js +4 -3
  27. package/lib/components/VColorPicker/VColorPickerPreview.js.map +1 -1
  28. package/lib/components/VEmptyState/VEmptyState.js +3 -1
  29. package/lib/components/VEmptyState/VEmptyState.js.map +1 -1
  30. package/lib/components/VInput/VInput.css +11 -11
  31. package/lib/components/VInput/VInput.sass +1 -1
  32. package/lib/entry-bundler.js +1 -1
  33. package/lib/entry-bundler.js.map +1 -1
  34. package/lib/framework.d.ts +58 -58
  35. package/lib/framework.js +1 -1
  36. package/lib/framework.js.map +1 -1
  37. package/lib/labs/VDateInput/VDateInput.js +3 -8
  38. package/lib/labs/VDateInput/VDateInput.js.map +1 -1
  39. package/lib/labs/VFileUpload/VFileUpload.js +2 -1
  40. package/lib/labs/VFileUpload/VFileUpload.js.map +1 -1
  41. package/lib/util/helpers.d.ts +1 -2
  42. package/lib/util/helpers.js +1 -11
  43. package/lib/util/helpers.js.map +1 -1
  44. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.8.0-beta.0-dev.2025-03-31
2
+ * Vuetify v3.8.0-dev.2025-04-01
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -13406,12 +13406,7 @@
13406
13406
  } else {
13407
13407
  if (!props.multiple && search.value == null) model.value = [];
13408
13408
  menu.value = false;
13409
- if (!model.value.some(_ref3 => {
13410
- let {
13411
- title
13412
- } = _ref3;
13413
- return title === search.value;
13414
- })) search.value = '';
13409
+ if (props.multiple || hasSelectionSlot.value) search.value = '';
13415
13410
  selectionIndex.value = -1;
13416
13411
  }
13417
13412
  });
@@ -13499,12 +13494,12 @@
13499
13494
  "items": displayItems.value,
13500
13495
  "itemKey": "value"
13501
13496
  }, {
13502
- default: _ref4 => {
13497
+ default: _ref3 => {
13503
13498
  let {
13504
13499
  item,
13505
13500
  index,
13506
13501
  itemRef
13507
- } = _ref4;
13502
+ } = _ref3;
13508
13503
  const itemProps = vue.mergeProps(item.props, {
13509
13504
  ref: itemRef,
13510
13505
  key: item.value,
@@ -13518,10 +13513,10 @@
13518
13513
  }) ?? vue.createVNode(VListItem, vue.mergeProps(itemProps, {
13519
13514
  "role": "option"
13520
13515
  }), {
13521
- prepend: _ref5 => {
13516
+ prepend: _ref4 => {
13522
13517
  let {
13523
13518
  isSelected
13524
- } = _ref5;
13519
+ } = _ref4;
13525
13520
  return vue.createVNode(vue.Fragment, null, [props.multiple && !props.hideSelected ? vue.createVNode(VCheckboxBtn, {
13526
13521
  "key": item.value,
13527
13522
  "modelValue": isSelected,
@@ -16390,7 +16385,7 @@
16390
16385
  const abortController = new AbortController();
16391
16386
  vue.onUnmounted(() => abortController.abort());
16392
16387
  async function openEyeDropper() {
16393
- if (!SUPPORTS_EYE_DROPPER) return;
16388
+ if (!SUPPORTS_EYE_DROPPER || props.disabled) return;
16394
16389
  const eyeDropper = new window.EyeDropper();
16395
16390
  try {
16396
16391
  const result = await eyeDropper.open({
@@ -16412,10 +16407,11 @@
16412
16407
  "class": "v-color-picker-preview__eye-dropper",
16413
16408
  "key": "eyeDropper"
16414
16409
  }, [vue.createVNode(VBtn, {
16415
- "onClick": openEyeDropper,
16410
+ "density": "comfortable",
16411
+ "disabled": props.disabled,
16416
16412
  "icon": "$eyeDropper",
16417
16413
  "variant": "plain",
16418
- "density": "comfortable"
16414
+ "onClick": openEyeDropper
16419
16415
  }, null)]), vue.createVNode("div", {
16420
16416
  "class": "v-color-picker-preview__dot"
16421
16417
  }, [vue.createVNode("div", {
@@ -22800,7 +22796,9 @@
22800
22796
  VBtn: {
22801
22797
  class: 'v-empty-state__action-btn',
22802
22798
  color: props.color ?? 'surface-variant',
22803
- text: props.actionText
22799
+ href: props.href,
22800
+ text: props.actionText,
22801
+ to: props.to
22804
22802
  }
22805
22803
  }
22806
22804
  }, {
@@ -28991,7 +28989,7 @@
28991
28989
  const adapter = useDate();
28992
28990
  const {
28993
28991
  mobile
28994
- } = useDisplay();
28992
+ } = useDisplay(props);
28995
28993
  const {
28996
28994
  isFocused,
28997
28995
  focus,
@@ -29041,7 +29039,7 @@
29041
29039
  return;
29042
29040
  }
29043
29041
  const target = e.target;
29044
- model.value = target.value === '' ? null : target.value;
29042
+ model.value = adapter.isValid(target.value) ? target.value : null;
29045
29043
  }
29046
29044
  function onClick(e) {
29047
29045
  e.preventDefault();
@@ -29065,10 +29063,6 @@
29065
29063
  if (value != null) return;
29066
29064
  model.value = null;
29067
29065
  }
29068
- function onUpdateMenuModel(isMenuOpen) {
29069
- if (isMenuOpen) return;
29070
- isEditingInput.value = false;
29071
- }
29072
29066
  function onBlur() {
29073
29067
  blur();
29074
29068
 
@@ -29101,7 +29095,7 @@
29101
29095
  ...slots,
29102
29096
  default: () => vue.createVNode(vue.Fragment, null, [vue.createVNode(VMenu, {
29103
29097
  "modelValue": menu.value,
29104
- "onUpdate:modelValue": [$event => menu.value = $event, onUpdateMenuModel],
29098
+ "onUpdate:modelValue": $event => menu.value = $event,
29105
29099
  "activator": "parent",
29106
29100
  "min-width": "0",
29107
29101
  "eager": isFocused.value,
@@ -29134,7 +29128,6 @@
29134
29128
  }
29135
29129
  }
29136
29130
  emit('save', value);
29137
- vDateInputRef.value?.blur();
29138
29131
  disabledActions.value = [];
29139
29132
  }
29140
29133
  return vue.createVNode(VDatePicker, vue.mergeProps(datePickerProps, {
@@ -29382,7 +29375,8 @@
29382
29375
  'v-file-upload--clickable': !hasBrowse,
29383
29376
  'v-file-upload--disabled': props.disabled,
29384
29377
  'v-file-upload--dragging': dragOver.value
29385
- }, densityClasses.value],
29378
+ }, densityClasses.value, props.class],
29379
+ "style": [props.style],
29386
29380
  "onDragleave": onDragLeave,
29387
29381
  "onDragover": onDragOver,
29388
29382
  "onDrop": onDrop,
@@ -31540,7 +31534,7 @@
31540
31534
  };
31541
31535
  });
31542
31536
  }
31543
- const version$1 = "3.8.0-beta.0-dev.2025-03-31";
31537
+ const version$1 = "3.8.0-dev.2025-04-01";
31544
31538
  createVuetify$1.version = version$1;
31545
31539
 
31546
31540
  // Vue's inject() can only be used in setup
@@ -31825,7 +31819,7 @@
31825
31819
 
31826
31820
  /* eslint-disable local-rules/sort-imports */
31827
31821
 
31828
- const version = "3.8.0-beta.0-dev.2025-03-31";
31822
+ const version = "3.8.0-dev.2025-04-01";
31829
31823
 
31830
31824
  /* eslint-disable local-rules/sort-imports */
31831
31825