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-13.32.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.31.0.pre.alpha.powercentrainplaybookpt23212 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.31.0.pre.alpha.PLAY10863204 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.31.0.pre.alpha.PLAY10863202 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.31.0.pre.alpha.PLAY882formpillprimaryandneutral3201 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.31.0.pre.alpha.play1262iconstyles3172 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.31.0.pre.alpha.play1262iconstyles3171 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.31.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.30.0.pre.alpha.play1367contenttagnoninputkits3159 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.30.0.pre.alpha.20240515remotebuildkitconversion3150 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.30.0.pre.alpha.PBNTR353draggablev53136 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.30.0.pre.alpha.PLAY1328fixtimelinekitglobalpropsreact3096 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.30.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.29.0.pre.alpha.removeduplicatekitexampleclass3063 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.29.0.pre.alpha.PBNTR329draggablev33060 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.29.0.pre.alpha.PBNTR329draggablev33059 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.29.0.pre.alpha.testingcollapsibleissue3052 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.29.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.28.0.pre.alpha.PBNTR297gradientoverlay3029 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-13.28.0.pre.alpha.pbntr312tableheaderflexremoval3019 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb