Sha256: 94eb1eb00670ffdd826e0a83092104a717e5d5d59beeec5c6a49993b876bdd57

Contents?: true

Size: 708 Bytes

Versions: 67

Compression:

Stored size: 708 Bytes

Contents

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

67 entries across 67 versions & 1 rubygems

Version Path
playbook_ui-9.10.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.9.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.8.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.7.0.pre.alphawidth1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.7.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.6.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.6.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.5.0.alpha.rs.downgrade app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.5.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.4.0.alpha.sisense app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.4.0.alpha.user.kit.bug app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.4.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.3.1.pre.alpha2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.4.0.pre.alpha2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.4.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb
playbook_ui-9.3.1.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.rb