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.20.0.pre.alpha.PBNTR225advancedtablefeedback2375 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.PBNTR200addadvancedtablekitdarkmodestyles2346 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2345 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2342 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.play1186collapsiblenaviconcolorbug2321 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.PBNTR211tablekitsubcomponentsreact2318 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2306 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2305 lib/playbook/kit_base.rb
playbook_ui-13.20.0 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.play1141iconkitusinglibrary2264 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.PBNTR207tabledivsupport2261 lib/playbook/kit_base.rb
playbook_ui-13.19.0.pre.alpha.PBNTR207tabledivsupport2245 lib/playbook/kit_base.rb
playbook_ui-13.19.0 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.thor93bargraphoptions2219 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.thor93bargraphoptions2211 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.play1141iconkitusinglibrary2210 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PLAY12062203 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.powercentrainplaybookpt22201 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PLAY8672199 lib/playbook/kit_base.rb
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2197 lib/playbook/kit_base.rb