@dimailn/vuetify 2.7.2-alpha25 → 2.7.2-alpha26

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 (202) hide show
  1. package/dist/vuetify.js +348 -164
  2. package/dist/vuetify.js.map +1 -1
  3. package/dist/vuetify.min.css +1 -1
  4. package/dist/vuetify.min.js +2 -2
  5. package/es5/components/VAppBar/VAppBarNavIcon.js +5 -1
  6. package/es5/components/VAppBar/VAppBarNavIcon.js.map +1 -1
  7. package/es5/components/VBanner/VBanner.js +15 -6
  8. package/es5/components/VBanner/VBanner.js.map +1 -1
  9. package/es5/components/VBreadcrumbs/VBreadcrumbs.js +18 -6
  10. package/es5/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
  11. package/es5/components/VBtn/VBtn.js +5 -1
  12. package/es5/components/VBtn/VBtn.js.map +1 -1
  13. package/es5/components/VCarousel/VCarousel.js +10 -4
  14. package/es5/components/VCarousel/VCarousel.js.map +1 -1
  15. package/es5/components/VCarousel/VCarouselItem.js +7 -3
  16. package/es5/components/VCarousel/VCarouselItem.js.map +1 -1
  17. package/es5/components/VCheckbox/VCheckbox.js +5 -1
  18. package/es5/components/VCheckbox/VCheckbox.js.map +1 -1
  19. package/es5/components/VDataIterator/VDataFooter.js +5 -1
  20. package/es5/components/VDataIterator/VDataFooter.js.map +1 -1
  21. package/es5/components/VDataTable/VDataTable.js +21 -7
  22. package/es5/components/VDataTable/VDataTable.js.map +1 -1
  23. package/es5/components/VDataTable/VDataTableHeader.js +2 -6
  24. package/es5/components/VDataTable/VDataTableHeader.js.map +1 -1
  25. package/es5/components/VDataTable/VEditDialog.js +6 -2
  26. package/es5/components/VDataTable/VEditDialog.js.map +1 -1
  27. package/es5/components/VDataTable/mixins/header.js +5 -1
  28. package/es5/components/VDataTable/mixins/header.js.map +1 -1
  29. package/es5/components/VDatePicker/VDatePickerHeader.js +8 -2
  30. package/es5/components/VDatePicker/VDatePickerHeader.js.map +1 -1
  31. package/es5/components/VDatePicker/VDatePickerTitle.js +13 -5
  32. package/es5/components/VDatePicker/VDatePickerTitle.js.map +1 -1
  33. package/es5/components/VDatePicker/mixins/date-picker-table.js +5 -3
  34. package/es5/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
  35. package/es5/components/VDialog/VDialog.js +16 -12
  36. package/es5/components/VDialog/VDialog.js.map +1 -1
  37. package/es5/components/VExpansionPanel/VExpansionPanelContent.js +11 -9
  38. package/es5/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
  39. package/es5/components/VExpansionPanel/VExpansionPanelHeader.js +15 -9
  40. package/es5/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
  41. package/es5/components/VImg/VImg.js +6 -2
  42. package/es5/components/VImg/VImg.js.map +1 -1
  43. package/es5/components/VInput/VInput.js +10 -4
  44. package/es5/components/VInput/VInput.js.map +1 -1
  45. package/es5/components/VList/VListGroup.js +27 -9
  46. package/es5/components/VList/VListGroup.js.map +1 -1
  47. package/es5/components/VList/VListItem.js +5 -1
  48. package/es5/components/VList/VListItem.js.map +1 -1
  49. package/es5/components/VMessages/VMessages.js +5 -1
  50. package/es5/components/VMessages/VMessages.js.map +1 -1
  51. package/es5/components/VOverflowBtn/VOverflowBtn.js +3 -1
  52. package/es5/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
  53. package/es5/components/VPagination/VPagination.js +3 -1
  54. package/es5/components/VPagination/VPagination.js.map +1 -1
  55. package/es5/components/VPicker/VPicker.js +5 -1
  56. package/es5/components/VPicker/VPicker.js.map +1 -1
  57. package/es5/components/VRadioGroup/VRadio.js +10 -2
  58. package/es5/components/VRadioGroup/VRadio.js.map +1 -1
  59. package/es5/components/VSelect/VSelect.js +6 -2
  60. package/es5/components/VSelect/VSelect.js.map +1 -1
  61. package/es5/components/VSelect/VSelectList.js +17 -9
  62. package/es5/components/VSelect/VSelectList.js.map +1 -1
  63. package/es5/components/VSlideGroup/VSlideGroup.js +26 -18
  64. package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
  65. package/es5/components/VSlider/VSlider.js +16 -12
  66. package/es5/components/VSlider/VSlider.js.map +1 -1
  67. package/es5/components/VStepper/VStepperContent.js +3 -1
  68. package/es5/components/VStepper/VStepperContent.js.map +1 -1
  69. package/es5/components/VSwitch/VSwitch.js +10 -6
  70. package/es5/components/VSwitch/VSwitch.js.map +1 -1
  71. package/es5/components/VTabs/VTabs.js +6 -2
  72. package/es5/components/VTabs/VTabs.js.map +1 -1
  73. package/es5/components/VTextField/VTextField.js +7 -3
  74. package/es5/components/VTextField/VTextField.js.map +1 -1
  75. package/es5/components/VTooltip/VTooltip.js +3 -1
  76. package/es5/components/VTooltip/VTooltip.js.map +1 -1
  77. package/es5/components/VTreeview/VTreeviewNode.js +11 -3
  78. package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
  79. package/es5/components/transitions/createTransition.js +8 -2
  80. package/es5/components/transitions/createTransition.js.map +1 -1
  81. package/es5/framework.js +1 -1
  82. package/es5/mixins/picker/index.js +13 -3
  83. package/es5/mixins/picker/index.js.map +1 -1
  84. package/lib/components/VAppBar/VAppBarNavIcon.js +1 -1
  85. package/lib/components/VAppBar/VAppBarNavIcon.js.map +1 -1
  86. package/lib/components/VBanner/VBanner.js +3 -3
  87. package/lib/components/VBanner/VBanner.js.map +1 -1
  88. package/lib/components/VBreadcrumbs/VBreadcrumbs.js +2 -2
  89. package/lib/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
  90. package/lib/components/VBtn/VBtn.js +3 -1
  91. package/lib/components/VBtn/VBtn.js.map +1 -1
  92. package/lib/components/VCarousel/VCarousel.js +3 -3
  93. package/lib/components/VCarousel/VCarousel.js.map +1 -1
  94. package/lib/components/VCarousel/VCarouselItem.js +1 -1
  95. package/lib/components/VCarousel/VCarouselItem.js.map +1 -1
  96. package/lib/components/VCheckbox/VCheckbox.js +1 -1
  97. package/lib/components/VCheckbox/VCheckbox.js.map +1 -1
  98. package/lib/components/VDataIterator/VDataFooter.js +1 -1
  99. package/lib/components/VDataIterator/VDataFooter.js.map +1 -1
  100. package/lib/components/VDataTable/VDataTable.js +5 -5
  101. package/lib/components/VDataTable/VDataTable.js.map +1 -1
  102. package/lib/components/VDataTable/VDataTableHeader.js +3 -6
  103. package/lib/components/VDataTable/VDataTableHeader.js.map +1 -1
  104. package/lib/components/VDataTable/VEditDialog.js +2 -2
  105. package/lib/components/VDataTable/VEditDialog.js.map +1 -1
  106. package/lib/components/VDataTable/mixins/header.js +1 -1
  107. package/lib/components/VDataTable/mixins/header.js.map +1 -1
  108. package/lib/components/VDatePicker/VDatePickerHeader.js +2 -2
  109. package/lib/components/VDatePicker/VDatePickerHeader.js.map +1 -1
  110. package/lib/components/VDatePicker/VDatePickerTitle.js +2 -2
  111. package/lib/components/VDatePicker/VDatePickerTitle.js.map +1 -1
  112. package/lib/components/VDatePicker/mixins/date-picker-table.js +1 -1
  113. package/lib/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
  114. package/lib/components/VDialog/VDialog.js +2 -2
  115. package/lib/components/VDialog/VDialog.js.map +1 -1
  116. package/lib/components/VExpansionPanel/VExpansionPanelContent.js +1 -1
  117. package/lib/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
  118. package/lib/components/VExpansionPanel/VExpansionPanelHeader.js +2 -2
  119. package/lib/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
  120. package/lib/components/VImg/VImg.js +2 -2
  121. package/lib/components/VImg/VImg.js.map +1 -1
  122. package/lib/components/VInput/VInput.js +2 -2
  123. package/lib/components/VInput/VInput.js.map +1 -1
  124. package/lib/components/VList/VListGroup.js +5 -5
  125. package/lib/components/VList/VListGroup.js.map +1 -1
  126. package/lib/components/VList/VListItem.js +3 -1
  127. package/lib/components/VList/VListItem.js.map +1 -1
  128. package/lib/components/VMessages/VMessages.js +1 -1
  129. package/lib/components/VMessages/VMessages.js.map +1 -1
  130. package/lib/components/VOverflowBtn/VOverflowBtn.js +1 -1
  131. package/lib/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
  132. package/lib/components/VPagination/VPagination.js +1 -1
  133. package/lib/components/VPagination/VPagination.js.map +1 -1
  134. package/lib/components/VPicker/VPicker.js +1 -1
  135. package/lib/components/VPicker/VPicker.js.map +1 -1
  136. package/lib/components/VRadioGroup/VRadio.js +2 -2
  137. package/lib/components/VRadioGroup/VRadio.js.map +1 -1
  138. package/lib/components/VSelect/VSelect.js +2 -2
  139. package/lib/components/VSelect/VSelect.js.map +1 -1
  140. package/lib/components/VSelect/VSelectList.js +2 -2
  141. package/lib/components/VSelect/VSelectList.js.map +1 -1
  142. package/lib/components/VSlideGroup/VSlideGroup.js +3 -3
  143. package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
  144. package/lib/components/VSlider/VSlider.js +1 -1
  145. package/lib/components/VSlider/VSlider.js.map +1 -1
  146. package/lib/components/VStepper/VStepperContent.js +1 -1
  147. package/lib/components/VStepper/VStepperContent.js.map +1 -1
  148. package/lib/components/VSwitch/VSwitch.js +1 -1
  149. package/lib/components/VSwitch/VSwitch.js.map +1 -1
  150. package/lib/components/VTabs/VTabs.js +2 -2
  151. package/lib/components/VTabs/VTabs.js.map +1 -1
  152. package/lib/components/VTextField/VTextField.js +1 -1
  153. package/lib/components/VTextField/VTextField.js.map +1 -1
  154. package/lib/components/VTooltip/VTooltip.js +1 -1
  155. package/lib/components/VTooltip/VTooltip.js.map +1 -1
  156. package/lib/components/VTreeview/VTreeviewNode.js +3 -3
  157. package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
  158. package/lib/components/transitions/createTransition.js +2 -2
  159. package/lib/components/transitions/createTransition.js.map +1 -1
  160. package/lib/framework.js +1 -1
  161. package/lib/mixins/picker/index.js +5 -3
  162. package/lib/mixins/picker/index.js.map +1 -1
  163. package/package.json +1 -1
  164. package/src/components/VAppBar/VAppBarNavIcon.ts +1 -1
  165. package/src/components/VBanner/VBanner.ts +3 -3
  166. package/src/components/VBreadcrumbs/VBreadcrumbs.ts +2 -2
  167. package/src/components/VBtn/VBtn.ts +7 -1
  168. package/src/components/VCarousel/VCarousel.ts +3 -3
  169. package/src/components/VCarousel/VCarouselItem.ts +1 -1
  170. package/src/components/VCheckbox/VCheckbox.ts +1 -1
  171. package/src/components/VDataIterator/VDataFooter.ts +1 -1
  172. package/src/components/VDataTable/VDataTable.ts +5 -5
  173. package/src/components/VDataTable/VDataTableHeader.ts +2 -4
  174. package/src/components/VDataTable/VEditDialog.ts +2 -2
  175. package/src/components/VDataTable/mixins/header.ts +1 -1
  176. package/src/components/VDatePicker/VDatePickerHeader.ts +3 -3
  177. package/src/components/VDatePicker/VDatePickerTitle.ts +2 -2
  178. package/src/components/VDatePicker/mixins/date-picker-table.ts +1 -1
  179. package/src/components/VDialog/VDialog.ts +2 -2
  180. package/src/components/VExpansionPanel/VExpansionPanelContent.ts +1 -1
  181. package/src/components/VExpansionPanel/VExpansionPanelHeader.ts +2 -2
  182. package/src/components/VImg/VImg.ts +2 -2
  183. package/src/components/VInput/VInput.ts +2 -2
  184. package/src/components/VList/VListGroup.ts +5 -5
  185. package/src/components/VList/VListItem.ts +7 -4
  186. package/src/components/VMessages/VMessages.ts +1 -1
  187. package/src/components/VOverflowBtn/VOverflowBtn.ts +1 -1
  188. package/src/components/VPagination/VPagination.ts +1 -1
  189. package/src/components/VPicker/VPicker.ts +1 -1
  190. package/src/components/VRadioGroup/VRadio.ts +2 -2
  191. package/src/components/VSelect/VSelect.ts +2 -2
  192. package/src/components/VSelect/VSelectList.ts +3 -3
  193. package/src/components/VSlideGroup/VSlideGroup.ts +3 -3
  194. package/src/components/VSlider/VSlider.ts +1 -1
  195. package/src/components/VStepper/VStepperContent.ts +1 -1
  196. package/src/components/VSwitch/VSwitch.ts +1 -1
  197. package/src/components/VTabs/VTabs.ts +2 -2
  198. package/src/components/VTextField/VTextField.ts +1 -1
  199. package/src/components/VTooltip/VTooltip.ts +1 -1
  200. package/src/components/VTreeview/VTreeviewNode.ts +3 -3
  201. package/src/components/transitions/createTransition.ts +2 -2
  202. package/src/mixins/picker/index.ts +4 -4
