Sha256: 89ce2e14c3fe7bf0306e2b481a3f352b803968656bc51a8defbefad1e569bc14

Contents?: true

Size: 403 Bytes

Versions: 49

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbCard
    class CardBody
      include Playbook::Props

      partial "pb_card/child_kits/card_body"

      prop :padding, type: Playbook::Props::Enum,
                     values: %w[none xs sm md lg xl],
                     default: "md"

      def classname
        generate_classname("pb_card_body_kit", padding)
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
playbook_ui-4.17.0.pre.alpha1 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.16.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.15.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.14.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.13.1 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.13.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.12.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.11.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.10.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.9.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.8.2 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.8.1 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.7.1 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.7.0 app/pb_kits/playbook/pb_card/card_body.rb
playbook_ui-4.6.1 app/pb_kits/playbook/pb_card/card_body.rb