Skip to content

Commit

Permalink
fix: add missing components to $_vuetify_subcomponents (#8080)
Browse files Browse the repository at this point in the history
fixes #8047

* fix: add missing components to $_vuetify_subcomponents

* fix: add missing VSimpleCheckbox

* don't export private components

* remove private components from lib.d.ts
  • Loading branch information
jacekkarczmarczyk authored and johnleider committed Jul 28, 2019
1 parent c4a9212 commit 8aff65a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 6 additions & 1 deletion packages/vuetify/src/components/VCheckbox/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ import VCheckbox from './VCheckbox'
import VSimpleCheckbox from './VSimpleCheckbox'

export { VCheckbox, VSimpleCheckbox }
export default VCheckbox
export default {
$_vuetify_subcomponents: {
VCheckbox,
VSimpleCheckbox,
},
}
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VList/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default {
VListItemAvatar,
VListItemContent,
VListItemGroup,
VListItemIcon,
VListItemSubtitle,
VListItemTitle,
},
Expand Down
4 changes: 0 additions & 4 deletions packages/vuetify/types/lib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ declare module 'vuetify/lib' {
const VDataIterator: Component
const VDataTable: Component
const VDataTableHeader: Component
const VDataTableHeaderDesktop: Component
const VDataTableHeaderMobile: Component
const VDatePicker: Component
const VDatePickerDateTable: Component
const VDatePickerHeader: Component
Expand Down Expand Up @@ -221,8 +219,6 @@ declare module 'vuetify/lib' {
VDataIterator,
VDataTable,
VDataTableHeader,
VDataTableHeaderDesktop,
VDataTableHeaderMobile,
VDatePicker,
VDatePickerDateTable,
VDatePickerHeader,
Expand Down

0 comments on commit 8aff65a

Please sign in to comment.