@lightspeed/cirrus-icon
Advanced tools
Comparing version 2.2.0 to 3.0.0
@@ -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) |
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
3
3
220155
183
2441
1
+ Added@lightspeed/cirrus-tokens@4.0.1(transitive)
- Removed@lightspeed/cirrus-tokens@^2.1.3
- Removed@lightspeed/cirrus-tokens@2.8.0(transitive)