@lightspeed/cirrus-button
Advanced tools
Comparing version 2.0.7 to 3.0.0
@@ -6,2 +6,52 @@ # Change Log | ||
<a name="3.0.0"></a> | ||
# [3.0.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-button@2.0.7...@lightspeed/cirrus-button@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)) | ||
### 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.0.7"></a> | ||
@@ -8,0 +58,0 @@ ## [2.0.7](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-button@2.0.6...@lightspeed/cirrus-button@2.0.7) (2017-10-25) |
@@ -5,3 +5,3 @@ import React from 'react'; | ||
import styles from './Button.json'; | ||
import styles from './Button.scss'; | ||
@@ -8,0 +8,0 @@ const baseClass = 'cr-button'; |
{ | ||
"name": "@lightspeed/cirrus-button", | ||
"version": "2.0.7", | ||
"version": "3.0.0", | ||
"description": "Cirrus Button Component", | ||
@@ -10,12 +10,9 @@ "author": "Lightspeed", | ||
"dependencies": { | ||
"@lightspeed/cirrus-tokens": "^2.1.3", | ||
"classnames": "^2.2.5" | ||
}, | ||
"peerDependencies": { | ||
"@lightspeed/cirrus-tokens": ">=2.1.1", | ||
"prop-types": "^15.5.10", | ||
"react": "^15.6.1" | ||
}, | ||
"scripts": { | ||
"prepublish": "cd ../../ && yarn build -- --package=Button" | ||
} | ||
} |
@@ -26,3 +26,3 @@ # Button | ||
```scss | ||
@import '@lightspeed/cirrus-button/Button.css'; | ||
@import '@lightspeed/cirrus-button/Button.scss'; | ||
``` | ||
@@ -29,0 +29,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
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
14854
6
69
2
+ Added@lightspeed/cirrus-tokens@4.0.1(transitive)
- Removed@lightspeed/cirrus-tokens@^2.1.3
- Removed@lightspeed/cirrus-tokens@2.8.0(transitive)