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
3
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 2.2.0 to 3.0.0

55

CHANGELOG.md

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

<a name="3.0.0"></a>
# [3.0.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-icon@2.2.0...@lightspeed/cirrus-icon@3.0.0) (2017-11-09)
### Chores
* use css modules instead of .json for styles ([#164](https://github.com/lightspeedretail/cirrus/issues/164)) ([a4d6109](https://github.com/lightspeedretail/cirrus/commit/a4d6109))
### Features
* **icon:** replace hamburger icon ([#229](https://github.com/lightspeedretail/cirrus/issues/229)) ([0dc4c1c](https://github.com/lightspeedretail/cirrus/commit/0dc4c1c))
### BREAKING CHANGES
* * cleanup package.json & remove build script
* use CSS Modules
* import tokens CSS form node_modules
* update CSS loaders
* make storybook happy
* move tokens to peerDependencies
* Update packges yarn.lock
* make sure we use tokens from the file system
* remove alias, not needed
* rebuild tokens when files change
* remove unused import
* remove duplicate dev packages
* make sure yarn install
* update README(s)
* fix lockfile after rebase
* fix package.json after rebase
* Update Styles Getting Started section
* Add tokens to peer deps in README install guide
<a name="2.2.0"></a>

@@ -8,0 +63,0 @@ # [2.2.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-icon@2.1.0...@lightspeed/cirrus-icon@2.2.0) (2017-10-30)

9

icons/Hamburger.js

@@ -6,6 +6,11 @@ import React from 'react';

<svg {...rest} fill={color}>
<path
<rect className="cr-icon__base cr-icon__base-1" fill={baseColor || baseColor1} width="16" height="2" y="2" rx="1" />
<rect className="cr-icon__base cr-icon__base-1" fill={baseColor || baseColor1} width="16" height="2" y="7" rx="1" />
<rect
className="cr-icon__base cr-icon__base-1"
fill={baseColor || baseColor1}
d="M1 2h14a1 1 0 0 1 0 2H1a1 1 0 1 1 0-2zm0 5h14a1 1 0 0 1 0 2H1a1 1 0 1 1 0-2zm0 5h14a1 1 0 0 1 0 2H1a1 1 0 0 1 0-2z"
width="16"
height="2"
y="12"
rx="1"
/>

@@ -12,0 +17,0 @@ </svg>

{
"name": "@lightspeed/cirrus-icon",
"version": "2.2.0",
"version": "3.0.0",
"description": "Cirrus Icon Component",

@@ -10,3 +10,2 @@ "author": "Lightspeed",

"dependencies": {
"@lightspeed/cirrus-tokens": "^2.1.3",
"classnames": "^2.2.5"

@@ -16,8 +15,7 @@ },

"es6-module-loader": "0.17.11",
"prettier": "1.6.1",
"svgo": "0.7.2",
"traceur": "0.0.111",
"yargs": "8.0.2"
"traceur": "0.0.111"
},
"peerDependencies": {
"@lightspeed/cirrus-tokens": ">= 2.1.1",
"prop-types": "^15.5.10",

@@ -29,4 +27,4 @@ "react": "^15.6.1"

"generate-icons": "node scripts/generate-icons.js",
"prepublish": "yarn run-svgo && yarn generate-icons && cd ../../ && yarn build -- --package=Icon"
"prepublish": "yarn run-svgo && yarn generate-icons"
}
}

@@ -70,3 +70,3 @@ # Icon

```scss
@import '@lightspeed/cirrus-icon/Icon.css';
@import '@lightspeed/cirrus-icon/Icon.scss';
```

@@ -73,0 +73,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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