-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:🎸 move button into a shared part
- Loading branch information
Showing
18 changed files
with
118 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
export { ButtonComponent } from './button/button.component'; | ||
export { MultipleInputComponent } from './multiple-input/multiple-input.component'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export { SivanInputComponent } from './input/sivan-input.component'; | ||
export { SharedInputComponent } from './sharedInput/shared-input.component'; | ||
export { ToggleComponent } from './toogle/toggle.component'; | ||
export { ProgressComponent } from './progress/progress.component'; | ||
export { ButtonComponent } from './button/button.component'; |
29 changes: 23 additions & 6 deletions
29
ftx-sivan-shared/src/lib/components/progress/progress.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,25 @@ | ||
<div data-test="sivan-shared-progress"> | ||
<div> | ||
<ng-container *ngFor="let config of configs"> | ||
<div data-test="sivan-shared-progress-entities"></div> | ||
</ng-container> | ||
<div data-test="sivan-shared-progress" class="progress-wrapper"> | ||
<div class="progress-wrapper-content"> | ||
<router-outlet></router-outlet> | ||
</div> | ||
<div class="progress-wrapper-bar" [ngClass]="{ 'justify-center': !configs }"> | ||
<div class="flex flex-1" *ngIf="configs"> | ||
<ng-container *ngFor="let config of configs"> | ||
<div data-test="sivan-shared-progress-entities"> | ||
<mat-icon [svgIcon]="config.icon"> </mat-icon> | ||
</div> | ||
</ng-container> | ||
</div> | ||
<div class="gap-2 flex"> | ||
<ng-container *ngFor="let action of actions"> | ||
<ngx-button-component | ||
data-test="sivan-shared-progress-actions" | ||
roundedFull="rounded-md" | ||
[disable]="action.disabled | async" | ||
> | ||
{{ action.name }} | ||
</ngx-button-component> | ||
</ng-container> | ||
</div> | ||
</div> | ||
<div data-test="sivan-shared-progress-actions"></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.progress-wrapper { | ||
&-content { | ||
width: 100%; | ||
height: calc(100vh - 3rem); | ||
} | ||
&-bar { | ||
@apply flex items-center px-2 bg-green-50; | ||
width: 100%; | ||
height: 3rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters