Sha256: 84cdb6dad47aeb94246e95c7765b0db26d5e0f7060a5d15e2b94524a33f998b2

Contents?: true

Size: 814 Bytes

Versions: 14

Compression:

Stored size: 814 Bytes

Contents

<details class="ariadne-inline" <%= html_attrs.to_html %>>
  <summary class="ariadne-list-none ariadne-rounded" data-<%= stimulus_name %>-target="anchor">
    <%= button %>
  </summary>
  <details-menu
    class='<%= style(:popover, size:) %>'
    role="menu"
    data-<%= stimulus_name %>-target="popover"
    data-action="details-menu-selected->combobox#close">
    <% if show_search == :yes %>
      <div class="ariadne-p-1 ariadne-pb-0">
        <%= render UI::Input::Component.new(
          theme: :soft,
          width: :full,
          html_attrs: input_attrs
        ) %>
      </div>
    <% end %>
    <div class="<%= style(:options) %>"
      data-<%= stimulus_name %>-target="options">
      <% choices.each do |choice| %>
        <%= choice %>
      <% end %>
    </div>
  </details-menu>
</details>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.80.3 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.79.2 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.79.1 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.79 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.78 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.77 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.76.1 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.76 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.75 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.74.1 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.74 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.73 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.72 app/components/ariadne/ui/combobox/component.html.erb
ariadne_view_components-0.0.71 app/components/ariadne/ui/combobox/component.html.erb