@cloudflare/component-icon
Advanced tools
Comparing version 1.0.12 to 1.1.0
@@ -6,3 +6,19 @@ # Change Log | ||
<a name="1.0.12"></a> | ||
<a name="1.1.0"></a> | ||
# [1.1.0](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@1.0.11...@cloudflare/component-icon@1.1.0) (2018-06-12) | ||
### Bug Fixes | ||
* **component-icon:** WWW-15220: Fix default icon size ([f3df0df](http://stash.cfops.it:7999/fe/stratus/commits/f3df0df)) | ||
### Features | ||
* **component-icon:** WWW-15220: Add icon size, site link in the header ([2c0ca69](http://stash.cfops.it:7999/fe/stratus/commits/2c0ca69)) | ||
<a name="1.0.12"></a> | ||
## [1.0.12](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@1.0.11...@cloudflare/component-icon@1.0.12) (2018-06-08) | ||
@@ -15,3 +31,3 @@ | ||
<a name="1.0.11"></a> | ||
<a name="1.0.11"></a> | ||
## [1.0.11](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-icon@1.0.8...@cloudflare/component-icon@1.0.11) (2018-06-07) | ||
@@ -18,0 +34,0 @@ |
@@ -21,2 +21,5 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
switch (size) { | ||
case '0.8x': | ||
height = 12; | ||
break; | ||
case '1.2x': | ||
@@ -122,3 +125,3 @@ height = 18; | ||
size: PropTypes.oneOf(['1.2x', '1.5x', '2x', '2.5x', '3x', '3.5x', '4x']) | ||
size: PropTypes.oneOf(['0.8x', '1.2x', '1.5x', '2x', '2.5x', '3x', '3.5x', '4x']) | ||
}; | ||
@@ -125,0 +128,0 @@ |
@@ -32,2 +32,5 @@ 'use strict'; | ||
switch (size) { | ||
case '0.8x': | ||
height = 12; | ||
break; | ||
case '1.2x': | ||
@@ -112,3 +115,3 @@ height = 18; | ||
size: _propTypes2.default.oneOf(['1.2x', '1.5x', '2x', '2.5x', '3x', '3.5x', '4x']) | ||
size: _propTypes2.default.oneOf(['0.8x', '1.2x', '1.5x', '2x', '2.5x', '3x', '3.5x', '4x']) | ||
}; | ||
@@ -115,0 +118,0 @@ |
{ | ||
"name": "@cloudflare/component-icon", | ||
"description": "Cloudflare Icon Component", | ||
"version": "1.0.12", | ||
"version": "1.1.0", | ||
"main": "lib/index.js", | ||
@@ -15,3 +15,3 @@ "module": "es/index.js", | ||
"dependencies": { | ||
"@cloudflare/style-container": "^1.0.12", | ||
"@cloudflare/style-container": "^1.1.0", | ||
"prop-types": "^15.6.0" | ||
@@ -18,0 +18,0 @@ }, |
@@ -13,2 +13,5 @@ import React from 'react'; | ||
switch (size) { | ||
case '0.8x': | ||
height = 12; | ||
break; | ||
case '1.2x': | ||
@@ -102,3 +105,12 @@ height = 18; | ||
size: PropTypes.oneOf(['1.2x', '1.5x', '2x', '2.5x', '3x', '3.5x', '4x']) | ||
size: PropTypes.oneOf([ | ||
'0.8x', | ||
'1.2x', | ||
'1.5x', | ||
'2x', | ||
'2.5x', | ||
'3x', | ||
'3.5x', | ||
'4x' | ||
]) | ||
}; | ||
@@ -105,0 +117,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
213355
4659