cf-component-code
Advanced tools
Comparing version 3.0.23 to 4.0.0
@@ -6,2 +6,23 @@ # Change Log | ||
<a name="4.0.0"></a> | ||
# [4.0.0](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-code@3.0.23...cf-component-code@4.0.0) (2018-05-08) | ||
### Features | ||
* **all:** UI-585: ([00a5bf1](http://stash.cfops.it:7999/www/cf-ux/commits/00a5bf1)) | ||
* **all:** UI-585: deprecate 'hail' and 'ash' named colors ([ff5f234](http://stash.cfops.it:7999/www/cf-ux/commits/ff5f234)) | ||
* **all:** UI-585: deprecate 'smoke' named color ([7558485](http://stash.cfops.it:7999/www/cf-ux/commits/7558485)) | ||
* **all:** UI-585: deprecate desk ([513f5ee](http://stash.cfops.it:7999/www/cf-ux/commits/513f5ee)) | ||
* **all:** UI-585: deprecate old 'red' named colors ([6743d53](http://stash.cfops.it:7999/www/cf-ux/commits/6743d53)) | ||
* **all:** UI-585: update color usage to access theme.colors ([3f76f3b](http://stash.cfops.it:7999/www/cf-ux/commits/3f76f3b)) | ||
### BREAKING CHANGES | ||
* **all:** update snapshots | ||
<a name="3.0.23"></a> | ||
@@ -8,0 +29,0 @@ ## [3.0.23](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-code@3.0.22...cf-component-code@3.0.23) (2018-05-04) |
@@ -25,3 +25,3 @@ 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; }; }(); | ||
verticalAlign: theme.verticalAlign, | ||
color: theme.color | ||
color: theme.textColor | ||
}; | ||
@@ -28,0 +28,0 @@ }; |
@@ -28,3 +28,3 @@ 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; }; }(); | ||
fontSize: theme.fontSize, | ||
color: theme.color | ||
color: theme.textColor | ||
}; | ||
@@ -31,0 +31,0 @@ }; |
export default (function (baseTheme) { | ||
return { | ||
backgroundColor: baseTheme.color.smoke, | ||
border: '1px solid ' + baseTheme.color.hail, | ||
backgroundColor: baseTheme.colors.gray[7], | ||
border: '1px solid ' + baseTheme.colors.gray[5], | ||
fontFamily: 'monaco, courier, monospace', | ||
@@ -12,4 +12,4 @@ borderRadius: 2, | ||
fontSize: '0.86667rem', | ||
color: baseTheme.color.dusk | ||
textColor: baseTheme.colors.gray[3] | ||
}; | ||
}); |
export default (function (baseTheme) { | ||
return { | ||
backgroundColor: baseTheme.color.smoke, | ||
border: '1px solid ' + baseTheme.color.hail, | ||
backgroundColor: baseTheme.colors.gray[7], | ||
border: '1px solid ' + baseTheme.colors.gray[5], | ||
fontFamily: 'monaco, courier, monospace', | ||
@@ -12,4 +12,4 @@ borderRadius: 2, | ||
verticalAlign: 'baseline', | ||
color: baseTheme.color.apple | ||
textColor: baseTheme.colors.red[3] | ||
}; | ||
}); |
@@ -29,3 +29,3 @@ 'use strict'; | ||
verticalAlign: theme.verticalAlign, | ||
color: theme.color | ||
color: theme.textColor | ||
}); | ||
@@ -32,0 +32,0 @@ |
@@ -37,3 +37,3 @@ 'use strict'; | ||
fontSize: theme.fontSize, | ||
color: theme.color | ||
color: theme.textColor | ||
}); | ||
@@ -40,0 +40,0 @@ |
@@ -8,4 +8,4 @@ 'use strict'; | ||
exports.default = baseTheme => ({ | ||
backgroundColor: baseTheme.color.smoke, | ||
border: `1px solid ${baseTheme.color.hail}`, | ||
backgroundColor: baseTheme.colors.gray[7], | ||
border: `1px solid ${baseTheme.colors.gray[5]}`, | ||
fontFamily: 'monaco, courier, monospace', | ||
@@ -18,3 +18,3 @@ borderRadius: 2, | ||
fontSize: '0.86667rem', | ||
color: baseTheme.color.dusk | ||
textColor: baseTheme.colors.gray[3] | ||
}); |
@@ -8,4 +8,4 @@ 'use strict'; | ||
exports.default = baseTheme => ({ | ||
backgroundColor: baseTheme.color.smoke, | ||
border: `1px solid ${baseTheme.color.hail}`, | ||
backgroundColor: baseTheme.colors.gray[7], | ||
border: `1px solid ${baseTheme.colors.gray[5]}`, | ||
fontFamily: 'monaco, courier, monospace', | ||
@@ -18,3 +18,3 @@ borderRadius: 2, | ||
verticalAlign: 'baseline', | ||
color: baseTheme.color.apple | ||
textColor: baseTheme.colors.red[3] | ||
}); |
{ | ||
"name": "cf-component-code", | ||
"description": "Cloudflare Code Component", | ||
"version": "3.0.23", | ||
"version": "4.0.0", | ||
"main": "lib/index.js", | ||
@@ -14,3 +14,3 @@ "module": "es/index.js", | ||
"dependencies": { | ||
"cf-style-container": "^8.1.4", | ||
"cf-style-container": "^9.0.0", | ||
"prop-types": "^15.6.0" | ||
@@ -17,0 +17,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
18734
+ Addedcf-style-container@9.0.0(transitive)
- Removedcf-style-container@8.1.4(transitive)
- Removedseamless-immutable@7.1.4(transitive)
Updatedcf-style-container@^9.0.0