@umituz/react-native-design-system 2.0.5 → 2.0.6

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.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive and safe area utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -47,7 +47,7 @@ import {
47
47
  StyleSheet,
48
48
  } from 'react-native';
49
49
  import { useAppDesignTokens } from '../theme';
50
- import { AtomicPickerProps, PickerOption } from './picker/types';
50
+ import { AtomicPickerProps } from './picker/types';
51
51
  import { AtomicIcon } from './AtomicIcon';
52
52
  import { AtomicText } from './AtomicText';
53
53
  import { PickerModal } from './picker/components/PickerModal';
@@ -200,7 +200,7 @@ export const AtomicPicker: React.FC<AtomicPickerProps> = ({
200
200
  /**
201
201
  * Check if option is selected
202
202
  */
203
- const isSelected = (optionValue: string): boolean => {
203
+ const _isSelected = (optionValue: string): boolean => {
204
204
  return selectedValues.includes(optionValue);
205
205
  };
206
206
 
@@ -28,6 +28,8 @@ export const useInputState = ({
28
28
  maxLength,
29
29
  showCharacterCount = false,
30
30
  }: UseInputStateProps = {}): UseInputStateReturn => {
31
+ void showPasswordToggle;
32
+ void showCharacterCount;
31
33
  const [localValue, setLocalValue] = useState(value);
32
34
  const [isFocused, setIsFocused] = useState(false);
33
35
  const [isPasswordVisible, setIsPasswordVisible] = useState(!secureTextEntry);
@@ -26,7 +26,7 @@ interface PickerChipsProps {
26
26
  export const PickerChips: React.FC<PickerChipsProps> = React.memo(({
27
27
  selectedOptions,
28
28
  onRemoveChip,
29
- testID,
29
+ testID: _testID,
30
30
  }) => {
31
31
  const tokens = useAppDesignTokens();
32
32
 
@@ -59,7 +59,7 @@ interface PickerModalProps {
59
59
  export const PickerModal: React.FC<PickerModalProps> = React.memo(({
60
60
  visible,
61
61
  onClose,
62
- options,
62
+ options: _options,
63
63
  selectedValues,
64
64
  onSelect,
65
65
  title,
@@ -67,7 +67,7 @@ export const PickerModal: React.FC<PickerModalProps> = React.memo(({
67
67
  searchQuery,
68
68
  onSearchChange,
69
69
  filteredOptions,
70
- multiple = false,
70
+ multiple: _multiple = false,
71
71
  emptyMessage = 'No options available',
72
72
  searchPlaceholder = 'Search...',
73
73
  closeAccessibilityLabel = 'Close picker',