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

cf-component-icon

Package Overview
Dependencies
Maintainers
22
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.2.5 to 4.3.0

es/reactsvgs/User.js

15

CHANGELOG.md

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

<a name="4.2.5"></a>
<a name="4.3.0"></a>
# [4.3.0](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-icon@4.2.5...cf-component-icon@4.3.0) (2018-01-24)
### Features
* **cf-component-icon:** WWW-14062: Adding new user icon and using it for user-selector ([012728b](http://stash.cfops.it:7999/www/cf-ux/commits/012728b))
<a name="4.2.5"></a>
## [4.2.5](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-icon@4.2.3...cf-component-icon@4.2.5) (2018-01-21)

@@ -15,3 +26,3 @@

<a name="4.2.3"></a>
<a name="4.2.3"></a>
## [4.2.3](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-icon@4.2.2...cf-component-icon@4.2.3) (2018-01-20)

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

7

es/Icon.js

@@ -20,2 +20,5 @@ 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; }; }();

switch (size) {
case '1.2x':
height = 18;
break;
case '1.5x':

@@ -114,9 +117,9 @@ height = 22;

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', 'reorder', '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', 'user', 'wrench']).isRequired,
color: PropTypes.oneOf(['default', 'primary', 'success', 'warning', 'danger', 'black', 'white']),
size: PropTypes.oneOf(['1.5x', '2x', '2.5x', '3x', '3.5x', '4x'])
size: PropTypes.oneOf(['1.2x', '1.5x', '2x', '2.5x', '3x', '3.5x', '4x'])
};
export default createComponent(iconStyles, Icon);

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

import Upload from './Upload';
import User from './User';
import Wrench from './Wrench';

@@ -112,3 +113,4 @@ export default {

upload: Upload,
user: User,
wrench: Wrench
};

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

},
React.createElement('path', { d: 'M14.565,1.634l-1.4,1.4a7.052,7.052,0,1,0,1.286,8.163l-1.228-.614a5.679,5.679,0,1,1-1.041-6.6L12.2,4,11,5.2a.187.187,0,0,0,.132.32H14.7a.187.187,0,0,0,.188-.187V1.766A.187.187,0,0,0,14.565,1.634Z' })
React.createElement('path', { d: 'M14.18,6.598c0,0.14-0.12,0.27-0.26,0.27L9.3,6.878c-0.24,0-0.36-0.28-0.19-0.45l1.66-1.66c-0.76-0.65-1.71-1-2.74-1c-2.38,0-4.31,1.93-4.31,4.31s1.93,4.31,4.31,4.31c1.47,0,2.82-0.74,3.62-1.97l0.8,0.52l0.8,0.51c-0.01,0.03-0.03,0.05-0.05,0.08c-1.1,1.7-3.05,2.76-5.17,2.76c-3.43,0-6.21-2.78-6.21-6.21s2.78-6.21,6.21-6.21c1.47,0,2.89,0.52,4,1.46l0.1,0.08l1.68-1.68 c0.16-0.06,0.35,0.05,0.35,0.25L14.18,6.598z' })
);

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

@@ -28,2 +28,5 @@ 'use strict';

switch (size) {
case '1.2x':
height = 18;
break;
case '1.5x':

@@ -101,9 +104,9 @@ height = 22;

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', 'reorder', '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', 'user', 'wrench']).isRequired,
color: _propTypes2.default.oneOf(['default', 'primary', 'success', 'warning', 'danger', 'black', 'white']),
size: _propTypes2.default.oneOf(['1.5x', '2x', '2.5x', '3x', '3.5x', '4x'])
size: _propTypes2.default.oneOf(['1.2x', '1.5x', '2x', '2.5x', '3x', '3.5x', '4x'])
};
exports.default = (0, _cfStyleContainer.createComponent)(iconStyles, Icon);

@@ -223,2 +223,6 @@ 'use strict';

var _User = require('./User');
var _User2 = _interopRequireDefault(_User);
var _Wrench = require('./Wrench');

@@ -285,3 +289,4 @@

upload: _Upload2.default,
user: _User2.default,
wrench: _Wrench2.default
};

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

},
_react2.default.createElement('path', { d: 'M14.565,1.634l-1.4,1.4a7.052,7.052,0,1,0,1.286,8.163l-1.228-.614a5.679,5.679,0,1,1-1.041-6.6L12.2,4,11,5.2a.187.187,0,0,0,.132.32H14.7a.187.187,0,0,0,.188-.187V1.766A.187.187,0,0,0,14.565,1.634Z' })
_react2.default.createElement('path', { d: 'M14.18,6.598c0,0.14-0.12,0.27-0.26,0.27L9.3,6.878c-0.24,0-0.36-0.28-0.19-0.45l1.66-1.66c-0.76-0.65-1.71-1-2.74-1c-2.38,0-4.31,1.93-4.31,4.31s1.93,4.31,4.31,4.31c1.47,0,2.82-0.74,3.62-1.97l0.8,0.52l0.8,0.51c-0.01,0.03-0.03,0.05-0.05,0.08c-1.1,1.7-3.05,2.76-5.17,2.76c-3.43,0-6.21-2.78-6.21-6.21s2.78-6.21,6.21-6.21c1.47,0,2.89,0.52,4,1.46l0.1,0.08l1.68-1.68 c0.16-0.06,0.35,0.05,0.35,0.25L14.18,6.598z' })
);

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

{
"name": "cf-component-icon",
"description": "Cloudflare Icon Component",
"version": "4.2.5",
"version": "4.3.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