Sha256: cd889ad35e0e5cc85336d23d1f103d18375cd4162ee6b547bd4fcb8f893083d2

Contents?: true

Size: 973 Bytes

Versions: 286

Compression:

Stored size: 973 Bytes

Contents

<%= content_tag(:div,
    aria: object.aria,
    id: object.id,
    data: object.data,
    class: object.classname) do %>
    <% if object.tooltip_text.present? %>
        <%= pb_rails("tooltip", props: {
          trigger_element_id: object.tooltip_id,
          tooltip_id: "tooltip-2",
          position: 'top',
          dark: true,
        }) do %>
          <%= object.tooltip_text %>
        <% end %>
    <% end %>

    <%= link_to object.link_url, id: object.tooltip_id, 'aria-label': object.link_aria_label do %>
      <%= pb_rails("avatar", props: {
        dark: object.dark,
        name: object.name,
        size: object.size,
        image_alt: object.image_alt,
        image_url: object.image_url,
        class: "avatar_action"
      }) %>
      <div class="icon <%= object.dark ? 'dark' : '' %> ">
        <%= pb_rails("icon", props: {
          dark: object.dark,
          icon: object.action_icons
        }) %>
      </div>
    <% end %>
<% end %>

Version data entries

286 entries across 286 versions & 1 rubygems

Version Path
playbook_ui-12.4.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.3.1.pre.alpha.phone1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.3.1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.3.0.pre.alpha.patchtest1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.3.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.2.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.1.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.0.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.20.0.pre.alpha.passthrough1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.20.0.pre.alpha.railsdialog1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.20.0.pre.alpha.focus1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.20.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.19.0.pre.alpha.map1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.19.0.pre.alpha.pagpassthrough1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.19.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.18.0.pre.alpha.pagutility1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.18.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.17.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb