Sha256: c029cdc6beb322cb913c056cf1756f3781f26d8eebef35278bb7a2f1512bc48e

Contents?: true

Size: 706 Bytes

Versions: 40

Compression:

Stored size: 706 Bytes

Contents

div.sts-menu data-controller="satis-menu" data-action="#{menu.event}->satis-menu#show"
  - if content
    = content
  - else
    button.sts-menu__button aria-expanded="false" aria-haspopup="true" type="button"
      span.font-semibold.flex-1 id="#{icon_id}" class="#{menu.items.present? ? '' : 'text-gray-200'}"
        i class=icon

  - if menu.items.present?
    - menu_items_class = menu.show_scroll ? 'sts-menu__items hidden max-h-96 overflow-y-auto' : 'sts-menu__items hidden'
    ul class=menu_items_class data-satis-menu-target="submenu" data-satis-menu-submenu-placement="bottom" data-satis-menu-submenu-strategy="#{strategy}"
      = render(Satis::MenuItem::Component.with_collection(menu.items))

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
satis-2.1.47 app/components/satis/menu/component.html.slim
satis-2.1.46 app/components/satis/menu/component.html.slim
satis-2.1.45 app/components/satis/menu/component.html.slim
satis-2.1.44 app/components/satis/menu/component.html.slim
satis-2.1.43 app/components/satis/menu/component.html.slim
satis-2.1.42 app/components/satis/menu/component.html.slim
satis-2.1.41 app/components/satis/menu/component.html.slim
satis-2.1.40 app/components/satis/menu/component.html.slim
satis-2.1.39 app/components/satis/menu/component.html.slim
satis-2.1.38 app/components/satis/menu/component.html.slim
satis-2.1.37 app/components/satis/menu/component.html.slim
satis-2.1.36 app/components/satis/menu/component.html.slim
satis-2.1.35 app/components/satis/menu/component.html.slim
satis-2.1.33 app/components/satis/menu/component.html.slim
satis-2.1.31 app/components/satis/menu/component.html.slim
satis-2.1.30 app/components/satis/menu/component.html.slim
satis-2.1.29 app/components/satis/menu/component.html.slim
satis-2.1.28 app/components/satis/menu/component.html.slim
satis-2.1.27 app/components/satis/menu/component.html.slim
satis-2.1.26 app/components/satis/menu/component.html.slim