@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.
@@ -3093,9 +3093,12 @@ var GridFormDropDown = function (_props) {
3093
3093
  return optionValue === item.value;
3094
3094
  });
3095
3095
  if ((key === "Enter" || key === "Tab") && subComponentItem) {
3096
- selectItemHandler(item.value, subComponentItem.subComponentValue);
3097
- ref.closeMenu();
3096
+ return selectItemHandler(item.value, subComponentItem.subComponentValue).then(function () {
3097
+ ref.closeMenu();
3098
+ return true;
3099
+ });
3098
3100
  }
3101
+ return false;
3099
3102
  },
3100
3103
  key: "".concat(props.field, "-").concat(index, "_subcomponent_inner")
3101
3104
  }, ref);
@@ -3740,7 +3743,9 @@ var GridFormSubComponentTextInput = function (_a) {
3740
3743
  var _b = useState(""), inputValue = _b[0], setInputValue = _b[1];
3741
3744
  return (jsxs("div", __assign({ style: {
3742
3745
  display: "flex",
3743
- flexDirection: "column"
3746
+ flexDirection: "column",
3747
+ width: "100%",
3748
+ padding: 0
3744
3749
  } }, { children: [jsx(TextInputFormatted, { className: inputClass, value: inputValue, onChange: function (e) {
3745
3750
  var value = e.target.value;
3746
3751
  setValue(value);
@@ -3757,7 +3762,7 @@ var GridFormSubComponentTextInput = function (_a) {
3757
3762
  width: "100%"
3758
3763
  }
3759
3764
  } }), jsx("span", __assign({ style: {
3760
- fontSize: "0.75rem"
3765
+ fontSize: "0.7rem"
3761
3766
  } }, { children: helpText }))] })));
3762
3767
  };
3763
3768