vuetify 2.6.2 → 2.6.5

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 (91) 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 +96 -95
  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 +4 -9
  11. package/es5/components/VDialog/VDialog.js.map +1 -1
  12. package/es5/components/VImg/VImg.js +6 -2
  13. package/es5/components/VImg/VImg.js.map +1 -1
  14. package/es5/components/VMenu/VMenu.js +4 -4
  15. package/es5/components/VMenu/VMenu.js.map +1 -1
  16. package/es5/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
  17. package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
  18. package/es5/components/VPagination/VPagination.js +2 -1
  19. package/es5/components/VPagination/VPagination.js.map +1 -1
  20. package/es5/components/VResponsive/VResponsive.js +3 -1
  21. package/es5/components/VResponsive/VResponsive.js.map +1 -1
  22. package/es5/components/VSelect/VSelect.js +53 -49
  23. package/es5/components/VSelect/VSelect.js.map +1 -1
  24. package/es5/components/VTabs/VTab.js +1 -1
  25. package/es5/components/VTabs/VTab.js.map +1 -1
  26. package/es5/components/VTooltip/VTooltip.js +1 -3
  27. package/es5/components/VTooltip/VTooltip.js.map +1 -1
  28. package/es5/components/VTreeview/VTreeview.js +1 -1
  29. package/es5/components/VTreeview/VTreeview.js.map +1 -1
  30. package/es5/framework.js +1 -1
  31. package/es5/locale/es.js +3 -3
  32. package/es5/locale/es.js.map +1 -1
  33. package/es5/locale/fi.js +5 -5
  34. package/es5/locale/fi.js.map +1 -1
  35. package/es5/mixins/menuable/index.js +2 -1
  36. package/es5/mixins/menuable/index.js.map +1 -1
  37. package/es5/mixins/selectable/index.js +6 -4
  38. package/es5/mixins/selectable/index.js.map +1 -1
  39. package/lib/components/VData/VData.js +2 -4
  40. package/lib/components/VData/VData.js.map +1 -1
  41. package/lib/components/VDialog/VDialog.js +4 -8
  42. package/lib/components/VDialog/VDialog.js.map +1 -1
  43. package/lib/components/VImg/VImg.js +5 -2
  44. package/lib/components/VImg/VImg.js.map +1 -1
  45. package/lib/components/VMenu/VMenu.js +4 -3
  46. package/lib/components/VMenu/VMenu.js.map +1 -1
  47. package/lib/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
  48. package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
  49. package/lib/components/VPagination/VPagination.js +2 -1
  50. package/lib/components/VPagination/VPagination.js.map +1 -1
  51. package/lib/components/VResponsive/VResponsive.js +2 -1
  52. package/lib/components/VResponsive/VResponsive.js.map +1 -1
  53. package/lib/components/VSelect/VSelect.js +9 -7
  54. package/lib/components/VSelect/VSelect.js.map +1 -1
  55. package/lib/components/VTabs/VTab.js +1 -1
  56. package/lib/components/VTabs/VTab.js.map +1 -1
  57. package/lib/components/VTooltip/VTooltip.js +2 -3
  58. package/lib/components/VTooltip/VTooltip.js.map +1 -1
  59. package/lib/components/VTreeview/VTreeview.js +1 -1
  60. package/lib/components/VTreeview/VTreeview.js.map +1 -1
  61. package/lib/framework.js +1 -1
  62. package/lib/locale/es.js +3 -3
  63. package/lib/locale/es.js.map +1 -1
  64. package/lib/locale/fi.js +5 -5
  65. package/lib/locale/fi.js.map +1 -1
  66. package/lib/mixins/menuable/index.js +2 -1
  67. package/lib/mixins/menuable/index.js.map +1 -1
  68. package/lib/mixins/selectable/index.js +7 -5
  69. package/lib/mixins/selectable/index.js.map +1 -1
  70. package/package.json +4 -3
  71. package/src/components/VCalendar/VCalendarCategory.sass +9 -3
  72. package/src/components/VData/VData.ts +2 -4
  73. package/src/components/VDataTable/__tests__/__snapshots__/VDataTable.spec.ts.snap +4 -4
  74. package/src/components/VDialog/VDialog.ts +3 -6
  75. package/src/components/VDialog/__tests__/__snapshots__/VDialog.spec.ts.snap +14 -32
  76. package/src/components/VImg/VImg.ts +4 -2
  77. package/src/components/VMenu/VMenu.ts +3 -5
  78. package/src/components/VNavigationDrawer/VNavigationDrawer.ts +1 -1
  79. package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +1 -1
  80. package/src/components/VPagination/VPagination.ts +2 -1
  81. package/src/components/VPagination/__tests__/VPagination.spec.ts +3 -1
  82. package/src/components/VPagination/__tests__/__snapshots__/VPagination.spec.ts.snap +3 -3
  83. package/src/components/VResponsive/VResponsive.ts +2 -1
  84. package/src/components/VSelect/VSelect.ts +6 -8
  85. package/src/components/VTabs/VTab.ts +1 -1
  86. package/src/components/VTooltip/VTooltip.ts +1 -2
  87. package/src/components/VTreeview/VTreeview.ts +6 -1
  88. package/src/locale/es.ts +3 -3
  89. package/src/locale/fi.ts +5 -5
  90. package/src/mixins/menuable/index.ts +2 -1
  91. package/src/mixins/selectable/index.ts +6 -4
