vuetify 3.5.5 → 3.5.6

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 (45) hide show
  1. package/dist/json/attributes.json +40 -0
  2. package/dist/json/importMap-labs.json +8 -8
  3. package/dist/json/importMap.json +132 -128
  4. package/dist/json/tags.json +15 -0
  5. package/dist/json/web-types.json +292 -1
  6. package/dist/vuetify-labs.css +1632 -1635
  7. package/dist/vuetify-labs.d.ts +242 -1
  8. package/dist/vuetify-labs.esm.js +24 -13
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +24 -13
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +711 -714
  13. package/dist/vuetify.d.ts +281 -39
  14. package/dist/vuetify.esm.js +24 -13
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +24 -13
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +22 -21
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAutocomplete/VAutocomplete.mjs +7 -4
  22. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  23. package/lib/components/VCombobox/VCombobox.mjs +3 -1
  24. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  25. package/lib/components/VDataTable/index.d.mts +214 -1
  26. package/lib/components/VDataTable/index.mjs +1 -0
  27. package/lib/components/VDataTable/index.mjs.map +1 -1
  28. package/lib/components/VExpansionPanel/VExpansionPanel.css +4 -7
  29. package/lib/components/VExpansionPanel/VExpansionPanel.sass +4 -3
  30. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs +2 -0
  31. package/lib/components/VExpansionPanel/VExpansionPanelTitle.mjs.map +1 -1
  32. package/lib/components/VExpansionPanel/VExpansionPanels.mjs +2 -0
  33. package/lib/components/VExpansionPanel/VExpansionPanels.mjs.map +1 -1
  34. package/lib/components/VExpansionPanel/index.d.mts +27 -0
  35. package/lib/components/VSelect/VSelect.mjs +4 -3
  36. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  37. package/lib/components/index.d.mts +241 -1
  38. package/lib/composables/filter.mjs +1 -1
  39. package/lib/composables/filter.mjs.map +1 -1
  40. package/lib/composables/goto.mjs +2 -2
  41. package/lib/composables/goto.mjs.map +1 -1
  42. package/lib/entry-bundler.mjs +1 -1
  43. package/lib/framework.mjs +1 -1
  44. package/lib/index.d.mts +39 -38
  45. package/package.json +2 -2
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.5.5
2
+ * Vuetify v3.5.6
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -11843,9 +11843,10 @@
11843
11843
  }
11844
11844
  }
