Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cf-component-icon

Package Overview
Dependencies
Maintainers
18
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-component-icon - npm Package Compare versions

Comparing version 4.1.4 to 4.2.0

es/reactsvgs/Reorder.js

15

CHANGELOG.md

@@ -6,3 +6,14 @@ # Change Log

<a name="4.1.4"></a>
<a name="4.2.0"></a>
# [4.2.0](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-icon@4.1.4...cf-component-icon@4.2.0) (2017-12-05)
### Features
* **cf-component-icon:** DESSYS-332, UI-63 Add reorder icon, sync up design repo with cf-component-icon ([379ec30](http://stash.cfops.it:7999/www/cf-ux/commits/379ec30))
<a name="4.1.4"></a>
## [4.1.4](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-icon@4.1.3...cf-component-icon@4.1.4) (2017-11-22)

@@ -18,3 +29,3 @@

<a name="4.1.3"></a>
<a name="4.1.3"></a>
## [4.1.3](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-icon@4.1.2...cf-component-icon@4.1.3) (2017-11-14)

@@ -21,0 +32,0 @@

2

es/Icon.js

@@ -113,3 +113,3 @@ 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; }; }();

label: PropTypes.oneOfType([PropTypes.string, PropTypes.oneOf([false])]).isRequired,
type: PropTypes.oneOf(['api', 'backward', 'bolt', 'calendar', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart', 'clipboard', 'collapse', 'credit-card', 'door', 'download', 'drive', 'edgeworker', 'exclamation-sign', 'expand', 'facebook', 'file', 'filter', 'firebolt', 'flowchart', 'forward', 'gear', 'google-plus', 'hamburger', 'happy', 'help', 'info-sign', 'left', 'linkedin', 'list', 'loading', 'lock', 'mail', 'minus', 'network', 'ok-sign', 'ok', 'pause', 'plus', 'refresh', 'remove', 'resize-horizontal', 'retarget', 'right', 'sad', 'search', 'shield', 'speech', 'time', 'twitter', 'upload', 'wrench']).isRequired,
type: PropTypes.oneOf(['api', 'backward', 'bolt', 'calendar', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart', 'clipboard', 'collapse', 'credit-card', 'door', 'download', 'drive', 'edgeworker', 'exclamation-sign', 'expand', 'facebook', 'file', 'filter', 'firebolt', 'flowchart', 'forward', 'gear', 'google-plus', 'hamburger', 'happy', 'help', 'info-sign', 'left', 'linkedin', 'list', 'loading', 'lock', 'mail', 'minus', 'network', 'ok-sign', 'ok', 'pause', 'plus', 'refresh', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'right', 'sad', 'search', 'shield', 'speech', 'time', 'twitter', 'upload', 'wrench']).isRequired,

@@ -116,0 +116,0 @@ color: PropTypes.oneOf(['default', 'primary', 'success', 'warning', 'danger', 'black', 'white']),

import React from 'react';
import PropTypes from 'prop-types';
var EdgeWorker = function EdgeWorker(_ref) {
var Edgeworker = function Edgeworker(_ref) {
var className = _ref.className,

@@ -23,3 +23,3 @@ label = _ref.label;

EdgeWorker.propTypes = {
Edgeworker.propTypes = {
className: PropTypes.string.isRequired,

@@ -29,2 +29,2 @@ label: PropTypes.string.isRequired

export default EdgeWorker;
export default Edgeworker;

@@ -16,3 +16,3 @@ import Api from './Api';

import Drive from './Drive';
import EdgeWorker from './EdgeWorker';
import Edgeworker from './Edgeworker';
import ExclamationSign from './ExclamationSign';

@@ -45,2 +45,3 @@ import Expand from './Expand';

import Remove from './Remove';
import Reorder from './Reorder';
import ResizeHorizontal from './ResizeHorizontal';

@@ -73,3 +74,3 @@ import Retarget from './Retarget';

drive: Drive,
edgeworker: EdgeWorker,
edgeworker: Edgeworker,
'exclamation-sign': ExclamationSign,

@@ -102,2 +103,3 @@ expand: Expand,

remove: Remove,
reorder: Reorder,
'resize-horizontal': ResizeHorizontal,

@@ -104,0 +106,0 @@ retarget: Retarget,

import React from 'react';
import PropTypes from 'prop-types';
var Right = function Right(_ref) {
var Left = function Left(_ref) {
var className = _ref.className,

@@ -19,3 +19,3 @@ label = _ref.label;

Right.propTypes = {
Left.propTypes = {
className: PropTypes.string.isRequired,

@@ -25,2 +25,2 @@ label: PropTypes.string.isRequired

export default Right;
export default Left;

@@ -15,3 +15,3 @@ import React from 'react';

},
React.createElement('path', { d: 'M12,6.363l0-1.708,0-.024a3.7,3.7,0,0,0-1.263-2.552,4.176,4.176,0,0,0-5.467,0A3.7,3.7,0,0,0,4,4.631l0,.024L4,6.363H1.875V14.94H14.125V6.363H12Zm-3.327,4.43v2.12H7.326v-2.12a1.33,1.33,0,1,1,1.346,0ZM5.72,6.363l0-1.644a1.972,1.972,0,0,1,.683-1.351,2.459,2.459,0,0,1,3.191,0,1.974,1.974,0,0,1,.683,1.351l0,1.644Z' })
React.createElement('path', { d: ' M12,6.363 l0-1.708,0-.024 a3.7,3.7,0,0,0-1.263-2.552,4.176,4.176,0,0,0-5.467,0 A3.7,3.7,0,0,0,4,4.631 l0,.024 L4,6.363 H2 V14.94 H14.125 V6.363 H12 Z m-3.327,4.43 v2.12 H7.326 v-2.12 a1.33,1.33,0,1,1,1.346,0 Z M5.72,6.363 l0-1.644 a1.972,1.972,0,0,1,.683-1.351,2.459,2.459,0,0,1,3.191,0,1.974,1.974,0,0,1,.683,1.351 l0,1.644 Z ' })
);

@@ -18,0 +18,0 @@ };

@@ -15,4 +15,4 @@ import React from 'react';

},
React.createElement('path', { d: 'M6.431,2.96,1.6,8.018a.394.394,0,0,0,.013.557l5.057,4.833a.394.394,0,0,0,.666-.294L7.11,3.223A.394.394,0,0,0,6.431,2.96Z' }),
React.createElement('path', { d: 'M9.7,13.339,14.53,8.281a.394.394,0,0,0-.013-.557L9.46,2.892a.394.394,0,0,0-.666.294l.224,9.89A.394.394,0,0,0,9.7,13.339Z' })
React.createElement('path', { d: 'M6.3,2.7,1.3,7.7a.4.4,0,0,0,0,.6l4.9,4.9a.4.4,0,0,0,.7-.3V3A.4.4,0,0,0,6.3,2.7Z' }),
React.createElement('path', { d: 'M9.7,13.2l4.9-4.9a.4.4,0,0,0,0-.6L9.7,2.7A.4.4,0,0,0,9,3v9.9A.4.4,0,0,0,9.7,13.2Z' })
);

@@ -19,0 +19,0 @@ };

import React from 'react';
import PropTypes from 'prop-types';
var Left = function Left(_ref) {
var Right = function Right(_ref) {
var className = _ref.className,

@@ -19,3 +19,3 @@ label = _ref.label;

Left.propTypes = {
Right.propTypes = {
className: PropTypes.string.isRequired,

@@ -25,2 +25,2 @@ label: PropTypes.string.isRequired

export default Left;
export default Right;

@@ -100,3 +100,3 @@ 'use strict';

label: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.oneOf([false])]).isRequired,
type: _propTypes2.default.oneOf(['api', 'backward', 'bolt', 'calendar', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart', 'clipboard', 'collapse', 'credit-card', 'door', 'download', 'drive', 'edgeworker', 'exclamation-sign', 'expand', 'facebook', 'file', 'filter', 'firebolt', 'flowchart', 'forward', 'gear', 'google-plus', 'hamburger', 'happy', 'help', 'info-sign', 'left', 'linkedin', 'list', 'loading', 'lock', 'mail', 'minus', 'network', 'ok-sign', 'ok', 'pause', 'plus', 'refresh', 'remove', 'resize-horizontal', 'retarget', 'right', 'sad', 'search', 'shield', 'speech', 'time', 'twitter', 'upload', 'wrench']).isRequired,
type: _propTypes2.default.oneOf(['api', 'backward', 'bolt', 'calendar', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart', 'clipboard', 'collapse', 'credit-card', 'door', 'download', 'drive', 'edgeworker', 'exclamation-sign', 'expand', 'facebook', 'file', 'filter', 'firebolt', 'flowchart', 'forward', 'gear', 'google-plus', 'hamburger', 'happy', 'help', 'info-sign', 'left', 'linkedin', 'list', 'loading', 'lock', 'mail', 'minus', 'network', 'ok-sign', 'ok', 'pause', 'plus', 'refresh', 'remove', 'reorder', 'resize-horizontal', 'retarget', 'right', 'sad', 'search', 'shield', 'speech', 'time', 'twitter', 'upload', 'wrench']).isRequired,

@@ -103,0 +103,0 @@ color: _propTypes2.default.oneOf(['default', 'primary', 'success', 'warning', 'danger', 'black', 'white']),

@@ -17,3 +17,3 @@ 'use strict';

const EdgeWorker = ({ className, label }) => _react2.default.createElement(
const Edgeworker = ({ className, label }) => _react2.default.createElement(
'svg',

@@ -33,3 +33,3 @@ {

EdgeWorker.propTypes = {
Edgeworker.propTypes = {
className: _propTypes2.default.string.isRequired,

@@ -39,2 +39,2 @@ label: _propTypes2.default.string.isRequired

exports.default = EdgeWorker;
exports.default = Edgeworker;

@@ -67,5 +67,5 @@ 'use strict';

var _EdgeWorker = require('./EdgeWorker');
var _Edgeworker = require('./Edgeworker');
var _EdgeWorker2 = _interopRequireDefault(_EdgeWorker);
var _Edgeworker2 = _interopRequireDefault(_Edgeworker);

@@ -180,2 +180,6 @@ var _ExclamationSign = require('./ExclamationSign');

var _Reorder = require('./Reorder');
var _Reorder2 = _interopRequireDefault(_Reorder);
var _ResizeHorizontal = require('./ResizeHorizontal');

@@ -243,3 +247,3 @@

drive: _Drive2.default,
edgeworker: _EdgeWorker2.default,
edgeworker: _Edgeworker2.default,
'exclamation-sign': _ExclamationSign2.default,

@@ -272,2 +276,3 @@ expand: _Expand2.default,

remove: _Remove2.default,
reorder: _Reorder2.default,
'resize-horizontal': _ResizeHorizontal2.default,

@@ -274,0 +279,0 @@ retarget: _Retarget2.default,

@@ -17,3 +17,3 @@ 'use strict';

const Right = ({ className, label }) => _react2.default.createElement(
const Left = ({ className, label }) => _react2.default.createElement(
'svg',

@@ -29,3 +29,3 @@ {

Right.propTypes = {
Left.propTypes = {
className: _propTypes2.default.string.isRequired,

@@ -35,2 +35,2 @@ label: _propTypes2.default.string.isRequired

exports.default = Right;
exports.default = Left;

@@ -25,3 +25,3 @@ 'use strict';

},
_react2.default.createElement('path', { d: 'M12,6.363l0-1.708,0-.024a3.7,3.7,0,0,0-1.263-2.552,4.176,4.176,0,0,0-5.467,0A3.7,3.7,0,0,0,4,4.631l0,.024L4,6.363H1.875V14.94H14.125V6.363H12Zm-3.327,4.43v2.12H7.326v-2.12a1.33,1.33,0,1,1,1.346,0ZM5.72,6.363l0-1.644a1.972,1.972,0,0,1,.683-1.351,2.459,2.459,0,0,1,3.191,0,1.974,1.974,0,0,1,.683,1.351l0,1.644Z' })
_react2.default.createElement('path', { d: ' M12,6.363 l0-1.708,0-.024 a3.7,3.7,0,0,0-1.263-2.552,4.176,4.176,0,0,0-5.467,0 A3.7,3.7,0,0,0,4,4.631 l0,.024 L4,6.363 H2 V14.94 H14.125 V6.363 H12 Z m-3.327,4.43 v2.12 H7.326 v-2.12 a1.33,1.33,0,1,1,1.346,0 Z M5.72,6.363 l0-1.644 a1.972,1.972,0,0,1,.683-1.351,2.459,2.459,0,0,1,3.191,0,1.974,1.974,0,0,1,.683,1.351 l0,1.644 Z ' })
);

@@ -28,0 +28,0 @@

@@ -25,4 +25,4 @@ 'use strict';

},
_react2.default.createElement('path', { d: 'M6.431,2.96,1.6,8.018a.394.394,0,0,0,.013.557l5.057,4.833a.394.394,0,0,0,.666-.294L7.11,3.223A.394.394,0,0,0,6.431,2.96Z' }),
_react2.default.createElement('path', { d: 'M9.7,13.339,14.53,8.281a.394.394,0,0,0-.013-.557L9.46,2.892a.394.394,0,0,0-.666.294l.224,9.89A.394.394,0,0,0,9.7,13.339Z' })
_react2.default.createElement('path', { d: 'M6.3,2.7,1.3,7.7a.4.4,0,0,0,0,.6l4.9,4.9a.4.4,0,0,0,.7-.3V3A.4.4,0,0,0,6.3,2.7Z' }),
_react2.default.createElement('path', { d: 'M9.7,13.2l4.9-4.9a.4.4,0,0,0,0-.6L9.7,2.7A.4.4,0,0,0,9,3v9.9A.4.4,0,0,0,9.7,13.2Z' })
);

@@ -29,0 +29,0 @@

@@ -17,3 +17,3 @@ 'use strict';

const Left = ({ className, label }) => _react2.default.createElement(
const Right = ({ className, label }) => _react2.default.createElement(
'svg',

@@ -29,3 +29,3 @@ {

Left.propTypes = {
Right.propTypes = {
className: _propTypes2.default.string.isRequired,

@@ -35,2 +35,2 @@ label: _propTypes2.default.string.isRequired

exports.default = Left;
exports.default = Right;
{
"name": "cf-component-icon",
"description": "Cloudflare Icon Component",
"version": "4.1.4",
"version": "4.2.0",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "module": "es/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc