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.14.0.pre.alpha.PLAY1109bugdisplaypropblocksfontcolor1784 lib/playbook/kit_base.rb
playbook_ui-13.14.0.pre.alpha.play1106filter1751 lib/playbook/kit_base.rb
playbook_ui-13.14.0.pre.alpha.play1106filter1748 lib/playbook/kit_base.rb
playbook_ui-13.14.0 lib/playbook/kit_base.rb
playbook_ui-13.13.0.pre.alpha.PLAY1097linterenhancedelement1728 lib/playbook/kit_base.rb
playbook_ui-13.13.0.pre.alpha.play10821727 lib/playbook/kit_base.rb
playbook_ui-13.13.0.pre.alpha.play10821726 lib/playbook/kit_base.rb
playbook_ui-13.13.0.pre.alpha.play10221678 lib/playbook/kit_base.rb
playbook_ui-13.13.0.pre.alpha.PLAY1090csstokens1675 lib/playbook/kit_base.rb
playbook_ui-13.13.0.pre.alpha.play900startratingasinput1657 lib/playbook/kit_base.rb
playbook_ui-13.13.0 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.PLAY880cardkithighlightzindex1655 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.PLAY1081exportingtypes1627 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.PLAY1081exportingtypes1626 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1624 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1623 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.play900startratingasinput1612 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1611 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1609 lib/playbook/kit_base.rb
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1608 lib/playbook/kit_base.rb