module Playbook::Right
def self.included(base)
def self.included(base) base.prop :right end
def right_options
def right_options { right: "right", } end
def right_props
def right_props selected_props = right_options.keys.select { |sk| try(sk) } return nil unless selected_props.present? selected_props.map do |k| value = send(k) css = positioning_css("right", value) if right.present? css end.compact.join(" ") end
def right_values
def right_values %w[0 xxs xs sm md lg xl auto initial inherit] end