New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hixme-ui/card

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hixme-ui/card - npm Package Compare versions

Comparing version 1.1.1 to 1.9.0

lib/Card.js

43

lib/index.js

@@ -7,46 +7,9 @@ 'use strict';

var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
var _Card = require('./Card');
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
var _Card2 = _interopRequireDefault(_Card);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
var _inherits2 = require('babel-runtime/helpers/inherits');
var _inherits3 = _interopRequireDefault(_inherits2);
var _container = require('@hixme-ui/container');
var _container2 = _interopRequireDefault(_container);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var Card = function (_Container) {
(0, _inherits3.default)(Card, _Container);
function Card() {
(0, _classCallCheck3.default)(this, Card);
return (0, _possibleConstructorReturn3.default)(this, (Card.__proto__ || (0, _getPrototypeOf2.default)(Card)).apply(this, arguments));
}
return Card;
}(_container2.default);
Card.displayName = 'hui:Card';
Card.huiName = 'Card';
Card.defaultProps = {
white: true,
rounded: true,
shadow: true
};
exports.default = Card;
exports.default = _Card2.default;
//# sourceMappingURL=index.js.map
{
"name": "@hixme-ui/card",
"version": "1.1.1",
"version": "1.9.0",
"description": "hixme-ui Card component",

@@ -11,6 +11,4 @@ "publishConfig": {

"clean": "rimraf lib",
"test": "cross-env BABEL_ENV=commonjs mocha --compilers js:babel-register --recursive",
"test": "jest",
"test:watch": "npm test -- --watch",
"test:examples": "node examples/",
"cover": "cross-env BABEL_ENV=commonjs istanbul cover _mocha -- --compilers js:babel-register --recursive",
"lint": "eslint src test",

@@ -35,13 +33,17 @@ "build": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --source-maps",

],
"author": "Billy Montgomery <billy.montgomery@hixme.com>",
"author": "hixme.com",
"contributors": [
"Joel Iniguez <joel.iniguez@hixme.com>",
"Will Morgan <will.morgan@hixme.com>",
"Rodrigo Munoz <will.morgan@hixme.com>",
"Calvin Cieslak <calvin.cieslak@hixme.com>"
"Billy Montgomery",
"Joel Iniguez",
"Will Morgan",
"Rodrigo Munoz",
"Calvin Cieslak",
"David Cotelessa"
],
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.3.17",
"@hixme-ui/theme": "^1.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^6.0.0-beta.6",
"babel-jest": "^21.2.0",
"babel-loader": "^6.2.0",

@@ -56,9 +58,6 @@ "babel-plugin-transform-runtime": "^6.3.13",

"babel-runtime": "^6.3.19",
"chai": "^3.5.0",
"chai-as-promised": "^5.1.0",
"chai-enzyme": "^0.4.0",
"codecov": "^1.0.1",
"cross-env": "^4.0.0",
"debug": "^2.2.0",
"enzyme": "^2.0.0",
"enzyme": "^2.9.1",
"eslint": "^3.19.0",

@@ -68,4 +67,5 @@ "eslint-config-airbnb": "^14.1.0",

"eslint-config-standard-react": "^2.2.0",
"eslint-plugin-babel": "^3.2.0",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jest": "^21.5.0",
"eslint-plugin-jsx-a11y": "^4.0.0",

@@ -78,8 +78,8 @@ "eslint-plugin-promise": "^1.0.8",

"husky": "^0.13.3",
"mocha": "^3.3.0",
"jest": "^21.2.1",
"jest-styled-components": "^4.9.0",
"react-addons-test-utils": "^15.0.0",
"react-test-renderer": "^15.5.4",
"react-test-renderer": "^16.0.0",
"regenerator-runtime": "^0.11.0",
"rimraf": "^2.6.1",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
"webpack": "^3.5.5"

@@ -89,7 +89,6 @@ },

"dependencies": {
"@hixme-ui/container": "^1.1.1",
"@hixme-ui/theme": "^1.1.1",
"prop-types": "^15.5.10",
"react": "^15.6.1"
"@hixme-ui/container": "^1.8.1",
"prop-types": "^15.6.0",
"react": "^16.0.0"
}
}

@@ -1,1 +0,32 @@

# hixme-ui Container component
# hixme-ui card
```bash
npm i --save @hixme-ui/card
```
[View it live](https://hixme.github.io/hixme-ui/card)
Card is an implementation of [Container](https://hixme.github.io/hixme-ui/container
that defaults to having a white background, rounded corners, and a drop shadow. It
supports all the properties available for
[Container](https://hixme.github.io/hixme-ui/container)
## Usage
```javascript
import Card from '@hixme-ui/card'
<Card padding='30px' shadow>
<p>Default card component</p>
</Card>
```
## Default Container Props
| Name | Type | Default |
| --------------- | ----------- | -------------- |
| background | string | white |
| rounded | string | true |
| shadow | string | true |

@@ -1,14 +0,3 @@

import Container from '@hixme-ui/container'
import Card from './Card'
class Card extends Container {
static displayName = 'hui:Card'
static huiName = 'Card'
}
Card.defaultProps = {
white: true,
rounded: true,
shadow: true,
}
export default Card

Sorry, the diff of this file is not supported yet

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