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-11.13.0.pre.alpha.fontawesome1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.13.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.12.1.pre.alpha.charts1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.12.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.12.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.11.0.pre.alpha.paginate1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.11.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.10.0.pre.alpha.pre.bold1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.10.0.pre.alpha.pagination1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.10.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.9.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.9.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.8.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-11.8.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb