Sha256: 2d1b3da9b5a3042aa8d9c58588c73fd2eee8010595c49fb880373bf5118570a2

Contents?: true

Size: 859 Bytes

Versions: 7

Compression:

Stored size: 859 Bytes

Contents

.sts-sidebar-menu-item class="#{item.level >= 1 ? 'pl-4' : ''}" data-controller="satis-sidebar-menu-item"
  a.sts-sidebar-menu-item__link aria-controls="sub-menu-1" aria-expanded="false" href=item.link *item.link_attributes data-satis-sidebar-menu-item-target="link" data-action=data_actions
    - if item.icon
      i.sts-sidebar-menu-item__icon.fa-lg class=item.icon style="width: 20px;"
    - else
      i.sts-sidebar-menu-item__no-icon style="width: 20px;"

    span.sts-sidebar-menu-item__label= item.label
    - if item.menu
      i.sts-sidebar-menu-item__menu-icon.fa-solid.fa-angle-right style="width: 20px;" data-satis-sidebar-menu-item-target="indicator"

  - if item.menu
    div.hidden data-satis-sidebar-menu-item-target="submenu"
      - item.menu.items.each do |sub_item|
        = render(Satis::SidebarMenuItem::Component.new(item: sub_item))

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
satis-1.0.75 app/components/satis/sidebar_menu_item/component.html.slim
satis-1.0.74 app/components/satis/sidebar_menu_item/component.html.slim
satis-1.0.70 app/components/satis/sidebar_menu_item/component.html.slim
satis-1.0.69 app/components/satis/sidebar_menu_item/component.html.slim
satis-1.0.68 app/components/satis/sidebar_menu_item/component.html.slim
satis-1.0.67 app/components/satis/sidebar_menu_item/component.html.slim
satis-1.0.66 app/components/satis/sidebar_menu_item/component.html.slim