Sha256: 9377930a6a1e56963799801a789e660e32cda9a93a40b97e12ee963445d5ecce

Contents?: true

Size: 853 Bytes

Versions: 537

Compression:

Stored size: 853 Bytes

Contents

<%= pb_content_tag do %>
    <% if object.tooltip_text.present? %>
        <%= pb_rails("tooltip", props: {
          trigger_element_id: object.tooltip_id,
          tooltip_id: "tooltip-2",
          position: 'top'
        }) 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

537 entries across 537 versions & 1 rubygems

Version Path
playbook_ui-13.33.0.pre.alpha.PLAY14143318 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.33.0.pre.alpha.PLAY14143312 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.33.0.pre.alpha.PLAY1454formpillicons3309 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.33.0.pre.alpha.PLAY14143306 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.33.0.pre.alpha.PLAY14143305 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.33.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PBNTR405dropdownformfixesrails3301 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143297 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143288 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143272 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143271 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY1138iconkitaddcolorprop3268 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143267 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.play1416movealiaslogic3266 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143264 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143260 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143255 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.PLAY14143251 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-13.32.0.pre.alpha.play1416movealiaslogic3239 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb