Sha256: d23771aa1e666d2b58881d50e78505c36304d25601c5aee8a10ba5f5492c5f85

Contents?: true

Size: 565 Bytes

Versions: 272

Compression:

Stored size: 565 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbIconCircle
    class IconCircle < Playbook::KitBase
      prop :icon, required: true
      prop :size, type: Playbook::Props::Enum,
                  values: %w[xs sm md base lg xl],
                  default: "md"
      prop :variant, type: Playbook::Props::Enum,
                     values: %w[default royal blue orange purple teal red yellow green],
                     default: "default"

      def classname
        generate_classname("pb_icon_circle_kit", size, variant)
      end
    end
  end
end

Version data entries

272 entries across 272 versions & 1 rubygems

Version Path
playbook_ui-12.7.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.6.0.pre.alpha.sectionseparator1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.6.0.pre.alpha.menuyml1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.6.0.pre.alpha.collapsible1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.6.0.pre.alpha.cssphone1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.6.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.5.0.pre.alpha.datepickerinput1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.5.0.pre.alpha.phonerails1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.5.0.pre.alpha.datepicker1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.5.0.pre.alpha.filter1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.5.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.4.0.pre.alpha.map1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.4.0.pre.alpha.devdocstest1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.4.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.3.1.pre.alpha.phone1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.3.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.3.0.pre.alpha.patchtest1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.3.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.2.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.1.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb