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.14.0.pre.alpha1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.16.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.15.1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.15.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.14.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.13.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.12.1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.12.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.11.1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.11.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_label_pill/label_pill.rb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_label_pill/label_pill.rb