vuetify 3.1.3 → 3.1.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 (120) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/json/attributes.json +682 -642
  3. package/dist/json/importMap-labs.json +4 -0
  4. package/dist/json/importMap.json +34 -34
  5. package/dist/json/tags.json +18 -3
  6. package/dist/json/web-types.json +943 -830
  7. package/dist/vuetify-labs.css +2987 -2985
  8. package/dist/vuetify-labs.d.ts +211 -50
  9. package/dist/vuetify-labs.esm.js +97 -79
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +96 -78
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +43 -40
  14. package/dist/vuetify.d.ts +144 -13
  15. package/dist/vuetify.esm.js +40 -31
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +40 -31
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +487 -484
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/components/VAppBar/VAppBarTitle.mjs +3 -4
  23. package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
  24. package/lib/components/VAppBar/index.d.ts +14 -2
  25. package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -4
  26. package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
  27. package/lib/components/VBtn/VBtn.css +7 -7
  28. package/lib/components/VBtnGroup/VBtnGroup.mjs +15 -11
  29. package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
  30. package/lib/components/VBtnGroup/index.d.ts +2 -1
  31. package/lib/components/VBtnToggle/VBtnToggle.mjs +9 -5
  32. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  33. package/lib/components/VBtnToggle/index.d.ts +122 -1
  34. package/lib/components/VCalendar/VCalendar.mjs +3 -0
  35. package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
  36. package/lib/components/VCalendar/VCalendarCategory.sass +9 -3
  37. package/lib/components/VCalendar/VCalendarDaily.mjs +20 -8
  38. package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
  39. package/lib/components/VCalendar/VCalendarWeekly.mjs +25 -5
  40. package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
  41. package/lib/components/VCalendar/mixins/calendar-with-events.mjs +20 -16
  42. package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
  43. package/lib/components/VCalendar/mixins/mouse.mjs +16 -30
  44. package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
  45. package/lib/components/VCard/VCard.css +7 -7
  46. package/lib/components/VChip/VChip.css +7 -7
  47. package/lib/components/VChip/VChip.mjs +6 -1
  48. package/lib/components/VChip/VChip.mjs.map +1 -1
  49. package/lib/components/VData/VData.mjs +2 -4
  50. package/lib/components/VData/VData.mjs.map +1 -1
  51. package/lib/components/VDatePicker/VDatePicker.mjs +7 -5
  52. package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
  53. package/lib/components/VExpansionPanel/VExpansionPanel.css +7 -7
  54. package/lib/components/VField/VField.css +2 -2
  55. package/lib/components/VField/VField.sass +2 -2
  56. package/lib/components/VList/VListItem.css +7 -7
  57. package/lib/components/VOtpInput/VOtpInput.mjs +22 -46
  58. package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
  59. package/lib/components/VOverflowBtn/VOverflowBtn.mjs +3 -0
  60. package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
  61. package/lib/components/VSelectionControl/VSelectionControl.css +2 -2
  62. package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -1
  63. package/lib/components/VStepper/VStepper.sass +6 -6
  64. package/lib/components/VStepper/VStepperStep.mjs +12 -2
  65. package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
  66. package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
  67. package/lib/components/VTimeline/_mixins.sass +1 -1
  68. package/lib/components/VToolbar/VToolbarTitle.mjs +6 -5
  69. package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
  70. package/lib/components/VTreeview/VTreeview.mjs +1 -1
  71. package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
  72. package/lib/components/index.d.ts +135 -4
  73. package/lib/composables/nested/nested.mjs +2 -1
  74. package/lib/composables/nested/nested.mjs.map +1 -1
  75. package/lib/directives/ripple/VRipple.css +3 -0
  76. package/lib/directives/ripple/VRipple.sass +3 -0
  77. package/lib/directives/ripple/_variables.scss +1 -1
  78. package/lib/directives/ripple/index.mjs +2 -7
  79. package/lib/directives/ripple/index.mjs.map +1 -1
  80. package/lib/entry-bundler.mjs +1 -1
  81. package/lib/framework.mjs +1 -1
  82. package/lib/index.d.ts +9 -9
  83. package/lib/labs/VDataTable/VDataTable.mjs +1 -5
  84. package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
  85. package/lib/labs/VDataTable/VDataTableFooter.mjs +1 -1
  86. package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
  87. package/lib/labs/VDataTable/VDataTableServer.mjs +1 -7
  88. package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
  89. package/lib/labs/VDataTable/VDataTableVirtual.mjs +0 -3
  90. package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
  91. package/lib/labs/VDataTable/composables/options.mjs +0 -6
  92. package/lib/labs/VDataTable/composables/options.mjs.map +1 -1
  93. package/lib/labs/VDataTable/composables/paginate.mjs +1 -1
  94. package/lib/labs/VDataTable/composables/paginate.mjs.map +1 -1
  95. package/lib/labs/VDataTable/index.d.ts +60 -1
  96. package/lib/labs/VDataTable/index.mjs +1 -0
  97. package/lib/labs/VDataTable/index.mjs.map +1 -1
  98. package/lib/labs/VVirtualScroll/VVirtualScroll.css +0 -1
  99. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +40 -22
  100. package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
  101. package/lib/labs/VVirtualScroll/VVirtualScroll.sass +0 -1
  102. package/lib/labs/VVirtualScroll/VVirtualScrollItem.mjs +20 -8
  103. package/lib/labs/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
  104. package/lib/labs/VVirtualScroll/index.d.ts +15 -46
  105. package/lib/labs/components.d.ts +75 -47
  106. package/lib/locale/ar.mjs +20 -20
  107. package/lib/locale/ar.mjs.map +1 -1
  108. package/lib/locale/es.mjs +3 -3
  109. package/lib/locale/es.mjs.map +1 -1
  110. package/lib/locale/fi.mjs +5 -5
  111. package/lib/locale/fi.mjs.map +1 -1
  112. package/lib/locale/it.mjs +6 -6
  113. package/lib/locale/it.mjs.map +1 -1
  114. package/lib/locale/sv.mjs +7 -7
  115. package/lib/locale/sv.mjs.map +1 -1
  116. package/lib/styles/settings/_variables.scss +6 -6
  117. package/lib/styles/tools/_states.sass +3 -3
  118. package/lib/util/helpers.mjs +0 -18
  119. package/lib/util/helpers.mjs.map +1 -1
  120. package/package.json +2 -2
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.1.3
2
+ * Vuetify v3.1.4
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2925,12 +2925,13 @@
2925
2925
 
