Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cf-component-code

Package Overview
Dependencies
Maintainers
23
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-component-code - npm Package Compare versions

Comparing version 3.0.23 to 4.0.0

21

CHANGELOG.md

@@ -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)

2

es/Code.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc