Sha256: 9b77b7ae7b1fefb8ba87ca4c6581f54dd7829311bb1f69a3bc01044d7a384a4c

Contents?: true

Size: 558 Bytes

Versions: 124

Compression:

Stored size: 558 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 purple teal red yellow green],
                     default: "default"

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

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
playbook_ui-10.6.2.pre.alpha.dep app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.6.1.pre.alpha1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.6.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.5.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.4.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.3.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.2.1.alpha.sisensefix app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.2.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.2.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.1.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.0.3.pre.alpha.walkthrough2 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.0.3.pre.alpha.walkthrough app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.0.2.pre.alpha.pre.iconfix app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.0.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.0.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-9.19.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb