@umituz/react-native-design-system 1.5.25 → 1.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/dist/AtomicIcon.d.ts +34 -0
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AtomicIcon - Atomic Design System Icon Component
|
|
3
|
+
*
|
|
4
|
+
* Wrapper for the universal Icon component from @domains/icons
|
|
5
|
+
* Provides backward compatibility with AtomicIcon naming convention
|
|
6
|
+
* while leveraging the full power of the icons domain architecture.
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import type { IconProps, IconSize, IconColor, IconName } from '@umituz/react-native-icon';
|
|
10
|
+
/**
|
|
11
|
+
* AtomicIcon Component
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* import { AtomicIcon } from '@umituz/react-native-design-system';
|
|
16
|
+
*
|
|
17
|
+
* // Basic usage
|
|
18
|
+
* <AtomicIcon name="Settings" size="md" color="primary" />
|
|
19
|
+
*
|
|
20
|
+
* // Custom size and color
|
|
21
|
+
* <AtomicIcon name="Heart" customSize={32} customColor="#FF0000" />
|
|
22
|
+
*
|
|
23
|
+
* // With background
|
|
24
|
+
* <AtomicIcon name="Info" size="lg" withBackground backgroundColor="#667eea" />
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare const AtomicIcon: React.FC<IconProps>;
|
|
28
|
+
/**
|
|
29
|
+
* Re-export types with Atomic naming convention
|
|
30
|
+
*/
|
|
31
|
+
export type AtomicIconProps = IconProps;
|
|
32
|
+
export type AtomicIconSize = IconSize;
|
|
33
|
+
export type AtomicIconColor = IconColor;
|
|
34
|
+
export type AtomicIconName = IconName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-design-system",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.26",
|
|
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": "./dist/index.d.ts",
|