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.12.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.11.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.10.0.pre.alpha.PLAY705phonenumberreturn372 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.10.0.pre.alpha.PLAY677richtexteditorts370 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.10.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.9.1.pre.alpha.play664tiptapinvestigation353 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.9.1.pre.alpha.PLAY689bugtxtinputlabel346 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.9.1.pre.alpha.menucleanup345 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.9.1.pre.alpha.menucleanup342 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.9.1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.9.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark301 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark300 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY649mapkitstyles299 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep298 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep297 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease296 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease295 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease294 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-12.8.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb