vuetify 3.7.2 → 3.7.4

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 (104) hide show
  1. package/dist/json/attributes.json +5843 -5795
  2. package/dist/json/importMap-labs.json +16 -16
  3. package/dist/json/importMap.json +150 -150
  4. package/dist/json/tags.json +14 -1
  5. package/dist/json/web-types.json +10397 -10309
  6. package/dist/vuetify-labs.css +2362 -2362
  7. package/dist/vuetify-labs.d.ts +196 -195
  8. package/dist/vuetify-labs.esm.js +68 -45
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +68 -45
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +2822 -2822
  13. package/dist/vuetify.d.ts +212 -211
  14. package/dist/vuetify.esm.js +38 -17
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +38 -17
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +28 -28
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAutocomplete/index.d.mts +22 -22
  22. package/lib/components/VBottomSheet/VBottomSheet.sass +2 -1
  23. package/lib/components/VBottomSheet/index.d.mts +4 -4
  24. package/lib/components/VBtn/VBtn.css +2 -2
  25. package/lib/components/VBtn/VBtn.sass +7 -8
  26. package/lib/components/VBtnToggle/VBtnToggle.css +3 -0
  27. package/lib/components/VBtnToggle/VBtnToggle.sass +3 -0
  28. package/lib/components/VCarousel/index.d.mts +2 -2
  29. package/lib/components/VCheckbox/index.d.mts +2 -2
  30. package/lib/components/VChip/VChip.mjs +2 -1
  31. package/lib/components/VChip/VChip.mjs.map +1 -1
  32. package/lib/components/VCode/index.mjs +1 -1
  33. package/lib/components/VCode/index.mjs.map +1 -1
  34. package/lib/components/VColorPicker/VColorPicker.mjs +2 -2
  35. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  36. package/lib/components/VCombobox/index.d.mts +22 -22
  37. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +87 -0
  38. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -0
  39. package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
  40. package/lib/components/VDataTable/composables/paginate.mjs +4 -2
  41. package/lib/components/VDataTable/composables/paginate.mjs.map +1 -1
  42. package/lib/components/VDataTable/index.d.mts +7 -6
  43. package/lib/components/VDatePicker/index.d.mts +2 -2
  44. package/lib/components/VDialog/VDialog.css +3 -7
  45. package/lib/components/VDialog/VDialog.mjs +8 -1
  46. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  47. package/lib/components/VDialog/VDialog.sass +6 -7
  48. package/lib/components/VDialog/index.d.mts +22 -22
  49. package/lib/components/VField/_variables.scss +2 -1
  50. package/lib/components/VFileInput/__tests__/text.txt +1 -0
  51. package/lib/components/VFileInput/index.d.mts +3 -3
  52. package/lib/components/VInput/index.d.mts +2 -2
  53. package/lib/components/VKbd/index.mjs +1 -1
  54. package/lib/components/VKbd/index.mjs.map +1 -1
  55. package/lib/components/VList/VListItem.css +8 -7
  56. package/lib/components/VList/VListItem.mjs +1 -0
  57. package/lib/components/VList/VListItem.mjs.map +1 -1
  58. package/lib/components/VList/VListItem.sass +16 -10
  59. package/lib/components/VList/_variables.scss +0 -11
  60. package/lib/components/VMenu/VMenu.mjs +15 -6
  61. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  62. package/lib/components/VMenu/index.d.mts +20 -20
  63. package/lib/components/VMessages/index.d.mts +8 -8
  64. package/lib/components/VNavigationDrawer/index.d.mts +7 -7
  65. package/lib/components/VOverflowBtn/VOverflowBtn.sass +6 -5
  66. package/lib/components/VOverlay/index.d.mts +4 -4
  67. package/lib/components/VProgressLinear/_variables.scss +2 -1
  68. package/lib/components/VRadioGroup/index.d.mts +2 -2
  69. package/lib/components/VSelect/index.d.mts +22 -22
  70. package/lib/components/VSnackbar/index.d.mts +31 -31
  71. package/lib/components/VSpeedDial/index.d.mts +2 -2
  72. package/lib/components/VSwitch/index.d.mts +2 -2
  73. package/lib/components/VTable/_mixins.scss +2 -2
  74. package/lib/components/VTabs/VTabs.sass +1 -1
  75. package/lib/components/VTextField/index.d.mts +3 -3
  76. package/lib/components/VTextarea/index.d.mts +3 -3
  77. package/lib/components/VTooltip/index.d.mts +24 -24
  78. package/lib/components/VWindow/index.d.mts +2 -2
  79. package/lib/components/index.d.mts +158 -157
  80. package/lib/composables/directiveComponent.mjs +4 -3
  81. package/lib/composables/directiveComponent.mjs.map +1 -1
  82. package/lib/composables/nested/nested.mjs +2 -2
  83. package/lib/composables/nested/nested.mjs.map +1 -1
  84. package/lib/directives/ripple/index.mjs.map +1 -1
  85. package/lib/entry-bundler.mjs +1 -1
  86. package/lib/framework.mjs +1 -1
  87. package/lib/index.d.mts +53 -53
  88. package/lib/labs/VNumberInput/index.d.mts +9 -9
  89. package/lib/labs/VSnackbarQueue/index.d.mts +52 -52
  90. package/lib/labs/VTreeview/VTreeview.mjs +2 -1
  91. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  92. package/lib/labs/VTreeview/VTreeviewChildren.mjs +29 -28
  93. package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
  94. package/lib/labs/VTreeview/index.d.mts +7 -7
  95. package/lib/labs/components.d.mts +68 -68
  96. package/lib/locale/el.mjs +0 -0
  97. package/lib/locale/index.mjs +0 -0
  98. package/lib/styles/settings/_colors.scss +257 -256
  99. package/lib/styles/utilities/_display.sass +2 -1
  100. package/lib/styles/utilities/_elevation.scss +2 -1
  101. package/lib/styles/utilities/_screenreaders.sass +2 -1
  102. package/package.json +23 -16
  103. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs +0 -74
  104. 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.4
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), {
@@ -11444,7 +11446,10 @@
11444
11446
  }, 40);
