Skip to content

Commit

Permalink
feat: renaming of slot names (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
anninowak authored Jun 7, 2024
1 parent cff0c03 commit 5dfba46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<ng-content></ng-content>
</div>
<div class="layout-topbar-actions-right">
<ocx-slot name="onecx-shell-headerRight" class="layout-topbar-items">
<ocx-slot name="onecx-shell-header-right" class="layout-topbar-items">
<ng-template #skeleton>
<div class="flex align-items-center h-full justify-content-center" style="width: 56px">
<p-skeleton shape="circle" size="2.5rem" class="h-full flex align-items-center"></p-skeleton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
>
<ocx-shell-header [menuButtonTitle]="menuButtonTitle" (menuButtonClick)="onMenuButtonClick($event)">
<div *ngIf="isHorizontalMenuVisible()">
<ocx-slot name="onecx-shell-horizontalMenu">
<ocx-slot name="onecx-shell-horizontal-menu">
<ng-template #skeleton>
<div class="ml-4 flex flex-row gap-4">
<p-skeleton class="w-full h-full inline-block" height="35px" width="120px"></p-skeleton>
Expand All @@ -26,7 +26,7 @@

<div class="menu-wrapper">
<div class="layout-menu-container overflow-auto" *ngIf="isStaticalMenuVisible()">
<ocx-slot name="onecx-shell-verticalMenu">
<ocx-slot name="onecx-shell-vertical-menu">
<ng-template #skeleton>
<p-skeleton class="w-full h-full inline-block p-2" height="35px"></p-skeleton>
</ng-template>
Expand All @@ -36,7 +36,7 @@

<div class="layout-main">
<div class="layout-content relative">
<ocx-slot name="onecx-shell-subHeader"></ocx-slot>
<ocx-slot name="onecx-shell-sub-header"></ocx-slot>
<ng-container *ngIf="!showContentProvider || (showContentProvider.showContent$ | async); else appLoading">
<ng-content></ng-content>
<router-outlet></router-outlet>
Expand All @@ -55,4 +55,4 @@

<ng-template #appLoading>
<div [ocxLoadingIndicator]="true" class="w-full h-full absolute top-0 left-0"></div>
</ng-template>
</ng-template>

0 comments on commit 5dfba46

Please sign in to comment.