@undp/carbon-library 1.0.143 → 1.0.145-CARBON-343.0
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/cjs/index.js
CHANGED
@@ -24515,7 +24515,7 @@ var EditableCell = function (_a) {
|
|
24515
24515
|
return React.createElement("td", __assign({}, restProps), childNode);
|
24516
24516
|
};
|
24517
24517
|
|
24518
|
-
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";
|
24518
|
+
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";
|
24519
24519
|
styleInject(css_248z$4);
|
24520
24520
|
|
24521
24521
|
var NdcDetailsComponent = function (props) {
|
@@ -24658,7 +24658,7 @@ var NdcDetailsComponent = function (props) {
|
|
24658
24658
|
}
|
24659
24659
|
};
|
24660
24660
|
React.useEffect(function () {
|
24661
|
-
if (periodItems && periodItems.length >
|
24661
|
+
if (periodItems && periodItems.length > 3) {
|
24662
24662
|
setSelectedTab(periodItems[periodItems.length - 1].key);
|
24663
24663
|
}
|
24664
24664
|
}, [periodItems]);
|
@@ -24674,7 +24674,7 @@ var NdcDetailsComponent = function (props) {
|
|
24674
24674
|
React.createElement(antd.Row, null,
|
24675
24675
|
React.createElement(RangePicker, { onChange: onDateRangeChanged, picker: "year" })),
|
24676
24676
|
React.createElement(antd.Row, { className: "mg-top-1" },
|
24677
|
-
React.createElement("div", { className: "steps-actions" },
|
24677
|
+
React.createElement("div", { className: "ndc-steps-actions" },
|
24678
24678
|
React.createElement(antd.Button, { type: "primary", onClick: onAddNewPeriod, htmlType: "submit", loading: loading }, t("ndc:submit")),
|
24679
24679
|
React.createElement(antd.Button, { className: "back-btn", onClick: onCancelPeriod, loading: loading }, t("ndc:back"))))));
|
24680
24680
|
}
|