cf-component-card
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -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) |
@@ -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", |
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
55736
1261