Feature/always show label in value component (#1812)

* Always show label while loading

* Update changelog
pull/1813/head^2
Thomas Kaul 2 years ago committed by GitHub
parent b37df2c84f
commit 1f3511368a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Changed
- Improved the value component by always showing the label (also while loading)
### Fixed
- Fixed an issue with the algebraic sign in the value component

@ -48,6 +48,18 @@
</div>
</ng-container>
</div>
</ng-container>
<ngx-skeleton-loader
*ngIf="value === undefined"
animation="pulse"
[theme]="{
height:
size === 'large' ? '2rem' : size === 'medium' ? '1.8rem' : '1.5rem',
width: '5rem'
}"
></ngx-skeleton-loader>
<ng-container>
<div *ngIf="size === 'large'">
<span class="h6"
@ -59,15 +71,4 @@
<ng-container *ngTemplateOutlet="label"></ng-container>
</small>
</ng-container>
</ng-container>
<ngx-skeleton-loader
*ngIf="value === undefined"
animation="pulse"
[theme]="{
height:
size === 'large' ? '2.5rem' : size === 'medium' ? '2rem' : '1.5rem',
width: '5rem'
}"
></ngx-skeleton-loader>
</div>

Loading…
Cancel
Save