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

plutchik-reactjs-components

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plutchik-reactjs-components - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

2

dist/cjs/charts.d.ts

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

vector: IEmotionVector;
label: string;
label?: string;
onClick?: (emotion: Emotion) => void;

@@ -39,0 +39,0 @@ gridArea?: string;

@@ -117,4 +117,8 @@ "use strict";

render() {
return (react_1.default.createElement("div", { className: 'plutchik-charts-container', style: { gridArea: this.props.gridArea } },
react_1.default.createElement("div", { className: 'plutchik-charts-label' }, this.props.label),
return (react_1.default.createElement("div", { className: 'plutchik-charts-container', style: {
gridArea: this.props.gridArea,
padding: this.props.label === undefined ? '0px' : undefined,
borderWidth: this.props.label === undefined ? '0px' : undefined,
} },
this.props.label !== undefined ? (react_1.default.createElement("div", { className: 'plutchik-charts-label' }, this.props.label)) : (react_1.default.createElement(react_1.default.Fragment, null)),
Object.values(types_1.Emotion).map((v, i) => {

@@ -121,0 +125,0 @@ let val = this.props.vector[v];

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

vector: IEmotionVector;
label: string;
label?: string;
onClick?: (emotion: Emotion) => void;

@@ -39,0 +39,0 @@ gridArea?: string;

@@ -112,4 +112,8 @@ import React from 'react';

render() {
return (React.createElement("div", { className: 'plutchik-charts-container', style: { gridArea: this.props.gridArea } },
React.createElement("div", { className: 'plutchik-charts-label' }, this.props.label),
return (React.createElement("div", { className: 'plutchik-charts-container', style: {
gridArea: this.props.gridArea,
padding: this.props.label === undefined ? '0px' : undefined,
borderWidth: this.props.label === undefined ? '0px' : undefined,
} },
this.props.label !== undefined ? (React.createElement("div", { className: 'plutchik-charts-label' }, this.props.label)) : (React.createElement(React.Fragment, null)),
Object.values(Emotion).map((v, i) => {

@@ -116,0 +120,0 @@ let val = this.props.vector[v];

{
"name": "plutchik-reactjs-components",
"version": "1.4.1",
"version": "1.4.2",
"description": "Plutchik emotional azimuth",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

Sorry, the diff of this file is not supported yet

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