11445
11447
  }
11446
11448
  });
11447
- vue.onBeforeUnmount(() => parent?.unregister());
11449
+ vue.onBeforeUnmount(() => {
11450
+ parent?.unregister();
11451
+ document.removeEventListener('focusin', onFocusIn);
11452
+ });
11448
11453
  vue.onDeactivated(() => isActive.value = false);
11449
11454
  async function onFocusIn(e) {
11450
11455
  const before = e.relatedTarget;
@@ -11464,13 +11469,19 @@
11464
11469
  vue.watch(isActive, val => {
11465
11470
  if (val) {
11466
11471
  parent?.register();
11467
- document.addEventListener('focusin', onFocusIn, {
11468
- once: true
11469
- });
11472
+ if (IN_BROWSER) {
11473
+ document.addEventListener('focusin', onFocusIn, {
11474
+ once: true
11475
+ });
11476
+ }
11470
11477
  } else {
11471
11478
  parent?.unregister();
11472
- document.removeEventListener('focusin', onFocusIn);
11479
+ if (IN_BROWSER) {
11480
+ document.removeEventListener('focusin', onFocusIn);
11481
+ }
11473
11482
  }
11483
+ }, {
11484
+ immediate: true
11474
11485
  });
11475
11486
  function onClickOutside(e) {
11476
11487
  parent?.closeParents(e);
@@ -13986,6 +13997,9 @@
13986
13997
  }
13987
13998
  }
13988
13999
  }
