@undp/carbon-library 1.0.274 → 1.0.275
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/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
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 = ["#
|
|
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"], "
|
|
26178
|
-
var colors = ["#6ACDFF", "#
|
|
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: "#
|
|
26649
|
-
React.createElement(LegendItem, { text: "Pending", color: "#
|
|
26650
|
-
React.createElement(LegendItem, { text: "
|
|
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)))))),
|