Untitled diff
35 removals
532 lines
18 additions
514 lines
'use strict';
'use strict';
Object.defineProperty(exports, "__esModule", {
Object.defineProperty(exports, "__esModule", {
value: true
value: true
});
});
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
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 _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
var _createClass2 = require('babel-runtime/helpers/createClass');
var _createClass3 = _interopRequireDefault(_createClass2);
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
var _inherits2 = require('babel-runtime/helpers/inherits');
var _inherits3 = _interopRequireDefault(_inherits2);
var _react = require('react');
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _react2 = _interopRequireDefault(_react);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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; }
var Gridicon = function (_PureComponent) {
var Gridicon = function (_PureComponent) {
(0, _inherits3.default)(Gridicon, _PureComponent);
_inherits(Gridicon, _PureComponent);
function Gridicon() {
function Gridicon() {
(0, _classCallCheck3.default)(this, Gridicon);
_classCallCheck(this, Gridicon);
return (0, _possibleConstructorReturn3.default)(this, (Gridicon.__proto__ || (0, _getPrototypeOf2.default)(Gridicon)).apply(this, arguments));
return _possibleConstructorReturn(this, (Gridicon.__proto__ || Object.getPrototypeOf(Gridicon)).apply(this, arguments));
}
}
(0, _createClass3.default)(Gridicon, [{
_createClass(Gridicon, [{
key: 'needsOffset',
key: 'needsOffset',
value: function needsOffset(icon, size) {
value: function needsOffset(icon, size) {
var iconNeedsOffset = ['gridicons-add-outline', 'gridicons-add', 'gridicons-align-image-center', 'gridicons-align-image-left', 'gridicons-align-image-none', 'gridicons-align-image-right', 'gridicons-attachment', 'gridicons-bold', 'gridicons-bookmark-outline', 'gridicons-bookmark', 'gridicons-calendar', 'gridicons-cart', 'gridicons-create', 'gridicons-custom-post-type', 'gridicons-external', 'gridicons-folder', 'gridicons-heading', 'gridicons-help-outline', 'gridicons-help', 'gridicons-history', 'gridicons-info-outline', 'gridicons-info', 'gridicons-italic', 'gridicons-layout-blocks', 'gridicons-link-break', 'gridicons-link', 'gridicons-list-checkmark', 'gridicons-list-ordered', 'gridicons-list-unordered', 'gridicons-menus', 'gridicons-minus', 'gridicons-my-sites', 'gridicons-notice-outline', 'gridicons-notice', 'gridicons-plus-small', 'gridicons-plus', 'gridicons-popout', 'gridicons-posts', 'gridicons-scheduled', 'gridicons-share-ios', 'gridicons-star-outline', 'gridicons-star', 'gridicons-stats', 'gridicons-status', 'gridicons-thumbs-up', 'gridicons-textcolor', 'gridicons-time', 'gridicons-trophy', 'gridicons-user-circle', 'gridicons-reader-follow', 'gridicons-reader-following'];
var iconNeedsOffset = ['gridicons-add-outline', 'gridicons-add', 'gridicons-align-image-center', 'gridicons-align-image-left', 'gridicons-align-image-none', 'gridicons-align-image-right', 'gridicons-attachment', 'gridicons-bold', 'gridicons-bookmark-outline', 'gridicons-bookmark', 'gridicons-calendar', 'gridicons-cart', 'gridicons-create', 'gridicons-custom-post-type', 'gridicons-external', 'gridicons-folder', 'gridicons-heading', 'gridicons-help-outline', 'gridicons-help', 'gridicons-history', 'gridicons-info-outline', 'gridicons-info', 'gridicons-italic', 'gridicons-layout-blocks', 'gridicons-link-break', 'gridicons-link', 'gridicons-list-checkmark', 'gridicons-list-ordered', 'gridicons-list-unordered', 'gridicons-menus', 'gridicons-minus', 'gridicons-my-sites', 'gridicons-notice-outline', 'gridicons-notice', 'gridicons-plus-small', 'gridicons-plus', 'gridicons-popout', 'gridicons-posts', 'gridicons-scheduled', 'gridicons-share-ios', 'gridicons-star-outline', 'gridicons-star', 'gridicons-stats', 'gridicons-status', 'gridicons-thumbs-up', 'gridicons-textcolor', 'gridicons-time', 'gridicons-trophy', 'gridicons-user-circle', 'gridicons-reader-follow', 'gridicons-reader-following'];
if (iconNeedsOffset.indexOf(icon) >= 0) {
if (iconNeedsOffset.indexOf(icon) >= 0) {
return size % 18 === 0;
return size % 18 === 0;
} else {
} else {
return false;
return false;
}
}
}
}
}, {
}, {
key: 'needsOffsetX',
key: 'needsOffsetX',
value: function needsOffsetX(icon, size) {
value: function needsOffsetX(icon, size) {
var iconNeedsOffsetX = ['gridicons-arrow-down', 'gridicons-arrow-up', 'gridicons-comment', 'gridicons-clear-formatting', 'gridicons-flag', 'gridicons-menu', 'gridicons-reader', 'gridicons-strikethrough'];
var iconNeedsOffsetX = ['gridicons-arrow-down', 'gridicons-arrow-up', 'gridicons-comment', 'gridicons-clear-formatting', 'gridicons-flag', 'gridicons-menu', 'gridicons-reader', 'gridicons-strikethrough'];
if (iconNeedsOffsetX.indexOf(icon) >= 0) {
if (iconNeedsOffsetX.indexOf(icon) >= 0) {
return size % 18 === 0;
return size % 18 === 0;
} else {
} else {
return false;
return false;
}
}
}
}
}, {
}, {
key: 'needsOffsetY',
key: 'needsOffsetY',
value: function needsOffsetY(icon, size) {
value: function needsOffsetY(icon, size) {
var iconNeedsOffsetY = ['gridicons-align-center', 'gridicons-align-justify', 'gridicons-align-left', 'gridicons-align-right', 'gridicons-arrow-left', 'gridicons-arrow-right', 'gridicons-house', 'gridicons-indent-left', 'gridicons-indent-right', 'gridicons-minus-small', 'gridicons-print', 'gridicons-sign-out', 'gridicons-stats-alt', 'gridicons-trash', 'gridicons-underline', 'gridicons-video-camera'];
var iconNeedsOffsetY = ['gridicons-align-center', 'gridicons-align-justify', 'gridicons-align-left', 'gridicons-align-right', 'gridicons-arrow-left', 'gridicons-arrow-right', 'gridicons-house', 'gridicons-indent-left', 'gridicons-indent-right', 'gridicons-minus-small', 'gridicons-print', 'gridicons-sign-out', 'gridicons-stats-alt', 'gridicons-trash', 'gridicons-underline', 'gridicons-video-camera'];
if (iconNeedsOffsetY.indexOf(icon) >= 0) {
if (iconNeedsOffsetY.indexOf(icon) >= 0) {
return size % 18 === 0;
return size % 18 === 0;
} else {
} else {
return false;
return false;
}
}
}
}
}, {
}, {
key: 'render',
key: 'render',
value: function render() {
value: function render() {
var _props = this.props,
var _props = this.props,
size = _props.size,
size = _props.size,
onClick = _props.onClick,
onClick = _props.onClick,
iconProp = _props.icon;
iconProp = _props.icon;
var icon = 'gridicons-' + iconProp;
var icon = 'gridicons-' + iconProp;
var needsOffset = this.needsOffset(icon, size);
var needsOffset = this.needsOffset(icon, size);
var needsOffsetX = this.needsOffsetX(icon, size);
var needsOffsetX = this.needsOffsetX(icon, size);
var needsOffsetY = this.needsOffsetY(icon, size);
var needsOffsetY = this.needsOffsetY(icon, size);
var svg = void 0;
var svg = void 0;
var iconClass = ['gridicon', icon, this.props.className, needsOffset ? 'needs-offset' : false, needsOffsetX ? 'needs-offset-x' : false, needsOffsetY ? 'needs-offset-y' : false].filter(Boolean).join(' ');
var iconClass = ['gridicon', icon, this.props.className, needsOffset ? 'needs-offset' : false, needsOffsetX ? 'needs-offset-x' : false, needsOffsetY ? 'needs-offset-y' : false].filter(Boolean).join(' ');
switch (icon) {
switch (icon) {
default:
default:
svg = _react2.default.createElement('svg', { height: size, width: size });
svg = _react2.default.createElement('svg', { height: size, width: size });
break;
break;
case 'gridicons-add-image':
case 'gridicons-add-image':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M23 4v2h-3v3h-2V6h-3V4h3V1h2v3h3zm-8.5 7c.828 0 1.5-.672 1.5-1.5S15.328 8 14.5 8 13 8.672 13 9.5s.672 1.5 1.5 1.5zm3.5 3.234l-.513-.57c-.794-.885-2.18-.885-2.976 0l-.655.73L9 9l-3 3.333V6h7V4H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2v-7h-2v3.234z' })
_react2.default.createElement('path', { d: 'M23 4v2h-3v3h-2V6h-3V4h3V1h2v3h3zm-8.5 7c.828 0 1.5-.672 1.5-1.5S15.328 8 14.5 8 13 8.672 13 9.5s.672 1.5 1.5 1.5zm3.5 3.234l-.513-.57c-.794-.885-2.18-.885-2.976 0l-.655.73L9 9l-3 3.333V6h7V4H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2v-7h-2v3.234z' })
)
)
);
);
break;
break;
case 'gridicons-add-outline':
case 'gridicons-add-outline':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z' })
_react2.default.createElement('path', { d: 'M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 9h-4V7h-2v4H7v2h4v4h2v-4h4v-2z' })
)
)
);
);
break;
break;
case 'gridicons-add':
case 'gridicons-add':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z' })
_react2.default.createElement('path', { d: 'M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z' })
)
)
);
);
break;
break;
case 'gridicons-align-center':
case 'gridicons-align-center':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M4 19h16v-2H4v2zm13-6H7v2h10v-2zM4 9v2h16V9H4zm13-4H7v2h10V5z' })
_react2.default.createElement('path', { d: 'M4 19h16v-2H4v2zm13-6H7v2h10v-2zM4 9v2h16V9H4zm13-4H7v2h10V5z' })
)
)
);
);
break;
break;
case 'gridicons-align-image-center':
case 'gridicons-align-image-center':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M3 5h18v2H3V5zm0 14h18v-2H3v2zm5-4h8V9H8v6z' })
_react2.default.createElement('path', { d: 'M3 5h18v2H3V5zm0 14h18v-2H3v2zm5-4h8V9H8v6z' })
)
)
);
);
break;
break;
case 'gridicons-align-image-left':
case 'gridicons-align-image-left':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M3 5h18v2H3V5zm0 14h18v-2H3v2zm0-4h8V9H3v6zm10 0h8v-2h-8v2zm0-4h8V9h-8v2z' })
_react2.default.createElement('path', { d: 'M3 5h18v2H3V5zm0 14h18v-2H3v2zm0-4h8V9H3v6zm10 0h8v-2h-8v2zm0-4h8V9h-8v2z' })
)
)
);
);
break;
break;
case 'gridicons-align-image-none':
case 'gridicons-align-image-none':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M21 7H3V5h18v2zm0 10H3v2h18v-2zM11 9H3v6h8V9z' })
_react2.default.createElement('path', { d: 'M21 7H3V5h18v2zm0 10H3v2h18v-2zM11 9H3v6h8V9z' })
)
)
);
);
break;
break;
case 'gridicons-align-image-right':
case 'gridicons-align-image-right':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M21 7H3V5h18v2zm0 10H3v2h18v-2zm0-8h-8v6h8V9zm-10 4H3v2h8v-2zm0-4H3v2h8V9z' })
_react2.default.createElement('path', { d: 'M21 7H3V5h18v2zm0 10H3v2h18v-2zm0-8h-8v6h8V9zm-10 4H3v2h8v-2zm0-4H3v2h8V9z' })
)
)
);
);
break;
break;
case 'gridicons-align-justify':
case 'gridicons-align-justify':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M4 19h16v-2H4v2zm16-6H4v2h16v-2zM4 9v2h16V9H4zm16-4H4v2h16V5z' })
_react2.default.createElement('path', { d: 'M4 19h16v-2H4v2zm16-6H4v2h16v-2zM4 9v2h16V9H4zm16-4H4v2h16V5z' })
)
)
);
);
break;
break;
case 'gridicons-align-left':
case 'gridicons-align-left':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M4 19h16v-2H4v2zm10-6H4v2h10v-2zM4 9v2h16V9H4zm10-4H4v2h10V5z' })
_react2.default.createElement('path', { d: 'M4 19h16v-2H4v2zm10-6H4v2h10v-2zM4 9v2h16V9H4zm10-4H4v2h10V5z' })
)
)
);
);
break;
break;
case 'gridicons-align-right':
case 'gridicons-align-right':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M20 17H4v2h16v-2zm-10-2h10v-2H10v2zM4 9v2h16V9H4zm6-2h10V5H10v2z' })
_react2.default.createElement('path', { d: 'M20 17H4v2h16v-2zm-10-2h10v-2H10v2zM4 9v2h16V9H4zm6-2h10V5H10v2z' })
)
)
);
);
break;
break;
case 'gridicons-arrow-down':
case 'gridicons-arrow-down':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M11 4v12.17l-5.59-5.59L4 12l8 8 8-8-1.41-1.41L13 16.17V4h-2z' })
_react2.default.createElement('path', { d: 'M11 4v12.17l-5.59-5.59L4 12l8 8 8-8-1.41-1.41L13 16.17V4h-2z' })
)
)
);
);
break;
break;
case 'gridicons-arrow-left':
case 'gridicons-arrow-left':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z' })
_react2.default.createElement('path', { d: 'M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z' })
)
)
);
);
break;
break;
case 'gridicons-arrow-right':
case 'gridicons-arrow-right':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z' })
_react2.default.createElement('path', { d: 'M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z' })
)
)
);
);
break;
break;
case 'gridicons-arrow-up':
case 'gridicons-arrow-up':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M13 20V7.83l5.59 5.59L20 12l-8-8-8 8 1.41 1.41L11 7.83V20h2z' })
_react2.default.createElement('path', { d: 'M13 20V7.83l5.59 5.59L20 12l-8-8-8 8 1.41 1.41L11 7.83V20h2z' })
)
)
);
);
break;
break;
case 'gridicons-aside':
case 'gridicons-aside':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M14 20l6-6V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h8zM6 6h12v6h-4c-1.105 0-2 .895-2 2v4H6V6zm10 4H8V8h8v2z' })
_react2.default.createElement('path', { d: 'M14 20l6-6V6c0-1.105-.895-2-2-2H6c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h8zM6 6h12v6h-4c-1.105 0-2 .895-2 2v4H6V6zm10 4H8V8h8v2z' })
)
)
);
);
break;
break;
case 'gridicons-attachment':
case 'gridicons-attachment':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M14 1c-2.762 0-5 2.238-5 5v10c0 1.657 1.343 3 3 3s2.99-1.343 2.99-3V6H13v10c0 .553-.447 1-1 1-.553 0-1-.447-1-1V6c0-1.657 1.343-3 3-3s3 1.343 3 3v10.125C17 18.887 14.762 21 12 21s-5-2.238-5-5v-5H5v5c0 3.866 3.134 7 7 7s6.99-3.134 6.99-7V6c0-2.762-2.228-5-4.99-5z' })
_react2.default.createElement('path', { d: 'M14 1c-2.762 0-5 2.238-5 5v10c0 1.657 1.343 3 3 3s2.99-1.343 2.99-3V6H13v10c0 .553-.447 1-1 1-.553 0-1-.447-1-1V6c0-1.657 1.343-3 3-3s3 1.343 3 3v10.125C17 18.887 14.762 21 12 21s-5-2.238-5-5v-5H5v5c0 3.866 3.134 7 7 7s6.99-3.134 6.99-7V6c0-2.762-2.228-5-4.99-5z' })
)
)
);
);
break;
break;
case 'gridicons-audio':
case 'gridicons-audio':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z' })
_react2.default.createElement('path', { d: 'M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z' })
)
)
);
);
break;
break;
case 'gridicons-bell':
case 'gridicons-bell':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M6.14 14.97l2.828 2.827c-.362.362-.862.586-1.414.586-1.105 0-2-.895-2-2 0-.552.224-1.052.586-1.414zm8.867 5.324L14.3 21 3 9.7l.706-.707 1.102.157c.754.108 1.69-.122 2.077-.51l3.885-3.884c2.34-2.34 6.135-2.34 8.475 0s2.34 6.135 0 8.475l-3.885 3.886c-.388.388-.618 1.323-.51 2.077l.157 1.1z' })
_react2.default.createElement('path', { d: 'M6.14 14.97l2.828 2.827c-.362.362-.862.586-1.414.586-1.105 0-2-.895-2-2 0-.552.224-1.052.586-1.414zm8.867 5.324L14.3 21 3 9.7l.706-.707 1.102.157c.754.108 1.69-.122 2.077-.51l3.885-3.884c2.34-2.34 6.135-2.34 8.475 0s2.34 6.135 0 8.475l-3.885 3.886c-.388.388-.618 1.323-.51 2.077l.157 1.1z' })
)
)
);
);
break;
break;
case 'gridicons-block':
case 'gridicons-block':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z' })
_react2.default.createElement('path', { d: 'M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z' })
)
)
);
);
break;
break;
case 'gridicons-bold':
case 'gridicons-bold':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M7 5.01h4.547c2.126 0 3.67.302 4.632.906.96.605 1.44 1.567 1.44 2.887 0 .896-.21 1.63-.63 2.205-.42.574-.98.92-1.678 1.036v.103c.95.212 1.637.608 2.057 1.19.42.58.63 1.35.63 2.315 0 1.367-.494 2.434-1.482 3.2-.99.765-2.332 1.148-4.027 1.148H7V5.01zm3 5.936h2.027c.862 0 1.486-.133 1.872-.4.386-.267.578-.708.578-1.323 0-.574-.21-.986-.63-1.236-.42-.25-1.087-.374-1.996-.374H10v3.333zm0 2.523v3.905h2.253c.876 0 1.52-.167 1.94-.502.416-.335.625-.848.625-1.54 0-1.243-.89-1.864-2.668-1.864H10z' })
_react2.default.createElement('path', { d: 'M7 5.01h4.547c2.126 0 3.67.302 4.632.906.96.605 1.44 1.567 1.44 2.887 0 .896-.21 1.63-.63 2.205-.42.574-.98.92-1.678 1.036v.103c.95.212 1.637.608 2.057 1.19.42.58.63 1.35.63 2.315 0 1.367-.494 2.434-1.482 3.2-.99.765-2.332 1.148-4.027 1.148H7V5.01zm3 5.936h2.027c.862 0 1.486-.133 1.872-.4.386-.267.578-.708.578-1.323 0-.574-.21-.986-.63-1.236-.42-.25-1.087-.374-1.996-.374H10v3.333zm0 2.523v3.905h2.253c.876 0 1.52-.167 1.94-.502.416-.335.625-.848.625-1.54 0-1.243-.89-1.864-2.668-1.864H10z' })
)
)
);
);
break;
break;
case 'gridicons-book':
case 'gridicons-book':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M4 3h2v18H4zM18 3H7v18h11c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 6h-6V8h6v1zm0-2h-6V6h6v1z' })
_react2.default.createElement('path', { d: 'M4 3h2v18H4zM18 3H7v18h11c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 6h-6V8h6v1zm0-2h-6V6h6v1z' })
)
)
);
);
break;
break;
case 'gridicons-bookmark-outline':
case 'gridicons-bookmark-outline':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M17 5v12.554l-5-2.857-5 2.857V5h10m0-2H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z' })
_react2.default.createElement('path', { d: 'M17 5v12.554l-5-2.857-5 2.857V5h10m0-2H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z' })
)
)
);
);
break;
break;
case 'gridicons-bookmark':
case 'gridicons-bookmark':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M17 3H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z' })
_react2.default.createElement('path', { d: 'M17 3H7c-1.105 0-2 .896-2 2v16l7-4 7 4V5c0-1.104-.896-2-2-2z' })
)
)
);
);
break;
break;
case 'gridicons-briefcase':
case 'gridicons-briefcase':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M14 15h-4v-2H2v6c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2v-6h-8v2zm6-9h-2V4c0-1.105-.895-2-2-2H8c-1.105 0-2 .895-2 2v2H4c-1.105 0-2 .895-2 2v4h20V8c0-1.105-.895-2-2-2zm-4 0H8V4h8v2z' })
_react2.default.createElement('path', { d: 'M14 15h-4v-2H2v6c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2v-6h-8v2zm6-9h-2V4c0-1.105-.895-2-2-2H8c-1.105 0-2 .895-2 2v2H4c-1.105 0-2 .895-2 2v4h20V8c0-1.105-.895-2-2-2zm-4 0H8V4h8v2z' })
)
)
);
);
break;
break;
case 'gridicons-calendar':
case 'gridicons-calendar':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z' })
_react2.default.createElement('path', { d: 'M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z' })
)
)
);
);
break;
break;
case 'gridicons-camera':
case 'gridicons-camera':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M17 12c0 1.7-1.3 3-3 3s-3-1.3-3-3 1.3-3 3-3 3 1.3 3 3zm5-5v11c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2V4h4v1h2l1-2h6l1 2h2c1.1 0 2 .9 2 2zM7.5 9c0-.8-.7-1.5-1.5-1.5S4.5 8.2 4.5 9s.7 1.5 1.5 1.5S7.5 9.8 7.5 9zM19 12c0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5 5-2.2 5-5z' })
_react2.default.createElement('path', { d: 'M17 12c0 1.7-1.3 3-3 3s-3-1.3-3-3 1.3-3 3-3 3 1.3 3 3zm5-5v11c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2V4h4v1h2l1-2h6l1 2h2c1.1 0 2 .9 2 2zM7.5 9c0-.8-.7-1.5-1.5-1.5S4.5 8.2 4.5 9s.7 1.5 1.5 1.5S7.5 9.8 7.5 9zM19 12c0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5 5-2.2 5-5z' })
)
)
);
);
break;
break;
case 'gridicons-caption':
case 'gridicons-caption':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M20 15l2-2v5c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h13l-2 2H4v12h16v-3zm2.44-8.56l-.88-.88c-.586-.585-1.534-.585-2.12 0L12 13v2H6v2h9v-1l7.44-7.44c.585-.586.585-1.534 0-2.12z' })
_react2.default.createElement('path', { d: 'M20 15l2-2v5c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h13l-2 2H4v12h16v-3zm2.44-8.56l-.88-.88c-.586-.585-1.534-.585-2.12 0L12 13v2H6v2h9v-1l7.44-7.44c.585-.586.585-1.534 0-2.12z' })
)
)
);
);
break;
break;
case 'gridicons-cart':
case 'gridicons-cart':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z' })
_react2.default.createElement('path', { d: 'M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z' })
)
)
);
);
break;
break;
case 'gridicons-chat':
case 'gridicons-chat':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M20 4h-8c-1.1 0-2 .9-2 2v2h2c1.7 0 3 1.3 3 3v2h2v3.5l3.3-2.3c1.1-.8 1.7-2 1.7-3.3V6c0-1.1-.9-2-2-2z' }),
_react2.default.createElement('path', { d: 'M20 4h-8c-1.1 0-2 .9-2 2v2h2c1.7 0 3 1.3 3 3v2h2v3.5l3.3-2.3c1.1-.8 1.7-2 1.7-3.3V6c0-1.1-.9-2-2-2z' }),
_react2.default.createElement('path', { d: 'M14 11v5c0 1.1-.9 2-2 2H7v3.5l-3.3-2.3c-1.1-.8-1.7-2-1.7-3.3V11c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2z' })
_react2.default.createElement('path', { d: 'M14 11v5c0 1.1-.9 2-2 2H7v3.5l-3.3-2.3c-1.1-.8-1.7-2-1.7-3.3V11c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2z' })
)
)
);
);
break;
break;
case 'gridicons-checkmark-circle':
case 'gridicons-checkmark-circle':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z' })
_react2.default.createElement('path', { d: 'M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z' })
)
)
);
);
break;
break;
case 'gridicons-checkmark':
case 'gridicons-checkmark':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414' })
_react2.default.createElement('path', { d: 'M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414' })
)
)
);
);
break;
break;
case 'gridicons-chevron-down':
case 'gridicons-chevron-down':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586' })
_react2.default.createElement('path', { d: 'M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586' })
)
)
);
);
break;
break;
case 'gridicons-chevron-left':
case 'gridicons-chevron-left':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586' })
_react2.default.createElement('path', { d: 'M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586' })
)
)
);
);
break;
break;
case 'gridicons-chevron-right':
case 'gridicons-chevron-right':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586' })
_react2.default.createElement('path', { d: 'M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586' })
)
)
);
);
break;
break;
case 'gridicons-chevron-up':
case 'gridicons-chevron-up':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M4 15l8-8 8 8-1.414 1.414L12 9.828l-6.586 6.586' })
_react2.default.createElement('path', { d: 'M4 15l8-8 8 8-1.414 1.414L12 9.828l-6.586 6.586' })
)
)
);
);
break;
break;
case 'gridicons-clear-formatting':
case 'gridicons-clear-formatting':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M10.837 10.163l-4.6 4.6L10 4h4l.777 2.223-2.144 2.144-.627-2.092-1.17 3.888zm5.495.506L19.244 19H15.82l-1.05-3.5H11.5L5 22l-1.5-1.5 17-17L22 5l-5.668 5.67zm-2.31 2.31l-.032.03.032-.01v-.02z' })
_react2.default.createElement('path', { d: 'M10.837 10.163l-4.6 4.6L10 4h4l.777 2.223-2.144 2.144-.627-2.092-1.17 3.888zm5.495.506L19.244 19H15.82l-1.05-3.5H11.5L5 22l-1.5-1.5 17-17L22 5l-5.668 5.67zm-2.31 2.31l-.032.03.032-.01v-.02z' })
)
)
);
);
break;
break;
case 'gridicons-clipboard':
case 'gridicons-clipboard':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M16 18H8v-2h8v2zm0-6H8v2h8v-2zm2-9h-2v2h2v15H6V5h2V3H6c-1.105 0-2 .895-2 2v15c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-4 2V4c0-1.105-.895-2-2-2s-2 .895-2 2v1c-1.105 0-2 .895-2 2v1h8V7c0-1.105-.895-2-2-2z' })
_react2.default.createElement('path', { d: 'M16 18H8v-2h8v2zm0-6H8v2h8v-2zm2-9h-2v2h2v15H6V5h2V3H6c-1.105 0-2 .895-2 2v15c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-4 2V4c0-1.105-.895-2-2-2s-2 .895-2 2v1c-1.105 0-2 .895-2 2v1h8V7c0-1.105-.895-2-2-2z' })
)
)
);
);
break;
break;
case 'gridicons-cloud-download':
case 'gridicons-cloud-download':
svg = _react2.default.createElement(
svg = _react2.default.createElement(
'svg',
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
_react2.default.createElement(
'g',
'g',
null,
null,
_react2.default.createElement('path', { d: 'M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-6 7l-4-5h3V8h2v3h3l-4 5z' })
_react2.default.createElement('path', { d: 'M18 9c-.01 0-.017.002-.025.003C17.72 5.646 14.922 3 11.5 3 7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.79-4 4 0 1.202.54 2.267 1.38 3h18.593C22.196 17.09 23 15.643 23 14c0-2.76-2.24-5-5-5zm-6 7l-4-5h3V8h2v3h3l-4 5z' })
)
)
);
);
break;
break;
case 'gridicons-cloud-outline':
case '
svg = _react2.default.createElement(
'svg',
{ className: iconClass, height: size, width: size, onClick: onClick, xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 24 24' },
_react2.default.createElement(
'g',
null,
_react2.default.createElement('path', { d: 'M11.5 5c2.336 0 4.304 1.825 4.48 4.154l.142 1.86 1.867-.012h.092C19.698 11.043 21 12.37 21 14c0 .748-.28 1.452-.783 2H3.28c-.156-.256-.28-.59-.28-1 0-1.074.85-1.953 1.915-1.998.06.007.118.012.178.015l2.66.124-.622-2.587C7.044 10.186 7 9.843 7 9.5 7 7.02 9.02 5 11.5 5m0-2C7.91 3 5 5.91 5 9.5c0 .524.07 1.03.186 1.52C5.123 11.015 5.064 11 5 11c-2.21 0-4 1.7