mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 23:51:08 +02:00
* Move global-flash to HDS-specified area * Add flash-toast component * use flash toast for flash messages * Use spacing vars * Remove unnecessary key * Cleanup + tests * Remove nondeterministic build warning * add changelog * I wish this was automatic
11 lines
386 B
Handlebars
11 lines
386 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<Hds::Toast @color={{this.color}} @onDismiss={{@close}} class="has-bottom-margin-m" data-test-flash-toast as |T|>
|
|
<T.Title data-test-flash-toast-title>{{this.title}}</T.Title>
|
|
<T.Description data-test-flash-message-body>
|
|
<p class="is-word-break">{{@flash.message}}</p>
|
|
</T.Description>
|
|
</Hds::Toast> |