@spteck/fluentui-react-charts 1.0.13 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fluentui-react-charts.cjs.development.js +2 -4
- package/dist/fluentui-react-charts.cjs.development.js.map +1 -1
- package/dist/fluentui-react-charts.cjs.production.min.js +1 -1
- package/dist/fluentui-react-charts.cjs.production.min.js.map +1 -1
- package/dist/fluentui-react-charts.esm.js +2 -4
- package/dist/fluentui-react-charts.esm.js.map +1 -1
- package/dist/models/IChart.d.ts +2 -0
- package/package.json +1 -1
|
@@ -782,7 +782,7 @@ var lightenColor = function lightenColor(hex, amount) {
|
|
|
782
782
|
var getFluentPalette = function getFluentPalette(theme) {
|
|
783
783
|
// Check if theme is dark by looking at global color tokens
|
|
784
784
|
var isDark = theme.colorNeutralBackground1.startsWith('#1') || theme.colorNeutralBackground1 === '#000000';
|
|
785
|
-
return isDark ? ['#2899f5', '#ff8c00', '#32cd32', '#f06b71', '#c390f2', '#00b7c3', '#ffb900', '#b4a0ff', '#60cdff', '#92c353'] : ['#0078d4', '#d83b01', '#
|
|
785
|
+
return isDark ? ['#2899f5', '#ff8c00', '#32cd32', '#f06b71', '#c390f2', '#00b7c3', '#ffb900', '#b4a0ff', '#60cdff', '#92c353'] : ['#0078d4', '#d83b01', '#097223', '#a4262c', '#3f0c7aff', '#024339ff', '#791d2dff', '#062843ff', '#8764b8', '#376102ff'];
|
|
786
786
|
};
|
|
787
787
|
/**
|
|
788
788
|
* Returns animation configuration for instant interactions.
|
|
@@ -809,7 +809,7 @@ function createFluentTooltip(theme) {
|
|
|
809
809
|
var fontSize = parseInt(theme.fontSizeBase200.replace('px', '')) || 14;
|
|
810
810
|
var tooltipBg = theme.colorNeutralBackground1;
|
|
811
811
|
var tooltipTitleColor = theme.colorNeutralForeground1;
|
|
812
|
-
|
|
812
|
+
//const tooltipBodyColor = theme.colorNeutralForeground1;
|
|
813
813
|
var borderColor = theme.colorNeutralStroke2;
|
|
814
814
|
var callbacks = {
|
|
815
815
|
title: function title(context) {
|
|
@@ -894,7 +894,6 @@ function createFluentTooltip(theme) {
|
|
|
894
894
|
cornerRadius: 4,
|
|
895
895
|
padding: 10,
|
|
896
896
|
titleColor: tooltipTitleColor,
|
|
897
|
-
bodyColor: tooltipBodyColor,
|
|
898
897
|
titleFont: {
|
|
899
898
|
family: fontFamily,
|
|
900
899
|
size: fontSize
|
|
@@ -1858,7 +1857,6 @@ function ComboChart(_ref) {
|
|
|
1858
1857
|
type: 'linear',
|
|
1859
1858
|
position: 'left',
|
|
1860
1859
|
stacked: true,
|
|
1861
|
-
offset: true,
|
|
1862
1860
|
ticks: {
|
|
1863
1861
|
color: labelColor,
|
|
1864
1862
|
font: {
|