@@ -404,7 +404,7 @@ export default mixins(
404
404
  icon: true,
405
405
  small: true,
406
406
  onClick: toggleFn
407
- }, [h(VIcon, [isOpen ? '$minus' : '$plus'])])
407
+ }, () => [h(VIcon, {}, () => [isOpen ? '$minus' : '$plus'])])
408
408
 
409
409
  const remove = h(VBtn, {
410
410
  class: 'ma-0',
@@ -415,7 +415,7 @@ export default mixins(
415
415
  on: {
416
416
  click: removeFn,
417
417
  },
418
- }, [h(VIcon, ['$close'])])
418
+ }, () => [h(VIcon, {}, () => ['$close'])])
419
419
 
420
420
  const column = h('td', {
421
421
  class: 'text-start',
@@ -528,7 +528,7 @@ export default mixins(
528
528
  e.stopPropagation()
529
529
  data.expand(!data.isExpanded)
530
530
  }
531
- }, [this.expandIcon])
531
+ }, () => [this.expandIcon])
532
532
  }
533
533
 
534
534
  return h(this.isMobile ? MobileRow : Row, {
@@ -634,11 +634,11 @@ export default mixins(
634
634
  this.genBody(props),
635
635
  this.genFoot(props),
636
636
  ],
637
- top: getSlot(this, 'top', {
637
+ top: () => getSlot(this, 'top', {
638
638
  ...props,
639
639
  isMobile: this.isMobile,
640
640
  }, true),
641
- bottom: this.genFooters(props)
641
+ bottom: () => this.genFooters(props)
642
642
  })
643
643
  }
644
644
  },
