Sha256: 4ff062ea0b75bb5262439d7abd427fdfb5c677eb647db5d16bf31fe984f8eb67

Contents?: true

Size: 1.87 KB

Versions: 102

Compression:

Stored size: 1.87 KB

Contents

<div class="pb_dialog_wrapper_rails <%= object.full_height_style %>" data-overlay-click= <%= object.overlay_close %> >
    <%= pb_content_tag(:dialog) do %>
            <% if object.status === "" && object.title %>
                <%= pb_rails("dialog/dialog_header", props: { title: object.title, id: object.id }) %>
            <% end %>
            <% if object.status === "" && object.text %>
                <%= pb_rails("dialog/dialog_body", props: { text: object.text }) %>
            <% end %>
            <% if object.status != "" %>
                <%= pb_rails("dialog/dialog_body", props: { classname: "dialog_status_text_align" ,padding: "md" }) do %>
                    <%= pb_rails("flex", props: { align: "center", orientation: "column" }) do %>
                        <%= pb_rails("icon_circle", props: {
                                icon: object.status_alerts[0],
                                variant: object.status_alerts[1],
                                size: "lg"
                            }) %>
                        <%= pb_rails("title", props: { text: object.title, tag: "h1", size: 3, margin_top: "sm" }) %>
                        <%= pb_rails("body", props: { text: object.text, margin_top: "sm" }) %>
                    <% end %>
                <% end %>
            <% end %>
            <% if object.cancel_button && object.confirm_button %>
                        <%= pb_rails("dialog/dialog_footer", props: {
                            cancel_button: object.cancel_button,
                            confirm_button: object.confirm_button,
                            id: object.id
                        }) %>
            <% end %>

            <%= content %>
    <% end %>
</div>

<%= javascript_tag do %>
    window.addEventListener("DOMContentLoaded", () => dialogHelper())
    window.addEventListener("turbo:frame-load", () => dialogHelper())
<% end %>

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
playbook_ui-14.0.0.pre.alpha.PLAY15063520 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PLAY14923518 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PLAY15063511 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PA1477timestampkit3509 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PLAY14733507 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PBNTR416formpillsizes3506 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PA1477timestampkit3502 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PBNTR415starratingform3493 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PBNTR415starratingform3492 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PLAY1475bumpaxecoredependency3483 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PLAY14733479 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.dependabotnpmandyarnreactjoyride2823478 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.PLAY14113475 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.0.0.pre.alpha.play1447alphatest3462 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-14.1.0 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-13.34.1.pre.alpha.play1447addrequiredicons3455 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-13.34.1.pre.alpha.play1447addrequiredicons3451 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-13.34.1.pre.alpha.PLAY14043436 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3413 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3411 app/pb_kits/playbook/pb_dialog/dialog.html.erb