@umituz/react-native-design-system 1.7.1 → 1.7.3
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/README.md +2 -2
- package/package.json +61 -35
- package/src/index.ts +71 -271
- package/lib/index.d.ts +0 -59
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -99
- package/lib/index.js.map +0 -1
- package/lib/presentation/atoms/AtomicAvatar.d.ts +0 -48
- package/lib/presentation/atoms/AtomicAvatar.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicAvatar.js +0 -85
- package/lib/presentation/atoms/AtomicAvatar.js.map +0 -1
- package/lib/presentation/atoms/AtomicAvatarGroup.d.ts +0 -56
- package/lib/presentation/atoms/AtomicAvatarGroup.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicAvatarGroup.js +0 -83
- package/lib/presentation/atoms/AtomicAvatarGroup.js.map +0 -1
- package/lib/presentation/atoms/AtomicBadge.d.ts +0 -42
- package/lib/presentation/atoms/AtomicBadge.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicBadge.js +0 -168
- package/lib/presentation/atoms/AtomicBadge.js.map +0 -1
- package/lib/presentation/atoms/AtomicButton.d.ts +0 -21
- package/lib/presentation/atoms/AtomicButton.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicButton.js +0 -172
- package/lib/presentation/atoms/AtomicButton.js.map +0 -1
- package/lib/presentation/atoms/AtomicCard.d.ts +0 -15
- package/lib/presentation/atoms/AtomicCard.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicCard.js +0 -70
- package/lib/presentation/atoms/AtomicCard.js.map +0 -1
- package/lib/presentation/atoms/AtomicChip.d.ts +0 -53
- package/lib/presentation/atoms/AtomicChip.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicChip.js +0 -131
- package/lib/presentation/atoms/AtomicChip.js.map +0 -1
- package/lib/presentation/atoms/AtomicDatePicker.d.ts +0 -75
- package/lib/presentation/atoms/AtomicDatePicker.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicDatePicker.js +0 -246
- package/lib/presentation/atoms/AtomicDatePicker.js.map +0 -1
- package/lib/presentation/atoms/AtomicDivider.d.ts +0 -45
- package/lib/presentation/atoms/AtomicDivider.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicDivider.js +0 -58
- package/lib/presentation/atoms/AtomicDivider.js.map +0 -1
- package/lib/presentation/atoms/AtomicFab.d.ts +0 -37
- package/lib/presentation/atoms/AtomicFab.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicFab.js +0 -68
- package/lib/presentation/atoms/AtomicFab.js.map +0 -1
- package/lib/presentation/atoms/AtomicFilter.d.ts +0 -37
- package/lib/presentation/atoms/AtomicFilter.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicFilter.js +0 -104
- package/lib/presentation/atoms/AtomicFilter.js.map +0 -1
- package/lib/presentation/atoms/AtomicFormError.d.ts +0 -30
- package/lib/presentation/atoms/AtomicFormError.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicFormError.js +0 -64
- package/lib/presentation/atoms/AtomicFormError.js.map +0 -1
- package/lib/presentation/atoms/AtomicIcon.d.ts +0 -35
- package/lib/presentation/atoms/AtomicIcon.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicIcon.js +0 -30
- package/lib/presentation/atoms/AtomicIcon.js.map +0 -1
- package/lib/presentation/atoms/AtomicImage.d.ts +0 -40
- package/lib/presentation/atoms/AtomicImage.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicImage.js +0 -92
- package/lib/presentation/atoms/AtomicImage.js.map +0 -1
- package/lib/presentation/atoms/AtomicInput.d.ts +0 -71
- package/lib/presentation/atoms/AtomicInput.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicInput.js +0 -196
- package/lib/presentation/atoms/AtomicInput.js.map +0 -1
- package/lib/presentation/atoms/AtomicNumberInput.d.ts +0 -69
- package/lib/presentation/atoms/AtomicNumberInput.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicNumberInput.js +0 -125
- package/lib/presentation/atoms/AtomicNumberInput.js.map +0 -1
- package/lib/presentation/atoms/AtomicPicker.d.ts +0 -52
- package/lib/presentation/atoms/AtomicPicker.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicPicker.js +0 -299
- package/lib/presentation/atoms/AtomicPicker.js.map +0 -1
- package/lib/presentation/atoms/AtomicProgress.d.ts +0 -44
- package/lib/presentation/atoms/AtomicProgress.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicProgress.js +0 -80
- package/lib/presentation/atoms/AtomicProgress.js.map +0 -1
- package/lib/presentation/atoms/AtomicSearchBar.d.ts +0 -19
- package/lib/presentation/atoms/AtomicSearchBar.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicSearchBar.js +0 -46
- package/lib/presentation/atoms/AtomicSearchBar.js.map +0 -1
- package/lib/presentation/atoms/AtomicSort.d.ts +0 -72
- package/lib/presentation/atoms/AtomicSort.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicSort.js +0 -77
- package/lib/presentation/atoms/AtomicSort.js.map +0 -1
- package/lib/presentation/atoms/AtomicSwitch.d.ts +0 -43
- package/lib/presentation/atoms/AtomicSwitch.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicSwitch.js +0 -104
- package/lib/presentation/atoms/AtomicSwitch.js.map +0 -1
- package/lib/presentation/atoms/AtomicText.d.ts +0 -14
- package/lib/presentation/atoms/AtomicText.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicText.js +0 -36
- package/lib/presentation/atoms/AtomicText.js.map +0 -1
- package/lib/presentation/atoms/AtomicTextArea.d.ts +0 -85
- package/lib/presentation/atoms/AtomicTextArea.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicTextArea.js +0 -196
- package/lib/presentation/atoms/AtomicTextArea.js.map +0 -1
- package/lib/presentation/atoms/AtomicTouchable.d.ts +0 -77
- package/lib/presentation/atoms/AtomicTouchable.d.ts.map +0 -1
- package/lib/presentation/atoms/AtomicTouchable.js +0 -138
- package/lib/presentation/atoms/AtomicTouchable.js.map +0 -1
- package/lib/presentation/atoms/fab/styles/fabStyles.d.ts +0 -23
- package/lib/presentation/atoms/fab/styles/fabStyles.d.ts.map +0 -1
- package/lib/presentation/atoms/fab/styles/fabStyles.js +0 -63
- package/lib/presentation/atoms/fab/styles/fabStyles.js.map +0 -1
- package/lib/presentation/atoms/fab/types/index.d.ts +0 -71
- package/lib/presentation/atoms/fab/types/index.d.ts.map +0 -1
- package/lib/presentation/atoms/fab/types/index.js +0 -2
- package/lib/presentation/atoms/fab/types/index.js.map +0 -1
- package/lib/presentation/atoms/filter/styles/filterStyles.d.ts +0 -15
- package/lib/presentation/atoms/filter/styles/filterStyles.d.ts.map +0 -1
- package/lib/presentation/atoms/filter/styles/filterStyles.js +0 -29
- package/lib/presentation/atoms/filter/styles/filterStyles.js.map +0 -1
- package/lib/presentation/atoms/filter/types/index.d.ts +0 -76
- package/lib/presentation/atoms/filter/types/index.d.ts.map +0 -1
- package/lib/presentation/atoms/filter/types/index.js +0 -2
- package/lib/presentation/atoms/filter/types/index.js.map +0 -1
- package/lib/presentation/atoms/index.d.ts +0 -273
- package/lib/presentation/atoms/index.d.ts.map +0 -1
- package/lib/presentation/atoms/index.js +0 -146
- package/lib/presentation/atoms/index.js.map +0 -1
- package/lib/presentation/atoms/input/hooks/useInputState.d.ts +0 -7
- package/lib/presentation/atoms/input/hooks/useInputState.d.ts.map +0 -1
- package/lib/presentation/atoms/input/hooks/useInputState.js +0 -13
- package/lib/presentation/atoms/input/hooks/useInputState.js.map +0 -1
- package/lib/presentation/atoms/input/styles/inputStyles.d.ts +0 -13
- package/lib/presentation/atoms/input/styles/inputStyles.d.ts.map +0 -1
- package/lib/presentation/atoms/input/styles/inputStyles.js +0 -59
- package/lib/presentation/atoms/input/styles/inputStyles.js.map +0 -1
- package/lib/presentation/atoms/input/types/index.d.ts +0 -24
- package/lib/presentation/atoms/input/types/index.d.ts.map +0 -1
- package/lib/presentation/atoms/input/types/index.js +0 -2
- package/lib/presentation/atoms/input/types/index.js.map +0 -1
- package/lib/presentation/atoms/picker/styles/pickerStyles.d.ts +0 -85
- package/lib/presentation/atoms/picker/styles/pickerStyles.d.ts.map +0 -1
- package/lib/presentation/atoms/picker/styles/pickerStyles.js +0 -177
- package/lib/presentation/atoms/picker/styles/pickerStyles.js.map +0 -1
- package/lib/presentation/atoms/picker/types/index.d.ts +0 -38
- package/lib/presentation/atoms/picker/types/index.d.ts.map +0 -1
- package/lib/presentation/atoms/picker/types/index.js +0 -2
- package/lib/presentation/atoms/picker/types/index.js.map +0 -1
- package/lib/presentation/atoms/touchable/styles/touchableStyles.d.ts +0 -31
- package/lib/presentation/atoms/touchable/styles/touchableStyles.d.ts.map +0 -1
- package/lib/presentation/atoms/touchable/styles/touchableStyles.js +0 -54
- package/lib/presentation/atoms/touchable/styles/touchableStyles.js.map +0 -1
- package/lib/presentation/atoms/touchable/types/index.d.ts +0 -134
- package/lib/presentation/atoms/touchable/types/index.d.ts.map +0 -1
- package/lib/presentation/atoms/touchable/types/index.js +0 -2
- package/lib/presentation/atoms/touchable/types/index.js.map +0 -1
- package/lib/presentation/hooks/useAppDesignTokens.d.ts +0 -13
- package/lib/presentation/hooks/useAppDesignTokens.d.ts.map +0 -1
- package/lib/presentation/hooks/useAppDesignTokens.js +0 -13
- package/lib/presentation/hooks/useAppDesignTokens.js.map +0 -1
- package/lib/presentation/hooks/useResponsive.d.ts +0 -80
- package/lib/presentation/hooks/useResponsive.d.ts.map +0 -1
- package/lib/presentation/hooks/useResponsive.js +0 -82
- package/lib/presentation/hooks/useResponsive.js.map +0 -1
- package/lib/presentation/molecules/AtomicConfirmationModal.d.ts +0 -73
- package/lib/presentation/molecules/AtomicConfirmationModal.d.ts.map +0 -1
- package/lib/presentation/molecules/AtomicConfirmationModal.js +0 -154
- package/lib/presentation/molecules/AtomicConfirmationModal.js.map +0 -1
- package/lib/presentation/molecules/EmptyState.d.ts +0 -41
- package/lib/presentation/molecules/EmptyState.d.ts.map +0 -1
- package/lib/presentation/molecules/EmptyState.js +0 -68
- package/lib/presentation/molecules/EmptyState.js.map +0 -1
- package/lib/presentation/molecules/FormField.d.ts +0 -22
- package/lib/presentation/molecules/FormField.d.ts.map +0 -1
- package/lib/presentation/molecules/FormField.js +0 -76
- package/lib/presentation/molecules/FormField.js.map +0 -1
- package/lib/presentation/molecules/GridContainer.d.ts +0 -40
- package/lib/presentation/molecules/GridContainer.d.ts.map +0 -1
- package/lib/presentation/molecules/GridContainer.js +0 -77
- package/lib/presentation/molecules/GridContainer.js.map +0 -1
- package/lib/presentation/molecules/IconContainer.d.ts +0 -29
- package/lib/presentation/molecules/IconContainer.d.ts.map +0 -1
- package/lib/presentation/molecules/IconContainer.js +0 -60
- package/lib/presentation/molecules/IconContainer.js.map +0 -1
- package/lib/presentation/molecules/ListItem.d.ts +0 -5
- package/lib/presentation/molecules/ListItem.d.ts.map +0 -1
- package/lib/presentation/molecules/ListItem.js +0 -24
- package/lib/presentation/molecules/ListItem.js.map +0 -1
- package/lib/presentation/molecules/ScreenHeader.d.ts +0 -55
- package/lib/presentation/molecules/ScreenHeader.d.ts.map +0 -1
- package/lib/presentation/molecules/ScreenHeader.js +0 -94
- package/lib/presentation/molecules/ScreenHeader.js.map +0 -1
- package/lib/presentation/molecules/SearchBar.d.ts +0 -18
- package/lib/presentation/molecules/SearchBar.d.ts.map +0 -1
- package/lib/presentation/molecules/SearchBar.js +0 -47
- package/lib/presentation/molecules/SearchBar.js.map +0 -1
- package/lib/presentation/molecules/SectionCard.d.ts +0 -25
- package/lib/presentation/molecules/SectionCard.d.ts.map +0 -1
- package/lib/presentation/molecules/SectionCard.js +0 -47
- package/lib/presentation/molecules/SectionCard.js.map +0 -1
- package/lib/presentation/molecules/SectionContainer.d.ts +0 -33
- package/lib/presentation/molecules/SectionContainer.d.ts.map +0 -1
- package/lib/presentation/molecules/SectionContainer.js +0 -64
- package/lib/presentation/molecules/SectionContainer.js.map +0 -1
- package/lib/presentation/molecules/SectionHeader.d.ts +0 -37
- package/lib/presentation/molecules/SectionHeader.d.ts.map +0 -1
- package/lib/presentation/molecules/SectionHeader.js +0 -73
- package/lib/presentation/molecules/SectionHeader.js.map +0 -1
- package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.d.ts +0 -50
- package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.d.ts.map +0 -1
- package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.js +0 -115
- package/lib/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.js.map +0 -1
- package/lib/presentation/molecules/confirmation-modal/types/index.d.ts +0 -86
- package/lib/presentation/molecules/confirmation-modal/types/index.d.ts.map +0 -1
- package/lib/presentation/molecules/confirmation-modal/types/index.js +0 -7
- package/lib/presentation/molecules/confirmation-modal/types/index.js.map +0 -1
- package/lib/presentation/molecules/index.d.ts +0 -27
- package/lib/presentation/molecules/index.d.ts.map +0 -1
- package/lib/presentation/molecules/index.js +0 -17
- package/lib/presentation/molecules/index.js.map +0 -1
- package/lib/presentation/molecules/listitem/styles/listItemStyles.d.ts +0 -12
- package/lib/presentation/molecules/listitem/styles/listItemStyles.d.ts.map +0 -1
- package/lib/presentation/molecules/listitem/styles/listItemStyles.js +0 -15
- package/lib/presentation/molecules/listitem/styles/listItemStyles.js.map +0 -1
- package/lib/presentation/molecules/listitem/types/index.d.ts +0 -17
- package/lib/presentation/molecules/listitem/types/index.d.ts.map +0 -1
- package/lib/presentation/molecules/listitem/types/index.js +0 -2
- package/lib/presentation/molecules/listitem/types/index.js.map +0 -1
- package/lib/presentation/organisms/AppHeader.d.ts +0 -31
- package/lib/presentation/organisms/AppHeader.d.ts.map +0 -1
- package/lib/presentation/organisms/AppHeader.js +0 -78
- package/lib/presentation/organisms/AppHeader.js.map +0 -1
- package/lib/presentation/organisms/FormContainer.d.ts +0 -76
- package/lib/presentation/organisms/FormContainer.d.ts.map +0 -1
- package/lib/presentation/organisms/FormContainer.js +0 -127
- package/lib/presentation/organisms/FormContainer.js.map +0 -1
- package/lib/presentation/organisms/ScreenLayout.d.ts +0 -84
- package/lib/presentation/organisms/ScreenLayout.d.ts.map +0 -1
- package/lib/presentation/organisms/ScreenLayout.js +0 -69
- package/lib/presentation/organisms/ScreenLayout.js.map +0 -1
- package/lib/presentation/organisms/index.d.ts +0 -16
- package/lib/presentation/organisms/index.d.ts.map +0 -1
- package/lib/presentation/organisms/index.js +0 -14
- package/lib/presentation/organisms/index.js.map +0 -1
- package/lib/presentation/tokens/commonStyles.d.ts +0 -122
- package/lib/presentation/tokens/commonStyles.d.ts.map +0 -1
- package/lib/presentation/tokens/commonStyles.js +0 -220
- package/lib/presentation/tokens/commonStyles.js.map +0 -1
- package/lib/presentation/utils/platformConstants.d.ts +0 -100
- package/lib/presentation/utils/platformConstants.d.ts.map +0 -1
- package/lib/presentation/utils/platformConstants.js +0 -114
- package/lib/presentation/utils/platformConstants.js.map +0 -1
- package/lib/presentation/utils/responsive.d.ts +0 -218
- package/lib/presentation/utils/responsive.d.ts.map +0 -1
- package/lib/presentation/utils/responsive.js +0 -452
- package/lib/presentation/utils/responsive.js.map +0 -1
- package/lib/presentation/utils/variants/compound.d.ts +0 -10
- package/lib/presentation/utils/variants/compound.d.ts.map +0 -1
- package/lib/presentation/utils/variants/compound.js +0 -16
- package/lib/presentation/utils/variants/compound.js.map +0 -1
- package/lib/presentation/utils/variants/core.d.ts +0 -15
- package/lib/presentation/utils/variants/core.d.ts.map +0 -1
- package/lib/presentation/utils/variants/core.js +0 -23
- package/lib/presentation/utils/variants/core.js.map +0 -1
- package/lib/presentation/utils/variants/helpers.d.ts +0 -5
- package/lib/presentation/utils/variants/helpers.d.ts.map +0 -1
- package/lib/presentation/utils/variants/helpers.js +0 -10
- package/lib/presentation/utils/variants/helpers.js.map +0 -1
- package/lib/presentation/utils/variants.d.ts +0 -4
- package/lib/presentation/utils/variants.d.ts.map +0 -1
- package/lib/presentation/utils/variants.js +0 -4
- package/lib/presentation/utils/variants.js.map +0 -1
- package/src/presentation/atoms/AtomicAvatar.tsx +0 -157
- package/src/presentation/atoms/AtomicAvatarGroup.tsx +0 -169
- package/src/presentation/atoms/AtomicBadge.tsx +0 -232
- package/src/presentation/atoms/AtomicButton.tsx +0 -236
- package/src/presentation/atoms/AtomicCard.tsx +0 -107
- package/src/presentation/atoms/AtomicChip.tsx +0 -223
- package/src/presentation/atoms/AtomicDatePicker.tsx +0 -354
- package/src/presentation/atoms/AtomicDivider.tsx +0 -114
- package/src/presentation/atoms/AtomicFab.tsx +0 -98
- package/src/presentation/atoms/AtomicFilter.tsx +0 -154
- package/src/presentation/atoms/AtomicFormError.tsx +0 -105
- package/src/presentation/atoms/AtomicIcon.tsx +0 -40
- package/src/presentation/atoms/AtomicImage.tsx +0 -149
- package/src/presentation/atoms/AtomicInput.tsx +0 -350
- package/src/presentation/atoms/AtomicNumberInput.tsx +0 -182
- package/src/presentation/atoms/AtomicPicker.tsx +0 -458
- package/src/presentation/atoms/AtomicProgress.tsx +0 -139
- package/src/presentation/atoms/AtomicSearchBar.tsx +0 -114
- package/src/presentation/atoms/AtomicSort.tsx +0 -145
- package/src/presentation/atoms/AtomicSwitch.tsx +0 -166
- package/src/presentation/atoms/AtomicText.tsx +0 -82
- package/src/presentation/atoms/AtomicTextArea.tsx +0 -313
- package/src/presentation/atoms/AtomicTouchable.tsx +0 -209
- package/src/presentation/atoms/fab/styles/fabStyles.ts +0 -69
- package/src/presentation/atoms/fab/types/index.ts +0 -82
- package/src/presentation/atoms/filter/styles/filterStyles.ts +0 -32
- package/src/presentation/atoms/filter/types/index.ts +0 -89
- package/src/presentation/atoms/index.ts +0 -366
- package/src/presentation/atoms/input/hooks/useInputState.ts +0 -15
- package/src/presentation/atoms/input/styles/inputStyles.ts +0 -66
- package/src/presentation/atoms/input/types/index.ts +0 -25
- package/src/presentation/atoms/picker/styles/pickerStyles.ts +0 -220
- package/src/presentation/atoms/picker/types/index.ts +0 -40
- package/src/presentation/atoms/touchable/styles/touchableStyles.ts +0 -62
- package/src/presentation/atoms/touchable/types/index.ts +0 -155
- package/src/presentation/hooks/useAppDesignTokens.ts +0 -13
- package/src/presentation/hooks/useResponsive.ts +0 -180
- package/src/presentation/molecules/AtomicConfirmationModal.tsx +0 -243
- package/src/presentation/molecules/EmptyState.tsx +0 -130
- package/src/presentation/molecules/FormField.tsx +0 -128
- package/src/presentation/molecules/GridContainer.tsx +0 -124
- package/src/presentation/molecules/IconContainer.tsx +0 -94
- package/src/presentation/molecules/ListItem.tsx +0 -36
- package/src/presentation/molecules/ScreenHeader.tsx +0 -140
- package/src/presentation/molecules/SearchBar.tsx +0 -85
- package/src/presentation/molecules/SectionCard.tsx +0 -74
- package/src/presentation/molecules/SectionContainer.tsx +0 -106
- package/src/presentation/molecules/SectionHeader.tsx +0 -125
- package/src/presentation/molecules/confirmation-modal/styles/confirmationModalStyles.ts +0 -133
- package/src/presentation/molecules/confirmation-modal/types/index.ts +0 -105
- package/src/presentation/molecules/index.ts +0 -41
- package/src/presentation/molecules/listitem/styles/listItemStyles.ts +0 -19
- package/src/presentation/molecules/listitem/types/index.ts +0 -17
- package/src/presentation/organisms/AppHeader.tsx +0 -137
- package/src/presentation/organisms/FormContainer.tsx +0 -180
- package/src/presentation/organisms/ScreenLayout.tsx +0 -171
- package/src/presentation/organisms/index.ts +0 -25
- package/src/presentation/tokens/commonStyles.ts +0 -253
- package/src/presentation/utils/platformConstants.ts +0 -124
- package/src/presentation/utils/responsive.ts +0 -516
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AtomicFormError - Universal Form Error Component
|
|
3
|
-
*
|
|
4
|
-
* Provides consistent error message display for forms
|
|
5
|
-
* Theme: {{THEME_NAME}} ({{CATEGORY}} category)
|
|
6
|
-
*
|
|
7
|
-
* Atomic Design Level: ATOM
|
|
8
|
-
* Purpose: Display validation error messages
|
|
9
|
-
*
|
|
10
|
-
* Usage:
|
|
11
|
-
* - Form field validation errors
|
|
12
|
-
* - Global form error messages
|
|
13
|
-
* - API error display
|
|
14
|
-
* - Input validation feedback
|
|
15
|
-
*/
|
|
16
|
-
import React from 'react';
|
|
17
|
-
import { StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
18
|
-
export interface AtomicFormErrorProps {
|
|
19
|
-
/** Error message to display */
|
|
20
|
-
message: string | null | undefined;
|
|
21
|
-
/** Error display variant */
|
|
22
|
-
variant?: 'global' | 'field';
|
|
23
|
-
/** Custom container style */
|
|
24
|
-
style?: StyleProp<ViewStyle>;
|
|
25
|
-
/** Custom text style */
|
|
26
|
-
textStyle?: StyleProp<TextStyle>;
|
|
27
|
-
}
|
|
28
|
-
export declare const AtomicFormError: React.FC<AtomicFormErrorProps>;
|
|
29
|
-
export default AtomicFormError;
|
|
30
|
-
//# sourceMappingURL=AtomicFormError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AtomicFormError.d.ts","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicFormError.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AASjF,MAAM,WAAW,oBAAoB;IACnC,+BAA+B;IAC/B,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,4BAA4B;IAC5B,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B,6BAA6B;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,wBAAwB;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAClC;AAMD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAyD1D,CAAC;AAMF,eAAe,eAAe,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AtomicFormError - Universal Form Error Component
|
|
3
|
-
*
|
|
4
|
-
* Provides consistent error message display for forms
|
|
5
|
-
* Theme: {{THEME_NAME}} ({{CATEGORY}} category)
|
|
6
|
-
*
|
|
7
|
-
* Atomic Design Level: ATOM
|
|
8
|
-
* Purpose: Display validation error messages
|
|
9
|
-
*
|
|
10
|
-
* Usage:
|
|
11
|
-
* - Form field validation errors
|
|
12
|
-
* - Global form error messages
|
|
13
|
-
* - API error display
|
|
14
|
-
* - Input validation feedback
|
|
15
|
-
*/
|
|
16
|
-
import React from 'react';
|
|
17
|
-
import { View, StyleSheet } from 'react-native';
|
|
18
|
-
import { AtomicText } from './AtomicText';
|
|
19
|
-
import { useAppDesignTokens } from '../hooks/useAppDesignTokens';
|
|
20
|
-
import { withAlpha } from '@umituz/react-native-theme';
|
|
21
|
-
// =============================================================================
|
|
22
|
-
// COMPONENT IMPLEMENTATION
|
|
23
|
-
// =============================================================================
|
|
24
|
-
export const AtomicFormError = ({ message, variant = 'field', style, textStyle, }) => {
|
|
25
|
-
const tokens = useAppDesignTokens();
|
|
26
|
-
if (!message) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
if (variant === 'global') {
|
|
30
|
-
return (<View style={[
|
|
31
|
-
{
|
|
32
|
-
padding: tokens.spacing.md,
|
|
33
|
-
borderRadius: tokens.borders.radius.md,
|
|
34
|
-
marginBottom: tokens.spacing.sm,
|
|
35
|
-
backgroundColor: withAlpha(tokens.colors.error, 0.15),
|
|
36
|
-
},
|
|
37
|
-
style,
|
|
38
|
-
]}>
|
|
39
|
-
<AtomicText type="bodySmall" color="error" style={StyleSheet.flatten([
|
|
40
|
-
{
|
|
41
|
-
textAlign: 'center',
|
|
42
|
-
fontWeight: tokens.typography.medium,
|
|
43
|
-
},
|
|
44
|
-
textStyle,
|
|
45
|
-
])}>
|
|
46
|
-
{message}
|
|
47
|
-
</AtomicText>
|
|
48
|
-
</View>);
|
|
49
|
-
}
|
|
50
|
-
return (<AtomicText type="bodySmall" color="error" style={StyleSheet.flatten([
|
|
51
|
-
{
|
|
52
|
-
marginTop: tokens.spacing.xs,
|
|
53
|
-
marginLeft: tokens.spacing.xs,
|
|
54
|
-
},
|
|
55
|
-
textStyle,
|
|
56
|
-
])}>
|
|
57
|
-
{message}
|
|
58
|
-
</AtomicText>);
|
|
59
|
-
};
|
|
60
|
-
// =============================================================================
|
|
61
|
-
// EXPORTS
|
|
62
|
-
// =============================================================================
|
|
63
|
-
export default AtomicFormError;
|
|
64
|
-
//# sourceMappingURL=AtomicFormError.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AtomicFormError.js","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicFormError.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAmC,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAiBvD,gFAAgF;AAChF,2BAA2B;AAC3B,gFAAgF;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,EAC9D,OAAO,EACP,OAAO,GAAG,OAAO,EACjB,KAAK,EACL,SAAS,GACV,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,kBAAkB,EAAE,CAAC;IAEpC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,OAAO,KAAK,QAAQ,EAAE,CAAC;QACzB,OAAO,CACL,CAAC,IAAI,CACH,KAAK,CAAC,CAAC;gBACL;oBACE,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE;oBAC1B,YAAY,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;oBACtC,YAAY,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE;oBAC/B,eAAe,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC;iBACtD;gBACD,KAAK;aACN,CAAC,CAEF;QAAA,CAAC,UAAU,CACT,IAAI,CAAC,WAAW,CAChB,KAAK,CAAC,OAAO,CACb,KAAK,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;gBACxB;oBACE,SAAS,EAAE,QAAQ;oBACnB,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC,MAAM;iBACrC;gBACD,SAAS;aACV,CAAC,CAAC,CAEH;UAAA,CAAC,OAAO,CACV;QAAA,EAAE,UAAU,CACd;MAAA,EAAE,IAAI,CAAC,CACR,CAAC;IACJ,CAAC;IAED,OAAO,CACL,CAAC,UAAU,CACT,IAAI,CAAC,WAAW,CAChB,KAAK,CAAC,OAAO,CACb,KAAK,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;YACxB;gBACE,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE;gBAC5B,UAAU,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE;aAC9B;YACD,SAAS;SACV,CAAC,CAAC,CAEH;MAAA,CAAC,OAAO,CACV;IAAA,EAAE,UAAU,CAAC,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,gFAAgF;AAChF,UAAU;AACV,gFAAgF;AAEhF,eAAe,eAAe,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
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;
|
|
35
|
-
//# sourceMappingURL=AtomicIcon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AtomicIcon.d.ts","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAE1F;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAE1C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC;AACxC,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC;AACtC,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC;AACxC,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
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 { Icon } 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 const AtomicIcon = (props) => {
|
|
28
|
-
return <Icon {...props}/>;
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=AtomicIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AtomicIcon.js","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAGjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,UAAU,GAAwB,CAAC,KAAK,EAAE,EAAE;IACvD,OAAO,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC7B,CAAC,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AtomicImage - Universal Image Component
|
|
3
|
-
*
|
|
4
|
-
* Provides consistent image handling across the app with theme integration
|
|
5
|
-
* Theme: {{THEME_NAME}} ({{CATEGORY}} category)
|
|
6
|
-
*
|
|
7
|
-
* Atomic Design Level: ATOM
|
|
8
|
-
* Purpose: Basic image display with consistent styling
|
|
9
|
-
*
|
|
10
|
-
* Usage:
|
|
11
|
-
* - Profile pictures
|
|
12
|
-
* - Product images
|
|
13
|
-
* - Icons and illustrations
|
|
14
|
-
* - Background images
|
|
15
|
-
*/
|
|
16
|
-
import React from 'react';
|
|
17
|
-
import { ImageProps, ViewStyle } from 'react-native';
|
|
18
|
-
export interface AtomicImageProps extends Omit<ImageProps, 'style'> {
|
|
19
|
-
/** Image source */
|
|
20
|
-
source: ImageProps['source'];
|
|
21
|
-
/** Size variant */
|
|
22
|
-
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
23
|
-
/** Shape variant */
|
|
24
|
-
shape?: 'square' | 'circle' | 'rounded';
|
|
25
|
-
/** Border radius override */
|
|
26
|
-
borderRadius?: number;
|
|
27
|
-
/** Container style override */
|
|
28
|
-
style?: ViewStyle | ViewStyle[];
|
|
29
|
-
/** Image style override */
|
|
30
|
-
imageStyle?: ImageProps['style'];
|
|
31
|
-
/** Background color */
|
|
32
|
-
backgroundColor?: string;
|
|
33
|
-
/** Border color */
|
|
34
|
-
borderColor?: string;
|
|
35
|
-
/** Border width */
|
|
36
|
-
borderWidth?: number;
|
|
37
|
-
}
|
|
38
|
-
export declare const AtomicImage: React.FC<AtomicImageProps>;
|
|
39
|
-
export default AtomicImage;
|
|
40
|
-
//# sourceMappingURL=AtomicImage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AtomicImage.d.ts","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicImage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,UAAU,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;AAOxE,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;IACjE,mBAAmB;IACnB,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;IAC7B,mBAAmB;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IAChD,oBAAoB;IACpB,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACxC,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAChC,2BAA2B;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACjC,uBAAuB;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAmBD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8ClD,CAAC;AAwCF,eAAe,WAAW,CAAC"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AtomicImage - Universal Image Component
|
|
3
|
-
*
|
|
4
|
-
* Provides consistent image handling across the app with theme integration
|
|
5
|
-
* Theme: {{THEME_NAME}} ({{CATEGORY}} category)
|
|
6
|
-
*
|
|
7
|
-
* Atomic Design Level: ATOM
|
|
8
|
-
* Purpose: Basic image display with consistent styling
|
|
9
|
-
*
|
|
10
|
-
* Usage:
|
|
11
|
-
* - Profile pictures
|
|
12
|
-
* - Product images
|
|
13
|
-
* - Icons and illustrations
|
|
14
|
-
* - Background images
|
|
15
|
-
*/
|
|
16
|
-
import React from 'react';
|
|
17
|
-
import { Image, StyleSheet } from 'react-native';
|
|
18
|
-
import { useAppDesignTokens } from '../hooks/useAppDesignTokens';
|
|
19
|
-
// =============================================================================
|
|
20
|
-
// SIZE CONFIGURATION
|
|
21
|
-
// =============================================================================
|
|
22
|
-
const SIZE_CONFIG = {
|
|
23
|
-
xs: 24,
|
|
24
|
-
sm: 32,
|
|
25
|
-
md: 48,
|
|
26
|
-
lg: 64,
|
|
27
|
-
xl: 96,
|
|
28
|
-
xxl: 128,
|
|
29
|
-
};
|
|
30
|
-
// =============================================================================
|
|
31
|
-
// COMPONENT IMPLEMENTATION
|
|
32
|
-
// =============================================================================
|
|
33
|
-
export const AtomicImage = ({ source, size = 'md', shape = 'rounded', borderRadius, style, imageStyle, backgroundColor, borderColor, borderWidth = 0, ...props }) => {
|
|
34
|
-
const tokens = useAppDesignTokens();
|
|
35
|
-
const styles = getStyles(tokens);
|
|
36
|
-
const imageSize = SIZE_CONFIG[size];
|
|
37
|
-
const calculatedBorderRadius = borderRadius ?? getBorderRadius(shape, imageSize, tokens);
|
|
38
|
-
const containerStyle = [
|
|
39
|
-
styles.container,
|
|
40
|
-
{
|
|
41
|
-
width: imageSize,
|
|
42
|
-
height: imageSize,
|
|
43
|
-
borderRadius: calculatedBorderRadius,
|
|
44
|
-
backgroundColor: backgroundColor || tokens.colors.surface,
|
|
45
|
-
borderColor: borderColor || tokens.colors.border,
|
|
46
|
-
borderWidth,
|
|
47
|
-
},
|
|
48
|
-
style,
|
|
49
|
-
];
|
|
50
|
-
const finalImageStyle = [
|
|
51
|
-
styles.image,
|
|
52
|
-
{
|
|
53
|
-
borderRadius: calculatedBorderRadius,
|
|
54
|
-
},
|
|
55
|
-
imageStyle,
|
|
56
|
-
];
|
|
57
|
-
return (<Image source={source} style={finalImageStyle} {...props}/>);
|
|
58
|
-
};
|
|
59
|
-
// =============================================================================
|
|
60
|
-
// HELPER FUNCTIONS
|
|
61
|
-
// =============================================================================
|
|
62
|
-
const getBorderRadius = (shape, size, tokens) => {
|
|
63
|
-
switch (shape) {
|
|
64
|
-
case 'circle':
|
|
65
|
-
return size / 2;
|
|
66
|
-
case 'square':
|
|
67
|
-
return 0;
|
|
68
|
-
case 'rounded':
|
|
69
|
-
default:
|
|
70
|
-
return tokens.borders.radius.md;
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
// =============================================================================
|
|
74
|
-
// STYLES
|
|
75
|
-
// =============================================================================
|
|
76
|
-
const getStyles = (tokens) => StyleSheet.create({
|
|
77
|
-
container: {
|
|
78
|
-
overflow: 'hidden',
|
|
79
|
-
justifyContent: 'center',
|
|
80
|
-
alignItems: 'center',
|
|
81
|
-
},
|
|
82
|
-
image: {
|
|
83
|
-
width: '100%',
|
|
84
|
-
height: '100%',
|
|
85
|
-
resizeMode: 'cover',
|
|
86
|
-
},
|
|
87
|
-
});
|
|
88
|
-
// =============================================================================
|
|
89
|
-
// EXPORTS
|
|
90
|
-
// =============================================================================
|
|
91
|
-
export default AtomicImage;
|
|
92
|
-
//# sourceMappingURL=AtomicImage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AtomicImage.js","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicImage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAc,UAAU,EAAa,MAAM,cAAc,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AA2BjE,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAEhF,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,E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KAAK,EAAE,CAAC;QACd,KAAK,QAAQ;YACX,OAAO,IAAI,GAAG,CAAC,CAAC;QAClB,KAAK,QAAQ;YACX,OAAO,CAAC,CAAC;QACX,KAAK,SAAS,CAAC;QACf;YACE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;IACpC,CAAC;AACH,CAAC,CAAC;AAEF,gFAAgF;AAChF,SAAS;AACT,gFAAgF;AAEhF,MAAM,SAAS,GAAG,CAAC,MAA6C,EAAE,EAAE,CAClE,UAAU,CAAC,MAAM,CAAC;IAChB,SAAS,EAAE;QACT,QAAQ,EAAE,QAAQ;QAClB,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;KACrB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,OAAO;KACpB;CACF,CAAC,CAAC;AAEL,gFAAgF;AAChF,UAAU;AACV,gFAAgF;AAEhF,eAAe,WAAW,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import type { AtomicIconName } from './AtomicIcon';
|
|
4
|
-
export type AtomicInputVariant = 'outlined' | 'filled' | 'flat';
|
|
5
|
-
export type AtomicInputState = 'default' | 'error' | 'success' | 'disabled';
|
|
6
|
-
export type AtomicInputSize = 'sm' | 'md' | 'lg';
|
|
7
|
-
export interface AtomicInputProps {
|
|
8
|
-
/** Input label */
|
|
9
|
-
label?: string;
|
|
10
|
-
/** Current input value */
|
|
11
|
-
value?: string;
|
|
12
|
-
/** Value change callback */
|
|
13
|
-
onChangeText?: (text: string) => void;
|
|
14
|
-
/** Input variant (outlined, filled, flat) */
|
|
15
|
-
variant?: AtomicInputVariant;
|
|
16
|
-
/** Input state (default, error, success, disabled) */
|
|
17
|
-
state?: AtomicInputState;
|
|
18
|
-
/** Input size (sm, md, lg) */
|
|
19
|
-
size?: AtomicInputSize;
|
|
20
|
-
/** Placeholder text */
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
/** Helper text below input */
|
|
23
|
-
helperText?: string;
|
|
24
|
-
/** Leading icon (Lucide icon name) */
|
|
25
|
-
leadingIcon?: AtomicIconName;
|
|
26
|
-
/** Trailing icon (Lucide icon name) */
|
|
27
|
-
trailingIcon?: AtomicIconName;
|
|
28
|
-
/** Callback when trailing icon is pressed */
|
|
29
|
-
onTrailingIconPress?: () => void;
|
|
30
|
-
/** Show password toggle for secure inputs */
|
|
31
|
-
showPasswordToggle?: boolean;
|
|
32
|
-
/** Secure text entry (password field) */
|
|
33
|
-
secureTextEntry?: boolean;
|
|
34
|
-
/** Maximum character length */
|
|
35
|
-
maxLength?: number;
|
|
36
|
-
/** Show character counter */
|
|
37
|
-
showCharacterCount?: boolean;
|
|
38
|
-
/** Keyboard type */
|
|
39
|
-
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'url' | 'number-pad' | 'decimal-pad';
|
|
40
|
-
/** Auto-capitalize */
|
|
41
|
-
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
42
|
-
/** Auto-correct */
|
|
43
|
-
autoCorrect?: boolean;
|
|
44
|
-
/** Disabled state */
|
|
45
|
-
disabled?: boolean;
|
|
46
|
-
/** Container style */
|
|
47
|
-
style?: StyleProp<ViewStyle>;
|
|
48
|
-
/** Input text style */
|
|
49
|
-
inputStyle?: StyleProp<TextStyle>;
|
|
50
|
-
/** Test ID for E2E testing */
|
|
51
|
-
testID?: string;
|
|
52
|
-
/** Blur callback */
|
|
53
|
-
onBlur?: () => void;
|
|
54
|
-
/** Focus callback */
|
|
55
|
-
onFocus?: () => void;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* AtomicInput - Pure React Native Text Input
|
|
59
|
-
*
|
|
60
|
-
* Features:
|
|
61
|
-
* - Pure React Native implementation (no Paper dependency)
|
|
62
|
-
* - Lucide icons for password toggle and custom icons
|
|
63
|
-
* - Outlined/filled/flat variants
|
|
64
|
-
* - Error, success, disabled states
|
|
65
|
-
* - Character counter
|
|
66
|
-
* - Responsive sizing
|
|
67
|
-
* - Full accessibility support
|
|
68
|
-
*/
|
|
69
|
-
export declare const AtomicInput: React.FC<AtomicInputProps>;
|
|
70
|
-
export type { AtomicInputProps as InputProps };
|
|
71
|
-
//# sourceMappingURL=AtomicInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AtomicInput.d.ts","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAA0C,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIvG,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,cAAc,CAAC;AAEnE,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;AAC5E,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,6CAA6C;IAC7C,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,sDAAsD;IACtD,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,UAAU,CAAC,EAAE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
import { View, TextInput, Pressable, StyleSheet } from 'react-native';
|
|
3
|
-
import { useAppDesignTokens } from '../hooks/useAppDesignTokens';
|
|
4
|
-
import { AtomicIcon } from './AtomicIcon';
|
|
5
|
-
import { AtomicText } from './AtomicText';
|
|
6
|
-
/**
|
|
7
|
-
* AtomicInput - Pure React Native Text Input
|
|
8
|
-
*
|
|
9
|
-
* Features:
|
|
10
|
-
* - Pure React Native implementation (no Paper dependency)
|
|
11
|
-
* - Lucide icons for password toggle and custom icons
|
|
12
|
-
* - Outlined/filled/flat variants
|
|
13
|
-
* - Error, success, disabled states
|
|
14
|
-
* - Character counter
|
|
15
|
-
* - Responsive sizing
|
|
16
|
-
* - Full accessibility support
|
|
17
|
-
*/
|
|
18
|
-
export const AtomicInput = ({ variant = 'outlined', state = 'default', size = 'md', label, value = '', onChangeText, placeholder, helperText, leadingIcon, trailingIcon, onTrailingIconPress, showPasswordToggle = false, secureTextEntry = false, maxLength, showCharacterCount = false, keyboardType = 'default', autoCapitalize = 'sentences', autoCorrect = true, disabled = false, style, inputStyle, testID, onBlur, onFocus, }) => {
|
|
19
|
-
const tokens = useAppDesignTokens();
|
|
20
|
-
const [isPasswordVisible, setIsPasswordVisible] = useState(false);
|
|
21
|
-
const [isFocused, setIsFocused] = useState(false);
|
|
22
|
-
const isDisabled = state === 'disabled' || disabled;
|
|
23
|
-
const characterCount = value?.toString().length || 0;
|
|
24
|
-
const hasError = state === 'error';
|
|
25
|
-
const hasSuccess = state === 'success';
|
|
26
|
-
// Size configuration
|
|
27
|
-
const sizeConfig = {
|
|
28
|
-
sm: {
|
|
29
|
-
paddingVertical: tokens.spacing.xs,
|
|
30
|
-
paddingHorizontal: tokens.spacing.sm,
|
|
31
|
-
fontSize: tokens.typography.bodySmall.fontSize,
|
|
32
|
-
iconSize: 16,
|
|
33
|
-
minHeight: 40,
|
|
34
|
-
},
|
|
35
|
-
md: {
|
|
36
|
-
paddingVertical: tokens.spacing.sm,
|
|
37
|
-
paddingHorizontal: tokens.spacing.md,
|
|
38
|
-
fontSize: tokens.typography.bodyMedium.fontSize,
|
|
39
|
-
iconSize: 20,
|
|
40
|
-
minHeight: 48,
|
|
41
|
-
},
|
|
42
|
-
lg: {
|
|
43
|
-
paddingVertical: tokens.spacing.md,
|
|
44
|
-
paddingHorizontal: tokens.spacing.lg,
|
|
45
|
-
fontSize: tokens.typography.bodyLarge.fontSize,
|
|
46
|
-
iconSize: 24,
|
|
47
|
-
minHeight: 56,
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
const config = sizeConfig[size];
|
|
51
|
-
// Get variant styles
|
|
52
|
-
const getVariantStyle = () => {
|
|
53
|
-
const baseStyle = {
|
|
54
|
-
backgroundColor: tokens.colors.surface,
|
|
55
|
-
borderRadius: tokens.borders.radius.md,
|
|
56
|
-
};
|
|
57
|
-
let borderColor = tokens.colors.border;
|
|
58
|
-
if (isFocused)
|
|
59
|
-
borderColor = tokens.colors.primary;
|
|
60
|
-
if (hasError)
|
|
61
|
-
borderColor = tokens.colors.error;
|
|
62
|
-
if (hasSuccess)
|
|
63
|
-
borderColor = tokens.colors.success;
|
|
64
|
-
if (isDisabled)
|
|
65
|
-
borderColor = tokens.colors.borderDisabled;
|
|
66
|
-
switch (variant) {
|
|
67
|
-
case 'outlined':
|
|
68
|
-
return {
|
|
69
|
-
...baseStyle,
|
|
70
|
-
borderWidth: isFocused ? 2 : 1,
|
|
71
|
-
borderColor,
|
|
72
|
-
};
|
|
73
|
-
case 'filled':
|
|
74
|
-
return {
|
|
75
|
-
...baseStyle,
|
|
76
|
-
backgroundColor: tokens.colors.surfaceSecondary,
|
|
77
|
-
borderWidth: 0,
|
|
78
|
-
borderBottomWidth: isFocused ? 2 : 1,
|
|
79
|
-
borderBottomColor: borderColor,
|
|
80
|
-
};
|
|
81
|
-
case 'flat':
|
|
82
|
-
return {
|
|
83
|
-
...baseStyle,
|
|
84
|
-
backgroundColor: 'transparent',
|
|
85
|
-
borderWidth: 0,
|
|
86
|
-
borderBottomWidth: 1,
|
|
87
|
-
borderBottomColor: borderColor,
|
|
88
|
-
borderRadius: 0,
|
|
89
|
-
};
|
|
90
|
-
default:
|
|
91
|
-
return baseStyle;
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
// Get text color based on state
|
|
95
|
-
const getTextColor = () => {
|
|
96
|
-
if (isDisabled)
|
|
97
|
-
return tokens.colors.textDisabled;
|
|
98
|
-
if (hasError)
|
|
99
|
-
return tokens.colors.error;
|
|
100
|
-
if (hasSuccess)
|
|
101
|
-
return tokens.colors.success;
|
|
102
|
-
return tokens.colors.textPrimary;
|
|
103
|
-
};
|
|
104
|
-
const iconColor = isDisabled ? tokens.colors.textDisabled : tokens.colors.textSecondary;
|
|
105
|
-
const containerStyle = [
|
|
106
|
-
styles.container,
|
|
107
|
-
getVariantStyle(),
|
|
108
|
-
{
|
|
109
|
-
paddingVertical: config.paddingVertical,
|
|
110
|
-
paddingHorizontal: config.paddingHorizontal,
|
|
111
|
-
minHeight: config.minHeight,
|
|
112
|
-
opacity: isDisabled ? 0.5 : 1,
|
|
113
|
-
},
|
|
114
|
-
style,
|
|
115
|
-
];
|
|
116
|
-
const textInputStyle = [
|
|
117
|
-
styles.input,
|
|
118
|
-
{
|
|
119
|
-
fontSize: config.fontSize,
|
|
120
|
-
color: getTextColor(),
|
|
121
|
-
},
|
|
122
|
-
leadingIcon ? { paddingLeft: config.iconSize + 8 } : undefined,
|
|
123
|
-
(trailingIcon || showPasswordToggle) ? { paddingRight: config.iconSize + 8 } : undefined,
|
|
124
|
-
inputStyle,
|
|
125
|
-
];
|
|
126
|
-
return (<View testID={testID}>
|
|
127
|
-
{label && (<AtomicText type="labelMedium" color={hasError ? 'error' : hasSuccess ? 'success' : 'secondary'} style={styles.label}>
|
|
128
|
-
{label}
|
|
129
|
-
</AtomicText>)}
|
|
130
|
-
|
|
131
|
-
<View style={containerStyle}>
|
|
132
|
-
{leadingIcon && (<View style={styles.leadingIcon}>
|
|
133
|
-
<AtomicIcon name={leadingIcon} customSize={config.iconSize} customColor={iconColor}/>
|
|
134
|
-
</View>)}
|
|
135
|
-
|
|
136
|
-
<TextInput value={value} onChangeText={onChangeText} placeholder={placeholder} placeholderTextColor={tokens.colors.textSecondary} secureTextEntry={secureTextEntry && !isPasswordVisible} maxLength={maxLength} keyboardType={keyboardType} autoCapitalize={autoCapitalize} autoCorrect={autoCorrect} editable={!isDisabled} style={textInputStyle} onBlur={() => {
|
|
137
|
-
setIsFocused(false);
|
|
138
|
-
onBlur?.();
|
|
139
|
-
}} onFocus={() => {
|
|
140
|
-
setIsFocused(true);
|
|
141
|
-
onFocus?.();
|
|
142
|
-
}} testID={testID ? `${testID}-input` : undefined}/>
|
|
143
|
-
|
|
144
|
-
{(showPasswordToggle && secureTextEntry) && (<Pressable onPress={() => setIsPasswordVisible(!isPasswordVisible)} style={styles.trailingIcon}>
|
|
145
|
-
<AtomicIcon name={isPasswordVisible ? "EyeOff" : "Eye"} customSize={config.iconSize} customColor={iconColor}/>
|
|
146
|
-
</Pressable>)}
|
|
147
|
-
|
|
148
|
-
{trailingIcon && !showPasswordToggle && (<Pressable onPress={onTrailingIconPress} style={styles.trailingIcon} disabled={!onTrailingIconPress}>
|
|
149
|
-
<AtomicIcon name={trailingIcon} customSize={config.iconSize} customColor={iconColor}/>
|
|
150
|
-
</Pressable>)}
|
|
151
|
-
</View>
|
|
152
|
-
|
|
153
|
-
{(helperText || showCharacterCount) && (<View style={styles.helperRow}>
|
|
154
|
-
{helperText && (<AtomicText type="bodySmall" color={hasError ? 'error' : 'secondary'} style={styles.helperText} testID={testID ? `${testID}-helper` : undefined}>
|
|
155
|
-
{helperText}
|
|
156
|
-
</AtomicText>)}
|
|
157
|
-
{showCharacterCount && maxLength && (<AtomicText type="bodySmall" color="secondary" style={styles.characterCount} testID={testID ? `${testID}-count` : undefined}>
|
|
158
|
-
{characterCount}/{maxLength}
|
|
159
|
-
</AtomicText>)}
|
|
160
|
-
</View>)}
|
|
161
|
-
</View>);
|
|
162
|
-
};
|
|
163
|
-
const styles = StyleSheet.create({
|
|
164
|
-
container: {
|
|
165
|
-
flexDirection: 'row',
|
|
166
|
-
alignItems: 'center',
|
|
167
|
-
},
|
|
168
|
-
input: {
|
|
169
|
-
flex: 1,
|
|
170
|
-
},
|
|
171
|
-
label: {
|
|
172
|
-
marginBottom: 4,
|
|
173
|
-
},
|
|
174
|
-
leadingIcon: {
|
|
175
|
-
position: 'absolute',
|
|
176
|
-
left: 12,
|
|
177
|
-
zIndex: 1,
|
|
178
|
-
},
|
|
179
|
-
trailingIcon: {
|
|
180
|
-
position: 'absolute',
|
|
181
|
-
right: 12,
|
|
182
|
-
zIndex: 1,
|
|
183
|
-
},
|
|
184
|
-
helperRow: {
|
|
185
|
-
flexDirection: 'row',
|
|
186
|
-
justifyContent: 'space-between',
|
|
187
|
-
marginTop: 4,
|
|
188
|
-
},
|
|
189
|
-
helperText: {
|
|
190
|
-
flex: 1,
|
|
191
|
-
},
|
|
192
|
-
characterCount: {
|
|
193
|
-
marginLeft: 8,
|
|
194
|
-
},
|
|
195
|
-
});
|
|
196
|
-
//# sourceMappingURL=AtomicInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AtomicInput.js","sourceRoot":"","sources":["../../../src/presentation/atoms/AtomicInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAmC,MAAM,cAAc,CAAC;AACvG,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA0D1C;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,WAAW,GAA+B,CAAC,EACtD,OAAO,GAAG,UAAU,EACpB,KAAK,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