Sha256: 379fabc5707b2b18a0edf79014cd3357de3e8761143b14ec4f6672dde708e7c9

Contents?: true

Size: 743 Bytes

Versions: 743

Compression:

Stored size: 743 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbCircleIconButton
    class CircleIconButton < Playbook::KitBase
      prop :type, type: Playbook::Props::Enum,
                  values: %w[button submit reset],
                  default: "button"
      prop :variant, type: Playbook::Props::Enum,
                     values: %w[primary secondary link],
                     default: "primary"
      prop :disabled, type: Playbook::Props::Boolean,
                      default: false
      prop :icon, required: true
      prop :link
      prop :new_window, type: Playbook::Props::Boolean,
                        default: false
      def classname
        generate_classname("pb_circle_icon_button_kit")
      end
    end
  end
end

Version data entries

743 entries across 743 versions & 1 rubygems

Version Path
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-10.0.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-10.0.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.19.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.18.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.17.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.16.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.15.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.14.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.13.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.12.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb