@vuetify/nightly 2.6.2-master-20211224.0 → 2.6.3-master-20220117.0

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 (58) hide show
  1. package/dist/json/attributes.json +8 -0
  2. package/dist/json/tags.json +2 -0
  3. package/dist/json/web-types.json +29 -7
  4. package/dist/vuetify.js +41 -28
  5. package/dist/vuetify.js.map +1 -1
  6. package/dist/vuetify.min.css +1 -1
  7. package/dist/vuetify.min.js +2 -2
  8. package/es5/components/VCombobox/VCombobox.js +1 -1
  9. package/es5/components/VCombobox/VCombobox.js.map +1 -1
  10. package/es5/components/VMenu/VMenu.js +3 -5
  11. package/es5/components/VMenu/VMenu.js.map +1 -1
  12. package/es5/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
  13. package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
  14. package/es5/components/VOtpInput/VOtpInput.js +2 -0
  15. package/es5/components/VOtpInput/VOtpInput.js.map +1 -1
  16. package/es5/components/VSlideGroup/VSlideGroup.js +2 -0
  17. package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
  18. package/es5/components/VTooltip/VTooltip.js +14 -8
  19. package/es5/components/VTooltip/VTooltip.js.map +1 -1
  20. package/es5/framework.js +1 -1
  21. package/es5/mixins/activatable/index.js +6 -2
  22. package/es5/mixins/activatable/index.js.map +1 -1
  23. package/es5/mixins/menuable/index.js +9 -8
  24. package/es5/mixins/menuable/index.js.map +1 -1
  25. package/es5/mixins/routable/index.js +2 -2
  26. package/es5/mixins/routable/index.js.map +1 -1
  27. package/lib/components/VCombobox/VCombobox.js +1 -1
  28. package/lib/components/VCombobox/VCombobox.js.map +1 -1
  29. package/lib/components/VMenu/VMenu.js +3 -5
  30. package/lib/components/VMenu/VMenu.js.map +1 -1
  31. package/lib/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
  32. package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
  33. package/lib/components/VOtpInput/VOtpInput.js +2 -0
  34. package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
  35. package/lib/components/VSlideGroup/VSlideGroup.js +3 -1
  36. package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
  37. package/lib/components/VTooltip/VTooltip.js +14 -8
  38. package/lib/components/VTooltip/VTooltip.js.map +1 -1
  39. package/lib/framework.js +1 -1
  40. package/lib/mixins/activatable/index.js +6 -2
  41. package/lib/mixins/activatable/index.js.map +1 -1
  42. package/lib/mixins/menuable/index.js +9 -8
  43. package/lib/mixins/menuable/index.js.map +1 -1
  44. package/lib/mixins/routable/index.js +2 -2
  45. package/lib/mixins/routable/index.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/components/VCombobox/VCombobox.ts +1 -1
  48. package/src/components/VCombobox/__tests__/VCombobox.spec.ts +2 -2
  49. package/src/components/VMenu/VMenu.ts +1 -5
  50. package/src/components/VNavigationDrawer/VNavigationDrawer.ts +1 -1
  51. package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +1 -1
  52. package/src/components/VOtpInput/VOtpInput.ts +2 -0
  53. package/src/components/VSlideGroup/VSlideGroup.ts +5 -1
  54. package/src/components/VTooltip/VTooltip.ts +14 -7
  55. package/src/mixins/activatable/__tests__/__snapshots__/activatable.spec.ts.snap +1 -2
  56. package/src/mixins/activatable/index.ts +6 -2
  57. package/src/mixins/menuable/index.ts +8 -7
  58. package/src/mixins/routable/index.ts +2 -2
@@ -947,6 +947,10 @@
947
947
  "type": "number|string",
948
948
  "description": "Milliseconds to wait before opening component."
949
949
  },
950
+ "v-bottom-sheet/open-on-click": {
951
+ "type": "boolean",
952
+ "description": ""
953
+ },
950
954
  "v-bottom-sheet/open-on-focus": {
951
955
  "type": "boolean",
952
956
  "description": ""
@@ -3595,6 +3599,10 @@
3595
3599
  "type": "number|string",
3596
3600
  "description": "Milliseconds to wait before opening component."
3597
3601
  },
