@umituz/react-native-design-system 1.5.66 → 1.6.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +32 -34
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-design-system",
3
- "version": "1.5.66",
3
+ "version": "1.6.0",
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",
package/src/index.ts CHANGED
@@ -1,44 +1,16 @@
1
1
  /**
2
2
  * @umituz/react-native-design-system
3
3
  *
4
- * Design System Aggregator Package
5
- *
6
- * This package aggregates exports from individual design system packages:
7
- * - @umituz/react-native-design-system-atoms
8
- * - @umituz/react-native-design-system-molecules
9
- * - @umituz/react-native-design-system-organisms
10
- * - @umituz/react-native-design-system-theme
11
- * - @umituz/react-native-design-system-responsive
12
- * - @umituz/react-native-design-system-typography
13
- *
14
- * This package also exports its own utilities:
15
- * - variants utilities
4
+ * Universal design system for React Native apps
5
+ * Re-exports from individual packages for convenience
16
6
  */
17
7
 
18
8
  // =============================================================================
19
- // ATOMS - Re-export from atoms package
20
- // =============================================================================
21
- export * from '@umituz/react-native-design-system-atoms';
22
-
23
- // =============================================================================
24
- // MOLECULES - Re-export from molecules package
25
- // =============================================================================
26
- export * from '@umituz/react-native-design-system-molecules';
27
-
28
- // =============================================================================
29
- // ORGANISMS - Re-export from organisms package
30
- // =============================================================================
31
- export * from '@umituz/react-native-design-system-organisms';
32
-
33
- // =============================================================================
34
- // THEME - Re-export from theme package
35
- // =============================================================================
36
- export * from '@umituz/react-native-design-system-theme';
37
-
38
- // =============================================================================
39
- // RESPONSIVE - Re-export from responsive package
9
+ // COMMON STYLES - Own utility
40
10
  // =============================================================================
41
- export * from '@umituz/react-native-design-system-responsive';
11
+ export {
12
+ useCommonStyles,
13
+ } from './presentation/tokens/commonStyles';
42
14
 
43
15
  // =============================================================================
44
16
  // VARIANTS UTILITIES - Own utilities
@@ -60,3 +32,29 @@ export {
60
32
  responsiveStyle,
61
33
  combineStyles,
62
34
  } from './presentation/utils/variants/helpers';
35
+
36
+ // =============================================================================
37
+ // ATOMS - Re-export from @umituz/react-native-design-system-atoms
38
+ // =============================================================================
39
+ export {
40
+ AtomicText,
41
+ AtomicIcon,
42
+ AtomicButton,
43
+ type IconName,
44
+ } from '@umituz/react-native-design-system-atoms';
45
+
46
+ // =============================================================================
47
+ // ORGANISMS - Re-export from @umituz/react-native-design-system-organisms
48
+ // =============================================================================
49
+ export {
50
+ ScreenLayout,
51
+ } from '@umituz/react-native-design-system-organisms';
52
+
53
+ // =============================================================================
54
+ // THEME - Re-export from @umituz/react-native-design-system-theme
55
+ // =============================================================================
56
+ export {
57
+ useAppDesignTokens,
58
+ STATIC_TOKENS,
59
+ type DesignTokens,
60
+ } from '@umituz/react-native-design-system-theme';