@umituz/react-native-design-system 2.9.6 → 2.9.8

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.6",
3
+ "version": "2.9.8",
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",
@@ -130,7 +130,7 @@ export const AtomicInput = React.forwardRef<TextInput, AtomicInputProps>(({
130
130
  <View style={containerStyle}>
131
131
  {leadingIcon && (
132
132
  <InputIcon
133
- name={leadingIcon}
133
+ name={leadingIcon as any}
134
134
  size={sizeConfig.iconSize}
135
135
  color={iconColor}
136
136
  position="leading"
@@ -182,7 +182,7 @@ export const AtomicInput = React.forwardRef<TextInput, AtomicInputProps>(({
182
182
 
183
183
  {trailingIcon && !showPasswordToggle && (
184
184
  <InputIcon
185
- name={trailingIcon}
185
+ name={trailingIcon as any}
186
186
  size={sizeConfig.iconSize}
187
187
  color={iconColor}
188
188
  position="trailing"
@@ -30,7 +30,7 @@ export function useAppNavigation(): AppNavigationResult {
30
30
 
31
31
  const navigate = useCallback(
32
32
  (screen: string, params?: Record<string, unknown>) => {
33
- (navigation.navigate as (name: string, params?: object) => void)(screen, params);
33
+ (navigation.navigate as unknown as (name: string, params?: object) => void)(screen, params);
34
34
  },
35
35
  [navigation]
36
36
  );
@@ -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);