3602
+ "v-dialog/open-on-click": {
3603
+ "type": "boolean",
3604
+ "description": ""
3605
+ },
3598
3606
  "v-dialog/open-on-focus": {
3599
3607
  "type": "boolean",
3600
3608
  "description": ""
@@ -286,6 +286,7 @@
286
286
  "max-width",
287
287
  "no-click-animation",
288
288
  "open-delay",
289
+ "open-on-click",
289
290
  "open-on-focus",
290
291
  "open-on-hover",
291
292
  "origin",
@@ -1103,6 +1104,7 @@
1103
1104
  "max-width",
1104
1105
  "no-click-animation",
1105
1106
  "open-delay",
1107
+ "open-on-click",
1106
1108
  "open-on-focus",
1107
1109
  "open-on-hover",
1108
1110
  "origin",
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "vuetify",
5
- "version": "2.6.2-master-20211224.0",
5
+ "version": "2.6.3-master-20220117.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -3309,6 +3309,17 @@
3309
3309
  ]
3310
3310
  }
3311
3311
  },
3312
+ {
3313
+ "name": "open-on-click",
3314
+ "description": "",
3315
+ "doc-url": "https://www.vuetifyjs.com/api/v-bottom-sheet#props",
3316
+ "default": "true",
3317
+ "value": {
3318
+ "kind": "expression",
3319
+ "type": "boolean"
3320
+ },
3321
+ "type": "boolean"
3322
+ },
3312
3323
  {
3313
3324
  "name": "open-on-focus",
3314
3325
  "description": "",
@@ -5129,7 +5140,7 @@
5129
5140
  "name": "start",
5130
5141
  "description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
5131
5142
  "doc-url": "https://www.vuetifyjs.com/api/v-calendar#props",
5132
- "default": "2021-12-24",
5143
+ "default": "2022-01-17",
5133
5144
  "value": {
5134
5145
  "kind": "expression",
5135
5146
  "type": [
@@ -6758,7 +6769,7 @@
6758
6769
  "name": "start",
6759
6770
  "description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
6760
6771
  "doc-url": "https://www.vuetifyjs.com/api/v-calendar-daily#props",
6761
- "default": "2021-12-24",
6772
+ "default": "2022-01-17",
6762
6773
  "value": {
6763
6774
  "kind": "expression",
6764
6775
  "type": [
@@ -6976,7 +6987,7 @@
6976
6987
  "name": "start",
6977
6988
  "description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
6978
6989
  "doc-url": "https://www.vuetifyjs.com/api/v-calendar-weekly#props",
6979
- "default": "2021-12-24",
6990
+ "default": "2022-01-17",
6980
6991
  "value": {
6981
6992
  "kind": "expression",
6982
6993
  "type": [
@@ -7194,7 +7205,7 @@
7194
7205
  "name": "start",
7195
7206
  "description": "The starting date on the calendar (inclusive) in the format of `YYYY-MM-DD`. This may be ignored depending on the `type` of the calendar.",
7196
7207
  "doc-url": "https://www.vuetifyjs.com/api/v-calendar-monthly#props",
7197
- "default": "2021-12-24",
7208
+ "default": "2022-01-17",
7198
7209
  "value": {
7199
7210
  "kind": "expression",
7200
7211
  "type": [
@@ -14695,6 +14706,17 @@
14695
14706
  ]
14696
14707
  }
14697
14708
  },
14709
+ {
14710
+ "name": "open-on-click",
14711
+ "description": "",
14712
+ "doc-url": "https://www.vuetifyjs.com/api/v-dialog#props",
14713
+ "default": "true",
14714
+ "value": {
14715
+ "kind": "expression",
14716
+ "type": "boolean"
14717
+ },
14718
+ "type": "boolean"
14719
+ },
14698
14720
  {
14699
14721
  "name": "open-on-focus",
14700
14722
  "description": "",
@@ -32938,7 +32960,7 @@
32938
32960
  "name": "open-on-click",
32939
32961
  "description": "Designates whether the tooltip should open on activator click",
32940
32962
  "doc-url": "https://www.vuetifyjs.com/api/v-tooltip#props",
32941
- "default": "false",
32963
+ "default": "true",
32942
32964
  "value": {
32943
32965
  "kind": "expression",
32944
32966
  "type": "boolean"
@@ -32949,7 +32971,7 @@
32949
32971
  "name": "open-on-focus",
32950
32972
  "description": "",
32951
32973
  "doc-url": "https://www.vuetifyjs.com/api/v-tooltip#props",
32952
- "default": "false",
32974
+ "default": "true",
32953
32975
  "value": {
32954
32976
  "kind": "expression",
32955
32977
  "type": "boolean"
package/dist/vuetify.js CHANGED
@@ -9288,7 +9288,7 @@ var __assign = undefined && undefined.__assign || function () {
9288
9288
  }
9289
9289
  },
9290
9290
  setValue: function setValue(value) {
9291
- _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.setValue.call(this, value !== null && value !== void 0 ? value : this.internalSearch);
9291
+ _VSelect_VSelect__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.setValue.call(this, value === undefined ? this.internalSearch : value);
9292
9292
  },
9293
9293
  updateEditing: function updateEditing() {
9294
9294
  var _this = this;
@@ -19747,10 +19747,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
19747
19747
  },
19748
19748
  offsetX: Boolean,
19749
19749
  offsetY: Boolean,
19750
- openOnClick: {
19751
- type: Boolean,
19752
- default: true
19753
- },
19754
19750
  openOnHover: Boolean,
19755
19751
  origin: {
19756
19752
  type: String,
@@ -20049,7 +20045,9 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
20049
20045
 
20050
20046
 
20051
20047
  this.runDelay('close', function () {
20052
- if (_this.$refs.content.contains(e.relatedTarget)) return;
20048
+ var _a;
20049
+
20050
+ if ((_a = _this.$refs.content) === null || _a === void 0 ? void 0 : _a.contains(e.relatedTarget)) return;
20053
20051
  requestAnimationFrame(function () {
20054
20052
  _this.isActive = false;
20055
20053
 
@@ -20673,7 +20671,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_13__["default"])(O
20673
20671
  return isNaN(width) ? this.$el.clientWidth : width;
20674
20672
  },
20675
20673
  updateMiniVariant: function updateMiniVariant(val) {
20676
- if (this.miniVariant !== val) this.$emit('update:mini-variant', val);
20674
+ if (this.expandOnHover && this.miniVariant !== val) this.$emit('update:mini-variant', val);
20677
20675
  }
20678
20676
  },
20679
20677
  render: function render(h) {
@@ -20847,6 +20845,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
20847
20845
  isFocused: 'updateValue',
20848
20846
  value: function value(val) {
20849
20847
  this.lazyValue = val;
20848
+ this.otp = (val === null || val === void 0 ? void 0 : val.split('')) || [];
20850
20849
  }
20851
20850
  },
20852
20851
  created: function created() {
@@ -21068,6 +21067,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"])(_V
21068
21067
  }
21069
21068
 
21070
21069
  this.otp = newOtp;
21070
+ this.internalValue = this.otp.join('');
21071
21071
  var targetFocus = Math.min(index + inputDataArray.length, maxCursor);
21072
21072
  this.changeFocus(targetFocus);
21073
21073
 
@@ -25439,7 +25439,9 @@ var BaseSlideGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_7__["default"]
25439
25439
  // and need to be recalculated
25440
25440
  isOverflowing: 'setWidths',
25441
25441
  scrollOffset: function scrollOffset(val) {
25442
+ if (this.$vuetify.rtl) val = -val;
25442
25443
  var scroll = val <= 0 ? bias(-val) : val > this.widths.content - this.widths.wrapper ? -(this.widths.content - this.widths.wrapper) + bias(this.widths.content - this.widths.wrapper - val) : -val;
25444
+ if (this.$vuetify.rtl) scroll = -scroll;
25443
25445
  this.$refs.content.style.transform = "translateX(" + scroll + "px)";
25444
25446
  }
25445
25447
  },
@@ -31212,6 +31214,10 @@ __webpack_require__.r(__webpack_exports__);
31212
31214
  type: Boolean,
31213
31215
  default: true
31214
31216
  },
31217
+ openOnFocus: {
31218
+ type: Boolean,
31219
+ default: true
31220
+ },
31215
31221
  tag: {
31216
31222
  type: String,
31217
31223
  default: 'span'
@@ -31318,17 +31324,19 @@ __webpack_require__.r(__webpack_exports__);
31318
31324
 
31319
31325
  var listeners = _mixins_activatable__WEBPACK_IMPORTED_MODULE_1__["default"].options.methods.genActivatorListeners.call(this);
31320
31326
 
31321
- listeners.focus = function (e) {
31322
- _this.getActivator(e);
31327
+ if (this.openOnFocus) {
31328
+ listeners.focus = function (e) {
31329
+ _this.getActivator(e);
31323
31330
 
31324
- _this.runDelay('open');
31325
- };
31331
+ _this.runDelay('open');
31332
+ };
31326
31333
 
31327
- listeners.blur = function (e) {
31328
- _this.getActivator(e);
31334
+ listeners.blur = function (e) {
31335
+ _this.getActivator(e);
31329
31336
 
31330
- _this.runDelay('close');
31331
- };
31337
+ _this.runDelay('close');
31338
+ };
31339
+ }
31332
31340
 
31333
31341
  listeners.keydown = function (e) {
31334
31342
  if (e.keyCode === _util_helpers__WEBPACK_IMPORTED_MODULE_7__["keyCodes"].esc) {
@@ -35003,7 +35011,7 @@ function () {
35003
35011
 
35004
35012
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
35005
35013
  Vuetify.installed = false;
35006
- Vuetify.version = "2.6.2-master-20211224.0";
35014
+ Vuetify.version = "2.6.3-master-20220117.0";
35007
35015
  Vuetify.config = {
35008
35016
  silent: false
35009
35017
  };
@@ -38787,6 +38795,10 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
38787
38795
  },
38788
38796
  disabled: Boolean,
38789
38797
  internalActivator: Boolean,
38798
+ openOnClick: {
38799
+ type: Boolean,
38800
+ default: true
38801
+ },
38790
38802
  openOnHover: Boolean,
38791
38803
  openOnFocus: Boolean
38792
38804
  },
@@ -38851,7 +38863,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
38851
38863
  },
38852
38864
  genActivatorAttributes: function genActivatorAttributes() {
38853
38865
  return {
38854
- role: 'button',
38866
+ role: this.openOnClick && !this.openOnHover ? 'button' : undefined,
38855
38867
  'aria-haspopup': true,
38856
38868
  'aria-expanded': String(this.isActive)
38857
38869
  };
@@ -38874,7 +38886,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
38874
38886
 
38875
38887
  _this.runDelay('close');
38876
38888
  };
38877
- } else {
38889
+ } else if (this.openOnClick) {
38878
38890
  listeners.click = function (e) {
38879
38891
  var activator = _this.getActivator(e);
38880
38892
 
@@ -40107,7 +40119,6 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_s
40107
40119
  default: 0
40108
40120
  },
40109
40121
  offsetOverflow: Boolean,
40110
- openOnClick: Boolean,
40111
40122
  positionX: {
40112
40123
  type: Number,
40113
40124
  default: null
@@ -40309,14 +40320,16 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__["default"])(_s
40309
40320
  var listeners = _activatable__WEBPACK_IMPORTED_MODULE_2__["default"].options.methods.genActivatorListeners.call(this);
40310
40321
  var onClick = listeners.click;
40311
40322
 
40312
- listeners.click = function (e) {
40313
- if (_this.openOnClick) {
40314
- onClick && onClick(e);
40315
- }
40323
+ if (onClick) {
40324
+ listeners.click = function (e) {
40325
+ if (_this.openOnClick) {
40326
+ onClick && onClick(e);
40327
+ }
40316
40328
 
40317
- _this.absoluteX = e.clientX;
40318
- _this.absoluteY = e.clientY;
40319
- };
40329
+ _this.absoluteX = e.clientX;
40330
+ _this.absoluteY = e.clientY;
40331
+ };
40332
+ }
40320
40333
 
40321
40334
  return listeners;
40322
40335
  },
@@ -41349,8 +41362,8 @@ var __assign = undefined && undefined.__assign || function () {
41349
41362
  var _this = this;
41350
41363
 
41351
41364
  if (!this.to || !this.$refs.link || !this.$route) return;
41352
- var activeClass = (this.activeClass + " " + (this.proxyClass || '')).trim();
41353
- var exactActiveClass = (this.exactActiveClass + " " + (this.proxyClass || '')).trim() || activeClass;
41365
+ var activeClass = ((this.activeClass || '') + " " + (this.proxyClass || '')).trim();
41366
+ var exactActiveClass = ((this.exactActiveClass || '') + " " + (this.proxyClass || '')).trim() || activeClass;
41354
41367
  var path = '_vnode.data.class.' + (this.exact ? exactActiveClass : activeClass);
41355
41368
  this.$nextTick(function () {
41356
41369
  /* istanbul ignore else */