From 6e1cb35b39dfee86273608c7b2923ea51009f4df Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Fri, 19 Oct 2018 13:00:34 +0200 Subject: [PATCH 1/9] New config with webpack --- .gitignore | 3 + dist/index.js | 4743 +---------------------------- package-lock.json | 2454 ++++++++++----- package.json | 10 +- src/components/text/styledText.js | 2 +- src/styleUtils.js | 2 +- webpack.config.js | 19 +- 7 files changed, 1801 insertions(+), 5432 deletions(-) diff --git a/.gitignore b/.gitignore index 1779982..0043142 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ node_modules/ .env.production.local build + +# Bundle size report +dist/report.html diff --git a/dist/index.js b/dist/index.js index ea29e01..ec995a2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4742 +1 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(require("react"), require("styled-components"), require("react-create-component-from-tag-prop"), require("lodash")); - else if(typeof define === 'function' && define.amd) - define("eyeem-components", ["react", "styled-components", "react-create-component-from-tag-prop", "_"], factory); - else if(typeof exports === 'object') - exports["eyeem-components"] = factory(require("react"), require("styled-components"), require("react-create-component-from-tag-prop"), require("lodash")); - else - root["eyeem-components"] = factory(root["react"], root["styled-components"], root["react-create-component-from-tag-prop"], root["_"]); -})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_0__, __WEBPACK_EXTERNAL_MODULE_1__, __WEBPACK_EXTERNAL_MODULE_6__, __WEBPACK_EXTERNAL_MODULE_7__) { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 10); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, exports) { - -module.exports = __WEBPACK_EXTERNAL_MODULE_0__; - -/***/ }), -/* 1 */ -/***/ (function(module, exports) { - -module.exports = __WEBPACK_EXTERNAL_MODULE_1__; - -/***/ }), -/* 2 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.idealTextColor = exports.isRgbaColor = exports.propsColorFromTheme = exports.alignItems = exports.fromPropsTernary = exports.fromProps = exports.fromTheme = exports.fromInternalTheme = exports.font = exports.media = exports.BREAKPOINTS = undefined; - -var _templateObject = _taggedTemplateLiteral(['\n @media (min-width: ', 'em) {\n ', ';\n }\n '], ['\n @media (min-width: ', 'em) {\n ', ';\n }\n ']); - -var _lodash = __webpack_require__(7); - -var _lodash2 = _interopRequireDefault(_lodash); - -var _styledComponents = __webpack_require__(1); - -var _theme = __webpack_require__(8); - -var theme = _interopRequireWildcard(_theme); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -// breakpoint lower limits -var BREAKPOINTS = exports.BREAKPOINTS = { - small: 0, - medium: 641, - large: 769, - xlarge: 1025 -}; - -// iterate through the sizes and create a media template -var media = exports.media = Object.keys(BREAKPOINTS).reduce(function (accumulator, label) { - // use em in breakpoints to work properly cross-browser and support users - // changing their browsers font-size: https://zellwk.com/blog/media-query-units/ - var emSize = BREAKPOINTS[label] / 16; - accumulator[label] = function () { - return (0, _styledComponents.css)(_templateObject, emSize, _styledComponents.css.apply(undefined, arguments)); - }; - return accumulator; -}, {}); - -var typeToFontFamily = { - regular: '"Sailec Regular", sans-serif', - bold: '"Sailec Bold", sans-serif', - light: '"Sailec Light", sans-serif' -}; - -var font = exports.font = function font() { - var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'regular' | 'light'; - return '\n font-weight: 300;\n font-family: ' + typeToFontFamily[type] + ';\n'; -}; - -var fromInternalTheme = exports.fromInternalTheme = function fromInternalTheme(selector) { - return function (props) { - return _lodash2.default.get(theme, selector); - }; -}; -var fromTheme = exports.fromTheme = function fromTheme(selector) { - return function (props) { - return _lodash2.default.get(props.theme, selector); - }; -}; -var fromProps = exports.fromProps = function fromProps(selector) { - return function (props) { - return _lodash2.default.get(props, selector); - }; -}; -var fromPropsTernary = exports.fromPropsTernary = function fromPropsTernary(selector, ifCase, elseCase) { - return function (props) { - if (_lodash2.default.get(props, selector)) { - return ifCase; - } - return elseCase; - }; -}; - -// Flexbox helper -var alignItems = exports.alignItems = function alignItems(position) { - return position ? '\n align-items: ' + position + ';\n ' : ''; -}; - -var propsColorFromTheme = exports.propsColorFromTheme = function propsColorFromTheme(selector) { - return function (props) { - return fromInternalTheme('colors.' + _lodash2.default.get(props, selector))(props); - }; -}; - -var isRgbaColor = exports.isRgbaColor = function isRgbaColor(color) { - return _lodash2.default.startsWith(color, 'rgba'); -}; - -var getRGBComponents = function getRGBComponents(color) { - if (isRgbaColor(color)) { - var rgba = color.match(/\d+/g); - return { - red: rgba[0], - green: rgba[1], - blue: rgba[2], - alpha: rgba[3] - }; - } - - var red = color.substring(1, 3); - var green = color.substring(3, 5); - var blue = color.substring(5, 7); - - return { - red: parseInt(red, 16), - green: parseInt(green, 16), - blue: parseInt(blue, 16) - }; -}; - -var idealTextColor = exports.idealTextColor = function idealTextColor(bgColor) { - var threshold = 105; - var components = getRGBComponents(bgColor); - var bgDelta = components.red * 0.299 + components.green * 0.587 + components.blue * 0.114; - - if (components.alpha && components.alpha < 0.4) { - return '#000000'; - } - - return 255 - bgDelta < threshold ? '#000000' : '#ffffff'; -}; - -/***/ }), -/* 3 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _templateObject = _taggedTemplateLiteral(['\n position: relative;\n margin-top: ', 'px;\n &:first-child {\n margin-top: 0;\n }\n'], ['\n position: relative;\n margin-top: ', 'px;\n &:first-child {\n margin-top: 0;\n }\n']); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _styleUtils = __webpack_require__(2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var FormRow = _styledComponents2.default.div(_templateObject, (0, _styleUtils.fromPropsTernary)('largeMargin', 40, 16)); - -exports.default = FormRow; - -/***/ }), -/* 4 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _templateObject = _taggedTemplateLiteral(['\n position: absolute;\n top: 45px;\n right: inherit;\n bottom: inherit;\n left: 12px;\n margin-right: 12px;\n margin-bottom: 20px;\n font-size: 12px;\n line-height: 16px;\n padding: 6px 12px 8px 12px;\n min-width: 100px;\n max-width: 320px;\n width: auto;\n text-align: left;\n white-space: inherit;\n\n z-index: 3;\n color: ', ';\n background: ', ';\n\n border-radius: ', ';\n box-shadow: 0 0 0 1px ', ';\n &:before,\n &:after {\n position: absolute;\n\n border-width: 0 8px 8px;\n border-color: ', ' transparent;\n border-style: solid;\n content: \'\';\n top: -8px;\n left: 16px;\n\n width: 0;\n }\n'], ['\n position: absolute;\n top: 45px;\n right: inherit;\n bottom: inherit;\n left: 12px;\n margin-right: 12px;\n margin-bottom: 20px;\n font-size: 12px;\n line-height: 16px;\n padding: 6px 12px 8px 12px;\n min-width: 100px;\n max-width: 320px;\n width: auto;\n text-align: left;\n white-space: inherit;\n\n z-index: 3;\n color: ', ';\n background: ', ';\n\n border-radius: ', ';\n box-shadow: 0 0 0 1px ', ';\n &:before,\n &:after {\n position: absolute;\n\n border-width: 0 8px 8px;\n border-color: ', ' transparent;\n border-style: solid;\n content: \'\';\n top: -8px;\n left: 16px;\n\n width: 0;\n }\n']); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _styleUtils = __webpack_require__(2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var Flyout = _styledComponents2.default.div(_templateObject, (0, _styleUtils.propsColorFromTheme)('fontColor'), (0, _styleUtils.propsColorFromTheme)('backgroundColor'), (0, _styleUtils.fromInternalTheme)('borderRadius'), (0, _styleUtils.fromInternalTheme)('colors.uncategorized.unnamed3'), (0, _styleUtils.propsColorFromTheme)('backgroundColor')); - -exports.default = Flyout; - -/***/ }), -/* 5 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var textSizes = exports.textSizes = { - default: { - font: { - small: 14, - medium: 16, - large: 16, - xlarge: 16 - }, - letterSpacing: 0.4 - }, - pStatic: { - font: { - small: 14, - medium: 14, - large: 14, - xlarge: 14 - }, - letterSpacing: 0 - }, - editorialBody: { - font: { - small: 18, - medium: 18, - large: 18, - xlarge: 18 - }, - letterSpacing: 0 - }, - pMin: { - font: { - small: 12, - medium: 12, - large: 12, - xlarge: 12 - }, - letterSpacing: 0 - }, - headline: { - font: { - small: 24, - medium: 32, - large: 40, - xlarge: 56 - }, - letterSpacing: 0.3 - }, - headline2: { - font: { - small: 20, - medium: 24, - large: 32, - xlarge: 40 - }, - letterSpacing: 0.3 - }, - headline2Pumped: { - font: { - small: 24, - medium: 28, - large: 36, - xlarge: 44 - }, - letterSpacing: 0.3 - }, - headline3: { - font: { - small: 18, - medium: 22, - large: 28, - xlarge: 32 - }, - letterSpacing: 0.3 - }, - headline4: { - font: { - small: 20, - medium: 20, - large: 24, - xlarge: 24 - }, - letterSpacing: 0.3 - }, - sub1: { - font: { - small: 16, - medium: 20, - large: 24, - xlarge: 24 - }, - letterSpacing: 0.3 - }, - sub2: { - font: { - small: 14, - medium: 24, - large: 24, - xlarge: 24 - }, - letterSpacing: 0 - }, - subHeader: { - font: { - small: 12, - medium: 12, - large: 14, - xlarge: 14 - }, - letterSpacing: 0 - }, - loudSub: { - font: { - small: 14, - medium: 14, - large: 14, - xlarge: 16 - }, - letterSpacing: 0.3 - }, - loud: { - font: { - small: 56, - medium: 48, - large: 56, - xlarge: 64 - }, - letterSpacing: 0.3 - }, - cap: { - font: { - small: 12, - medium: 14, - large: 14, - xlarge: 14 - }, - letterSpacing: 0 - }, - tableP: { - font: { - small: 14, - medium: 14, - large: 14, - xlarge: 16 - }, - letterSpacing: 0.3 - }, - sidebarP: { - font: { - small: 12, - medium: 12, - large: 12, - xlarge: 14 - }, - letterSpacing: 0 - }, - footerSection: { - font: { - small: 16, - medium: 16, - large: 16, - xlarge: 16 - }, - letterSpacing: 0.2 - }, - footerSub: { - font: { - small: 10, - medium: 10, - large: 10, - xlarge: 10 - }, - letterSpacing: 0.1 - }, - tablePrice: { - font: { - small: 40, - medium: 20, - large: 20, - xlarge: 20 - }, - letterSpacing: 0.2 - } -}; - -var textFonts = exports.textFonts = ['regular', 'bold']; -var textDisplays = exports.textDisplays = ['block', 'inline-block', 'inline']; -var textAligns = exports.textAligns = ['left', 'center', 'right']; -var textTopMargins = exports.textTopMargins = { - none: { - small: 0, - medium: 0, - large: 0, - xlarge: 0 - }, - regular: { - small: 36, - medium: 56, - large: 56, - xlarge: 56 - }, - xsmall: { - small: 4, - medium: 4, - large: 4, - xlarge: 8 - }, - xsmall2: { - small: 0, - medium: 0, - large: 2, - xlarge: 4 - }, - small: { - small: 16, - medium: 24, - large: 24, - xlarge: 24 - }, - smallStatic: { - small: 16, - medium: 16, - large: 16, - xlarge: 16 - }, - small2: { - small: 12, - medium: 12, - large: 12, - xlarge: 12 - }, - medium: { - small: 45, - medium: 68, - large: 76, - xlarge: 76 - }, - large: { - small: 48, - medium: 48, - large: 48, - xlarge: 48 - }, - large2: { - small: 40, - medium: 40, - large: 40, - xlarge: 40 - }, - xlarge: { - small: 104, - medium: 104, - large: 104, - xlarge: 104 - } -}; -var textColors = exports.textColors = { - default: { regular: 'blacks.black5' }, - black: { regular: 'blacks.black1' }, - green: { regular: 'solidColors.green' }, - white: { regular: 'whites.white' }, - grey1: { regular: 'greys.grey1' }, - grey2: { regular: 'greys.grey2' }, - grey3: { regular: 'greys.grey3' }, - orange: { regular: 'solidColors.orange' }, - opacityWhite: { - regular: 'uncategorized.unnamed28' - }, - link: { - regular: 'greys.grey3', - hover: 'greys.grey4', - active: 'blacks.black5' - }, - linkOnDark: { - regular: 'greys.grey4', - hover: 'whites.white', - active: 'greys.grey5' - }, - linkBlack: { - regular: 'blacks.black5', - hover: 'uncategorized.unnamed7', - active: 'blacks.black5' - }, - linkGreen: { - regular: 'solidColors.green', - hover: 'solidColors.greenHover', - active: 'solidColors.greenActive' - }, - linkOrange: { - regular: 'solidColors.orange', - hover: 'solidColors.orangeHover', - active: 'solidColors.orangeActive' - }, - linkRed: { - regular: 'solidColors.red', - hover: 'solidColors.redHover', - active: 'solidColors.redActive' - }, - linkWhite: { - regular: 'whites.white', - hover: 'greys.grey4', - active: 'greys.grey4' - } -}; - -var buttonColors = exports.buttonColors = { - default: { - fontRegular: 'whites.white', - bgRegular: 'uncategorized.unnamed1', - bgHover: 'greys.grey4', - bgActive: 'greys.grey3', - bgDisabled: 'greys.grey1', - fontDisabled: 'whites.white' - }, - green: { - fontRegular: 'whites.white', - bgRegular: 'solidColors.green', - bgHover: 'solidColors.greenHover', - bgActive: 'solidColors.greenActive', - bgDisabled: 'solidColors.greenHover', - fontDisabled: 'whites.white' - }, - greenFont: { - fontRegular: 'solidColors.green', - bgRegular: 'whites.transparent', - fontHover: 'whites.white', - bgHover: 'solidColors.green', - bgActive: 'solidColors.greenActive', - bgDisabled: 'whites.transparent', - fontDisabled: 'solidColors.green' - }, - orange: { - fontRegular: 'whites.white', - bgRegular: 'solidColors.orange', - bgHover: 'solidColors.orangeHover', - bgActive: 'solidColors.orangeActive', - bgDisabled: 'solidColors.orangeHover', - fontDisabled: 'whites.white' - }, - red: { - fontRegular: 'whites.white', - bgRegular: 'solidColors.red', - bgHover: 'solidColors.redHover', - bgActive: 'solidColors.redActive', - bgDisabled: 'greys.grey1', - fontDisabled: 'whites.white' - }, - white: { - fontRegular: 'blacks.black1', - bgRegular: 'whites.white', - bgHover: 'uncategorized.unnamed28', - bgActive: 'uncategorized.unnamed12', - bgDisabled: 'uncategorized.unnamed28', - fontDisabled: 'uncategorized.unnamed17' - }, - black: { - fontRegular: 'whites.white', - bgRegular: 'blacks.black1', - bgHover: 'blacks.black5', - bgActive: 'blacks.black1', - bgDisabled: 'blacks.black1', - fontDisabled: 'whites.white' - }, - bluePaypal: { - fontRegular: 'whites.white', - bgRegular: 'foreigns.paypal', - bgHover: 'foreigns.paypalHover', - bgActive: 'foreigns.paypalActive', - bgDisabled: 'foreigns.paypalDisabled', - fontDisabled: 'whites.white' - }, - whiteTrans: { - fontRegular: 'greys.grey1', - bgRegular: 'uncategorized.unnamed3', - bgHover: 'uncategorized.unnamed12', - bgActive: 'uncategorized.unnamed12', - bgDisabled: 'uncategorized.unnamed12', - fontDisabled: 'whites.white' - }, - blackTrans: { - fontRegular: 'whites.white', - bgRegular: 'uncategorized.unnamed10', - bgHover: 'uncategorized.unnamed8', - bgActive: 'uncategorized.unnamed8', - bgDisabled: 'uncategorized.unnamed8', - fontDisabled: 'whites.white' - }, - facebook: { - fontRegular: 'whites.white', - bgRegular: 'foreigns.facebook2', - bgHover: 'foreigns.facebook2Hover', - bgActive: 'foreigns.facebook2Active', - bgDisabled: 'foreigns.facebook2Disabled', - fontDisabled: 'whites.white' - }, - ghostWhite: { - fontRegular: 'whites.white', - bgRegular: 'whites.transparent', - bgDisabled: 'whites.transparent', - fontDisabled: 'whites.white', - borderRegular: 'whites.white', - borderHover: 'whites.white', - borderActive: 'whites.white' - }, - ghostGreen: { - fontRegular: 'solidColors.green', - bgRegular: 'whites.transparent', - bgDisabled: 'whites.transparent', - borderRegular: 'solidColors.green', - borderHover: 'solidColors.greenHover', - borderActive: 'solidColors.greenActive', - fontDisabled: 'solidColors.greenHover', - borderDisabled: 'solidColors.greenHover' - }, - ghostGrey: { - fontRegular: 'blacks.black5', - bgRegular: 'whites.transparent', - bgDisabled: 'whites.transparent', - borderRegular: 'greys.grey4', - fontDisabled: 'blacks.black5', - fontHover: 'solidColors.green', - fontActive: 'solidColors.green', - borderDisabled: 'blacks.black1', - borderHover: 'solidColors.green', - borderActive: 'solidColors.green' - }, - transparent: { - fontRegular: 'greys.grey3', - bgRegular: 'whites.transparent', - bgDisabled: 'whites.transparent', - bgHover: 'uncategorized.unnamed15', - fontHover: 'whites.white', - bgActive: 'whites.transparent' - } -}; - -// prefills some default values if they were omitted in the definitions -var getButtonColorSet = exports.getButtonColorSet = function getButtonColorSet(color) { - return _extends({ - borderRegular: 'whites.transparent', - borderHover: 'whites.transparent', - borderActive: 'whites.transparent', - borderDisabled: buttonColors[color].borderRegular || 'whites.transparent', - fontHover: buttonColors[color].fontRegular, - fontActive: buttonColors[color].fontRegular, - fontDisabled: buttonColors[color].fontRegular - }, buttonColors[color]); -}; - -var buttonSizes = exports.buttonSizes = { - default: { - fontSize: '16px', - lineHeight: '24px', - padding: '7px 15px', - maxHeight: '40px', - iconSize: '16' - }, - large: { - fontSize: '16px', - lineHeight: '24px', - padding: '11px 16px 12px 16px', - maxHeight: '48px', - iconSize: '18' - }, - small: { - fontSize: '14px', - lineHeight: '16px', - padding: '7px 15px', - maxHeight: '40px', - iconSize: '14' - }, - minimal: { - padding: '8px', - fontSize: '12px', - lineHeight: '16px', - maxHeight: '32px', - iconSize: '16' - } -}; - -var icons = exports.icons = { - eyeconfont: ['star', 'image', 'mail', 'phone', 'close', 'timing', 'prize', 'remove', 'alert', 'flag', 'embed', 'delete', 'edit', 'backToTop', 'contactEyeEm', 'contactFacebook', 'contactTwitter', 'contactTumblr'], - buttons: ['cart', 'checkmark', 'download', 'upload', 'compDownload', 'like', 'comment', 'addToLightbox', 'isInLightbox', 'dragndrop', 'share', 'facebook', 'paypal'], - services: ['dropbox', 'googledrive', 'flickr', 'picasa', 'instagram'], - uncategorized: ['leftArrow', 'rightArrow', 'leftArrow2', 'rightArrow2', 'plus', 'terms', 'market', 'growth', 'star2', 'star3'] -}; - -/***/ }), -/* 6 */ -/***/ (function(module, exports) { - -module.exports = __WEBPACK_EXTERNAL_MODULE_6__; - -/***/ }), -/* 7 */ -/***/ (function(module, exports) { - -module.exports = __WEBPACK_EXTERNAL_MODULE_7__; - -/***/ }), -/* 8 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -var colors = exports.colors = { - whites: { - white: '#ffffff', - pearlWhite: '#fafafa', - transparent: 'rgba(0,0,0,0)' - }, - - greys: { - grey1: '#666666', - grey2: '#888888', - grey3: '#999999', - grey4: '#cccccc', - grey5: '#e5e5e5', - grey6: '#f2f2f2', - grey7: '#f5f5f5' - }, - - blacks: { - black1: '#000000', - black2: '#111111', - black3: '#1d1d1d', - black4: '#292929', - black5: '#333333' - }, - - lightColors: { - lightRed: '#fff5f5', - lightBlue: '#e7f0fb' - }, - - solidColors: { - green: '#22cc88', - greenHover: '#4ed69f', - greenActive: '#1ba36c', - orange: '#ffaa33', - orangeHover: '#ffbb5b', - orangeActive: '#cc8828', - red: '#ff3333', - redHover: '#ff5b5b', - redActive: '#cc2828' - }, - - foreigns: { - tumblr: '#34465d', - twitter: '#55acee', - facebook1: '#3a5795', - facebook2: '#3b5998', - facebook2Hover: '#4c70ba', - facebook2Disabled: '#96abd6', - paypal: '#009cde', - paypalActive: '#007CB1', - paypalDisabled: '#7FCEEF', - paypalHover: '#008CC8' - }, - - uncategorized: { - unnamed1: '#b2b2b2', - unnamed3: 'rgba(255,255,255,.2)', - unnamed7: 'rgba(51,51,51,.6)', - unnamed8: 'rgba(0,0,0,.8)', - unnamed9: 'rgba(0,0,0,.6)', - unnamed10: 'rgba(0,0,0,.4)', - unnamed12: 'rgba(255,255,255,.3)', - unnamed13: 'rgba(255,255,255,.1)', - unnamed15: 'rgba(0,0,0,.1)', - unnamed16: 'rgba(0,0,0,.2)', - unnamed17: 'rgba(0,0,0,.7)', - unnamed24: '#ff6666', - unnamed28: 'rgba(255,255,255,.6)', - unnamed30: 'rgba(255,255,255,.5)', - unnamed31: '#5555ff', - unnamed39: 'rgba(0,0,0,.5)' - } -}; - -var borderRadius = exports.borderRadius = '2px'; - -/***/ }), -/* 9 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _icon = __webpack_require__(15); - -var _icon2 = _interopRequireDefault(_icon); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -exports.default = _icon2.default; - -/***/ }), -/* 10 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.globalStyles = exports.theme = exports.styleUtils = exports.styleConfig = exports.Flyout = exports.RadioGroup = exports.Checkbox = exports.FormRow = exports.Textarea = exports.StyledText = exports.Select = exports.Input = exports.Icon = exports.StyledButton = undefined; - -var _button = __webpack_require__(11); - -var _button2 = _interopRequireDefault(_button); - -var _icon = __webpack_require__(9); - -var _icon2 = _interopRequireDefault(_icon); - -var _formRow = __webpack_require__(3); - -var _formRow2 = _interopRequireDefault(_formRow); - -var _input = __webpack_require__(70); - -var _input2 = _interopRequireDefault(_input); - -var _select = __webpack_require__(71); - -var _select2 = _interopRequireDefault(_select); - -var _text = __webpack_require__(72); - -var _text2 = _interopRequireDefault(_text); - -var _textarea = __webpack_require__(75); - -var _textarea2 = _interopRequireDefault(_textarea); - -var _checkbox = __webpack_require__(76); - -var _checkbox2 = _interopRequireDefault(_checkbox); - -var _radioGroup = __webpack_require__(77); - -var _radioGroup2 = _interopRequireDefault(_radioGroup); - -var _flyout = __webpack_require__(4); - -var _flyout2 = _interopRequireDefault(_flyout); - -var _styleConfig = __webpack_require__(5); - -var styleConfig = _interopRequireWildcard(_styleConfig); - -var _styleUtils = __webpack_require__(2); - -var styleUtils = _interopRequireWildcard(_styleUtils); - -var _theme = __webpack_require__(8); - -var theme = _interopRequireWildcard(_theme); - -var _globalStyles = __webpack_require__(78); - -var _globalStyles2 = _interopRequireDefault(_globalStyles); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -exports.StyledButton = _button2.default; -exports.Icon = _icon2.default; -exports.Input = _input2.default; -exports.Select = _select2.default; -exports.StyledText = _text2.default; -exports.Textarea = _textarea2.default; -exports.FormRow = _formRow2.default; -exports.Checkbox = _checkbox2.default; -exports.RadioGroup = _radioGroup2.default; -exports.Flyout = _flyout2.default; -exports.styleConfig = styleConfig; -exports.styleUtils = styleUtils; -exports.theme = theme; -exports.globalStyles = _globalStyles2.default; - -/***/ }), -/* 11 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _button = __webpack_require__(12); - -var _button2 = _interopRequireDefault(_button); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -exports.default = _button2.default; - -/***/ }), -/* 12 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -var _styleConfig = __webpack_require__(5); - -var _styledButton = __webpack_require__(13); - -var _styledButton2 = _interopRequireDefault(_styledButton); - -var _styledIcon = __webpack_require__(14); - -var _styledIcon2 = _interopRequireDefault(_styledIcon); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function Button(props) { - return React.createElement( - _styledButton2.default, - { - renderAs: props.renderAs - // eslint-disable-next-line react/prop-types - , 'data-test-id': props['data-test-id'], - onClick: props.onClick, - display: props.display, - alignItems: props.alignItems, - href: props.href, - target: props.target, - id: props.id, - progress: props.progress, - className: props.className, - sizeValues: _styleConfig.buttonSizes[props.size], - disabled: props.disabled, - spinner: props.spinner, - fullWidth: props.fullWidth, - moveIconToLeft: props.moveIconToLeft, - colors: (0, _styleConfig.getButtonColorSet)(props.color), - title: props.title, - htmlFor: props.htmlFor - }, - props.icon && React.createElement(_styledIcon2.default, { - moveIconToLeft: props.moveIconToLeft, - size: _styleConfig.buttonSizes[props.size].iconSize, - type: props.icon, - marginRight: props.children ? '8px' : 0 - }), - props.children - ); -} - -Button.defaultProps = { - color: 'default', - size: 'default', - display: 'inline-block', - icon: false, - disabled: false, - spinner: false, - fullWidth: false, - moveIconToLeft: false, - renderAs: 'button' -}; - -exports.default = Button; - -/***/ }), -/* 13 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _templateObject = _taggedTemplateLiteral(['\n cursor: default;\n border-color: ', ';\n background-color: ', ';\n color: ', ';\n fill: ', ';\n &:focus,\n &:hover {\n color: ', ';\n fill: ', ';\n background-color: ', ';\n border-color: ', ';\n }\n &:active {\n background-color: ', ';\n border-color: ', ';\n }\n '], ['\n cursor: default;\n border-color: ', ';\n background-color: ', ';\n color: ', ';\n fill: ', ';\n &:focus,\n &:hover {\n color: ', ';\n fill: ', ';\n background-color: ', ';\n border-color: ', ';\n }\n &:active {\n background-color: ', ';\n border-color: ', ';\n }\n ']), - _templateObject2 = _taggedTemplateLiteral(['\n background-image: linear-gradient(\n to right,\n ', ' 0%,\n ', ' ', '%,\n ', ' ', '%,\n ', ' 100%\n );\n '], ['\n background-image: linear-gradient(\n to right,\n ', ' 0%,\n ', ' ', '%,\n ', ' ', '%,\n ', ' 100%\n );\n ']), - _templateObject3 = _taggedTemplateLiteral(['\n position: relative;\n display: ', ';\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: ', ';\n font-size: ', ';\n line-height: ', ';\n padding: ', ';\n max-height: ', ';\n border: 1px solid ', ';\n border-radius: ', ';\n background-color: ', ';\n color: ', ';\n fill: ', ';\n ', '\n vertical-align: top;\n text-decoration: none;\n text-shadow: none;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, border 0.2s ease-out,\n color 0.2s ease-out, fill 0.2s ease-out;\n pointer-events: all;\n &:focus,\n &:hover {\n color: ', ';\n fill: ', ';\n background-color: ', ';\n border-color: ', ';\n }\n &:active {\n background-color: ', ';\n border-color: ', ';\n }\n &:focus {\n outline: none;\n }\n ', ' ', ' ', ' ', ' ', ';\n'], ['\n position: relative;\n display: ', ';\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: ', ';\n font-size: ', ';\n line-height: ', ';\n padding: ', ';\n max-height: ', ';\n border: 1px solid ', ';\n border-radius: ', ';\n background-color: ', ';\n color: ', ';\n fill: ', ';\n ', '\n vertical-align: top;\n text-decoration: none;\n text-shadow: none;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, border 0.2s ease-out,\n color 0.2s ease-out, fill 0.2s ease-out;\n pointer-events: all;\n &:focus,\n &:hover {\n color: ', ';\n fill: ', ';\n background-color: ', ';\n border-color: ', ';\n }\n &:active {\n background-color: ', ';\n border-color: ', ';\n }\n &:focus {\n outline: none;\n }\n ', ' ', ' ', ' ', ' ', ';\n']); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _reactCreateComponentFromTagProp = __webpack_require__(6); - -var _reactCreateComponentFromTagProp2 = _interopRequireDefault(_reactCreateComponentFromTagProp); - -var _styleUtils = __webpack_require__(2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var ComponentFromTagProp = (0, _reactCreateComponentFromTagProp2.default)({ - tag: 'button', - prop: 'renderAs', - propsToOmit: ['renderAs', 'progress', 'sizeValues', 'spinner', 'fullWidth', 'moveIconToLeft', 'colors', 'display', 'alignItems'] -}); - -var disabled = function disabled(props) { - if (props.disabled || props.progress && props.progress < 100) { - return (0, _styledComponents.css)(_templateObject, (0, _styleUtils.propsColorFromTheme)('colors.borderDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.bgDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.fontDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.fontDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.fontDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.fontDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.bgDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.borderDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.bgDisabled'), (0, _styleUtils.propsColorFromTheme)('colors.borderDisabled')); - } - return ''; -}; - -var progress = function progress(props) { - if (props.progress && props.progress < 100) { - return (0, _styledComponents.css)(_templateObject2, (0, _styleUtils.propsColorFromTheme)('colors.bgRegular'), (0, _styleUtils.propsColorFromTheme)('colors.bgRegular'), (0, _styleUtils.fromProps)('progress'), (0, _styleUtils.propsColorFromTheme)('colors.bgDisabled'), (0, _styleUtils.fromProps)('progress'), (0, _styleUtils.propsColorFromTheme)('colors.bgDisabled')); - } - return ''; -}; - -var spinner = function spinner(props) { - if (props.spinner) { - var spinnerImg = props.colors && props.colors.bgRegular && ['ghost', 'white', 'trans'].filter(function (item) { - return props.colors.bgRegular.indexOf(item) !== -1; - }).length > 0 ? 'spinner-32-black.png' : 'spinner-32-white.png'; - - return '\n overflow: hidden;\n &:before {\n display: inline-block;\n margin-bottom: -2px;\n margin-right: ' + (props.children ? '12px' : '0') + ';\n\n width: 16px;\n height: 16px;\n background-image: url("/node-static/img/' + spinnerImg + '");\n background-position: center;\n background-size: 16px 16px;\n background-repeat: no-repeat;\n content: "";\n animation: spin .7s linear infinite;\n }\n '; - } - return ''; -}; - -var StyledButton = (0, _styledComponents2.default)(ComponentFromTagProp)(_templateObject3, function (props) { - return props.display; -}, (0, _styleUtils.fromPropsTernary)('fullWidth', '100%', 'auto'), (0, _styleUtils.fromProps)('sizeValues.fontSize'), (0, _styleUtils.fromProps)('sizeValues.lineHeight'), (0, _styleUtils.fromProps)('sizeValues.padding'), (0, _styleUtils.fromProps)('sizeValues.maxHeight'), (0, _styleUtils.propsColorFromTheme)('colors.borderRegular'), (0, _styleUtils.fromInternalTheme)('borderRadius'), (0, _styleUtils.propsColorFromTheme)('colors.bgRegular'), (0, _styleUtils.propsColorFromTheme)('colors.fontRegular'), (0, _styleUtils.propsColorFromTheme)('colors.fontRegular'), function (props) { - return (0, _styleUtils.alignItems)(props.alignItems); -}, (0, _styleUtils.propsColorFromTheme)('colors.fontHover'), (0, _styleUtils.propsColorFromTheme)('colors.fontHover'), (0, _styleUtils.propsColorFromTheme)('colors.bgHover'), (0, _styleUtils.propsColorFromTheme)('colors.borderHover'), (0, _styleUtils.propsColorFromTheme)('colors.bgActive'), (0, _styleUtils.propsColorFromTheme)('colors.borderActive'), (0, _styleUtils.fromPropsTernary)('moveIconToLeft', 'padding-left: 32px;', ''), (0, _styleUtils.font)('regular'), spinner, disabled, progress); - -exports.default = StyledButton; - -/***/ }), -/* 14 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _templateObject = _taggedTemplateLiteral(['\n margin-right: ', ';\n margin-bottom: -2px;\n ', ';\n'], ['\n margin-right: ', ';\n margin-bottom: -2px;\n ', ';\n']); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _styleUtils = __webpack_require__(2); - -var _icon = __webpack_require__(9); - -var _icon2 = _interopRequireDefault(_icon); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var iconLeftStyles = function iconLeftStyles(props) { - if (props.moveIconToLeft) { - var halfHeight = props.size / 2; - return '\n position: absolute;\n left: 12px;\n top: calc(50% - ' + halfHeight + 'px);\n margin-right: 0;\n margin-bottom: 0;\n '; - } - return ''; -}; - -var StyledIcon = (0, _styledComponents2.default)(_icon2.default)(_templateObject, (0, _styleUtils.fromProps)('marginRight'), iconLeftStyles); - -exports.default = StyledIcon; - -/***/ }), -/* 15 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _templateObject = _taggedTemplateLiteral(['\n fill: ', ';\n '], ['\n fill: ', ';\n ']); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _styleUtils = __webpack_require__(2); - -var _star = __webpack_require__(16); - -var _star2 = _interopRequireDefault(_star); - -var _star3 = __webpack_require__(17); - -var _star4 = _interopRequireDefault(_star3); - -var _star5 = __webpack_require__(18); - -var _star6 = _interopRequireDefault(_star5); - -var _star3Plus = __webpack_require__(19); - -var _star3Plus2 = _interopRequireDefault(_star3Plus); - -var _star3Minus = __webpack_require__(20); - -var _star3Minus2 = _interopRequireDefault(_star3Minus); - -var _image = __webpack_require__(21); - -var _image2 = _interopRequireDefault(_image); - -var _mail = __webpack_require__(22); - -var _mail2 = _interopRequireDefault(_mail); - -var _phone = __webpack_require__(23); - -var _phone2 = _interopRequireDefault(_phone); - -var _close = __webpack_require__(24); - -var _close2 = _interopRequireDefault(_close); - -var _timing = __webpack_require__(25); - -var _timing2 = _interopRequireDefault(_timing); - -var _prize = __webpack_require__(26); - -var _prize2 = _interopRequireDefault(_prize); - -var _remove = __webpack_require__(27); - -var _remove2 = _interopRequireDefault(_remove); - -var _alert = __webpack_require__(28); - -var _alert2 = _interopRequireDefault(_alert); - -var _flag = __webpack_require__(29); - -var _flag2 = _interopRequireDefault(_flag); - -var _embed = __webpack_require__(30); - -var _embed2 = _interopRequireDefault(_embed); - -var _delete = __webpack_require__(31); - -var _delete2 = _interopRequireDefault(_delete); - -var _backToTop = __webpack_require__(32); - -var _backToTop2 = _interopRequireDefault(_backToTop); - -var _contactEyeEm = __webpack_require__(33); - -var _contactEyeEm2 = _interopRequireDefault(_contactEyeEm); - -var _contactFacebook = __webpack_require__(34); - -var _contactFacebook2 = _interopRequireDefault(_contactFacebook); - -var _contactTwitter = __webpack_require__(35); - -var _contactTwitter2 = _interopRequireDefault(_contactTwitter); - -var _contactTumblr = __webpack_require__(36); - -var _contactTumblr2 = _interopRequireDefault(_contactTumblr); - -var _download = __webpack_require__(37); - -var _download2 = _interopRequireDefault(_download); - -var _upload = __webpack_require__(38); - -var _upload2 = _interopRequireDefault(_upload); - -var _checkmark = __webpack_require__(39); - -var _checkmark2 = _interopRequireDefault(_checkmark); - -var _cart = __webpack_require__(40); - -var _cart2 = _interopRequireDefault(_cart); - -var _compDownload = __webpack_require__(41); - -var _compDownload2 = _interopRequireDefault(_compDownload); - -var _addToLightbox = __webpack_require__(42); - -var _addToLightbox2 = _interopRequireDefault(_addToLightbox); - -var _isInLightbox = __webpack_require__(43); - -var _isInLightbox2 = _interopRequireDefault(_isInLightbox); - -var _lightbox = __webpack_require__(44); - -var _lightbox2 = _interopRequireDefault(_lightbox); - -var _like = __webpack_require__(45); - -var _like2 = _interopRequireDefault(_like); - -var _comment = __webpack_require__(46); - -var _comment2 = _interopRequireDefault(_comment); - -var _dragndrop = __webpack_require__(47); - -var _dragndrop2 = _interopRequireDefault(_dragndrop); - -var _share = __webpack_require__(48); - -var _share2 = _interopRequireDefault(_share); - -var _edit = __webpack_require__(49); - -var _edit2 = _interopRequireDefault(_edit); - -var _facebook = __webpack_require__(50); - -var _facebook2 = _interopRequireDefault(_facebook); - -var _dropbox = __webpack_require__(51); - -var _dropbox2 = _interopRequireDefault(_dropbox); - -var _googledrive = __webpack_require__(52); - -var _googledrive2 = _interopRequireDefault(_googledrive); - -var _flickr = __webpack_require__(53); - -var _flickr2 = _interopRequireDefault(_flickr); - -var _picasa = __webpack_require__(54); - -var _picasa2 = _interopRequireDefault(_picasa); - -var _instagram = __webpack_require__(55); - -var _instagram2 = _interopRequireDefault(_instagram); - -var _paypal = __webpack_require__(56); - -var _paypal2 = _interopRequireDefault(_paypal); - -var _plus = __webpack_require__(57); - -var _plus2 = _interopRequireDefault(_plus); - -var _leftArrow = __webpack_require__(58); - -var _leftArrow2 = _interopRequireDefault(_leftArrow); - -var _leftArrow3 = __webpack_require__(59); - -var _leftArrow4 = _interopRequireDefault(_leftArrow3); - -var _rightArrow = __webpack_require__(60); - -var _rightArrow2 = _interopRequireDefault(_rightArrow); - -var _rightArrow3 = __webpack_require__(61); - -var _rightArrow4 = _interopRequireDefault(_rightArrow3); - -var _terms = __webpack_require__(62); - -var _terms2 = _interopRequireDefault(_terms); - -var _market = __webpack_require__(63); - -var _market2 = _interopRequireDefault(_market); - -var _growth = __webpack_require__(64); - -var _growth2 = _interopRequireDefault(_growth); - -var _eyeEmVision = __webpack_require__(65); - -var _eyeEmVision2 = _interopRequireDefault(_eyeEmVision); - -var _trophy = __webpack_require__(66); - -var _trophy2 = _interopRequireDefault(_trophy); - -var _trophyPlus = __webpack_require__(67); - -var _trophyPlus2 = _interopRequireDefault(_trophyPlus); - -var _trophyMinus = __webpack_require__(68); - -var _trophyMinus2 = _interopRequireDefault(_trophyMinus); - -var _userFollow = __webpack_require__(69); - -var _userFollow2 = _interopRequireDefault(_userFollow); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var icons = { - star: _star2.default, - star2: _star4.default, - star3: _star6.default, - star3Plus: _star3Plus2.default, - star3Minus: _star3Minus2.default, - image: _image2.default, - mail: _mail2.default, - phone: _phone2.default, - close: _close2.default, - timing: _timing2.default, - prize: _prize2.default, - remove: _remove2.default, - alert: _alert2.default, - flag: _flag2.default, - embed: _embed2.default, - delete: _delete2.default, - backToTop: _backToTop2.default, - contactEyeEm: _contactEyeEm2.default, - contactFacebook: _contactFacebook2.default, - contactTwitter: _contactTwitter2.default, - contactTumblr: _contactTumblr2.default, - - cart: _cart2.default, - checkmark: _checkmark2.default, - compDownload: _compDownload2.default, - download: _download2.default, - upload: _upload2.default, - edit: _edit2.default, - dragndrop: _dragndrop2.default, - addToLightbox: _addToLightbox2.default, - isInLightbox: _isInLightbox2.default, - lightboxIcon: _lightbox2.default, - like: _like2.default, - comment: _comment2.default, - share: _share2.default, - facebook: _facebook2.default, - - dropbox: _dropbox2.default, - googledrive: _googledrive2.default, - flickr: _flickr2.default, - picasa: _picasa2.default, - instagram: _instagram2.default, - paypal: _paypal2.default, - - leftArrow: _leftArrow2.default, - leftArrow2: _leftArrow4.default, - rightArrow: _rightArrow2.default, - rightArrow2: _rightArrow4.default, - plus: _plus2.default, - terms: _terms2.default, - market: _market2.default, - growth: _growth2.default, - eyeEmVision: _eyeEmVision2.default, - trophy: _trophy2.default, - trophyPlus: _trophyPlus2.default, - trophyMinus: _trophyMinus2.default, - - userFollow: _userFollow2.default -}; - -function Icon(props) { - var Component = icons[props.type] || _star2.default; - - if (props.color) { - Component = (0, _styledComponents2.default)(Component)(_templateObject, (0, _styleUtils.fromInternalTheme)('colors.' + props.color)); - } - - return React.createElement(Component, { - className: props.className, - id: props.id, - size: props.size, - iconProps: props.iconProps - }); -} - -Icon.defaultProps = { - color: undefined -}; - -exports.default = Icon; - -/***/ }), -/* 16 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function StarIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 14 14" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-2997.000000, -452.000000)" }, - React.createElement( - "g", - { transform: "translate(2998.000000, 453.000000)" }, - React.createElement("polygon", { points: "6 8.7 2.47328849 10.854102 3.43214741 6.83434588 0.293660902 4.14589803 4.41297982 3.81565412 6 0 7.58702018 3.81565412 11.7063391 4.14589803 8.56785259 6.83434588 9.52671151 10.854102 " }) - ), - React.createElement("g", { transform: "translate(2997.000000, 452.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -StarIcon.defaultProps = { - size: 14 -}; - -exports.default = StarIcon; - -/***/ }), -/* 17 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function Star2Icon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 14 14" }, - React.createElement("path", { d: "M6.79 11.696l-2.362 1.24c-.49.258-1.094.07-1.35-.42-.103-.194-.138-.417-.1-.634l.45-2.628c.055-.325-.052-.656-.288-.885L1.23 6.505c-.395-.386-.403-1.02-.018-1.414.154-.158.355-.26.572-.292l2.64-.382c.326-.048.607-.252.753-.547l1.18-2.39c.245-.495.844-.7 1.34-.454.197.097.356.257.454.454l1.18 2.39c.148.296.43.5.755.548l2.64.383c.546.08.925.59.845 1.136-.033.217-.135.418-.292.572l-1.91 1.862c-.236.228-.344.56-.288.884l.45 2.628c.094.545-.27 1.062-.816 1.155-.216.037-.44.002-.634-.1l-2.36-1.24c-.292-.155-.64-.155-.93 0z" }) - ); -} -/* eslint-disable max-len */ - - -Star2Icon.defaultProps = { - size: 14 -}; - -exports.default = Star2Icon; - -/***/ }), -/* 18 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function Star3Icon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 24 24" }, - React.createElement("path", { d: "M11.535 17.425l-3.41 1.793c-.488.257-1.093.07-1.35-.42-.102-.195-.138-.418-.1-.635l.65-3.796c.056-.324-.05-.655-.287-.885L4.28 10.794c-.395-.385-.403-1.02-.018-1.414.154-.158.355-.26.572-.292l3.812-.554c.325-.047.607-.25.753-.547l1.703-3.453c.245-.495.844-.7 1.34-.454.197.097.356.257.454.454L14.6 7.987c.147.296.428.5.754.547l3.81.554c.548.08.927.587.847 1.134-.03.217-.133.418-.29.572l-2.758 2.688c-.236.23-.343.56-.288.885l.65 3.796c.095.545-.27 1.062-.815 1.155-.218.037-.44.002-.636-.1l-3.41-1.793c-.29-.153-.638-.153-.93 0z" }) - ); -} -/* eslint-disable max-len */ - - -Star3Icon.defaultProps = { - size: 24 -}; - -exports.default = Star3Icon; - -/***/ }), -/* 19 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function Star3Plus(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: 20, - width: 31, - viewBox: "0 0 24 24" }, - React.createElement("path", { d: "M7.544 15.132L4.11 16.89a1 1 0 0 1-1.441-1.065l.642-3.647a1.005 1.005 0 0 0-.297-.9L.312 8.715A1.002 1.002 0 0 1 .86 6.998l3.784-.535a1 1 0 0 0 .752-.538l1.712-3.377a1 1 0 0 1 1.784 0l1.712 3.377c.148.292.43.492.752.538l3.784.535a1 1 0 0 1 .548 1.716l-2.703 2.565a.997.997 0 0 0-.297.898l.643 3.648a1 1 0 0 1-1.44 1.064l-3.434-1.758a1.004 1.004 0 0 0-.912 0zM26 6v8h2V6" }), - React.createElement("path", { d: "M31 9h-8v2h8" }) - ); -} -/* eslint-disable max-len */ -exports.default = Star3Plus; - -/***/ }), -/* 20 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function Star3Minus(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: 20, - width: 31, - viewBox: "0 0 24 24" }, - React.createElement("path", { d: "M7.54 15.13l-3.43 1.76c-.49.25-1.09.06-1.35-.44a.972.972 0 0 1-.09-.63l.64-3.64a.982.982 0 0 0-.3-.9L.31 8.71A.996.996 0 0 1 .28 7.3.99.99 0 0 1 .86 7l3.78-.54c.33-.04.61-.24.76-.54l1.71-3.37a.99.99 0 0 1 1.34-.44c.19.09.35.25.44.44l1.71 3.37c.15.3.43.5.76.54l3.78.54a.995.995 0 0 1 .55 1.71l-2.7 2.57c-.25.23-.36.57-.3.9l.64 3.64c.1.55-.26 1.07-.81 1.16a.99.99 0 0 1-.63-.09l-3.43-1.76a.976.976 0 0 0-.91 0h-.01zm0 0M31 9h-8v2h8" }), - ' ' - ); -} -/* eslint-disable max-len */ -exports.default = Star3Minus; - -/***/ }), -/* 21 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function ImageIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-973.000000, -369.000000)" }, - React.createElement( - "g", - { transform: "translate(225.000000, 117.000000)" }, - React.createElement("path", { d: "M748,266.494759 C748,267.326081 748.66713,268 749.505241,268 L762.494759,268 C763.326081,268 764,267.33287 764,266.494759 L764,253.505241 C764,252.673919 763.33287,252 762.494759,252 L749.505241,252 C748.673919,252 748,252.66713 748,253.505241 L748,266.494759 Z M749,253 L763,253 L763,267 L749,267 L749,253 Z M758.5,259 C759.328427,259 760,258.328427 760,257.5 C760,256.671573 759.328427,256 758.5,256 C757.671573,256 757,256.671573 757,257.5 C757,258.328427 757.671573,259 758.5,259 Z M749,264.5 L749,267 L763,267 L763,265.5 L759.5,262 L757.5,264 L753.5,260 L749,264.5 Z" }) - ), - React.createElement("g", { transform: "translate(225.000000, 115.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -ImageIcon.defaultProps = { - size: 16 -}; - -exports.default = ImageIcon; - -/***/ }), -/* 22 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function MailIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-2655.000000, -369.000000)" }, - React.createElement( - "g", - { transform: "translate(2615.000000, 111.000000)" }, - React.createElement("path", { d: "M40.3737852,260.506536 C40.6485546,260.195921 41.051883,260 41.5052412,260 L54.4947588,260 C54.9437663,260 55.3468561,260.198241 55.6226444,260.509147 L48,266 L40.3737852,260.506536 L40.3737852,260.506536 Z M56,262.117931 L56,270.504455 C56,271.330422 55.3328702,272 54.4947588,272 L41.5052412,272 C40.6739194,272 40,271.320446 40,270.504455 L40,262.111072 L48.0156542,267.94604 L56,262.117931 L56,262.117931 Z" }) - ), - React.createElement("g", { transform: "translate(2615.000000, 111.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -MailIcon.defaultProps = { - size: 16 -}; - -exports.default = MailIcon; - -/***/ }), -/* 23 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function PhoneIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-3739.000000, -369.000000)" }, - React.createElement( - "g", - { transform: "translate(3739.000000, 369.000000)" }, - React.createElement("path", { d: "M9.46650621,10.8704959 C9.66350621,10.9684959 9.91350621,11.1304959 10.1255062,11.1084959 C10.3005062,11.0914959 10.4395062,10.9144959 10.5865062,10.7674959 C10.9115062,10.4434959 11.7145062,9.1774959 11.7145062,9.1774959 C11.7145062,9.1774959 12.0315062,8.8224959 12.5005062,9.1154959 C12.9695062,9.4074959 14.0105062,10.1364959 15.8135062,11.2564959 C16.0995062,11.4934959 15.9725062,11.8724959 15.9725062,11.8724959 C15.9725062,11.8724959 14.7095062,13.8944959 12.7315062,14.8804959 C12.2865062,15.1574959 11.2535062,14.8644959 11.2535062,14.8644959 C11.2535062,14.8644959 2.94450621,13.0204959 0.0845062052,4.6204959 C-0.0944937948,4.2444959 0.0665062052,3.5674959 0.0665062052,3.5674959 C0.0665062052,3.5674959 0.315506205,2.0694959 2.60250621,0.142495902 C2.97250621,-0.168504098 3.36750621,0.126495902 3.36750621,0.126495902 C3.36750621,0.126495902 4.58650621,1.2924959 5.98250621,3.2074959 C6.05250621,3.3044959 6.06450621,3.4304959 6.04750621,3.5464959 C6.02650621,3.6864959 5.96150621,3.8114959 5.89750621,3.8514959 C4.92450621,4.6194959 4.35250621,5.4054959 4.24650621,5.5464959 C4.14150621,5.6874959 4.14150621,5.9364959 4.36250621,6.2104959 C4.58550621,6.4834959 6.35250621,9.2914959 9.46650621,10.8704959" }) - ), - React.createElement("g", { transform: "translate(3739.000000, 369.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -PhoneIcon.defaultProps = { - size: 16 -}; - -exports.default = PhoneIcon; - -/***/ }), -/* 24 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function CloseIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 18 18" - }, - React.createElement("path", { d: "M10.414 9l4.95-4.95c.39-.39.39-1.023 0-1.414-.39-.39-1.024-.39-1.414 0L9 7.586l-4.95-4.95c-.39-.39-1.023-.39-1.414 0-.39.39-.39 1.024 0 1.414L7.586 9l-4.95 4.95c-.39.39-.39 1.023 0 1.414.39.39 1.024.39 1.414 0L9 10.414l4.95 4.95c.39.39 1.023.39 1.414 0 .39-.39.39-1.024 0-1.414L10.414 9z" }) - ); -} -/* eslint-disable max-len */ - - -CloseIcon.defaultProps = { - size: 16 -}; - -exports.default = CloseIcon; - -/***/ }), -/* 25 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function TimingIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 13 13" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-4450.000000, -314.000000)" }, - React.createElement("path", { d: "M4457,315.022422 L4457,314 L4456,314 L4456,315.022422 C4453.19675,315.275036 4451,317.630979 4451,320.5 C4451,323.537566 4453.46243,326 4456.5,326 C4459.53757,326 4462,323.537566 4462,320.5 C4462,318.937579 4461.34851,317.527322 4460.30236,316.526067 L4461.12132,315.707107 L4460.41421,315 L4459.51496,315.899254 C4458.78023,315.416796 4457.92299,315.105597 4457,315.022422 Z M4456,317 L4457,317 L4457,321 L4456,321 L4456,317 Z" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -TimingIcon.defaultProps = { - size: 12 -}; - -exports.default = TimingIcon; - -/***/ }), -/* 26 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function PrizeIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 13 13" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-4450.000000, -288.000000)" }, - React.createElement( - "g", - { transform: "translate(4430.000000, 284.000000)" }, - React.createElement("g", { transform: "translate(20.000000, 4.000000)" }) - ), - React.createElement("path", { d: "M4453.01574,293.827525 C4453.16827,295.448564 4454.41226,296.738219 4456,296.964666 L4456,299 L4453,299 L4453,300 L4460,300 L4460,299 L4457,299 L4457,296.964682 C4458.59198,296.737671 4459.83164,295.442054 4459.98419,293.827491 C4460.2037,293.938029 4460.45098,294 4460.71655,294 L4461.00198,294 C4462.08624,294 4463,292.955692 4463,291.666667 L4463,289.333333 C4463,288.59819 4462.47954,288 4461.85828,288 L4461.00198,288 C4460.33592,288 4459.74864,288.394957 4459.37658,289 L4453.62342,289 C4453.25136,288.394957 4452.66408,288 4451.99802,288 L4451.14172,288 C4450.52046,288 4450,288.59819 4450,289.333333 L4450,291.666667 C4450,292.955692 4450.91376,294 4451.99802,294 L4452.28345,294 C4452.54899,294 4452.79625,293.938042 4453.01574,293.827525 Z M4460,289.8 L4460,292.2 C4459.97568,292.678576 4460.23742,293 4460.66667,293 L4461,293 C4461.52907,293 4461.99909,292.46254 4462,291.8 L4462,289 C4461.99909,289.000094 4461.99901,289 4462,289 L4461,289 C4460.54843,289 4460.18061,289.392077 4460,289.8 Z M4453,289.8 L4453,292.2 C4453.02432,292.678576 4452.76258,293 4452.33333,293 L4452,293 C4451.47093,293 4451.00091,292.46254 4451,291.8 L4451,289 C4451.00091,289.000094 4451.00099,289 4451,289 L4452,289 C4452.45157,289 4452.81939,289.392077 4453,289.8 Z" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -PrizeIcon.defaultProps = { - size: 12 -}; - -exports.default = PrizeIcon; - -/***/ }), -/* 27 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function RemoveIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-1413.000000, -369.000000)" }, - React.createElement( - "g", - { transform: "translate(225.000000, 117.000000)" }, - React.createElement("path", { d: "M1195.79084,261.205052 L1192.72017,264.275723 C1192.32964,264.666247 1191.69648,264.666247 1191.30595,264.275723 C1190.91543,263.885199 1190.91543,263.252034 1191.30595,262.861509 L1194.37662,259.790838 L1191.29289,256.707107 C1190.90237,256.316582 1190.90237,255.683418 1191.29289,255.292893 C1191.68342,254.902369 1192.31658,254.902369 1192.70711,255.292893 L1195.79084,258.376625 L1198.87457,255.292893 C1199.26509,254.902369 1199.89826,254.902369 1200.28878,255.292893 C1200.67931,255.683418 1200.67931,256.316582 1200.28878,256.707107 L1197.20505,259.790838 L1200.27572,262.861509 C1200.66625,263.252034 1200.66625,263.885199 1200.27572,264.275723 C1199.8852,264.666247 1199.25203,264.666247 1198.86151,264.275723 L1195.79084,261.205052 L1195.79084,261.205052 Z" }) - ), - React.createElement("g", { transform: "translate(225.000000, 115.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -RemoveIcon.defaultProps = { - size: 16 -}; - -exports.default = RemoveIcon; - -/***/ }), -/* 28 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function AlertIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 20 20" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-4066.000000, -284.000000)" }, - React.createElement( - "g", - { transform: "translate(4067.000000, 285.000000)" }, - React.createElement("path", { d: "M9.00042345,16.9417992 C4.62225447,16.9417992 1.05862426,13.378046 1.05862426,9 C1.05862426,4.62149634 4.62186521,1.05862426 9.00042345,1.05862426 C13.3782577,1.05862426 16.9413757,4.6216193 16.9413757,9 C16.9413757,13.377923 13.3778685,16.9417992 9.00042345,16.9417992 L9.00042345,16.9417992 Z M9.00042345,18.0004234 C13.9625551,18.0004234 18,13.9625605 18,9 C18,4.03694909 13.9629116,0 9.00042345,0 C4.03722771,0 0,4.03680977 0,9 C0,13.9626999 4.03758426,18.0004234 9.00042345,18.0004234 L9.00042345,18.0004234 Z" }), - React.createElement( - "g", - { transform: "translate(8.000000, 4.000000)" }, - React.createElement( - "g", - null, - React.createElement("path", { d: "M-0.2572,9.2312 C-0.2572,9.8988 0.2772,10.4484 0.9744,10.4484 C1.6716,10.4484 2.2068,9.8988 2.2068,9.2312 C2.2068,8.5344 1.6428,7.9844 0.9744,7.9844 C0.3068,7.9844 -0.2572,8.5344 -0.2572,9.2312 Z" }), - React.createElement("path", { d: "M1.7756,6.6 L2.1912,-0.2 L-0.242,-0.2 L0.1732,6.6 L1.7756,6.6 L1.7756,6.6 Z" }) - ) - ) - ) - ) - ) - ); -} -/* eslint-disable max-len */ - - -AlertIcon.defaultProps = { - size: 20 -}; - -exports.default = AlertIcon; - -/***/ }), -/* 29 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function FlagIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-1373.000000, -369.000000)" }, - React.createElement( - "g", - { transform: "translate(733.000000, 369.000000)" }, - React.createElement("path", { d: "M645,9 C648.26,10.051 650.656,8 654,9 L654,2 C650.732,0.947 648.286,3.183 645,2 L645,9 Z M642,1 L644,1 L644,15 L642,15 L642,1 Z" }) - ), - React.createElement("g", { transform: "translate(733.000000, 369.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -FlagIcon.defaultProps = { - size: 16 -}; - -exports.default = FlagIcon; - -/***/ }), -/* 30 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function EmbedIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-1453.000000, -369.000000)" }, - React.createElement( - "g", - { transform: "translate(733.000000, 369.000000)" }, - React.createElement("path", { d: "M721,8.001 L725.438,3.509 L726.95,5.04 L724.025,8 L726.95,10.96 L725.438,12.491 L721,8.001 M729.03,10.961 L731.956,8.001 L729.03,5.041 L730.544,3.509 L734.982,8.001 L730.544,12.491 L729.03,10.961" }) - ), - React.createElement("g", { transform: "translate(733.000000, 369.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -EmbedIcon.defaultProps = { - size: 16 -}; - -exports.default = EmbedIcon; - -/***/ }), -/* 31 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function DeleteIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-1493.000000, -369.000000)" }, - React.createElement( - "g", - { transform: "translate(733.000000, 369.000000)" }, - React.createElement("path", { d: "M762.982,5 L762.982,14.0046024 C762.982,14.5543453 763.437664,15 763.977398,15 L771.986602,15 C772.536345,15 772.982,14.5443356 772.982,14.0046024 L772.982,5 L762.982,5 Z M770.969976,2 C770.969976,2 770.969957,1.32958984 770.969976,1.0043335 C770.970009,0.461486816 770.542181,0 770.037603,0 L766.038213,0 C765.473028,0 765.003484,0.435668945 765.003484,1.0043335 L765.003484,2 L762.988111,2 C762.432451,2 761.982,2.44386482 761.982,3 L761.982,4 L773.982,4 L773.982,3 C773.982,2.44771525 773.537565,2 772.97904,2 L770.969976,2 Z" }) - ), - React.createElement("g", { transform: "translate(733.000000, 369.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -DeleteIcon.defaultProps = { - size: 16 -}; - -exports.default = DeleteIcon; - -/***/ }), -/* 32 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function BackToTopIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 40 40" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-2615.000000, -111.000000)" }, - React.createElement( - "g", - { transform: "translate(2615.000000, 111.000000)" }, - React.createElement("path", { d: "M20,40 C31.045695,40 40,31.045695 40,20 C40,8.954305 31.045695,0 20,0 C8.954305,0 0,8.954305 0,20 C0,31.045695 8.954305,40 20,40 Z M27.2551834,23.6631707 C27.6203605,24.0765362 28.2509394,24.114478 28.6630108,23.7490389 C29.0760799,23.3835999 29.1149922,22.7525685 28.7488174,22.339203 L20.792747,14.3364872 C20.3946442,13.8861785 19.6912293,13.8881754 19.295122,14.3404811 L11.2472584,22.339203 C10.8840769,22.7545654 10.9259824,23.3855968 11.3400493,23.7480404 C11.7541162,24.1104841 12.3846951,24.0695469 12.7478767,23.6541845 L20.0005323,16.5181384 L27.2551834,23.6631707 Z" }) - ), - React.createElement("g", { transform: "translate(2615.000000, 111.000000)" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -BackToTopIcon.defaultProps = { - size: 40 -}; - -exports.default = BackToTopIcon; - -/***/ }), -/* 33 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function ContactEyeEmIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 24 24" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: 1, fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-2618.000000, -199.000000)" }, - React.createElement("g", { transform: "translate(2615.000000, 111.000000)" }), - React.createElement("g", { transform: "translate(2615.000000, 111.000000)" }), - React.createElement("path", { d: "M2634,210.004123 L2634,213.004123 L2628,213.004123 L2628,216.004123 L2634,216.004123 L2634,219.004123 L2625,219.004123 L2625,204.004123 L2634,204.004123 L2634,207.004123 L2628,207.004123 L2628,210.004123 L2634,210.004123 Z" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -ContactEyeEmIcon.defaultProps = { - size: 24 -}; - -exports.default = ContactEyeEmIcon; - -/***/ }), -/* 34 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function ContactFacebookIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 24 24" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: 1, fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-2666.000000, -199.000000)" }, - React.createElement("g", { transform: "translate(2615.000000, 111.000000)" }), - React.createElement("g", { transform: "translate(2615.000000, 111.000000)" }), - React.createElement("path", { d: "M2679,220.004123 L2679,212.004123 L2681.69527,212.004123 L2682.09254,209.008701 L2679,209.008701 L2679,207.381592 C2679.04172,206.489608 2679.28939,205.881694 2680.56855,205.881694 L2682,205.881006 L2682,203.125507 C2681.91777,203.088029 2680.94937,203.004123 2679.82273,203.004123 C2677.47062,203.004123 2676,204.446872 2676,207.074123 L2676,209.008701 L2673,209.008701 L2673,212.004123 L2676,212.004123 L2676,220.004123 L2679,220.004123 Z" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -ContactFacebookIcon.defaultProps = { - size: 24 -}; - -exports.default = ContactFacebookIcon; - -/***/ }), -/* 35 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function ContactTwitterIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 24 24" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: 1, fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-2714.000000, -199.000000)" }, - React.createElement("g", { transform: "translate(2615.000000, 111.000000)" }), - React.createElement("path", { d: "M2723.03172,218.00304 C2721.17793,218.00304 2719.45269,217.461373 2718,216.528082 C2718.25655,216.558957 2718.51807,216.574123 2718.7829,216.574123 C2720.32055,216.574123 2721.73628,216.04979 2722.85959,215.169582 C2721.4229,215.14304 2720.21076,214.19404 2719.7931,212.889707 C2719.99338,212.928165 2720.19917,212.948748 2720.41103,212.948748 C2720.71007,212.948748 2721.00028,212.908665 2721.27559,212.833373 C2719.77379,212.531665 2718.64276,211.208373 2718.64276,209.615873 L2718.64276,209.574707 C2719.08524,209.820623 2719.59172,209.967957 2720.12966,209.98529 C2719.2491,209.396498 2718.66924,208.392248 2718.66924,207.25529 C2718.66924,206.65404 2718.8309,206.090165 2719.11393,205.605373 C2720.73269,207.591123 2723.15145,208.897623 2725.87972,209.034665 C2725.82345,208.794707 2725.79476,208.543915 2725.79476,208.286623 C2725.79476,206.474207 2727.26455,205.004123 2729.07752,205.004123 C2730.02152,205.004123 2730.87503,205.40279 2731.47366,206.040873 C2732.22069,205.89354 2732.92359,205.62054 2733.55807,205.244623 C2733.31255,206.011082 2732.79172,206.65404 2732.11476,207.06029 C2732.77848,206.980123 2733.41186,206.804082 2734,206.542998 C2733.55972,207.201123 2733.00303,207.779082 2732.36193,208.242207 C2732.36855,208.38304 2732.37186,208.524415 2732.37186,208.666873 C2732.37186,213.005623 2729.06979,218.004123 2723.03172,218.004123" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -ContactTwitterIcon.defaultProps = { - size: 24 -}; - -exports.default = ContactTwitterIcon; - -/***/ }), -/* 36 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function ContactTumblrIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 24 24" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: 1, fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-2762.000000, -199.000000)" }, - React.createElement("g", { transform: "translate(2615.000000, 111.000000)" }), - React.createElement("path", { d: "M2776.47044,215.926157 C2775.22332,215.959715 2774.98139,215.050518 2775,214.004123 L2775,209.004123 L2778.01266,209.004123 L2778.01266,206.994994 L2775,206.994994 L2775,203.004123 C2774.98217,202.994846 2773,203.004123 2773,203.004123 C2773,203.004123 2770.88699,206.678097 2769,207.530324 L2769,209.004123 L2771,209.004123 L2771,215.004123 C2770.98971,216.403711 2772.27507,218.879225 2775.66837,218.820693 C2776.81325,218.801182 2778.08457,218.322 2778.36552,217.908374 L2777.72693,215.65769 C2777.43739,215.795825 2776.88329,215.916011 2776.47044,215.926157 Z" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -ContactTumblrIcon.defaultProps = { - size: 24 -}; - -exports.default = ContactTumblrIcon; - -/***/ }), -/* 37 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function DownloadIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 18 18" - }, - React.createElement("path", { d: "m10 8.01v-8.01h-2.01v8.01h-4.316l5.204 5.338 5.468-5.338h-4.35m-10 7.993h18v-1h-18v1" }) - ); -} -/* eslint-disable max-len */ - - -DownloadIcon.defaultProps = { - size: 18 -}; - -exports.default = DownloadIcon; - -/***/ }), -/* 38 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function UploadIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" }, - React.createElement("path", { d: "M6.02 11.025h2.99V6.012h2.974L7.46 1 2.983 6.012H6.02v5.013zM0 14h15v-1H0v1z" }) - ); -} -/* eslint-disable max-len */ - - -UploadIcon.defaultProps = { - size: 18 -}; - -exports.default = UploadIcon; - -/***/ }), -/* 39 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function CheckmarkIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 20 20" - }, - React.createElement("path", { d: "M7.9 13.37l-4.28-4a1 1 0 0 0-1.37 1.46L8 16.2l9.8-10.74a1 1 0 0 0-1.47-1.35z" }) - ); -} -/* eslint-disable max-len */ - - -CheckmarkIcon.defaultProps = { - size: 18 -}; - -exports.default = CheckmarkIcon; - -/***/ }), -/* 40 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function CartIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 30 30" - }, - React.createElement("path", { d: "M20.05 23H9.95c.033.162.05.33.05.5 0 1.38-1.12 2.5-2.5 2.5S5 24.88 5 23.5 6.12 21 7.5 21h15c1.38 0 2.5 1.12 2.5 2.5S23.88 26 22.5 26 20 24.88 20 23.5c0-.17.017-.338.05-.5zM6.375 7H24.01c1.1 0 1.843.882 1.66 1.982l-1.506 9.036c-.09.542-.61.982-1.157.982H6.993c-.548 0-1.067-.44-1.157-.982L4 7l-.176-1H.99C.445 6 0 5.556 0 5c0-.552.45-1 .99-1h4.02c.512 0 .934.398.985.898.013.04.024.084.03.128L6.376 7z" }) - ); -} -/* eslint-disable max-len */ - - -CartIcon.defaultProps = { - size: 16 -}; - -exports.default = CartIcon; - -/***/ }), -/* 41 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function CompDownloadIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 18 18" - }, - React.createElement("path", { d: "M.294.293C.112.475 0 .73 0 1.01V4h2V2h2V0H1.01C.724 0 .47.113.29.296zM17.706.293c.182.182.294.436.294.716V4h-2V2h-2V0h2.99c.285 0 .54.113.72.296zM.293 17.706c.182.182.436.294.716.294H4v-2H2v-2H0v2.99c0 .285.113.54.296.72zM17.707 17.706c-.182.182-.436.294-.716.294H14v-2h2v-2h2v2.99c0 .285-.113.54-.296.72zM0 7h2v4H0zM16 7h2v4h-2zM7 2V0h4v2zM10.004 4.992C10.004 4.444 9.56 4 9 4 8.448 4 8 4.452 8 4.992v5.015H4L9.018 14 14 10.007h-3.996V4.992zM7 18v-2h4v2z" }) - ); -} -/* eslint-disable max-len */ - - -CompDownloadIcon.defaultProps = { - size: 18 -}; - -exports.default = CompDownloadIcon; - -/***/ }), -/* 42 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function AddToLightboxIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 18 18" - }, - React.createElement("path", { d: "M12 8v2.003c0 .55-.444.997-1 .997-.552 0-1-.453-1-.997V8H7.997C7.447 8 7 7.556 7 7c0-.552.453-1 .997-1H10V3.997c0-.55.444-.997 1-.997.552 0 1 .453 1 .997V6h2.003c.55 0 .997.444.997 1 0 .552-.453 1-.997 1H12zm-5.994 6h9.988c1.11 0 2.006-.898 2.006-2.006V2.006C18 .896 17.102 0 15.994 0H6.006C4.896 0 4 .898 4 2.006v9.988C4 13.104 4.898 14 6.006 14z" }), - React.createElement("path", { d: "M2 5.996C2 5.446 1.556 5 1 5c-.552 0-1 .447-1 1v9.997C0 17.103.894 18 2.003 18H12c.553 0 1-.444 1-1 0-.552-.445-1-.996-1H2.996c-.55 0-.996-.445-.996-.996V5.996z" }) - ); -} -/* eslint-disable max-len */ - - -AddToLightboxIcon.defaultProps = { - size: 18 -}; - -exports.default = AddToLightboxIcon; - -/***/ }), -/* 43 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function IsInLightboxIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 18 18" - }, - React.createElement("path", { d: "M6.006 14h9.988c1.11 0 2.006-.898 2.006-2.006V2.006C18 .896 17.102 0 15.994 0H6.006C4.896 0 4 .898 4 2.006v9.988C4 13.104 4.898 14 6.006 14zM15 7c0 .552-.453 1-.997 1H7.997C7.447 8 7 7.556 7 7c0-.552.453-1 .997-1h6.006c.55 0 .997.444.997 1z" }), - React.createElement("path", { d: "M2 5.996C2 5.446 1.556 5 1 5c-.552 0-1 .447-1 1v9.997C0 17.103.894 18 2.003 18H12c.553 0 1-.444 1-1 0-.552-.445-1-.996-1H2.996c-.55 0-.996-.445-.996-.996V5.996z" }) - ); -} -/* eslint-disable max-len */ - - -IsInLightboxIcon.defaultProps = { - size: 18 -}; - -exports.default = IsInLightboxIcon; - -/***/ }), -/* 44 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function LightboxIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 30 30" }, - React.createElement("path", { - fill: "#FFFFFF", - d: "M8 6c0-1 1-2 2-2h14c1 0 2 1 2 2v14c0 1-1 2-2 2H10c-1 0-2-1-2-2V6z" - }), - React.createElement("path", { - fill: "#FFFFFF", - d: "M6 10c0-.6-.4-1-1-1s-1 .5-1 1v14c0 1 1 2 2 2h14c.6 0 1-.4 1-1s-.4-1-1-1H7c-.6 0-1-.4-1-1V10z" - }) - ); -} -/* eslint-disable max-len */ - - -LightboxIcon.defaultProps = { - size: 16 -}; - -exports.default = LightboxIcon; - -/***/ }), -/* 45 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function LikeIcon(props) { - return React.createElement( - "svg", - { - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement("path", { d: "M7.998 16l-.33-.246h-.004c-1.054-.78-6.36-4.79-7.275-7.208C-.1 7.242-.13 5.79.31 4.46.77 3.094 1.66 2.02 2.82 1.44 3.413 1.147 4.036 1 4.673 1c1.265 0 2.456.584 3.326 1.6.87-1.016 2.067-1.6 3.327-1.6.64 0 1.26.147 1.85.442 1.164.578 2.057 1.653 2.51 3.017.445 1.33.418 2.782-.077 4.086-.944 2.5-6.634 6.734-7.28 7.208l-.33.246z" }) - ); -} -/* eslint-disable max-len */ - - -LikeIcon.defaultProps = { - size: 18 -}; - -exports.default = LikeIcon; - -/***/ }), -/* 46 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function CommentIcon(props) { - return React.createElement( - "svg", - { - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement("path", { d: "M8 0C4.136 0 1 3.136 1 7c0 1.914.773 3.647 2.022 4.914L3 16l3.35-2.217c.53.132 1.08.215 1.65.215 3.864 0 7-3.132 7-7C15 3.137 11.864 0 8 0z" }) - ); -} -/* eslint-disable max-len */ - - -CommentIcon.defaultProps = { - size: 16 -}; - -exports.default = CommentIcon; - -/***/ }), -/* 47 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function FlickrIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 32 32" - }, - React.createElement("path", { - d: "M28 18.744l-3-3.328V3c-.01.01-.01.01 0 0H7c.01.01.01.01 0 0v18c.01-.01.01-.01 0 0h10.5v3H7c-1.93 0-3-1.078-3-3V3c0-1.93 1.078-3 3-3h18c1.93 0 3 1.078 3 3v15.744zm2.58 7.017l-4.298-.45 2.08 5.31c.045.114.066.23.066.347 0 .424-.288.82-.75.972-.125.04-.254.06-.38.06-.465 0-.9-.263-1.065-.685l-2.092-5.34L21 28.75V15.133l9.58 10.63z", - fillRule: "nonzero" - }) - ); -} -/* eslint-disable max-len */ - - -FlickrIcon.defaultProps = { - size: 32 -}; - -exports.default = FlickrIcon; - -/***/ }), -/* 48 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function ShareIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement( - "g", - { fillRule: "evenodd" }, - React.createElement("path", { d: "M9.8.2L9.3 0H9c-.2 0-.4.4-.4.6v2.8C4.2 3.4 0 7 0 12c1.4-1.3 4.3-3.4 8.6-3.4v2.8c0 .2.2.5.4.6h.3c.2 0 .3 0 .5-.2l5.4-5.3c.3-.3.3-.7 0-1L9.8.3z" }) - ) - ); -} -/* eslint-disable max-len */ - - -ShareIcon.defaultProps = { - size: 16 -}; - -exports.default = ShareIcon; - -/***/ }), -/* 49 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function EditIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 18 18" - }, - React.createElement( - "g", - { transform: "translate(0.000000, -1.000000)" }, - React.createElement("polygon", { points: "0 15.25 0 19 3.75 19 14.81 7.94 11.06 4.19" }), - React.createElement("path", { d: "M17.71,5.04 C18.1,4.65 18.1,4.02 17.71,3.63 L15.37,1.29 C14.98,0.9 14.35,0.9 13.96,1.29 L12.13,3.12 L15.88,6.87 L17.71,5.04 Z" }) - ) - ); -} -/* eslint-disable max-len */ - - -EditIcon.defaultProps = { - size: 16 -}; - -exports.default = EditIcon; - -/***/ }), -/* 50 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function FacebookIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 20 20" - }, - React.createElement("path", { - d: "M19 20H1.104C.494 20 0 19.506 0 18.896V1.104C0 .494.494 0 1.104 0h17.792C19.506 0 20 .494 20 1.104v17.792c0 .61-.494 1.104-1 1.104zm-5 0v-8h2.393l.404-2.98L14 9V7.248c0-.874.042-1.408 1.296-1.408h1.598v-2.7h-1.887C12.703 3.14 11 4.415 11 7.02v2H9V12h1.997v8H14z", - fillRule: "evenodd" - }) - ); -} -/* eslint-disable max-len */ - - -FacebookIcon.defaultProps = { - size: 18 -}; - -exports.default = FacebookIcon; - -/***/ }), -/* 51 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function DropboxIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 36 36" - }, - React.createElement("path", { - d: "M18.018 21.922l-6.193 5.156-2.65-1.736v1.946l8.843 5.322 8.844-5.322v-1.946l-2.65 1.736-6.194-5.156zM33 10.392L24.175 4.61 18 9.78l8.898 5.515L33 10.392zM18 20.808l6.175 5.173L33 20.2l-6.102-4.905L18 20.808zm-15-.61l8.825 5.783L18 20.81l-8.898-5.513L3 20.2zM11.825 4.61L3 10.392l6.102 4.903L18 9.78l-6.175-5.17z", - fill: "#1081DE", - fillRule: "evenodd" - }) - ); -} -/* eslint-disable max-len */ - - -DropboxIcon.defaultProps = { - size: 36 -}; - -exports.default = DropboxIcon; - -/***/ }), -/* 52 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function GoogleDriveIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 36 36" - }, - React.createElement( - "g", - { fill: "none", fillRule: "evenodd" }, - React.createElement("path", { fill: "#2EB672", d: "M18 13.953L12.472 5 2.545 21.91l5.528 8.952" }), - React.createElement("path", { fill: "#527ABD", d: "M34 22H14.153L9 31h19.847" }), - React.createElement("path", { fill: "#FED14B", d: "M23.718 4H13l10.282 17H34" }) - ) - ); -} -/* eslint-disable max-len */ - - -GoogleDriveIcon.defaultProps = { - size: 36 -}; - -exports.default = GoogleDriveIcon; - -/***/ }), -/* 53 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function FlickrIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 36 36" - }, - React.createElement( - "g", - { transform: "translate(4 12)", fill: "none", fillRule: "evenodd" }, - React.createElement("circle", { fill: "#0262DD", cx: "6", cy: "6", r: "6" }), - React.createElement("circle", { fill: "#FF0184", cx: "22", cy: "6", r: "6" }) - ) - ); -} -/* eslint-disable max-len */ - - -FlickrIcon.defaultProps = { - size: 36 -}; - -exports.default = FlickrIcon; - -/***/ }), -/* 54 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function FlickrIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 36 36" - }, - React.createElement( - "g", - { fill: "none", fillRule: "evenodd" }, - React.createElement("path", { - d: "M34.834 18.718c.068-.064.107-.153.107-.253 0-.196-.16-.356-.355-.356H17.832v8.91h8.91l8.092-8.302z", - fill: "#4285F4" - }), - React.createElement("path", { fill: "#3367D6", d: "M17.832 18.11v8.91h8.91" }), - React.createElement("path", { - d: "M26.743 27.02l8.09-8.302c.07-.064.108-.153.108-.253 0-.032-.01-.06-.017-.09-.017.062-.042.122-.085.165l-8.095 8.302h-8.91v.178h8.91z", - fillOpacity: ".2", - fill: "#263238" - }), - React.createElement("path", { - fillOpacity: ".1", - fill: "#263238", - d: "M17.832 18.11v.177l8.733 8.733h.178" - }), - React.createElement("path", { - d: "M17.223 35.11c.064.07.153.108.253.108.196 0 .356-.16.356-.357V18.11h-8.91v8.91l8.3 8.09z", - fill: "#8BC34A" - }), - React.createElement("path", { fill: "#0F9D58", d: "M8.92 18.11v8.91l8.912-8.91" }), - React.createElement("path", { - d: "M17.476 35.04c-.1 0-.19-.04-.253-.107L9.01 26.93l-.09.09 8.303 8.09c.064.07.153.108.253.108.196 0 .356-.16.356-.357v-.177c0 .196-.16.357-.356.357z", - fillOpacity: ".1", - fill: "#3E2723" - }), - React.createElement("path", { - fillOpacity: ".05", - fill: "#3E2723", - d: "M17.832 18.287h-.178L8.92 27.02v.178" - }), - React.createElement("path", { - d: "M.83 17.5c-.067.064-.107.153-.107.252 0 .197.16.357.357.357h16.752V9.197h-8.91l-8.092 8.3z", - fill: "#FFBC00" - }), - React.createElement("path", { fill: "#FF9800", d: "M17.832 18.11V9.197h-8.91" }), - React.createElement("path", { - d: "M8.92 9.198l-8.09 8.3c-.067.066-.107.155-.107.254 0 .033.01.06.018.09.02-.06.044-.122.087-.164L8.92 9.376h8.912v-.178h-8.91z", - fillOpacity: ".2", - fill: "#FFF" - }), - React.createElement("path", { - fillOpacity: ".1", - fill: "#3E2723", - d: "M17.832 18.11v-.18L9.1 9.2h-.18" - }), - React.createElement("path", { - d: "M18.442 1.107C18.378 1.04 18.29 1 18.19 1c-.197 0-.358.16-.358.356V18.11h8.91V9.197l-8.3-8.09z", - fill: "#DB4437" - }), - React.createElement("path", { - d: "M18.442 1.107C18.378 1.04 18.29 1 18.19 1c-.197 0-.358.16-.358.356v.18c0-.197.16-.358.357-.358.1 0 .188.04.252.107l8.12 7.917.18-.004-8.3-8.09z", - fillOpacity: ".2", - fill: "#FFF" - }), - React.createElement("path", { fill: "#AD1457", d: "M26.743 18.11V9.197l-8.91 8.91" }), - React.createElement("path", { - fill: "#FFF", - opacity: ".2", - d: "M17.832 17.93h.178L26.743 9.2l-.182.004" - }), - React.createElement("path", { - fillOpacity: ".1", - fill: "#3E2723", - d: "M17.832 17.93h8.91v.25h-8.91z" - }), - React.createElement("path", { - fill: "#F1F1F1", - d: "M16.763 17.04l1.07-2.495 1.07 2.495 2.494 1.07-2.495 1.068-1.07 2.495-1.07-2.495-2.494-1.07" - }) - ) - ); -} -/* eslint-disable max-len */ - - -FlickrIcon.defaultProps = { - size: 36 -}; - -exports.default = FlickrIcon; - -/***/ }), -/* 55 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function InstagramIcon(props) { - return React.createElement( - 'svg', - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - xmlSpace: 'preserve', - style: { - enableBackground: 'new 0 0 551.034 551.034' - }, - viewBox: '-50 -50 670 670' - }, - React.createElement( - 'g', - null, - React.createElement( - 'linearGradient', - { - id: 'XMLID_2_', - gradientUnits: 'userSpaceOnUse', - x1: '275.517', - y1: '4.5714', - x2: '275.517', - y2: '549.7202', - gradientTransform: 'matrix(1 0 0 -1 0 554)' - }, - React.createElement('stop', { offset: '0', style: { stopColor: '#E09B3D' } }), - React.createElement('stop', { offset: '0.3', style: { stopColor: '#C74C4D' } }), - React.createElement('stop', { offset: '0.6', style: { stopColor: '#C21975' } }), - React.createElement('stop', { offset: '1', style: { stopColor: '#7024C4' } }) - ), - React.createElement('path', { - style: { - fill: 'url(#XMLID_2_)' - }, - d: 'M386.878,0H164.156C73.64,0,0,73.64,0,164.156v222.722 c0,90.516,73.64,164.156,164.156,164.156h222.722c90.516,0,164.156-73.64,164.156-164.156V164.156 C551.033,73.64,477.393,0,386.878,0z M495.6,386.878c0,60.045-48.677,108.722-108.722,108.722H164.156 c-60.045,0-108.722-48.677-108.722-108.722V164.156c0-60.046,48.677-108.722,108.722-108.722h222.722 c60.045,0,108.722,48.676,108.722,108.722L495.6,386.878L495.6,386.878z' - }), - React.createElement( - 'linearGradient', - { - id: 'XMLID_3_', - gradientUnits: 'userSpaceOnUse', - x1: '275.517', - y1: '4.5714', - x2: '275.517', - y2: '549.7202', - gradientTransform: 'matrix(1 0 0 -1 0 554)' - }, - React.createElement('stop', { offset: '0', style: { stopColor: '#E09B3D' } }), - React.createElement('stop', { offset: '0.3', style: { stopColor: '#C74C4D' } }), - React.createElement('stop', { offset: '0.6', style: { stopColor: '#C21975' } }), - React.createElement('stop', { offset: '1', style: { stopColor: '#7024C4' } }) - ), - React.createElement('path', { - style: { fill: 'url(#XMLID_3_)' }, - d: 'M275.517,133C196.933,133,133,196.933,133,275.516 s63.933,142.517,142.517,142.517S418.034,354.1,418.034,275.516S354.101,133,275.517,133z M275.517,362.6 c-48.095,0-87.083-38.988-87.083-87.083s38.989-87.083,87.083-87.083c48.095,0,87.083,38.988,87.083,87.083 C362.6,323.611,323.611,362.6,275.517,362.6z' - }), - React.createElement( - 'linearGradient', - { - id: 'XMLID_4_', - gradientUnits: 'userSpaceOnUse', - x1: '418.306', - y1: '4.5714', - x2: '418.306', - y2: '549.7202', - gradientTransform: 'matrix(1 0 0 -1 0 554)' - }, - React.createElement('stop', { offset: '0', style: { stopColor: '#E09B3D' } }), - React.createElement('stop', { offset: '0.3', style: { stopColor: '#C74C4D' } }), - React.createElement('stop', { offset: '0.6', style: { stopColor: '#C21975' } }), - React.createElement('stop', { offset: '1', style: { stopColor: '#7024C4' } }) - ), - React.createElement('circle', { - style: { fill: 'url(#XMLID_4_)' }, - cx: '418.306', - cy: '134.072', - r: '34.149' - }) - ) - ); -} -/* eslint-disable max-len */ - - -InstagramIcon.defaultProps = { - size: 36 -}; - -exports.default = InstagramIcon; - -/***/ }), -/* 56 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function PaypalIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 15 18" - }, - React.createElement( - "g", - { fillRule: "evenodd", opacity: ".5" }, - React.createElement("path", { - d: "M13.5 4.6c.2-1.4 0-2.4-.8-3.2C12 .4 10.4 0 8.5 0H3c-.3 0-.6.3-.7.7L0 15.4c0 .3.2.6.5.6H4l-.4 1.5c0 .2.2.5.4.5h3c.2 0 .5-.3.6-.6v-.2l.5-3.4.3-.2c0-.4.3-.6.6-.6h.4c2.7 0 5-1.2 5.5-4.5.2-1.4 0-2.5-.7-3.3-.2-.3-.4-.5-.7-.6", - fill: "#ABDFF5" - }), - React.createElement("path", { - d: "M13.5 4.6c.2-1.4 0-2.4-.8-3.2C12 .4 10.4 0 8.5 0H3c-.3 0-.6.3-.7.7L0 15.4c0 .3.2.6.5.6H4l.7-5.5v.2c0-.4.4-.7.8-.7H7c3.2 0 5.7-1.3 6.4-5v-.4", - fill: "#E6F5FB" - }), - React.createElement("path", { d: "M5.6 4.6c0-.2.2-.4.4-.5h6s.3 0 .4.3h.5c0 .2.2.3.4.4.2-1.4 0-2.4-.8-3.2-.6-1-2.2-1.5-4-1.5H3c-.3 0-.6.3-.7.7L0 15.4c0 .3.2.6.5.6H4L5.5 4.6" }) - ) - ); -} - - -PaypalIcon.defaultProps = { - size: 18 -}; - -exports.default = PaypalIcon; - -/***/ }), -/* 57 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function CommentIcon(props) { - return React.createElement( - "svg", - { - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 16" - }, - React.createElement("path", { d: "M7 12H5V7H0V5h5V0h2v5h5v2H7z" }) - ); -} -/* eslint-disable max-len */ - - -CommentIcon.defaultProps = { - size: 16 -}; - -exports.default = CommentIcon; - -/***/ }), -/* 58 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function LeftArrowIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 5 8" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-200.000000, -1093.000000)" }, - React.createElement("path", { - d: "M203.593525,1097.00197 L200,1100.33058 L200.677418,1101.00393 L204.995756,1097.00393 L205,1097.00393 L204.997878,1097.00197 L205,1097 L204.995756,1097 L200.677418,1093 L200,1093.67335 L203.593525,1097.00197 Z", - transform: "translate(202.500000, 1097.001966) scale(-1, 1) translate(-202.500000, -1097.001966)" - }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -LeftArrowIcon.defaultProps = { - size: 18 -}; - -exports.default = LeftArrowIcon; - -/***/ }), -/* 59 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function LeftArrow2Icon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 19 18" - }, - React.createElement("path", { d: "M3.414 8l5.793-5.793c.39-.39.39-1.024 0-1.414-.39-.39-1.024-.39-1.414 0l-7.4 7.4c-.39.39-.39 1.023 0 1.414l7.4 7.4c.39.39 1.024.39 1.414 0 .39-.39.39-1.025 0-1.415L3.615 10H16c.552 0 1-.448 1-1s-.448-1-1-1H3.414z" }) - ); -} -/* eslint-disable max-len */ - - -LeftArrow2Icon.defaultProps = { - size: 18 -}; - -exports.default = LeftArrow2Icon; - -/***/ }), -/* 60 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function RightArrowIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 5 8" - }, - React.createElement( - "g", - { stroke: "none", strokeWidth: "1", fillRule: "evenodd" }, - React.createElement( - "g", - { transform: "translate(-200.000000, -1093.000000)" }, - React.createElement("path", { d: "M203.593525,1097.00197 L200,1100.33058 L200.677418,1101.00393 L204.995756,1097.00393 L205,1097.00393 L204.997878,1097.00197 L205,1097 L204.995756,1097 L200.677418,1093 L200,1093.67335 L203.593525,1097.00197 Z" }) - ) - ) - ); -} -/* eslint-disable max-len */ - - -RightArrowIcon.defaultProps = { - size: 18 -}; - -exports.default = RightArrowIcon; - -/***/ }), -/* 61 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function RightArrow2Icon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 20 20" - }, - React.createElement("path", { - d: "m3.414 8 5.793-5.793c.39-.39.39-1.024 0-1.414s-1.024-.39-1.414 0l-7.4 7.4c-.39.39-.39 1.023 0 1.414l7.4 7.4c.39.39 1.024.39 1.414 0s.39-1.025 0-1.415l-5.592-5.592h12.385c.552 0 1-.448 1-1s-.448-1-1-1z", - transform: "matrix(-1 0 0 -1 17.1005 17.8)" - }) - ); -} - - -RightArrow2Icon.defaultProps = { - size: 18 -}; - -exports.default = RightArrow2Icon; - -/***/ }), -/* 62 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function TermsIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 24 22" - }, - React.createElement("path", { - d: "M4 0h17v22H4V0zm3 3h11v2H7V3zm0 4h11v2H7V7zm0 4h6v2H7v-2z", - fillRule: "evenodd" - }) - ); -} -/* eslint-disable max-len */ - - -TermsIcon.defaultProps = { - size: 24 -}; - -exports.default = TermsIcon; - -/***/ }), -/* 63 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function MarketIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 24 19" - }, - React.createElement( - "g", - { fillRule: "evenodd" }, - React.createElement("path", { d: "M4.22 0c-.352 0-.67.186-.81.473L1.188 5.077S1 5.44 1 5.855c0 1.078.985 1.95 2.2 1.95 1.215 0 2.2-.872 2.2-1.95 0 1.078.985 1.95 2.2 1.95 1.215 0 2.2-.872 2.2-1.95 0 1.078.985 1.95 2.2 1.95 1.215 0 2.2-.872 2.2-1.95 0 1.078.985 1.95 2.2 1.95 1.215 0 2.2-.872 2.2-1.95 0 1.078.985 1.95 2.2 1.95 1.215 0 2.2-.872 2.2-1.95 0-.476-.25-.78-.25-.78L19.732.393C19.577.15 19.286 0 18.97 0H4.22z" }), - React.createElement("path", { d: "M5 9v10c-1.105 0-2-.895-2-2V9.355c.066.003.133.005.2.005.64 0 1.25-.13 1.8-.36zm16 .355V17c0 1.105-.895 2-2 2V9c.55.23 1.16.36 1.8.36.067 0 .134-.002.2-.005zM5 14h14v5H5v-5z" }) - ) - ); -} -/* eslint-disable max-len */ - - -MarketIcon.defaultProps = { - size: 24 -}; - -exports.default = MarketIcon; - -/***/ }), -/* 64 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function GrowthIcon(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 12 12" - }, - React.createElement("path", { - d: "M7 4.78V12H5V4.68L2.365 7.315 1 5.95 5.95 1l4.95 4.95-1.366 1.365L7 4.78z", - fillRule: "evenodd" - }) - ); -} -/* eslint-disable max-len */ - - -GrowthIcon.defaultProps = { - size: 18 -}; - -exports.default = GrowthIcon; - -/***/ }), -/* 65 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function EyeEmVision(props) { - return React.createElement( - "svg", - { - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 16 14" }, - React.createElement("path", { d: "M8 11c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5M0 6c0 .286 2.38 6 8 6 4.78 0 8-6 8-6s-3.02-6-8-6C2.314 0 0 5.714 0 6z" }), - React.createElement("circle", { cx: "8", cy: "6", r: "3" }) - ); -} -/* eslint-disable max-len */ - - -EyeEmVision.defaultProps = { - size: 16 -}; - -exports.default = EyeEmVision; - -/***/ }), -/* 66 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function Trophy(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 15 15" }, - React.createElement("path", { d: "M10.273 2c.437-.7 1.34-1 2.23-1h1.07C14.35 1 15 1.598 15 2.333v2.334C15 5.957 13.858 7 12.502 7h-.356c-.432 0-.825-.105-1.153-.285C10.89 8.382 9.63 9.732 8 9.965V13h3v1H4v-1h3V9.965c-1.624-.232-2.89-1.576-2.993-3.25-.328.18-.72.285-1.153.285h-.356C1.142 7 0 5.956 0 4.667V2.333C0 1.598.65 1 1.427 1h1.07c.89 0 1.793.3 2.23 1h5.546zM12.5 2c-.74 0-1.497.387-1.497 1.333v1.334c-.05.717.515 1.333 1.284 1.333h.214c.815 0 1.5-.696 1.5-1.556V2.89c0-.49-.39-.89-.856-.89H12.5zm-10 0h-.644C1.39 2 1 2.4 1 2.89v1.554C1 5.304 1.685 6 2.5 6h.213c.77 0 1.333-.616 1.284-1.333V3.333C3.997 2.387 3.24 2 2.5 2z" }) - ); -} -/* eslint-disable max-len */ - - -Trophy.defaultProps = { - size: 15 -}; - -exports.default = Trophy; - -/***/ }), -/* 67 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function TrophyPlus(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: 20, - width: 31, - viewBox: "0 1 31 24" }, - React.createElement("path", { d: "M28 6v8h2V6" }), - React.createElement("path", { d: "M33 9h-8v2h8" }), - React.createElement("path", { d: "M11 13.9v3.075H9V13.9A5.004 5.004 0 0 1 5.008 9V3H15v6c0 2.42-1.712 4.44-4 4.9zm-6 3.075h9.995v2H5v-2z" }), - React.createElement("path", { d: "M16.5 3A1.5 1.5 0 0 0 15 4.5v2a1.5 1.5 0 0 0 3 0V3h-1.5zm0-2H18a2 2 0 0 1 2 2v3.5a3.5 3.5 0 1 1-7 0v-2A3.5 3.5 0 0 1 16.5 1zm-13 2A1.5 1.5 0 0 1 5 4.5v2a1.5 1.5 0 0 1-3 0V3h1.5zm0-2H2a2 2 0 0 0-2 2v3.5a3.5 3.5 0 1 0 7 0v-2A3.5 3.5 0 0 0 3.5 1z" }) - ); -} -/* eslint-disable max-len */ -exports.default = TrophyPlus; - -/***/ }), -/* 68 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function TrophyMinus(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: 20, - width: 31, - viewBox: "0 0 31 24" }, - React.createElement("path", { d: "M16.5 2c-.83 0-1.5.67-1.5 1.5v2c0 .83.67 1.5 1.5 1.5S18 6.33 18 5.5V2h-1.5zm0-2H18c1.11 0 2 .89 2 2v3.5C20 7.43 18.43 9 16.5 9S13 7.43 13 5.5v-2C13 1.57 14.57 0 16.5 0zm-13 2C4.33 2 5 2.67 5 3.5v2C5 6.33 4.33 7 3.5 7S2 6.33 2 5.5V2h1.5zm0-2H2a2 2 0 0 0-2 2v3.5C0 7.43 1.57 9 3.5 9S7 7.43 7 5.5v-2C7 1.57 5.43 0 3.5 0zm0 0" }), - React.createElement("path", { d: "M33 8h-8v2h8V8zm-22 4.9v3.07H9V12.9A5 5 0 0 1 5.01 8V2H15v6a4.99 4.99 0 0 1-4 4.9zm-6 3.07h9.99v2H5v-2zm0 0" }), - ' ' - ); -} -/* eslint-disable max-len */ -exports.default = TrophyMinus; - -/***/ }), -/* 69 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function UserFollow(props) { - return React.createElement( - "svg", - { - id: props.id, - className: props.className, - height: props.size, - width: props.size, - viewBox: "0 0 20 20" }, - React.createElement("path", { - d: "M15.62 3.12V0h1.26v3.12H20v1.26h-3.12V7.5h-1.26V4.38H12.5V3.12h3.12zm-6.93 7.97c.83-.78 1.53-2.06 1.53-3.51 0-2.37-.68-4.3-3.12-4.33-2.44.03-3.12 1.96-3.12 4.33 0 1.43.69 2.7 1.51 3.49-.05 1.17-.61 1.74-2.43 2.42-1.9.7-3.06 1.42-3.06 1.91V17h14.38v-1.6c0-.49-1.28-1.21-3.18-1.91-1.8-.67-2.45-1.24-2.51-2.4zm0 0", - fillRule: "evenodd" - }) - ); -} -/* eslint-disable max-len */ - - -UserFollow.defaultProps = { - size: 20 -}; - -exports.default = UserFollow; - -/***/ }), -/* 70 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _templateObject = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n '], ['\n border-color: ', ';\n background-color: ', ';\n ']), - _templateObject2 = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n background-image: url(\'/node-static/img/spinner-32-black.gif\');\n background-position: center right 8px;\n background-size: 16px;\n background-repeat: no-repeat;\n '], ['\n border-color: ', ';\n background-color: ', ';\n background-image: url(\'/node-static/img/spinner-32-black.gif\');\n background-position: center right 8px;\n background-size: 16px;\n background-repeat: no-repeat;\n ']), - _templateObject3 = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n padding-right: 30px;\n background-image: url(\'/node-static/img/check-green.svg\');\n background-position: center right 8px;\n background-size: 15px;\n background-repeat: no-repeat;\n '], ['\n border-color: ', ';\n background-color: ', ';\n padding-right: 30px;\n background-image: url(\'/node-static/img/check-green.svg\');\n background-position: center right 8px;\n background-size: 15px;\n background-repeat: no-repeat;\n ']), - _templateObject4 = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n '], ['\n border-color: ', ';\n background-color: ', ';\n ']), - _templateObject5 = _taggedTemplateLiteral(['\n ', ';\n font-size: 16px;\n line-height: 20px;\n &::placeholder {\n color: ', ';\n }\n padding: 9px 12px 10px 12px;\n max-height: 40px;\n width: 100%;\n border-width: 1px;\n border-style: solid;\n border-radius: ', ';\n box-shadow: none;\n color: ', ';\n ', ' appearance: none;\n -webkit-appearance: none;\n\n &:focus {\n border-color: ', ';\n &::placeholder {\n color: ', ';\n }\n }\n'], ['\n ', ';\n font-size: 16px;\n line-height: 20px;\n &::placeholder {\n color: ', ';\n }\n padding: 9px 12px 10px 12px;\n max-height: 40px;\n width: 100%;\n border-width: 1px;\n border-style: solid;\n border-radius: ', ';\n box-shadow: none;\n color: ', ';\n ', ' appearance: none;\n -webkit-appearance: none;\n\n &:focus {\n border-color: ', ';\n &::placeholder {\n color: ', ';\n }\n }\n']), - _templateObject6 = _taggedTemplateLiteral(['\n font-size: 12px;\n\n position: absolute;\n top: 2px;\n right: 12px;\n cursor: pointer;\n\n color: ', ';\n'], ['\n font-size: 12px;\n\n position: absolute;\n top: 2px;\n right: 12px;\n cursor: pointer;\n\n color: ', ';\n']); - -var _react = __webpack_require__(0); - -var _react2 = _interopRequireDefault(_react); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _styleUtils = __webpack_require__(2); - -var _formRow = __webpack_require__(3); - -var _formRow2 = _interopRequireDefault(_formRow); - -var _flyout = __webpack_require__(4); - -var _flyout2 = _interopRequireDefault(_flyout); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var background = function background(props) { - if (props.error) { - return (0, _styledComponents.css)(_templateObject, (0, _styleUtils.fromInternalTheme)('colors.solidColors.red'), (0, _styleUtils.fromInternalTheme)('colors.lightColors.lightRed')); - } - if (props.pending) { - return (0, _styledComponents.css)(_templateObject2, (0, _styleUtils.fromInternalTheme)('colors.greys.grey4'), (0, _styleUtils.fromInternalTheme)('colors.whites.white')); - } - if (props.showCheckmark) { - return (0, _styledComponents.css)(_templateObject3, (0, _styleUtils.fromInternalTheme)('colors.greys.grey4'), (0, _styleUtils.fromInternalTheme)('colors.whites.white')); - } - return (0, _styledComponents.css)(_templateObject4, (0, _styleUtils.fromInternalTheme)('colors.greys.grey4'), (0, _styleUtils.fromInternalTheme)('colors.whites.white')); -}; - -var StyledInput = _styledComponents2.default.input(_templateObject5, (0, _styleUtils.font)('regular'), (0, _styleUtils.fromInternalTheme)('colors.uncategorized.unnamed10'), (0, _styleUtils.fromInternalTheme)('borderRadius'), (0, _styleUtils.fromInternalTheme)('colors.blacks.black1'), background, (0, _styleUtils.fromInternalTheme)('colors.solidColors.green'), (0, _styleUtils.fromInternalTheme)('colors.uncategorized.unnamed16')); - -var InnerHint = _styledComponents2.default.p(_templateObject6, (0, _styleUtils.fromInternalTheme)('colors.greys.grey3')); - -var Input = function (_React$Component) { - _inherits(Input, _React$Component); - - function Input() { - var _ref; - - var _temp, _this, _ret; - - _classCallCheck(this, Input); - - for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { - args[_key] = arguments[_key]; - } - - return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Input.__proto__ || Object.getPrototypeOf(Input)).call.apply(_ref, [this].concat(args))), _this), _this.state = { showPassword: false }, _this.togglePassword = function () { - return _this.setState({ - showPassword: !_this.state.showPassword - }); - }, _temp), _possibleConstructorReturn(_this, _ret); - } - - _createClass(Input, [{ - key: 'render', - value: function render() { - var WrapperComponent = this.props.formRow ? _formRow2.default : 'div'; - - return _react2.default.createElement( - WrapperComponent, - null, - _react2.default.createElement(StyledInput, _extends({}, this.props.inputProps, { - error: !!this.props.errorMessage, - pending: this.props.pending, - showCheckmark: this.props.showCheckmark, - type: this.state.showPassword && 'text' || this.props.inputProps.type || 'text' - })), - this.props.inputProps.type === 'password' && _react2.default.createElement( - InnerHint, - { - onClick: this.togglePassword, - className: 'g_input_innerHint' - }, - this.state.showPassword ? 'hide' : 'show' - ), - this.props.errorMessage && _react2.default.createElement( - _flyout2.default, - { fontColor: 'whites.white', backgroundColor: 'solidColors.red' }, - this.props.errorMessage - ) - ); - } - }]); - - return Input; -}(_react2.default.Component); - -Input.defaultProps = { - errorMessage: undefined, - pending: false, - formRow: true, - showCheckmark: false -}; -exports.default = Input; - -/***/ }), -/* 71 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _templateObject = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n '], ['\n border-color: ', ';\n background-color: ', ';\n ']), - _templateObject2 = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n '], ['\n border-color: ', ';\n background-color: ', ';\n ']), - _templateObject3 = _taggedTemplateLiteral(['\n font-size: 16px;\n line-height: 20px;\n &::placeholder {\n color: ', ';\n }\n ', ';\n padding: 9px 12px 10px 12px;\n max-height: 40px;\n width: 100%;\n box-shadow: none;\n color: ', ';\n border-width: 1px;\n border-style: solid;\n border-radius: ', ';\n background-image: url(\'/node-static/img/dropdown-arrow.svg\');\n background-position: center right 16px;\n background-size: 10px;\n background-repeat: no-repeat;\n\n appearance: none;\n -webkit-appearance: none;\n ', ' &:focus {\n border-color: ', ';\n &::placeholder {\n color: ', ';\n }\n }\n'], ['\n font-size: 16px;\n line-height: 20px;\n &::placeholder {\n color: ', ';\n }\n ', ';\n padding: 9px 12px 10px 12px;\n max-height: 40px;\n width: 100%;\n box-shadow: none;\n color: ', ';\n border-width: 1px;\n border-style: solid;\n border-radius: ', ';\n background-image: url(\'/node-static/img/dropdown-arrow.svg\');\n background-position: center right 16px;\n background-size: 10px;\n background-repeat: no-repeat;\n\n appearance: none;\n -webkit-appearance: none;\n ', ' &:focus {\n border-color: ', ';\n &::placeholder {\n color: ', ';\n }\n }\n']); - -var _react = __webpack_require__(0); - -var _react2 = _interopRequireDefault(_react); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _formRow = __webpack_require__(3); - -var _formRow2 = _interopRequireDefault(_formRow); - -var _flyout = __webpack_require__(4); - -var _flyout2 = _interopRequireDefault(_flyout); - -var _styleUtils = __webpack_require__(2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var background = function background(props) { - if (props.error) { - return (0, _styledComponents.css)(_templateObject, (0, _styleUtils.fromInternalTheme)('colors.solidColors.red'), (0, _styleUtils.fromInternalTheme)('colors.lightColors.lightRed')); - } - return (0, _styledComponents.css)(_templateObject2, (0, _styleUtils.fromInternalTheme)('colors.greys.grey4'), (0, _styleUtils.fromInternalTheme)('colors.whites.white')); -}; - -var StyledSelect = _styledComponents2.default.select(_templateObject3, (0, _styleUtils.fromInternalTheme)('colors.uncategorized.unnamed10'), (0, _styleUtils.font)('regular'), (0, _styleUtils.fromInternalTheme)('colors.blacks.black1'), (0, _styleUtils.fromInternalTheme)('borderRadius'), background, (0, _styleUtils.fromInternalTheme)('colors.solidColors.green'), (0, _styleUtils.fromInternalTheme)('colors.uncategorized.unnamed16')); - -function Select(props) { - var WrapperComponent = props.formRow ? _formRow2.default : 'div'; - - var options = props.text ? [{ - key: '__selectTitle__', - text: props.text - }].concat(props.options) : props.options; - - return _react2.default.createElement( - WrapperComponent, - null, - _react2.default.createElement( - StyledSelect, - _extends({}, props.inputProps, { - error: !!props.errorMessage || props.error - }), - options.map(function (option) { - return _react2.default.createElement( - 'option', - { key: option.value, value: option.value }, - option.text - ); - }) - ), - props.errorMessage && _react2.default.createElement( - _flyout2.default, - { fontColor: 'whites.white', backgroundColor: 'solidColors.red' }, - props.errorMessage - ) - ); -} - -Select.defaultProps = { - errorMessage: undefined, - formRow: true -}; - -exports.default = Select; - -/***/ }), -/* 72 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _text = __webpack_require__(73); - -var _text2 = _interopRequireDefault(_text); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -exports.default = _text2.default; - -/***/ }), -/* 73 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _react = __webpack_require__(0); - -var React = _interopRequireWildcard(_react); - -var _styleConfig = __webpack_require__(5); - -var _styledText = __webpack_require__(74); - -var _styledText2 = _interopRequireDefault(_styledText); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - -function Text(props) { - return React.createElement( - _styledText2.default, - { - to: props.to, - font: props.font, - fontStyle: props.fontStyle, - renderAs: props.renderAs, - 'data-test-id': props['data-test-id'], - id: props.id, - onClick: props.onClick, - className: props.className, - href: props.href, - target: props.target, - sizeValues: _styleConfig.textSizes[props.size], - colors: _extends({ - hover: _styleConfig.textColors[props.color] && _styleConfig.textColors[props.color].regular, - active: _styleConfig.textColors[props.color] && _styleConfig.textColors[props.color].regular - }, _styleConfig.textColors[props.color]), - cursor: props.cursor || _styleConfig.textColors[props.color] && _styleConfig.textColors[props.color].hover ? 'pointer' : undefined, - margin: props.margin, - marginTop: _styleConfig.textTopMargins[props.topMargin || 'none'], - display: props.display, - alignItems: props.alignItems, - ellipsis: props.ellipsis, - noWrap: props.noWrap, - underline: props.underline, - align: props.align - }, - props.children - ); -} - -Text.defaultProps = { - ellipsis: false, - noWrap: false, - underline: false, - topMargin: 'none', - color: 'default', - font: 'regular', - size: 'default', - display: 'block', - margin: undefined, - align: 'left', - renderAs: 'p', - 'data-test-id': undefined, - onClick: undefined, - target: undefined, - href: undefined -}; - -exports.default = Text; - -/***/ }), -/* 74 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _templateObject = _taggedTemplateLiteral(['\n white-space: nowrap;\n '], ['\n white-space: nowrap;\n ']), - _templateObject2 = _taggedTemplateLiteral(['\n width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n '], ['\n width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n ']), - _templateObject3 = _taggedTemplateLiteral(['\n display: ', ';\n letter-spacing: ', 'px;\n text-align: ', ';\n color: ', ';\n fill: ', ';\n font-style: ', ';\n font-size: ', 'px;\n line-height: ', 'px;\n text-decoration: ', ';\n margin: 0;\n margin-bottom: ', 'px;\n margin-top: ', 'px;\n cursor: ', ';\n transition: color 0.2s ease-out;\n ', '\n ', '\n ', ';\n ', ';\n &:focus,\n &:hover {\n color: ', ';\n fill: ', ';\n }\n &:active {\n color: ', ';\n fill: ', ';\n }\n &:focus {\n outline: none;\n }\n &:last-child {\n margin-bottom: 0;\n }\n ', ' ', ' ', '\n'], ['\n display: ', ';\n letter-spacing: ', 'px;\n text-align: ', ';\n color: ', ';\n fill: ', ';\n font-style: ', ';\n font-size: ', 'px;\n line-height: ', 'px;\n text-decoration: ', ';\n margin: 0;\n margin-bottom: ', 'px;\n margin-top: ', 'px;\n cursor: ', ';\n transition: color 0.2s ease-out;\n ', '\n ', '\n ', ';\n ', ';\n &:focus,\n &:hover {\n color: ', ';\n fill: ', ';\n }\n &:active {\n color: ', ';\n fill: ', ';\n }\n &:focus {\n outline: none;\n }\n &:last-child {\n margin-bottom: 0;\n }\n ', ' ', ' ', '\n']), - _templateObject4 = _taggedTemplateLiteral(['\n font-size: ', 'px;\n line-height: ', 'px;\n margin-bottom: ', 'px;\n margin-top: ', 'px;\n '], ['\n font-size: ', 'px;\n line-height: ', 'px;\n margin-bottom: ', 'px;\n margin-top: ', 'px;\n ']); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _lodash = __webpack_require__(7); - -var _lodash2 = _interopRequireDefault(_lodash); - -var _reactCreateComponentFromTagProp = __webpack_require__(6); - -var _reactCreateComponentFromTagProp2 = _interopRequireDefault(_reactCreateComponentFromTagProp); - -var _styleUtils = __webpack_require__(2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var ComponentFromTagProp = (0, _reactCreateComponentFromTagProp2.default)({ - tag: 'a', - prop: 'renderAs', - propsToOmit: ['renderAs', 'underline', 'colors', 'font', 'fontStyle', 'sizeValues', 'margin', 'marginTop', 'ellipsis', 'noWrap', 'cursor', 'align', 'display', 'alignItems'] -}); - -var fontSizeToLineHeight = function fontSizeToLineHeight(fontSize) { - return fontSize + 8; -}; -var fontSizeToMargin = function fontSizeToMargin(fontSize) { - return (fontSize + 8) / 2; -}; - -var fontSize = function fontSize(size) { - return (0, _styleUtils.fromProps)('sizeValues.font.' + size); -}; -var lineHeight = function lineHeight(size) { - return function (props) { - return fontSizeToLineHeight(fontSize(size)(props)); - }; -}; -var marginBottom = function marginBottom(size) { - return function (props) { - if (_lodash2.default.isUndefined(props.margin)) { - return fontSizeToMargin(fontSize(size)(props)); - } - return props.margin; - }; -}; - -var noWrap = function noWrap(props) { - return props.noWrap ? (0, _styledComponents.css)(_templateObject) : ''; -}; - -var ellipsis = function ellipsis(props) { - return props.ellipsis ? (0, _styledComponents.css)(_templateObject2) : ''; -}; - -var StyledText = (0, _styledComponents2.default)(ComponentFromTagProp)(_templateObject3, (0, _styleUtils.fromProps)('display'), (0, _styleUtils.fromProps)('sizeValues.letterSpacing'), (0, _styleUtils.fromProps)('align'), (0, _styleUtils.propsColorFromTheme)('colors.regular'), (0, _styleUtils.propsColorFromTheme)('colors.regular'), function (props) { - return props.fontStyle; -}, fontSize('small'), lineHeight('small'), (0, _styleUtils.fromPropsTernary)('underline', 'underline', 'none'), marginBottom('small'), (0, _styleUtils.fromProps)('marginTop.small'), (0, _styleUtils.fromProps)('cursor'), function (props) { - return (0, _styleUtils.alignItems)(props.alignItems); -}, function (props) { - return (0, _styleUtils.font)(props.font); -}, ellipsis, noWrap, (0, _styleUtils.propsColorFromTheme)('colors.hover'), (0, _styleUtils.propsColorFromTheme)('colors.hover'), (0, _styleUtils.propsColorFromTheme)('colors.active'), (0, _styleUtils.propsColorFromTheme)('colors.active'), _styleUtils.media.medium(_templateObject4, fontSize('medium'), lineHeight('medium'), marginBottom('medium'), (0, _styleUtils.fromProps)('marginTop.medium')), _styleUtils.media.large(_templateObject4, fontSize('large'), lineHeight('large'), marginBottom('large'), (0, _styleUtils.fromProps)('marginTop.large')), _styleUtils.media.xlarge(_templateObject4, fontSize('xlarge'), lineHeight('xlarge'), marginBottom('xlarge'), (0, _styleUtils.fromProps)('marginTop.xlarge'))); - -exports.default = StyledText; - -/***/ }), -/* 75 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _templateObject = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n '], ['\n border-color: ', ';\n background-color: ', ';\n ']), - _templateObject2 = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n '], ['\n border-color: ', ';\n background-color: ', ';\n ']), - _templateObject3 = _taggedTemplateLiteral(['\n font-size: 16px;\n line-height: 20px;\n &::placeholder {\n color: ', ';\n }\n ', ';\n padding: 9px 12px 10px 12px;\n max-width: 100%;\n width: 100%;\n border-width: 1px;\n border-style: solid;\n border-radius: ', ';\n box-shadow: none;\n color: ', ';\n ', ' appearance: none;\n -webkit-appearance: none;\n\n &:focus {\n border-color: ', ';\n &::placeholder {\n color: ', ';\n }\n }\n'], ['\n font-size: 16px;\n line-height: 20px;\n &::placeholder {\n color: ', ';\n }\n ', ';\n padding: 9px 12px 10px 12px;\n max-width: 100%;\n width: 100%;\n border-width: 1px;\n border-style: solid;\n border-radius: ', ';\n box-shadow: none;\n color: ', ';\n ', ' appearance: none;\n -webkit-appearance: none;\n\n &:focus {\n border-color: ', ';\n &::placeholder {\n color: ', ';\n }\n }\n']); - -var _react = __webpack_require__(0); - -var _react2 = _interopRequireDefault(_react); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _flyout = __webpack_require__(4); - -var _flyout2 = _interopRequireDefault(_flyout); - -var _formRow = __webpack_require__(3); - -var _formRow2 = _interopRequireDefault(_formRow); - -var _styleUtils = __webpack_require__(2); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var background = function background(props) { - if (props.error) { - return (0, _styledComponents.css)(_templateObject, (0, _styleUtils.fromInternalTheme)('colors.solidColors.red'), (0, _styleUtils.fromInternalTheme)('colors.lightColors.lightRed')); - } - return (0, _styledComponents.css)(_templateObject2, (0, _styleUtils.fromInternalTheme)('colors.greys.grey4'), (0, _styleUtils.fromInternalTheme)('colors.whites.white')); -}; - -var StyledTextarea = _styledComponents2.default.textarea(_templateObject3, (0, _styleUtils.fromInternalTheme)('colors.uncategorized.unnamed10'), (0, _styleUtils.font)('regular'), (0, _styleUtils.fromInternalTheme)('borderRadius'), (0, _styleUtils.fromInternalTheme)('colors.blacks.black1'), background, (0, _styleUtils.fromInternalTheme)('colors.solidColors.green'), (0, _styleUtils.fromInternalTheme)('colors.uncategorized.unnamed16')); - -function Textarea(props) { - var WrapperComponent = props.formRow ? _formRow2.default : 'div'; - - return _react2.default.createElement( - WrapperComponent, - null, - _react2.default.createElement(StyledTextarea, _extends({ error: !!props.errorMessage }, props.inputProps)), - props.errorMessage && _react2.default.createElement( - _flyout2.default, - { fontColor: 'whites.white', backgroundColor: 'solidColors.red' }, - props.errorMessage - ) - ); -} - -Textarea.defaultProps = { - errorMessage: undefined, - formRow: true -}; - -exports.default = Textarea; - -/***/ }), -/* 76 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _templateObject = _taggedTemplateLiteral(['\n display: none;\n visibility: hidden;\n float: left;\n margin-right: 16px;\n'], ['\n display: none;\n visibility: hidden;\n float: left;\n margin-right: 16px;\n']), - _templateObject2 = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n '], ['\n border-color: ', ';\n background-color: ', ';\n ']), - _templateObject3 = _taggedTemplateLiteral(['\n border-color: ', ';\n background-color: ', ';\n '], ['\n border-color: ', ';\n background-color: ', ';\n ']), - _templateObject4 = _taggedTemplateLiteral(['\n font-size: 14px;\n display: block;\n margin: 0 0 12px 12px;\n\n padding-left: 16px;\n min-height: 12px;\n text-align: left;\n line-height: 22px;\n cursor: pointer;\n &:after {\n content: \' \';\n display: table;\n clear: both;\n }\n\n &:before {\n ', ' content: \' \';\n display: table;\n position: absolute;\n top: 3px;\n left: 0;\n display: block;\n\n width: 16px;\n height: 16px;\n border-style: solid;\n border-width: 1px;\n border-radius: 3px;\n background-image: url(\'/node-static/img/check-white-9x7px.svg\');\n background-position: center center;\n background-size: ', ';\n background-repeat: no-repeat;\n content: \'\';\n transition: transform 0.15s ease-out, background 0.15s ease-out,\n border-color 0.15s ease-out;\n }\n'], ['\n font-size: 14px;\n display: block;\n margin: 0 0 12px 12px;\n\n padding-left: 16px;\n min-height: 12px;\n text-align: left;\n line-height: 22px;\n cursor: pointer;\n &:after {\n content: \' \';\n display: table;\n clear: both;\n }\n\n &:before {\n ', ' content: \' \';\n display: table;\n position: absolute;\n top: 3px;\n left: 0;\n display: block;\n\n width: 16px;\n height: 16px;\n border-style: solid;\n border-width: 1px;\n border-radius: 3px;\n background-image: url(\'/node-static/img/check-white-9x7px.svg\');\n background-position: center center;\n background-size: ', ';\n background-repeat: no-repeat;\n content: \'\';\n transition: transform 0.15s ease-out, background 0.15s ease-out,\n border-color 0.15s ease-out;\n }\n']), - _templateObject5 = _taggedTemplateLiteral(['position: relative;'], ['position: relative;']); - -var _react = __webpack_require__(0); - -var _react2 = _interopRequireDefault(_react); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _styleUtils = __webpack_require__(2); - -var _formRow = __webpack_require__(3); - -var _formRow2 = _interopRequireDefault(_formRow); - -var _flyout = __webpack_require__(4); - -var _flyout2 = _interopRequireDefault(_flyout); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var StyledCheckbox = _styledComponents2.default.input(_templateObject); - -var background = function background(props) { - if (props.error) { - return (0, _styledComponents.css)(_templateObject2, (0, _styleUtils.fromInternalTheme)('colors.solidColors.red'), (0, _styleUtils.fromInternalTheme)('colors.lightColors.lightRed')); - } - if (props.checked) { - return (0, _styledComponents.css)(_templateObject2, (0, _styleUtils.fromInternalTheme)('colors.solidColors.green'), (0, _styleUtils.fromInternalTheme)('colors.solidColors.green')); - } - return (0, _styledComponents.css)(_templateObject3, (0, _styleUtils.fromInternalTheme)('colors.greys.grey4'), (0, _styleUtils.fromInternalTheme)('colors.whites.white')); -}; - -var StyledLabel = _styledComponents2.default.label(_templateObject4, background, (0, _styleUtils.fromPropsTernary)('checked', '9px 7px', '0')); - -var Wrapper = _styledComponents2.default.div(_templateObject5); - -function Checkbox(props) { - var WrapperComponent = props.formRow ? _formRow2.default : Wrapper; - - return _react2.default.createElement( - WrapperComponent, - null, - _react2.default.createElement(StyledCheckbox, _extends({}, props.inputProps, { - type: 'checkbox', - id: props.inputProps.name - })), - _react2.default.createElement( - StyledLabel, - { - htmlFor: props.inputProps.name, - error: !!props.errorMessage, - checked: props.inputProps.checked - }, - props.label - ), - props.errorMessage && _react2.default.createElement( - _flyout2.default, - { fontColor: 'whites.white', backgroundColor: 'solidColors.red' }, - props.errorMessage - ) - ); -} - -Checkbox.defaultProps = { - errorMessage: undefined, - inputProps: { - name: 'missingName' - }, - label: 'Missing label', - formRow: true -}; - -exports.default = Checkbox; - -/***/ }), -/* 77 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _templateObject = _taggedTemplateLiteral(['\n display: none;\n visibility: hidden;\n float: left;\n margin-right: 16px;\n'], ['\n display: none;\n visibility: hidden;\n float: left;\n margin-right: 16px;\n']), - _templateObject2 = _taggedTemplateLiteral(['\n ', ';\n'], ['\n ', ';\n']), - _templateObject3 = _taggedTemplateLiteral(['1px solid ', ''], ['1px solid ', '']), - _templateObject4 = _taggedTemplateLiteral(['5px solid ', ''], ['5px solid ', '']), - _templateObject5 = _taggedTemplateLiteral(['\n position: relative;\n padding-left: 24px;\n cursor: pointer;\n\n font-size: 14px;\n line-height: 22px;\n\n &:before {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n\n width: 16px;\n height: 16px;\n border: ', ';\n border-radius: 12px;\n transition: border-color 0.15s ease-out;\n content: \'\';\n }\n'], ['\n position: relative;\n padding-left: 24px;\n cursor: pointer;\n\n font-size: 14px;\n line-height: 22px;\n\n &:before {\n position: absolute;\n top: 0;\n left: 0;\n display: block;\n\n width: 16px;\n height: 16px;\n border: ', ';\n border-radius: 12px;\n transition: border-color 0.15s ease-out;\n content: \'\';\n }\n']), - _templateObject6 = _taggedTemplateLiteral(['\n position: relative;\n'], ['\n position: relative;\n']); - -var _react = __webpack_require__(0); - -var _react2 = _interopRequireDefault(_react); - -var _styledComponents = __webpack_require__(1); - -var _styledComponents2 = _interopRequireDefault(_styledComponents); - -var _styleUtils = __webpack_require__(2); - -var _formRow = __webpack_require__(3); - -var _formRow2 = _interopRequireDefault(_formRow); - -var _flyout = __webpack_require__(4); - -var _flyout2 = _interopRequireDefault(_flyout); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var StyledRadio = _styledComponents2.default.input(_templateObject); - -var RadioRow = _styledComponents2.default.div(_templateObject2, (0, _styleUtils.fromPropsTernary)('radioColumned', 'display: inline-block;margin-right: 32px;', 'display: block;\n margin-bottom: 6px;\n &:last-child {\n margin-bottom: 0;\n }')); - -var border = function border(props) { - var border = (0, _styledComponents.css)(_templateObject3, (0, _styleUtils.fromInternalTheme)('colors.greys.grey3')); - if (props.error) { - border = (0, _styledComponents.css)(_templateObject3, (0, _styleUtils.fromInternalTheme)('colors.solidColors.red')); - } else if (props.checked) { - border = (0, _styledComponents.css)(_templateObject4, (0, _styleUtils.fromInternalTheme)('colors.solidColors.green')); - } - return border; -}; - -var StyledLabel = _styledComponents2.default.label(_templateObject5, border); - -var Wrapper = _styledComponents2.default.div(_templateObject6); - -var compareAsString = function compareAsString(val1, val2) { - return ('' + val1).toLowerCase() === ('' + val2).toLowerCase(); -}; - -function RadioGroup(props) { - var WrapperComponent = props.formRow ? _formRow2.default : Wrapper; - - return _react2.default.createElement( - WrapperComponent, - null, - props.options.map(function (option) { - return _react2.default.createElement( - RadioRow, - { key: option.value, radioColumned: props.radioColumned }, - _react2.default.createElement(StyledRadio, _extends({}, props.inputProps, { - value: option.value, - checked: compareAsString(option.value, props.inputProps.value), - type: 'radio', - id: props.inputProps.name + '_' + option.value - })), - _react2.default.createElement( - StyledLabel, - { - error: !!props.errorMessage, - checked: compareAsString(option.value, props.inputProps.value), - htmlFor: props.inputProps.name + '_' + option.value }, - option.text - ) - ); - }), - props.errorMessage && _react2.default.createElement( - _flyout2.default, - { fontColor: 'whites.white', backgroundColor: 'solidColors.red' }, - props.errorMessage - ) - ); -} - -RadioGroup.defaultProps = { - errorMessage: undefined, - inputProps: { - name: 'missingName' - }, - formRow: true -}; - -exports.default = RadioGroup; - -/***/ }), -/* 78 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _templateObject = _taggedTemplateLiteral(['\n ', ';\n\n @font-face {\n font-family: \'Sailec Regular\';\n src: url(\'', '/SailecRegular.eot?#iefix\');\n src: url(\'', '/SailecRegular.eot?#iefix\')\n format(\'eot\'),\n url(\'', '/SailecRegular.woff\')\n format(\'woff\'),\n url(\'', '/SailecRegular.ttf\')\n format(\'truetype\'),\n url(\'', '/SailecRegular.svg#48d599a6-92b5-4d43-a4ac-8959f6971853\')\n format(\'svg\');\n }\n\n @font-face {\n font-family: \'Sailec Bold\';\n src: url(\'', '/SailecBold.eot?#iefix\');\n src: url(\'', '/SailecBold.eot?#iefix\')\n format(\'eot\'),\n url(\'', '/SailecBold.woff\')\n format(\'woff\'),\n url(\'', '/SailecBold.ttf\')\n format(\'truetype\'),\n url(\'', '/SailecBold.svg#25e09910-ffc3-4fc4-b0d1-db9a95dface8\')\n format(\'svg\');\n }\n\n @font-face {\n font-family: \'Sailec Light\';\n src: url(\'', '/sailec-light.eot?#iefix\');\n src: url(\'', '/sailec-light.eot?#iefix\')\n format(\'eot\'),\n url(\'', '/sailec-light.woff\')\n format(\'woff\'),\n url(\'', '/sailec-light.ttf\')\n format(\'truetype\'),\n url(\'', '/sailec-light.svg#48d599a6-92b5-4d43-a4ac-8959f6971853\')\n format(\'svg\');\n }\n\n body {\n font-family: \'Sailec Regular\', sans-serif;\n }\n *,\n *:before,\n *:after {\n box-sizing: border-box;\n text-decoration: none;\n }\n'], ['\n ', ';\n\n @font-face {\n font-family: \'Sailec Regular\';\n src: url(\'', '/SailecRegular.eot?#iefix\');\n src: url(\'', '/SailecRegular.eot?#iefix\')\n format(\'eot\'),\n url(\'', '/SailecRegular.woff\')\n format(\'woff\'),\n url(\'', '/SailecRegular.ttf\')\n format(\'truetype\'),\n url(\'', '/SailecRegular.svg#48d599a6-92b5-4d43-a4ac-8959f6971853\')\n format(\'svg\');\n }\n\n @font-face {\n font-family: \'Sailec Bold\';\n src: url(\'', '/SailecBold.eot?#iefix\');\n src: url(\'', '/SailecBold.eot?#iefix\')\n format(\'eot\'),\n url(\'', '/SailecBold.woff\')\n format(\'woff\'),\n url(\'', '/SailecBold.ttf\')\n format(\'truetype\'),\n url(\'', '/SailecBold.svg#25e09910-ffc3-4fc4-b0d1-db9a95dface8\')\n format(\'svg\');\n }\n\n @font-face {\n font-family: \'Sailec Light\';\n src: url(\'', '/sailec-light.eot?#iefix\');\n src: url(\'', '/sailec-light.eot?#iefix\')\n format(\'eot\'),\n url(\'', '/sailec-light.woff\')\n format(\'woff\'),\n url(\'', '/sailec-light.ttf\')\n format(\'truetype\'),\n url(\'', '/sailec-light.svg#48d599a6-92b5-4d43-a4ac-8959f6971853\')\n format(\'svg\');\n }\n\n body {\n font-family: \'Sailec Regular\', sans-serif;\n }\n *,\n *:before,\n *:after {\n box-sizing: border-box;\n text-decoration: none;\n }\n']); - -var _styledComponents = __webpack_require__(1); - -var _styledNormalize = __webpack_require__(79); - -var _styledNormalize2 = _interopRequireDefault(_styledNormalize); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } - -var DEFAULT_BASE_URL = 'https://dtpuu5koy2g08.cloudfront.net/fonts/sailec'; - -var getBaseUrl = function getBaseUrl(theme) { - if (theme.fontBase) { - return theme.fontBase; - } - - return DEFAULT_BASE_URL; -}; - -exports.default = function (_ref) { - var _ref$theme = _ref.theme, - theme = _ref$theme === undefined ? {} : _ref$theme; - return (0, _styledComponents.css)(_templateObject, _styledNormalize2.default, getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme), getBaseUrl(theme)); -}; - -/***/ }), -/* 79 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = exports.normalize = exports.version = void 0; - -var _styledComponents = __webpack_require__(1); - -var version = '8.0.0'; -exports.version = version; -var normalize = (0, _styledComponents.css)(["html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0;}h1{font-size:2em;margin:0.67em 0;}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace,monospace;font-size:1em;}a{background-color:transparent;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder;}code,kbd,samp{font-family:monospace,monospace;font-size:1em;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}img{border-style:none;}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible;}button,select{text-transform:none;}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button;}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0;}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText;}fieldset{padding:0.35em 0.75em 0.625em;}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline;}textarea{overflow:auto;}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto;}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block;}summary{display:list-item;}template{display:none;}[hidden]{display:none;}"]); -exports.normalize = normalize; -var _default = normalize; -exports.default = _default; - -/***/ }) -/******/ ]); -}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("styled-components"),require("react-create-component-from-tag-prop"),require("lodash")):"function"==typeof define&&define.amd?define("eyeem-components",["react","styled-components","react-create-component-from-tag-prop","_"],t):"object"==typeof exports?exports["eyeem-components"]=t(require("react"),require("styled-components"),require("react-create-component-from-tag-prop"),require("lodash")):e["eyeem-components"]=t(e.react,e["styled-components"],e["react-create-component-from-tag-prop"],e._)}(window,function(r,n,o,a){return function(r){var n={};function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=r,o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=10)}([function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idealTextColor=t.isRgbaColor=t.propsColorFromTheme=t.alignItems=t.fromPropsTernary=t.fromProps=t.fromTheme=t.fromInternalTheme=t.font=t.media=t.BREAKPOINTS=void 0;var n,o,a,l=(n=["\n @media (min-width: ","em) {\n ",";\n }\n "],o=["\n @media (min-width: ","em) {\n ",";\n }\n "],Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(o)}}))),i=r(7),s=(a=i)&&a.__esModule?a:{default:a},c=r(1),u=function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}}(r(8));var d=t.BREAKPOINTS={small:0,medium:641,large:769,xlarge:1025},f=(t.media=Object.keys(d).reduce(function(e,t){var r=d[t]/16;return e[t]=function(){return(0,c.css)(l,r,c.css.apply(void 0,arguments))},e},{}),{regular:'"Sailec Regular", sans-serif',bold:'"Sailec Bold", sans-serif',light:'"Sailec Light", sans-serif'}),p=(t.font=function(){var e=0= 1.4.0 < 2" + } + }, "https-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", @@ -3313,9 +3736,15 @@ } }, "ieee754": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.11.tgz", - "integrity": "sha512-VhDzCKN7K8ufStx/CLj5/PDTMgph+qwN5Pkd5i0sGnVwk56zJ0lkT8Qzi1xqWLS0Wp29DgDtNeS7v8/wMoZeHg==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz", + "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==", + "dev": true + }, + "iferr": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", + "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", "dev": true }, "import-lazy": { @@ -3324,6 +3753,70 @@ "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", "dev": true }, + "import-local": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", + "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", + "dev": true, + "requires": { + "pkg-dir": "^3.0.0", + "resolve-cwd": "^2.0.0" + }, + "dependencies": { + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz", + "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + } + } + }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -3459,9 +3952,15 @@ } }, "invert-kv": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", + "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", + "dev": true + }, + "ipaddr.js": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", + "integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4=", "dev": true }, "is-accessor-descriptor": { @@ -3471,6 +3970,17 @@ "dev": true, "requires": { "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "is-arrayish": { @@ -3519,6 +4029,17 @@ "dev": true, "requires": { "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "is-descriptor": { @@ -3599,6 +4120,17 @@ "dev": true, "requires": { "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "is-obj": { @@ -3624,23 +4156,6 @@ } } }, - "is-odd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-odd/-/is-odd-2.0.0.tgz", - "integrity": "sha512-OTiixgpZAT1M4NHgS5IguFp/Vz2VI3U7Goh4/HA1adtwyLtSBrxYlcSYkhpAE07s4fKEcjrFxyvtQBND4vFQyQ==", - "dev": true, - "requires": { - "is-number": "^4.0.0" - }, - "dependencies": { - "is-number": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", - "dev": true - } - } - }, "is-path-cwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", @@ -3756,12 +4271,6 @@ "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", "dev": true }, - "json-loader": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.7.tgz", - "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==", - "dev": true - }, "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", @@ -3781,13 +4290,10 @@ "dev": true }, "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true }, "latest-version": { "version": "3.1.0", @@ -3798,19 +4304,13 @@ "package-json": "^4.0.0" } }, - "lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", - "dev": true - }, "lcid": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", + "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", "dev": true, "requires": { - "invert-kv": "^1.0.0" + "invert-kv": "^2.0.0" } }, "listr": { @@ -4057,9 +4557,9 @@ } }, "loader-runner": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", - "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.1.tgz", + "integrity": "sha512-By6ZFY7ETWOc9RFaAIb23IjJVcM4dvJC/N57nmdz9RSkMXvAXGI7SyVlAw3v8vjtDRlqThgVDVmTnr9fqMlxkw==", "dev": true }, "loader-utils": { @@ -4089,6 +4589,12 @@ "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", "dev": true }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, "log-symbols": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", @@ -4172,12 +4678,6 @@ } } }, - "longest": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", - "dev": true - }, "loose-envify": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", @@ -4222,6 +4722,15 @@ "pify": "^3.0.0" } }, + "map-age-cleaner": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.2.tgz", + "integrity": "sha512-UN1dNocxQq44IhJyMI4TU8phc2m9BddacHRPRjKGLYaF0jqd3xLz0jS0skpAU9WgYyoR4gHtUpzytNBS385FWQ==", + "dev": true, + "requires": { + "p-defer": "^1.0.0" + } + }, "map-cache": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", @@ -4244,22 +4753,31 @@ } }, "md5.js": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz", - "integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0=", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", "dev": true, "requires": { "hash-base": "^3.0.0", - "inherits": "^2.0.1" + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" } }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, "mem": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", - "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-4.0.0.tgz", + "integrity": "sha512-WQxG/5xYc3tMbYLXoXPm81ET2WDULiU5FxbuIoNbJqLOOI8zehXFdZuiUEgfdrU2mVB1pxBZUGlYORSrpuJreA==", "dev": true, "requires": { - "mimic-fn": "^1.0.0" + "map-age-cleaner": "^0.1.1", + "mimic-fn": "^1.0.0", + "p-is-promise": "^1.1.0" } }, "memoize-one": { @@ -4306,6 +4824,18 @@ } } }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, "micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", @@ -4325,14 +4855,6 @@ "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } } }, "miller-rabin": { @@ -4345,6 +4867,27 @@ "brorand": "^1.0.1" } }, + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + }, + "mime-db": { + "version": "1.36.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz", + "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==", + "dev": true + }, + "mime-types": { + "version": "2.1.20", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz", + "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==", + "dev": true, + "requires": { + "mime-db": "~1.36.0" + } + }, "mimic-fn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", @@ -4388,6 +4931,24 @@ "is-plain-obj": "^1.1.0" } }, + "mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, "mixin-deep": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", @@ -4418,6 +4979,20 @@ "minimist": "0.0.8" } }, + "move-concurrently": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", + "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" + } + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -4431,16 +5006,16 @@ "dev": true }, "nan": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz", - "integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz", + "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==", "dev": true, "optional": true }, "nanomatch": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.9.tgz", - "integrity": "sha512-n8R9bS8yQ6eSXaV6jHUpKzD8gLsin02w1HSFiegwrs9E098Ylhw5jdyKPaYqvHknHaSCKTPp7C8dGCQ0q9koXA==", + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", "dev": true, "requires": { "arr-diff": "^4.0.0", @@ -4448,33 +5023,24 @@ "define-property": "^2.0.2", "extend-shallow": "^3.0.2", "fragment-cache": "^0.2.1", - "is-odd": "^2.0.0", "is-windows": "^1.0.2", "kind-of": "^6.0.2", "object.pick": "^1.3.0", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" - }, - "dependencies": { - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } } }, - "neo-async": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.5.1.tgz", - "integrity": "sha512-3KL3fvuRkZ7s4IFOMfztb7zJp3QaVWnBeGoJlgB38XnCRPj/0tLzzLG5IB8NYOHbJ8g8UGrgZv44GLDk6CxTxA==", + "negotiator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", + "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", "dev": true }, - "next-tick": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", - "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", + "neo-async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.0.tgz", + "integrity": "sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==", "dev": true }, "nice-try": { @@ -4524,17 +5090,6 @@ "vm-browserify": "0.0.4" }, "dependencies": { - "buffer": { - "version": "4.9.1", - "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", - "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", - "dev": true, - "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, "punycode": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", @@ -4663,6 +5218,15 @@ "requires": { "is-descriptor": "^0.1.0" } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } } } }, @@ -4684,10 +5248,19 @@ "isobject": "^3.0.1" } }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { "wrappy": "1" @@ -4702,6 +5275,12 @@ "mimic-fn": "^1.0.0" } }, + "opener": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/opener/-/opener-1.5.1.tgz", + "integrity": "sha512-goYSy5c2UXE4Ra1xixabeVh1guIX/ZV/YokJksb6q2lubWu6UbvPQ20p542/sFIll1nl8JnCyK9oBaOcCWXwvA==", + "dev": true + }, "ora": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/ora/-/ora-0.2.3.tgz", @@ -4754,31 +5333,14 @@ "dev": true }, "os-locale": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", - "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.0.1.tgz", + "integrity": "sha512-7g5e7dmXPtzcP4bgsZ8ixDVqA7oWYuEz4lOSujeWyliPai4gfVDiFIcwBg3aGCPnmSGfzOKTK3ccPn0CKv3DBw==", "dev": true, "requires": { - "execa": "^0.7.0", - "lcid": "^1.0.0", - "mem": "^1.1.0" - }, - "dependencies": { - "execa": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", - "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", - "dev": true, - "requires": { - "cross-spawn": "^5.0.1", - "get-stream": "^3.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - } - } + "execa": "^0.10.0", + "lcid": "^2.0.0", + "mem": "^4.0.0" } }, "os-tmpdir": { @@ -4787,12 +5349,24 @@ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true }, + "p-defer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", + "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", + "dev": true + }, "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", "dev": true }, + "p-is-promise": { + "version": "1.1.0", + "resolved": "http://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz", + "integrity": "sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4=", + "dev": true + }, "p-limit": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.2.0.tgz", @@ -4850,6 +5424,17 @@ "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==", "dev": true }, + "parallel-transform": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz", + "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=", + "dev": true, + "requires": { + "cyclist": "~0.2.2", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" + } + }, "parse-asn1": { "version": "5.1.1", "resolved": "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", @@ -4873,6 +5458,12 @@ "json-parse-better-errors": "^1.0.1" } }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, "pascalcase": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", @@ -4915,6 +5506,12 @@ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", "dev": true }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, "path-type": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", @@ -4925,9 +5522,9 @@ } }, "pbkdf2": { - "version": "3.0.16", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.16.tgz", - "integrity": "sha512-y4CXP3thSxqf7c0qmOF+9UeOTrifiVTIM+u7NWlq+PRsHbr7r7dpCmvzrZxa96JJUNi0Y5w9VqG5ZNeCVMoDcA==", + "version": "3.0.17", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", + "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", "dev": true, "requires": { "create-hash": "^1.1.2", @@ -5012,6 +5609,12 @@ "asap": "~2.0.3" } }, + "promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", + "dev": true + }, "prop-types": { "version": "15.6.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz", @@ -5023,6 +5626,16 @@ "object-assign": "^4.1.1" } }, + "proxy-addr": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz", + "integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==", + "dev": true, + "requires": { + "forwarded": "~0.1.2", + "ipaddr.js": "1.8.0" + } + }, "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -5036,16 +5649,50 @@ "dev": true }, "public-encrypt": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.2.tgz", - "integrity": "sha512-4kJ5Esocg8X3h8YgJsKAuoesBgB7mqH3eowiDzMUPKiRDDE7E/BqqZD1hnTByIaAFiwAw246YEltSq7tdrOH0Q==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", "dev": true, "requires": { "bn.js": "^4.1.0", "browserify-rsa": "^4.0.0", "create-hash": "^1.1.0", "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1" + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "pumpify": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", + "dev": true, + "requires": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + }, + "dependencies": { + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } } }, "punycode": { @@ -5054,6 +5701,12 @@ "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=", "dev": true }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + }, "querystring": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", @@ -5091,6 +5744,24 @@ "safe-buffer": "^5.1.0" } }, + "range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", + "dev": true + }, + "raw-body": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz", + "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.3", + "iconv-lite": "0.4.23", + "unpipe": "1.0.0" + } + }, "rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -5179,15 +5850,14 @@ } }, "readdirp": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", - "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "minimatch": "^3.0.2", - "readable-stream": "^2.0.2", - "set-immediate-shim": "^1.0.1" + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" } }, "redent": { @@ -5301,9 +5971,9 @@ "dev": true }, "repeat-element": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", - "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", "dev": true }, "repeat-string": { @@ -5333,6 +6003,21 @@ "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", "dev": true }, + "resolve-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", + "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "dev": true, + "requires": { + "resolve-from": "^3.0.0" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + }, "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -5355,15 +6040,6 @@ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", "dev": true }, - "right-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", - "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", - "dev": true, - "requires": { - "align-text": "^0.1.1" - } - }, "rimraf": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", @@ -5392,6 +6068,15 @@ "is-promise": "^2.1.0" } }, + "run-queue": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", + "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", + "dev": true, + "requires": { + "aproba": "^1.1.1" + } + }, "rx-lite": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", @@ -5437,6 +6122,17 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "schema-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" + } + }, "semver": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", @@ -5452,18 +6148,51 @@ "semver": "^5.0.3" } }, + "send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.6.2", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.4.0" + } + }, + "serialize-javascript": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.5.0.tgz", + "integrity": "sha512-Ga8c8NjAAp46Br4+0oZ2WxJCwIzwP60Gq1YPgU+39PiTVxyed/iKE/zyZI6+UlVYH5Q4PaQdHhcegIFPZTUfoQ==", + "dev": true + }, + "serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.2", + "send": "0.16.2" + } + }, "set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "dev": true }, - "set-immediate-shim": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", - "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", - "dev": true - }, "set-value": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz", @@ -5493,6 +6222,12 @@ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", "dev": true }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, "sha.js": { "version": "2.4.11", "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", @@ -5532,7 +6267,7 @@ }, "slice-ansi": { "version": "0.0.4", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "resolved": "http://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", "dev": true }, @@ -5620,12 +6355,6 @@ "is-data-descriptor": "^1.0.0", "kind-of": "^6.0.2" } - }, - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true } } }, @@ -5636,6 +6365,17 @@ "dev": true, "requires": { "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "source-list-map": { @@ -5728,6 +6468,15 @@ "extend-shallow": "^3.0.0" } }, + "ssri": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", + "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "dev": true, + "requires": { + "figgy-pudding": "^3.5.1" + } + }, "static-extend": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", @@ -5749,6 +6498,12 @@ } } }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + }, "stream-browserify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", @@ -5759,10 +6514,20 @@ "readable-stream": "^2.0.2" } }, + "stream-each": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" + } + }, "stream-http": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.2.tgz", - "integrity": "sha512-QllfrBhqF1DPcz46WxKTs6Mz1Bpc+8Qm6vbqOpVav5odAXwbyzwnEczoWqtxrsmlO+cJqtPrp/8gWKWjaKLLlA==", + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", "dev": true, "requires": { "builtin-status-codes": "^3.0.0", @@ -5772,6 +6537,12 @@ "xtend": "^4.0.0" } }, + "stream-shift": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz", + "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=", + "dev": true + }, "string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", @@ -5922,9 +6693,9 @@ "dev": true }, "tapable": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.8.tgz", - "integrity": "sha1-mTcqXJmb8t8WCvwNdL7U9HlIzSI=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.0.tgz", + "integrity": "sha512-IlqtmLVaZA2qab8epUXbVWRn3aB1imbDMJtjB3nu4X0NqPkcY/JH9ZtCBWKHWPxs8Svi9tyo8w2dBoi07qZbBA==", "dev": true }, "term-size": { @@ -5969,6 +6740,16 @@ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "^2.1.5", + "xtend": "~4.0.1" + } + }, "timed-out": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", @@ -6012,6 +6793,17 @@ "dev": true, "requires": { "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } } }, "to-regex": { @@ -6048,6 +6840,12 @@ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", "dev": true }, + "tryer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", + "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==", + "dev": true + }, "tslib": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", @@ -6060,6 +6858,22 @@ "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", "dev": true }, + "type-is": { + "version": "1.6.16", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", + "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.18" + } + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, "ua-parser-js": { "version": "0.7.18", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz", @@ -6067,54 +6881,110 @@ "dev": true }, "uglify-js": { - "version": "2.8.29", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", - "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "version": "3.4.9", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz", + "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==", "dev": true, "requires": { - "source-map": "~0.5.1", - "uglify-to-browserify": "~1.0.0", - "yargs": "~3.10.0" + "commander": "~2.17.1", + "source-map": "~0.6.1" }, "dependencies": { - "camelcase": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true + } + } + }, + "uglifyjs-webpack-plugin": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-2.0.1.tgz", + "integrity": "sha512-1HhCHkOB6wRCcv7htcz1QRPVbWPEY074RP9vzt/X0LF4xXm9l4YGd0qja7z88abDixQlnVwBjXsTBs+Xsn/eeQ==", + "dev": true, + "requires": { + "cacache": "^11.2.0", + "find-cache-dir": "^2.0.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^1.4.0", + "source-map": "^0.6.1", + "uglify-js": "^3.0.0", + "webpack-sources": "^1.1.0", + "worker-farm": "^1.5.2" + }, + "dependencies": { + "find-cache-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.0.0.tgz", + "integrity": "sha512-LDUY6V1Xs5eFskUVYtIwatojt6+9xC9Chnlk/jYOOvn3FAFfSaWddxahDGyNHh0b2dMXa6YW2m0tk8TdVaXHlA==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^1.0.0", + "pkg-dir": "^3.0.0" + } }, - "yargs": { - "version": "3.10.0", - "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, "requires": { - "camelcase": "^1.0.2", - "cliui": "^2.1.0", - "decamelize": "^1.0.0", - "window-size": "0.1.0" + "locate-path": "^3.0.0" } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz", + "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true } } }, - "uglify-to-browserify": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "dev": true, - "optional": true - }, - "uglifyjs-webpack-plugin": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz", - "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", - "dev": true, - "requires": { - "source-map": "^0.5.6", - "uglify-js": "^2.8.29", - "webpack-sources": "^1.0.1" - } - }, "union-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz", @@ -6150,6 +7020,24 @@ } } }, + "unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "dev": true, + "requires": { + "unique-slug": "^2.0.0" + } + }, + "unique-slug": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.1.tgz", + "integrity": "sha512-n9cU6+gITaVu7VGj1Z8feKMmfAjEAQGhwD9fE3zvpRRa0wEIx8ODYkVGfSc94M2OX00tUFV8wH3zYbm1I8mxFg==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, "unique-string": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", @@ -6159,6 +7047,12 @@ "crypto-random-string": "^1.0.0" } }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, "unset-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", @@ -6303,37 +7197,18 @@ } }, "use": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz", - "integrity": "sha512-6UJEQM/L+mzC3ZJNM56Q4DFGLX/evKGRg15UJHGB9X5j5Z3AFbgZvjUh2yq/UJUY4U5dh7Fal++XbNg1uzpRAw==", - "dev": true, - "requires": { - "kind-of": "^6.0.2" - }, - "dependencies": { - "kind-of": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "dev": true - } - } + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true }, "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", "dev": true, "requires": { - "inherits": "2.0.1" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - } + "inherits": "2.0.3" } }, "util-deprecate": { @@ -6342,6 +7217,18 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "v8-compile-cache": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.0.2.tgz", + "integrity": "sha512-1wFuMUIM16MDJRCrpbpuEPTUGmM5QMUg0cr3KFwra2XgOgFcPGDQHDh3CszSCD2Zewc/dh/pamNEW8CbfDebUw==", + "dev": true + }, "validate-npm-package-license": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", @@ -6352,6 +7239,12 @@ "spdx-expression-parse": "^3.0.0" } }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, "vm-browserify": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", @@ -6373,48 +7266,270 @@ } }, "webpack": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.12.0.tgz", - "integrity": "sha512-Sw7MdIIOv/nkzPzee4o0EdvCuPmxT98+vVpIvwtcwcF1Q4SDSNp92vwcKc4REe7NItH9f1S4ra9FuQ7yuYZ8bQ==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.21.0.tgz", + "integrity": "sha512-CGBeop4AYR0dcmk9Afl33qQULwTHQCXQPAIBTHMJoy9DpY8FPUDna/NUlAGTr5o5y9QC901Ww3wCY4wNo1X9Lw==", "dev": true, "requires": { - "acorn": "^5.0.0", - "acorn-dynamic-import": "^2.0.0", + "@webassemblyjs/ast": "1.7.8", + "@webassemblyjs/helper-module-context": "1.7.8", + "@webassemblyjs/wasm-edit": "1.7.8", + "@webassemblyjs/wasm-parser": "1.7.8", + "acorn": "^5.6.2", + "acorn-dynamic-import": "^3.0.0", "ajv": "^6.1.0", "ajv-keywords": "^3.1.0", - "async": "^2.1.2", - "enhanced-resolve": "^3.4.0", - "escope": "^3.6.0", - "interpret": "^1.0.0", - "json-loader": "^0.5.4", - "json5": "^0.5.1", + "chrome-trace-event": "^1.0.0", + "enhanced-resolve": "^4.1.0", + "eslint-scope": "^4.0.0", + "json-parse-better-errors": "^1.0.2", "loader-runner": "^2.3.0", "loader-utils": "^1.1.0", "memory-fs": "~0.4.1", + "micromatch": "^3.1.8", "mkdirp": "~0.5.0", + "neo-async": "^2.5.0", "node-libs-browser": "^2.0.0", - "source-map": "^0.5.3", - "supports-color": "^4.2.1", - "tapable": "^0.2.7", - "uglifyjs-webpack-plugin": "^0.4.6", - "watchpack": "^1.4.0", - "webpack-sources": "^1.0.1", - "yargs": "^8.0.2" + "schema-utils": "^0.4.4", + "tapable": "^1.1.0", + "uglifyjs-webpack-plugin": "^1.2.4", + "watchpack": "^1.5.0", + "webpack-sources": "^1.3.0" }, "dependencies": { - "has-flag": { + "cacache": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", + "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", + "dev": true, + "requires": { + "bluebird": "^3.5.1", + "chownr": "^1.0.1", + "glob": "^7.1.2", + "graceful-fs": "^4.1.11", + "lru-cache": "^4.1.1", + "mississippi": "^2.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.2", + "ssri": "^5.2.4", + "unique-filename": "^1.1.0", + "y18n": "^4.0.0" + } + }, + "commander": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==", + "dev": true + }, + "mississippi": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", + "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^2.0.1", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "schema-utils": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", + "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-keywords": "^3.1.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true }, + "ssri": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz", + "integrity": "sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.1" + } + }, + "uglify-es": { + "version": "3.3.9", + "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", + "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", + "dev": true, + "requires": { + "commander": "~2.13.0", + "source-map": "~0.6.1" + } + }, + "uglifyjs-webpack-plugin": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.3.0.tgz", + "integrity": "sha512-ovHIch0AMlxjD/97j9AYovZxG5wnHOPkL7T1GKochBADp/Zwc44pEWNqpKl1Loupp1WhFg7SlYmHZRUfdAacgw==", + "dev": true, + "requires": { + "cacache": "^10.0.4", + "find-cache-dir": "^1.0.0", + "schema-utils": "^0.4.5", + "serialize-javascript": "^1.4.0", + "source-map": "^0.6.1", + "uglify-es": "^3.3.4", + "webpack-sources": "^1.1.0", + "worker-farm": "^1.5.2" + } + }, + "webpack-sources": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.3.0.tgz", + "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==", + "dev": true, + "requires": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + } + } + }, + "webpack-bundle-analyzer": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.0.3.tgz", + "integrity": "sha512-naLWiRfmtH4UJgtUktRTLw6FdoZJ2RvCR9ePbwM9aRMsS/KjFerkPZG9epEvXRAw5d5oPdrs9+3p+afNjxW8Xw==", + "dev": true, + "requires": { + "acorn": "^5.7.3", + "bfj": "^6.1.1", + "chalk": "^2.4.1", + "commander": "^2.18.0", + "ejs": "^2.6.1", + "express": "^4.16.3", + "filesize": "^3.6.1", + "gzip-size": "^5.0.0", + "lodash": "^4.17.10", + "mkdirp": "^0.5.1", + "opener": "^1.5.1", + "ws": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "commander": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", + "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "webpack-cli": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-3.1.2.tgz", + "integrity": "sha512-Cnqo7CeqeSvC6PTdts+dywNi5CRlIPbLx1AoUPK2T6vC1YAugMG3IOoO9DmEscd+Dghw7uRlnzV1KwOe5IrtgQ==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "cross-spawn": "^6.0.5", + "enhanced-resolve": "^4.1.0", + "global-modules-path": "^2.3.0", + "import-local": "^2.0.0", + "interpret": "^1.1.0", + "loader-utils": "^1.1.0", + "supports-color": "^5.5.0", + "v8-compile-cache": "^2.0.2", + "yargs": "^12.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, "supports-color": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", - "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { - "has-flag": "^2.0.0" + "has-flag": "^3.0.0" } } } @@ -6467,17 +7582,14 @@ "string-width": "^2.1.1" } }, - "window-size": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", - "dev": true - }, - "wordwrap": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", - "dev": true + "worker-farm": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.6.0.tgz", + "integrity": "sha512-6w+3tHbM87WnSWnENBUvA2pxJPLhQUg5LKwUQHq3r+XPhIM+Gh2R5ycbwPCyuGbNg+lPgdcnQUhuC02kJCvffQ==", + "dev": true, + "requires": { + "errno": "~0.1.7" + } }, "wrap-ansi": { "version": "2.1.0", @@ -6528,12 +7640,27 @@ "signal-exit": "^3.0.2" } }, + "ws": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.1.0.tgz", + "integrity": "sha512-H3dGVdGvW2H8bnYpIDc3u3LH8Wue3Qh+Zto6aXXFzvESkTVT6rAfKR6tR/+coaUvxs8yHtmNV0uioBF62ZGSTg==", + "dev": true, + "requires": { + "async-limiter": "~1.0.0" + } + }, "xdg-basedir": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz", "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=", "dev": true }, + "xregexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.0.0.tgz", + "integrity": "sha512-PHyM+sQouu7xspQQwELlGwwd05mXUFqwFYfqPO0cC7x4fxyHnnuetmQr6CjJiafIDoH4MogHb9dOoJzR/Y4rFg==", + "dev": true + }, "xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", @@ -6541,9 +7668,9 @@ "dev": true }, "y18n": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", - "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", + "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", "dev": true }, "yallist": { @@ -6553,122 +7680,83 @@ "dev": true }, "yargs": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", - "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.2.tgz", + "integrity": "sha512-e7SkEx6N6SIZ5c5H22RTZae61qtn3PYUE8JYbBFlK9sYmh3DMQ6E5ygtaG/2BW0JZi4WGgTR2IV5ChqlqrDGVQ==", "dev": true, "requires": { - "camelcase": "^4.1.0", - "cliui": "^3.2.0", - "decamelize": "^1.1.1", + "cliui": "^4.0.0", + "decamelize": "^2.0.0", + "find-up": "^3.0.0", "get-caller-file": "^1.0.1", - "os-locale": "^2.0.0", - "read-pkg-up": "^2.0.0", + "os-locale": "^3.0.0", "require-directory": "^2.1.1", "require-main-filename": "^1.0.1", "set-blocking": "^2.0.0", "string-width": "^2.0.0", "which-module": "^2.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^7.0.0" + "y18n": "^3.2.1 || ^4.0.0", + "yargs-parser": "^10.1.0" }, "dependencies": { - "cliui": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", - "dev": true, - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wrap-ansi": "^2.0.0" - }, - "dependencies": { - "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dev": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - } - } - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "decamelize": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-2.0.0.tgz", + "integrity": "sha512-Ikpp5scV3MSYxY39ymh45ZLEecsTdv/Xj2CaQfI8RLMuwi7XvjX9H/fhraiSuU+C5w5NTDu4ZU72xNiZnurBPg==", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "xregexp": "4.0.0" } }, - "load-json-file": { - "version": "2.0.0", - "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" + "locate-path": "^3.0.0" } }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "dev": true, "requires": { - "error-ex": "^1.2.0" + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" } }, - "path-type": { + "p-limit": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz", + "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==", "dev": true, "requires": { - "pify": "^2.0.0" + "p-try": "^2.0.0" } }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - }, - "read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" + "p-limit": "^2.0.0" } }, - "read-pkg-up": { + "p-try": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "dev": true, - "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" - } + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", + "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", + "dev": true } } }, "yargs-parser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", - "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", + "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", "dev": true, "requires": { "camelcase": "^4.1.0" diff --git a/package.json b/package.json index 604daf7..9c9cf36 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "Shareable React Components for Frontend Projects at EyeEm", "main": "dist/index.js", "scripts": { - "watch": "node_modules/.bin/webpack --config webpack.config.js --watch", - "build": "node_modules/.bin/webpack --config webpack.config.js", + "watch": "webpack --config webpack.config.js --watch", + "build": "webpack --config webpack.config.js", "test": "echo 'no tests yet :(';", "prepublish": "npm run build", "release": "np --no-yarn " @@ -35,10 +35,12 @@ "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-2": "^6.24.1", - "lodash": "^4.17.4", "np": "^3.0.4", "react-create-component-from-tag-prop": "^1.3.1", "styled-components": "^4.0.0", - "webpack": "^3.6.0" + "uglifyjs-webpack-plugin": "^2.0.1", + "webpack": "^4.21.0", + "webpack-bundle-analyzer": "^3.0.3", + "webpack-cli": "^3.1.2" } } diff --git a/src/components/text/styledText.js b/src/components/text/styledText.js index 2e749f8..0bba1e6 100644 --- a/src/components/text/styledText.js +++ b/src/components/text/styledText.js @@ -39,7 +39,7 @@ const fontSizeToMargin = fontSize => (fontSize + 8) / 2; const fontSize = size => fromProps(`sizeValues.font.${size}`); const lineHeight = size => props => fontSizeToLineHeight(fontSize(size)(props)); const marginBottom = size => props => { - if (_.isUndefined(props.margin)) { + if (!props.margin) { return fontSizeToMargin(fontSize(size)(props)); } return props.margin; diff --git a/src/styleUtils.js b/src/styleUtils.js index 1c7dc45..a561ea6 100644 --- a/src/styleUtils.js +++ b/src/styleUtils.js @@ -65,7 +65,7 @@ export const alignItems = ( export const propsColorFromTheme = (selector: string) => (props: {}) => fromInternalTheme(`colors.${_.get(props, selector)}`)(props); -export const isRgbaColor = (color: string) => _.startsWith(color, 'rgba'); +export const isRgbaColor = (color: string) => color && color.startsWith('rgba'); const getRGBComponents = (color: string) => { if (isRgbaColor(color)) { diff --git a/webpack.config.js b/webpack.config.js index 76110a9..0d26553 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,4 +1,7 @@ const path = require('path'); +const webpack = require('webpack'); +const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); +const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); // Constant with our paths const paths = { @@ -15,6 +18,7 @@ module.exports = { libraryTarget: 'umd', umdNamedDefine: true }, + mode: 'production', module: { rules: [ { @@ -38,5 +42,18 @@ module.exports = { amd: '_', root: '_' } - } + }, + optimization: { + minimizer: [ + new UglifyJsPlugin({ + parallel: true + }) + ] + }, + plugins: [ + new webpack.optimize.OccurrenceOrderPlugin(), + new BundleAnalyzerPlugin({ + analyzerMode: 'static' + }) + ] }; From 9b38dff2a7fd6eb516839804295246b1983d4965 Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Fri, 19 Oct 2018 14:41:39 +0200 Subject: [PATCH 2/9] Don't open bundle analyzer page by default --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 0d26553..96736f4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -53,7 +53,8 @@ module.exports = { plugins: [ new webpack.optimize.OccurrenceOrderPlugin(), new BundleAnalyzerPlugin({ - analyzerMode: 'static' + analyzerMode: 'static', + openAnalyzer: false }) ] }; From 7bc4c68de185b8acc0a703f8cd01ec6d7547782d Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Wed, 23 Jan 2019 14:38:28 +0100 Subject: [PATCH 3/9] Prettier stuff --- .prettierignore | 3 ++- .storybook/addons.js | 6 +++--- .storybook/config.js | 4 ++-- package.json | 4 ++++ src/components/icon/icons/addToLightbox.js | 3 +-- src/components/icon/icons/alert.js | 3 +-- src/components/icon/icons/backToTop.js | 3 +-- src/components/icon/icons/cart.js | 11 ++++++----- src/components/icon/icons/checkmark.js | 3 +-- src/components/icon/icons/close.js | 3 +-- src/components/icon/icons/comment.js | 9 +++++---- src/components/icon/icons/compDownload.js | 3 +-- src/components/icon/icons/contactEyeEm.js | 3 +-- src/components/icon/icons/contactFacebook.js | 3 +-- src/components/icon/icons/contactTumblr.js | 3 +-- src/components/icon/icons/contactTwitter.js | 3 +-- src/components/icon/icons/delete.js | 3 +-- src/components/icon/icons/download.js | 3 +-- src/components/icon/icons/dragndrop.js | 3 +-- src/components/icon/icons/dropbox.js | 3 +-- src/components/icon/icons/edit.js | 3 +-- src/components/icon/icons/embed.js | 3 +-- src/components/icon/icons/facebook.js | 3 +-- src/components/icon/icons/flag.js | 3 +-- src/components/icon/icons/flickr.js | 3 +-- src/components/icon/icons/googledrive.js | 3 +-- src/components/icon/icons/growth.js | 3 +-- src/components/icon/icons/image.js | 3 +-- src/components/icon/icons/instagram.js | 12 ++++-------- src/components/icon/icons/isInLightbox.js | 3 +-- src/components/icon/icons/leftArrow.js | 3 +-- src/components/icon/icons/leftArrow2.js | 3 +-- src/components/icon/icons/like.js | 9 +++++---- src/components/icon/icons/mail.js | 3 +-- src/components/icon/icons/market.js | 5 ++--- src/components/icon/icons/paypal.js | 3 +-- src/components/icon/icons/phone.js | 3 +-- src/components/icon/icons/picasa.js | 3 +-- src/components/icon/icons/plus.js | 3 +-- src/components/icon/icons/prize.js | 3 +-- src/components/icon/icons/remove.js | 3 +-- src/components/icon/icons/rightArrow.js | 3 +-- src/components/icon/icons/rightArrow2.js | 3 +-- src/components/icon/icons/share.js | 5 ++--- src/components/icon/icons/star.js | 3 +-- src/components/icon/icons/terms.js | 5 ++--- src/components/icon/icons/timing.js | 3 +-- 47 files changed, 73 insertions(+), 108 deletions(-) diff --git a/.prettierignore b/.prettierignore index 4be6e16..0832a92 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ -dist/* \ No newline at end of file +dist/* +.out/* \ No newline at end of file diff --git a/.storybook/addons.js b/.storybook/addons.js index 22b1d8a..3444e54 100644 --- a/.storybook/addons.js +++ b/.storybook/addons.js @@ -1,3 +1,3 @@ -import "@storybook/addon-knobs/register"; -import "@storybook/addon-options/register"; -import "@storybook/addon-backgrounds/register"; +import '@storybook/addon-knobs/register'; +import '@storybook/addon-options/register'; +import '@storybook/addon-backgrounds/register'; diff --git a/.storybook/config.js b/.storybook/config.js index a074fc8..9154670 100644 --- a/.storybook/config.js +++ b/.storybook/config.js @@ -1,7 +1,7 @@ -import { configure } from "@storybook/react"; +import { configure } from '@storybook/react'; function loadStories() { - require("../stories/index.js"); + require('../stories'); } configure(loadStories, module); diff --git a/package.json b/package.json index fdeddfb..ecd475e 100644 --- a/package.json +++ b/package.json @@ -78,5 +78,9 @@ "pre-commit": "lint-staged", "pre-push": "npm run test" } + }, + "prettier": { + "singleQuote": true, + "jsxBracketSameLine": true } } diff --git a/src/components/icon/icons/addToLightbox.js b/src/components/icon/icons/addToLightbox.js index e74a3e0..ec36774 100644 --- a/src/components/icon/icons/addToLightbox.js +++ b/src/components/icon/icons/addToLightbox.js @@ -13,8 +13,7 @@ function AddToLightboxIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 18 18" - > + viewBox="0 0 18 18"> diff --git a/src/components/icon/icons/alert.js b/src/components/icon/icons/alert.js index eb73eea..901d20c 100644 --- a/src/components/icon/icons/alert.js +++ b/src/components/icon/icons/alert.js @@ -9,8 +9,7 @@ function AlertIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 20 20" - > + viewBox="0 0 20 20"> diff --git a/src/components/icon/icons/backToTop.js b/src/components/icon/icons/backToTop.js index 35cde71..11350a8 100644 --- a/src/components/icon/icons/backToTop.js +++ b/src/components/icon/icons/backToTop.js @@ -13,8 +13,7 @@ function BackToTopIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 40 40" - > + viewBox="0 0 40 40"> diff --git a/src/components/icon/icons/cart.js b/src/components/icon/icons/cart.js index f865d1b..453e122 100644 --- a/src/components/icon/icons/cart.js +++ b/src/components/icon/icons/cart.js @@ -2,19 +2,20 @@ /* eslint-disable max-len */ import * as React from 'react'; -function CartIcon(props: { size: number, className: string, id: string }) { +function CartIcon(props: { size?: number, className: string, id: string }) { return ( - + + 5.556 0 5c0-.552.45-1 .99-1h4.02c.512 0 .934.398.985.898.013.04.024.084.03.128L6.376 7z" + /> ); } diff --git a/src/components/icon/icons/checkmark.js b/src/components/icon/icons/checkmark.js index 077c087..95bc10d 100644 --- a/src/components/icon/icons/checkmark.js +++ b/src/components/icon/icons/checkmark.js @@ -13,8 +13,7 @@ function CheckmarkIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 20 20" - > + viewBox="0 0 20 20"> ); diff --git a/src/components/icon/icons/close.js b/src/components/icon/icons/close.js index 9bab9e2..430fd40 100644 --- a/src/components/icon/icons/close.js +++ b/src/components/icon/icons/close.js @@ -9,8 +9,7 @@ function CloseIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 18 18" - > + viewBox="0 0 18 18"> ); diff --git a/src/components/icon/icons/comment.js b/src/components/icon/icons/comment.js index ab68d0f..6714ccf 100644 --- a/src/components/icon/icons/comment.js +++ b/src/components/icon/icons/comment.js @@ -8,10 +8,11 @@ function CommentIcon(props: { size?: number, className: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 16 16" - > - + viewBox="0 0 16 16"> + ); } diff --git a/src/components/icon/icons/compDownload.js b/src/components/icon/icons/compDownload.js index 84365c7..febcd42 100644 --- a/src/components/icon/icons/compDownload.js +++ b/src/components/icon/icons/compDownload.js @@ -13,8 +13,7 @@ function CompDownloadIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 18 18" - > + viewBox="0 0 18 18"> ); diff --git a/src/components/icon/icons/contactEyeEm.js b/src/components/icon/icons/contactEyeEm.js index c54ea08..6471000 100644 --- a/src/components/icon/icons/contactEyeEm.js +++ b/src/components/icon/icons/contactEyeEm.js @@ -13,8 +13,7 @@ function ContactEyeEmIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 24 24" - > + viewBox="0 0 24 24"> diff --git a/src/components/icon/icons/contactFacebook.js b/src/components/icon/icons/contactFacebook.js index c2c2d27..4cc2dee 100644 --- a/src/components/icon/icons/contactFacebook.js +++ b/src/components/icon/icons/contactFacebook.js @@ -13,8 +13,7 @@ function ContactFacebookIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 24 24" - > + viewBox="0 0 24 24"> diff --git a/src/components/icon/icons/contactTumblr.js b/src/components/icon/icons/contactTumblr.js index 40bb4f4..06ceb76 100644 --- a/src/components/icon/icons/contactTumblr.js +++ b/src/components/icon/icons/contactTumblr.js @@ -13,8 +13,7 @@ function ContactTumblrIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 24 24" - > + viewBox="0 0 24 24"> diff --git a/src/components/icon/icons/contactTwitter.js b/src/components/icon/icons/contactTwitter.js index 4146d85..6711346 100644 --- a/src/components/icon/icons/contactTwitter.js +++ b/src/components/icon/icons/contactTwitter.js @@ -13,8 +13,7 @@ function ContactTwitterIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 24 24" - > + viewBox="0 0 24 24"> diff --git a/src/components/icon/icons/delete.js b/src/components/icon/icons/delete.js index 827824a..068fa6d 100644 --- a/src/components/icon/icons/delete.js +++ b/src/components/icon/icons/delete.js @@ -9,8 +9,7 @@ function DeleteIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 16 16" - > + viewBox="0 0 16 16"> diff --git a/src/components/icon/icons/download.js b/src/components/icon/icons/download.js index 85ffdf5..0665c43 100644 --- a/src/components/icon/icons/download.js +++ b/src/components/icon/icons/download.js @@ -9,8 +9,7 @@ function DownloadIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 18 18" - > + viewBox="0 0 18 18"> ); diff --git a/src/components/icon/icons/dragndrop.js b/src/components/icon/icons/dragndrop.js index dae01cc..4d7c740 100644 --- a/src/components/icon/icons/dragndrop.js +++ b/src/components/icon/icons/dragndrop.js @@ -9,8 +9,7 @@ function FlickrIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 32 32" - > + viewBox="0 0 32 32"> + viewBox="0 0 36 36"> + viewBox="0 0 18 18"> diff --git a/src/components/icon/icons/embed.js b/src/components/icon/icons/embed.js index 8d08e4f..d140252 100644 --- a/src/components/icon/icons/embed.js +++ b/src/components/icon/icons/embed.js @@ -9,8 +9,7 @@ function EmbedIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 16 16" - > + viewBox="0 0 16 16"> diff --git a/src/components/icon/icons/facebook.js b/src/components/icon/icons/facebook.js index 9088f85..f8a94e7 100644 --- a/src/components/icon/icons/facebook.js +++ b/src/components/icon/icons/facebook.js @@ -9,8 +9,7 @@ function FacebookIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 20 20" - > + viewBox="0 0 20 20"> + viewBox="0 0 16 16"> diff --git a/src/components/icon/icons/flickr.js b/src/components/icon/icons/flickr.js index ef74e01..6dd9df5 100644 --- a/src/components/icon/icons/flickr.js +++ b/src/components/icon/icons/flickr.js @@ -9,8 +9,7 @@ function FlickrIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 36 36" - > + viewBox="0 0 36 36"> diff --git a/src/components/icon/icons/googledrive.js b/src/components/icon/icons/googledrive.js index 089bdbd..28fc046 100644 --- a/src/components/icon/icons/googledrive.js +++ b/src/components/icon/icons/googledrive.js @@ -13,8 +13,7 @@ function GoogleDriveIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 36 36" - > + viewBox="0 0 36 36"> diff --git a/src/components/icon/icons/growth.js b/src/components/icon/icons/growth.js index 1c66481..c2be403 100644 --- a/src/components/icon/icons/growth.js +++ b/src/components/icon/icons/growth.js @@ -9,8 +9,7 @@ function GrowthIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 12 12" - > + viewBox="0 0 12 12"> + viewBox="0 0 16 16"> diff --git a/src/components/icon/icons/instagram.js b/src/components/icon/icons/instagram.js index 19e37a8..6af0c05 100644 --- a/src/components/icon/icons/instagram.js +++ b/src/components/icon/icons/instagram.js @@ -17,8 +17,7 @@ function InstagramIcon(props: { style={{ enableBackground: 'new 0 0 551.034 551.034' }} - viewBox="-50 -50 670 670" - > + viewBox="-50 -50 670 670"> + gradientTransform="matrix(1 0 0 -1 0 554)"> @@ -51,8 +49,7 @@ function InstagramIcon(props: { y1="4.5714" x2="275.517" y2="549.7202" - gradientTransform="matrix(1 0 0 -1 0 554)" - > + gradientTransform="matrix(1 0 0 -1 0 554)"> @@ -72,8 +69,7 @@ function InstagramIcon(props: { y1="4.5714" x2="418.306" y2="549.7202" - gradientTransform="matrix(1 0 0 -1 0 554)" - > + gradientTransform="matrix(1 0 0 -1 0 554)"> diff --git a/src/components/icon/icons/isInLightbox.js b/src/components/icon/icons/isInLightbox.js index a4c227d..9fe5c2b 100644 --- a/src/components/icon/icons/isInLightbox.js +++ b/src/components/icon/icons/isInLightbox.js @@ -13,8 +13,7 @@ function IsInLightboxIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 18 18" - > + viewBox="0 0 18 18"> diff --git a/src/components/icon/icons/leftArrow.js b/src/components/icon/icons/leftArrow.js index 4cd785c..2e1030e 100644 --- a/src/components/icon/icons/leftArrow.js +++ b/src/components/icon/icons/leftArrow.js @@ -13,8 +13,7 @@ function LeftArrowIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 5 8" - > + viewBox="0 0 5 8"> + viewBox="0 0 19 18"> ); diff --git a/src/components/icon/icons/like.js b/src/components/icon/icons/like.js index 05cb8df..f91f8f8 100644 --- a/src/components/icon/icons/like.js +++ b/src/components/icon/icons/like.js @@ -8,12 +8,13 @@ function LikeIcon(props: { size?: number, className: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 16 16" - > - + + 3.017.445 1.33.418 2.782-.077 4.086-.944 2.5-6.634 6.734-7.28 7.208l-.33.246z" + /> ); } diff --git a/src/components/icon/icons/mail.js b/src/components/icon/icons/mail.js index 643a444..20918e9 100644 --- a/src/components/icon/icons/mail.js +++ b/src/components/icon/icons/mail.js @@ -9,8 +9,7 @@ function MailIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 16 16" - > + viewBox="0 0 16 16"> diff --git a/src/components/icon/icons/market.js b/src/components/icon/icons/market.js index 421657e..4a2c936 100644 --- a/src/components/icon/icons/market.js +++ b/src/components/icon/icons/market.js @@ -2,15 +2,14 @@ /* eslint-disable max-len */ import * as React from 'react'; -function MarketIcon(props: { size: number, className: string, id: string }) { +function MarketIcon(props: { size?: number, className: string, id: string }) { return ( + viewBox="0 0 24 19"> diff --git a/src/components/icon/icons/paypal.js b/src/components/icon/icons/paypal.js index da292ce..374d7fa 100644 --- a/src/components/icon/icons/paypal.js +++ b/src/components/icon/icons/paypal.js @@ -8,8 +8,7 @@ function PaypalIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 15 18" - > + viewBox="0 0 15 18"> + viewBox="0 0 16 16"> diff --git a/src/components/icon/icons/picasa.js b/src/components/icon/icons/picasa.js index 5c89756..172c044 100644 --- a/src/components/icon/icons/picasa.js +++ b/src/components/icon/icons/picasa.js @@ -9,8 +9,7 @@ function FlickrIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 36 36" - > + viewBox="0 0 36 36"> + viewBox="0 0 16 16"> ); diff --git a/src/components/icon/icons/prize.js b/src/components/icon/icons/prize.js index 1852b1d..53a4790 100644 --- a/src/components/icon/icons/prize.js +++ b/src/components/icon/icons/prize.js @@ -9,8 +9,7 @@ function PrizeIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 13 13" - > + viewBox="0 0 13 13"> diff --git a/src/components/icon/icons/remove.js b/src/components/icon/icons/remove.js index 7860fb7..8243ae0 100644 --- a/src/components/icon/icons/remove.js +++ b/src/components/icon/icons/remove.js @@ -9,8 +9,7 @@ function RemoveIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 16 16" - > + viewBox="0 0 16 16"> diff --git a/src/components/icon/icons/rightArrow.js b/src/components/icon/icons/rightArrow.js index b68072a..44d09f4 100644 --- a/src/components/icon/icons/rightArrow.js +++ b/src/components/icon/icons/rightArrow.js @@ -13,8 +13,7 @@ function RightArrowIcon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 5 8" - > + viewBox="0 0 5 8"> diff --git a/src/components/icon/icons/rightArrow2.js b/src/components/icon/icons/rightArrow2.js index 817e532..af62ad0 100644 --- a/src/components/icon/icons/rightArrow2.js +++ b/src/components/icon/icons/rightArrow2.js @@ -12,8 +12,7 @@ function RightArrow2Icon(props: { className={props.className} height={props.size} width={props.size} - viewBox="0 0 20 20" - > + viewBox="0 0 20 20"> + viewBox="0 0 16 16"> diff --git a/src/components/icon/icons/star.js b/src/components/icon/icons/star.js index 836c628..fd82de9 100644 --- a/src/components/icon/icons/star.js +++ b/src/components/icon/icons/star.js @@ -9,8 +9,7 @@ function StarIcon(props: { size?: number, className: string, id: string }) { className={props.className} height={props.size} width={props.size} - viewBox="0 0 14 14" - > + viewBox="0 0 14 14"> diff --git a/src/components/icon/icons/terms.js b/src/components/icon/icons/terms.js index ab2a15d..0677483 100644 --- a/src/components/icon/icons/terms.js +++ b/src/components/icon/icons/terms.js @@ -2,15 +2,14 @@ /* eslint-disable max-len */ import * as React from 'react'; -function TermsIcon(props: { size: number, className: string, id: string }) { +function TermsIcon(props: { size?: number, className: string, id: string }) { return ( + viewBox="0 0 24 22"> + viewBox="0 0 13 13"> From 6ab3cc633b3037a8364a4d596f9fe5dadf716e07 Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Wed, 23 Jan 2019 14:55:56 +0100 Subject: [PATCH 4/9] Snapshot update for radioGroup --- .../__snapshots__/radioGroup.test.js.snap | 8 +++++--- src/components/radioGroup/index.js | 17 ++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/components/radioGroup/__snapshots__/radioGroup.test.js.snap b/src/components/radioGroup/__snapshots__/radioGroup.test.js.snap index 1e74a2a..d0bb11a 100644 --- a/src/components/radioGroup/__snapshots__/radioGroup.test.js.snap +++ b/src/components/radioGroup/__snapshots__/radioGroup.test.js.snap @@ -19,7 +19,7 @@ exports[`it renders default radio group with 2 options 1`] = ` .c1 { display: block; - margin-bottom: 6px; + margin-bottom: 12px; } .c1:last-child { @@ -30,13 +30,14 @@ exports[`it renders default radio group with 2 options 1`] = ` position: relative; padding-left: 24px; cursor: pointer; + display: block; font-size: 14px; line-height: 22px; } .c3:before { position: absolute; - top: 0; + top: 2px; left: 0; display: block; width: 16px; @@ -52,13 +53,14 @@ exports[`it renders default radio group with 2 options 1`] = ` position: relative; padding-left: 24px; cursor: pointer; + display: block; font-size: 14px; line-height: 22px; } .c4:before { position: absolute; - top: 0; + top: 2px; left: 0; display: block; width: 16px; diff --git a/src/components/radioGroup/index.js b/src/components/radioGroup/index.js index 53ad178..266dd33 100644 --- a/src/components/radioGroup/index.js +++ b/src/components/radioGroup/index.js @@ -27,13 +27,13 @@ const RadioRow = styled.div` `; const border = props => { - let border = css`1px solid ${fromInternalTheme('colors.greys.grey3')}`; + let style = css`1px solid ${fromInternalTheme('colors.greys.grey3')}`; if (props.error) { - border = css`1px solid ${fromInternalTheme('colors.solidColors.red')}`; + style = css`1px solid ${fromInternalTheme('colors.solidColors.red')}`; } else if (props.checked) { - border = css`5px solid ${fromInternalTheme('colors.solidColors.green')}`; + style = css`5px solid ${fromInternalTheme('colors.solidColors.green')}`; } - return border; + return style; }; const StyledLabel = styled.label` @@ -64,18 +64,18 @@ const Wrapper = styled.div` position: relative; `; -declare type Props = { - inputProps: { +type Props = { + inputProps?: { name: string, value: string }, - errorMessage?: string, + errorMessage: string, formRow?: boolean, options: Array<{ value: string, text: string }>, - radioColumned?: boolean + radioColumned: boolean }; const compareAsString = (val1: number | string, val2: number | string) => @@ -113,7 +113,6 @@ function RadioGroup(props: Props) { } RadioGroup.defaultProps = { - errorMessage: undefined, inputProps: { name: 'missingName' }, From b7165746bcd1c666de4a5379e01998de380a4a75 Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Wed, 23 Jan 2019 15:10:04 +0100 Subject: [PATCH 5/9] Put center decorator in a more sensible place --- stories/button.js | 4 ++-- .../decorators/centeredStoryWrapper.js | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/Layout/StoryWrapper.js => stories/decorators/centeredStoryWrapper.js (100%) diff --git a/stories/button.js b/stories/button.js index 8b86c34..3e500aa 100644 --- a/stories/button.js +++ b/stories/button.js @@ -7,7 +7,7 @@ import { knobPropsFactory } from './knobs/helpers'; import { knobs, getKnobTypeForProp } from './knobs/button'; import Button from '../src/components/button'; -import StoryWrapper from '../src/Layout/StoryWrapper'; +import CenteredStoryWrapper from './decorators/centeredStoryWrapper'; const knobText = { label: 'Child text', @@ -15,7 +15,7 @@ const knobText = { }; storiesOf('Button', module) - .addDecorator(story => {story()}) + .addDecorator(story => {story()}) .addDecorator((story, context) => withInfo('')(story)(context)) .addDecorator(withKnobs) .add('with controllable props', () => { diff --git a/src/Layout/StoryWrapper.js b/stories/decorators/centeredStoryWrapper.js similarity index 100% rename from src/Layout/StoryWrapper.js rename to stories/decorators/centeredStoryWrapper.js From c65e1fbec2a06ec5411254c6eb625331901e63a7 Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Wed, 23 Jan 2019 15:22:18 +0100 Subject: [PATCH 6/9] Lodash tweak --- .eslintignore | 2 +- dist/index.js | 2 +- src/components/button/button.test.js | 6 +++--- src/components/text/text.test.js | 8 ++++---- src/styleUtils.js | 15 ++++++++------- stories/knobs/helpers.js | 6 ++++-- 6 files changed, 21 insertions(+), 18 deletions(-) diff --git a/.eslintignore b/.eslintignore index 4be6e16..ea32dad 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1 @@ -dist/* \ No newline at end of file +dist/index.js \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 262a984..bfbe16b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("styled-components"),require("react-create-component-from-tag-prop"),require("lodash")):"function"==typeof define&&define.amd?define("eyeem-components",["react","styled-components","react-create-component-from-tag-prop","_"],t):"object"==typeof exports?exports["eyeem-components"]=t(require("react"),require("styled-components"),require("react-create-component-from-tag-prop"),require("lodash")):e["eyeem-components"]=t(e.react,e["styled-components"],e["react-create-component-from-tag-prop"],e._)}(window,function(r,n,o,l){return function(r){var n={};function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=r,o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=10)}([function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idealTextColor=t.isRgbaColor=t.propsColorFromTheme=t.alignItems=t.fromPropsTernary=t.fromProps=t.fromTheme=t.fromInternalTheme=t.font=t.media=t.BREAKPOINTS=void 0;var n,o,l,a=(n=["\n @media (min-width: ","em) {\n ",";\n }\n "],o=["\n @media (min-width: ","em) {\n ",";\n }\n "],Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(o)}}))),i=r(7),s=(l=i)&&l.__esModule?l:{default:l},c=r(1),u=function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}}(r(8));var d=t.BREAKPOINTS={small:0,medium:641,large:769,xlarge:1025},f=(t.media=Object.keys(d).reduce(function(e,t){var r=d[t]/16;return e[t]=function(){return(0,c.css)(a,r,c.css.apply(void 0,arguments))},e},{}),{regular:'"Sailec Regular", sans-serif',bold:'"Sailec Bold", sans-serif',light:'"Sailec Light", sans-serif'}),p=(t.font=function(){var e=0 { ); const component = container.firstChild; const colorSelector = buttonColors[TESTING_COLOR].bgRegular; - const backgroundColor = _.get(colors, colorSelector); + const backgroundColor = _get(colors, colorSelector); expect(component).toHaveStyleRule('background-color', backgroundColor); expect(component).toMatchSnapshot(); }); @@ -57,7 +57,7 @@ test('it changes color on hover', () => { ); const component = container.firstChild; const colorSelector = buttonColors[TESTING_COLOR].bgHover; - const hoverColor = _.get(colors, colorSelector); + const hoverColor = _get(colors, colorSelector); expect(component).toHaveStyleRule('background-color', hoverColor, { modifier: ':hover' }); diff --git a/src/components/text/text.test.js b/src/components/text/text.test.js index e39053f..53eaa1f 100644 --- a/src/components/text/text.test.js +++ b/src/components/text/text.test.js @@ -1,5 +1,5 @@ import React from 'react'; -import _ from 'lodash'; +import _get from 'lodash/get'; import { render, cleanup, getByText } from 'react-testing-library'; @@ -31,7 +31,7 @@ test('it accepts property color', () => { const { container } = render(color text); const component = container.firstChild; const colorSelector = textColors[TESTING_COLOR].regular; - const color = _.get(colors, colorSelector); + const color = _get(colors, colorSelector); expect(component).toHaveStyleRule('color', color); expect(component).toMatchSnapshot(); }); @@ -40,7 +40,7 @@ test('it changes color on hover', () => { const { container } = render(color text); const component = container.firstChild; const colorSelector = textColors[TESTING_COLOR].hover; - const color = _.get(colors, colorSelector); + const color = _get(colors, colorSelector); expect(component).toHaveStyleRule('color', color, { modifier: ':hover' }); expect(component).toMatchSnapshot(); }); @@ -49,7 +49,7 @@ test('it changes color on active', () => { const { container } = render(color text); const component = container.firstChild; const colorSelector = textColors[TESTING_COLOR].active; - const color = _.get(colors, colorSelector); + const color = _get(colors, colorSelector); expect(component).toHaveStyleRule('color', color, { modifier: ':active' }); expect(component).toMatchSnapshot(); }); diff --git a/src/styleUtils.js b/src/styleUtils.js index a561ea6..ee38010 100644 --- a/src/styleUtils.js +++ b/src/styleUtils.js @@ -1,5 +1,5 @@ /* @flow */ -import _ from 'lodash'; +import _get from 'lodash/get'; import { css } from 'styled-components'; import * as theme from './theme'; @@ -30,23 +30,24 @@ const typeToFontFamily = { light: '"Sailec Light", sans-serif' }; +// eslint-disable-next-line export const font = (type: 'regular' | 'bold' = 'regular' | 'light') => ` font-weight: 300; font-family: ${typeToFontFamily[type]}; `; -export const fromInternalTheme = (selector: string) => (props: {}) => - _.get(theme, selector); +export const fromInternalTheme = (selector: string) => () => + _get(theme, selector); export const fromTheme = (selector: string) => (props: { theme: {} }) => - _.get(props.theme, selector); + _get(props.theme, selector); export const fromProps = (selector: string) => (props: {}) => - _.get(props, selector); + _get(props, selector); export const fromPropsTernary = ( selector: string, ifCase: string, elseCase: string ) => (props: {}) => { - if (_.get(props, selector)) { + if (_get(props, selector)) { return ifCase; } return elseCase; @@ -63,7 +64,7 @@ export const alignItems = ( : ''; export const propsColorFromTheme = (selector: string) => (props: {}) => - fromInternalTheme(`colors.${_.get(props, selector)}`)(props); + fromInternalTheme(`colors.${_get(props, selector)}`)(props); export const isRgbaColor = (color: string) => color && color.startsWith('rgba'); diff --git a/stories/knobs/helpers.js b/stories/knobs/helpers.js index 22a790b..75cdac9 100644 --- a/stories/knobs/helpers.js +++ b/stories/knobs/helpers.js @@ -1,5 +1,7 @@ +import _reduce from 'lodash/reduce'; + const knobPropsFactory = (knobs, getKnobTypeForProp) => - _.reduce( + _reduce( knobs, (result, value, key) => { const { knobFunction, args } = getKnobTypeForProp(key, value); @@ -12,7 +14,7 @@ const knobPropsFactory = (knobs, getKnobTypeForProp) => ); const makeKnobsFromDefaultProps = (defaultProps, getOptionsForProp) => - _.reduce( + _reduce( defaultProps, (result, val, key) => { result[key] = { From 3501ff66fc7c31b17a593a9fe78cb9e821759643 Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Wed, 23 Jan 2019 15:31:14 +0100 Subject: [PATCH 7/9] Refactor thing with radiogroup --- src/components/radioGroup/index.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/radioGroup/index.js b/src/components/radioGroup/index.js index 266dd33..72caf1f 100644 --- a/src/components/radioGroup/index.js +++ b/src/components/radioGroup/index.js @@ -27,13 +27,15 @@ const RadioRow = styled.div` `; const border = props => { - let style = css`1px solid ${fromInternalTheme('colors.greys.grey3')}`; if (props.error) { - style = css`1px solid ${fromInternalTheme('colors.solidColors.red')}`; - } else if (props.checked) { - style = css`5px solid ${fromInternalTheme('colors.solidColors.green')}`; + return css`1px solid ${fromInternalTheme('colors.solidColors.red')}`; } - return style; + + if (props.checked) { + return css`5px solid ${fromInternalTheme('colors.solidColors.green')}`; + } + + return css`1px solid ${fromInternalTheme('colors.greys.grey3')}`; }; const StyledLabel = styled.label` From 16e913cb53de029b36f9d50b2a6990f3c4e7d088 Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Wed, 23 Jan 2019 15:41:57 +0100 Subject: [PATCH 8/9] Radiobutton fix for storybook --- src/components/radioGroup/index.js | 5 +++-- stories/knobs/radioButton.js | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/radioGroup/index.js b/src/components/radioGroup/index.js index 72caf1f..cba5d23 100644 --- a/src/components/radioGroup/index.js +++ b/src/components/radioGroup/index.js @@ -26,7 +26,7 @@ const RadioRow = styled.div` )}; `; -const border = props => { +const border = (props: { checked: boolean, error: boolean }) => { if (props.error) { return css`1px solid ${fromInternalTheme('colors.solidColors.red')}`; } @@ -71,7 +71,7 @@ type Props = { name: string, value: string }, - errorMessage: string, + errorMessage?: string, formRow?: boolean, options: Array<{ value: string, @@ -115,6 +115,7 @@ function RadioGroup(props: Props) { } RadioGroup.defaultProps = { + errorMessage: null, inputProps: { name: 'missingName' }, diff --git a/stories/knobs/radioButton.js b/stories/knobs/radioButton.js index 1195558..7d2cf6d 100644 --- a/stories/knobs/radioButton.js +++ b/stories/knobs/radioButton.js @@ -1,6 +1,4 @@ -import _ from 'lodash'; -import React from 'react'; -import { boolean, text } from '@storybook/addon-knobs'; +import { text } from '@storybook/addon-knobs'; import RadioGroup from '../../src/components/radioGroup'; import { makeKnobsFromDefaultProps } from './helpers'; From 07413a795a1603bcc87d852f4a43efb6de50ed7d Mon Sep 17 00:00:00 2001 From: Eric Schaefer Date: Wed, 30 Jan 2019 14:39:05 +0100 Subject: [PATCH 9/9] Colors fun --- stories/index.js | 1 + stories/ui.all.js | 59 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 stories/ui.all.js diff --git a/stories/index.js b/stories/index.js index 5282f82..7c77681 100644 --- a/stories/index.js +++ b/stories/index.js @@ -50,6 +50,7 @@ setOptions({ /* NOTE: Add all stories here. Use require() syntax so global style decorator applies. */ +require('./ui.all'); require('./button'); require('./input'); require('./icon'); diff --git a/stories/ui.all.js b/stories/ui.all.js new file mode 100644 index 0000000..48e19e8 --- /dev/null +++ b/stories/ui.all.js @@ -0,0 +1,59 @@ +import React from 'react'; +import { storiesOf } from '@storybook/react'; +import styled from 'styled-components'; + +import { colors } from '../src/theme'; + +const StyledFlexiContainer = styled.div` + display: flex; + flex-wrap: wrap; +`; + +const StyledCircle = styled.div` + width: 100px; + height: 100px; + background: ${props => props.color}; + border-radius: 50%; +`; + +const StyledColorContainer = styled.div` + margin-right: 1rem; + text-align: center; +`; + +storiesOf('UI.all', module) + // .addDecorator((story, context) => withInfo('')(story)(context)) + .add('Theme', () => { + const colorCategories = Object.keys(colors); + + const container = ( +
+ {colorCategories.map(category => { + const childColors = Object.keys(colors[category]); + const colorMap = childColors.map(childColor => ({ + color: childColor, + hex: colors[category][childColor] + })); + + const element = ( +
+

{category}

+ + {colorMap.map(val => ( + + +

{val.color}

+

{val.hex}

+
+ ))} +
+
+ ); + + return element; + })} +
+ ); + + return container; + });