@@ -113,7 +113,7 @@ export default baseMixins.extend<options>().extend(
113
113
  ...data.attrs,
114
114
  'aria-selected': String(this.isActive),
115
115
  role: 'tab',
116
- tabindex: 0,
116
+ tabindex: this.disabled ? -1 : 0,
117
117
  }
118
118
  data.on = {
119
119
  ...data.on,
@@ -6,7 +6,6 @@ import Colorable from '../../mixins/colorable'
6
6
  import Delayable from '../../mixins/delayable'
7
7
  import Dependent from '../../mixins/dependent'
8
8
  import Menuable from '../../mixins/menuable'
9
- import Toggleable from '../../mixins/toggleable'
10
9
 
11
10
  // Helpers
12
11
  import { convertToUnit, keyCodes, getSlotType } from '../../util/helpers'
@@ -17,7 +16,7 @@ import { VNode } from 'vue'
17
16
  import mixins from '../../util/mixins'
18
17
 
19
18
  /* @vue/component */
20
- export default mixins(Colorable, Delayable, Dependent, Menuable, Toggleable).extend({
19
+ export default mixins(Colorable, Delayable, Dependent, Menuable).extend({
21
20
  name: 'v-tooltip',
22
21
 
23
22
  props: {
@@ -217,7 +217,12 @@ export default mixins(
217
217
  this.buildTree(children, key)
218
218
 
219
219
  // This fixed bug with dynamic children resetting selected parent state
220
- if (!this.nodes.hasOwnProperty(key) && parent !== null && this.nodes.hasOwnProperty(parent)) {
220
+ if (
221
+ this.selectionType !== 'independent' &&
222
+ parent !== null &&
223
+ !this.nodes.hasOwnProperty(key) &&
224
+ this.nodes.hasOwnProperty(parent)
225
+ ) {
221
226
  node.isSelected = this.nodes[parent].isSelected
222
227
  } else {
223
228
  node.isSelected = oldNode.isSelected
package/src/locale/es.ts CHANGED
@@ -12,8 +12,8 @@ export default {
12
12
  sortAscending: 'Orden ascendente.',
13
13
  sortNone: 'Sin ordenar.',
14
14
  activateNone: 'Pulse para quitar orden.',
15
- activateDescending: 'Pulse para ordenar descendente.',
16
- activateAscending: 'Pulse para ordenar ascendente.',
15
+ activateDescending: 'Pulse para ordenar de forma descendente.',
16
+ activateAscending: 'Pulse para ordenar de forma ascendente.',
17
17
  },
18
18
  sortBy: 'Ordenado por',
19
19
  },
@@ -22,7 +22,7 @@ export default {
22
22
  itemsPerPageAll: 'Todos',
23
23
  nextPage: 'Página siguiente',
24
24
  prevPage: 'Página anterior',
25
- firstPage: 'Primer página',
25
+ firstPage: 'Primera página',
26
26
  lastPage: 'Última página',
27
27
  pageText: '{0}-{1} de {2}',
28
28
  },
package/src/locale/fi.ts CHANGED
@@ -55,15 +55,15 @@ export default {
55
55
  pagination: {
56
56
  ariaLabel: {
57
57
  wrapper: 'Pagination Navigation',
58
- next: 'Next page',
59
- previous: 'Previous page',
60
- page: 'Goto Page {0}',
61
- currentPage: 'Current Page, Page {0}',
58
+ next: 'Seuraava sivu',
59
+ previous: 'Edellinen sivu',
60
+ page: 'Mene sivulle {0}',
61
+ currentPage: 'Nykyinen sivu, Sivu {0}',
62
62
  },
63
63
  },
64
64
  rating: {
65
65
  ariaLabel: {
66
- icon: 'Rating {0} of {1}',
66
+ icon: 'Luokitus {0}/{1}',
67
67
  },
68
68
  },
69
69
  }
@@ -139,7 +139,8 @@ export default baseMixins.extend<options>().extend({
139
139
  const activatorLeft = (this.attach !== false ? a.offsetLeft : a.left) || 0
140
140
  const minWidth = Math.max(a.width, c.width)
141
141
  let left = 0
142
- left += this.left ? activatorLeft - (minWidth - a.width) : activatorLeft
142
+ left += activatorLeft
143
+ if (this.left || (this.$vuetify.rtl && !this.right)) left -= (minWidth - a.width)
143
144
  if (this.offsetX) {
144
145
  const maxWidth = isNaN(Number(this.maxWidth))
145
146
  ? a.width
@@ -125,9 +125,6 @@ export default mixins(
125
125
  ref: 'input',
126
126
  })
127
127
  },
128
- onBlur () {
129
- this.isFocused = false
130
- },
131
128
  onClick (e: Event) {
132
129
  this.onChange()
133
130
  this.$emit('click', e)
@@ -162,8 +159,13 @@ export default mixins(
162
159
  this.internalValue = input
163
160
  this.hasColor = input
164
161
  },
165
- onFocus () {
162
+ onFocus (e: FocusEvent) {
166
163
  this.isFocused = true
164
+ this.$emit('focus', e)
165
+ },
166
+ onBlur (e: FocusEvent) {
167
+ this.isFocused = false
168
+ this.$emit('blur', e)
167
169
  },
168
170
  /** @abstract */
169
171
  onKeydown (e: Event) {},