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.28.0.pre.alpha.PLAY814removemomentjs871 lib/playbook/kit_base.rb
playbook_ui-12.28.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown869 lib/playbook/kit_base.rb
playbook_ui-12.28.0.pre.alpha.PLAY837MapCustomButton868 lib/playbook/kit_base.rb
playbook_ui-12.28.0.pre.alpha.20230613implementbakesupport865 lib/playbook/kit_base.rb
playbook_ui-12.28.0 lib/playbook/kit_base.rb
playbook_ui-12.27.0.pre.alpha.expandednotworking853 lib/playbook/kit_base.rb
playbook_ui-12.27.0 lib/playbook/kit_base.rb
playbook_ui-12.26.1.pre.alpha.railsmultilevelimprovements842 lib/playbook/kit_base.rb
playbook_ui-12.26.1.pre.alpha.railsmultilevelimprovements837 lib/playbook/kit_base.rb
playbook_ui-12.26.1.pre.alpha.PLAY860PhoneNumInputOptions836 lib/playbook/kit_base.rb
playbook_ui-12.26.1.pre.alpha.railsmultilevelimprovements835 lib/playbook/kit_base.rb
playbook_ui-12.26.1.pre.alpha.play716popoverkitcloseonclickissue833 lib/playbook/kit_base.rb
playbook_ui-12.26.1.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown831 lib/playbook/kit_base.rb
playbook_ui-12.26.1 lib/playbook/kit_base.rb
playbook_ui-12.26.0.pre.alpha.multiselectfixes825 lib/playbook/kit_base.rb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown822 lib/playbook/kit_base.rb
playbook_ui-12.26.0.pre.alpha.multiselectfixes821 lib/playbook/kit_base.rb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown818 lib/playbook/kit_base.rb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown817 lib/playbook/kit_base.rb
playbook_ui-12.26.0.pre.alpha.PLAY603datepickerquickpickinputpresetdropdown815 lib/playbook/kit_base.rb