@linzjs/step-ag-grid 2.4.2 → 2.4.3

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.
@@ -3,5 +3,6 @@ export interface GridFormSubComponentTextInput {
3
3
  setValue: (value: string) => void;
4
4
  keyDown: (key: string) => void;
5
5
  placeholder?: string;
6
+ className?: string;
6
7
  }
7
- export declare const GridFormSubComponentTextInput: ({ keyDown, placeholder, setValue }: GridFormSubComponentTextInput) => JSX.Element;
8
+ export declare const GridFormSubComponentTextInput: ({ keyDown, placeholder, setValue, className, }: GridFormSubComponentTextInput) => JSX.Element;
@@ -3659,10 +3659,11 @@ var GridPopoverTextInput = function (colDef, params) {
3659
3659
  };
3660
3660
 
3661
3661
  var GridFormSubComponentTextInput = function (_a) {
3662
- var keyDown = _a.keyDown, placeholder = _a.placeholder, setValue = _a.setValue;
3662
+ var keyDown = _a.keyDown, placeholder = _a.placeholder, setValue = _a.setValue, className = _a.className;
3663
3663
  var placeholderText = placeholder || "Other...";
3664
+ var inputClass = className || "";
3664
3665
  var _b = useState(""), inputValue = _b[0], setInputValue = _b[1];
3665
- return (jsx(Fragment$1, { children: jsx(TextInputFormatted, { value: inputValue, onChange: function (e) {
3666
+ return (jsx(Fragment$1, { children: jsx(TextInputFormatted, { className: inputClass, value: inputValue, onChange: function (e) {
3666
3667
  var value = e.target.value;
3667
3668
  setValue(value);
3668
3669
  setInputValue(value);
@@ -3673,6 +3674,9 @@ var GridFormSubComponentTextInput = function (_a) {
3673
3674
  if (document.activeElement != e.currentTarget) {
3674
3675
  e.currentTarget.focus();
3675
3676
  }
3677
+ },
3678
+ style: {
3679
+ width: "100%"
3676
3680
  }
3677
3681
  } }) }));
3678
3682
  };