14000
+ vue.onBeforeUnmount(() => {
14001
+ document.removeEventListener('focusin', onFocusin);
14002
+ });
13989
14003
  if (IN_BROWSER) {
13990
14004
  vue.watch(() => isActive.value && props.retainFocus, val => {
13991
14005
  val ? document.addEventListener('focusin', onFocusin) : document.removeEventListener('focusin', onFocusin);
@@ -14033,6 +14047,10 @@
14033
14047
  "aria-modal": "true",
14034
14048
  "activatorProps": activatorProps,
14035
14049
  "contentProps": contentProps,
14050
+ "height": !props.fullscreen ? props.height : undefined,
14051
+ "width": !props.fullscreen ? props.width : undefined,
14052
+ "maxHeight": !props.fullscreen ? props.maxHeight : undefined,
14053
+ "maxWidth": !props.fullscreen ? props.maxWidth : undefined,
14036
14054
  "role": "dialog",
14037
14055
  "onAfterEnter": onAfterEnter,
14038
14056
  "onAfterLeave": onAfterLeave
@@ -15129,7 +15147,7 @@
15129
15147
  });
15130
15148
 
15131
15149
  // Styles
15132
- const VCode = createSimpleFunctional('v-code');
15150
+ const VCode = createSimpleFunctional('v-code', 'code');
15133
15151
 
15134
15152
  // Types
15135
15153
 
@@ -16866,7 +16884,7 @@
16866
16884
  hue.value = hsva.h;
16867
16885
  model.value = hsva;
16868
16886
  };
16869
- vue.onMounted(() => {
16887
+ vue.onBeforeMount(() => {
16870
16888
  if (!props.modes.includes(mode.value)) mode.value = props.modes[0];
16871
16889
  });
16872
16890
  provideDefaults({
@@ -18625,7 +18643,9 @@
18625
18643
  if (itemsPerPage.value === -1 || itemsLength.value === 0) return 1;
18626
18644
  return Math.ceil(itemsLength.value / itemsPerPage.value);
18627
18645
  });
18628
- vue.watchEffect(() => {
18646
+
18647
+ // Don't run immediately, items may not have been loaded yet: #17966
18648
+ vue.watch([page, pageCount], () => {
18629
18649
  if (page.value > pageCount.value) {
18630
18650
  page.value = pageCount.value;
18631
18651
  }
@@ -23696,7 +23716,7 @@
23696
23716
  });
23697
23717
 
23698
23718
  // Styles
23699
- const VKbd = createSimpleFunctional('v-kbd');
23719
+ const VKbd = createSimpleFunctional('v-kbd', 'kbd');
23700
23720
 
23701
23721
  const makeVLayoutProps = propsFactory({
23702
23722
  ...makeComponentProps(),
@@ -28091,7 +28111,7 @@
28091
28111
  const walk = children => {
28092
28112
  for (const child of children) {
28093
28113
  if (!child) continue;
28094
- if (child === vnode) {
28114
+ if (child === vnode || child.el && vnode.el && child.el === vnode.el) {
28095
28115
  return true;
28096
28116
  }
28097
28117
  stack.add(child);
@@ -28111,7 +28131,8 @@
28111
28131
  return false;
28112
28132
  };
28113
28133
  if (!walk([root.subTree])) {
28114
- throw new Error('Could not find original vnode');
28134
+ consoleError('Could not find original vnode, component will not inherit provides');
28135
+ return root;
28115
28136
  }
28116
28137
 
28117
28138
  // Return the first component parent
@@ -28237,7 +28258,7 @@
28237
28258
  goTo
28238
28259
  };
28239
28260
  }
28240
- const version$1 = "3.7.2";
28261
+ const version$1 = "3.7.4";
28241
28262
  createVuetify$1.version = version$1;
28242
28263
 
28243
28264
  // Vue's inject() can only be used in setup
@@ -28262,7 +28283,7 @@
28262
28283
  ...options
28263
28284
  });
28264
28285
  };
28265
- const version = "3.7.2";
28286
+ const version = "3.7.4";
28266
28287
  createVuetify.version = version;
28267
28288
 
28268
28289
  exports.blueprints = index;