From 36e38340baad01967f19283941f849946c4ff5e0 Mon Sep 17 00:00:00 2001 From: Kael Date: Thu, 27 Apr 2023 03:54:24 +1000 Subject: [PATCH] fix(types): volar compatible generic types (#17231) fixes #17211 --- .../accessibility/select-list-item.vue | 14 +++----- .../vuetify/src/components/VAlert/VAlert.tsx | 5 ++- .../VAutocomplete/VAutocomplete.tsx | 34 ++++++++----------- .../vuetify/src/components/VBadge/VBadge.tsx | 7 ++-- .../src/components/VBanner/VBanner.tsx | 5 ++- .../components/VBreadcrumbs/VBreadcrumbs.tsx | 20 +++++------ packages/vuetify/src/components/VBtn/VBtn.tsx | 5 ++- .../vuetify/src/components/VCard/VCard.tsx | 5 ++- .../src/components/VCard/VCardItem.tsx | 7 ++-- .../vuetify/src/components/VChip/VChip.tsx | 7 ++-- .../src/components/VCombobox/VCombobox.tsx | 34 ++++++++----------- .../vuetify/src/components/VField/VField.tsx | 18 +++++----- .../src/components/VFileInput/VFileInput.tsx | 5 ++- .../vuetify/src/components/VInput/VInput.tsx | 5 ++- .../vuetify/src/components/VList/VList.tsx | 17 ++++------ .../src/components/VList/VListChildren.tsx | 30 ++++++++-------- .../src/components/VList/VListItem.tsx | 6 ++-- .../VList/__tests__/VList.spec.cy.tsx | 2 +- .../vuetify/src/components/VNoSsr/VNoSsr.tsx | 3 +- .../src/components/VOverlay/VOverlay.tsx | 5 ++- .../src/components/VSelect/VSelect.tsx | 34 ++++++++----------- .../VSelectionControl/VSelectionControl.tsx | 16 ++++----- .../src/components/VSlider/VSlider.tsx | 5 ++- .../src/components/VSwitch/VSwitch.tsx | 3 +- .../src/components/VTextField/VTextField.tsx | 5 ++- .../src/components/VToolbar/VToolbar.tsx | 5 ++- .../src/components/VToolbar/VToolbarTitle.tsx | 7 ++-- .../VVirtualScroll/VVirtualScroll.tsx | 14 ++++---- packages/vuetify/src/composables/loader.tsx | 6 ++-- packages/vuetify/src/util/defineComponent.tsx | 25 ++++++++------ tsconfig.json | 6 +++- 31 files changed, 158 insertions(+), 202 deletions(-) diff --git a/packages/docs/src/examples/accessibility/select-list-item.vue b/packages/docs/src/examples/accessibility/select-list-item.vue index 297422932b1..38830eed938 100644 --- a/packages/docs/src/examples/accessibility/select-list-item.vue +++ b/packages/docs/src/examples/accessibility/select-list-item.vue @@ -3,15 +3,11 @@ :items="['Foo', 'Bar', 'Fizz', 'Buzz']" label="Fizzbuzz" > -