2 lines
34 KiB
JavaScript
2 lines
34 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{100:function(module,__webpack_exports__,__webpack_require__){"use strict";var _home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(30),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(31),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(33),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(34),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__),react_native__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7),react_native__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(541),react_native__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(540),colors=__webpack_require__(8).a.colors,styles=react_native__WEBPACK_IMPORTED_MODULE_6__.a.create({touchable:{backgroundColor:colors.main.white.rgb,borderRadius:8,flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignItems:"center"},touchableMain:{backgroundColor:colors.main.accentBlue.rgb},touchableDisabled:{backgroundColor:colors.main.lightGrey.rgb},text:{marginHorizontal:32,marginVertical:11,color:colors.main.accentBlue.rgb,textAlign:"center",fontSize:15},textMain:{color:colors.main.white.rgb},textDisabled:{color:colors.main.darkGrey.rgb}}),Button=function(_React$Component){function Button(){return Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.a)(this,Button),Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.a)(this,Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.a)(Button).apply(this,arguments))}return Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__.a)(Button,_React$Component),Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__.a)(Button,[{key:"render",value:function render(){var _this$props=this.props,main=_this$props.main,title=_this$props.title,disabled=_this$props.disabled,onPress=_this$props.onPress,accessibilityLabel=_this$props.accessibilityLabel;return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(react_native__WEBPACK_IMPORTED_MODULE_7__.a,{style:[styles.touchable,main&&styles.touchableMain,disabled&&styles.touchableDisabled],disabled:disabled,onPress:onPress,accessibilityLabel:accessibilityLabel},react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(react_native__WEBPACK_IMPORTED_MODULE_8__.a,{style:[styles.text,main&&styles.textMain,disabled&&styles.textDisabled]},title))}}]),Button}(react__WEBPACK_IMPORTED_MODULE_5___default.a.Component);__webpack_exports__.a=Button},137:function(module){module.exports={main:["add","add_contact","address","advanced_settings","arrow_left","arrow_right","arrow_up","back","backspace","browser","browser_home","camera","cancel","change","check","close","commands","copy","dapp","delete","desktop","dropdown","dropdown_up","edit","filter","flash_active","flash_inactive","group_chat","help","history","home","in_contacts","info","keycard","language","link","logout","mailserver","make_admin","max","message","mobile","more","network","next","notification","password","paste","photo","private_chat","profile","public_chat","qr","receive","refresh","remove_contact","reply","search","security","send","settings","share","stickers","text","tribute_to_talk","two_arrows","user_profile","username","wallet","warning"],stickers:["recent","stickers_big"],tiny:["tiny_arrow_down","tiny_check","tiny_external","tiny_group","tiny_lock","tiny_lock_broken","tiny_new_contact","tiny_pending","tiny_public","tiny_reply","tiny_settings","tribute_to_talk"]}},284:function(module,__webpack_exports__,__webpack_require__){"use strict";var _home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(30),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(31),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(33),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(34),react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__),_emotion_styled__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(6),_withGlobalStyles__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(73),_icons_json__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(137),mainIconsList=_icons_json__WEBPACK_IMPORTED_MODULE_8__.main.sort(),stickersIconsList=_icons_json__WEBPACK_IMPORTED_MODULE_8__.stickers.sort(),tinyIconsList=_icons_json__WEBPACK_IMPORTED_MODULE_8__.tiny.sort(),List=_emotion_styled__WEBPACK_IMPORTED_MODULE_6__.default.div({display:"flex",flexFlow:"row wrap"}),Item=_emotion_styled__WEBPACK_IMPORTED_MODULE_6__.default.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 20%",minWidth:120,padding:"0px 7.5px 20px","& svg":{marginRight:10,width:24,height:24}}),Meta=_emotion_styled__WEBPACK_IMPORTED_MODULE_6__.default.div({color:"#333",fontSize:12,marginLeft:"5px"}),Icons=function(_React$Component){function Icons(){return Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.a)(this,Icons),Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.a)(this,Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.a)(Icons).apply(this,arguments))}return Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__.a)(Icons,_React$Component),Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__.a)(Icons,[{key:"render",value:function render(){return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_5___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("h3",null,"Main"),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(List,null,mainIconsList.map(function(key){return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(Item,{key:key},react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("img",{src:"/icons/main/".concat(key,".svg")}),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(Meta,null,key))})),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("h3",null,"Tiny"),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(List,null,tinyIconsList.map(function(key){return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(Item,{key:key},react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("img",{src:"/icons/tiny/".concat(key,".svg")}),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(Meta,null,key))})),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("h3",null,"Stickers"),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(List,null,stickersIconsList.map(function(key){return react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(Item,{key:key},react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement("img",{src:"/icons/stickers/".concat(key,".svg")}),react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(Meta,null,key))})))}}]),Icons}(react__WEBPACK_IMPORTED_MODULE_5___default.a.Component);__webpack_exports__.a=Object(_withGlobalStyles__WEBPACK_IMPORTED_MODULE_7__.a)(Icons)},285:function(module,__webpack_exports__,__webpack_require__){"use strict";var _home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(30),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(31),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(33),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(32),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(34),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3),react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__),_emotion_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(4),_emotion_styled__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(6),_withGlobalStyles__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(73);function _templateObject14(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n text-transform: uppercase;\n letter-spacing: 1px;\n margin-bottom: ",";\n "]);return _templateObject14=function _templateObject14(){return data},data}function _templateObject13(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n ",";\n"]);return _templateObject13=function _templateObject13(){return data},data}function _templateObject12(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n "]);return _templateObject12=function _templateObject12(){return data},data}function _templateObject11(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n ",";\n"]);return _templateObject11=function _templateObject11(){return data},data}function _templateObject10(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n "]);return _templateObject10=function _templateObject10(){return data},data}function _templateObject9(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n ",";\n"]);return _templateObject9=function _templateObject9(){return data},data}function _templateObject8(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n "]);return _templateObject8=function _templateObject8(){return data},data}function _templateObject7(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n ",";\n"]);return _templateObject7=function _templateObject7(){return data},data}function _templateObject6(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n "]);return _templateObject6=function _templateObject6(){return data},data}function _templateObject5(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n ",";\n"]);return _templateObject5=function _templateObject5(){return data},data}function _templateObject4(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n "]);return _templateObject4=function _templateObject4(){return data},data}function _templateObject3(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n ",";\n"]);return _templateObject3=function _templateObject3(){return data},data}function _templateObject2(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n "]);return _templateObject2=function _templateObject2(){return data},data}function _templateObject(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_5__.a)(["\n ",";\n"]);return _templateObject=function _templateObject(){return data},data}var Header=Object(_emotion_styled__WEBPACK_IMPORTED_MODULE_8__.default)("div")(_templateObject(),function(_ref){var theme=_ref.theme;return Object(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.css)(_templateObject2(),theme.fontWeights.bold,theme.fontSizes.xl,theme.lineHeights.normal,theme.spacings.giga)}),TitleBold=Object(_emotion_styled__WEBPACK_IMPORTED_MODULE_8__.default)("div")(_templateObject3(),function(_ref2){var theme=_ref2.theme;return Object(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.css)(_templateObject4(),theme.fontWeights.bold,theme.fontSizes.l,theme.lineHeights.normal,theme.spacings.giga)}),Title=Object(_emotion_styled__WEBPACK_IMPORTED_MODULE_8__.default)("div")(_templateObject5(),function(_ref3){var theme=_ref3.theme;return Object(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.css)(_templateObject6(),theme.fontWeights.normal,theme.fontSizes.l,theme.lineHeights.normal,theme.spacings.giga)}),MainMedium=Object(_emotion_styled__WEBPACK_IMPORTED_MODULE_8__.default)("div")(_templateObject7(),function(_ref4){var theme=_ref4.theme;return Object(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.css)(_templateObject8(),theme.fontWeights.semi,theme.fontSizes.m,theme.lineHeights.normal,theme.spacings.giga)}),Main=Object(_emotion_styled__WEBPACK_IMPORTED_MODULE_8__.default)("div")(_templateObject9(),function(_ref5){var theme=_ref5.theme;return Object(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.css)(_templateObject10(),theme.fontWeights.normal,theme.fontSizes.m,theme.lineHeights.normal,theme.spacings.giga)}),Caption=Object(_emotion_styled__WEBPACK_IMPORTED_MODULE_8__.default)("div")(_templateObject11(),function(_ref6){var theme=_ref6.theme;return Object(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.css)(_templateObject12(),theme.fontWeights.normal,theme.fontSizes.s,theme.lineHeights.normal,theme.spacings.giga)}),Timestamp=Object(_emotion_styled__WEBPACK_IMPORTED_MODULE_8__.default)("div")(_templateObject13(),function(_ref7){var theme=_ref7.theme;return Object(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.css)(_templateObject14(),theme.fontWeights.normal,theme.fontSizes.xs,theme.lineHeights.normal,theme.spacings.giga)}),Typography=function(_React$Component){function Typography(){return Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__.a)(this,Typography),Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__.a)(this,Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_3__.a)(Typography).apply(this,arguments))}return Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__.a)(Typography,_React$Component),Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__.a)(Typography,[{key:"render",value:function render(){return react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_6___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(Header,null,"Header"),react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(TitleBold,null,"Title Bold"),react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(Title,null,"Title"),react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(MainMedium,null,"Main Medium"),react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(Main,null,"Main"),react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(Caption,null,"Caption"),react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(Timestamp,null,"Timestamp"))}}]),Typography}(react__WEBPACK_IMPORTED_MODULE_6___default.a.Component);__webpack_exports__.a=Object(_withGlobalStyles__WEBPACK_IMPORTED_MODULE_9__.a)(Typography)},286:function(module,__webpack_exports__,__webpack_require__){"use strict";var classCallCheck=__webpack_require__(30),createClass=__webpack_require__(31),possibleConstructorReturn=__webpack_require__(33),getPrototypeOf=__webpack_require__(32),inherits=__webpack_require__(34),react=__webpack_require__(1),react_default=__webpack_require__.n(react),withGlobalStyles=__webpack_require__(73),taggedTemplateLiteral=__webpack_require__(3),core_browser_esm=__webpack_require__(4),styled_browser_esm=__webpack_require__(6),polished_es=__webpack_require__(9);function _templateObject10(){var data=Object(taggedTemplateLiteral.a)(["\n display: inline-block;\n padding: ",";\n margin-right: ",";\n margin-bottom: ",";\n border-radius: ",";\n background-color: ",";\n ",";\n "]);return _templateObject10=function _templateObject10(){return data},data}function _templateObject9(){var data=Object(taggedTemplateLiteral.a)(["\n ",";\n"]);return _templateObject9=function _templateObject9(){return data},data}function _templateObject8(){var data=Object(taggedTemplateLiteral.a)(["\n margin: 1rem 0 0.5rem 0;\n color: ",";\n "]);return _templateObject8=function _templateObject8(){return data},data}function _templateObject7(){var data=Object(taggedTemplateLiteral.a)(["\n ",";\n"]);return _templateObject7=function _templateObject7(){return data},data}function _templateObject6(){var data=Object(taggedTemplateLiteral.a)(["\n margin: 0;\n color: ",";\n "]);return _templateObject6=function _templateObject6(){return data},data}function _templateObject5(){var data=Object(taggedTemplateLiteral.a)(["\n ",";\n"]);return _templateObject5=function _templateObject5(){return data},data}function _templateObject4(){var data=Object(taggedTemplateLiteral.a)(["\n padding: 0;\n "]);return _templateObject4=function _templateObject4(){return data},data}function _templateObject3(){var data=Object(taggedTemplateLiteral.a)(["\n ",";\n"]);return _templateObject3=function _templateObject3(){return data},data}function _templateObject2(){var data=Object(taggedTemplateLiteral.a)(["\n width: ",";\n height: ",";\n border-radius: 50%;\n background-color: ",";\n "]);return _templateObject2=function _templateObject2(){return data},data}function _templateObject(){var data=Object(taggedTemplateLiteral.a)(["\n ",";\n"]);return _templateObject=function _templateObject(){return data},data}var Color=Object(styled_browser_esm.default)("div")(_templateObject(),function(_ref2){_ref2.theme;var rgb=_ref2.rgb;return Object(core_browser_esm.css)(_templateObject2(),"100px","100px",rgb)}),ColorDescription=Object(styled_browser_esm.default)("div")(_templateObject3(),function(_ref3){_ref3.theme;return Object(core_browser_esm.css)(_templateObject4())}),ColorRGB=Object(styled_browser_esm.default)("p")(_templateObject5(),function(_ref4){var theme=_ref4.theme,title=_ref4.title;return Object(core_browser_esm.css)(_templateObject6(),title.indexOf("of White")>-1?theme.colors.shades.white70.rgb:theme.colors.main.darkGrey.rgb)}),ColorTitle=Object(styled_browser_esm.default)("p")(_templateObject7(),function(_ref5){_ref5.theme;var title=_ref5.title;return Object(core_browser_esm.css)(_templateObject8(),title.indexOf("of White")>-1?"#fff":"#000")}),ColorWrapper=Object(styled_browser_esm.default)("div")(_templateObject9(),function(_ref6){var theme=_ref6.theme,color=_ref6.color;return Object(core_browser_esm.css)(_templateObject10(),theme.spacings.giga,theme.spacings.mega,theme.spacings.mega,theme.borderRadius.byte,color.title.indexOf("White")>-1?"White"===color.title?"#EEF2F5":"#4360DF":"#fff",function shadowSingle(_ref){var theme=_ref.theme;return"\n box-shadow: 0 0 0 1px ".concat(Object(polished_es.c)(.98,theme.colors.main.black.rgb),",\n 0 0 1px 0 ").concat(Object(polished_es.c)(.94,theme.colors.main.black.rgb),",\n 0 2px 2px 0 ").concat(Object(polished_es.c)(.94,theme.colors.main.black.rgb),";\n")}({theme:theme}))}),Swatch_Swatch=function Swatch(_ref7){var color=_ref7.color;return react_default.a.createElement(ColorWrapper,{color:color},react_default.a.createElement(Color,{rgb:color.rgb}),react_default.a.createElement(ColorDescription,null,react_default.a.createElement(ColorTitle,{title:color.title},color.title),react_default.a.createElement(ColorRGB,{title:color.title},color.rgb)))},ColorPalette_Swatch=Swatch_Swatch;Swatch_Swatch.__docgenInfo={description:"",methods:[],displayName:"Swatch"},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/styleguide/ColorPalette/Swatch.jsx"]={name:"Swatch",docgenInfo:Swatch_Swatch.__docgenInfo,path:"src/components/styleguide/ColorPalette/Swatch.jsx"});var src_theme=__webpack_require__(8),ColorPalette_ColorPalette=function(_React$Component){function ColorPalette(){return Object(classCallCheck.a)(this,ColorPalette),Object(possibleConstructorReturn.a)(this,Object(getPrototypeOf.a)(ColorPalette).apply(this,arguments))}return Object(inherits.a)(ColorPalette,_React$Component),Object(createClass.a)(ColorPalette,[{key:"render",value:function render(){return react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement("h2",null,"Main"),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.main.accentBlue}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.main.lightBlue}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.main.white}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.main.darkGrey}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.main.lightGrey}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.main.black}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.main.red}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.main.green}),react_default.a.createElement("h2",null,"Shades"),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.shades.darkGrey40}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.shades.black10}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.shades.white70}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.shades.white40}),react_default.a.createElement(ColorPalette_Swatch,{color:src_theme.a.colors.shades.white10}))}}]),ColorPalette}(react_default.a.Component);__webpack_exports__.a=Object(withGlobalStyles.a)(ColorPalette_ColorPalette)},288:function(module,exports,__webpack_require__){__webpack_require__(289),__webpack_require__(368),module.exports=__webpack_require__(369)},369:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var _storybook_react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(77),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(268);Object(_storybook_react__WEBPACK_IMPORTED_MODULE_0__.addParameters)({backgrounds:[{name:"default",value:"#EEF2F5",default:!0},{name:"white",value:"white"}],options:{theme:Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.create)({fontBase:"Roboto, sans-serif"})}}),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_0__.configure)(function loadStories(){__webpack_require__(528)},module)}.call(this,__webpack_require__(207)(module))},528:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_storybook_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(77),react_native__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(99),_components_Button__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__(529),__webpack_require__(100)),_components_styleguide_ColorPalette__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(286),_components_styleguide_Icons__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(284),_components_styleguide_Typography__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(285);Object(_storybook_react__WEBPACK_IMPORTED_MODULE_1__.storiesOf)("Button",module).add("Main button",function(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_native__WEBPACK_IMPORTED_MODULE_2__.a,{style:{flexDirection:"row",justifyContent:"flex-start"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_Button__WEBPACK_IMPORTED_MODULE_4__.a,{main:!0,title:"Click Me"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_Button__WEBPACK_IMPORTED_MODULE_4__.a,{main:!0,disabled:!0,title:"Click Me"}))}).add("Secondary button",function(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_native__WEBPACK_IMPORTED_MODULE_2__.a,{style:{flexDirection:"row",justifyContent:"flex-start"}},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_Button__WEBPACK_IMPORTED_MODULE_4__.a,{title:"Click Me"}),react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_Button__WEBPACK_IMPORTED_MODULE_4__.a,{disabled:!0,title:"Click Me"}))}),Object(_storybook_react__WEBPACK_IMPORTED_MODULE_1__.storiesOf)("Theming",module).add("Color Palette",function(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_styleguide_ColorPalette__WEBPACK_IMPORTED_MODULE_5__.a,null)}).add("Icons",function(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_styleguide_Icons__WEBPACK_IMPORTED_MODULE_6__.a,null)}).add("Typography",function(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_components_styleguide_Typography__WEBPACK_IMPORTED_MODULE_7__.a,null)})}.call(this,__webpack_require__(207)(module))},73:function(module,__webpack_exports__,__webpack_require__){"use strict";var _home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(30),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(31),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(33),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(32),_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(34),react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__),_emotion_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(4),emotion_theming__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(180),_theme__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8);function _templateObject(){var data=Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__.a)(["\n * {\n font-family: Inter !important;\n }\n "]);return _templateObject=function _templateObject(){return data},data}__webpack_exports__.a=function withGlobalStyles(Component){return function(_React$Component){function WithGlobalStyles(){return Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__.a)(this,WithGlobalStyles),Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__.a)(this,Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__.a)(WithGlobalStyles).apply(this,arguments))}return Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__.a)(WithGlobalStyles,_React$Component),Object(_home_circleci_project_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__.a)(WithGlobalStyles,[{key:"render",value:function render(){return react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_6___default.a.Fragment,null,react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.Global,{styles:Object(_emotion_core__WEBPACK_IMPORTED_MODULE_7__.css)(_templateObject())}),react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(emotion_theming__WEBPACK_IMPORTED_MODULE_8__.ThemeProvider,{theme:_theme__WEBPACK_IMPORTED_MODULE_9__.a},react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement("div",{style:{padding:"16px"}},react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(Component,this.props))))}}]),WithGlobalStyles}(react__WEBPACK_IMPORTED_MODULE_6___default.a.Component)}},8:function(module,__webpack_exports__,__webpack_require__){"use strict";var polished__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9);__webpack_exports__.a={borderRadius:{bit:"4px",byte:"8px",kilo:"12px",mega:"16px",giga:"24px",tera:"32px",peta:"40px",exa:"48px",zetta:"56px"},colors:{main:{accentBlue:{hex:"#4360DF",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.a)(67,96,223),title:"Accent Blue"},lightBlue:{hex:"#ECEFFC",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.a)(236,239,252),title:"Light Blue"},black:{hex:"#000000",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.a)(0,0,0),title:"Black"},darkGrey:{hex:"#939BA1",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.a)(147,155,161),title:"Dark Grey"},lightGrey:{hex:"#EEF2F5",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.a)(238,242,245),title:"Light Grey"},green:{hex:"#44D058",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.a)(68,208,88),title:"Green"},red:{hex:"#FF2D55",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.a)(255,45,85),title:"Red"},white:{hex:"#FFFFFF",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.a)(255,255,255),title:"White"}},shades:{black10:{hex:"#000000",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.b)(0,0,0,.1),title:"10% of Black"},darkGrey40:{hex:"#939BA1",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.b)(147,155,161,.4),title:"40% of Dark Grey"},white70:{hex:"#FFFFFF",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.b)(255,255,255,.7),title:"70% of White"},white40:{hex:"#FFFFFF",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.b)(255,255,255,.4),title:"40% of White"},white10:{hex:"#FFFFFF",rgb:Object(polished__WEBPACK_IMPORTED_MODULE_0__.b)(255,255,255,.1),title:"10% of White"}}},spacings:{bit:"4px",byte:"8px",kilo:"12px",mega:"16px",giga:"24px",tera:"32px",peta:"40px",exa:"48px",zetta:"56px"},fontSizes:{xs:"10px",s:"12px",m:"15px",l:"17px",xl:"22px"},fontWeights:{normal:400,semi:500,bold:700},lineHeights:{small:"120%",normal:"140%"}}}},[[288,1,2]]]);
|
|
//# sourceMappingURL=main.38aef62cbdd8436ffb46.bundle.js.map
|