'use strict';

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _react3 = require('@storybook/react');

var _addonKnobs = require('@storybook/addon-knobs');

var _index = require('./index');

var _index2 = _interopRequireDefault(_index);

var _FooterSlim = require('./FooterSlim.md');

var _FooterSlim2 = _interopRequireDefault(_FooterSlim);

var _stateseal = require('../../../assets/images/stateseal.png');

var _stateseal2 = _interopRequireDefault(_stateseal);

var _index3 = require('../../../index');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

(0, _react3.storiesOf)('organisms', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('FooterSlim', function () {
  var siteLogoProps = {
    url: {
      domain: (0, _addonKnobs.text)('FooterSlim siteLogo: url domain', 'https://www.mass.gov/', 'SiteLogo')
    },
    image: {
      src: (0, _addonKnobs.text)('FooterSlim siteLogo: image src', _stateseal2.default, 'SiteLogo'),
      alt: (0, _addonKnobs.text)('FooterSlim siteLogo: image alt', 'Massachusetts state seal', 'SiteLogo'),
      width: (0, _addonKnobs.number)('FooterSlim siteLogo: image width', 45, 'SiteLogo'),
      height: (0, _addonKnobs.number)('FooterSlim siteLogo: image height', 45, 'SiteLogo')
    },
    siteName: (0, _addonKnobs.text)('FooterSlim siteLogo: siteName', 'Mass.gov', 'SiteLogo'),
    title: (0, _addonKnobs.text)('FooterSlim siteLogo: title', 'Mass.gov homepage', 'SiteLogo')
  };
  var props = {
    title: (0, _addonKnobs.text)('title', 'Massachusetts Executive Office of Eductation (EDU)'),
    description: (0, _addonKnobs.text)('description', "The Department of Early Education and Care'&apos;'s mission is to support the healthy growth and development of all children by providing high quality programs and resources for families"),
    links: (0, _addonKnobs.object)('links', [{ href: '#', title: 'Lead Agencies Policies' }, { href: '#', title: 'Child Care Licensing Procedures' }]),
    contact: {
      address: (0, _addonKnobs.text)('FooterSlim contact: address', '51 Sleeper St. 4th Floor, Boston, MA 02210', 'Contact'),
      phone: (0, _addonKnobs.text)('FooterSlim contact: phone', '(617) 988-6600', 'Contact'),
      online: {
        href: (0, _addonKnobs.text)('FooterSlim contact: online href', '#', 'Contact'),
        title: (0, _addonKnobs.text)('FooterSlim contact: online title', 'EEC Official Website', 'Contact')
      }
    },
    siteLogo: _react2.default.createElement(_index3.SiteLogo, siteLogoProps)
  };
  return _react2.default.createElement(_index2.default, props);
}, { info: _FooterSlim2.default });