mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-10 08:46:07 +00:00
* replace paddingTop with clas * use hds alert for AlertInline component * remve isSmall arg * add test selector back * remove mimicRefresh arg * update assertion for alert inline component * update string-list * use alert inline for string-list * add changelog * update block instances of alert inline * remove p tags from test selectors * minor cleanup
18 lines
403 B
Handlebars
18 lines
403 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<Hds::Alert
|
|
{{did-update this.refresh @message}}
|
|
@type="compact"
|
|
@color={{this.color}}
|
|
@icon={{if this.isRefreshing "loading"}}
|
|
data-test-inline-alert
|
|
...attributes
|
|
as |A|
|
|
>
|
|
{{#unless this.isRefreshing}}
|
|
<A.Description data-test-inline-error-message>{{@message}}</A.Description>
|
|
{{/unless}}
|
|
</Hds::Alert> |