vuetify 3.7.2 → 3.7.3

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 (83) hide show
  1. package/dist/json/attributes.json +1 -1
  2. package/dist/json/importMap-labs.json +22 -22
  3. package/dist/json/importMap.json +160 -160
  4. package/dist/json/web-types.json +2 -2
  5. package/dist/vuetify-labs.css +3147 -3147
  6. package/dist/vuetify-labs.d.ts +194 -194
  7. package/dist/vuetify-labs.esm.js +45 -38
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +45 -38
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +2105 -2105
  12. package/dist/vuetify.d.ts +210 -210
  13. package/dist/vuetify.esm.js +15 -10
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +15 -10
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +12 -12
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VAutocomplete/index.d.mts +22 -22
  21. package/lib/components/VBottomSheet/VBottomSheet.sass +2 -1
  22. package/lib/components/VBottomSheet/index.d.mts +4 -4
  23. package/lib/components/VCarousel/index.d.mts +2 -2
  24. package/lib/components/VCheckbox/index.d.mts +2 -2
  25. package/lib/components/VChip/VChip.mjs +2 -1
  26. package/lib/components/VChip/VChip.mjs.map +1 -1
  27. package/lib/components/VColorPicker/VColorPicker.mjs +2 -2
  28. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  29. package/lib/components/VCombobox/index.d.mts +22 -22
  30. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +87 -0
  31. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -0
  32. package/lib/components/VDataTable/composables/paginate.mjs +4 -2
  33. package/lib/components/VDataTable/composables/paginate.mjs.map +1 -1
  34. package/lib/components/VDataTable/index.d.mts +6 -6
  35. package/lib/components/VDatePicker/index.d.mts +2 -2
  36. package/lib/components/VDialog/index.d.mts +22 -22
  37. package/lib/components/VField/_variables.scss +2 -1
  38. package/lib/components/VFileInput/__tests__/text.txt +1 -0
  39. package/lib/components/VFileInput/index.d.mts +3 -3
  40. package/lib/components/VInput/index.d.mts +2 -2
  41. package/lib/components/VList/VListItem.mjs +1 -0
  42. package/lib/components/VList/VListItem.mjs.map +1 -1
  43. package/lib/components/VMenu/index.d.mts +20 -20
  44. package/lib/components/VMessages/index.d.mts +8 -8
  45. package/lib/components/VNavigationDrawer/index.d.mts +7 -7
  46. package/lib/components/VOverflowBtn/VOverflowBtn.sass +6 -5
  47. package/lib/components/VOverlay/index.d.mts +4 -4
  48. package/lib/components/VProgressLinear/_variables.scss +2 -1
  49. package/lib/components/VRadioGroup/index.d.mts +2 -2
  50. package/lib/components/VSelect/index.d.mts +22 -22
  51. package/lib/components/VSnackbar/index.d.mts +31 -31
  52. package/lib/components/VSpeedDial/index.d.mts +2 -2
  53. package/lib/components/VSwitch/index.d.mts +2 -2
  54. package/lib/components/VTable/_mixins.scss +2 -2
  55. package/lib/components/VTabs/VTabs.sass +1 -1
  56. package/lib/components/VTextField/index.d.mts +3 -3
  57. package/lib/components/VTextarea/index.d.mts +3 -3
  58. package/lib/components/VTooltip/index.d.mts +24 -24
  59. package/lib/components/VWindow/index.d.mts +2 -2
  60. package/lib/components/index.d.mts +157 -157
  61. package/lib/composables/directiveComponent.mjs +4 -3
  62. package/lib/composables/directiveComponent.mjs.map +1 -1
  63. package/lib/composables/nested/nested.mjs +2 -2
  64. package/lib/composables/nested/nested.mjs.map +1 -1
  65. package/lib/directives/ripple/index.mjs.map +1 -1
  66. package/lib/entry-bundler.mjs +1 -1
  67. package/lib/framework.mjs +1 -1
  68. package/lib/index.d.mts +53 -53
  69. package/lib/labs/VNumberInput/index.d.mts +9 -9
  70. package/lib/labs/VSnackbarQueue/index.d.mts +52 -52
  71. package/lib/labs/VTreeview/VTreeview.mjs +2 -1
  72. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  73. package/lib/labs/VTreeview/VTreeviewChildren.mjs +29 -28
  74. package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
  75. package/lib/labs/VTreeview/index.d.mts +7 -7
  76. package/lib/labs/components.d.mts +68 -68
  77. package/lib/styles/settings/_colors.scss +257 -256
  78. package/lib/styles/utilities/_display.sass +2 -1
  79. package/lib/styles/utilities/_elevation.scss +2 -1
  80. package/lib/styles/utilities/_screenreaders.sass +2 -1
  81. package/package.json +23 -16
  82. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs +0 -74
  83. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +0 -1
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.2
2
+ * Vuetify v3.7.3
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -8280,7 +8280,8 @@
8280
8280
  }, slots.append)]), hasClose && vue.createVNode("button", vue.mergeProps({
8281
8281
  "key": "close",
8282
8282
  "class": "v-chip__close",
8283
- "type": "button"
8283
+ "type": "button",
8284
+ "data-testid": "close-chip"
8284
8285
  }, closeProps.value), [!slots.close ? vue.createVNode(VIcon, {
8285
8286
  "key": "close-icon",
8286
8287
  "icon": props.closeIcon,
@@ -8822,8 +8823,8 @@
8822
8823
  }),
8823
8824
  register: (id, parentId, isGroup) => {
8824
8825
  if (nodeIds.has(id)) {
8825
- const path = getPath(id).join(' -> ');
8826
- const newPath = getPath(parentId).concat(id).join(' -> ');
8826
+ const path = getPath(id).map(String).join(' -> ');
8827
+ const newPath = getPath(parentId).concat(id).map(String).join(' -> ');
8827
8828
  consoleError(`Multiple nodes with the same ID\n\t${path}\n\t${newPath}`);
8828
8829
  return;
8829
8830
  } else {
@@ -9257,6 +9258,7 @@
9257
9258
  }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, variantClasses.value, props.class],
9258
9259
  "style": [colorStyles.value, dimensionStyles.value, props.style],
9259
9260
  "tabindex": isClickable.value ? list ? -2 : 0 : undefined,
9261
+ "aria-selected": root.activatable.value ? isActivated.value : isSelected.value,
9260
9262
  "onClick": onClick,
9261
9263
  "onKeydown": isClickable.value && !isLink.value && onKeyDown
9262
9264
  }, link.linkProps), {
@@ -16866,7 +16868,7 @@
16866
16868
  hue.value = hsva.h;
16867
16869
  model.value = hsva;
16868
16870
  };
