Sha256: 3792a97045bd1c2fdb41b529ffd9f37d62a43866263128b1a9d4e9066497b305

Contents?: true

Size: 987 Bytes

Versions: 7

Compression:

Stored size: 987 Bytes

Contents

<details class="inline" <%= html_attrs.to_html %>>
  <summary class="list-none rounded" data-combobox-target="anchor">
    <%= content %>
  </summary>
  <details-menu
    class='<%= style(:popover, size:) %>'
    role="menu"
    data-combobox-target="popover"
    data-action="details-menu-selected->combobox#close">
    <% if show_search == :yes %>
      <div class="p-1 pb-0">
        <%= render UI::Input::Component.new(
          theme: :soft,
          width: :full,
          html_attrs: input_attrs
        ) %>
      </div>
    <% end %>
    <div class="<%= style(:options) %>"
      data-combobox-target="options">
      <%= options %>
      <div class="text-center" data-input-filter-target="emptyRoot">
        <% if any_options? %>
          <%= "no_options" %>
        <% else %>
          <span class="py-3 text-sm text-zinc-600 dark:text-zinc-400"><%= translate(:no_options) %></span>
        <% end %>
      </div>
    </div>
  </details-menu>
</details>
<%= selector %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.70 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.69 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.68 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.67 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.66 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.65 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.64 app/components/ariadne/ui/combobox/component.html.erb