@umituz/react-native-design-system 2.5.24 → 2.5.26

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.5.24",
3
+ "version": "2.5.26",
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",
@@ -42,7 +42,7 @@ export type IconName = string;
42
42
 
43
43
  export interface AtomicIconProps {
44
44
  /** Icon name (Ionicons) */
45
- name: IconName;
45
+ name?: IconName;
46
46
  /** Semantic size preset */
47
47
  size?: IconSize;
48
48
  /** Custom size in pixels (overrides size) */
@@ -150,6 +150,10 @@ export const AtomicIcon: React.FC<AtomicIconProps> = React.memo(({
150
150
  size={sizeInPixels}
151
151
  color={iconColor}
152
152
  testID={testID ? `${testID}-icon` : undefined}
153
+ style={{
154
+ padding: 4, // Prevent font truncation
155
+ includeFontPadding: false, // Android specific
156
+ }}
153
157
  />
154
158
  );
155
159