05f6b0ae97
* updates dropdown transform codemod to apply @defaultClass arg to Content component * runs codemod and transforms class to @defaultClass on basic dropdown Content component * adds changelog entry * removes changelog entry
17 lines
582 B
Handlebars
17 lines
582 B
Handlebars
<ToolTip @onClose={{action (mut this.tooltipText) "Copy"}} as |T|>
|
|
<T.Trigger data-test-tooltip-trigger tabindex="-1">
|
|
<CopyButton
|
|
data-test-hover-copy-button
|
|
class="copy-button button is-compact is-transparent"
|
|
@clipboardText={{this.copyValue}}
|
|
@success={{action (mut this.tooltipText) "Copied!"}}
|
|
>
|
|
<Icon @name="clipboard-copy" aria-label="Copy" />
|
|
</CopyButton>
|
|
</T.Trigger>
|
|
<T.Content @defaultClass="tool-tip">
|
|
<div class="box" data-test-hover-copy-tooltip-text>
|
|
{{this.tooltipText}}
|
|
</div>
|
|
</T.Content>
|
|
</ToolTip> |