react-native-exp-fig 0.1.19 → 0.1.21
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/lib/commonjs/common/icons-svg/steering-wheel/index.js +6 -6
- package/lib/commonjs/common/icons-svg/steering-wheel/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/truck/index.js +10 -8
- package/lib/commonjs/common/icons-svg/truck/index.js.map +1 -1
- package/lib/commonjs/components/activities-progress/index.js +1 -1
- package/lib/commonjs/components/activities-progress/index.js.map +1 -1
- package/lib/commonjs/components/loading-details/index.js +13 -11
- package/lib/commonjs/components/loading-details/index.js.map +1 -1
- package/lib/commonjs/components/loading-details/interface.d.js.map +1 -1
- package/lib/commonjs/stories/loading-details/loading-details.stories.js +14 -2
- package/lib/commonjs/stories/loading-details/loading-details.stories.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +5 -4
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -1
- package/lib/module/common/icons-svg/steering-wheel/index.js +6 -6
- package/lib/module/common/icons-svg/steering-wheel/index.js.map +1 -1
- package/lib/module/common/icons-svg/truck/index.js +10 -8
- package/lib/module/common/icons-svg/truck/index.js.map +1 -1
- package/lib/module/components/activities-progress/index.js +1 -1
- package/lib/module/components/activities-progress/index.js.map +1 -1
- package/lib/module/components/loading-details/index.js +13 -11
- package/lib/module/components/loading-details/index.js.map +1 -1
- package/lib/module/components/loading-details/interface.d.js.map +1 -1
- package/lib/module/stories/loading-details/loading-details.stories.js +13 -1
- package/lib/module/stories/loading-details/loading-details.stories.js.map +1 -1
- package/lib/module/styles/theme/theme.js +5 -4
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/module/utils/get-icon-by-property/index.js.map +1 -1
- package/lib/typescript/src/stories/loading-details/loading-details.stories.d.ts +1 -0
- package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
- package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
- package/package.json +1 -1
- package/src/common/icons-svg/steering-wheel/index.tsx +49 -49
- package/src/common/icons-svg/truck/index.tsx +41 -39
- package/src/components/activities-progress/index.tsx +1 -1
- package/src/components/loading-details/index.tsx +156 -154
- package/src/components/loading-details/interface.d.ts +31 -28
- package/src/stories/loading-details/loading-details.stories.tsx +60 -48
- package/src/styles/theme/theme.ts +172 -171
- package/src/utils/get-icon-by-property/index.tsx +1 -0
|
@@ -1,171 +1,172 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
const borderWidths = {
|
|
6
|
-
thin: 1,
|
|
7
|
-
thin_medium: 2,
|
|
8
|
-
thin_bold: 6,
|
|
9
|
-
thick: 4,
|
|
10
|
-
thick_medium: 8,
|
|
11
|
-
thick_bold: 12,
|
|
12
|
-
thick_large: 16,
|
|
13
|
-
hairline: 999,
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const colors = {
|
|
17
|
-
neutral: {
|
|
18
|
-
25: "#FFFFFF",
|
|
19
|
-
50: "#E7EEFF",
|
|
20
|
-
75: "#E5E1F9",
|
|
21
|
-
200: "#C6C6C6",
|
|
22
|
-
300: "#F3F3F3",
|
|
23
|
-
400: "#F4F5F6",
|
|
24
|
-
},
|
|
25
|
-
black: {
|
|
26
|
-
10: "#000000",
|
|
27
|
-
25: "#1E1E1E",
|
|
28
|
-
100: "#393939",
|
|
29
|
-
180: "#35302B",
|
|
30
|
-
},
|
|
31
|
-
blue: {
|
|
32
|
-
25: "#1E1E1E",
|
|
33
|
-
50: "#1EA7fD",
|
|
34
|
-
100: "#051C3B",
|
|
35
|
-
150: "#2E41F2",
|
|
36
|
-
350: "#357FD6",
|
|
37
|
-
375: "#056CF2",
|
|
38
|
-
400: "#2D3748",
|
|
39
|
-
400_50: "#2D374880",
|
|
40
|
-
500: "#050022",
|
|
41
|
-
525: "#051C3B",
|
|
42
|
-
},
|
|
43
|
-
red: {
|
|
44
|
-
400: "#D23A1A",
|
|
45
|
-
500: "#C54239",
|
|
46
|
-
600: "#B3261E",
|
|
47
|
-
800: "#E72626",
|
|
48
|
-
900: "#9F0000",
|
|
49
|
-
},
|
|
50
|
-
gray: {
|
|
51
|
-
300: "#D9D9D9",
|
|
52
|
-
350: "#CDCDCD",
|
|
53
|
-
400: "#C6C6C6",
|
|
54
|
-
500: "#1c1c1e",
|
|
55
|
-
600: "#5E5E5E",
|
|
56
|
-
700: "#727272",
|
|
57
|
-
800: "#837676",
|
|
58
|
-
850: "#868686",
|
|
59
|
-
875: "#949494",
|
|
60
|
-
900: "#9B9B9B",
|
|
61
|
-
925: "#957c5f",
|
|
62
|
-
950: "#94a3b8",
|
|
63
|
-
},
|
|
64
|
-
green: {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
const borderWidths = {
|
|
6
|
+
thin: 1,
|
|
7
|
+
thin_medium: 2,
|
|
8
|
+
thin_bold: 6,
|
|
9
|
+
thick: 4,
|
|
10
|
+
thick_medium: 8,
|
|
11
|
+
thick_bold: 12,
|
|
12
|
+
thick_large: 16,
|
|
13
|
+
hairline: 999,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const colors = {
|
|
17
|
+
neutral: {
|
|
18
|
+
25: "#FFFFFF",
|
|
19
|
+
50: "#E7EEFF",
|
|
20
|
+
75: "#E5E1F9",
|
|
21
|
+
200: "#C6C6C6",
|
|
22
|
+
300: "#F3F3F3",
|
|
23
|
+
400: "#F4F5F6",
|
|
24
|
+
},
|
|
25
|
+
black: {
|
|
26
|
+
10: "#000000",
|
|
27
|
+
25: "#1E1E1E",
|
|
28
|
+
100: "#393939",
|
|
29
|
+
180: "#35302B",
|
|
30
|
+
},
|
|
31
|
+
blue: {
|
|
32
|
+
25: "#1E1E1E",
|
|
33
|
+
50: "#1EA7fD",
|
|
34
|
+
100: "#051C3B",
|
|
35
|
+
150: "#2E41F2",
|
|
36
|
+
350: "#357FD6",
|
|
37
|
+
375: "#056CF2",
|
|
38
|
+
400: "#2D3748",
|
|
39
|
+
400_50: "#2D374880",
|
|
40
|
+
500: "#050022",
|
|
41
|
+
525: "#051C3B",
|
|
42
|
+
},
|
|
43
|
+
red: {
|
|
44
|
+
400: "#D23A1A",
|
|
45
|
+
500: "#C54239",
|
|
46
|
+
600: "#B3261E",
|
|
47
|
+
800: "#E72626",
|
|
48
|
+
900: "#9F0000",
|
|
49
|
+
},
|
|
50
|
+
gray: {
|
|
51
|
+
300: "#D9D9D9",
|
|
52
|
+
350: "#CDCDCD",
|
|
53
|
+
400: "#C6C6C6",
|
|
54
|
+
500: "#1c1c1e",
|
|
55
|
+
600: "#5E5E5E",
|
|
56
|
+
700: "#727272",
|
|
57
|
+
800: "#837676",
|
|
58
|
+
850: "#868686",
|
|
59
|
+
875: "#949494",
|
|
60
|
+
900: "#9B9B9B",
|
|
61
|
+
925: "#957c5f",
|
|
62
|
+
950: "#94a3b8",
|
|
63
|
+
},
|
|
64
|
+
green: {
|
|
65
|
+
100: "#20AD4880",
|
|
66
|
+
200: "#25BA76",
|
|
67
|
+
250: "#20AD48",
|
|
68
|
+
400: "#49C63E",
|
|
69
|
+
500: "#50C58F",
|
|
70
|
+
},
|
|
71
|
+
orange: {
|
|
72
|
+
500: "#FC5701",
|
|
73
|
+
450: "#FC6C2D",
|
|
74
|
+
150: "#FFA41C",
|
|
75
|
+
},
|
|
76
|
+
yellow: {
|
|
77
|
+
100: "#DFAE00",
|
|
78
|
+
50: "#F0CA4B",
|
|
79
|
+
75: "#F59E0B",
|
|
80
|
+
90: "#957C5F",
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
const fonts = {
|
|
85
|
+
inter_thin_100: "Inter-Thin",
|
|
86
|
+
inter_extra_light_200: "Inter-ExtraLight",
|
|
87
|
+
inter_light_300: "Inter-Light",
|
|
88
|
+
inter_regular_400: "Inter-Regular",
|
|
89
|
+
inter_medium_500: "Inter-Medium",
|
|
90
|
+
inter_semi_bold_600: "Inter-SemiBold",
|
|
91
|
+
inter_bold_700: "Inter-Bold",
|
|
92
|
+
inter_extra_bold_800: "Inter-ExtraBold",
|
|
93
|
+
inter_bold: "Inter-Bold",
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
const fontSizes = {
|
|
97
|
+
"2xs": 10,
|
|
98
|
+
xs: 12,
|
|
99
|
+
sm: 14,
|
|
100
|
+
md: 16,
|
|
101
|
+
lg: 18,
|
|
102
|
+
xl: 20,
|
|
103
|
+
"2xl": 24,
|
|
104
|
+
"3xl": 32,
|
|
105
|
+
"4xl": 38,
|
|
106
|
+
"5xl": 50,
|
|
107
|
+
"6xl": 60,
|
|
108
|
+
"7xl": 72,
|
|
109
|
+
"8xl": 96,
|
|
110
|
+
"9xl": 128,
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
const margins = {
|
|
114
|
+
"1xs": 6,
|
|
115
|
+
"2xs": 10,
|
|
116
|
+
xs: 12,
|
|
117
|
+
sm: 14,
|
|
118
|
+
md: 16,
|
|
119
|
+
lg: 18,
|
|
120
|
+
xl: 20,
|
|
121
|
+
"2xl": 24,
|
|
122
|
+
"3xl": 30,
|
|
123
|
+
"4xl": 36,
|
|
124
|
+
"5xl": 48,
|
|
125
|
+
"6xl": 60,
|
|
126
|
+
"7xl": 72,
|
|
127
|
+
"8xl": 96,
|
|
128
|
+
"9xl": 128,
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
const paddings = {
|
|
132
|
+
"2xs": 10,
|
|
133
|
+
xs: 12,
|
|
134
|
+
sm: 14,
|
|
135
|
+
md: 16,
|
|
136
|
+
lg: 18,
|
|
137
|
+
xl: 20,
|
|
138
|
+
"2xl": 24,
|
|
139
|
+
"3xl": 30,
|
|
140
|
+
"4xl": 36,
|
|
141
|
+
"5xl": 48,
|
|
142
|
+
"6xl": 60,
|
|
143
|
+
"7xl": 72,
|
|
144
|
+
"8xl": 96,
|
|
145
|
+
"9xl": 128,
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
const shadows = {
|
|
149
|
+
z1: "0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)",
|
|
150
|
+
z2: "0px 1px 2px rgba(0, 0, 0, 0.3)",
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
const letterSpacing = {
|
|
154
|
+
o_16: 0.16,
|
|
155
|
+
regular: 0.5,
|
|
156
|
+
medium: 0.75,
|
|
157
|
+
strong: 1,
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* EXPORTSS
|
|
162
|
+
*/
|
|
163
|
+
export const theme = {
|
|
164
|
+
borderWidths,
|
|
165
|
+
colors,
|
|
166
|
+
fonts,
|
|
167
|
+
fontSizes,
|
|
168
|
+
margins,
|
|
169
|
+
shadows,
|
|
170
|
+
paddings,
|
|
171
|
+
letterSpacing,
|
|
172
|
+
};
|