@lightspeed/cirrus-icon
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="2.1.0"></a> | ||
# [2.1.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-icon@2.0.0...@lightspeed/cirrus-icon@2.1.0) (2017-10-26) | ||
### Features | ||
* **icon:** add cash icon + fix run-svgo script for new svg structure ([#212](https://github.com/lightspeedretail/cirrus/issues/212)) ([08f6856](https://github.com/lightspeedretail/cirrus/commit/08f6856)) | ||
<a name="2.0.0"></a> | ||
@@ -8,0 +19,0 @@ # [2.0.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-icon@1.1.1...@lightspeed/cirrus-icon@2.0.0) (2017-10-26) |
{ | ||
"apps": [ | ||
"base-1", | ||
"base-2", | ||
"details-1" | ||
], | ||
"add": [ | ||
@@ -9,13 +14,5 @@ "base-1", | ||
], | ||
"apps": [ | ||
"base-1", | ||
"base-2", | ||
"details-1" | ||
], | ||
"arrow-down-right": [ | ||
"base-1" | ||
], | ||
"arrow-left": [ | ||
"base-1" | ||
], | ||
"arrow-down": [ | ||
@@ -27,2 +24,5 @@ "base-1" | ||
], | ||
"arrow-left": [ | ||
"base-1" | ||
], | ||
"arrow-up-left": [ | ||
@@ -37,2 +37,7 @@ "base-1" | ||
], | ||
"business": [ | ||
"base-1", | ||
"base-2", | ||
"details-1" | ||
], | ||
"blogs": [ | ||
@@ -44,5 +49,4 @@ "base-1", | ||
], | ||
"business": [ | ||
"cash": [ | ||
"base-1", | ||
"base-2", | ||
"details-1" | ||
@@ -63,13 +67,11 @@ ], | ||
], | ||
"chevron-up": [ | ||
"chevron-right": [ | ||
"base-1" | ||
], | ||
"chevron-right": [ | ||
"chevron-up": [ | ||
"base-1" | ||
], | ||
"clipboard": [ | ||
"clock": [ | ||
"base-1", | ||
"base-2", | ||
"details-1", | ||
"details-2" | ||
"details-1" | ||
], | ||
@@ -80,5 +82,7 @@ "close": [ | ||
], | ||
"clock": [ | ||
"clipboard": [ | ||
"base-1", | ||
"details-1" | ||
"base-2", | ||
"details-1", | ||
"details-2" | ||
], | ||
@@ -111,9 +115,9 @@ "content": [ | ||
], | ||
"design": [ | ||
"devices": [ | ||
"base-1", | ||
"details-1", | ||
"details-2" | ||
], | ||
"devices": [ | ||
"design": [ | ||
"base-1", | ||
"details-1", | ||
"details-2" | ||
@@ -164,5 +168,2 @@ ], | ||
], | ||
"files": [ | ||
"base-1" | ||
], | ||
"floors": [ | ||
@@ -172,2 +173,5 @@ "base-1", | ||
], | ||
"files": [ | ||
"base-1" | ||
], | ||
"grid": [ | ||
@@ -210,2 +214,7 @@ "base-1", | ||
], | ||
"lock-closed": [ | ||
"base-1", | ||
"base-2", | ||
"details-1" | ||
], | ||
"location": [ | ||
@@ -219,7 +228,2 @@ "base-1" | ||
], | ||
"lock-closed": [ | ||
"base-1", | ||
"base-2", | ||
"details-1" | ||
], | ||
"logout": [ | ||
@@ -267,2 +271,7 @@ "base-1", | ||
], | ||
"register": [ | ||
"base-1", | ||
"base-2", | ||
"details-1" | ||
], | ||
"receipt": [ | ||
@@ -276,7 +285,2 @@ "base-1", | ||
], | ||
"register": [ | ||
"base-1", | ||
"base-2", | ||
"details-1" | ||
], | ||
"settings": [ | ||
@@ -286,5 +290,2 @@ "base-1", | ||
], | ||
"small-chevron-down": [ | ||
"base-1" | ||
], | ||
"shop": [ | ||
@@ -294,6 +295,6 @@ "base-1", | ||
], | ||
"small-chevron-left": [ | ||
"small-chevron-down": [ | ||
"base-1" | ||
], | ||
"small-chevron-right": [ | ||
"small-chevron-left": [ | ||
"base-1" | ||
@@ -307,2 +308,5 @@ ], | ||
], | ||
"small-chevron-right": [ | ||
"base-1" | ||
], | ||
"star-empty": [ | ||
@@ -309,0 +313,0 @@ "base-1" |
@@ -13,2 +13,3 @@ export { default as Add } from './Add'; | ||
export { default as Business } from './Business'; | ||
export { default as Cash } from './Cash'; | ||
export { default as Chat } from './Chat'; | ||
@@ -15,0 +16,0 @@ export { default as Checkmark } from './Checkmark'; |
{ | ||
"name": "@lightspeed/cirrus-icon", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Cirrus Icon Component", | ||
@@ -5,0 +5,0 @@ "author": "Lightspeed", |
@@ -48,3 +48,9 @@ const fs = require('fs'); | ||
// add the default attributes to `details-1` and `details-2` | ||
if (item.isElem('path') || item.isElem('rect') || item.isElem('circle') || item.isElem('polygon')) { | ||
if ( | ||
item.isElem('path') || | ||
item.isElem('rect') || | ||
item.isElem('circle') || | ||
item.isElem('polygon') || | ||
item.isElem('ellipse') | ||
) { | ||
if (item.attr('id').value === 'details-1') { | ||
@@ -60,6 +66,10 @@ item.addAttr({ local: 'fill', prefix: '', name: 'fill', value: 'none' }); | ||
if (item.isElem('g') && item.hasAttr('id')) { | ||
if (item.attr('id').value === 'Icons') { | ||
if (item.attr('id').value === 'Symbols') { | ||
item.removeAttr('id'); | ||
item.removeAttr('fill-rule'); | ||
} | ||
if (item.attr('id').value.indexOf('Feature') === 0) { | ||
item.removeAttr('id'); | ||
item.removeAttr('fill-rule'); | ||
} | ||
} | ||
@@ -66,0 +76,0 @@ return item; |
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
235520
194
3065
0