2926
2926
  // Types
2927
2927
 
2928
+ const makeVToolbarTitleProps = propsFactory({
2929
+ text: String,
2930
+ ...makeTagProps()
2931
+ }, 'v-toolbar-title');
2928
2932
  const VToolbarTitle = genericComponent()({
2929
2933
  name: 'VToolbarTitle',
2930
- props: {
2931
- text: String,
2932
- ...makeTagProps()
2933
- },
2934
+ props: makeVToolbarTitleProps(),
2934
2935
  setup(props, _ref) {
2935
2936
  let {
2936
2937
  slots
@@ -3382,18 +3383,21 @@
3382
3383
  };
3383
3384
  }
3384
3385
 
3386
+ // Types
3387
+
3388
+ const makeVBtnGroupProps = propsFactory({
3389
+ divided: Boolean,
3390
+ ...makeBorderProps(),
3391
+ ...makeDensityProps(),
3392
+ ...makeElevationProps(),
3393
+ ...makeRoundedProps(),
3394
+ ...makeTagProps(),
3395
+ ...makeThemeProps(),
3396
+ ...makeVariantProps()
3397
+ }, 'v-btn-group');
3385
3398
  const VBtnGroup = defineComponent({
3386
3399
  name: 'VBtnGroup',
3387
- props: {
3388
- divided: Boolean,
3389
- ...makeBorderProps(),
3390
- ...makeDensityProps(),
3391
- ...makeElevationProps(),
3392
- ...makeRoundedProps(),
3393
- ...makeTagProps(),
3394
- ...makeThemeProps(),
3395
- ...makeVariantProps()
3396
- },
3400
+ props: makeVBtnGroupProps(),
3397
3401
  setup(props, _ref) {
3398
3402
  let {
3399
3403
  slots
@@ -3431,6 +3435,9 @@
3431
3435
  });
3432
3436
  }
3433
3437
  });
3438
+ function filterVBtnGroupProps(props) {
3439
+ return pick(props, Object.keys(VBtnGroup.props));
3440
+ }
3434
3441
 
3435
3442
  // Composables
3436
3443
 
@@ -3638,7 +3645,10 @@
3638
3645
  const VBtnToggleSymbol = Symbol.for('vuetify:v-btn-toggle');
3639
3646
  const VBtnToggle = genericComponent()({
3640
3647
  name: 'VBtnToggle',
3641
- props: makeGroupProps(),
3648
+ props: {
3649
+ ...makeVBtnGroupProps(),
3650
+ ...makeGroupProps()
3651
+ },
3642
3652
  emits: {
3643
3653
  'update:modelValue': value => true
3644
3654
  },
@@ -3655,9 +3665,10 @@
3655
3665
  } = useGroup(props, VBtnToggleSymbol);
3656
3666
  useRender(() => {
3657
3667
  var _slots$default;
3658
- return vue.createVNode(VBtnGroup, {
3668
+ const [btnGroupProps] = filterVBtnGroupProps(props);
3669
+ return vue.createVNode(VBtnGroup, vue.mergeProps({
3659
3670
  "class": "v-btn-toggle"
3660
- }, {
3671
+ }, btnGroupProps), {
3661
3672
  default: () => [(_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots, {
3662
3673
  isSelected,
3663
3674
  next,
@@ -4112,9 +4123,6 @@
4112
4123
  el.style.transform = value;
4113
4124
  el.style.webkitTransform = value;
4114
4125
  }
4115
- function opacity(el, value) {
4116
- el.style.opacity = `calc(${value} * var(--v-theme-overlay-multiplier))`;
4117
- }
4118
4126
  function isTouchEvent(e) {
4119
4127
  return e.constructor.name === 'TouchEvent';
4120
4128
  }
@@ -4190,13 +4198,11 @@
4190
4198
  animation.classList.add('v-ripple__animation--enter');
4191
4199
  animation.classList.add('v-ripple__animation--visible');
4192
4200
  transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`);
4193
- opacity(animation, 0);
4194
4201
  animation.dataset.activated = String(performance.now());
4195
4202
  setTimeout(() => {
4196
4203
  animation.classList.remove('v-ripple__animation--enter');
4197
4204
  animation.classList.add('v-ripple__animation--in');
4198
4205
  transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`);
4199
- opacity(animation, 0.08);
4200
4206
  }, 0);
4201
4207
  },
4202
4208
  hide(el) {
@@ -4211,14 +4217,14 @@
4211
4217
  setTimeout(() => {
4212
4218
  animation.classList.remove('v-ripple__animation--in');
4213
4219
  animation.classList.add('v-ripple__animation--out');
4214
- opacity(animation, 0);
4215
4220
  setTimeout(() => {
4221
+ var _animation$parentNode;
4216
4222
  const ripples = el.getElementsByClassName('v-ripple__animation');
4217
4223
  if (ripples.length === 1 && el.dataset.previousPosition) {
4218
4224
  el.style.position = el.dataset.previousPosition;
4219
4225
  delete el.dataset.previousPosition;
4220
4226
  }
4221
- animation.parentNode && el.removeChild(animation.parentNode);
4227
+ if (((_animation$parentNode = animation.parentNode) == null ? void 0 : _animation$parentNode.parentNode) === el) el.removeChild(animation.parentNode);
4222
4228
  }, 300);
4223
4229
  }, delay);
4224
4230
  }
@@ -5005,9 +5011,7 @@
5005
5011
 
5006
5012
  const VAppBarTitle = defineComponent({
5007
5013
  name: 'VAppBarTitle',
5008
- props: {
5009
- ...VToolbarTitle.props
5010
- },
5014
+ props: makeVToolbarTitleProps(),
5011
5015
  setup(props, _ref) {
5012
5016
  let {
5013
5017
  slots
@@ -6833,6 +6837,9 @@
6833
6837
  emit,
6834
6838
  slots
6835
6839
  } = _ref;
6840
+ const {
6841
+ t
6842
+ } = useLocale();
6836
6843
  const {
6837
6844
  borderClasses
6838
6845
  } = useBorder(props);
@@ -6969,6 +6976,7 @@
6969
6976
  }, {
6970
6977
  default: () => [vue.createVNode("div", {
6971
6978
  "class": "v-chip__close",
6979
+ "aria-label": t(props.closeLabel),
6972
6980
  "onClick": onCloseClick
6973
6981
  }, [slots.close ? slots.close() : vue.createVNode(VIcon, null, null)])]
6974
6982
  })]
@@ -7454,7 +7462,8 @@
7454
7462
  };
7455
7463
  const useNestedItem = (id, isGroup) => {
7456
7464
  const parent = vue.inject(VNestedSymbol, emptyNested);
7457
- const computedId = vue.computed(() => id.value ?? Symbol(getUid()));
7465
+ const uidSymbol = Symbol(getUid());
7466
+ const computedId = vue.computed(() => id.value ?? uidSymbol);
7458
7467
  const item = {
7459
7468
  ...parent,
7460
7469
  id: computedId,
@@ -18453,7 +18462,7 @@
18453
18462
  locale
18454
18463
  };
18455
18464
  }
18456
- const version$1 = "3.1.3";
18465
+ const version$1 = "3.1.4";
18457
18466
  createVuetify$1.version = version$1;
18458
18467
 
18459
18468
  // Vue's inject() can only be used in setup
@@ -18474,7 +18483,7 @@
18474
18483
  ...options
18475
18484
  });
18476
18485
  };
18477
- const version = "3.1.3";
18486
+ const version = "3.1.4";
18478
18487
  createVuetify.version = version;
18479
18488
 
18480
18489
  exports.components = components;