<?php

namespace Fab\Feature;

! defined( 'WPINC ' ) or die;

/**
 * Initiate plugins
 *
 * @package    Fab
 * @subpackage Fab\Includes
 */
class Modal extends Feature {

    /**
     * FAB Modal Layout
     *
     * @var array
     */
    public static $layout = array(
        array(
            'id'   => 'background_image',
            'text' => 'Background Image',
        ),
        array(
            'text'     => 'Grid',
            'children' => array(
                array(
                    'id'   => 'grid-left',
                    'text' => 'Grid Left',
                ),
                array(
                    'id'   => 'grid-right',
                    'text' => 'Grid Right',
                ),
            ),
        ),
        array(
            'id'   => 'overflow',
            'text' => 'Overflow',
        ),
        array(
            'id'   => 'stacked',
            'text' => 'Stacked',
        ),
    );

    /**
     * FAB Modal Theme
     *
     * @var array
     */
    public static $theme = array(
        array(
            'id'   => 'blank',
            'text' => 'Blank',
        ),
        array(
            'id'   => 'window-light',
            'text' => 'Window Light',
        ),
        array(
            'id'   => 'window-dark',
            'text' => 'Window Dark',
        ),
    );

    /**
     * FAB Modal Size
     *
     * @var array
     */
    public static $size = array(
        array(
            'id'   => 'xsmall',
            'text' => 'XSmall',
        ),
        array(
            'id'   => 'small',
            'text' => 'Small',
        ),
        array(
            'id'   => 'medium',
            'text' => 'Medium',
        ),
        array(
            'id'   => 'large',
            'text' => 'Large',
        ),
        array(
            'id'   => 'xlarge',
            'text' => 'XLarge',
        ),
        array(
            'id'   => 'custom',
            'text' => 'Custom',
        ),
    );

    /**
     * Feature construect
     *
     * @return void
     * @var    object   $plugin     Feature configuration
     * @pattern prototype
     */
    public function __construct() {
        parent::__construct();
        $this->key         = 'core_modal';
        $this->name        = 'Modal';
        $this->description = 'Handles plugin core modal';
    }
}
