New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lightspeed/cirrus-icon

Package Overview
Dependencies
Maintainers
4
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightspeed/cirrus-icon - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

yarn-error.log

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="3.5.0"></a>
# [3.5.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-icon@3.4.0...@lightspeed/cirrus-icon@3.5.0) (2017-12-12)
### Features
* **button:** Add positioning support for childrens ([#284](https://github.com/lightspeedretail/cirrus/issues/284)) ([20f40ed](https://github.com/lightspeedretail/cirrus/commit/20f40ed))
<a name="3.4.0"></a>

@@ -8,0 +19,0 @@ # [3.4.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-icon@3.3.1...@lightspeed/cirrus-icon@3.4.0) (2017-12-11)

8

index.js

@@ -5,2 +5,3 @@ import React from 'react';

import { colors } from '@lightspeed/cirrus-tokens/src/colors';
import { fontSizeAliases } from '@lightspeed/cirrus-tokens/src/typography';
import * as icons from './icons/';

@@ -11,2 +12,3 @@ import { pascalCaseString } from './Icon.utils';

const iconClasses = cn('cr-icon', `cr-icon-${name}`);
const iconSize = fontSizeAliases[size] || size;

@@ -19,4 +21,4 @@ const Component = icons[pascalCaseString(name)];

style: {
width: size,
height: size,
width: iconSize,
height: iconSize,
},

@@ -41,2 +43,4 @@ color: colors[color] || color,

Icon.cirrusName = 'Icon';
export default Icon;
{
"name": "@lightspeed/cirrus-icon",
"version": "3.4.0",
"version": "3.5.0",
"description": "Cirrus Icon Component",

@@ -5,0 +5,0 @@ "author": "Lightspeed",

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