{{! TODO: META-8742 Add this as a component in the Nacho Component library as part of NachoHoverDropdown }} {{#basic-dropdown renderInPlace=@renderInPlace as |bd|}} {{#if (not-eq @wrappedTriggerComponent true)}} {{this.selectedDropDown.label}} {{#if this.selectedDropDown}} {{/if}} {{/if}} {{yield (hash trigger=(component bd.trigger onMouseDown=(fn this.prevent) onMouseEnter=(fn this.showDropDown) onMouseLeave=(fn this.hideDropDown) ) isExpanded=this.isExpanded content=(component "nacho-hover-dropdown/dropdown-content" baseComponent=bd.content onMouseEnter=(fn this.showDropDown bd) onMouseLeave=(fn this.hideDropDown bd) onSelect=(fn this.onDropDownSelect bd) selectedOption=this.selectedDropDown options=this.dropDownItems ) ) }} {{/basic-dropdown}}