Sha256: 069155e4611fc048bb5f343584998381144cedd2590187354a7dbc2c5da4a896

Contents?: true

Size: 466 Bytes

Versions: 160

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbLabelPill
    class LabelPill
      include Playbook::Props

      partial "pb_label_pill/label_pill"

      prop :variant, type: Playbook::Props::Enum,
                     values: %w[success warning error info neutral primary],
                     default: "neutral"
      prop :label
      prop :pill_value

      def classname
        generate_classname("pb_label_pill_kit")
      end
    end
  end
end

Version data entries

160 entries across 160 versions & 1 rubygems

Version Path
playbook_ui-7.0.1.pre.alpha15 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-6.8.2.pre.alpha1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.0.pre.alpha15 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.1.pre.alpha14 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.0.pre.alpha14 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.0.pre.alpha13 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.0.pre.alpha12 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.0.pre.alpha11 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-6.8.1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-6.8.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-6.7.0.pre.alpha1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-6.7.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-6.6.1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.0.pre.alpha10 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-6.6.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-6.5.2 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.1.pre.alpha12 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.1.pre.alpha11 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.0.1.pre.alpha10 app/pb_kits/playbook/pb_label_pill/label_pill.rb