@undp/carbon-library 1.0.166-CARBON-359.2 → 1.0.166-CARBON-359.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +7 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +7 -8
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -26350,7 +26350,7 @@ var ProgrammeDocuments = function (props) {
|
|
26350
26350
|
(designDocActionPermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
|
26351
26351
|
React.createElement(LikeOutlined, { onClick: function () {
|
26352
26352
|
return docAction(designDocId, DocumentStatus.ACCEPTED);
|
26353
|
-
}, className: "common-progress-icon", style: { color: "#976ED7" } }),
|
26353
|
+
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
|
26354
26354
|
React.createElement(DislikeOutlined, { onClick: function () {
|
26355
26355
|
setRejectDocData({ id: designDocId });
|
26356
26356
|
setActionInfo({
|
@@ -26361,7 +26361,7 @@ var ProgrammeDocuments = function (props) {
|
|
26361
26361
|
icon: React.createElement(DislikeOutlined, null),
|
26362
26362
|
});
|
26363
26363
|
setOpenRejectDocConfirmationModal(true);
|
26364
|
-
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
|
26364
|
+
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26365
26365
|
designDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26366
26366
|
designDocStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26367
26367
|
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
@@ -26418,7 +26418,7 @@ var ProgrammeDocuments = function (props) {
|
|
26418
26418
|
(companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
|
26419
26419
|
React.createElement(LikeOutlined, { onClick: function () {
|
26420
26420
|
return docAction(methDocId, DocumentStatus.ACCEPTED);
|
26421
|
-
}, className: "common-progress-icon", style: { color: "#976ED7" } }),
|
26421
|
+
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
|
26422
26422
|
React.createElement(DislikeOutlined, { onClick: function () {
|
26423
26423
|
setRejectDocData({ id: methDocId });
|
26424
26424
|
setActionInfo({
|
@@ -26429,7 +26429,7 @@ var ProgrammeDocuments = function (props) {
|
|
26429
26429
|
icon: React.createElement(DislikeOutlined, null),
|
26430
26430
|
});
|
26431
26431
|
setOpenRejectDocConfirmationModal(true);
|
26432
|
-
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
|
26432
|
+
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26433
26433
|
methodDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26434
26434
|
methodDocStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26435
26435
|
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
@@ -26495,7 +26495,7 @@ var ProgrammeDocuments = function (props) {
|
|
26495
26495
|
(ministryLevelPermission || companyRolePermission) && (React.createElement(React.Fragment, null,
|
26496
26496
|
React.createElement(LikeOutlined, { onClick: function () {
|
26497
26497
|
return docAction(impactAssessmentId, DocumentStatus.ACCEPTED);
|
26498
|
-
}, className: "common-progress-icon", style: { color: "#976ED7" } }),
|
26498
|
+
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
|
26499
26499
|
React.createElement(DislikeOutlined, { onClick: function () {
|
26500
26500
|
setRejectDocData({ id: impactAssessmentId });
|
26501
26501
|
setActionInfo({
|
@@ -26506,7 +26506,7 @@ var ProgrammeDocuments = function (props) {
|
|
26506
26506
|
icon: React.createElement(DislikeOutlined, null),
|
26507
26507
|
});
|
26508
26508
|
setOpenRejectDocConfirmationModal(true);
|
26509
|
-
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
|
26509
|
+
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26510
26510
|
impactAssessmentStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26511
26511
|
impactAssessmentStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26512
26512
|
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
@@ -26530,8 +26530,7 @@ var ProgrammeDocuments = function (props) {
|
|
26530
26530
|
var selectedFile = e.target.files[0];
|
26531
26531
|
e.target.value = null;
|
26532
26532
|
onUploadDocument(selectedFile, DocType.ENVIRONMENTAL_IMPACT_ASSESSMENT);
|
26533
|
-
} }),
|
26534
|
-
"1.5px")))) : (React.createElement(React.Fragment, null,
|
26533
|
+
} }))))) : (React.createElement(React.Fragment, null,
|
26535
26534
|
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
|
26536
26535
|
React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
|
26537
26536
|
!isProjectRejected
|