@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.
@@ -230,8 +230,9 @@ function TypographyText(props) {
230
230
  }
231
231
 
232
232
  function TypographyParagraph(props) {
233
+ // role 'paragraph' does not exist in native, it's a web feature only.
233
234
  return /*#__PURE__*/jsxRuntime.jsx(Typography, {
234
- accessibilityRole: "paragraph",
235
+ accessibilityRole: 'paragraph',
235
236
  ...props
236
237
  });
237
238
  }
@@ -1794,6 +1795,8 @@ const InputText = /*#__PURE__*/react.forwardRef(({
1794
1795
  textContentType = 'none',
1795
1796
  autoCompleteType = 'off',
1796
1797
  keyboardType = 'default',
1798
+ multiline,
1799
+ onSubmitEditing,
1797
1800
  onFocus,
1798
1801
  onBlur,
1799
1802
  ...props
@@ -1809,6 +1812,7 @@ const InputText = /*#__PURE__*/react.forwardRef(({
1809
1812
  $isDisabled: disabled,
1810
1813
  children: [/*#__PURE__*/jsxRuntime.jsx(StyledTextInput, {
1811
1814
  ref: ref,
1815
+ multiline: multiline,
1812
1816
  nativeID: id,
1813
1817
  editable: !disabled,
1814
1818
  keyboardType: keyboardType,
@@ -1827,7 +1831,8 @@ const InputText = /*#__PURE__*/react.forwardRef(({
1827
1831
  onBlur: e => {
1828
1832
  setIsFocused(false);
1829
1833
  if (onBlur) onBlur(e);
1830
- }
1834
+ },
1835
+ onSubmitEditing: multiline ? () => null : onSubmitEditing
1831
1836
  }), right ? /*#__PURE__*/jsxRuntime.jsx(RightInputContainer, {
1832
1837
  children: right
1833
1838
  }) : null]