Sha256: 4b02eefed652156ec65c5a6de68c0c45ab3e3df26e3f70a03d14070aca157ba2

Contents?: true

Size: 684 Bytes

Versions: 157

Compression:

Stored size: 684 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbTimeline
    class Item
      include Playbook::Props

      partial "pb_timeline/item"

      prop :date
      prop :icon, type: Playbook::Props::String,
                  default: "user"
      prop :icon_color, type: Playbook::Props::Enum,
                        values: %w[default royal blue purple teal red yellow green],
                        default: "default"
      prop :line_style, type: Playbook::Props::Enum,
                        values: %w[solid dotted],
                        default: "solid"

      def classname
        generate_classname("pb_timeline_item_kit", line_style)
      end
    end
  end
end

Version data entries

157 entries across 157 versions & 1 rubygems

Version Path
playbook_ui-7.0.1.pre.alpha9 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-6.5.1 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-6.5.0 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.1.pre.alpha8 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.1.pre.alpha7 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.1.pre.alpha6 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.1.pre.alpha5 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.1.pre.alpha4 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.1.pre.alpha3 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.1.pre.alpha2 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-6.4.2 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.1.pre.alpha1 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.0.pre.alpha9 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.0.pre.alpha8 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.0.pre.alpha7 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-6.4.1 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.0.pre.alpha6 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-7.0.0.pre.alpha5 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-6.4.0 app/pb_kits/playbook/pb_timeline/item.rb
playbook_ui-6.3.1 app/pb_kits/playbook/pb_timeline/item.rb