2021-08-23 16:44:19 +08:00
|
|
|
<div class="select-kit-header-wrapper">
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#each this.icons as |icon|}} {{d-icon icon}} {{/each}}
|
2020-02-03 21:22:14 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
{{component
|
|
|
|
this.selectKit.options.selectedNameComponent
|
|
|
|
tabindex=this.tabindex
|
|
|
|
item=this.selectedContent
|
|
|
|
selectKit=this.selectKit
|
|
|
|
shouldDisplayClearableButton=this.shouldDisplayClearableButton
|
2021-08-23 16:44:19 +08:00
|
|
|
}}
|
2020-05-18 16:50:33 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.selectKit.options.showCaret}}
|
|
|
|
{{d-icon this.caretIcon class="caret-icon"}}
|
2021-08-23 16:44:19 +08:00
|
|
|
{{/if}}
|
2024-12-12 23:10:01 +08:00
|
|
|
​
|
|
|
|
{{! Zero-width space character, so icon-only button height = regular button height }}
|
2021-08-23 16:44:19 +08:00
|
|
|
</div>
|