@@ -33,12 +33,10 @@ export default defineComponent({
33
33
  }
34
34
 
35
35
  // dedupeModelListeners(data)
36
- const children = rebuildSlots(this.$slots, h)
37
-
38
36
  if (props.mobile) {
39
- return h(VDataTableHeaderMobile, data, children)
37
+ return h(VDataTableHeaderMobile, data, this.$slots)
40
38
  } else {
41
- return h(VDataTableHeaderDesktop, data, children)
39
+ return h(VDataTableHeaderDesktop, data, this.$slots)
42
40
  }
43
41
  },
44
42
  })
@@ -69,7 +69,7 @@ export default mixins(Returnable, Themeable).extend({
69
69
  color: 'primary',
70
70
  light: true,
71
71
  onClick: fn,
72
- }, text)
72
+ }, () => text)
73
73
  },
74
74
  genActions (): VNode {
75
75
  return h('div', {
@@ -123,7 +123,7 @@ export default mixins(Returnable, Themeable).extend({
123
123
  ])
124
124
  },
125
125
  },
126
- }, [
126
+ }, () => [
127
127
  this.genContent(),
128
128
  this.large ? this.genActions() : null,
129
129
  ])
@@ -72,7 +72,7 @@ export default mixins<HeaderOptions>().extend({
72
72
  return h(VIcon, {
73
73
  class: 'v-data-table-header__icon',
74
74
  size: 18,
75
- }, [this.sortIcon])
75
+ }, () => [this.sortIcon])
76
76
  },
