@linzjs/step-ag-grid 2.4.9 → 2.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -3095,9 +3095,12 @@ var GridFormDropDown = function (_props) {
|
|
|
3095
3095
|
return optionValue === item.value;
|
|
3096
3096
|
});
|
|
3097
3097
|
if ((key === "Enter" || key === "Tab") && subComponentItem) {
|
|
3098
|
-
selectItemHandler(item.value, subComponentItem.subComponentValue)
|
|
3099
|
-
|
|
3098
|
+
return selectItemHandler(item.value, subComponentItem.subComponentValue).then(function () {
|
|
3099
|
+
ref.closeMenu();
|
|
3100
|
+
return true;
|
|
3101
|
+
});
|
|
3100
3102
|
}
|
|
3103
|
+
return false;
|
|
3101
3104
|
},
|
|
3102
3105
|
key: "".concat(props.field, "-").concat(index, "_subcomponent_inner")
|
|
3103
3106
|
}, ref);
|
|
@@ -3742,7 +3745,9 @@ var GridFormSubComponentTextInput = function (_a) {
|
|
|
3742
3745
|
var _b = react.useState(""), inputValue = _b[0], setInputValue = _b[1];
|
|
3743
3746
|
return (jsxRuntime.jsxs("div", __assign({ style: {
|
|
3744
3747
|
display: "flex",
|
|
3745
|
-
flexDirection: "column"
|
|
3748
|
+
flexDirection: "column",
|
|
3749
|
+
width: "100%",
|
|
3750
|
+
padding: 0
|
|
3746
3751
|
} }, { children: [jsxRuntime.jsx(TextInputFormatted, { className: inputClass, value: inputValue, onChange: function (e) {
|
|
3747
3752
|
var value = e.target.value;
|
|
3748
3753
|
setValue(value);
|
|
@@ -3759,7 +3764,7 @@ var GridFormSubComponentTextInput = function (_a) {
|
|
|
3759
3764
|
width: "100%"
|
|
3760
3765
|
}
|
|
3761
3766
|
} }), jsxRuntime.jsx("span", __assign({ style: {
|
|
3762
|
-
fontSize: "0.
|
|
3767
|
+
fontSize: "0.7rem"
|
|
3763
3768
|
} }, { children: helpText }))] })));
|
|
3764
3769
|
};
|
|
3765
3770
|
|