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.9.1.pre.alpha.menucleanup345 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.9.1.pre.alpha.menucleanup342 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.9.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.9.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark301 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0.pre.alpha.PLAY625phonenumberdark300 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0.pre.alpha.PLAY649mapkitstyles299 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep298 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep297 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease296 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease295 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease294 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.8.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease293 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease292 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease291 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.7.1.pre.alpha.alpharubyrelease281 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.7.1.pre.alpha.menu2 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.7.1.pre.alpha.menu1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-12.7.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb