feat: 🎸 Update alert designs (#2496)

This commit is contained in:
Zhihe Li committed 2024-09-24 14:30:52 -04:00
1 parent 97258f7525
commit b40c53fb45
11 files changed
+68 -62

No files matched your search

@@ -3,17 +3,10 @@
SPDX-License-Identifier: BUSL-1.1
}}
<Rose::Button
...attributes
@style='inline-link-action'
@iconLeft={{if
this.isLoading
'flight-icons/svg/loading-16'
'flight-icons/svg/reload-16'
}}
class={{if this.isLoading 'loading-button is-loading' 'loading-button'}}
<Hds::Button
@text={{t 'actions.refresh'}}
@color='secondary'
@icon={{if this.isLoading 'loading' 'reload'}}
@disabled={{this.isLoading}}
{{on 'click' this.toggleRefresh}}
>
{{yield}}
</Rose::Button>
/>