@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.
@@ -2399,6 +2399,8 @@ const InputText = /*#__PURE__*/react.forwardRef(({
2399
2399
  textContentType = 'none',
2400
2400
  autoCompleteType = 'off',
2401
2401
  keyboardType = 'default',
2402
+ multiline,
2403
+ onSubmitEditing,
2402
2404
  onFocus,
2403
2405
  onBlur,
2404
2406
  ...props
@@ -2414,6 +2416,7 @@ const InputText = /*#__PURE__*/react.forwardRef(({
2414
2416
  $isDisabled: disabled,
2415
2417
  children: [/*#__PURE__*/jsxRuntime.jsx(StyledTextInput, {
2416
2418
  ref: ref,
2419
+ multiline: multiline,
2417
2420
  nativeID: id,
2418
2421
  editable: !disabled,
2419
2422
  keyboardType: keyboardType,
@@ -2432,7 +2435,8 @@ const InputText = /*#__PURE__*/react.forwardRef(({
2432
2435
  onBlur: e => {
2433
2436
  setIsFocused(false);
2434
2437
  if (onBlur) onBlur(e);
2435
- }
2438
+ },
2439
+ onSubmitEditing: multiline ? () => null : onSubmitEditing
2436
2440
  }), right ? /*#__PURE__*/jsxRuntime.jsx(RightInputContainer, {
2437
2441
  children: right
2438
2442
  }) : null]