sapo-components-ui-rn 1.0.68 → 1.0.70

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.
@@ -14,5 +14,5 @@ interface SearchInputProps {
14
14
  onChangeText?: (text: string) => void;
15
15
  height?: number;
16
16
  }
17
- declare const SearchInput: ({ value, disabled, rightIcon, clearButton, placeholder, onFocus, onBlur, onChangeText, style, height, textStyle, }: SearchInputProps) => React.JSX.Element;
17
+ declare const SearchInput: ({ value, disabled, rightIcon, clearButton, placeholder, onFocus, onBlur, onChangeText, style, height, }: SearchInputProps) => React.JSX.Element;
18
18
  export default SearchInput;
@@ -8,6 +8,7 @@ export type Props = React.ComponentPropsWithRef<typeof NativeTextInput> & {
8
8
  left?: React.ReactNode;
9
9
  right?: React.ReactNode;
10
10
  prefix?: string;
11
+ suffix?: string;
11
12
  textError?: string;
12
13
  maxValue?: number;
13
14
  type?: "integer" | "float";
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import type { ChildTextInputProps } from "./types";
3
- declare const TextInputDefault: ({ disabled, editable, label, error, selectionColor: customSelectionColor, cursorColor, outlineColor: customOutlineColor, activeOutlineColor, outlineStyle, textColor, dense, style, theme, render, multiline, parentState, innerRef, onFocus, forceFocus, onBlur, onChangeText, onLayout, left, right, placeholderTextColor, clearButton, contentStyle, value, textError, required, ...rest }: ChildTextInputProps) => React.JSX.Element;
3
+ declare const TextInputDefault: ({ disabled, editable, label, error, selectionColor: customSelectionColor, cursorColor, outlineColor: customOutlineColor, activeOutlineColor, outlineStyle, textColor, dense, style, theme, render, multiline, parentState, innerRef, onFocus, forceFocus, onBlur, onChangeText, onLayout, left, right, prefix, suffix, placeholderTextColor, clearButton, contentStyle, value, textError, required, ...rest }: ChildTextInputProps) => React.JSX.Element;
4
4
  export default TextInputDefault;
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import type { ChildTextInputProps } from "./types";
3
- declare const TextInputFlat: ({ disabled, editable, label, error, selectionColor: customSelectionColor, cursorColor, underlineColor, underlineStyle, activeUnderlineColor, textColor, dense, style, theme, render, multiline, parentState, innerRef, onFocus, forceFocus, onBlur, onChangeText, onLayoutAnimatedText, onLabelTextLayout, onLeftAffixLayoutChange, onRightAffixLayoutChange, onInputLayout, left, right, prefix, placeholderTextColor, clearButton, contentStyle, scaledLabel, outlineStyle, outlineColor, value, textError, required, ...rest }: ChildTextInputProps) => React.JSX.Element;
3
+ declare const TextInputFlat: ({ disabled, editable, label, error, selectionColor: customSelectionColor, cursorColor, underlineColor, underlineStyle, activeUnderlineColor, textColor, dense, style, theme, render, multiline, parentState, innerRef, onFocus, forceFocus, onBlur, onChangeText, onLayoutAnimatedText, onLabelTextLayout, onLeftAffixLayoutChange, onRightAffixLayoutChange, onInputLayout, left, right, prefix, suffix, placeholderTextColor, clearButton, contentStyle, scaledLabel, outlineStyle, outlineColor, value, textError, required, ...rest }: ChildTextInputProps) => React.JSX.Element;
4
4
  export default TextInputFlat;
@@ -10,6 +10,7 @@ export interface TextInputNumberProps extends TouchableOpacityProps {
10
10
  right?: React.ReactNode;
11
11
  disabled?: boolean;
12
12
  prefix?: string;
13
+ suffix?: string;
13
14
  onChangeText?: (value: string) => void;
14
15
  clearButton?: boolean;
15
16
  theme?: ThemeProp;
@@ -18,5 +19,5 @@ export interface TextInputNumberProps extends TouchableOpacityProps {
18
19
  formatDecimal?: 1 | 2 | 3;
19
20
  required?: boolean;
20
21
  }
21
- declare const _default: React.MemoExoticComponent<({ style, value, label, textError, left, right, onChangeText, disabled, theme: themeOverrides, prefix, clearButton, maxValue, type, formatDecimal, required, ...props }: TextInputNumberProps) => React.JSX.Element>;
22
+ declare const _default: React.MemoExoticComponent<({ style, value, label, textError, left, right, onChangeText, disabled, theme: themeOverrides, prefix, suffix, clearButton, maxValue, type, formatDecimal, required, ...props }: TextInputNumberProps) => React.JSX.Element>;
22
23
  export default _default;
@@ -94,6 +94,7 @@ export type ChildTextInputProps = {
94
94
  onRightAffixLayoutChange: (event: LayoutChangeEvent) => void;
95
95
  clearButton?: boolean;
96
96
  prefix?: string;
97
+ suffix?: string;
97
98
  textError?: string;
98
99
  required?: boolean;
99
100
  } & $Omit<TextInputTypesWithoutMode, "theme"> & {
package/dist/index.d.ts CHANGED
@@ -6,7 +6,6 @@ export * from "./styles/themes";
6
6
  export { default as shadow } from "./styles/shadow";
7
7
  export { default as overlay } from "./styles/overlay";
8
8
  export { default as configureFonts } from "./styles/fonts";
9
- export { default as ActivityIndicator } from "./components/ActivityIndicator";
10
9
  export { default as ProgressBar } from "./components/ProgressBar";
11
10
  export { default as Switch } from "./components/Switch/Switch";
12
11
  export { default as TextInput } from "./components/TextInput/TextInput";
@@ -27,7 +26,6 @@ export { default as SelectionField } from "./components/SelectionField";
27
26
  export { default as SearchInput } from "./components/SearchInput";
28
27
  export { default as Tag } from "./components/Tag";
29
28
  export { default as NumberKeyboard } from "./components/NumberKeyboard";
30
- export type { Props as ActivityIndicatorProps } from "./components/ActivityIndicator";
31
29
  export type { Props as SwitchProps } from "./components/Switch/Switch";
32
30
  export type { Props as TextInputProps } from "./components/TextInput/TextInput";
33
31
  export type { Props as TextInputAffixProps } from "./components/TextInput/Adornment/TextInputAffix";