-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(design)!: update
DaffStatus
danger value to critical and add a…
…n info value (#3293) BREAKING CHANGE: the `danger` value in `DaffStatus` has been changed to `critical`.
- Loading branch information
Showing
20 changed files
with
55 additions
and
42 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
10 changes: 5 additions & 5 deletions
10
libs/design/button/examples/src/statusable-button/statusable-button.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,34 +1,34 @@ | ||
<h4>Basic Status Buttons</h4> | ||
<div class="statusable-button__group"> | ||
<button daff-button status="warn">Warn</button> | ||
<button daff-button status="danger">Danger</button> | ||
<button daff-button status="critical">Critical</button> | ||
<button daff-button status="success">Success</button> | ||
</div> | ||
|
||
<h4>Stroked Status Buttons</h4> | ||
<div class="statusable-button__group"> | ||
<button daff-stroked-button status="warn">Warn</button> | ||
<button daff-stroked-button status="danger">Danger</button> | ||
<button daff-stroked-button status="critical">Critical</button> | ||
<button daff-stroked-button status="success">Success</button> | ||
</div> | ||
|
||
<h4>Raised Status Buttons</h4> | ||
<div class="statusable-button__group"> | ||
<button daff-raised-button status="warn">Warn</button> | ||
<button daff-raised-button status="danger">Danger</button> | ||
<button daff-raised-button status="critical">Critical</button> | ||
<button daff-raised-button status="success">Success</button> | ||
</div> | ||
|
||
<h4>Underline Status Buttons</h4> | ||
<div class="statusable-button__group"> | ||
<button daff-underline-button status="warn">Warn</button> | ||
<button daff-underline-button status="danger">Danger</button> | ||
<button daff-underline-button status="critical">Critical</button> | ||
<button daff-underline-button status="success">Success</button> | ||
</div> | ||
|
||
<h4>Icon Status Buttons</h4> | ||
<div class="statusable-button__group"> | ||
<button daff-icon-button status="warn"><fa-icon [icon]="faExclamation"></fa-icon></button> | ||
<button daff-icon-button status="danger"><fa-icon [icon]="faExclamationTriangle"></fa-icon></button> | ||
<button daff-icon-button status="critical"><fa-icon [icon]="faExclamationTriangle"></fa-icon></button> | ||
<button daff-icon-button status="success"><fa-icon [icon]="faCheckCircle"></fa-icon></button> | ||
</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
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
4 changes: 2 additions & 2 deletions
4
libs/design/notification/examples/src/notification-status/notification-status.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,13 +1,13 @@ | ||
<daff-notification [status]="statusControl.value"> | ||
<fa-icon *ngIf="statusControl.value === 'success'" daffPrefix [icon]="faCheck" [fixedWidth]="true"></fa-icon> | ||
<fa-icon *ngIf="statusControl.value === 'warn'" daffPrefix [icon]="faExclamation" [fixedWidth]="true"></fa-icon> | ||
<fa-icon *ngIf="statusControl.value === 'danger'" daffPrefix [icon]="faExclamation" [fixedWidth]="true"></fa-icon> | ||
<fa-icon *ngIf="statusControl.value === 'critical'" daffPrefix [icon]="faExclamation" [fixedWidth]="true"></fa-icon> | ||
<div daffNotificationTitle>Title</div> | ||
<div daffNotificationSubtitle>This is the subtitle with information</div> | ||
</daff-notification> | ||
|
||
<select [formControl]="statusControl"> | ||
<option value="success">Success</option> | ||
<option value="warn">Warn</option> | ||
<option value="danger">Danger</option> | ||
<option value="critical">Critical</option> | ||
</select> |
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
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