@undp/carbon-library 1.0.274 → 1.0.275

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -23264,7 +23264,7 @@ var MrvDashboardComponent = function (props) {
23264
23264
  "#ddddbb",
23265
23265
  "#ff9900",
23266
23266
  ];
23267
- var colorsStatus = ["#C6A7FE", "#FF8183", "#CDCDCD", "#7FEABF", "#B7A4FE"];
23267
+ var colorsStatus = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE", "#B7A4FE"];
23268
23268
  var TTSuffix = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.PROGRAMME_DEVELOPER ? "My" : "";
23269
23269
  var genPayload = function () {
23270
23270
  var stats = [];
@@ -26174,8 +26174,8 @@ var RegistryDashboardComponent = function (props) {
26174
26174
  var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
26175
26175
  var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
26176
26176
  var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
26177
- var news = ["all", ["==", ["get", "stage"], "New"]];
26178
- var colors = ["#6ACDFF", "#FF8183", "#CDCDCD", "#B7A4FE"];
26177
+ var news = ["all", ["==", ["get", "stage"], "Approved"]];
26178
+ var colors = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE"];
26179
26179
  var donutSegment = function (start, end, r, r0, color) {
26180
26180
  if (end - start === 1)
26181
26181
  end -= 0.00001;
@@ -26645,9 +26645,9 @@ var RegistryDashboardComponent = function (props) {
26645
26645
  React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
26646
26646
  !((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER &&
26647
26647
  categoryType === "mine") && (React.createElement(React.Fragment, null,
26648
- React.createElement(LegendItem, { text: "Rejected", color: "#FF8183" }),
26649
- React.createElement(LegendItem, { text: "Pending", color: "#CDCDCD" }),
26650
- React.createElement(LegendItem, { text: "New", color: "#B7A4FE" })))),
26648
+ React.createElement(LegendItem, { text: "Rejected", color: "#CDCDCD" }),
26649
+ React.createElement(LegendItem, { text: "Pending", color: "#FF8183" }),
26650
+ React.createElement(LegendItem, { text: "Approved", color: "#B7A4FE" })))),
26651
26651
  React.createElement("div", { className: "updated-on margin-top-1" },
26652
26652
  React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
26653
26653
  lastUpdateProgrammesStatsC)))))),