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

carbon-addons-data-viz-react

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carbon-addons-data-viz-react - npm Package Compare versions

Comparing version 1.17.2 to 1.17.3

2

cjs/components/DataTooltip/DataTooltip.js

@@ -100,4 +100,2 @@ 'use strict';

}, {
'bx--data-tooltip__multiple--last': item.color && data.length > 1 && i === data.length - 1
}, {
'bx--data-tooltip__multiple--right': item.color && data.length > 3 && i >= data.length / 2

@@ -104,0 +102,0 @@ }, {

20

cjs/components/DataTooltip/DataTooltip.story.js

@@ -21,9 +21,21 @@ 'use strict';

var singleData = [{ data: '$250.17', label: 'Jan', color: '#3b1a40' }];
var singleData = [{ data: '$250.17', label: 'Feb 21, 10:35 AM', color: '#00a68f' }];
var tripleData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }];
var tripleData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, {
data: '$250.17',
label: 'Long text to show what will happen when text is really long',
color: '#3c6df0'
}];
var quadData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }, { data: '$123.45', label: 'Apr', color: '#00a68f' }];
var quadData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }, {
data: '$123.45',
label: 'Long text to show what will happen when text is really long',
color: '#00a68f'
}];
var maxData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }, { data: '$123.45', label: 'Apr', color: '#00a68f' }, { data: '$112.22', label: 'May', color: '#48d4bb' }, { data: '$250.17', label: 'Jun', color: '#9b82f3' }];
var maxData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }, { data: '$123.45', label: 'Apr', color: '#00a68f' }, {
data: '$112.22',
label: 'Long text to show what will happen when text is really long',
color: '#48d4bb'
}, { data: '$250.17', label: 'Jun', color: '#9b82f3' }];

@@ -30,0 +42,0 @@ var props = {

@@ -64,4 +64,2 @@ import _extends from 'babel-runtime/helpers/extends';

}, {
'bx--data-tooltip__multiple--last': item.color && data.length > 1 && i === data.length - 1
}, {
'bx--data-tooltip__multiple--right': item.color && data.length > 3 && i >= data.length / 2

@@ -68,0 +66,0 @@ }, {

@@ -8,9 +8,21 @@ import _extends from 'babel-runtime/helpers/extends';

var singleData = [{ data: '$250.17', label: 'Jan', color: '#3b1a40' }];
var singleData = [{ data: '$250.17', label: 'Feb 21, 10:35 AM', color: '#00a68f' }];
var tripleData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }];
var tripleData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, {
data: '$250.17',
label: 'Long text to show what will happen when text is really long',
color: '#3c6df0'
}];
var quadData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }, { data: '$123.45', label: 'Apr', color: '#00a68f' }];
var quadData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }, {
data: '$123.45',
label: 'Long text to show what will happen when text is really long',
color: '#00a68f'
}];
var maxData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }, { data: '$123.45', label: 'Apr', color: '#00a68f' }, { data: '$112.22', label: 'May', color: '#48d4bb' }, { data: '$250.17', label: 'Jun', color: '#9b82f3' }];
var maxData = [{ data: '$123.45', label: 'Jan', color: '#3b1a40' }, { data: '$112.22', label: 'Feb', color: '#473793' }, { data: '$250.17', label: 'Mar', color: '#3c6df0' }, { data: '$123.45', label: 'Apr', color: '#00a68f' }, {
data: '$112.22',
label: 'Long text to show what will happen when text is really long',
color: '#48d4bb'
}, { data: '$250.17', label: 'Jun', color: '#9b82f3' }];

@@ -17,0 +29,0 @@ var props = {

{
"name": "carbon-addons-data-viz-react",
"version": "1.17.2",
"version": "1.17.3",
"description": "Carbon Data Visualization",

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

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