@umituz/react-native-design-system 2.9.5 → 2.9.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-design-system",
3
- "version": "2.9.5",
3
+ "version": "2.9.7",
4
4
  "description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive, safe area, exception, infinite scroll, UUID, image, timezone, offline, and onboarding utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -44,6 +44,7 @@ export const AtomicInput = React.forwardRef<TextInput, AtomicInputProps>(({
44
44
  autoFocus,
45
45
  autoCapitalize = 'sentences',
46
46
  autoCorrect = true,
47
+ autoComplete,
47
48
  disabled = false,
48
49
  style,
49
50
  inputStyle,
@@ -129,7 +130,7 @@ export const AtomicInput = React.forwardRef<TextInput, AtomicInputProps>(({
129
130
  <View style={containerStyle}>
130
131
  {leadingIcon && (
131
132
  <InputIcon
132
- name={leadingIcon}
133
+ name={leadingIcon as any}
133
134
  size={sizeConfig.iconSize}
134
135
  color={iconColor}
135
136
  position="leading"
@@ -151,6 +152,7 @@ export const AtomicInput = React.forwardRef<TextInput, AtomicInputProps>(({
151
152
  autoFocus={autoFocus}
152
153
  autoCapitalize={autoCapitalize}
153
154
  autoCorrect={autoCorrect}
155
+ autoComplete={autoComplete}
154
156
  editable={!isDisabled}
155
157
  multiline={multiline}
156
158
  numberOfLines={numberOfLines}
@@ -180,7 +182,7 @@ export const AtomicInput = React.forwardRef<TextInput, AtomicInputProps>(({
180
182
 
181
183
  {trailingIcon && !showPasswordToggle && (
182
184
  <InputIcon
183
- name={trailingIcon}
185
+ name={trailingIcon as any}
184
186
  size={sizeConfig.iconSize}
185
187
  color={iconColor}
186
188
  position="trailing"
@@ -51,6 +51,8 @@ export interface AtomicInputProps {
51
51
  autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
52
52
  /** Auto-correct */
53
53
  autoCorrect?: boolean;
54
+ /** Auto-complete (Android/Web) */
55
+ autoComplete?: TextInputProps['autoComplete'];
54
56
  /** Disabled state */
55
57
  disabled?: boolean;
56
58
  /** Container style */
@@ -82,7 +82,7 @@ export interface TabNavigatorConfig<T extends ParamListBase = ParamListBase>
82
82
  screens: TabScreen[];
83
83
  /** Custom icon renderer function */
84
84
  renderIcon?: (
85
- iconName: string,
85
+ iconName: IconName,
86
86
  focused: boolean,
87
87
  routeName: string,
88
88
  isFab: boolean
@@ -40,7 +40,6 @@ export class HealthCheck {
40
40
  const response = await fetch(this.config.healthCheckUrl, {
41
41
  method: 'HEAD',
42
42
  signal: controller.signal,
43
- cache: 'no-cache',
44
43
  });
45
44
 
46
45
  clearTimeout(timeoutId);