Sha256: 67b969c84b8c764d28e926f0d9d52f85017079d2047964923f7010bad36ff807

Contents?: true

Size: 1.09 KB

Versions: 68

Compression:

Stored size: 1.09 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"
>
  <div aria-expanded="true" class="modal-overlay absolute w-full h-full bg-opacity-25 bg-gray-800 flex justify-center items-center" 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-auto <%= 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

68 entries across 68 versions & 1 rubygems

Version Path
avo-3.4.1 app/components/avo/modal_component.html.erb
avo-3.4.0 app/components/avo/modal_component.html.erb
avo-3.3.6 app/components/avo/modal_component.html.erb
avo-3.3.5 app/components/avo/modal_component.html.erb
avo-3.3.4 app/components/avo/modal_component.html.erb
avo-3.3.3 app/components/avo/modal_component.html.erb
avo-3.3.2 app/components/avo/modal_component.html.erb
avo-3.3.1 app/components/avo/modal_component.html.erb
avo-3.3.0 app/components/avo/modal_component.html.erb
avo-3.2.3 app/components/avo/modal_component.html.erb
avo-3.2.2 app/components/avo/modal_component.html.erb
avo-3.2.1 app/components/avo/modal_component.html.erb
avo-3.2.0 app/components/avo/modal_component.html.erb
avo-3.1.7 app/components/avo/modal_component.html.erb
avo-3.1.6 app/components/avo/modal_component.html.erb
avo-3.1.5 app/components/avo/modal_component.html.erb
avo-3.1.4 app/components/avo/modal_component.html.erb
avo-3.1.3 app/components/avo/modal_component.html.erb
avo-3.1.2 app/components/avo/modal_component.html.erb
avo-3.1.1 app/components/avo/modal_component.html.erb