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

cf-component-card

Package Overview
Dependencies
Maintainers
23
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 4.2.4 to 4.2.5

15

CHANGELOG.md

@@ -6,3 +6,14 @@ # Change Log

<a name="4.2.4"></a>
<a name="4.2.5"></a>
## [4.2.5](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-card@4.2.4...cf-component-card@4.2.5) (2018-03-16)
### Bug Fixes
* **cf-style-container:** UI-434 add display name to anywhere we Fela wrappers ([1f7afeb](http://stash.cfops.it:7999/www/cf-ux/commits/1f7afeb))
<a name="4.2.4"></a>
## [4.2.4](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-card@4.2.3...cf-component-card@4.2.4) (2018-03-14)

@@ -15,3 +26,3 @@

<a name="4.2.3"></a>
<a name="4.2.3"></a>
## [4.2.3](http://stash.cfops.it:7999/www/cf-ux/compare/cf-component-card@4.2.2...cf-component-card@4.2.3) (2018-03-13)

@@ -18,0 +29,0 @@

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

Card.displayName = 'Card';
export default createComponent(styles, Card);

@@ -52,3 +52,4 @@ 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; }; }();

};
CardBlock.displayName = 'CardBlock';
export default createComponent(styles, CardBlock);

@@ -30,3 +30,4 @@ import React from 'react';

};
CardContent.displayName = 'CardContent';
export default createComponent(styles, CardContent);

@@ -45,3 +45,4 @@ import React from 'react';

};
CardControl.displayName = 'CardControl';
export default createComponent(styles, CardControl, ['wide']);

7

es/CardDrawer.js
import { createComponent } from 'cf-style-container';
export default createComponent(function (_ref) {
var CardDrawer = createComponent(function (_ref) {
var theme = _ref.theme,

@@ -10,2 +10,5 @@ isActive = _ref.isActive;

};
});
});
CardDrawer.setDisplayName('CardDrawer');
export default CardDrawer;

@@ -29,3 +29,4 @@ import React from 'react';

};
Footer.displayName = 'Footer';
export default createComponent(styles, Footer);

@@ -37,3 +37,3 @@ import React from 'react';

};
CardMessages.displayName = 'CardMessages';
export default createComponent(styles, CardMessages);

@@ -40,3 +40,3 @@ import React from 'react';

};
CardSection.displayName = 'CardSection';
export default createComponent(styles, CardSection, ['status']);

@@ -27,3 +27,4 @@ import React from 'react';

};
Title.dispayName = 'Title';
export default createComponent(styles, Title);

@@ -28,2 +28,3 @@ import React from 'react';

}, 'div', ['role']);
Links.setDisplayName('Links');

@@ -55,3 +56,3 @@ var CardToolbar = function CardToolbar(_ref2) {

};
CardToolbar.displayName = 'CardToolbar';
export default createComponent(styles, CardToolbar);

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

});
LinkWrapper.setDisplayName('LinkWrapper');

@@ -25,0 +26,0 @@ var CardToolbarLink = function (_React$Component) {

@@ -46,2 +46,3 @@ 'use strict';

Card.displayName = 'Card';
exports.default = (0, _cfStyleContainer.createComponent)(styles, Card);

@@ -42,3 +42,4 @@ 'use strict';

};
CardBlock.displayName = 'CardBlock';
exports.default = (0, _cfStyleContainer.createComponent)(styles, CardBlock);

@@ -37,3 +37,4 @@ 'use strict';

};
CardContent.displayName = 'CardContent';
exports.default = (0, _cfStyleContainer.createComponent)(styles, CardContent);

@@ -51,3 +51,4 @@ 'use strict';

};
CardControl.displayName = 'CardControl';
exports.default = (0, _cfStyleContainer.createComponent)(styles, CardControl, ['wide']);

@@ -9,5 +9,8 @@ 'use strict';

exports.default = (0, _cfStyleContainer.createComponent)(({ theme, isActive }) => ({
const CardDrawer = (0, _cfStyleContainer.createComponent)(({ theme, isActive }) => ({
borderTop: isActive ? `1px solid ${theme.colorGrayLight}` : 'initial',
padding: isActive ? '1.5rem' : 'initial'
}));
}));
CardDrawer.setDisplayName('CardDrawer');
exports.default = CardDrawer;

@@ -36,3 +36,4 @@ 'use strict';

};
Footer.displayName = 'Footer';
exports.default = (0, _cfStyleContainer.createComponent)(styles, Footer);

@@ -43,3 +43,3 @@ 'use strict';

};
CardMessages.displayName = 'CardMessages';
exports.default = (0, _cfStyleContainer.createComponent)(styles, CardMessages);

@@ -46,3 +46,3 @@ 'use strict';

};
CardSection.displayName = 'CardSection';
exports.default = (0, _cfStyleContainer.createComponent)(styles, CardSection, ['status']);

@@ -34,3 +34,4 @@ 'use strict';

};
Title.dispayName = 'Title';
exports.default = (0, _cfStyleContainer.createComponent)(styles, Title);

@@ -37,2 +37,3 @@ 'use strict';

}), 'div', ['role']);
Links.setDisplayName('Links');

@@ -59,3 +60,3 @@ const CardToolbar = ({ className, controls, links }) => _react2.default.createElement(

};
CardToolbar.displayName = 'CardToolbar';
exports.default = (0, _cfStyleContainer.createComponent)(styles, CardToolbar);

@@ -27,2 +27,3 @@ 'use strict';

}));
LinkWrapper.setDisplayName('LinkWrapper');

@@ -29,0 +30,0 @@ class CardToolbarLink extends _react2.default.Component {

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

@@ -14,4 +14,4 @@ "module": "es/index.js",

"dependencies": {
"cf-component-link": "^5.1.20",
"cf-style-container": "^8.0.0",
"cf-component-link": "^5.1.21",
"cf-style-container": "^8.0.1",
"prop-types": "^15.6.0"

@@ -18,0 +18,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