Sha256: 7ce5e008aeda18449402b6a4633f6acd54283a24746c6c6bfd03dbb439084866

Contents?: true

Size: 1.8 KB

Versions: 83

Compression:

Stored size: 1.8 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"
require "playbook/hover"
require "playbook/border_radius"
require "playbook/text_align"
require "playbook/overflow"

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
    include Playbook::Hover
    include Playbook::BorderRadius
    include Playbook::TextAlign
    include Playbook::Overflow

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

    def object
      self
    end
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
playbook_ui-13.10.0.pre.alpha.play1054tableheadersortconsolidation1416 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.play10561409 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.dependabotnpmandyarntiptapextensionlink21121407 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21365 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21358 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.play10481357 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.play845addswiftkitspage1332 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.PLAY978alphatesthighcharts41330 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21328 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21323 lib/playbook/kit_base.rb
playbook_ui-13.10.0.pre.alpha.play978makehighchartsadevdependencypoc1322 lib/playbook/kit_base.rb
playbook_ui-13.10.0 lib/playbook/kit_base.rb
playbook_ui-13.9.0.pre.alpha.play978makehighchartsadevdependencypoc1292 lib/playbook/kit_base.rb
playbook_ui-13.9.0.pre.alpha.verdaccioregistry1277 lib/playbook/kit_base.rb
playbook_ui-13.9.0.pre.alpha.play845addswiftkitspage1273 lib/playbook/kit_base.rb
playbook_ui-13.9.0.pre.alpha.play845addswiftkitspage1272 lib/playbook/kit_base.rb
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1271 lib/playbook/kit_base.rb
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1270 lib/playbook/kit_base.rb
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1268 lib/playbook/kit_base.rb
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1266 lib/playbook/kit_base.rb