@umituz/react-native-design-system 2.8.40 → 2.8.41

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.8.40",
3
+ "version": "2.8.41",
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",
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import React from 'react';
7
- import { StyleProp, ViewStyle, TextStyle, TouchableOpacity, View } from 'react-native';
7
+ import { StyleProp, ViewStyle, TextStyle, TouchableOpacity } from 'react-native';
8
8
  import { AtomicText } from '../AtomicText';
9
9
  import { AtomicIcon } from '../AtomicIcon';
10
10
  import { AtomicSpinner } from '../AtomicSpinner';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { View, Pressable } from 'react-native';
2
+ import { Pressable } from 'react-native';
3
3
  import { AtomicIcon } from '../../AtomicIcon';
4
4
 
5
5
  interface InputIconProps {
@@ -107,8 +107,7 @@ export class DateFormatter {
107
107
  const minutes = Math.floor(seconds / 60);
108
108
  const hours = Math.floor(minutes / 60);
109
109
  const days = Math.floor(hours / 24);
110
-
111
- const parts = [];
110
+ const parts: string[] = [];
112
111
 
113
112
  if (days > 0) {
114
113
  parts.push(`${days}d`);