Sha256: 971d4e556abd1bf7c715b96e2af7e397778a1e6ab4f2933c0cbcc908da73a711

Contents?: true

Size: 851 Bytes

Versions: 44

Compression:

Stored size: 851 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 :loading, type: Playbook::Props::Boolean,
                     default: false
      prop :link
      prop :new_window, type: Playbook::Props::Boolean,
                        default: false
      prop :target
      def classname
        generate_classname("pb_circle_icon_button_kit")
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb