Sha256: 30917bee380c5553069dc77976dd4e5acc5684b4dafd9f7c76f4dee9ff776848

Contents?: true

Size: 808 Bytes

Versions: 21

Compression:

Stored size: 808 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  module Icons
    # This is the magnifing glass icon for the search button.
    # You can override the default svg by setting:
    #   Blacklight::Icons::SearchComponent.svg = '<svg>your SVG here</svg>'
    class SearchComponent < Blacklight::Icons::IconComponent
      self.svg = <<~SVG
        <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true" width="24" height="24" viewBox="0 0 24 24">
          <path fill="none" d="M0 0h24v24H0V0z"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
        </svg>
      SVG
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
blacklight-8.6.1 app/components/blacklight/icons/search_component.rb
blacklight-8.6.0 app/components/blacklight/icons/search_component.rb
blacklight-8.5.1 app/components/blacklight/icons/search_component.rb
blacklight-8.5.0 app/components/blacklight/icons/search_component.rb
blacklight-8.4.0 app/components/blacklight/icons/search_component.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/app/components/blacklight/icons/search_component.rb
blacklight-8.3.0 app/components/blacklight/icons/search_component.rb
blacklight-8.2.2 app/components/blacklight/icons/search_component.rb
blacklight-8.2.1 app/components/blacklight/icons/search_component.rb
blacklight-8.2.0 app/components/blacklight/icons/search_component.rb
blacklight-8.1.0 app/components/blacklight/icons/search_component.rb
blacklight-8.0.1 app/components/blacklight/icons/search_component.rb
blacklight-8.0.0 app/components/blacklight/icons/search_component.rb
blacklight-8.0.0.beta8 app/components/blacklight/icons/search_component.rb
blacklight-8.0.0.beta7 app/components/blacklight/icons/search_component.rb
blacklight-8.0.0.beta6 app/components/blacklight/icons/search_component.rb
blacklight-8.0.0.beta5 app/components/blacklight/icons/search_component.rb
blacklight-8.0.0.beta4 app/components/blacklight/icons/search_component.rb
blacklight-8.0.0.beta3 app/components/blacklight/icons/search_component.rb
blacklight-8.0.0.beta2 app/components/blacklight/icons/search_component.rb