@vuetify/nightly 2.6.2 → 2.6.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 (44) hide show
  1. package/dist/json/web-types.json +9 -9
  2. package/dist/vuetify.css +18 -3
  3. package/dist/vuetify.css.map +1 -1
  4. package/dist/vuetify.js +13 -18
  5. package/dist/vuetify.js.map +1 -1
  6. package/dist/vuetify.min.css +2 -2
  7. package/dist/vuetify.min.js +2 -2
  8. package/es5/components/VData/VData.js +2 -8
  9. package/es5/components/VData/VData.js.map +1 -1
  10. package/es5/components/VDialog/VDialog.js +3 -5
  11. package/es5/components/VDialog/VDialog.js.map +1 -1
  12. package/es5/components/VMenu/VMenu.js +3 -1
  13. package/es5/components/VMenu/VMenu.js.map +1 -1
  14. package/es5/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
  15. package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
  16. package/es5/components/VTabs/VTab.js +1 -1
  17. package/es5/components/VTabs/VTab.js.map +1 -1
  18. package/es5/framework.js +1 -1
  19. package/es5/mixins/menuable/index.js +2 -1
  20. package/es5/mixins/menuable/index.js.map +1 -1
  21. package/lib/components/VData/VData.js +2 -4
  22. package/lib/components/VData/VData.js.map +1 -1
  23. package/lib/components/VDialog/VDialog.js +2 -4
  24. package/lib/components/VDialog/VDialog.js.map +1 -1
  25. package/lib/components/VMenu/VMenu.js +3 -1
  26. package/lib/components/VMenu/VMenu.js.map +1 -1
  27. package/lib/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
  28. package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
  29. package/lib/components/VTabs/VTab.js +1 -1
  30. package/lib/components/VTabs/VTab.js.map +1 -1
  31. package/lib/framework.js +1 -1
  32. package/lib/mixins/menuable/index.js +2 -1
  33. package/lib/mixins/menuable/index.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/components/VCalendar/VCalendarCategory.sass +10 -3
  36. package/src/components/VData/VData.ts +2 -4
  37. package/src/components/VDataTable/__tests__/__snapshots__/VDataTable.spec.ts.snap +4 -4
  38. package/src/components/VDialog/VDialog.ts +2 -2
  39. package/src/components/VDialog/__tests__/__snapshots__/VDialog.spec.ts.snap +14 -32
  40. package/src/components/VMenu/VMenu.ts +1 -1
  41. package/src/components/VNavigationDrawer/VNavigationDrawer.ts +1 -1
  42. package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +1 -1
  43. package/src/components/VTabs/VTab.ts +1 -1
  44. package/src/mixins/menuable/index.ts +2 -1
package/dist/vuetify.js CHANGED
@@ -9623,16 +9623,10 @@ var __spread = undefined && undefined.__spread || function () {
9623
9623
  }
9624
9624
  },
9625
9625
  sortBy: {
9626
- type: [String, Array],
9627
- default: function _default() {
9628
- return [];
9629
- }
9626
+ type: [String, Array]
9630
9627
  },
9631
9628
  sortDesc: {
9632
- type: [Boolean, Array],
9633
- default: function _default() {
9634
- return [];
9635
- }
9629
+ type: [Boolean, Array]
9636
9630
  },
9637
9631
  customSort: {
9638
9632
  type: Function,
@@ -15019,8 +15013,9 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
15019
15013
  }, [_this.$createElement('div', {
15020
15014
  class: _this.contentClasses,
15021
15015
  attrs: __assign({
15022
- role: 'document',
15023
- tabindex: _this.isActive ? 0 : undefined
15016
+ role: 'dialog',
15017
+ tabindex: _this.isActive ? 0 : undefined,
15018
+ 'aria-modal': _this.hideOverlay ? undefined : 'true'
15024
15019
  }, _this.getScopeIdAttrs()),
15025
15020
  on: {
15026
15021
  keydown: _this.onKeydown
@@ -15078,9 +15073,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
15078
15073
  staticClass: 'v-dialog__container',
15079
15074
  class: {
15080
15075
  'v-dialog__container--attached': this.attach === '' || this.attach === true || this.attach === 'attach'
15081
- },
15082
- attrs: {
15083
- role: 'dialog'
15084
15076
  }
15085
15077
  }, [this.genActivator(), this.genContent()]);
15086
15078
  }
@@ -20045,7 +20037,9 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
20045
20037
 
20046
20038
 
20047
20039
  this.runDelay('close', function () {
20048
- if (_this.$refs.content.contains(e.relatedTarget)) return;
20040
+ var _a;
20041
+
20042
+ if ((_a = _this.$refs.content) === null || _a === void 0 ? void 0 : _a.contains(e.relatedTarget)) return;
20049
20043
  requestAnimationFrame(function () {
20050
20044
  _this.isActive = false;
20051
20045
 
@@ -20669,7 +20663,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_13__["default"])(O
20669
20663
  return isNaN(width) ? this.$el.clientWidth : width;
20670
20664
  },
20671
20665
  updateMiniVariant: function updateMiniVariant(val) {
20672
- if (this.miniVariant !== val) this.$emit('update:mini-variant', val);
20666
+ if (this.expandOnHover && this.miniVariant !== val) this.$emit('update:mini-variant', val);
20673
20667
  }
20674
20668
  },
20675
20669
  render: function render(h) {
@@ -28347,7 +28341,7 @@ Object(_mixins_groupable__WEBPACK_IMPORTED_MODULE_0__["factory"])('tabsBar'), _m
28347
28341
  data.attrs = __assign(__assign({}, data.attrs), {
28348
28342
  'aria-selected': String(this.isActive),
28349
28343
  role: 'tab',
28350
- tabindex: 0
28344
+ tabindex: this.disabled ? -1 : 0
28351
28345
  });
28352
28346
  data.on = __assign(__assign({}, data.on), {
28353
28347
  keydown: function keydown(e) {
@@ -35009,7 +35003,7 @@ function () {
35009
35003
 
35010
35004
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
35011
35005
  Vuetify.installed = false;
35012
- Vuetify.version = "2.6.2";
35006
+ Vuetify.version = "2.6.3";
35013
35007
  Vuetify.config = {
35014
35008
  silent: false
35015
35009
  };
@@ -40178,7 +40172,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_s
40178
40172
  var activatorLeft = (this.attach !== false ? a.offsetLeft : a.left) || 0;
40179
40173
  var minWidth = Math.max(a.width, c.width);
40180
40174
  var left = 0;
40181
- left += this.left ? activatorLeft - (minWidth - a.width) : activatorLeft;
40175
+ left += activatorLeft;
40176
+ if (this.left || this.$vuetify.rtl && !this.right) left -= minWidth - a.width;
40182
40177
 
40183
40178
  if (this.offsetX) {
40184
40179
  var maxWidth = isNaN(Number(this.maxWidth)) ? a.width : Math.min(a.width, Number(this.maxWidth));