lib/playbook/kit_base.rb in playbook_ui-10.21.0 vs lib/playbook/kit_base.rb in playbook_ui-10.21.1.pre.alpha1
- old
+ new
@@ -6,10 +6,21 @@
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"
module Playbook
class KitBase < ViewComponent::Base
include Playbook::PbKitHelper
include Playbook::Props
@@ -19,9 +30,20 @@
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
prop :id
prop :data, type: Playbook::Props::Hash, default: {}
prop :aria, type: Playbook::Props::Hash, default: {}
prop :children, type: Playbook::Props::Proc