* [COMPLIANCE] Add Copyright and License Headers * chore: 🤖 update Copyright headers to satisfy our lint rules --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
35 lines
739 B
Handlebars
35 lines
739 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: MPL-2.0
|
|
}}
|
|
|
|
<span
|
|
id={{this.id}}
|
|
class='copyable'
|
|
{{did-insert this.register}}
|
|
{{will-destroy this.tearDown}}
|
|
>
|
|
|
|
{{#if this.copied}}
|
|
<mark class='copyable-content'>
|
|
{{yield}}
|
|
</mark>
|
|
{{else}}
|
|
<span class='copyable-content'>
|
|
{{yield}}
|
|
</span>
|
|
{{/if}}
|
|
|
|
{{#if this.isClipboardLibrarySupported}}
|
|
<Rose::Button
|
|
id={{this.copyableButtonId}}
|
|
aria-describedby={{this.id}}
|
|
class='copyable-button'
|
|
@style='ghost'
|
|
@iconOnly={{if this.copied this.successIcon this.actionIcon}}
|
|
title={{if this.copied this.successText this.actionText}}
|
|
>
|
|
{{this.actionText}}
|
|
</Rose::Button>
|
|
{{/if}}
|
|
</span> |