Sha256: 1157f1922e0b1b91870437091070e06a24214373636c53f442e9bac149527e77

Contents?: true

Size: 1.86 KB

Versions: 71

Compression:

Stored size: 1.86 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"
require "playbook/truncate"

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
    include Playbook::Truncate

    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

71 entries across 71 versions & 1 rubygems

Version Path
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnreactrouterdom62212196 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarntypescripteslintparser56202194 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PLAY12062192 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2183 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2181 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2180 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2179 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2178 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PLAY12062177 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2176 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnpowerhomeplaybookicons001alpha52175 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnpowerhomeplaybookicons001alpha52174 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2173 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2159 lib/playbook/kit_base.rb
playbook_ui-13.17.0.pre.alpha.nodealphaupgrade2157 lib/playbook/kit_base.rb
playbook_ui-13.18.0 lib/playbook/kit_base.rb
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2130 lib/playbook/kit_base.rb
playbook_ui-13.16.0.pre.alpha.PLAY12002127 lib/playbook/kit_base.rb
playbook_ui-13.16.0.pre.alpha.powercentrainplaybookpt22125 lib/playbook/kit_base.rb
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2107 lib/playbook/kit_base.rb