16869
- vue.onMounted(() => {
16871
+ vue.onBeforeMount(() => {
16870
16872
  if (!props.modes.includes(mode.value)) mode.value = props.modes[0];
16871
16873
  });
16872
16874
  provideDefaults({
@@ -18625,7 +18627,9 @@
18625
18627
  if (itemsPerPage.value === -1 || itemsLength.value === 0) return 1;
18626
18628
  return Math.ceil(itemsLength.value / itemsPerPage.value);
18627
18629
  });
18628
- vue.watchEffect(() => {
18630
+
18631
+ // Don't run immediately, items may not have been loaded yet: #17966
18632
+ vue.watch([page, pageCount], () => {
18629
18633
  if (page.value > pageCount.value) {
18630
18634
  page.value = pageCount.value;
18631
18635
  }
@@ -28091,7 +28095,7 @@
28091
28095
  const walk = children => {
28092
28096
  for (const child of children) {
28093
28097
  if (!child) continue;
28094
- if (child === vnode) {
28098
+ if (child === vnode || child.el && vnode.el && child.el === vnode.el) {
28095
28099
  return true;
28096
28100
  }
28097
28101
  stack.add(child);
@@ -28111,7 +28115,8 @@
28111
28115
  return false;
28112
28116
  };
28113
28117
  if (!walk([root.subTree])) {
28114
- throw new Error('Could not find original vnode');
28118
+ consoleError('Could not find original vnode, component will not inherit provides');
28119
+ return root;
28115
28120
  }
28116
28121
 
28117
28122
  // Return the first component parent
@@ -28237,7 +28242,7 @@
28237
28242
  goTo
28238
28243
  };
28239
28244
  }
28240
- const version$1 = "3.7.2";
28245
+ const version$1 = "3.7.3";
28241
28246
  createVuetify$1.version = version$1;
28242
28247
 
28243
28248
  // Vue's inject() can only be used in setup
@@ -28262,7 +28267,7 @@
28262
28267
  ...options
28263
28268
  });
28264
28269
  };
28265
- const version = "3.7.2";
28270
+ const version = "3.7.3";
28266
28271
  createVuetify.version = version;
28267
28272
 
28268
28273
  exports.blueprints = index;