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.17.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.16.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.15.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.15.1.pre.alpha.rubocop.deps app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.15.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.14.1.pre.alpha2 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.14.1.pre.alpha1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.14.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.13.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.13.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.13.0.pre.node.update app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.12.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.11.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.10.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.9.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.8.1.pre.alpha.flexdeps app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.9.0.pre.alpha1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.8.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.7.1 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
playbook_ui-10.7.0 app/pb_kits/playbook/pb_icon_circle/icon_circle.rb