@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.
package/dist/cjs/index.js CHANGED
@@ -23033,7 +23033,7 @@ var getChartOptions = function (labels, colors) {
23033
23033
  offsetX: 0,
23034
23034
  offsetY: 5,
23035
23035
  labels: {
23036
- colors: colors,
23036
+ colors: "#000000d9",
23037
23037
  useSeriesColors: false,
23038
23038
  },
23039
23039
  markers: {
@@ -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 = [];
@@ -23999,7 +23999,7 @@ var totalProgrammesOptions = {
23999
23999
  offsetX: 0,
24000
24000
  offsetY: 5,
24001
24001
  labels: {
24002
- colors: ["#4FB8E7", "#FF8183", "#D8D8D8"],
24002
+ colors: "#000000d9",
24003
24003
  useSeriesColors: false,
24004
24004
  },
24005
24005
  markers: {
@@ -24145,18 +24145,7 @@ var totalProgrammesOptionsSub = {
24145
24145
  offsetX: 0,
24146
24146
  offsetY: 5,
24147
24147
  labels: {
24148
- colors: [
24149
- "#16B1FF",
24150
- "#FF8183",
24151
- "#7FEABF",
24152
- "#FFB480",
24153
- "#666699",
24154
- "#009999",
24155
- "#c2c2d6",
24156
- "#ddddbb",
24157
- "#ff9900",
24158
- "#D8D8D8",
24159
- ],
24148
+ colors: "#000000d9",
24160
24149
  useSeriesColors: false,
24161
24150
  },
24162
24151
  markers: {
@@ -24299,7 +24288,7 @@ var totalCreditsOptions = {
24299
24288
  offsetX: 0,
24300
24289
  offsetY: 5,
24301
24290
  labels: {
24302
- colors: ["#4FB8E7", "#7FEABF", "#D8D8D8", "#FF8183", "#B7A4FE"],
24291
+ colors: "#000000d9",
24303
24292
  useSeriesColors: false,
24304
24293
  },
24305
24294
  markers: {
@@ -24431,7 +24420,7 @@ var totalCreditsCertifiedOptions = {
24431
24420
  offsetX: 0,
24432
24421
  offsetY: 5,
24433
24422
  labels: {
24434
- colors: ["#6ACDFF", "#FF8183", "#CDCDCD"],
24423
+ colors: "#000000d9",
24435
24424
  useSeriesColors: false,
24436
24425
  },
24437
24426
  markers: {
@@ -24524,7 +24513,7 @@ var optionDonutPieA = {
24524
24513
  offsetX: 0,
24525
24514
  offsetY: 5,
24526
24515
  labels: {
24527
- colors: ["#6ACDFF", "#7FEABF", "#CDCDCD", "#FF8183", "#B7A4FE"],
24516
+ colors: "#000000d9",
24528
24517
  useSeriesColors: false,
24529
24518
  },
24530
24519
  markers: {
@@ -24630,7 +24619,7 @@ var optionDonutPieB = {
24630
24619
  offsetX: 0,
24631
24620
  offsetY: 5,
24632
24621
  labels: {
24633
- colors: ["#6ACDFF", "#FF8183", "#CDCDCD"],
24622
+ colors: "#000000d9",
24634
24623
  useSeriesColors: false,
24635
24624
  },
24636
24625
  markers: {
@@ -26185,8 +26174,8 @@ var RegistryDashboardComponent = function (props) {
26185
26174
  var pending = ["all", ["==", ["get", "stage"], "AwaitingAuthorization"]];
26186
26175
  var authorised = ["all", ["==", ["get", "stage"], "Authorised"]];
26187
26176
  var rejected = ["all", ["==", ["get", "stage"], "Rejected"]];
26188
- var news = ["all", ["==", ["get", "stage"], "New"]];
26189
- var colors = ["#6ACDFF", "#FF8183", "#CDCDCD", "#B7A4FE"];
26177
+ var news = ["all", ["==", ["get", "stage"], "Approved"]];
26178
+ var colors = ["#6ACDFF", "#CDCDCD", "#FF8183", "#B7A4FE"];
26190
26179
  var donutSegment = function (start, end, r, r0, color) {
26191
26180
  if (end - start === 1)
26192
26181
  end -= 0.00001;
@@ -26656,9 +26645,9 @@ var RegistryDashboardComponent = function (props) {
26656
26645
  React.createElement(LegendItem, { text: "Authorised", color: "#6ACDFF" }),
26657
26646
  !((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER &&
26658
26647
  categoryType === "mine") && (React.createElement(React.Fragment, null,
26659
- React.createElement(LegendItem, { text: "Rejected", color: "#FF8183" }),
26660
- React.createElement(LegendItem, { text: "Pending", color: "#CDCDCD" }),
26661
- 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" })))),
26662
26651
  React.createElement("div", { className: "updated-on margin-top-1" },
26663
26652
  React.createElement("div", { className: "updated-moment-container" }, lastUpdateProgrammesStatsC !== "0" &&
26664
26653
  lastUpdateProgrammesStatsC)))))),