@umituz/react-native-design-system 1.5.60 → 1.5.62
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 +1 -1
- package/src/index.ts +34 -177
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.62",
|
|
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,187 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
AtomicAvatarGroup,
|
|
21
|
-
AtomicFab,
|
|
22
|
-
AtomicFilter,
|
|
23
|
-
AtomicTouchable,
|
|
24
|
-
AtomicNumberInput,
|
|
25
|
-
AtomicDatePicker,
|
|
26
|
-
AtomicSearchBar,
|
|
27
|
-
AtomicSort,
|
|
28
|
-
type AtomicButtonProps,
|
|
29
|
-
type AtomicTextProps,
|
|
30
|
-
type AtomicCardProps,
|
|
31
|
-
type AtomicInputProps,
|
|
32
|
-
type AtomicTextAreaProps,
|
|
33
|
-
type AtomicPickerProps,
|
|
34
|
-
type AtomicIconProps,
|
|
35
|
-
type AtomicImageProps,
|
|
36
|
-
type AtomicSwitchProps,
|
|
37
|
-
type AtomicBadgeProps,
|
|
38
|
-
type AtomicFormErrorProps,
|
|
39
|
-
type AtomicAvatarProps,
|
|
40
|
-
type AtomicChipProps,
|
|
41
|
-
type AtomicDividerProps,
|
|
42
|
-
type AtomicProgressProps,
|
|
43
|
-
type AtomicAvatarGroupProps,
|
|
44
|
-
type AtomicFabProps,
|
|
45
|
-
type AtomicFilterProps,
|
|
46
|
-
type AtomicTouchableProps,
|
|
47
|
-
type AtomicNumberInputProps,
|
|
48
|
-
type AtomicDatePickerProps,
|
|
49
|
-
type AtomicSearchBarProps,
|
|
50
|
-
type AtomicSortProps,
|
|
51
|
-
type IconName,
|
|
52
|
-
type IconSize,
|
|
53
|
-
type IconColor,
|
|
54
|
-
} from '@umituz/react-native-design-system-atoms';
|
|
55
|
-
|
|
56
|
-
// Icon alias
|
|
57
|
-
export {
|
|
58
|
-
AtomicIcon as Icon,
|
|
59
|
-
type AtomicIconProps as IconProps,
|
|
60
|
-
} from '@umituz/react-native-design-system-atoms';
|
|
61
|
-
|
|
62
|
-
// =============================================================================
|
|
63
|
-
// MOLECULES - Composite Components
|
|
64
|
-
// =============================================================================
|
|
65
|
-
export {
|
|
66
|
-
FormField,
|
|
67
|
-
ListItem,
|
|
68
|
-
SearchBar,
|
|
69
|
-
SectionCard,
|
|
70
|
-
IconContainer,
|
|
71
|
-
ScreenHeader,
|
|
72
|
-
EmptyState,
|
|
73
|
-
SectionHeader,
|
|
74
|
-
SectionContainer,
|
|
75
|
-
GridContainer,
|
|
76
|
-
ConfirmationModal,
|
|
77
|
-
useConfirmationModal,
|
|
78
|
-
type FormFieldProps,
|
|
79
|
-
type ListItemProps,
|
|
80
|
-
type SearchBarProps,
|
|
81
|
-
type ScreenHeaderProps,
|
|
82
|
-
type ConfirmationModalProps,
|
|
83
|
-
type ConfirmationModalVariant,
|
|
84
|
-
} from '@umituz/react-native-design-system-molecules';
|
|
85
|
-
|
|
86
|
-
// ConfirmationModal alias
|
|
87
|
-
export {
|
|
88
|
-
ConfirmationModal as AtomicConfirmationModal,
|
|
89
|
-
type ConfirmationModalProps as AtomicConfirmationModalProps,
|
|
90
|
-
} from '@umituz/react-native-design-system-molecules';
|
|
91
|
-
|
|
92
|
-
// =============================================================================
|
|
93
|
-
// ORGANISMS - Complex Patterns
|
|
1
|
+
/**
|
|
2
|
+
* @umituz/react-native-design-system
|
|
3
|
+
*
|
|
4
|
+
* ⚠️ DEPRECATED: This package is deprecated.
|
|
5
|
+
* Please import directly from individual packages:
|
|
6
|
+
* - @umituz/react-native-design-system-atoms
|
|
7
|
+
* - @umituz/react-native-design-system-molecules
|
|
8
|
+
* - @umituz/react-native-design-system-organisms
|
|
9
|
+
* - @umituz/react-native-design-system-theme
|
|
10
|
+
* - @umituz/react-native-design-system-responsive
|
|
11
|
+
* - @umituz/react-native-design-system-typography
|
|
12
|
+
*
|
|
13
|
+
* This package only exports its own utilities:
|
|
14
|
+
* - useCommonStyles
|
|
15
|
+
* - variants utilities
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
// =============================================================================
|
|
19
|
+
// COMMON STYLES - Own utility
|
|
94
20
|
// =============================================================================
|
|
95
21
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
FormContainer,
|
|
99
|
-
type AppHeaderProps,
|
|
100
|
-
type ScreenLayoutProps,
|
|
101
|
-
type FormContainerProps,
|
|
102
|
-
} from '@umituz/react-native-design-system-organisms';
|
|
103
|
-
|
|
104
|
-
// =============================================================================
|
|
105
|
-
// TYPOGRAPHY TYPES
|
|
106
|
-
// =============================================================================
|
|
107
|
-
export type {
|
|
108
|
-
TextStyleVariant,
|
|
109
|
-
ColorVariant,
|
|
110
|
-
} from '@umituz/react-native-design-system-typography';
|
|
22
|
+
useCommonStyles,
|
|
23
|
+
} from './presentation/tokens/commonStyles';
|
|
111
24
|
|
|
112
25
|
// =============================================================================
|
|
113
|
-
//
|
|
26
|
+
// VARIANTS UTILITIES - Own utilities
|
|
114
27
|
// =============================================================================
|
|
115
28
|
export {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
withAlpha,
|
|
121
|
-
lightColors,
|
|
122
|
-
darkColors,
|
|
123
|
-
getColorPalette,
|
|
124
|
-
useAppDesignTokens,
|
|
125
|
-
useDesignSystemTheme,
|
|
126
|
-
useTheme,
|
|
127
|
-
lightTheme,
|
|
128
|
-
darkTheme,
|
|
129
|
-
createResponsiveValue,
|
|
130
|
-
ThemeStorage,
|
|
131
|
-
type DesignTokens,
|
|
132
|
-
type ThemeMode,
|
|
133
|
-
type ColorPalette,
|
|
134
|
-
type BaseTokens,
|
|
135
|
-
type Spacing,
|
|
136
|
-
type Typography,
|
|
137
|
-
type Borders,
|
|
138
|
-
type Theme,
|
|
139
|
-
type ExtendedColorPalette,
|
|
140
|
-
} from '@umituz/react-native-design-system-theme';
|
|
29
|
+
createVariants,
|
|
30
|
+
type VariantConfig,
|
|
31
|
+
type VariantProps,
|
|
32
|
+
} from './presentation/utils/variants/core';
|
|
141
33
|
|
|
142
|
-
// =============================================================================
|
|
143
|
-
// COMMON STYLES
|
|
144
|
-
// =============================================================================
|
|
145
34
|
export {
|
|
146
|
-
|
|
147
|
-
|
|
35
|
+
createAdvancedVariants,
|
|
36
|
+
type AdvancedVariantConfig,
|
|
37
|
+
type CompoundVariant,
|
|
38
|
+
} from './presentation/utils/variants/compound';
|
|
148
39
|
|
|
149
|
-
// =============================================================================
|
|
150
|
-
// RESPONSIVE UTILITIES
|
|
151
|
-
// =============================================================================
|
|
152
40
|
export {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
getMinTouchTarget,
|
|
158
|
-
useResponsive,
|
|
159
|
-
useResponsiveSizes,
|
|
160
|
-
useDeviceType,
|
|
161
|
-
getScreenDimensions,
|
|
162
|
-
isSmallPhone,
|
|
163
|
-
isTablet,
|
|
164
|
-
getResponsiveLogoSize,
|
|
165
|
-
getResponsiveInputHeight,
|
|
166
|
-
getResponsiveHorizontalPadding,
|
|
167
|
-
getResponsiveBottomPosition,
|
|
168
|
-
getResponsiveFABPosition,
|
|
169
|
-
getResponsiveModalMaxHeight,
|
|
170
|
-
getResponsiveMinModalHeight,
|
|
171
|
-
getResponsiveIconContainerSize,
|
|
172
|
-
getResponsiveGridColumns,
|
|
173
|
-
getResponsiveMaxWidth,
|
|
174
|
-
getResponsiveFontSize,
|
|
175
|
-
isLandscape,
|
|
176
|
-
getKeyboardBehavior,
|
|
177
|
-
getDeviceType,
|
|
178
|
-
getMinTouchTargetSize,
|
|
179
|
-
getSpacingMultiplier,
|
|
180
|
-
getOnboardingIconMarginTop,
|
|
181
|
-
getOnboardingIconMarginBottom,
|
|
182
|
-
getOnboardingTitleMarginBottom,
|
|
183
|
-
getOnboardingTextPadding,
|
|
184
|
-
getOnboardingDescriptionMarginTop,
|
|
185
|
-
type UseResponsiveReturn,
|
|
186
|
-
type DeviceType,
|
|
187
|
-
} from '@umituz/react-native-design-system-responsive';
|
|
41
|
+
conditionalStyle,
|
|
42
|
+
responsiveStyle,
|
|
43
|
+
combineStyles,
|
|
44
|
+
} from './presentation/utils/variants/helpers';
|