@undp/carbon-library 1.0.71 → 1.0.72

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -19953,7 +19953,7 @@ styleInject(css_248z$2);
19953
19953
  var NdcActionViewComponent = function (props) {
19954
19954
  var _a;
19955
19955
  var _b, _c;
19956
- var useUserContext = props.useUserContext, linkDocVisible = props.linkDocVisible, uploadDocUserPermission = props.uploadDocUserPermission, useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, t = props.t;
19956
+ var useUserContext = props.useUserContext, linkDocVisible = props.linkDocVisible, uploadDocUserPermission = props.uploadDocUserPermission, useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, t = props.t, sdgGoalImages = props.sdgGoalImages;
19957
19957
  var userInfoState = useUserContext().userInfoState;
19958
19958
  var post = useConnection().post;
19959
19959
  var state = useLocation().state;
@@ -20335,7 +20335,7 @@ var NdcActionViewComponent = function (props) {
20335
20335
  React.createElement(Card, { className: "card-container" },
20336
20336
  React.createElement("div", { className: "co-benifits-view" },
20337
20337
  React.createElement("div", { className: "title" }, t("ndcAction:coBenefitsSubTitle")),
20338
- React.createElement(CoBenifitsComponent, { viewOnly: true, coBenifitsViewDetails: (_c = state === null || state === void 0 ? void 0 : state.record) === null || _c === void 0 ? void 0 : _c.coBenefitsProperties, t: t })))))))));
20338
+ React.createElement(CoBenifitsComponent, { viewOnly: true, coBenifitsViewDetails: (_c = state === null || state === void 0 ? void 0 : state.record) === null || _c === void 0 ? void 0 : _c.coBenefitsProperties, sdgGoalImages: sdgGoalImages, t: t })))))))));
20339
20339
  };
20340
20340
 
20341
20341
  var css_248z$1 = ".legend-item-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n font-size: 14px;\n font-weight: 400;\n margin-left: 0.75rem; }\n .legend-item-container .text {\n margin-left: 0.2rem; }\n";