carbon-addons-data-viz-react
Advanced tools
Comparing version 1.17.2 to 1.17.3
@@ -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 @@ }, { |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154021
3603