Sha256: 3835f6b76dfe42bb43d7afbaa27081de3f404bb91634c0af702922d40d3dd70b

Contents?: true

Size: 447 Bytes

Versions: 33

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbSectionSeparator
    class SectionSeparator
      include Playbook::Props

      partial "pb_section_separator/section_separator"

      prop :text
      prop :variant, type: Playbook::Props::Enum,
                 values: %w[card background],
                 default: "card"

      def classname
        generate_classname("pb_section_separator_kit",variant)
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
playbook_ui-4.11.0 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.10.0 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.9.0 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.8.2 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.8.1 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.7.1 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.7.0 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.6.1 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.6.0 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.5.2 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.5.1 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.5.0 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.4.1 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.4.0 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.3.1 app/pb_kits/playbook/pb_section_separator/section_separator.rb
playbook_ui-4.3.0 app/pb_kits/playbook/pb_section_separator/section_separator.rb