@undp/carbon-library 1.0.143 → 1.0.144
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -24495,7 +24495,7 @@ var EditableCell = function (_a) {
|
|
24495
24495
|
return React.createElement("td", __assign({}, restProps), childNode);
|
24496
24496
|
};
|
24497
24497
|
|
24498
|
-
var css_248z$4 = ".steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem;\n justify-content: center; }\n .steps-actions .action-btn {\n border: 1px solid #16b1ff;\n color: #16b1ff;\n margin-right: 1rem; }\n .steps-actions .back-btn {\n border: 1px solid rgba(140, 140, 140, 0.7);\n color: rgba(140, 140, 140, 0.7);\n margin-right: 1rem; }\n .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n";
|
24498
|
+
var css_248z$4 = ".ndc-steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem;\n justify-content: center; }\n .ndc-steps-actions .action-btn {\n border: 1px solid #16b1ff;\n color: #16b1ff;\n margin-right: 1rem; }\n .ndc-steps-actions .back-btn {\n border: 1px solid rgba(140, 140, 140, 0.7);\n color: rgba(140, 140, 140, 0.7);\n margin-right: 1rem; }\n .ndc-steps-actions .mg-left-1 {\n margin-left: 1rem; }\n";
|
24499
24499
|
styleInject(css_248z$4);
|
24500
24500
|
|
24501
24501
|
var NdcDetailsComponent = function (props) {
|
@@ -24638,7 +24638,7 @@ var NdcDetailsComponent = function (props) {
|
|
24638
24638
|
}
|
24639
24639
|
};
|
24640
24640
|
useEffect(function () {
|
24641
|
-
if (periodItems && periodItems.length >
|
24641
|
+
if (periodItems && periodItems.length > 3) {
|
24642
24642
|
setSelectedTab(periodItems[periodItems.length - 1].key);
|
24643
24643
|
}
|
24644
24644
|
}, [periodItems]);
|
@@ -24654,7 +24654,7 @@ var NdcDetailsComponent = function (props) {
|
|
24654
24654
|
React.createElement(Row, null,
|
24655
24655
|
React.createElement(RangePicker, { onChange: onDateRangeChanged, picker: "year" })),
|
24656
24656
|
React.createElement(Row, { className: "mg-top-1" },
|
24657
|
-
React.createElement("div", { className: "steps-actions" },
|
24657
|
+
React.createElement("div", { className: "ndc-steps-actions" },
|
24658
24658
|
React.createElement(Button, { type: "primary", onClick: onAddNewPeriod, htmlType: "submit", loading: loading }, t("ndc:submit")),
|
24659
24659
|
React.createElement(Button, { className: "back-btn", onClick: onCancelPeriod, loading: loading }, t("ndc:back"))))));
|
24660
24660
|
}
|