Sha256: 45c4fd6bf7ce61b192fa5e4f8fd8ed45a634867aa333a7face249b24b7837eee

Contents?: true

Size: 1.21 KB

Versions: 35

Compression:

Stored size: 1.21 KB

Contents

<div class="modal-container fixed inset-0 w-full min-h-screen z-[100] flex justify-center items-center"
  data-controller="modal"
  data-modal-target="modal"
  data-modal-close-modal-on-backdrop-click-value="<%= close_modal_on_backdrop_click %>"
>
  <div aria-expanded="true" class="modal-overlay absolute w-full h-full bg-opacity-25 bg-gray-800 flex justify-center items-center" data-modal-target="backdrop" data-action="click->modal#close" ></div>
  <div aria-expanded="true" role="dialog" aria-modal="true" class="modal-body rounded-lg inset-auto bg-white flex z-50 relative shadow-modal <%= overflow_classes %> <%= width_classes %> <%= height_classes %>">
    <div class="flex-1 flex flex-col justify-between">
      <div>
        <% if heading? %>
          <div class="p-6 pb-0 text-2xl tracking-normal font-semibold text-black">
            <%= heading %>
          </div>
        <% end %>
        <% if content? %>
          <div class="p-6 text-base text-gray-500">
            <%= content %>
          </div>
        <% end %>
      </div>
      <% if controls? %>
        <div class="flex justify-end items-baseline space-x-4 p-4 bg-gray-100">
          <%= controls %>
        </div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
avo-3.18.1 app/components/avo/modal_component.html.erb
avo-3.18.0 app/components/avo/modal_component.html.erb
avo-3.17.9.beta2 app/components/avo/modal_component.html.erb
avo-3.17.9.beta1 app/components/avo/modal_component.html.erb
avo-3.17.9 app/components/avo/modal_component.html.erb
avo-3.17.8 app/components/avo/modal_component.html.erb
avo-3.17.7 app/components/avo/modal_component.html.erb
avo-3.17.6 app/components/avo/modal_component.html.erb
avo-3.17.5 app/components/avo/modal_component.html.erb
avo-3.17.4 app/components/avo/modal_component.html.erb
avo-3.17.3 app/components/avo/modal_component.html.erb
avo-3.17.2 app/components/avo/modal_component.html.erb
avo-3.17.1 app/components/avo/modal_component.html.erb
avo-3.17.0 app/components/avo/modal_component.html.erb
avo-3.16.6 app/components/avo/modal_component.html.erb
avo-3.16.5 app/components/avo/modal_component.html.erb
avo-3.16.4 app/components/avo/modal_component.html.erb
avo-3.16.3 app/components/avo/modal_component.html.erb
avo-3.16.2 app/components/avo/modal_component.html.erb
avo-3.16.1 app/components/avo/modal_component.html.erb