11845
11845
  function select(item) {
11846
- const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
11847
- const add = index === -1;
11846
+ let add = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
11848
11847
  if (props.multiple) {
11848
+ const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
11849
+ add = index === -1;
11849
11850
  if (add) {
11850
11851
  model.value = [...model.value, item];
11851
11852
  } else {
@@ -12006,7 +12007,7 @@
12006
12007
  function onChipClose(e) {
12007
12008
  e.stopPropagation();
12008
12009
  e.preventDefault();
12009
- select(item);
12010
+ select(item, false);
12010
12011
  }
12011
12012
  const slotProps = {
12012
12013
  'onClick:close': onChipClose,
@@ -12116,7 +12117,7 @@
12116
12117
  if (typeof item === 'object') {
12117
12118
  const filterKeys = keys || Object.keys(transformed);
12118
12119
  for (const key of filterKeys) {
12119
- const value = getPropertyFromItem(transformed, key, transformed);
12120
+ const value = getPropertyFromItem(transformed, key);
12120
12121
  const keyFilter = options?.customKeyFilter?.[key];
12121
12122
  match = keyFilter ? keyFilter(value, query, item) : filter(value, query, item);
12122
12123
  if (match !== -1 && match !== false) {
@@ -12391,10 +12392,11 @@
12391
12392
  }
12392
12393
  const isSelecting = vue.shallowRef(false);
12393
12394
  function select(item) {
12395
+ let add = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
12394
12396
  if (item.props.disabled) return;
12395
- const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
12396
- const add = index === -1;
12397
12397
  if (props.multiple) {
12398
+ const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
12399
+ add = index === -1;
12398
12400
  if (add) {
12399
12401
  model.value = [...model.value, item];
12400
12402
  } else {
@@ -12537,7 +12539,9 @@
12537
12539
  item,
12538
12540
  index,
12539
12541
  props: itemProps
12540
- }) ?? vue.createVNode(VListItem, itemProps, {
12542
+ }) ?? vue.createVNode(VListItem, vue.mergeProps(itemProps, {
12543
+ "role": "option"
12544
+ }), {
12541
12545
  prepend: _ref4 => {
12542
12546
  let {
12543
12547
  isSelected
@@ -12564,7 +12568,7 @@
12564
12568
  function onChipClose(e) {
12565
12569
  e.stopPropagation();
12566
12570
  e.preventDefault();
12567
- select(item);
12571
+ select(item, false);
12568
12572
  }
12569
12573
  const slotProps = {
12570
12574
  'onClick:close': onChipClose,
@@ -16327,7 +16331,9 @@
16327
16331
  item,
16328
16332
  index,
16329
16333
  props: itemProps
16330
- }) ?? vue.createVNode(VListItem, itemProps, {
16334
+ }) ?? vue.createVNode(VListItem, vue.mergeProps(itemProps, {
16335
+ "role": "option"
16336
+ }), {
16331
16337
  prepend: _ref4 => {
16332
16338
  let {
16333
16339
  isSelected
@@ -17670,7 +17676,7 @@
17670
17676
  return new Promise(resolve => requestAnimationFrame(function step(currentTime) {
17671
17677
  const timeElapsed = currentTime - startTime;
17672
17678
  const progress = timeElapsed / options.duration;
17673
- const location = Math.floor(startLocation + (targetLocation - startLocation) * ease(Math.max(progress, 1)));
17679
+ const location = Math.floor(startLocation + (targetLocation - startLocation) * ease(clamp(progress, 0, 1)));
17674
17680
  container[property] = location;
17675
17681
 
17676
17682
  // Allow for some jitter if target time has elapsed
@@ -21094,6 +21100,7 @@
21094
21100
  const makeVExpansionPanelsProps = propsFactory({
21095
21101
  color: String,
21096
21102
  flat: Boolean,
21103
+ focusable: Boolean,
21097
21104
  static: Boolean,
21098
21105
  tile: Boolean,
21099
21106
  variant: {
@@ -21128,6 +21135,7 @@
21128
21135
  readonly: vue.toRef(props, 'readonly')
21129
21136
  },
21130
21137
  VExpansionPanelTitle: {
21138
+ focusable: vue.toRef(props, 'focusable'),
21131
21139
  static: vue.toRef(props, 'static')
21132
21140
  }
21133
21141
  });
@@ -21186,6 +21194,7 @@
21186
21194
  default: '$collapse'
21187
21195
  },
21188
21196
  hideActions: Boolean,
21197
+ focusable: Boolean,
21189
21198
  static: Boolean,
21190
21199
  ripple: {
21191
21200
  type: [Boolean, Object],
@@ -21220,6 +21229,7 @@
21220
21229
  useRender(() => vue.withDirectives(vue.createVNode("button", {
21221
21230
  "class": ['v-expansion-panel-title', {
21222
21231
  'v-expansion-panel-title--active': expansionPanel.isSelected.value,
21232
+ 'v-expansion-panel-title--focusable': props.focusable,
21223
21233
  'v-expansion-panel-title--static': props.static
21224
21234
  }, backgroundColorClasses.value, props.class],
21225
21235
  "style": [backgroundColorStyles.value, props.style],
@@ -25392,6 +25402,7 @@
25392
25402
  VDataIterator: VDataIterator,
25393
25403
  VDataTable: VDataTable,
25394
25404
  VDataTableFooter: VDataTableFooter,
25405
+ VDataTableHeaders: VDataTableHeaders,
25395
25406
  VDataTableRow: VDataTableRow,
25396
25407
  VDataTableRows: VDataTableRows,
25397
25408
  VDataTableServer: VDataTableServer,
@@ -25727,7 +25738,7 @@
25727
25738
  goTo
25728
25739
  };
25729
25740
  }
25730
- const version$1 = "3.5.5";
25741
+ const version$1 = "3.5.6";
25731
25742
  createVuetify$1.version = version$1;
25732
25743
 
25733
25744
  // Vue's inject() can only be used in setup
@@ -25752,7 +25763,7 @@
25752
25763
  ...options
25753
25764
  });
25754
25765
  };
25755
- const version = "3.5.5";
25766
+ const version = "3.5.6";
25756
25767
  createVuetify.version = version;
25757
25768
 
25758
25769
  exports.components = components;