@vuetify/nightly 3.6.8-master.2024-05-31 → 3.6.8-master.2024-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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.8-master.2024-05-31
2
+ * Vuetify v3.6.8-master.2024-06-07
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -12908,7 +12908,12 @@ const VAutocomplete = genericComponent()({
12908
12908
  if (['Escape'].includes(e.key)) {
12909
12909
  menu.value = false;
12910
12910
  }
12911
- if (highlightFirst.value && e.key === 'Enter') {
12911
+ if (highlightFirst.value && ['Enter', 'Tab'].includes(e.key) && !model.value.some(_ref2 => {
12912
+ let {
12913
+ value
12914
+ } = _ref2;
12915
+ return value === displayItems.value[0].value;
12916
+ })) {
12912
12917
  select(displayItems.value[0]);
12913
12918
  }
12914
12919
  if (e.key === 'ArrowDown' && highlightFirst.value) {
@@ -13011,16 +13016,14 @@ const VAutocomplete = genericComponent()({
13011
13016
  isPristine.value = true;
13012
13017
  nextTick(() => isSelecting.value = false);
13013
13018
  } else {
13014
- if (!props.multiple && search.value == null) model.value = [];else if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
13015
- let {
13016
- value
13017
- } = _ref2;
13018
- return value === displayItems.value[0].value;
13019
- })) {
13020
- select(displayItems.value[0]);
13021
- }
13019
+ if (!props.multiple && search.value == null) model.value = [];
13022
13020
  menu.value = false;
13023
- if (props.multiple || hasSelectionSlot.value) search.value = '';
13021
+ if (!model.value.some(_ref3 => {
13022
+ let {
13023
+ title
13024
+ } = _ref3;
13025
+ return title === search.value;
13026
+ })) search.value = '';
13024
13027
  selectionIndex.value = -1;
13025
13028
  }
13026
13029
  });
@@ -13106,12 +13109,12 @@ const VAutocomplete = genericComponent()({
13106
13109
  "renderless": true,
13107
13110
  "items": displayItems.value
13108
13111
  }, {
13109
- default: _ref3 => {
13112
+ default: _ref4 => {
13110
13113
  let {
13111
13114
  item,
13112
13115
  index,
13113
13116
  itemRef
13114
- } = _ref3;
13117
+ } = _ref4;
13115
13118
  const itemProps = mergeProps(item.props, {
13116
13119
  ref: itemRef,
13117
13120
  key: index,
@@ -13125,10 +13128,10 @@ const VAutocomplete = genericComponent()({
13125
13128
  }) ?? createVNode(VListItem, mergeProps(itemProps, {
13126
13129
  "role": "option"
13127
13130
  }), {
13128
- prepend: _ref4 => {
13131
+ prepend: _ref5 => {
13129
13132
  let {
13130
13133
  isSelected
13131
- } = _ref4;
13134
+ } = _ref5;
13132
13135
  return createVNode(Fragment, null, [props.multiple && !props.hideSelected ? createVNode(VCheckboxBtn, {
13133
13136
  "key": item.value,
13134
13137
  "modelValue": isSelected,
@@ -16778,8 +16781,13 @@ const VCombobox = genericComponent()({
16778
16781
  if (['Escape'].includes(e.key)) {
16779
16782
  menu.value = false;
16780
16783
  }
16781
- if (['Enter', 'Escape'].includes(e.key)) {
16782
- if (highlightFirst.value && e.key === 'Enter') {
16784
+ if (['Enter', 'Escape', 'Tab'].includes(e.key)) {
16785
+ if (highlightFirst.value && ['Enter', 'Tab'].includes(e.key) && !model.value.some(_ref2 => {
16786
+ let {
16787
+ value
16788
+ } = _ref2;
16789
+ return value === displayItems.value[0].value;
16790
+ })) {
16783
16791
  select(filteredItems.value[0]);
16784
16792
  }
16785
16793
  isPristine.value = true;
@@ -16874,15 +16882,6 @@ const VCombobox = genericComponent()({
16874
16882
  if (val || val === oldVal) return;
16875
16883
  selectionIndex.value = -1;
16876
16884
  menu.value = false;
16877
- if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
16878
- let {
16879
- value
16880
- } = _ref2;
16881
- return value === displayItems.value[0].value;
16882
- })) {
16883
- select(displayItems.value[0]);
16884
- return;
16885
- }
16886
16885
  if (search.value) {
16887
16886
  if (props.multiple) {
16888
16887
  select(transformItem$3(props, search.value));
@@ -27988,7 +27987,6 @@ const makeVNumberInputProps = propsFactory({
27988
27987
  }, 'VNumberInput');
27989
27988
  const VNumberInput = genericComponent()({
27990
27989
  name: 'VNumberInput',
27991
- inheritAttrs: false,
27992
27990
  props: {
27993
27991
  ...makeVNumberInputProps()
27994
27992
  },
@@ -30237,7 +30235,7 @@ function createVuetify$1() {
30237
30235
  goTo
30238
30236
  };
30239
30237
  }
30240
- const version$1 = "3.6.8-master.2024-05-31";
30238
+ const version$1 = "3.6.8-master.2024-06-07";
30241
30239
  createVuetify$1.version = version$1;
30242
30240
 
30243
30241
  // Vue's inject() can only be used in setup
@@ -30490,7 +30488,7 @@ var index = /*#__PURE__*/Object.freeze({
30490
30488
 
30491
30489
  /* eslint-disable local-rules/sort-imports */
30492
30490
 
30493
- const version = "3.6.8-master.2024-05-31";
30491
+ const version = "3.6.8-master.2024-06-07";
30494
30492
 
30495
30493
  /* eslint-disable local-rules/sort-imports */
30496
30494