@undp/carbon-library 1.0.272-CARBON-332.0 → 1.0.273-CARBON-377.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,7 +67,7 @@ export declare const getChartOptions: (labels: string[], colors: string[]) => {
67
67
  offsetX: number;
68
68
  offsetY: number;
69
69
  labels: {
70
- colors: string[];
70
+ colors: string;
71
71
  useSeriesColors: boolean;
72
72
  };
73
73
  markers: {
package/dist/esm/index.js CHANGED
@@ -23013,7 +23013,7 @@ var getChartOptions = function (labels, colors) {
23013
23013
  offsetX: 0,
23014
23014
  offsetY: 5,
23015
23015
  labels: {
23016
- colors: colors,
23016
+ colors: "#000000d9",
23017
23017
  useSeriesColors: false,
23018
23018
  },
23019
23019
  markers: {
@@ -23244,7 +23244,7 @@ var MrvDashboardComponent = function (props) {
23244
23244
  "#ddddbb",
23245
23245
  "#ff9900",
23246
23246
  ];
23247
- var colorsStatus = ["#C6A7FE", "#FF8183", "#CDCDCD", "#7FEABF", "#B7A4FE"];
23247
+ var colorsStatus = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE", "#B7A4FE"];
23248
23248
  var TTSuffix = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.PROGRAMME_DEVELOPER ? "My" : "";
23249
23249
  var genPayload = function () {
23250
23250
  var stats = [];
@@ -23979,7 +23979,7 @@ var totalProgrammesOptions = {
23979
23979
  offsetX: 0,
23980
23980
  offsetY: 5,
23981
23981
  labels: {
23982
- colors: ["#4FB8E7", "#FF8183", "#D8D8D8"],
23982
+ colors: "#000000d9",
23983
23983
  useSeriesColors: false,
23984
23984
  },
23985
23985
  markers: {
@@ -24125,18 +24125,7 @@ var totalProgrammesOptionsSub = {
24125
24125
  offsetX: 0,
24126
24126
  offsetY: 5,
24127
24127
  labels: {
24128
- colors: [
24129
- "#16B1FF",
24130
- "#FF8183",
24131
- "#7FEABF",
24132
- "#FFB480",
24133
- "#666699",
24134
- "#009999",
24135
- "#c2c2d6",
24136
- "#ddddbb",
24137
- "#ff9900",
24138
- "#D8D8D8",
24139
- ],
24128
+ colors: "#000000d9",
24140
24129
  useSeriesColors: false,
24141
24130
  },
24142
24131
  markers: {
@@ -24279,7 +24268,7 @@ var totalCreditsOptions = {
24279
24268
  offsetX: 0,
24280
24269
  offsetY: 5,
24281
24270
  labels: {
24282
- colors: ["#4FB8E7", "#7FEABF", "#D8D8D8", "#FF8183", "#B7A4FE"],
24271
+ colors: "#000000d9",
24283
24272
  useSeriesColors: false,
24284
24273
  },
24285
24274
  markers: {
@@ -24411,7 +24400,7 @@ var totalCreditsCertifiedOptions = {
24411
24400
  offsetX: 0,
24412
24401
  offsetY: 5,
24413
24402
  labels: {
24414
- colors: ["#6ACDFF", "#FF8183", "#CDCDCD"],
24403
+ colors: "#000000d9",
24415
24404
  useSeriesColors: false,
24416
24405
  },
24417
24406
  markers: {
@@ -24504,7 +24493,7 @@ var optionDonutPieA = {
24504
24493
  offsetX: 0,
24505
24494
  offsetY: 5,
24506
24495
  labels: {
24507
- colors: ["#6ACDFF", "#7FEABF", "#CDCDCD", "#FF8183", "#B7A4FE"],
24496
+ colors: "#000000d9",
24508
24497
  useSeriesColors: false,
24509
24498
  },
24510
24499
  markers: {
@@ -24610,7 +24599,7 @@ var optionDonutPieB = {
24610
24599
  offsetX: 0,
24611
24600
  offsetY: 5,
24612
24601
  labels: {
24613
- colors: ["#6ACDFF", "#FF8183", "#CDCDCD"],
24602
+ colors: "#000000d9",
24614
24603
  useSeriesColors: false,
24615
24604
  },
24616
24605
  markers: {
@@ -26165,8 +26154,8 @@ var RegistryDashboardComponent = function (props) {
26165
26154
  var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
26166
26155
  var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
26167
26156
  var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
26168
- var news = ["all", ["==", ["get", "stage"], "New"]];
26169
- var colors = ["#6ACDFF", "#FF8183", "#CDCDCD", "#B7A4FE"];
26157
+ var news = ["all", ["==", ["get", "stage"], "Approved"]];
26158
+ var colors = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE"];
26170
26159
  var donutSegment = function (start, end, r, r0, color) {
26171
26160
  if (end - start === 1)
26172
26161
  end -= 0.00001;
@@ -26636,9 +26625,9 @@ var RegistryDashboardComponent = function (props) {
26636
26625
  React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
26637
26626
  !((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER &&
26638
26627
  categoryType === "mine") && (React.createElement(React.Fragment, null,
26639
- React.createElement(LegendItem, { text: "Rejected", color: "#FF8183" }),
26640
- React.createElement(LegendItem, { text: "Pending", color: "#CDCDCD" }),
26641
- React.createElement(LegendItem, { text: "New", color: "#B7A4FE" })))),
26628
+ React.createElement(LegendItem, { text: "Rejected", color: "#CDCDCD" }),
26629
+ React.createElement(LegendItem, { text: "Pending", color: "#FF8183" }),
26630
+ React.createElement(LegendItem, { text: "Approved", color: "#B7A4FE" })))),
26642
26631
  React.createElement("div", { className: "updated-on margin-top-1" },
26643
26632
  React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
26644
26633
  lastUpdateProgrammesStatsC)))))),