@undp/carbon-library 1.0.274-ebf.0 → 1.0.275

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -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 = [];
@@ -26154,8 +26154,8 @@ var RegistryDashboardComponent = function (props) {
26154
26154
  var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
26155
26155
  var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
26156
26156
  var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
26157
- var news = ["all", ["==", ["get", "stage"], "New"]];
26158
- var colors = ["#6ACDFF", "#FF8183", "#CDCDCD", "#B7A4FE"];
26157
+ var news = ["all", ["==", ["get", "stage"], "Approved"]];
26158
+ var colors = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE"];
26159
26159
  var donutSegment = function (start, end, r, r0, color) {
26160
26160
  if (end - start === 1)
26161
26161
  end -= 0.00001;
@@ -26625,9 +26625,9 @@ var RegistryDashboardComponent = function (props) {
26625
26625
  React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
26626
26626
  !((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER &&
26627
26627
  categoryType === "mine") && (React.createElement(React.Fragment, null,
26628
- React.createElement(LegendItem, { text: "Rejected", color: "#FF8183" }),
26629
- React.createElement(LegendItem, { text: "Pending", color: "#CDCDCD" }),
26630
- 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" })))),
26631
26631
  React.createElement("div", { className: "updated-on margin-top-1" },
26632
26632
  React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
26633
26633
  lastUpdateProgrammesStatsC)))))),