@rahmatsaputra-my-id/react-js-library 0.0.5
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/LICENSE +21 -0
- package/README.md +46 -0
- package/dist/components/BottomSheet/BottomSheet.component.d.ts +4 -0
- package/dist/components/BottomSheet/BottomSheet.component.styles.d.ts +2 -0
- package/dist/components/BottomSheet/BottomSheet.component.types.d.ts +10 -0
- package/dist/components/BottomSheet/index.d.ts +2 -0
- package/dist/components/BottomSheetPhoto/components/BottomSheetPhoto.component.d.ts +4 -0
- package/dist/components/BottomSheetPhoto/components/CameraModal.component.d.ts +4 -0
- package/dist/components/BottomSheetPhoto/index.d.ts +2 -0
- package/dist/components/BottomSheetPhoto/styles/BottomSheetPhoto.component.style.d.ts +2 -0
- package/dist/components/BottomSheetPhoto/styles/CameraModal.component.style.d.ts +2 -0
- package/dist/components/BottomSheetPhoto/types/BottomSheetPhoto.types.d.ts +10 -0
- package/dist/components/Button/Button.component.d.ts +4 -0
- package/dist/components/Button/Button.component.styles.d.ts +9 -0
- package/dist/components/Button/Button.types.d.ts +19 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Container/Container.component.d.ts +4 -0
- package/dist/components/Container/Container.component.styles.d.ts +12 -0
- package/dist/components/Container/Container.types.d.ts +6 -0
- package/dist/components/Container/index.d.ts +2 -0
- package/dist/components/CountDown/CountDown.component.d.ts +4 -0
- package/dist/components/CountDown/CountDown.component.style.d.ts +32 -0
- package/dist/components/CountDown/CountDown.types.d.ts +11 -0
- package/dist/components/CountDown/index.d.ts +2 -0
- package/dist/components/DropDown/DropDown.component.d.ts +4 -0
- package/dist/components/DropDown/DropDown.types.d.ts +18 -0
- package/dist/components/DropDown/index.d.ts +2 -0
- package/dist/components/Image/Image.component.d.ts +4 -0
- package/dist/components/Image/Image.types.d.ts +16 -0
- package/dist/components/Image/index.d.ts +2 -0
- package/dist/components/ImageInput/ImageInput.component.d.ts +4 -0
- package/dist/components/ImageInput/ImageInput.component.styles.d.ts +44 -0
- package/dist/components/ImageInput/ImageInput.component.types.d.ts +10 -0
- package/dist/components/ImageInput/index.d.ts +2 -0
- package/dist/components/ImageSlider/ImageSlider.component.d.ts +4 -0
- package/dist/components/ImageSlider/ImageSlider.component.styles.d.ts +1 -0
- package/dist/components/ImageSlider/ImageSlider.types.d.ts +7 -0
- package/dist/components/ImageSlider/index.d.ts +2 -0
- package/dist/components/LoadingSpinner/LoadingSpinner.component.d.ts +5 -0
- package/dist/components/LoadingSpinner/LoadingSpinner.styles.d.ts +33 -0
- package/dist/components/LoadingSpinner/LoadingSpinner.types.d.ts +4 -0
- package/dist/components/LoadingSpinner/index.d.ts +2 -0
- package/dist/components/MultipleImageInput/MultipleImageInput.component.d.ts +4 -0
- package/dist/components/MultipleImageInput/MultipleImageInput.component.styles.d.ts +1 -0
- package/dist/components/MultipleImageInput/MultipleImageInput.types.d.ts +11 -0
- package/dist/components/MultipleImageInput/index.d.ts +2 -0
- package/dist/components/NoRecord/NoRecord.component.d.ts +4 -0
- package/dist/components/NoRecord/NoRecord.component.styles.d.ts +7 -0
- package/dist/components/NoRecord/NoRecord.types.d.ts +5 -0
- package/dist/components/NoRecord/index.d.ts +2 -0
- package/dist/components/PopUp/PopUp.component.d.ts +4 -0
- package/dist/components/PopUp/PopUp.component.styles.d.ts +40 -0
- package/dist/components/PopUp/PopUp.types.d.ts +16 -0
- package/dist/components/PopUp/index.d.ts +2 -0
- package/dist/components/PreviewPhoto/PreviewPhoto.component.d.ts +4 -0
- package/dist/components/PreviewPhoto/PreviewPhoto.styles.d.ts +4 -0
- package/dist/components/PreviewPhoto/PreviewPhoto.types.d.ts +5 -0
- package/dist/components/PreviewPhoto/index.d.ts +2 -0
- package/dist/components/ScannerQR/ScannerQR.component.d.ts +4 -0
- package/dist/components/ScannerQR/ScannerQR.component.styles.d.ts +50 -0
- package/dist/components/ScannerQR/ScannerQR.types.d.ts +4 -0
- package/dist/components/ScannerQR/index.d.ts +2 -0
- package/dist/components/SearchBox/SearchBox.component.d.ts +3 -0
- package/dist/components/SearchBox/SearchBox.styles.d.ts +2 -0
- package/dist/components/SearchBox/SearchBox.types.d.ts +10 -0
- package/dist/components/SearchBox/index.d.ts +2 -0
- package/dist/components/Swipeable/Swipeable.component.d.ts +4 -0
- package/dist/components/Swipeable/Swipeable.types.d.ts +7 -0
- package/dist/components/Swipeable/index.d.ts +2 -0
- package/dist/components/Text/Text.component.d.ts +4 -0
- package/dist/components/Text/Text.styles.d.ts +176 -0
- package/dist/components/Text/Text.types.d.ts +13 -0
- package/dist/components/Text/index.d.ts +2 -0
- package/dist/components/TextInput/TextInput.component.d.ts +4 -0
- package/dist/components/TextInput/TextInput.component.styles.d.ts +49 -0
- package/dist/components/TextInput/TextInput.types.d.ts +24 -0
- package/dist/components/TextInput/index.d.ts +2 -0
- package/dist/components/TouchableOpacity/TouchableOpacity.component.d.ts +4 -0
- package/dist/components/TouchableOpacity/TouchableOpacity.component.styles.d.ts +7 -0
- package/dist/components/TouchableOpacity/TouchableOpacity.types.d.ts +13 -0
- package/dist/components/TouchableOpacity/index.d.ts +2 -0
- package/dist/components/View/View.component.d.ts +4 -0
- package/dist/components/View/View.types.d.ts +12 -0
- package/dist/components/View/index.d.ts +2 -0
- package/dist/constants/Colors/Color.types.d.ts +100 -0
- package/dist/constants/Colors/index.d.ts +2 -0
- package/dist/constants/Images/Images.types.d.ts +24 -0
- package/dist/constants/Images/index.d.ts +2 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.es.js +30268 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.js +30298 -0
- package/dist/index.js.map +1 -0
- package/dist/setupTests.d.ts +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const cameraStyles: {
|
|
2
|
+
overlay: {
|
|
3
|
+
position: string;
|
|
4
|
+
top: number;
|
|
5
|
+
left: number;
|
|
6
|
+
height: string;
|
|
7
|
+
width: string;
|
|
8
|
+
backgroundColor: "#000000" | undefined;
|
|
9
|
+
zIndex: number;
|
|
10
|
+
overflow: string;
|
|
11
|
+
};
|
|
12
|
+
video: {
|
|
13
|
+
width: string;
|
|
14
|
+
height: string;
|
|
15
|
+
objectFit: string;
|
|
16
|
+
};
|
|
17
|
+
closeButton: {
|
|
18
|
+
position: string;
|
|
19
|
+
top: number;
|
|
20
|
+
right: number;
|
|
21
|
+
fontSize: number;
|
|
22
|
+
backgroundColor: "rgba(0, 0, 0, 0.5)" | undefined;
|
|
23
|
+
color: "#FFFFFF" | undefined;
|
|
24
|
+
border: string;
|
|
25
|
+
borderRadius: string;
|
|
26
|
+
width: number;
|
|
27
|
+
height: number;
|
|
28
|
+
cursor: string;
|
|
29
|
+
textAlign: string;
|
|
30
|
+
lineHeight: string;
|
|
31
|
+
};
|
|
32
|
+
floatingBottomRotateButtons: {
|
|
33
|
+
position: string;
|
|
34
|
+
bottom: number;
|
|
35
|
+
left: string;
|
|
36
|
+
transform: string;
|
|
37
|
+
};
|
|
38
|
+
captureRotateButton: {
|
|
39
|
+
height: number;
|
|
40
|
+
width: number;
|
|
41
|
+
backgroundColor: "#FFFFFF" | undefined;
|
|
42
|
+
borderRadius: number;
|
|
43
|
+
justifyContent: string;
|
|
44
|
+
alignItems: string;
|
|
45
|
+
};
|
|
46
|
+
rotateButton: {
|
|
47
|
+
height: number;
|
|
48
|
+
width: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
export interface SearchBoxProps {
|
|
3
|
+
handleOnSubmitSearch: (value: string) => void;
|
|
4
|
+
handleOnClearSearch?: () => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
value: string;
|
|
7
|
+
onChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
8
|
+
handleOnScanQr?: (data?: string) => void;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
h1: {
|
|
3
|
+
fontSize: number;
|
|
4
|
+
};
|
|
5
|
+
h2: {
|
|
6
|
+
fontSize: number;
|
|
7
|
+
};
|
|
8
|
+
h3: {
|
|
9
|
+
fontSize: number;
|
|
10
|
+
};
|
|
11
|
+
h4: {
|
|
12
|
+
fontSize: number;
|
|
13
|
+
};
|
|
14
|
+
h5: {
|
|
15
|
+
fontSize: number;
|
|
16
|
+
};
|
|
17
|
+
h6: {
|
|
18
|
+
fontSize: number;
|
|
19
|
+
};
|
|
20
|
+
normal_10: {
|
|
21
|
+
fontSize: number;
|
|
22
|
+
};
|
|
23
|
+
normal_10_grey: {
|
|
24
|
+
color: "#B0B0B0" | undefined;
|
|
25
|
+
fontSize: number;
|
|
26
|
+
};
|
|
27
|
+
bold_10: {
|
|
28
|
+
fontSize: number;
|
|
29
|
+
fontWeight: string;
|
|
30
|
+
};
|
|
31
|
+
normal_12: {
|
|
32
|
+
fontSize: number;
|
|
33
|
+
};
|
|
34
|
+
normal_12_blue: {
|
|
35
|
+
color: "#227AEA" | undefined;
|
|
36
|
+
fontSize: number;
|
|
37
|
+
};
|
|
38
|
+
normal_12_grey: {
|
|
39
|
+
color: "#B0B0B0" | undefined;
|
|
40
|
+
fontSize: number;
|
|
41
|
+
};
|
|
42
|
+
normal_12_red: {
|
|
43
|
+
color: "#D45757" | undefined;
|
|
44
|
+
fontSize: number;
|
|
45
|
+
};
|
|
46
|
+
bold_12: {
|
|
47
|
+
fontSize: number;
|
|
48
|
+
fontWeight: string;
|
|
49
|
+
};
|
|
50
|
+
normal_14: {
|
|
51
|
+
fontSize: number;
|
|
52
|
+
};
|
|
53
|
+
normal_14_red: {
|
|
54
|
+
color: "#D45757" | undefined;
|
|
55
|
+
fontSize: number;
|
|
56
|
+
};
|
|
57
|
+
bold_14: {
|
|
58
|
+
fontSize: number;
|
|
59
|
+
fontWeight: string;
|
|
60
|
+
};
|
|
61
|
+
normal_16: {
|
|
62
|
+
fontSize: number;
|
|
63
|
+
};
|
|
64
|
+
bold_16: {
|
|
65
|
+
fontSize: number;
|
|
66
|
+
fontWeight: string;
|
|
67
|
+
};
|
|
68
|
+
normal_18: {
|
|
69
|
+
fontSize: number;
|
|
70
|
+
};
|
|
71
|
+
bold_18: {
|
|
72
|
+
fontSize: number;
|
|
73
|
+
fontWeight: string;
|
|
74
|
+
};
|
|
75
|
+
normal_20: {
|
|
76
|
+
fontSize: number;
|
|
77
|
+
};
|
|
78
|
+
bold_20: {
|
|
79
|
+
fontSize: number;
|
|
80
|
+
fontWeight: string;
|
|
81
|
+
};
|
|
82
|
+
bold_20_white: {
|
|
83
|
+
color: "#FFFFFF" | undefined;
|
|
84
|
+
fontSize: number;
|
|
85
|
+
fontWeight: string;
|
|
86
|
+
};
|
|
87
|
+
normal_22: {
|
|
88
|
+
fontSize: number;
|
|
89
|
+
};
|
|
90
|
+
bold_22: {
|
|
91
|
+
fontSize: number;
|
|
92
|
+
fontWeight: string;
|
|
93
|
+
};
|
|
94
|
+
normal_24: {
|
|
95
|
+
fontSize: number;
|
|
96
|
+
};
|
|
97
|
+
bold_24: {
|
|
98
|
+
fontSize: number;
|
|
99
|
+
fontWeight: string;
|
|
100
|
+
};
|
|
101
|
+
normal_26: {
|
|
102
|
+
fontSize: number;
|
|
103
|
+
};
|
|
104
|
+
bold_26: {
|
|
105
|
+
fontSize: number;
|
|
106
|
+
fontWeight: string;
|
|
107
|
+
};
|
|
108
|
+
normal_28: {
|
|
109
|
+
fontSize: number;
|
|
110
|
+
};
|
|
111
|
+
bold_28: {
|
|
112
|
+
fontSize: number;
|
|
113
|
+
fontWeight: string;
|
|
114
|
+
};
|
|
115
|
+
normal_30: {
|
|
116
|
+
fontSize: number;
|
|
117
|
+
};
|
|
118
|
+
bold_30: {
|
|
119
|
+
fontSize: number;
|
|
120
|
+
fontWeight: string;
|
|
121
|
+
};
|
|
122
|
+
normal_32: {
|
|
123
|
+
fontSize: number;
|
|
124
|
+
};
|
|
125
|
+
bold_32: {
|
|
126
|
+
fontSize: number;
|
|
127
|
+
fontWeight: string;
|
|
128
|
+
};
|
|
129
|
+
normal_34: {
|
|
130
|
+
fontSize: number;
|
|
131
|
+
};
|
|
132
|
+
bold_34: {
|
|
133
|
+
fontSize: number;
|
|
134
|
+
fontWeight: string;
|
|
135
|
+
};
|
|
136
|
+
normal_36: {
|
|
137
|
+
fontSize: number;
|
|
138
|
+
};
|
|
139
|
+
bold_36: {
|
|
140
|
+
fontSize: number;
|
|
141
|
+
fontWeight: string;
|
|
142
|
+
};
|
|
143
|
+
normal_38: {
|
|
144
|
+
fontSize: number;
|
|
145
|
+
};
|
|
146
|
+
bold_38: {
|
|
147
|
+
fontSize: number;
|
|
148
|
+
fontWeight: string;
|
|
149
|
+
};
|
|
150
|
+
normal_40: {
|
|
151
|
+
fontSize: number;
|
|
152
|
+
};
|
|
153
|
+
bold_40: {
|
|
154
|
+
fontSize: number;
|
|
155
|
+
fontWeight: string;
|
|
156
|
+
};
|
|
157
|
+
normal_42: {
|
|
158
|
+
fontSize: number;
|
|
159
|
+
};
|
|
160
|
+
bold_42: {
|
|
161
|
+
fontSize: number;
|
|
162
|
+
fontWeight: string;
|
|
163
|
+
};
|
|
164
|
+
normal_80: {
|
|
165
|
+
fontSize: number;
|
|
166
|
+
};
|
|
167
|
+
bold_80: {
|
|
168
|
+
fontSize: number;
|
|
169
|
+
fontWeight: string;
|
|
170
|
+
};
|
|
171
|
+
bold_80_white: {
|
|
172
|
+
color: "#FFFFFF" | undefined;
|
|
173
|
+
fontSize: number;
|
|
174
|
+
fontWeight: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { styles } from './Text.styles';
|
|
3
|
+
export interface ITextProps {
|
|
4
|
+
bottom?: number;
|
|
5
|
+
center?: boolean;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
color?: string;
|
|
8
|
+
left?: number;
|
|
9
|
+
right?: number;
|
|
10
|
+
style?: any;
|
|
11
|
+
top?: number;
|
|
12
|
+
type?: keyof typeof styles;
|
|
13
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
label: {
|
|
3
|
+
marginBottom: number;
|
|
4
|
+
fontSize: number;
|
|
5
|
+
};
|
|
6
|
+
labelError: {
|
|
7
|
+
marginTop: number;
|
|
8
|
+
fontSize: number;
|
|
9
|
+
color: "#D45757" | undefined;
|
|
10
|
+
maxWidth: number;
|
|
11
|
+
};
|
|
12
|
+
textArea: {
|
|
13
|
+
paddingTop: number;
|
|
14
|
+
paddingLeft: number;
|
|
15
|
+
paddingRight: number;
|
|
16
|
+
fontSize: number;
|
|
17
|
+
};
|
|
18
|
+
textInput: {
|
|
19
|
+
padding: number;
|
|
20
|
+
fontSize: number;
|
|
21
|
+
};
|
|
22
|
+
container: {
|
|
23
|
+
justifyContent: string;
|
|
24
|
+
position: string;
|
|
25
|
+
};
|
|
26
|
+
scanQrImageContainer: {
|
|
27
|
+
color: "#000000" | undefined;
|
|
28
|
+
height: number;
|
|
29
|
+
justifyContent: string;
|
|
30
|
+
paddingRight: number;
|
|
31
|
+
position: string;
|
|
32
|
+
right: number;
|
|
33
|
+
zIndex: number;
|
|
34
|
+
};
|
|
35
|
+
scanQrImageContainerWithLabel: {
|
|
36
|
+
color: "#000000" | undefined;
|
|
37
|
+
height: number;
|
|
38
|
+
justifyContent: string;
|
|
39
|
+
paddingRight: number;
|
|
40
|
+
position: string;
|
|
41
|
+
right: number;
|
|
42
|
+
top: number;
|
|
43
|
+
zIndex: number;
|
|
44
|
+
};
|
|
45
|
+
scanQrImage: {
|
|
46
|
+
height: number;
|
|
47
|
+
width: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ITextInputProps {
|
|
2
|
+
borderColor?: string;
|
|
3
|
+
borderRadius?: number;
|
|
4
|
+
bottom?: number;
|
|
5
|
+
center?: boolean;
|
|
6
|
+
label?: boolean | string;
|
|
7
|
+
labelError?: boolean | string;
|
|
8
|
+
left?: number;
|
|
9
|
+
multiline?: boolean;
|
|
10
|
+
onBlur?: any;
|
|
11
|
+
onChange?: any;
|
|
12
|
+
onKeyPress?: any;
|
|
13
|
+
padding?: number;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
right?: number;
|
|
16
|
+
rows?: number;
|
|
17
|
+
style?: any;
|
|
18
|
+
styleLabel?: any;
|
|
19
|
+
styleTextInput?: any;
|
|
20
|
+
top?: number;
|
|
21
|
+
type?: string;
|
|
22
|
+
value?: any;
|
|
23
|
+
handleOnScanQr?: (data?: string | null) => void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ITouchableOpacityProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
onPress?: any;
|
|
5
|
+
style?: any;
|
|
6
|
+
onTouchStart?: any;
|
|
7
|
+
onTouchMove?: any;
|
|
8
|
+
onTouchEnd?: any;
|
|
9
|
+
onMouseDown?: any;
|
|
10
|
+
onMouseMove?: any;
|
|
11
|
+
onMouseUp?: any;
|
|
12
|
+
onMouseLeave?: any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export interface IColorsOption {
|
|
2
|
+
backgroundColor?: '#F8F8F8';
|
|
3
|
+
backgroundColorModal?: 'rgba(0, 26, 65, 0.7)';
|
|
4
|
+
black?: '#000000';
|
|
5
|
+
black100?: '#1A1A1A';
|
|
6
|
+
blackTransparent15?: 'rgba(0, 0, 0, 0.15)';
|
|
7
|
+
blackTransparent3?: 'rgba(0, 0, 0, 0.3)';
|
|
8
|
+
blackTransparent5?: 'rgba(0, 0, 0, 0.5)';
|
|
9
|
+
blackTransparent6?: 'rgba(0, 0, 0, 0.6)';
|
|
10
|
+
blackTransparent7?: 'rgba(0, 0, 0, 0.7)';
|
|
11
|
+
blackTransparent8?: 'rgba(0, 0, 0, 0.8)';
|
|
12
|
+
blackTransparent85?: 'rgba(0, 0, 0, 0.85)';
|
|
13
|
+
blue?: '#227AEA';
|
|
14
|
+
blue10?: '#007bff';
|
|
15
|
+
blueTransparent?: 'rgba(93, 102, 147, 0.5)';
|
|
16
|
+
borderBotom?: '0.5px solid #000';
|
|
17
|
+
boxShadow?: '1px 2px 9px #000';
|
|
18
|
+
boxShadowCard?: '1px 2px 5px rgba(0, 0, 0, 0.3)';
|
|
19
|
+
boxShadowImage?: '0px 5px 5px 0px rgba(0, 0, 0, 0.5)';
|
|
20
|
+
brownishGrey?: '#646464';
|
|
21
|
+
brownTransparent?: 'rgba(185, 170, 170, 0.6)';
|
|
22
|
+
darkBlue?: '#1D242F';
|
|
23
|
+
darkBlueBlack?: '#242426';
|
|
24
|
+
darkBlueWhite?: '#252F3C';
|
|
25
|
+
gradientWhite?: 'linear-gradient(#FFFFFF, transparent)';
|
|
26
|
+
green1?: '#008388';
|
|
27
|
+
green100?: '#00986D';
|
|
28
|
+
green30?: '#D8FDD4';
|
|
29
|
+
green40?: '#1DAA61';
|
|
30
|
+
green50?: '#C6E4DC';
|
|
31
|
+
green60?: '#3D9A62';
|
|
32
|
+
grey1?: '#f2f2f2';
|
|
33
|
+
grey100?: '#4E5764';
|
|
34
|
+
grey2?: '#D8D8D8';
|
|
35
|
+
grey3?: '#979797';
|
|
36
|
+
grey4?: '#FCFCFC';
|
|
37
|
+
grey5?: '#B0B0B0';
|
|
38
|
+
grey6?: '#E7E7E7';
|
|
39
|
+
grey61?: '#EEEEEE';
|
|
40
|
+
grey7?: '#E5E5E5';
|
|
41
|
+
grey74?: '#6c757d';
|
|
42
|
+
grey75?: '#A7B7C5';
|
|
43
|
+
grey76?: '#707072';
|
|
44
|
+
grey8?: 'rgba(42, 42, 42, 0.5)';
|
|
45
|
+
grey80?: '#66707A';
|
|
46
|
+
grey9?: '#F6F6F6';
|
|
47
|
+
grey90?: '#C7C7C7';
|
|
48
|
+
greyAntiFlash?: '#f2f2f4';
|
|
49
|
+
lightishRed?: '#FF343A';
|
|
50
|
+
orange?: '#E28612';
|
|
51
|
+
orange10?: '#F5F1EB';
|
|
52
|
+
orange20?: '#FFEED2';
|
|
53
|
+
orange30?: '#F6F1EA';
|
|
54
|
+
orange50?: '#FFD8A1';
|
|
55
|
+
palePeach?: '#FFD6A2';
|
|
56
|
+
pink?: '#F2EBEC';
|
|
57
|
+
platinum?: '#E9E4E4';
|
|
58
|
+
red?: '#D45757';
|
|
59
|
+
red100?: '#FF4C47';
|
|
60
|
+
red150?: '#C52025';
|
|
61
|
+
red200?: '#A56767';
|
|
62
|
+
red240?: '#6c394f';
|
|
63
|
+
red50?: '#FABDBE';
|
|
64
|
+
red60?: '#D90B10';
|
|
65
|
+
redTransparent?: '#E4DAD9';
|
|
66
|
+
shadow?: 'rgba(32, 32, 35, 0.1)';
|
|
67
|
+
shadow10?: 'rgba(26, 26, 26, 0.7)';
|
|
68
|
+
white?: '#FFFFFF';
|
|
69
|
+
white25?: '#F8F8F8';
|
|
70
|
+
white50?: '#F5F9FC';
|
|
71
|
+
white75?: '#E6E6E6';
|
|
72
|
+
whiteTransparent?: 'rgba(250, 250, 250, 1)';
|
|
73
|
+
whiteTransparent15?: 'rgba(250, 250, 250, 0.15)';
|
|
74
|
+
whiteTransparent25?: 'rgba(250, 250, 250, 0.25)';
|
|
75
|
+
whiteTransparent35?: 'rgba(250, 250, 250, 0.35)';
|
|
76
|
+
whiteTransparent45?: 'rgba(250, 250, 250, 0.45)';
|
|
77
|
+
whiteTransparent55?: 'rgba(250, 250, 250, 0.55)';
|
|
78
|
+
whiteTransparent65?: 'rgba(250, 250, 250, 0.65)';
|
|
79
|
+
whiteTransparent75?: 'rgba(250, 250, 250, 0.75)';
|
|
80
|
+
whiteTransparent85?: 'rgba(250, 250, 250, 0.85)';
|
|
81
|
+
whiteTransparent95?: 'rgba(250, 250, 250, 0.95)';
|
|
82
|
+
yellow?: '#FFFF00';
|
|
83
|
+
yellow40?: '#FDF76F';
|
|
84
|
+
yellow50?: '#EED202';
|
|
85
|
+
theShop?: theShop;
|
|
86
|
+
manise?: manise;
|
|
87
|
+
}
|
|
88
|
+
type theShop = {
|
|
89
|
+
primary?: '#2E3135';
|
|
90
|
+
seconday?: '#FFFFFF';
|
|
91
|
+
tertiary?: '#F6F6F6';
|
|
92
|
+
};
|
|
93
|
+
type manise = {
|
|
94
|
+
primary?: '#D45757';
|
|
95
|
+
seconday?: '#FFFF00';
|
|
96
|
+
tertiary?: '#F6F6F6';
|
|
97
|
+
fourth?: '#E28612';
|
|
98
|
+
fifth?: '#00986D';
|
|
99
|
+
};
|
|
100
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface IIconOption {
|
|
2
|
+
arrow_right_thin?: string;
|
|
3
|
+
arrow_right?: string;
|
|
4
|
+
camera?: string;
|
|
5
|
+
close?: string;
|
|
6
|
+
edit?: string;
|
|
7
|
+
exit?: string;
|
|
8
|
+
flash_off?: string;
|
|
9
|
+
flash_on?: string;
|
|
10
|
+
image_not_available: string;
|
|
11
|
+
information?: string;
|
|
12
|
+
langugage?: string;
|
|
13
|
+
more?: string;
|
|
14
|
+
printer?: string;
|
|
15
|
+
question?: string;
|
|
16
|
+
rotate?: string;
|
|
17
|
+
scan_qr?: string;
|
|
18
|
+
send?: string;
|
|
19
|
+
support?: string;
|
|
20
|
+
tax?: string;
|
|
21
|
+
terms_and_conditions?: string;
|
|
22
|
+
love_empty?: string;
|
|
23
|
+
love_filled?: string;
|
|
24
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './components/BottomSheet';
|
|
2
|
+
export * from './components/BottomSheetPhoto';
|
|
3
|
+
export * from './components/Button';
|
|
4
|
+
export * from './components/Container';
|
|
5
|
+
export * from './components/CountDown';
|
|
6
|
+
export * from './components/DropDown';
|
|
7
|
+
export * from './components/Image';
|
|
8
|
+
export * from './components/ImageInput';
|
|
9
|
+
export * from './components/ImageSlider';
|
|
10
|
+
export * from './components/LoadingSpinner';
|
|
11
|
+
export * from './components/MultipleImageInput';
|
|
12
|
+
export * from './components/NoRecord';
|
|
13
|
+
export * from './components/PopUp';
|
|
14
|
+
export * from './components/PreviewPhoto';
|
|
15
|
+
export * from './components/ScannerQR';
|
|
16
|
+
export * from './components/SearchBox';
|
|
17
|
+
export * from './components/Swipeable';
|
|
18
|
+
export * from './components/Text';
|
|
19
|
+
export * from './components/TextInput';
|
|
20
|
+
export * from './components/TouchableOpacity';
|
|
21
|
+
export * from './components/View';
|
|
22
|
+
export * from './constants/Colors';
|
|
23
|
+
export * from './constants/Images';
|