@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/cjs/index.js CHANGED
@@ -19973,7 +19973,7 @@ styleInject(css_248z$2);
19973
19973
  var NdcActionViewComponent = function (props) {
19974
19974
  var _a;
19975
19975
  var _b, _c;
19976
- var useUserContext = props.useUserContext, linkDocVisible = props.linkDocVisible, uploadDocUserPermission = props.uploadDocUserPermission, useConnection = props.useConnection, useLocation = props.useLocation, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, t = props.t;
19976
+ 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;
19977
19977
  var userInfoState = useUserContext().userInfoState;
19978
19978
  var post = useConnection().post;
19979
19979
  var state = useLocation().state;
@@ -20355,7 +20355,7 @@ var NdcActionViewComponent = function (props) {
20355
20355
  React.createElement(antd.Card, { className: "card-container" },
20356
20356
  React.createElement("div", { className: "co-benifits-view" },
20357
20357
  React.createElement("div", { className: "title" }, t("ndcAction:coBenefitsSubTitle")),
20358
- 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 })))))))));
20358
+ 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 })))))))));
20359
20359
  };
20360
20360
 
20361
20361
  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";