Skip to content

Commit

Permalink
Refactor #2977, Refactor #3021, Refactor #3085, Refactor #3020 - clas…
Browse files Browse the repository at this point in the history
…s rename
  • Loading branch information
tugcekucukoglu committed Oct 19, 2022
1 parent d5e98f3 commit 565564e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/breadcrumb/Breadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default {
line-height: 1;
}
.p-breadcrumb .p-menuitem-link {
.p-breadcrumb .p-menuitem-action {
text-decoration: none;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/breadcrumb/BreadcrumbItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
},
linkClass(routerProps) {
return [
'p-menuitem-link',
'p-menuitem-action',
{
'router-link-active': routerProps && routerProps.isActive,
'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
Expand Down
4 changes: 2 additions & 2 deletions src/components/contextmenu/ContextMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ export default {
z-index: 1;
}
.p-contextmenu .p-menuitem-link {
.p-contextmenu .p-menuitem-action {
cursor: pointer;
display: flex;
align-items: center;
Expand All @@ -662,7 +662,7 @@ export default {
position: relative;
}
.p-contextmenu .p-menuitem-link .p-submenu-icon {
.p-contextmenu .p-menuitem-action .p-submenu-icon {
margin-left: auto;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/contextmenu/ContextMenuSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default {
},
getItemActionClass(processedItem, routerProps) {
return [
'p-menuitem-link p-menuitem-action', // TODO: the 'p-menuitem-link' class is deprecated since v3.18.0.
'p-menuitem-action',
{
'router-link-active': routerProps && routerProps.isActive,
'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
Expand All @@ -188,7 +188,7 @@ export default {
return ['p-menuitem-icon', this.getItemProp(processedItem, 'icon')];
},
getSeparatorItemClass(processedItem) {
return ['p-menu-separator p-menuitem-separator', this.getItemProp(processedItem, 'class')]; // TODO: the 'p-menu-separator' class is deprecated since v3.18.0.
return ['p-menuitem-separator', this.getItemProp(processedItem, 'class')];
}
},
directives: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/menu/Menuitem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default {
},
linkClass(routerProps) {
return [
'p-menuitem-link p-menuitem-action', // TODO: the 'p-menuitem-link' class is deprecated since v3.18.0.
'p-menuitem-action',
{
'router-link-active': routerProps && routerProps.isActive,
'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
Expand Down
2 changes: 1 addition & 1 deletion src/components/menubar/MenubarSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default {
},
getItemActionClass(processedItem, routerProps) {
return [
'p-menuitem-link p-menuitem-action', // TODO: the 'p-menuitem-link' class is deprecated since v3.18.0.
'p-menuitem-action',
{
'router-link-active': routerProps && routerProps.isActive,
'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
Expand Down

0 comments on commit 565564e

Please sign in to comment.