Sha256: 18478be67aea5018ad2aac7fe331504f85fcfd8b6b781e32569e48eb48344254

Contents?: true

Size: 731 Bytes

Versions: 7

Compression:

Stored size: 731 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  module Icons
    # This is the remove (x) icon for the facets and constraints.
    # You can override the default svg by setting:
    #   Blacklight::Icons::RemoveComponent.svg = '<svg>your SVG here</svg>'
    class RemoveComponent < Blacklight::Icons::IconComponent
      self.svg = <<~SVG
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x fs-4" viewBox="0 0 16 16">
          <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/>
        </svg>
      SVG
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blacklight-8.8.0 app/components/blacklight/icons/remove_component.rb
blacklight-8.7.0 app/components/blacklight/icons/remove_component.rb
blacklight-8.6.1 app/components/blacklight/icons/remove_component.rb
blacklight-8.6.0 app/components/blacklight/icons/remove_component.rb
blacklight-8.5.1 app/components/blacklight/icons/remove_component.rb
blacklight-8.5.0 app/components/blacklight/icons/remove_component.rb
blacklight-8.4.0 app/components/blacklight/icons/remove_component.rb