@ornikar/kitt-universal 7.0.4 → 7.1.0

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.
@@ -1793,7 +1793,7 @@ var InputTextContainer = withTheme( /*#__PURE__*/styled$1("div")({
1793
1793
  }
1794
1794
  }));
1795
1795
 
1796
- var _excluded$9 = ["id", "right", "minHeight", "state", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoCompleteType", "keyboardType", "onFocus", "onBlur"];
1796
+ var _excluded$9 = ["id", "right", "minHeight", "state", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoCompleteType", "keyboardType", "multiline", "onSubmitEditing", "onFocus", "onBlur"];
1797
1797
  var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
1798
1798
  displayName: "InputText__StyledTextInput",
1799
1799
  componentId: "kitt-universal__sc-uke279-0"
@@ -1837,6 +1837,8 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
1837
1837
  autoCompleteType = _ref4$autoCompleteTyp === void 0 ? 'off' : _ref4$autoCompleteTyp,
1838
1838
  _ref4$keyboardType = _ref4.keyboardType,
1839
1839
  keyboardType = _ref4$keyboardType === void 0 ? 'default' : _ref4$keyboardType,
1840
+ multiline = _ref4.multiline,
1841
+ onSubmitEditing = _ref4.onSubmitEditing,
1840
1842
  _onFocus = _ref4.onFocus,
1841
1843
  _onBlur = _ref4.onBlur,
1842
1844
  props = _objectWithoutProperties(_ref4, _excluded$9);
@@ -1857,6 +1859,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
1857
1859
  $isDisabled: disabled,
1858
1860
  children: [/*#__PURE__*/jsx(StyledTextInput, _objectSpread(_objectSpread({
1859
1861
  ref: ref,
1862
+ multiline: multiline,
1860
1863
  nativeID: id,
1861
1864
  editable: !disabled,
1862
1865
  keyboardType: keyboardType,
@@ -1875,7 +1878,10 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
1875
1878
  onBlur: function onBlur(e) {
1876
1879
  setIsFocused(false);
1877
1880
  if (_onBlur) _onBlur(e);
1878
- }
1881
+ },
1882
+ onSubmitEditing: multiline ? function () {
1883
+ return null;
1884
+ } : onSubmitEditing
1879
1885
  })), right ? /*#__PURE__*/jsx(RightInputContainer, {
1880
1886
  children: right
1881
1887
  }) : null]