@undp/carbon-library 1.0.265-CARBON-377.2 → 1.0.265-lib-demo.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -22776,7 +22776,7 @@ var MrvDashboardComponent = function (props) {
22776
22776
  "#ddddbb",
22777
22777
  "#ff9900",
22778
22778
  ];
22779
- var colorsStatus = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE", "#B7A4FE"];
22779
+ var colorsStatus = ["#C6A7FE", "#FF8183", "#CDCDCD", "#7FEABF", "#B7A4FE"];
22780
22780
  var TTSuffix = (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.PROGRAMME_DEVELOPER ? "My" : "";
22781
22781
  var genPayload = function () {
22782
22782
  var stats = [];
@@ -25697,8 +25697,8 @@ var RegistryDashboardComponent = function (props) {
25697
25697
  var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
25698
25698
  var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
25699
25699
  var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
25700
- var news = ["all", ["==", ["get", "stage"], "Approved"]];
25701
- var colors = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE"];
25700
+ var news = ["all", ["==", ["get", "stage"], "New"]];
25701
+ var colors = ["#6ACDFF", "#FF8183", "#CDCDCD", "#B7A4FE"];
25702
25702
  var donutSegment = function (start, end, r, r0, color) {
25703
25703
  if (end - start === 1)
25704
25704
  end -= 0.00001;
@@ -26168,9 +26168,9 @@ var RegistryDashboardComponent = function (props) {
26168
26168
  React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
26169
26169
  !((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER &&
26170
26170
  categoryType === "mine") && (React.createElement(React.Fragment, null,
26171
- React.createElement(LegendItem, { text: "Rejected", color: "#CDCDCD" }),
26172
- React.createElement(LegendItem, { text: "Pending", color: "#FF8183" }),
26173
- React.createElement(LegendItem, { text: "Approved", color: "#B7A4FE" })))),
26171
+ React.createElement(LegendItem, { text: "Rejected", color: "#FF8183" }),
26172
+ React.createElement(LegendItem, { text: "Pending", color: "#CDCDCD" }),
26173
+ React.createElement(LegendItem, { text: "New", color: "#B7A4FE" })))),
26174
26174
  React.createElement("div", { className: "updated-on margin-top-1" },
26175
26175
  React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
26176
26176
  lastUpdateProgrammesStatsC)))))),