@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.
@@ -2380,7 +2380,7 @@ var InputTextContainer = /*#__PURE__*/styled.View.withConfig({
2380
2380
  displayName: "InputTextContainer"
2381
2381
  })(["position:relative;"]);
2382
2382
 
2383
- var _excluded$7 = ["id", "right", "minHeight", "state", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoCompleteType", "keyboardType", "onFocus", "onBlur"];
2383
+ var _excluded$7 = ["id", "right", "minHeight", "state", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoCompleteType", "keyboardType", "multiline", "onSubmitEditing", "onFocus", "onBlur"];
2384
2384
  var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
2385
2385
  displayName: "InputText__StyledTextInput"
2386
2386
  })(["", " padding:", ";line-height:", ";width:100%;min-height:", "px;"], styledTextInputMixin, function (_ref) {
@@ -2422,6 +2422,8 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
2422
2422
  autoCompleteType = _ref4$autoCompleteTyp === void 0 ? 'off' : _ref4$autoCompleteTyp,
2423
2423
  _ref4$keyboardType = _ref4.keyboardType,
2424
2424
  keyboardType = _ref4$keyboardType === void 0 ? 'default' : _ref4$keyboardType,
2425
+ multiline = _ref4.multiline,
2426
+ onSubmitEditing = _ref4.onSubmitEditing,
2425
2427
  _onFocus = _ref4.onFocus,
2426
2428
  _onBlur = _ref4.onBlur,
2427
2429
  props = _objectWithoutProperties(_ref4, _excluded$7);
@@ -2442,6 +2444,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
2442
2444
  $isDisabled: disabled,
2443
2445
  children: [/*#__PURE__*/jsx(StyledTextInput, _objectSpread(_objectSpread({
2444
2446
  ref: ref,
2447
+ multiline: multiline,
2445
2448
  nativeID: id,
2446
2449
  editable: !disabled,
2447
2450
  keyboardType: keyboardType,
@@ -2460,7 +2463,10 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
2460
2463
  onBlur: function onBlur(e) {
2461
2464
  setIsFocused(false);
2462
2465
  if (_onBlur) _onBlur(e);
2463
- }
2466
+ },
2467
+ onSubmitEditing: multiline ? function () {
2468
+ return null;
2469
+ } : onSubmitEditing
2464
2470
  })), right ? /*#__PURE__*/jsx(RightInputContainer, {
2465
2471
  children: right
2466
2472
  }) : null]