@umituz/react-native-design-system 1.3.0 → 1.3.1

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": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Universal design system for React Native apps - Domain-Driven Design architecture with Material Design 3 components",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -16,6 +16,7 @@
16
16
 
17
17
  import type { DesignTokens } from '@umituz/react-native-design-system';
18
18
 
19
+ export type IconName = string;
19
20
  export type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
20
21
  export type IconColor =
21
22
  | 'primary'
@@ -228,7 +228,7 @@ export const AtomicButton: React.FC<AtomicButtonProps> = ({
228
228
  <Icon
229
229
  name={icon}
230
230
  customSize={config.iconSize}
231
- customColor={iconColor}
231
+ customColor={typeof iconColor === 'string' ? iconColor : undefined}
232
232
  style={styles.icon}
233
233
  />
234
234
  ) : null}
@@ -155,6 +155,7 @@ export const lightColors = {
155
155
  borderLight: '#F1F5F9',
156
156
  borderMedium: '#CBD5E1',
157
157
  borderFocus: '#3B82F6',
158
+ borderDisabled: '#F1F5F9',
158
159
 
159
160
  // =============================================================================
160
161
  // COMPONENT-SPECIFIC COLORS
@@ -327,6 +328,7 @@ export const darkColors = {
327
328
  borderLight: '#475569', // Slate 600 - Light border
328
329
  borderMedium: '#64748B', // Slate 500 - Medium border
329
330
  borderFocus: '#60A5FA', // Blue 400 - Focus border (lighter)
331
+ borderDisabled: '#475569', // Slate 600 - Disabled border
330
332
 
331
333
  // =============================================================================
332
334
  // COMPONENT-SPECIFIC COLORS (dark mode specific)