Socket
Socket
Sign inDemoInstall

@artistry/react

Package Overview
Dependencies
12
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.1 to 0.6.2

1

dist/scripts/components/CardSection.d.ts

@@ -6,2 +6,3 @@ import * as React from 'react';

multiColumn?: boolean;
centered?: boolean;
}

@@ -8,0 +9,0 @@ export default class CardSection extends React.Component<ICardSectionProps, any> {

13

dist/scripts/components/CardSection.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const React = require("react");
const ClassNames_1 = require("../util/ClassNames");
class CardSection extends React.Component {
render() {
let { id, className, multiColumn } = this.props;
let classNames = className ? [className] : [];
classNames.push('card-section');
if (multiColumn) {
classNames.push('card-section-multi-column');
}
return (React.createElement("section", { className: classNames.join(' '), id: id }, this.props.children));
let { id, className, multiColumn, centered } = this.props;
let classNames = new ClassNames_1.default(className, 'card-section');
classNames.addTest('card-section-multi-column', multiColumn);
classNames.addTest('card-section-centered', centered);
return (React.createElement("section", { className: classNames.toString(), id: id }, this.props.children));
}

@@ -14,0 +13,0 @@ }

{
"name": "@artistry/react",
"version": "0.6.1",
"version": "0.6.2",
"description": "A powerful component library for React",

@@ -28,3 +28,3 @@ "repository": "https://www.github.com/sjohnsonaz/artistry-react.git",

"peerDependencies": {
"artistry": "^0.9.1",
"artistry": "^0.9.3",
"react": "16.11.0",

@@ -40,3 +40,3 @@ "react-dom": "16.11.0"

"@types/react-dom": "16.9.2",
"artistry": "^0.9.1",
"artistry": "^0.9.3",
"autoprefixer": "9.7.4",

@@ -43,0 +43,0 @@ "chai": "4.2.0",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc