This commit is contained in:
Bastian Wagner
2026-07-16 15:23:53 +02:00
parent 543e8273a7
commit c03b2e17f5
114 changed files with 7631 additions and 506 deletions

View File

@@ -0,0 +1,31 @@
import { Component, Input } from '@angular/core';
@Component({
selector: 'ui-loading-state',
standalone: true,
template: `
<section class="ui-loading-state" [class.inline]="inline" aria-live="polite">
<span class="ui-spinner" aria-hidden="true"></span>
<span>{{ label }}</span>
</section>
`,
styles: [
`
.ui-loading-state {
min-height: 8rem;
display: grid;
place-items: center;
gap: var(--space-3);
color: var(--color-text-secondary);
}
.inline {
min-height: auto;
display: inline-flex;
}
`,
],
})
export class UiLoadingStateComponent {
@Input() label = 'Wird geladen.';
@Input() inline = false;
}