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-14.2.0.pre.alpha.PLAY15063624 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.2.0.pre.alpha.play1432playgroundsanitation3622 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.2.0.pre.alpha.PLAY15063621 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.2.0.pre.alpha.PLAY15063620 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.2.0.pre.alpha.PLAY15063619 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.2.0.pre.alpha.PLAY15063618 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.3.0.pre.rc.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PLAY15063617 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PLAY15063616 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PLAY15063615 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PLAY15063614 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PLAY15063613 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PLAY15063612 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PLAY15063610 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PBNTR417addcolorsupdatedefaultcolor3608 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PBNTR449rtepreviewerrails3605 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PA1477timestampkit3601 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.PBNTR462starratingdefaultvalue3600 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.pbntr373enablekitsforradio3595 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-14.1.0.pre.alpha.pbntr373enablekitsforradio3593 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb