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
@@ -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
  */
@@ -11849,9 +11849,10 @@
11849
11849
  }
11850
11850
  }
11851
11851
  function select(item) {
11852
- const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
11853
- const add = index === -1;
11852
+ let add = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
11854
11853
  if (props.multiple) {
11854
+ const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
11855
+ add = index === -1;
11855
11856
  if (add) {
11856
11857
  model.value = [...model.value, item];
11857
11858
  } else {
@@ -12012,7 +12013,7 @@
12012
12013
  function onChipClose(e) {
12013
12014
  e.stopPropagation();
12014
12015
  e.preventDefault();
12015
- select(item);
12016
+ select(item, false);
12016
12017
  }
12017
12018
  const slotProps = {
12018
12019
  'onClick:close': onChipClose,
@@ -12122,7 +12123,7 @@
12122
12123
  if (typeof item === 'object') {
12123
12124
  const filterKeys = keys || Object.keys(transformed);
12124
12125
  for (const key of filterKeys) {
12125
- const value = getPropertyFromItem(transformed, key, transformed);
12126
+ const value = getPropertyFromItem(transformed, key);
12126
12127
  const keyFilter = options?.customKeyFilter?.[key];
12127
12128
  match = keyFilter ? keyFilter(value, query, item) : filter(value, query, item);
12128
12129
  if (match !== -1 && match !== false) {
@@ -12397,10 +12398,11 @@
12397
12398
  }
12398
12399
  const isSelecting = vue.shallowRef(false);
12399
12400
  function select(item) {
12401
+ let add = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
12400
12402
  if (item.props.disabled) return;
12401
- const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
12402
- const add = index === -1;
12403
12403
  if (props.multiple) {
12404
+ const index = model.value.findIndex(selection => props.valueComparator(selection.value, item.value));
12405
+ add = index === -1;
12404
12406
  if (add) {
12405
12407
  model.value = [...model.value, item];
12406
12408
  } else {
@@ -12543,7 +12545,9 @@
12543
12545
  item,
12544
12546
  index,
12545
12547
  props: itemProps
12546
- }) ?? vue.createVNode(VListItem, itemProps, {
12548
+ }) ?? vue.createVNode(VListItem, vue.mergeProps(itemProps, {
12549
+ "role": "option"
12550
+ }), {
12547
12551
  prepend: _ref4 => {
12548
12552
  let {
12549
12553
  isSelected
@@ -12570,7 +12574,7 @@
12570
12574
  function onChipClose(e) {
12571
12575
  e.stopPropagation();
12572
12576
  e.preventDefault();
12573
- select(item);
12577
+ select(item, false);
12574
12578
  }
12575
12579
  const slotProps = {
12576
12580
  'onClick:close': onChipClose,
@@ -16333,7 +16337,9 @@
16333
16337
  item,
16334
16338
  index,
16335
16339
  props: itemProps
16336
- }) ?? vue.createVNode(VListItem, itemProps, {
16340
+ }) ?? vue.createVNode(VListItem, vue.mergeProps(itemProps, {
16341
+ "role": "option"
16342
+ }), {
16337
16343
  prepend: _ref4 => {
16338
16344
  let {
16339
16345
  isSelected
@@ -17676,7 +17682,7 @@
17676
17682
  return new Promise(resolve => requestAnimationFrame(function step(currentTime) {
17677
17683
  const timeElapsed = currentTime - startTime;
17678
17684
  const progress = timeElapsed / options.duration;
17679
- const location = Math.floor(startLocation + (targetLocation - startLocation) * ease(Math.max(progress, 1)));
17685
+ const location = Math.floor(startLocation + (targetLocation - startLocation) * ease(clamp(progress, 0, 1)));
17680
17686
  container[property] = location;
17681
17687
 
17682
17688
  // Allow for some jitter if target time has elapsed
@@ -21100,6 +21106,7 @@
21100
21106
  const makeVExpansionPanelsProps = propsFactory({
21101
21107
  color: String,
21102
21108
  flat: Boolean,
21109
+ focusable: Boolean,
21103
21110
  static: Boolean,
21104
21111
  tile: Boolean,
21105
21112
  variant: {
@@ -21134,6 +21141,7 @@
21134
21141
  readonly: vue.toRef(props, 'readonly')
21135
21142
  },
21136
21143
  VExpansionPanelTitle: {
21144
+ focusable: vue.toRef(props, 'focusable'),
21137
21145
  static: vue.toRef(props, 'static')
21138
21146
  }
21139
21147
  });
@@ -21192,6 +21200,7 @@
21192
21200
  default: '$collapse'
21193
21201
  },
21194
21202
  hideActions: Boolean,
21203
+ focusable: Boolean,
21195
21204
  static: Boolean,
21196
21205
  ripple: {
21197
21206
  type: [Boolean, Object],
@@ -21226,6 +21235,7 @@
21226
21235
  useRender(() => vue.withDirectives(vue.createVNode("button", {
21227
21236
  "class": ['v-expansion-panel-title', {
21228
21237
  'v-expansion-panel-title--active': expansionPanel.isSelected.value,
21238
+ 'v-expansion-panel-title--focusable': props.focusable,
21229
21239
  'v-expansion-panel-title--static': props.static
21230
21240
  }, backgroundColorClasses.value, props.class],
21231
21241
  "style": [backgroundColorStyles.value, props.style],
@@ -26380,6 +26390,7 @@
26380
26390
  VDataIterator: VDataIterator,
26381
26391
  VDataTable: VDataTable,
26382
26392
  VDataTableFooter: VDataTableFooter,
26393
+ VDataTableHeaders: VDataTableHeaders,
26383
26394
  VDataTableRow: VDataTableRow,
26384
26395
  VDataTableRows: VDataTableRows,
26385
26396
  VDataTableServer: VDataTableServer,
@@ -26718,7 +26729,7 @@
26718
26729
  goTo
26719
26730
  };
26720
26731
  }
26721
- const version$1 = "3.5.5";
26732
+ const version$1 = "3.5.6";
26722
26733
  createVuetify$1.version = version$1;
26723
26734
 
26724
26735
  // Vue's inject() can only be used in setup
@@ -26732,7 +26743,7 @@
26732
26743
 
26733
26744
  /* eslint-disable local-rules/sort-imports */
26734
26745
 
26735
- const version = "3.5.5";
26746
+ const version = "3.5.6";
26736
26747
 
26737
26748
  /* eslint-disable local-rules/sort-imports */
26738
26749