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.
Files changed (40) hide show
  1. package/lib/commonjs/common/icons-svg/steering-wheel/index.js +6 -6
  2. package/lib/commonjs/common/icons-svg/steering-wheel/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/truck/index.js +10 -8
  4. package/lib/commonjs/common/icons-svg/truck/index.js.map +1 -1
  5. package/lib/commonjs/components/activities-progress/index.js +1 -1
  6. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  7. package/lib/commonjs/components/loading-details/index.js +13 -11
  8. package/lib/commonjs/components/loading-details/index.js.map +1 -1
  9. package/lib/commonjs/components/loading-details/interface.d.js.map +1 -1
  10. package/lib/commonjs/stories/loading-details/loading-details.stories.js +14 -2
  11. package/lib/commonjs/stories/loading-details/loading-details.stories.js.map +1 -1
  12. package/lib/commonjs/styles/theme/theme.js +5 -4
  13. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  14. package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -1
  15. package/lib/module/common/icons-svg/steering-wheel/index.js +6 -6
  16. package/lib/module/common/icons-svg/steering-wheel/index.js.map +1 -1
  17. package/lib/module/common/icons-svg/truck/index.js +10 -8
  18. package/lib/module/common/icons-svg/truck/index.js.map +1 -1
  19. package/lib/module/components/activities-progress/index.js +1 -1
  20. package/lib/module/components/activities-progress/index.js.map +1 -1
  21. package/lib/module/components/loading-details/index.js +13 -11
  22. package/lib/module/components/loading-details/index.js.map +1 -1
  23. package/lib/module/components/loading-details/interface.d.js.map +1 -1
  24. package/lib/module/stories/loading-details/loading-details.stories.js +13 -1
  25. package/lib/module/stories/loading-details/loading-details.stories.js.map +1 -1
  26. package/lib/module/styles/theme/theme.js +5 -4
  27. package/lib/module/styles/theme/theme.js.map +1 -1
  28. package/lib/module/utils/get-icon-by-property/index.js.map +1 -1
  29. package/lib/typescript/src/stories/loading-details/loading-details.stories.d.ts +1 -0
  30. package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
  31. package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
  32. package/package.json +1 -1
  33. package/src/common/icons-svg/steering-wheel/index.tsx +49 -49
  34. package/src/common/icons-svg/truck/index.tsx +41 -39
  35. package/src/components/activities-progress/index.tsx +1 -1
  36. package/src/components/loading-details/index.tsx +156 -154
  37. package/src/components/loading-details/interface.d.ts +31 -28
  38. package/src/stories/loading-details/loading-details.stories.tsx +60 -48
  39. package/src/styles/theme/theme.ts +172 -171
  40. 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
- 200: "#25BA76",
66
- 250: "#20AD48",
67
- 400: "#49C63E",
68
- 500: "#50C58F",
69
- },
70
- orange: {
71
- 500: "#FC5701",
72
- 450: "#FC6C2D",
73
- 150: "#FFA41C",
74
- },
75
- yellow: {
76
- 100: "#DFAE00",
77
- 50: "#F0CA4B",
78
- 75: "#F59E0B",
79
- 90: "#957C5F",
80
- },
81
- };
82
-
83
- const fonts = {
84
- inter_thin_100: "Inter-Thin",
85
- inter_extra_light_200: "Inter-ExtraLight",
86
- inter_light_300: "Inter-Light",
87
- inter_regular_400: "Inter-Regular",
88
- inter_medium_500: "Inter-Medium",
89
- inter_semi_bold_600: "Inter-SemiBold",
90
- inter_bold_700: "Inter-Bold",
91
- inter_extra_bold_800: "Inter-ExtraBold",
92
- inter_bold: "Inter-Bold",
93
- };
94
-
95
- const fontSizes = {
96
- "2xs": 10,
97
- xs: 12,
98
- sm: 14,
99
- md: 16,
100
- lg: 18,
101
- xl: 20,
102
- "2xl": 24,
103
- "3xl": 32,
104
- "4xl": 38,
105
- "5xl": 50,
106
- "6xl": 60,
107
- "7xl": 72,
108
- "8xl": 96,
109
- "9xl": 128,
110
- };
111
-
112
- const margins = {
113
- "1xs": 6,
114
- "2xs": 10,
115
- xs: 12,
116
- sm: 14,
117
- md: 16,
118
- lg: 18,
119
- xl: 20,
120
- "2xl": 24,
121
- "3xl": 30,
122
- "4xl": 36,
123
- "5xl": 48,
124
- "6xl": 60,
125
- "7xl": 72,
126
- "8xl": 96,
127
- "9xl": 128,
128
- };
129
-
130
- const paddings = {
131
- "2xs": 10,
132
- xs: 12,
133
- sm: 14,
134
- md: 16,
135
- lg: 18,
136
- xl: 20,
137
- "2xl": 24,
138
- "3xl": 30,
139
- "4xl": 36,
140
- "5xl": 48,
141
- "6xl": 60,
142
- "7xl": 72,
143
- "8xl": 96,
144
- "9xl": 128,
145
- };
146
-
147
- const shadows = {
148
- z1: "0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)",
149
- z2: "0px 1px 2px rgba(0, 0, 0, 0.3)",
150
- };
151
-
152
- const letterSpacing = {
153
- o_16: 0.16,
154
- regular: 0.5,
155
- medium: 0.75,
156
- strong: 1,
157
- };
158
-
159
- /**
160
- * EXPORTSS
161
- */
162
- export const theme = {
163
- borderWidths,
164
- colors,
165
- fonts,
166
- fontSizes,
167
- margins,
168
- shadows,
169
- paddings,
170
- letterSpacing,
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
+ };
@@ -14,6 +14,7 @@ import { theme } from "../../styles/theme/theme";
14
14
  */
15
15
  const getIconByProperty: React.FC<any> = (propertyType: string, color?: string) => {
16
16
  switch (propertyType) {
17
+
17
18
  case "operacao_veiculo":
18
19
  return <Icons color={color} icon="STEERING_WHEEL" />;
19
20