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

cf-component-card

Package Overview
Dependencies
Maintainers
17
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-component-card - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

<a name="3.0.3"></a>
## [3.0.3](https://github.com/cloudflare/cf-ui/compare/cf-component-card@3.0.2...cf-component-card@3.0.3) (2017-08-26)
<a name="3.0.2"></a>

@@ -8,0 +14,0 @@ ## [3.0.2](https://github.com/cloudflare/cf-ui/compare/cf-component-card@3.0.1...cf-component-card@3.0.2) (2017-08-25)

11

es/CardDrawers.js

@@ -29,9 +29,2 @@ 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; }; }();

var Container = createComponent(function (_ref2) {
var active = _ref2.active;
return {
display: active ? 'block' : 'none'
};
}, 'div', ['active']);
var CardDrawers = function (_React$Component) {

@@ -109,4 +102,4 @@ _inherits(CardDrawers, _React$Component);

React.createElement(
Container,
{ active: this.props.active },
'div',
null,
drawers

@@ -113,0 +106,0 @@ )

@@ -54,9 +54,2 @@ 'use strict';

var Container = (0, _cfStyleContainer.createComponent)(function (_ref2) {
var active = _ref2.active;
return {
display: active ? 'block' : 'none'
};
}, 'div', ['active']);
var CardDrawers = function (_React$Component) {

@@ -134,4 +127,4 @@ _inherits(CardDrawers, _React$Component);

_react2.default.createElement(
Container,
{ active: this.props.active },
'div',
null,
drawers

@@ -138,0 +131,0 @@ )

{
"name": "cf-component-card",
"description": "Cloudflare Card Component",
"version": "3.0.2",
"version": "3.0.3",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "module": "es/index.js",

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