@vuetify/nightly 3.6.8-master.2024-05-30 → 3.6.8-master.2024-06-02

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.
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.8-master.2024-05-30
2
+ * Vuetify v3.6.8-master.2024-06-02
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -13145,7 +13145,12 @@
13145
13145
  if (['Escape'].includes(e.key)) {
13146
13146
  menu.value = false;
13147
13147
  }
13148
- if (highlightFirst.value && e.key === 'Enter') {
13148
+ if (highlightFirst.value && ['Enter', 'Tab'].includes(e.key) && !model.value.some(_ref2 => {
13149
+ let {
13150
+ value
13151
+ } = _ref2;
13152
+ return value === displayItems.value[0].value;
13153
+ })) {
13149
13154
  select(displayItems.value[0]);
13150
13155
  }
13151
13156
  if (e.key === 'ArrowDown' && highlightFirst.value) {
@@ -13248,16 +13253,14 @@
13248
13253
  isPristine.value = true;
13249
13254
  vue.nextTick(() => isSelecting.value = false);
13250
13255
  } else {
13251
- if (!props.multiple && search.value == null) model.value = [];else if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
13252
- let {
13253
- value
13254
- } = _ref2;
13255
- return value === displayItems.value[0].value;
13256
- })) {
13257
- select(displayItems.value[0]);
13258
- }
13256
+ if (!props.multiple && search.value == null) model.value = [];
13259
13257
  menu.value = false;
13260
- if (props.multiple || hasSelectionSlot.value) search.value = '';
13258
+ if (!model.value.some(_ref3 => {
13259
+ let {
13260
+ title
13261
+ } = _ref3;
13262
+ return title === search.value;
13263
+ })) search.value = '';
13261
13264
  selectionIndex.value = -1;
13262
13265
  }
13263
13266
  });
@@ -13343,12 +13346,12 @@
13343
13346
  "renderless": true,
13344
13347
  "items": displayItems.value
13345
13348
  }, {
13346
- default: _ref3 => {
13349
+ default: _ref4 => {
13347
13350
  let {
13348
13351
  item,
13349
13352
  index,
13350
13353
  itemRef
13351
- } = _ref3;
13354
+ } = _ref4;
13352
13355
  const itemProps = vue.mergeProps(item.props, {
13353
13356
  ref: itemRef,
13354
13357
  key: index,
@@ -13362,10 +13365,10 @@
13362
13365
  }) ?? vue.createVNode(VListItem, vue.mergeProps(itemProps, {
13363
13366
  "role": "option"
13364
13367
  }), {
13365
- prepend: _ref4 => {
13368
+ prepend: _ref5 => {
13366
13369
  let {
13367
13370
  isSelected
13368
- } = _ref4;
13371
+ } = _ref5;
13369
13372
  return vue.createVNode(vue.Fragment, null, [props.multiple && !props.hideSelected ? vue.createVNode(VCheckboxBtn, {
13370
13373
  "key": item.value,
13371
13374
  "modelValue": isSelected,
@@ -17015,8 +17018,13 @@
17015
17018
  if (['Escape'].includes(e.key)) {
17016
17019
  menu.value = false;
17017
17020
  }
17018
- if (['Enter', 'Escape'].includes(e.key)) {
17019
- if (highlightFirst.value && e.key === 'Enter') {
17021
+ if (['Enter', 'Escape', 'Tab'].includes(e.key)) {
17022
+ if (highlightFirst.value && ['Enter', 'Tab'].includes(e.key) && !model.value.some(_ref2 => {
17023
+ let {
17024
+ value
17025
+ } = _ref2;
17026
+ return value === displayItems.value[0].value;
17027
+ })) {
17020
17028
  select(filteredItems.value[0]);
17021
17029
  }
17022
17030
  isPristine.value = true;
@@ -17111,15 +17119,6 @@
17111
17119
  if (val || val === oldVal) return;
17112
17120
  selectionIndex.value = -1;
17113
17121
  menu.value = false;
17114
- if (highlightFirst.value && !listHasFocus.value && !model.value.some(_ref2 => {
17115
- let {
17116
- value
17117
- } = _ref2;
17118
- return value === displayItems.value[0].value;
17119
- })) {
17120
- select(displayItems.value[0]);
17121
- return;
17122
- }
17123
17122
  if (search.value) {
17124
17123
  if (props.multiple) {
17125
17124
  select(transformItem$3(props, search.value));
@@ -22483,7 +22482,7 @@
22483
22482
  "defaults": {
22484
22483
  VBtn: {
22485
22484
  class: 'v-empty-state__action-btn',
22486
- color: props.color,
22485
+ color: props.color ?? 'surface-variant',
22487
22486
  text: props.actionText
22488
22487
  }
22489
22488
  }
@@ -28072,7 +28071,7 @@
28072
28071
  goTo
28073
28072
  };
28074
28073
  }
28075
- const version$1 = "3.6.8-master.2024-05-30";
28074
+ const version$1 = "3.6.8-master.2024-06-02";
28076
28075
  createVuetify$1.version = version$1;
28077
28076
 
28078
28077
  // Vue's inject() can only be used in setup
@@ -28097,7 +28096,7 @@
28097
28096
  ...options
28098
28097
  });
28099
28098
  };
28100
- const version = "3.6.8-master.2024-05-30";
28099
+ const version = "3.6.8-master.2024-06-02";
28101
28100
  createVuetify.version = version;
28102
28101
 
28103
28102
  exports.blueprints = index;