UNPKG

@codementor/ui-kit

Version:
66 lines (58 loc) 7.34 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _createCategoryIcon = require('../hoc/createCategoryIcon'); var _createCategoryIcon2 = _interopRequireDefault(_createCategoryIcon); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var SalesforceSvg = function SalesforceSvg(props) { return _react2.default.createElement( 'svg', props, _react2.default.createElement( 'g', { fill: 'none', fillRule: 'evenodd' }, _react2.default.createElement('path', { fill: '#00A1E0', fillRule: 'nonzero', d: 'M10.218 6.567a3.35 3.35 0 0 1 2.423-1.05c1.264 0 2.36.71 2.95 1.765a4.103 4.103 0 0 1 1.665-.354c2.276 0 4.124 1.878 4.124 4.196 0 2.317-1.848 4.196-4.124 4.196-.28 0-.548-.029-.815-.085a3.01 3.01 0 0 1-2.627 1.559c-.47 0-.92-.114-1.32-.305-.527 1.24-1.743 2.112-3.162 2.112a3.435 3.435 0 0 1-3.224-2.268 3.25 3.25 0 0 1-.653.071c-1.763 0-3.19-1.46-3.19-3.253A3.27 3.27 0 0 1 3.86 10.33a3.73 3.73 0 0 1-.302-1.488c0-2.07 1.665-3.743 3.716-3.743a3.7 3.7 0 0 1 2.944 1.468z' }), _react2.default.createElement( 'g', { fill: '#FFF' }, _react2.default.createElement('path', { fillRule: 'nonzero', d: 'M5.026 12.102c-.014.028.007.035.007.042.035.029.07.043.113.064.196.106.379.135.569.135.393 0 .639-.213.639-.546v-.007c0-.312-.274-.425-.534-.51l-.035-.014c-.197-.064-.365-.12-.365-.249v-.007c0-.113.098-.191.253-.191.168 0 .372.057.498.128 0 0 .035.02.05-.015l.077-.22c.007-.02-.007-.035-.021-.042a1.088 1.088 0 0 0-.562-.149h-.042c-.359 0-.612.22-.612.532v.007c0 .333.274.44.534.51l.042.014c.19.057.352.107.352.241v.008c0 .12-.106.212-.274.212-.064 0-.274 0-.506-.149-.028-.014-.042-.028-.063-.042-.014-.007-.042-.021-.05.021l-.07.227zm5.746 0c-.014.028.007.035.007.042.036.029.07.043.113.064.197.106.38.135.569.135.393 0 .64-.213.64-.546v-.007c0-.312-.275-.425-.535-.51l-.035-.014c-.197-.064-.365-.12-.365-.249v-.007c0-.113.098-.191.253-.191.168 0 .372.057.498.128 0 0 .036.02.05-.015l.077-.22c.007-.02-.007-.035-.021-.042a1.088 1.088 0 0 0-.562-.149h-.042c-.359 0-.611.22-.611.532v.007c0 .333.274.44.533.51l.043.014c.19.057.35.107.35.241v.008c0 .12-.105.212-.273.212-.063 0-.274 0-.506-.149-.028-.014-.042-.028-.063-.042-.007-.007-.042-.014-.05.021l-.07.227zm4.243-1.021a.902.902 0 0 0-.147-.283.75.75 0 0 0-.604-.262.778.778 0 0 0-.351.07.855.855 0 0 0-.253.192.777.777 0 0 0-.148.283c-.035.107-.05.227-.05.355 0 .127.015.248.05.354a.902.902 0 0 0 .148.284.75.75 0 0 0 .604.262.75.75 0 0 0 .604-.262.777.777 0 0 0 .147-.284 1.11 1.11 0 0 0 .05-.354c0-.128-.014-.248-.05-.355m-.323.355c0 .191-.035.34-.105.446-.07.106-.176.156-.316.156-.148 0-.246-.05-.316-.156s-.106-.255-.106-.446c0-.192.035-.34.106-.447.07-.106.168-.156.316-.156.147 0 .253.05.316.156.07.106.105.255.105.447' }), _react2.default.createElement('path', { d: 'M17.706 11.988c-.014-.035-.042-.02-.042-.02a.554.554 0 0 1-.155.042c-.056.007-.112.014-.182.014a.495.495 0 0 1-.373-.142c-.091-.092-.14-.248-.14-.453 0-.185.042-.326.126-.433.077-.106.204-.163.365-.163.134 0 .24.014.345.05 0 0 .028.014.035-.021.028-.078.049-.135.077-.227.007-.029-.014-.036-.021-.036a1.884 1.884 0 0 0-.218-.056c-.07-.015-.154-.015-.246-.015a.85.85 0 0 0-.365.071.834.834 0 0 0-.267.192.805.805 0 0 0-.161.283 1.135 1.135 0 0 0-.057.355c0 .276.07.496.218.659.148.163.365.248.646.248.169 0 .338-.036.464-.085 0 0 .021-.014.014-.043l-.063-.22zm1.672-.971a.752.752 0 0 0-.14-.262.606.606 0 0 0-.212-.163.741.741 0 0 0-.316-.064.82.82 0 0 0-.365.071.649.649 0 0 0-.253.199.711.711 0 0 0-.147.29c-.035.114-.05.227-.05.355 0 .127.015.248.05.354a.71.71 0 0 0 .442.468c.113.042.246.064.4.064.324 0 .492-.071.556-.114.014-.007.02-.021.007-.056l-.07-.206c-.015-.028-.043-.021-.043-.021-.077.028-.19.085-.456.085-.169 0-.302-.05-.38-.135-.084-.085-.12-.205-.126-.368h1.11s.028 0 .035-.029c-.007 0 .028-.212-.042-.468zm-1.103.234a.58.58 0 0 1 .091-.262.348.348 0 0 1 .316-.163c.148 0 .24.057.31.163a.52.52 0 0 1 .07.262h-.787zm-7.769-.234a.752.752 0 0 0-.141-.262.606.606 0 0 0-.21-.163.741.741 0 0 0-.317-.064.82.82 0 0 0-.365.071.649.649 0 0 0-.253.199.711.711 0 0 0-.148.29 1.177 1.177 0 0 0-.049.355c0 .127.014.248.05.354a.71.71 0 0 0 .442.468c.112.042.246.064.4.064.324 0 .492-.071.555-.114.014-.007.021-.021.007-.056l-.07-.206c-.014-.028-.042-.021-.042-.021-.077.028-.19.085-.457.085-.168 0-.302-.05-.379-.135-.084-.085-.12-.205-.126-.368h1.11s.028 0 .035-.029c-.007 0 .028-.212-.042-.468zm-1.103.234a.58.58 0 0 1 .091-.262.348.348 0 0 1 .316-.163.34.34 0 0 1 .31.163.633.633 0 0 1 .07.262h-.787z' }), _react2.default.createElement('path', { fillRule: 'nonzero', d: 'M7.45 11.195c-.042 0-.106-.007-.176-.007-.098 0-.19.014-.274.035a.691.691 0 0 0-.232.106.506.506 0 0 0-.218.44c0 .099.015.184.05.255a.51.51 0 0 0 .147.177c.064.043.14.078.225.1a1.805 1.805 0 0 0 .632 0c.106-.022.24-.043.281-.057a.707.707 0 0 0 .078-.022c.028-.007.028-.035.028-.035v-1.02c0-.227-.057-.39-.176-.497-.12-.099-.288-.156-.506-.156a1.89 1.89 0 0 0-.295.029s-.239.05-.344.127c0 0-.021.014-.007.043l.077.212c.007.029.035.022.035.022s.007 0 .021-.007c.211-.114.485-.114.485-.114.12 0 .21.021.274.071.063.05.091.12.091.27v.049a2.122 2.122 0 0 1-.196-.021zm-.443.786a.255.255 0 0 1-.063-.063.29.29 0 0 1-.035-.15c0-.098.035-.17.098-.219 0 0 .099-.085.323-.078.162 0 .302.028.302.028v.51s-.14.03-.302.043c-.224.007-.323-.07-.323-.07z' }), _react2.default.createElement('path', { d: 'M16.385 10.62c.007-.028-.007-.035-.014-.042a.757.757 0 0 0-.182-.028.526.526 0 0 0-.289.05.48.48 0 0 0-.19.141v-.135c0-.02-.013-.035-.034-.035h-.281c-.021 0-.035.014-.035.035v1.666c0 .021.014.035.035.035h.288c.02 0 .035-.014.035-.035v-.836c0-.114.014-.227.035-.29a.337.337 0 0 1 .098-.164.306.306 0 0 1 .134-.085.57.57 0 0 1 .147-.021c.057 0 .12.014.12.014.02 0 .035-.014.042-.028a2.27 2.27 0 0 0 .091-.241zm-2.732-.772a.87.87 0 0 0-.26-.043c-.204 0-.359.057-.471.17-.112.114-.183.284-.225.51l-.014.079h-.253s-.028 0-.035.035l-.042.234c0 .021.007.036.035.036h.246l-.246 1.396a2.794 2.794 0 0 1-.063.276.455.455 0 0 1-.077.156.212.212 0 0 1-.099.078.377.377 0 0 1-.133.021c-.028 0-.063-.007-.091-.007-.029-.007-.043-.014-.064-.02 0 0-.028-.015-.042.02-.007.022-.077.206-.084.227-.007.021 0 .043.014.043a.4.4 0 0 0 .098.028c.063.014.113.014.162.014a.796.796 0 0 0 .274-.042.507.507 0 0 0 .203-.142.712.712 0 0 0 .141-.248c.035-.1.07-.227.098-.376l.253-1.424h.365s.029 0 .036-.036l.042-.234c0-.02-.007-.035-.035-.035h-.352c0-.007.021-.135.057-.255a.297.297 0 0 1 .077-.12.18.18 0 0 1 .091-.057c.035-.015.077-.015.12-.015.035 0 .063.007.09.007.036.008.05.015.057.015.035.014.042 0 .05-.015l.084-.233c.02-.029 0-.036-.007-.043zM8.7 12.265c0 .021-.014.035-.035.035H8.37c-.021 0-.035-.014-.035-.035V9.884c0-.022.014-.036.035-.036h.295c.021 0 .035.014.035.036v2.38z' }) ) ) ); }; SalesforceSvg.defaultProps = { xmlns: 'http://www.w3.org/2000/svg', width: '24', height: '24', viewBox: '0 0 24 24' }; exports.default = (0, _createCategoryIcon2.default)({ isPlain: false, SvgComponent: SalesforceSvg, displayName: 'SalesforceIcon' });