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