@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
  */
@@ -12912,7 +12912,12 @@
12912
12912
  if (['Escape'].includes(e.key)) {
12913
12913
  menu.value = false;
12914
12914
  }
12915
- if (highlightFirst.value && e.key === 'Enter') {
12915
+ if (highlightFirst.value && ['Enter', 'Tab'].includes(e.key) && !model.value.some(_ref2 => {
12916
+ let {
12917
+ value
12918
+ } = _ref2;
12919
+ return value === displayItems.value[0].value;
12920
+ })) {
12916
12921
  select(displayItems.value[0]);
12917
12922
  }
12918
12923
  if (e.key === 'ArrowDown' && highlightFirst.value) {
@@ -13015,16 +13020,14 @@
13015
13020
  isPristine.value = true;
13016
13021
  vue.nextTick(() => isSelecting.value = false);
13017
13022
  } else {
13018
- if (!props.multiple && search.value == null) model.value = [];else if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
13019
- let {
13020
- value
13021
- } = _ref2;
13022
- return value === displayItems.value[0].value;
13023
- })) {
13024
- select(displayItems.value[0]);
13025
- }
13023
+ if (!props.multiple && search.value == null) model.value = [];
13026
13024
  menu.value = false;
13027
- if (props.multiple || hasSelectionSlot.value) search.value = '';
13025
+ if (!model.value.some(_ref3 => {
13026
+ let {
13027
+ title
13028
+ } = _ref3;
13029
+ return title === search.value;
13030
+ })) search.value = '';
13028
13031
  selectionIndex.value = -1;
13029
13032
  }
13030
13033
  });
@@ -13110,12 +13113,12 @@
13110
13113
  "renderless": true,
13111
13114
  "items": displayItems.value
13112
13115
  }, {
13113
- default: _ref3 => {
13116
+ default: _ref4 => {
13114
13117
  let {
13115
13118
  item,
13116
13119
  index,
13117
13120
  itemRef
13118
- } = _ref3;
13121
+ } = _ref4;
13119
13122
  const itemProps = vue.mergeProps(item.props, {
13120
13123
  ref: itemRef,
13121
13124
  key: index,
@@ -13129,10 +13132,10 @@
13129
13132
  }) ?? vue.createVNode(VListItem, vue.mergeProps(itemProps, {
13130
13133
  "role": "option"
13131
13134
  }), {
13132
- prepend: _ref4 => {
13135
+ prepend: _ref5 => {
13133
13136
  let {
13134
13137
  isSelected
13135
- } = _ref4;
13138
+ } = _ref5;
13136
13139
  return vue.createVNode(vue.Fragment, null, [props.multiple && !props.hideSelected ? vue.createVNode(VCheckboxBtn, {
13137
13140
  "key": item.value,
13138
13141
  "modelValue": isSelected,
@@ -16782,8 +16785,13 @@
16782
16785
  if (['Escape'].includes(e.key)) {
16783
16786
  menu.value = false;
16784
16787
  }
16785
- if (['Enter', 'Escape'].includes(e.key)) {
16786
- if (highlightFirst.value && e.key === 'Enter') {
16788
+ if (['Enter', 'Escape', 'Tab'].includes(e.key)) {
16789
+ if (highlightFirst.value && ['Enter', 'Tab'].includes(e.key) && !model.value.some(_ref2 => {
16790
+ let {
16791
+ value
16792
+ } = _ref2;
16793
+ return value === displayItems.value[0].value;
16794
+ })) {
16787
16795
  select(filteredItems.value[0]);
16788
16796
  }
16789
16797
  isPristine.value = true;
@@ -16878,15 +16886,6 @@
16878
16886
  if (val || val === oldVal) return;
16879
16887
  selectionIndex.value = -1;
16880
16888
  menu.value = false;
16881
- if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
16882
- let {
16883
- value
16884
- } = _ref2;
16885
- return value === displayItems.value[0].value;
16886
- })) {
16887
- select(displayItems.value[0]);
16888
- return;
16889
- }
16890
16889
  if (search.value) {
16891
16890
  if (props.multiple) {
16892
16891
  select(transformItem$3(props, search.value));
@@ -27992,7 +27991,6 @@
27992
27991
  }, 'VNumberInput');
27993
27992
  const VNumberInput = genericComponent()({
27994
27993
  name: 'VNumberInput',
27995
- inheritAttrs: false,
27996
27994
  props: {
27997
27995
  ...makeVNumberInputProps()
27998
27996
  },
@@ -30241,7 +30239,7 @@
30241
30239
  goTo
30242
30240
  };
30243
30241
  }
30244
- const version$1 = "3.6.8-master.2024-05-31";
30242
+ const version$1 = "3.6.8-master.2024-06-07";
30245
30243
  createVuetify$1.version = version$1;
30246
30244
 
30247
30245
  // Vue's inject() can only be used in setup
@@ -30494,7 +30492,7 @@
30494
30492
 
30495
30493
  /* eslint-disable local-rules/sort-imports */
30496
30494
 
30497
- const version = "3.6.8-master.2024-05-31";
30495
+ const version = "3.6.8-master.2024-06-07";
30498
30496
 
30499
30497
  /* eslint-disable local-rules/sort-imports */
30500
30498