@hero-design/rn 8.64.4 → 8.64.5

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.
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import React, { ComponentProps } from 'react';
2
+ import { TextInput } from 'react-native';
2
3
  import type { StyleProp, ViewStyle } from 'react-native';
3
4
  import type { State } from './StyledPinInput';
4
5
  interface PinInputProps {
@@ -40,6 +41,14 @@ interface PinInputProps {
40
41
  * Testing id of the component.
41
42
  */
42
43
  testID?: string;
44
+ /**
45
+ * The text content type of the input.
46
+ */
47
+ textContentType?: ComponentProps<typeof TextInput>['textContentType'];
48
+ /**
49
+ * The autofill type of the input.
50
+ */
51
+ autoComplete?: ComponentProps<typeof TextInput>['autoComplete'];
43
52
  }
44
53
  export declare function getState({ disabled, error, }: {
45
54
  disabled?: boolean;
@@ -21,6 +21,7 @@ declare const getPinInputTheme: (theme: GlobalTheme) => {
21
21
  fontSizes: {
22
22
  cellText: number;
23
23
  errorMessage: number;
24
+ hiddenInputText: number;
24
25
  };
25
26
  sizes: {
26
27
  cellWidth: number;
@@ -30,6 +31,8 @@ declare const getPinInputTheme: (theme: GlobalTheme) => {
30
31
  space: {
31
32
  spacer: number;
32
33
  errorMessagePadding: number;
34
+ hiddenInputText: number;
35
+ hiddenInputHorrizontalPadding: number;
33
36
  };
34
37
  radii: {
35
38
  cell: number;