Sha256: a95605cfdff805df9205ef0620579420b0c15eea94b3091b097251a8145b5991

Contents?: true

Size: 489 Bytes

Versions: 45

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbProgressStep
    class ProgressStepItem < Playbook::KitBase
      prop :status, type: Playbook::Props::Enum,
                    values: %w[complete active inactive hidden],
                    default: "inactive"

      prop :icon, required: false, default: "check"

      def name_icon
        icon || "check"
      end

      def classname
        generate_classname("pb_progress_step_item", status)
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-10.0.2.pre.alpha.pre.iconfix app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-10.0.1 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-10.0.0 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.19.0 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.18.0 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.17.0 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.16.0 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.15.0 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.14.1 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb
playbook_ui-9.13.0 app/pb_kits/playbook/pb_progress_step/progress_step_item.rb