From 4047ccbcb3a1822c2f742f03e26c13bbdba6080a Mon Sep 17 00:00:00 2001 From: Yuchao Wu Date: Tue, 9 Jul 2024 20:41:41 +1000 Subject: [PATCH] chore: fix typo & remove default colours --- packages/vuetify/src/components/VList/VListItem.sass | 2 +- packages/vuetify/src/labs/VTreeview/VTreeview.tsx | 1 - packages/vuetify/src/labs/VTreeview/VTreeviewChildren.tsx | 5 +---- packages/vuetify/src/labs/VTreeview/VTreeviewItem.tsx | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/vuetify/src/components/VList/VListItem.sass b/packages/vuetify/src/components/VList/VListItem.sass index d1146c26a47..b4a6e19410e 100644 --- a/packages/vuetify/src/components/VList/VListItem.sass +++ b/packages/vuetify/src/components/VList/VListItem.sass @@ -319,7 +319,7 @@ .v-list-group__items .v-list-item padding-inline-start: calc(#{$base-padding} + var(--indent-padding)) !important - .v-list-group__header:not(.v-treeview-item--activetable-group-activator).v-list-item--active + .v-list-group__header:not(.v-treeview-item--activatable-group-activator).v-list-item--active &:not(:focus-visible) .v-list-item__overlay opacity: 0 diff --git a/packages/vuetify/src/labs/VTreeview/VTreeview.tsx b/packages/vuetify/src/labs/VTreeview/VTreeview.tsx index 58e9ef32cf5..4515fbdbbe7 100644 --- a/packages/vuetify/src/labs/VTreeview/VTreeview.tsx +++ b/packages/vuetify/src/labs/VTreeview/VTreeview.tsx @@ -36,7 +36,6 @@ export const makeVTreeviewProps = propsFactory({ collapseIcon: '$treeviewCollapse', expandIcon: '$treeviewExpand', slim: true, - color: 'primary', }), ['nav', 'openStrategy']), }, 'VTreeview') diff --git a/packages/vuetify/src/labs/VTreeview/VTreeviewChildren.tsx b/packages/vuetify/src/labs/VTreeview/VTreeviewChildren.tsx index e300f7e97f9..8d749d14678 100644 --- a/packages/vuetify/src/labs/VTreeview/VTreeviewChildren.tsx +++ b/packages/vuetify/src/labs/VTreeview/VTreeviewChildren.tsx @@ -43,10 +43,7 @@ export const makeVTreeviewChildrenProps = propsFactory({ trueIcon: IconValue, returnObject: Boolean, selectable: Boolean, - selectedColor: { - type: String, - default: 'accent', - }, + selectedColor: String, selectStrategy: [String, Function, Object] as PropType, }, 'VTreeviewChildren') diff --git a/packages/vuetify/src/labs/VTreeview/VTreeviewItem.tsx b/packages/vuetify/src/labs/VTreeview/VTreeviewItem.tsx index 8215871d683..aaa6aa59b2b 100644 --- a/packages/vuetify/src/labs/VTreeview/VTreeviewItem.tsx +++ b/packages/vuetify/src/labs/VTreeview/VTreeviewItem.tsx @@ -85,7 +85,7 @@ export const VTreeviewItem = genericComponent()({ class={[ 'v-treeview-item', { - 'v-treeview-item--activetable-group-activator': isActivatableGroupActivator.value, + 'v-treeview-item--activatable-group-activator': isActivatableGroupActivator.value, 'v-treeview-item--filtered': visibleIds.value && !visibleIds.value.has(id.value), }, props.class,