2020-01-16 18:14:03 +03:00
|
|
|
{{#if this.showButton}}
|
2020-05-28 18:01:09 +03:00
|
|
|
<button aria-label="Add a card" class="koenig-plus-menu-button flex justify-center items-center relative w9 h9 ba b--midlightgrey-l2 bg-white br-100 anim-normal" onclick={{action "openMenu"}}>{{svg-jar "plus" class="w4 h4 stroke-middarkgrey i-strokew--2"}}</button>
|
2018-01-31 17:49:20 +03:00
|
|
|
{{/if}}
|
|
|
|
|
2020-01-16 18:14:03 +03:00
|
|
|
{{#if this.showMenu}}
|
2018-06-07 13:34:50 +03:00
|
|
|
{{!-- TODO: restructure HTML and update kg-style helper to avoid negative margins on divider/title elements --}}
|
2020-05-28 18:01:09 +03:00
|
|
|
<div class="{{kg-style "cardmenu"}} pa0" role="menu">
|
2018-03-14 13:45:34 +03:00
|
|
|
{{!-- <div class="koenig-cardmenu-search">
|
2018-03-19 12:57:31 +03:00
|
|
|
{{svg-jar "koenig/search"}}
|
2018-01-31 17:49:20 +03:00
|
|
|
<input type="text" placeholder="Search for a card..." class="gh-input koenig-cardmenu-search-input">
|
2018-03-14 13:45:34 +03:00
|
|
|
</div> --}}
|
2020-10-26 20:09:09 +03:00
|
|
|
<KoenigMenuContent
|
|
|
|
@itemSections={{this.itemSections}}
|
|
|
|
@itemClicked={{action "itemClicked"}}
|
2021-09-10 11:24:38 +03:00
|
|
|
@postType={{@postType}}
|
2020-10-26 20:09:09 +03:00
|
|
|
/>
|
2018-01-31 17:49:20 +03:00
|
|
|
</div>
|
2018-06-07 13:34:50 +03:00
|
|
|
{{/if}}
|