Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/docs/src/data/new-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,18 @@
"props": {
"static": "3.4.0",
"gap": "4.1.0",
"hover": "4.1.0",
"noDivider": "4.1.0"
},
"examples": {
"prop-rounded-gap": "4.1.0"
}
},
"VExpansionPanelTitle": {
"props": {
"hover": "4.1.0"
}
},
"VField": {
"props": {
"iconColor": "3.8.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@
transition: .3s settings.$standard-easing
transition-property: min-height, border-radius

@include tools.states('.v-expansion-panel-title__overlay', false)
&--hover
@include tools.states('.v-expansion-panel-title__overlay', false)

&--focusable.v-expansion-panel-title--active
@include tools.active-states('.v-expansion-panel-title__overlay')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export const makeVExpansionPanelTitleProps = propsFactory({
default: false,
},
readonly: Boolean,
hover: {
type: Boolean,
default: true,
},

...makeComponentProps(),
...makeDimensionProps(),
Expand Down Expand Up @@ -89,6 +93,7 @@ export const VExpansionPanelTitle = genericComponent<VExpansionPanelTitleSlots>(
'v-expansion-panel-title--active': expansionPanel.isSelected.value,
'v-expansion-panel-title--focusable': props.focusable,
'v-expansion-panel-title--static': props.static,
'v-expansion-panel-title--hover': props.hover,
},
backgroundColorClasses.value,
props.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const makeVExpansionPanelsProps = propsFactory({
'expandIcon',
'focusable',
'hideActions',
'hover',
'readonly',
'ripple',
'static',
Expand Down Expand Up @@ -102,6 +103,7 @@ export const VExpansionPanels = genericComponent<new <TModel>(
expandIcon: toRef(() => props.expandIcon),
focusable: toRef(() => props.focusable),
hideActions: toRef(() => props.hideActions),
hover: toRef(() => props.hover),
readonly: toRef(() => props.readonly),
ripple: toRef(() => props.ripple),
static: toRef(() => props.static),
Expand Down
Loading