Sha256: 7d81f3eec1003554c8e1839d43ce09edc8da83f17498ab4ecc21c922b4ef1a66

Contents?: true

Size: 1.62 KB

Versions: 14

Compression:

Stored size: 1.62 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength,Metrics/MethodLength
module Phlex
  module Icons
    module Tabler
      class BarrierBlock < Base
        def filled
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor'
          ) do |s|
            s.path(
              d:
                'M15 21a1 1 0 0 1 0 -2h1v-2h-8v2h1a1 1 0 0 1 0 2h-4a1 1 0 0 1 0 -2h1v-2h-1a2 2 0 0 1 -2 -2v-7a2 2 0 0 1 2 -2h1v-1a1 1 0 1 1 2 0v1h8v-1a1 1 0 0 1 2 0v1h1a2 2 0 0 1 2 2v7a2 2 0 0 1 -2 2h-1v2h1a1 1 0 0 1 0 2zm-2.086 -13l-7 7h4.17l6.916 -7zm6.086 2.914l-4.086 4.086h4.086zm-10.916 -2.914h-3.084v3.084z'
            )
          end
        end

        def outline
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'none',
            stroke: 'currentColor',
            stroke_width: '2',
            stroke_linecap: 'round',
            stroke_linejoin: 'round'
          ) do |s|
            s.path(
              d:
                'M4 7m0 1a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v7a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1z'
            )
            s.path(d: 'M7 16v4')
            s.path(d: 'M7.5 16l9 -9')
            s.path(d: 'M13.5 16l6.5 -6.5')
            s.path(d: 'M4 13.5l6.5 -6.5')
            s.path(d: 'M17 16v4')
            s.path(d: 'M5 20h4')
            s.path(d: 'M15 20h4')
            s.path(d: 'M17 7v-2')
            s.path(d: 'M7 7v-2')
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength,Metrics/MethodLength

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
phlex-icons-tabler-1.6.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-1.6.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-tabler-1.5.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-1.5.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-tabler-1.4.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-1.4.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-1.3.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-tabler-1.3.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-tabler-1.2.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-1.2.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-tabler-1.1.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-1.1.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-1.0.0 lib/phlex/icons/tabler/barrier_block.rb
phlex-icons-tabler-1.0.0 lib/phlex/icons/tabler/barrier_block.rb