Sha256: 2eff9ffba43b085a00f79ef348bf78fa1ce1e2f1ea56396c0758afbaabb092f2

Contents?: true

Size: 1 KB

Versions: 9

Compression:

Stored size: 1 KB

Contents

<div data-controller="search" class="global-search" data-turbo-remove-before-cache>
  <div class="inline-block"
    data-search-target="autocomplete"
    data-search-resource="global"
    data-translation-keys='{"no_item_found": "<%= I18n.translate 'avo.no_item_found' %>", "placeholder": "<%= I18n.translate 'avo.search.placeholder' %>", "cancel_button": "<%= I18n.translate 'avo.search.cancel_button' %>"}'
    data-debounce-timeout='<%= Avo.configuration.search_debounce %>'
  >
  </div>
  <div class="relative top-[-5px] inline-flex text-gray-400 text-sm leading-5 py-0.5 px-1.5 border border-gray-300 rounded-md cursor-pointer"
    data-search-target="button"
  >
    <span class="sr-only">Press </span>
    <kbd class="font-sans">
      <abbr title="Command" class="no-underline pc:hidden">⌘</abbr>
      <abbr title="CTRL" class="no-underline mac:hidden">CTRL +&nbsp; </abbr>
    </kbd>
    <span class="sr-only"> and </span>
    <kbd class="font-sans">K</kbd><span class="sr-only"> to search</span>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
avo-1.21.0.pre.1 app/views/avo/partials/_global_search.html.erb
avo-1.20.1 app/views/avo/partials/_global_search.html.erb
avo-1.19.1.pre.11 app/views/avo/partials/_global_search.html.erb
avo-1.19.1.pre.10 app/views/avo/partials/_global_search.html.erb
avo-1.19.1.pre.9 app/views/avo/partials/_global_search.html.erb
avo-1.19.1.pre.8 app/views/avo/partials/_global_search.html.erb
avo-1.19.1.pre.7 app/views/avo/partials/_global_search.html.erb
avo-1.19.1.pre.6 app/views/avo/partials/_global_search.html.erb
avo-1.19.1.pre.5 app/views/avo/partials/_global_search.html.erb