Sha256: 61945cb34c0954e759087ee6bcc0573dfa8fa7fec8c373afa8a11e7ee1053f0b

Contents?: true

Size: 649 Bytes

Versions: 150

Compression:

Stored size: 649 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbDialog
    class DialogHeader
      include Playbook::Props

      partial "pb_dialog/child_kits/dialog_header"

      prop :closeable, type: Playbook::Props::Boolean, default: true
      prop :padding
      prop :separator, type: Playbook::Props::Boolean, default: true
      prop :spacing
      prop :text
      prop :title

      def dialog_header_options
        {
          id: id,
          closeable: closeable,
          padding: padding,
          separator: separator,
          spacing: spacing,
          text: text,
          title: title,
        }
      end
    end
  end
end

Version data entries

150 entries across 150 versions & 1 rubygems

Version Path
playbook_ui-11.1.1.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-11.1.0 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-11.0.1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-11.0.0 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-11.0.0.pre.alpha.2 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-11.0.0.pre.alpha.1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.26.1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.27.0.pre.lazysizes1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.27.0.pre.datepicker1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.26.0 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.26.0.pre.alpha5 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.26.0.pre.rc1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.26.0.pre.alpha.sticky1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.26.0.pre.alpha.display1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.26.0.pre.alpha3 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.25.1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.26.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.25.0 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.25.0.pre.alpha3 app/pb_kits/playbook/pb_dialog/dialog_header.rb
playbook_ui-10.25.0.pre.treeshaking1 app/pb_kits/playbook/pb_dialog/dialog_header.rb