@ornikar/kitt-universal 7.0.3 → 7.1.1

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.
@@ -237,8 +237,9 @@ function TypographyText(props) {
237
237
  }
238
238
 
239
239
  function TypographyParagraph(props) {
240
+ // role 'paragraph' does not exist in native, it's a web feature only.
240
241
  return /*#__PURE__*/jsxRuntime.jsx(Typography, {
241
- accessibilityRole: "paragraph",
242
+ accessibilityRole: reactNative.Platform.OS === 'web' ? 'paragraph' : null,
242
243
  ...props
243
244
  });
244
245
  }
@@ -2398,6 +2399,8 @@ const InputText = /*#__PURE__*/react.forwardRef(({
2398
2399
  textContentType = 'none',
2399
2400
  autoCompleteType = 'off',
2400
2401
  keyboardType = 'default',
2402
+ multiline,
2403
+ onSubmitEditing,
2401
2404
  onFocus,
2402
2405
  onBlur,
2403
2406
  ...props
@@ -2413,6 +2416,7 @@ const InputText = /*#__PURE__*/react.forwardRef(({
2413
2416
  $isDisabled: disabled,
2414
2417
  children: [/*#__PURE__*/jsxRuntime.jsx(StyledTextInput, {
2415
2418
  ref: ref,
2419
+ multiline: multiline,
2416
2420
  nativeID: id,
2417
2421
  editable: !disabled,
2418
2422
  keyboardType: keyboardType,
@@ -2431,7 +2435,8 @@ const InputText = /*#__PURE__*/react.forwardRef(({
2431
2435
  onBlur: e => {
2432
2436
  setIsFocused(false);
2433
2437
  if (onBlur) onBlur(e);
2434
- }
2438
+ },
2439
+ onSubmitEditing: multiline ? () => null : onSubmitEditing
2435
2440
  }), right ? /*#__PURE__*/jsxRuntime.jsx(RightInputContainer, {
2436
2441
  children: right
2437
2442
  }) : null]