Sha256: 4a46eac3d15c9a8e57a29c90916cb5feb23877eb67b76aaf7ad83217b79ec697

Contents?: true

Size: 448 Bytes

Versions: 10

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbCollapsible
    class CollapsibleContent
      include Playbook::Props

      partial "pb_collapsible/child_kits/collapsible_content"

      def data
        Hash(values[:data]).merge(
          collapsible_content: true
        )
      end

      def classname
        generate_classname("pb_collapsible_content_kit", "toggle-content", padding, separator: " ")
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.4.0.pre.alpha5 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.4.0.pre.alpha2 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.3.0.pre.alpha12 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.3.0.pre.alpha11 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.3.0.pre.alpha10 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.3.0.pre.alpha9 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.3.0.pre.alpha7 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.3.0.pre.alpha3 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
playbook_ui-7.3.0.pre.alpha2 app/pb_kits/playbook/pb_collapsible/collapsible_content.rb