@umituz/react-native-design-system 2.6.98 → 2.6.100

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.6.98",
3
+ "version": "2.6.100",
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",
@@ -2,7 +2,7 @@
2
2
  * AtomicChip Type Definitions
3
3
  */
4
4
 
5
- import type { ViewStyle } from 'react-native';
5
+ import type { StyleProp, ViewStyle } from 'react-native';
6
6
  import type { IconSize } from '../../AtomicIcon';
7
7
 
8
8
  export type ChipVariant = 'filled' | 'outlined' | 'soft';
@@ -23,7 +23,7 @@ export interface AtomicChipProps {
23
23
  readonly onPress?: () => void;
24
24
  readonly selected?: boolean;
25
25
  readonly disabled?: boolean;
26
- readonly style?: ViewStyle;
26
+ readonly style?: StyleProp<ViewStyle>;
27
27
  readonly testID?: string;
28
28
  readonly activeOpacity?: number;
29
29
  }
@@ -171,6 +171,6 @@ export {
171
171
  // Filter Group
172
172
  FilterGroup,
173
173
  type FilterGroupProps,
174
- type FilterItem,
174
+ type FilterGroupItem,
175
175
  } from '../molecules';
176
176
 
@@ -46,7 +46,7 @@ export function FilterGroup<T = string>({
46
46
  selected={isSelected}
47
47
  onPress={() => onSelect(item.value)}
48
48
  clickable
49
- style={[styles.item, itemStyle]}
49
+ style={[styles.item, itemStyle] as any}
50
50
  testID={item.testID}
51
51
  >
52
52
  {item.label}
@@ -1,12 +1,12 @@
1
1
 
2
- export interface FilterItem<T = string> {
2
+ export interface FilterGroupItem<T = string> {
3
3
  label: string;
4
4
  value: T;
5
5
  testID?: string;
6
6
  }
7
7
 
8
8
  export interface FilterGroupProps<T = string> {
9
- items: FilterItem<T>[];
9
+ items: FilterGroupItem<T>[];
10
10
  selectedValue: T;
11
11
  onSelect: (value: T) => void;
12
12
  style?: any;