discourse/app/assets/javascripts/select-kit/addon/components/combo-box/combo-box-header.hbs
Kris a914d3230b
DEV: remap all core icons for fontawesome 6 upgrade (#28715)
Followup to 7d8974d02f

Co-authored-by: David Taylor <david@taylorhq.com>
2024-09-13 16:50:52 +01:00

21 lines
508 B
Handlebars

<div class="select-kit-header-wrapper">
{{#each this.icons as |icon|}} {{d-icon icon}} {{/each}}
{{component
this.selectKit.options.selectedNameComponent
tabindex=this.tabindex
item=this.selectedContent
selectKit=this.selectKit
}}
{{#if this.shouldDisplayClearableButton}}
<DButton
@icon="xmark"
@action={{this.selectKit.onClearSelection}}
@ariaLabel="clear_input"
class="btn-clear"
/>
{{/if}}
{{d-icon this.caretIcon class="caret-icon"}}
</div>