mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
* [EC-556] feat: convert button into component
* [EC-556] feat: implement loading state
* [EC-556] feat: remove loading from submit button
* [EC-556] fix: add missing import
* [EC-556] fix: disabling button using regular attribute
* [EC-556] fix: missing loading input in story templates
* [EC-556] feat: remove and replace submit button
* Fix packaging on Build Web workflow (#3613)
(cherry picked from commit 67c447d54c)
* [EC-556] fix: replaced buttons should be primary
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
9 lines
304 B
HTML
9 lines
304 B
HTML
<span class="tw-relative">
|
|
<span [ngClass]="{ 'tw-invisible': loading }">
|
|
<ng-content></ng-content>
|
|
</span>
|
|
<span class="tw-absolute tw-inset-0" [ngClass]="{ 'tw-invisible': !loading }">
|
|
<i class="bwi bwi-spinner bwi-lg bwi-spin tw-align-baseline" aria-hidden="true"></i>
|
|
</span>
|
|
</span>
|