dp-widgets-framework 1.2.9 → 1.3.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/index.esm.js CHANGED
@@ -36417,7 +36417,7 @@ function SeriesBarChartComponent({ orientation, seriesBarChartState, styles, app
36417
36417
  datasets: series.map((seriesItem, index) => ({
36418
36418
  label: seriesItem.name,
36419
36419
  data: seriesItem.values,
36420
- backgroundColor: seriesItem.color || finalColors[index % finalColors.length],
36420
+ backgroundColor: (seriesItem === null || seriesItem === void 0 ? void 0 : seriesItem.colors) || (seriesItem === null || seriesItem === void 0 ? void 0 : seriesItem.color) || finalColors[index % finalColors.length],
36421
36421
  })),
36422
36422
  };
36423
36423
  return (jsxRuntimeExports.jsx(SeriesChart, { orientation: orientation, title: chartTitle, data: transformedData, units: units, content: content }));
package/dist/index.js CHANGED
@@ -36444,7 +36444,7 @@ function SeriesBarChartComponent({ orientation, seriesBarChartState, styles, app
36444
36444
  datasets: series.map((seriesItem, index) => ({
36445
36445
  label: seriesItem.name,
36446
36446
  data: seriesItem.values,
36447
- backgroundColor: seriesItem.color || finalColors[index % finalColors.length],
36447
+ backgroundColor: (seriesItem === null || seriesItem === void 0 ? void 0 : seriesItem.colors) || (seriesItem === null || seriesItem === void 0 ? void 0 : seriesItem.color) || finalColors[index % finalColors.length],
36448
36448
  })),
36449
36449
  };
36450
36450
  return (jsxRuntimeExports.jsx(SeriesChart, { orientation: orientation, title: chartTitle, data: transformedData, units: units, content: content }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dp-widgets-framework",
3
- "version": "1.2.9",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"