77
77
  },
78
78
  })
@@ -90,8 +90,8 @@ export default mixins(
90
90
  e.stopPropagation()
91
91
  this.$emit('input', this.calculateChange(change))
92
92
  }
93
- }, [
94
- h(VIcon, ((change < 0) === !this.$vuetify.rtl) ? this.prevIcon : this.nextIcon),
93
+ }, () => [
94
+ h(VIcon, {}, () => (((change < 0) === !this.$vuetify.rtl) ? this.prevIcon : this.nextIcon)),
95
95
  ])
96
96
  },
97
97
  calculateChange (sign: number) {
@@ -114,7 +114,7 @@ export default mixins(
114
114
 
115
115
  const transition = h(Transition, {
116
116
  name: (this.isReversing === !this.$vuetify.rtl) ? 'tab-reverse-transition' : 'tab-transition',
117
- }, [header])
117
+ }, () => [header])
118
118
 
119
119
  return h('div', {
120
120
  class: ['v-date-picker-header__value', {
@@ -59,7 +59,7 @@ export default mixins(
59
59
  genYearIcon (): VNode {
60
60
  return h(VIcon, {
61
61
  dark: true,
62
- }, this.yearIcon)
62
+ }, () => this.yearIcon)
63
63
  },
64
64
  getYearBtn (): VNode {
65
65
  return this.genPickerButton('selectingYear', true, [
@@ -70,7 +70,7 @@ export default mixins(
70
70
  genTitleText (): VNode {
71
71
  return h(Transition, {
72
72
  name: this.computedTransition,
73
- }, [
73
+ }, () => [
74
74
  h('div', {
75
75
  innerHTML: this.date || '&nbsp;',
76
76
  key: this.value
@@ -213,7 +213,7 @@ export default mixins(
213
213
  genTable (staticClass: string, children: VNodeChildren, calculateTableDate: CalculateTableDateFunction) {
214
214
  const transition = h(Transition, {
215
215
  name: this.computedTransition,
216
- }, [h('table', { key: this.tableDate }, children)])
216
+ }, () => [h('table', { key: this.tableDate }, children)])
217
217
 
218
218
  const touchDirective = [
219
219
  Touch,
@@ -244,7 +244,7 @@ export default baseMixins.extend({
244
244
  root: true,
245
245
  light: this.light,
246
246
  dark: this.dark
247
- }, [
247
+ }, () => [
248
248
  h('div', {
249
249
  class: this.contentClasses,
250
250
  role: 'dialog',
@@ -266,7 +266,7 @@ export default baseMixins.extend({
266
266
  name: this.transition,
267
267
  origin: this.origin,
268
268
  appear: true
269
- }, [content])
269
+ }, () => [content])
270
270
  },
271
271
  genInnerContent () {
272
272
  const directives = [
@@ -60,7 +60,7 @@ export default baseMixins.extend({
60
60
  },
61
61
 
62
62
  render (): VNode {
63
- return h(VExpandTransition, this.showLazyContent(() => [
63
+ return h(VExpandTransition, {}, () => this.showLazyContent(() => [
64
64
  withDirectives(h('div', this.setBackgroundColor(this.color, {
65
65
  class: 'v-expansion-panel-content'
66
66
  }), [
@@ -83,9 +83,9 @@ export default baseMixins.extend({
83
83
  },
84
84
  genIcon () {
85
85
  const icon = getSlot(this, 'actions', { open: this.isActive }) ||
86
- [h(VIcon, this.expandIcon)]
86
+ [h(VIcon, {}, () => this.expandIcon)]
87
87
 
88
- return h(VFadeTransition, [
88
+ return h(VFadeTransition, {}, () => [
89
89
  withDirectives(h('div', {
90
90
  class: ['v-expansion-panel-header__icon', {
91
91
  'v-expansion-panel-header__icon--disable-rotate': this.disableIconRotate,
@@ -131,7 +131,7 @@ export default mixins(
131
131
  return h(Transition, {
132
132
  name: this.transition,
133
133
  mode: 'in-out',
134
- }, [image])
134
+ }, () => [image])
135
135
  },
136
136
  },
137
137
 
@@ -265,7 +265,7 @@ export default mixins(
265
265
  return h(Transition, {
266
266
  appear: true,
267
267
  name: this.transition,
268
- }, placeholder)
268
+ }, () => placeholder)
269
269
  }
270
270
  },
271
271
  },
@@ -228,7 +228,7 @@ export default baseMixins.extend({
228
228
  h(
229
229
  VIcon,
230
230
  data,
231
- icon
231
+ () => icon
232
232
  ),
233
233
  ])
234
234
  },
@@ -252,7 +252,7 @@ export default baseMixins.extend({
252
252
  focused: this.hasState,
253
253
  for: this.computedId,
254
254
  light: this.light,
255
- }, getSlot(this, 'label') || this.label)
255
+ }, () => getSlot(this, 'label') || this.label)
256
256
  },
257
257
  genMessages () {
258
258
  if (!this.showDetails) return null
@@ -122,7 +122,7 @@ export default baseMixins.extend({
122
122
  this.$nextTick(() => (this.isActive = !this.isActive))
123
123
  },
124
124
  genIcon (icon: string | false): VNode {
125
- return h(VIcon, icon)
125
+ return h(VIcon, {}, () => icon)
126
126
  },
127
127
  genAppendIcon (): VNode | null {
128
128
  const icon = !this.subGroup ? this.appendIcon : false
@@ -132,7 +132,7 @@ export default baseMixins.extend({
132
132
 
133
133
  return h(VListItemIcon, {
134
134
  class: 'v-list-group__header__append-icon',
135
- }, [
135
+ }, () => [
136
136
  slot || this.genIcon(icon),
137
137
  ])
138
138
  },
@@ -147,7 +147,7 @@ export default baseMixins.extend({
147
147
  inputValue: this.isActive,
148
148
  ...this.listeners$,
149
149
  onClick: this.click
150
- }, [
150
+ }, () => [
151
151
  this.genPrependIcon(),
152
152
  getSlot(this, 'activator'),
153
153
  this.genAppendIcon(),
@@ -178,7 +178,7 @@ export default baseMixins.extend({
178
178
 
179
179
  return h(VListItemIcon, {
180
180
  class: 'v-list-group__header__prepend-icon',
181
- }, [
181
+ }, () => [
182
182
  slot || this.genIcon(icon),
183
183
  ])
184
184
  },
@@ -211,7 +211,7 @@ export default baseMixins.extend({
211
211
  class: ['v-list-group', this.classes]
212
212
  }), [
213
213
  this.genHeader(),
214
- h(VExpandTransition, this.genItems()),
214
+ h(VExpandTransition, {}, () => this.genItems()),
215
215
  ])
216
216
  },
217
217
  })
@@ -192,9 +192,12 @@ export default baseMixins.extend({
192
192
  toggle: this.toggle,
193
193
  })
194
194
 
195
- return withDirectives(
196
- h(tag, this.isActive ? this.setTextColor(this.color, data) : data, children),
197
- directives
198
- )
195
+ const nodeData = this.isActive ? this.setTextColor(this.color, data) : data
196
+
197
+ const node = typeof tag === 'string'
198
+ ? h(tag, nodeData, children)
199
+ : h(tag, nodeData, () => children)
200
+
201
+ return withDirectives(node, directives)
199
202
  },
200
203
  })
@@ -30,7 +30,7 @@ export default mixins(Colorable, Themeable).extend({
30
30
  class: 'v-messages__wrapper',
31
31
  name: 'message-transition',
32
32
  tag: 'div',
33
- }, this.value.map(this.genMessage))
33
+ }, () => this.value.map(this.genMessage))
34
34
  },
35
35
  genMessage (message: string, key: number) {
36
36
  return h('div', {
@@ -99,7 +99,7 @@ export default defineComponent({
99
99
  itemObj.callback(e)
100
100
  },
101
101
  },
102
- }, [itemObj.text])
102
+ }, () => [itemObj.text])
103
103
  },
104
104
  updateValue (val: boolean) {
105
105
  if (val) {
@@ -197,7 +197,7 @@ export default mixins(
197
197
  'aria-label': label,
198
198
  ...(disabled ? {} : { onClick: fn }),
199
199
  }),
200
- [h(VIcon, { color: this.navigationTextColor }, [icon])]
200
+ [h(VIcon, { color: this.navigationTextColor }, () => [icon])]
201
201
  ),
202
202
  ])
203
203
  },
@@ -55,7 +55,7 @@ export default mixins(
55
55
  genBodyTransition () {
56
56
  return h(Transition, {
57
57
  name: this.transition,
58
- }, getSlot(this))
58
+ }, () => getSlot(this))
59
59
  },
60
60
  genBody () {
61
61
  return h('div', {
@@ -139,7 +139,7 @@ export default baseMixins.extend({
139
139
  for: this.computedId,
140
140
  color: this.validationState,
141
141
  focused: this.hasState,
142
- }, getSlot(this, 'label') || this.label)
142
+ }, () => getSlot(this, 'label') || this.label)
143
143
  },
144
144
  genRadio () {
145
145
  const { title, ...radioAttrs } = this.attrs$
@@ -149,7 +149,7 @@ export default baseMixins.extend({
149
149
  }, [
150
150
  h(VIcon, this.setTextColor(this.validationState, {
151
151
  dense: this.radioGroup && this.radioGroup.dense,
152
- }), this.computedIcon),
152
+ }), () => this.computedIcon),
153
153
  this.genInput({
154
154
  name: this.computedName,
155
155
  value: this.value,
@@ -379,7 +379,7 @@ export default baseMixins.extend({
379
379
  },
380
380
  'onClick:close': () => this.onChipInput(item),
381
381
  key: JSON.stringify(this.getValue(item)),
382
- }, this.getText(item))
382
+ }, () => this.getText(item))
383
383
  },
384
384
  genCommaSelection (item: object, index: number, last: boolean) {
385
385
  const color = index === this.selectedIndex && this.computedColor
@@ -535,7 +535,7 @@ export default baseMixins.extend({
535
535
  },
536
536
  onScroll: this.onScroll,
537
537
  ref: 'menu',
538
- }, [this.genList()])
538
+ }, () => [this.genList()])
539
539
  },
540
540
  genSelections (): VNode {
541
541
  let length = this.selectedItems.length
@@ -87,7 +87,7 @@ export default mixins(Colorable, Themeable).extend({
87
87
 
88
88
  methods: {
89
89
  genAction (item: object, inputValue: any): VNode {
90
- return h(VListItemAction, [
90
+ return h(VListItemAction, {}, () => [
91
91
  h(VSimpleCheckbox, {
92
92
  color: this.color,
93
93
  modelValue: inputValue,
@@ -186,8 +186,8 @@ export default mixins(Colorable, Themeable).extend({
186
186
  : scopedSlot
187
187
  },
188
188
  genTileContent (item: any, index = 0): VNode {
189
- return h(VListItemContent, [
190
- h(VListItemTitle, [
189
+ return h(VListItemContent, {}, () => [
190
+ h(VListItemTitle, {}, () => [
191
191
  this.genFilteredText(this.getText(item)),
192
192
  ]),
193
193
  ])
@@ -323,9 +323,9 @@ export const BaseSlideGroup = mixins<options &
323
323
  !hasAffix
324
324
  ) return null
325
325
 
326
- return h(VIcon, {
326
+ return h(VIcon, () => ({
327
327
  disabled: !hasAffix,
328
- }, (this as any)[`${icon}Icon`])
328
+ }, (this as any)[`${icon}Icon`]))
329
329
  },
330
330
  // Always generate prev for scrollable hint
331
331
  genPrev (): VNode | null {
@@ -342,7 +342,7 @@ export const BaseSlideGroup = mixins<options &
342
342
  }, [slot])
343
343
  },
344
344
  genTransition (location: 'prev' | 'next') {
345
- return h(VFadeTransition, [this.genIcon(location)])
345
+ return h(VFadeTransition, () => [this.genIcon(location)])
346
346
  },
347
347
  genWrapper (): VNode {
348
348
  return withDirectives(h('div', {
@@ -414,7 +414,7 @@ export default mixins<options &
414
414
 
415
415
  return h(VScaleTransition, {
416
416
  origin: 'bottom center',
417
- }, [
417
+ }, () => [
418
418
  withDirectives(h('div', {
419
419
  class: 'v-slider__thumb-label-container',
420
420
  }, [
@@ -168,6 +168,6 @@ export default baseMixins.extend({
168
168
 
169
169
  return h(this.computedTransition, {
170
170
  ...this.$listeners,
171
- }, [content])
171
+ }, () => [content])
172
172
  },
173
173
  })
@@ -110,7 +110,7 @@ export default defineComponent({
110
110
  ])
111
111
  },
112
112
  genProgress (): VNode {
113
- return h(VFabTransition, {}, [
113
+ return h(VFabTransition, {}, () => [
114
114
  this.loading === false
115
115
  ? null
116
116
  : getSlot(this, 'progress') || h(VProgressCircular, {
@@ -215,7 +215,7 @@ export default baseMixins.extend({
215
215
  this.setTextColor(this.computedColor, data)
216
216
  this.setBackgroundColor(this.backgroundColor, data)
217
217
 
218
- return h(VTabsBar, data, [
218
+ return h(VTabsBar, data, () => [
219
219
  this.genSlider(slider),
220
220
  items,
221
221
  ])
@@ -234,7 +234,7 @@ export default baseMixins.extend({
234
234
  'onUpdate:modelValue': (val: any) => {
235
235
  this.internalValue = val
236
236
  }
237
- }, item)
237
+ }, () => item)
238
238
  },
239
239
  genSlider (slider: VNode | null) {
240
240
  if (this.hideSlider) return null
@@ -368,7 +368,7 @@ export default baseMixins.extend({
368
368
  value: this.labelValue
369
369
  }
370
370
 
371
- return h(VLabel, data, getSlot(this, 'label') || this.label)
371
+ return h(VLabel, data, () => getSlot(this, 'label') || this.label)
372
372
  },
373
373
  genLegend () {
374
374
  const width = !this.singleLine && (this.labelValue || this.isDirty) ? this.labelWidth : 0
@@ -193,7 +193,7 @@ export default mixins(Colorable, Delayable, Dependent, Menuable).extend({
193
193
 
194
194
  return h(Transition, {
195
195
  name: this.computedTransition,
196
- }, [content])
196
+ }, () => [content])
197
197
  },
198
198
  genContent () {
199
199
  return withDirectives(
@@ -234,7 +234,7 @@ const VTreeviewNode = baseMixins.extend({
234
234
 
235
235
  this.checkChildren().then(() => this.open())
236
236
  }
237
- }, [this.isLoading ? this.loadingIcon : this.expandIcon])
237
+ }, () => [this.isLoading ? this.loadingIcon : this.expandIcon])
238
238
  },
239
239
  genCheckbox () {
240
240
  return h(VIcon, {
@@ -257,7 +257,7 @@ const VTreeviewNode = baseMixins.extend({
257
257
  })
258
258
  })
259
259
  },
260
- }, [this.computedIcon])
260
+ }, () => [this.computedIcon])
261
261
  },
262
262
  genLevel (level: number) {
263
263
  return createRange(level).map(() => h('div', {
@@ -331,7 +331,7 @@ const VTreeviewNode = baseMixins.extend({
331
331
  }, children)
332
332
  },
333
333
  genTransition () {
334
- return h(VExpandTransition, [this.genChildrenWrapper()])
334
+ return h(VExpandTransition, {}, () => [this.genChildrenWrapper()])
335
335
  },
336
336
  },
337
337
 
@@ -88,7 +88,7 @@ export function createSimpleTransition (
88
88
  el.style.setProperty('display', 'none', 'important')
89
89
  })
90
90
  }
91
- return h(tag, mergeData(this.$attrs, data), this.$slots.default())
91
+ return h(tag, mergeData(this.$attrs, data), () => this.$slots.default())
92
92
  },
93
93
  }
94
94
  }
@@ -117,7 +117,7 @@ export function createJavascriptTransition (
117
117
  name,
118
118
  ...functions,
119
119
  }),
120
- this.$slots.default()
120
+ () => this.$slots.default()
121
121
  )
122
122
  },
123
123
  }
@@ -47,17 +47,17 @@ export default mixins(
47
47
  }) : getSlot(this)
48
48
  },
49
49
  genPicker (staticClass: string) {
50
- const children = {}
50
+ const children: Record<string, any> = {}
51
51
 
52
52
  if (!this.noTitle) {
53
53
  const title = this.genPickerTitle()
54
- title && (children.title = title)
54
+ title && (children.title = () => [title])
55
55
  }
56
56
 
57
57
  const body = this.genPickerBody()
58
- body && (children.default = body)
58
+ body && (children.default = () => [body])
59
59
 
60
- children.actions = (h('template', {}, [this.genPickerActionsSlot()]))
60
+ children.actions = () => [this.genPickerActionsSlot()]
61
61
 
62
62
  return h(VPicker, {
63
63
  class: staticClass,