Sha256: 6f41a3e62f1badf3b0f58671a952fbb277adb09f9ce5bd396a1f9502c1e7d6a0

Contents?: true

Size: 1.56 KB

Versions: 125

Compression:

Stored size: 1.56 KB

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"
require "playbook/flex_direction"
require "playbook/flex_wrap"
require "playbook/justify_content"
require "playbook/justify_self"
require "playbook/align_items"
require "playbook/align_content"
require "playbook/align_self"
require "playbook/flex"
require "playbook/flex_grow"
require "playbook/flex_shrink"
require "playbook/order"
require "playbook/position"

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
    include Playbook::FlexDirection
    include Playbook::FlexWrap
    include Playbook::JustifyContent
    include Playbook::JustifySelf
    include Playbook::AlignItems
    include Playbook::AlignContent
    include Playbook::AlignSelf
    include Playbook::Flex
    include Playbook::FlexGrow
    include Playbook::FlexShrink
    include Playbook::Order
    include Playbook::Position

    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

125 entries across 125 versions & 1 rubygems

Version Path
playbook_ui-12.31.0.pre.alpha.multilevelnopillsdesigns944 lib/playbook/kit_base.rb
playbook_ui-12.31.0.pre.alpha.multilevelnopillsdesigns941 lib/playbook/kit_base.rb
playbook_ui-12.31.0.pre.alpha.PLAY814removemomentjs935 lib/playbook/kit_base.rb
playbook_ui-12.31.0.pre.alpha.PLAY814removemomentjs933 lib/playbook/kit_base.rb
playbook_ui-12.31.0.pre.alpha.datepickerdisableddatefix931 lib/playbook/kit_base.rb
playbook_ui-12.31.0.pre.alpha.customiconsfa928 lib/playbook/kit_base.rb
playbook_ui-12.31.0 lib/playbook/kit_base.rb
playbook_ui-12.30.1.pre.alpha.play846responsivespacingglobalpropsneedsdefault924 lib/playbook/kit_base.rb
playbook_ui-12.30.1.pre.alpha.PLAY906multilevelselectedidsprop917 lib/playbook/kit_base.rb
playbook_ui-12.30.1.pre.alpha.PLAY906multilevelselectedidsprop916 lib/playbook/kit_base.rb
playbook_ui-12.30.1.pre.alpha.hovertesting914 lib/playbook/kit_base.rb
playbook_ui-12.30.1.pre.alpha.PLAY906multilevelselectedidsprop912 lib/playbook/kit_base.rb
playbook_ui-12.30.1.pre.alpha.PLAY802responsivetitlekit909 lib/playbook/kit_base.rb
playbook_ui-12.30.0.pre.alpha.PLAY906multilevelselectedidsprop902 lib/playbook/kit_base.rb
playbook_ui-12.30.1 lib/playbook/kit_base.rb
playbook_ui-12.30.0 lib/playbook/kit_base.rb
playbook_ui-12.29.0.pre.alpha.play716popoverkitcloseonclickissue893 lib/playbook/kit_base.rb
playbook_ui-12.29.0 lib/playbook/kit_base.rb
playbook_ui-12.28.0.pre.alpha.PLAY863multilevelv2877 lib/playbook/kit_base.rb
playbook_ui-12.28.0.pre.alpha.PLAY863multilevelv2876 lib/playbook/kit_base.rb