Sha256: 73b1843c8699cde9ffeb6878f919d8380d8f66dfde9f4738ba554c74d008a12f

Contents?: true

Size: 846 Bytes

Versions: 11

Compression:

Stored size: 846 Bytes

Contents

# frozen_string_literal: true

require "playbook/classnames"
require "playbook/spacing"
require "playbook/z_index"
require "playbook/number_spacing"
require "playbook/shadow"
require "playbook/line_height"
require "playbook/display"
require "playbook/cursor"

module Playbook
  class KitBase < ViewComponent::Base
    include Playbook::PbKitHelper
    include Playbook::Props
    include Playbook::Classnames
    include Playbook::Spacing
    include Playbook::ZIndex
    include Playbook::NumberSpacing
    include Playbook::Shadow
    include Playbook::LineHeight
    include Playbook::Display
    include Playbook::Cursor

    prop :id
    prop :data, type: Playbook::Props::Hash, default: {}
    prop :aria, type: Playbook::Props::Hash, default: {}
    prop :children, type: Playbook::Props::Proc

    def object
      self
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
playbook_ui-10.23.0.pre.cachetest lib/playbook/kit_base.rb
playbook_ui-10.21.0.pre.alpha.lightbox.2 lib/playbook/kit_base.rb
playbook_ui-10.21.0 lib/playbook/kit_base.rb
playbook_ui-10.21.0.pre.alpha.lightbox lib/playbook/kit_base.rb
playbook_ui-10.21.0.pre.alpha.jg1 lib/playbook/kit_base.rb
playbook_ui-10.21.0.pre.alpha.na1 lib/playbook/kit_base.rb
playbook_ui-10.21.0.pre.alpha.jd1 lib/playbook/kit_base.rb
playbook_ui-10.20.0 lib/playbook/kit_base.rb
playbook_ui-10.19.0 lib/playbook/kit_base.rb
playbook_ui-10.19.0.pre.lightbox lib/playbook/kit_base.rb
playbook_ui-10.19.0.pre.popover.alpha1 lib/playbook/kit_base.rb