react-native-exp-fig 0.1.16 → 0.1.18

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 (173) hide show
  1. package/lib/commonjs/common/icons-svg/constants/index.js +4 -2
  2. package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/hourglass/index.js +4 -4
  4. package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -1
  5. package/lib/commonjs/common/icons-svg/house/index.js +49 -0
  6. package/lib/commonjs/common/icons-svg/house/index.js.map +1 -0
  7. package/lib/commonjs/common/icons-svg/index.js +22 -8
  8. package/lib/commonjs/common/icons-svg/index.js.map +1 -1
  9. package/lib/commonjs/common/icons-svg/island/index.js +34 -0
  10. package/lib/commonjs/common/icons-svg/island/index.js.map +1 -0
  11. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCallBell.js +46 -0
  12. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCallBell.js.map +1 -0
  13. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCoffee.js +47 -0
  14. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconCoffee.js.map +1 -0
  15. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconGear.js +47 -0
  16. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconGear.js.map +1 -0
  17. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js +48 -0
  18. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js.map +1 -0
  19. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHouse.js +46 -0
  20. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconHouse.js.map +1 -0
  21. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconMoonStars.js +48 -0
  22. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconMoonStars.js.map +1 -0
  23. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconSteeringWheel.js +54 -0
  24. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconSteeringWheel.js.map +1 -0
  25. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTimer.js +45 -0
  26. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTimer.js.map +1 -0
  27. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTruck.js +35 -0
  28. package/lib/commonjs/common/icons-svg/modal-activities/SvgIconTruck.js.map +1 -0
  29. package/lib/commonjs/common/icons-svg/modal-activities/index.js +80 -0
  30. package/lib/commonjs/common/icons-svg/modal-activities/index.js.map +1 -0
  31. package/lib/commonjs/components/activities-progress/index.js +16 -14
  32. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  33. package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
  34. package/lib/commonjs/components/card-history/index.js +20 -9
  35. package/lib/commonjs/components/card-history/index.js.map +1 -1
  36. package/lib/commonjs/components/card-history/interface.d.js.map +1 -1
  37. package/lib/commonjs/components/history-details/index.js +4 -4
  38. package/lib/commonjs/components/history-details/index.js.map +1 -1
  39. package/lib/commonjs/components/menu-item/interface.d.js.map +1 -1
  40. package/lib/commonjs/components/modal-activities/data-activities/index.js +62 -0
  41. package/lib/commonjs/components/modal-activities/data-activities/index.js.map +1 -0
  42. package/lib/commonjs/components/modal-activities/index.js +30 -38
  43. package/lib/commonjs/components/modal-activities/index.js.map +1 -1
  44. package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -1
  45. package/lib/commonjs/components/notification-loading/index.js +4 -4
  46. package/lib/commonjs/components/notification-loading/index.js.map +1 -1
  47. package/lib/commonjs/components/step-indicator/styles.js +4 -4
  48. package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
  49. package/lib/commonjs/index.js.map +1 -1
  50. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js +24 -14
  51. package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
  52. package/lib/commonjs/stories/card-history/card-history.stories.js +5 -2
  53. package/lib/commonjs/stories/card-history/card-history.stories.js.map +1 -1
  54. package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +21 -5
  55. package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -1
  56. package/lib/commonjs/styles/global/interface.d.js.map +1 -1
  57. package/lib/commonjs/utils/get-icon-by-property/index.js +85 -0
  58. package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -0
  59. package/lib/module/common/icons-svg/constants/index.js +4 -2
  60. package/lib/module/common/icons-svg/constants/index.js.map +1 -1
  61. package/lib/module/common/icons-svg/hourglass/index.js +4 -4
  62. package/lib/module/common/icons-svg/hourglass/index.js.map +1 -1
  63. package/lib/module/common/icons-svg/house/index.js +41 -0
  64. package/lib/module/common/icons-svg/house/index.js.map +1 -0
  65. package/lib/module/common/icons-svg/index.js +22 -8
  66. package/lib/module/common/icons-svg/index.js.map +1 -1
  67. package/lib/module/common/icons-svg/island/index.js +26 -0
  68. package/lib/module/common/icons-svg/island/index.js.map +1 -0
  69. package/lib/module/common/icons-svg/modal-activities/SvgIconCallBell.js +37 -0
  70. package/lib/module/common/icons-svg/modal-activities/SvgIconCallBell.js.map +1 -0
  71. package/lib/module/common/icons-svg/modal-activities/SvgIconCoffee.js +38 -0
  72. package/lib/module/common/icons-svg/modal-activities/SvgIconCoffee.js.map +1 -0
  73. package/lib/module/common/icons-svg/modal-activities/SvgIconGear.js +38 -0
  74. package/lib/module/common/icons-svg/modal-activities/SvgIconGear.js.map +1 -0
  75. package/lib/module/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js +39 -0
  76. package/lib/module/common/icons-svg/modal-activities/SvgIconHourGlassMedium.js.map +1 -0
  77. package/lib/module/common/icons-svg/modal-activities/SvgIconHouse.js +37 -0
  78. package/lib/module/common/icons-svg/modal-activities/SvgIconHouse.js.map +1 -0
  79. package/lib/module/common/icons-svg/modal-activities/SvgIconMoonStars.js +40 -0
  80. package/lib/module/common/icons-svg/modal-activities/SvgIconMoonStars.js.map +1 -0
  81. package/lib/module/common/icons-svg/modal-activities/SvgIconSteeringWheel.js +45 -0
  82. package/lib/module/common/icons-svg/modal-activities/SvgIconSteeringWheel.js.map +1 -0
  83. package/lib/module/common/icons-svg/modal-activities/SvgIconTimer.js +36 -0
  84. package/lib/module/common/icons-svg/modal-activities/SvgIconTimer.js.map +1 -0
  85. package/lib/module/common/icons-svg/modal-activities/SvgIconTruck.js +26 -0
  86. package/lib/module/common/icons-svg/modal-activities/SvgIconTruck.js.map +1 -0
  87. package/lib/module/common/icons-svg/modal-activities/index.js +75 -0
  88. package/lib/module/common/icons-svg/modal-activities/index.js.map +1 -0
  89. package/lib/module/components/activities-progress/index.js +15 -14
  90. package/lib/module/components/activities-progress/index.js.map +1 -1
  91. package/lib/module/components/activities-progress/interface.d.js.map +1 -1
  92. package/lib/module/components/card-history/index.js +20 -9
  93. package/lib/module/components/card-history/index.js.map +1 -1
  94. package/lib/module/components/card-history/interface.d.js.map +1 -1
  95. package/lib/module/components/history-details/index.js +4 -4
  96. package/lib/module/components/history-details/index.js.map +1 -1
  97. package/lib/module/components/menu-item/interface.d.js.map +1 -1
  98. package/lib/module/components/modal-activities/data-activities/index.js +56 -0
  99. package/lib/module/components/modal-activities/data-activities/index.js.map +1 -0
  100. package/lib/module/components/modal-activities/index.js +29 -38
  101. package/lib/module/components/modal-activities/index.js.map +1 -1
  102. package/lib/module/components/modal-activities/interface.d.js.map +1 -1
  103. package/lib/module/components/notification-loading/index.js +4 -4
  104. package/lib/module/components/notification-loading/index.js.map +1 -1
  105. package/lib/module/components/step-indicator/styles.js +4 -4
  106. package/lib/module/components/step-indicator/styles.js.map +1 -1
  107. package/lib/module/index.js +2 -2
  108. package/lib/module/index.js.map +1 -1
  109. package/lib/module/stories/activities-progress/activities-progress.stories.js +24 -14
  110. package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
  111. package/lib/module/stories/card-history/card-history.stories.js +5 -2
  112. package/lib/module/stories/card-history/card-history.stories.js.map +1 -1
  113. package/lib/module/stories/modal-activities/modal-activities.stories.js +20 -4
  114. package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -1
  115. package/lib/module/styles/global/interface.d.js.map +1 -1
  116. package/lib/module/utils/get-icon-by-property/index.js +79 -0
  117. package/lib/module/utils/get-icon-by-property/index.js.map +1 -0
  118. package/lib/typescript/src/common/icons-svg/constants/index.d.ts +3 -1
  119. package/lib/typescript/src/common/icons-svg/house/index.d.ts +10 -0
  120. package/lib/typescript/src/common/icons-svg/island/index.d.ts +10 -0
  121. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconCallBell.d.ts +10 -0
  122. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconCoffee.d.ts +10 -0
  123. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconGear.d.ts +10 -0
  124. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconHourGlassMedium.d.ts +10 -0
  125. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconHouse.d.ts +10 -0
  126. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconMoonStars.d.ts +10 -0
  127. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconSteeringWheel.d.ts +10 -0
  128. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconTimer.d.ts +10 -0
  129. package/lib/typescript/src/common/icons-svg/modal-activities/SvgIconTruck.d.ts +10 -0
  130. package/lib/typescript/src/common/icons-svg/modal-activities/index.d.ts +23 -0
  131. package/lib/typescript/src/components/modal-activities/data-activities/index.d.ts +19 -0
  132. package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +2 -1
  133. package/lib/typescript/src/utils/get-icon-by-property/index.d.ts +15 -0
  134. package/package.json +220 -221
  135. package/src/common/icons-svg/constants/index.ts +3 -1
  136. package/src/common/icons-svg/hourglass/index.tsx +28 -28
  137. package/src/common/icons-svg/house/index.tsx +41 -0
  138. package/src/common/icons-svg/index.tsx +14 -6
  139. package/src/common/icons-svg/island/index.tsx +25 -0
  140. package/src/common/icons-svg/modal-activities/SvgIconCallBell.tsx +37 -0
  141. package/src/common/icons-svg/modal-activities/SvgIconCoffee.tsx +38 -0
  142. package/src/common/icons-svg/modal-activities/SvgIconGear.tsx +38 -0
  143. package/src/common/icons-svg/modal-activities/SvgIconHourGlassMedium.tsx +38 -0
  144. package/src/common/icons-svg/modal-activities/SvgIconHouse.tsx +37 -0
  145. package/src/common/icons-svg/modal-activities/SvgIconMoonStars.tsx +39 -0
  146. package/src/common/icons-svg/modal-activities/SvgIconSteeringWheel.tsx +48 -0
  147. package/src/common/icons-svg/modal-activities/SvgIconTimer.tsx +37 -0
  148. package/src/common/icons-svg/modal-activities/SvgIconTruck.tsx +28 -0
  149. package/src/common/icons-svg/modal-activities/index.tsx +53 -0
  150. package/src/components/activities-progress/index.tsx +169 -162
  151. package/src/components/activities-progress/interface.d.ts +61 -41
  152. package/src/components/button/styles.ts +34 -34
  153. package/src/components/card-history/index.tsx +28 -18
  154. package/src/components/card-history/interface.d.ts +5 -1
  155. package/src/components/card-loading/index.tsx +290 -290
  156. package/src/components/history-details/index.tsx +99 -99
  157. package/src/components/image-capture-with-remove/index.tsx +92 -92
  158. package/src/components/image-capture-with-remove/interface.d.ts +28 -28
  159. package/src/components/loading-progress/index.tsx +93 -93
  160. package/src/components/menu-item/interface.d.ts +1 -1
  161. package/src/components/modal-activities/data-activities/index.ts +65 -0
  162. package/src/components/modal-activities/index.tsx +137 -139
  163. package/src/components/modal-activities/interface.d.ts +32 -21
  164. package/src/components/notification-loading/index.tsx +162 -162
  165. package/src/components/step-indicator/styles.ts +68 -68
  166. package/src/index.ts +43 -43
  167. package/src/stories/activities-progress/activities-progress.stories.tsx +71 -61
  168. package/src/stories/card-history/card-history.stories.tsx +3 -0
  169. package/src/stories/modal-activities/modal-activities.stories.tsx +64 -46
  170. package/src/styles/global/interface.d.ts +146 -146
  171. package/src/styles/theme/theme.ts +171 -171
  172. package/src/utils/get-icon-by-property/index.tsx +53 -0
  173. package/src/utils/status-color/return-color.ts +34 -34
@@ -1,162 +1,162 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import { TouchableOpacity } from "react-native";
6
-
7
- // components
8
- import { Box } from "../box";
9
- import { Typography } from "../typography";
10
-
11
- // icons
12
- import { Icons } from "../../common/icons-svg";
13
-
14
- // theme
15
- import { theme } from "../../styles/theme/theme";
16
-
17
- import { INotificationLoading } from "./interface";
18
- import { getStatusColor, StatusType } from "../../utils/status-color/return-color";
19
-
20
- const NotificationLoading: React.FC<INotificationLoading> = ({
21
- handleNavigation,
22
- title,
23
- testID,
24
- statusNotify,
25
- date,
26
- notification,
27
- dataStart,
28
- style,
29
- readonly,
30
- }) => {
31
- return (
32
- <TouchableOpacity
33
- activeOpacity={0.7}
34
- testID={testID}
35
- onPress={handleNavigation}
36
- disabled={readonly}
37
- >
38
- <Box
39
- width={"100%"}
40
- flexStyle={{ flexDirection: "row", alignItems: "center" }}
41
- backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}
42
- borderStyled={{
43
- borderWidth: theme.borderWidths.thin,
44
- borderRadius: theme.borderWidths.thick_medium,
45
- borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],
46
- }}
47
- paddingStyle={{ padding: theme.paddings["2xs"] }}
48
- style={style}
49
- >
50
- <Box width={"9%"}>
51
- <Icons icon={"BELL"} size={32} color={theme.colors.neutral[25]} />
52
- </Box>
53
-
54
- <Box
55
- flexStyle={{ flexDirection: "column" }}
56
- width={"91%"}
57
- paddingStyle={{ paddingLeft: 7 }}
58
- >
59
- {/* Carregamento identificação */}
60
- <Box flexStyle={{ flexDirection: "row", alignItems: "center" }}>
61
- <Typography
62
- text={"Carregamento - "}
63
- size={theme.fontSizes.sm}
64
- lineHeight={theme.fontSizes.lg}
65
- fontFamily={theme.fonts.inter_semi_bold_600}
66
- fontWeight="600"
67
- color={theme.colors.neutral[25]}
68
- letterSpacing={"regular"}
69
- />
70
- <Typography
71
- text={title}
72
- size={theme.fontSizes.xs}
73
- lineHeight={theme.fontSizes.md}
74
- fontFamily={theme.fonts.inter_bold_700}
75
- fontWeight="700"
76
- color={theme.colors.neutral[25]}
77
- letterSpacing={"regular"}
78
- />
79
- </Box>
80
-
81
- {/* Data do carregamento */}
82
- <Box
83
- flexStyle={{
84
- flexDirection: "row",
85
- alignItems: "center",
86
- justifyContent: "space-between",
87
- }}
88
- >
89
- <Box
90
- flexStyle={{
91
- flexDirection: "row",
92
- alignItems: "center",
93
- }}
94
- >
95
- <Typography
96
- text={"Data - "}
97
- size={theme.fontSizes.sm}
98
- lineHeight={theme.fontSizes.lg ?? 18}
99
- fontFamily={theme.fonts.inter_medium_500}
100
- fontWeight="500"
101
- color={theme.colors.neutral[25]}
102
- letterSpacing={"regular"}
103
- />
104
- <Typography
105
- text={String(date)}
106
- size={theme.fontSizes.sm}
107
- lineHeight={theme.fontSizes.lg ?? 18}
108
- fontFamily={theme.fonts.inter_medium_500}
109
- fontWeight="500"
110
- color={theme.colors.neutral[25]}
111
- letterSpacing={"regular"}
112
- />
113
- </Box>
114
- <Box
115
- flexStyle={{
116
- flexDirection: "row",
117
- alignItems: "center",
118
- }}
119
- >
120
- <Typography
121
- text={String(dataStart)}
122
- size={theme.fontSizes["2xs"]}
123
- fontFamily={theme.fonts.inter_medium_500}
124
- fontWeight="500"
125
- lineHeight={theme.fontSizes.sm}
126
- color={theme.colors.neutral[25]}
127
- letterSpacing={"regular"}
128
- marginRight={8}
129
- />
130
-
131
- <Icons
132
- icon={"ELLIPSE"}
133
- color={
134
- readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)
135
- }
136
- size={9}
137
- />
138
- </Box>
139
- </Box>
140
-
141
- {/* Mensagem de notificação do carregamento */}
142
- <Typography
143
- text={notification}
144
- size={theme.fontSizes["2xs"]}
145
- fontFamily={theme.fonts.inter_medium_500}
146
- fontWeight="500"
147
- lineHeight={theme.fontSizes.sm ?? 14}
148
- color={theme.colors.neutral[25]}
149
- letterSpacing={"regular"}
150
- ellipsizeMode="tail"
151
- numberOfLines={1}
152
- />
153
- </Box>
154
- </Box>
155
- </TouchableOpacity>
156
- );
157
- };
158
-
159
- /**
160
- * EXPORTS
161
- */
162
- export { NotificationLoading };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import { TouchableOpacity } from "react-native";
6
+
7
+ // components
8
+ import { Box } from "../box";
9
+ import { Typography } from "../typography";
10
+
11
+ // icons
12
+ import { Icons } from "../../common/icons-svg";
13
+
14
+ // theme
15
+ import { theme } from "../../styles/theme/theme";
16
+
17
+ import { INotificationLoading } from "./interface";
18
+ import { getStatusColor, StatusType } from "../../utils/status-color/return-color";
19
+
20
+ const NotificationLoading: React.FC<INotificationLoading> = ({
21
+ handleNavigation,
22
+ title,
23
+ testID,
24
+ statusNotify,
25
+ date,
26
+ notification,
27
+ dataStart,
28
+ style,
29
+ readonly,
30
+ }) => {
31
+ return (
32
+ <TouchableOpacity
33
+ activeOpacity={0.7}
34
+ testID={testID}
35
+ onPress={handleNavigation}
36
+ disabled={readonly}
37
+ >
38
+ <Box
39
+ width={"100%"}
40
+ flexStyle={{ flexDirection: "row", alignItems: "center" }}
41
+ backgroundColor={readonly ? theme.colors.blue[40050] : theme.colors.blue[400]}
42
+ borderStyled={{
43
+ borderWidth: theme.borderWidths.thin,
44
+ borderRadius: theme.borderWidths.thick_medium,
45
+ borderColor: readonly ? theme.colors.blue[40050] : theme.colors.blue[400],
46
+ }}
47
+ paddingStyle={{ padding: theme.paddings["2xs"] }}
48
+ style={style}
49
+ >
50
+ <Box width={"9%"}>
51
+ <Icons icon={"BELL"} size={32} color={theme.colors.neutral[25]} />
52
+ </Box>
53
+
54
+ <Box
55
+ flexStyle={{ flexDirection: "column" }}
56
+ width={"91%"}
57
+ paddingStyle={{ paddingLeft: 7 }}
58
+ >
59
+ {/* Carregamento identificação */}
60
+ <Box flexStyle={{ flexDirection: "row", alignItems: "center" }}>
61
+ <Typography
62
+ text={"Carregamento - "}
63
+ size={theme.fontSizes.sm}
64
+ lineHeight={theme.fontSizes.lg}
65
+ fontFamily={theme.fonts.inter_semi_bold_600}
66
+ fontWeight="600"
67
+ color={theme.colors.neutral[25]}
68
+ letterSpacing={"regular"}
69
+ />
70
+ <Typography
71
+ text={title}
72
+ size={theme.fontSizes.xs}
73
+ lineHeight={theme.fontSizes.md}
74
+ fontFamily={theme.fonts.inter_bold_700}
75
+ fontWeight="700"
76
+ color={theme.colors.neutral[25]}
77
+ letterSpacing={"regular"}
78
+ />
79
+ </Box>
80
+
81
+ {/* Data do carregamento */}
82
+ <Box
83
+ flexStyle={{
84
+ flexDirection: "row",
85
+ alignItems: "center",
86
+ justifyContent: "space-between",
87
+ }}
88
+ >
89
+ <Box
90
+ flexStyle={{
91
+ flexDirection: "row",
92
+ alignItems: "center",
93
+ }}
94
+ >
95
+ <Typography
96
+ text={"Data - "}
97
+ size={theme.fontSizes.sm}
98
+ lineHeight={theme.fontSizes.lg ?? 18}
99
+ fontFamily={theme.fonts.inter_medium_500}
100
+ fontWeight="500"
101
+ color={theme.colors.neutral[25]}
102
+ letterSpacing={"regular"}
103
+ />
104
+ <Typography
105
+ text={String(date)}
106
+ size={theme.fontSizes.sm}
107
+ lineHeight={theme.fontSizes.lg ?? 18}
108
+ fontFamily={theme.fonts.inter_medium_500}
109
+ fontWeight="500"
110
+ color={theme.colors.neutral[25]}
111
+ letterSpacing={"regular"}
112
+ />
113
+ </Box>
114
+ <Box
115
+ flexStyle={{
116
+ flexDirection: "row",
117
+ alignItems: "center",
118
+ }}
119
+ >
120
+ <Typography
121
+ text={String(dataStart)}
122
+ size={theme.fontSizes["2xs"]}
123
+ fontFamily={theme.fonts.inter_medium_500}
124
+ fontWeight="500"
125
+ lineHeight={theme.fontSizes.sm}
126
+ color={theme.colors.neutral[25]}
127
+ letterSpacing={"regular"}
128
+ marginRight={8}
129
+ />
130
+
131
+ <Icons
132
+ icon={"ELLIPSE"}
133
+ color={
134
+ readonly ? theme.colors.neutral[25] : getStatusColor(statusNotify as StatusType)
135
+ }
136
+ size={9}
137
+ />
138
+ </Box>
139
+ </Box>
140
+
141
+ {/* Mensagem de notificação do carregamento */}
142
+ <Typography
143
+ text={notification}
144
+ size={theme.fontSizes["2xs"]}
145
+ fontFamily={theme.fonts.inter_medium_500}
146
+ fontWeight="500"
147
+ lineHeight={theme.fontSizes.sm ?? 14}
148
+ color={theme.colors.neutral[25]}
149
+ letterSpacing={"regular"}
150
+ ellipsizeMode="tail"
151
+ numberOfLines={1}
152
+ />
153
+ </Box>
154
+ </Box>
155
+ </TouchableOpacity>
156
+ );
157
+ };
158
+
159
+ /**
160
+ * EXPORTS
161
+ */
162
+ export { NotificationLoading };
@@ -1,68 +1,68 @@
1
- /**
2
- * IMPORTS
3
- */
4
-
5
- import { StyleSheet } from "react-native";
6
-
7
- // typings
8
- import { IStepIndicator } from "./interface";
9
-
10
- // styles
11
- import { theme } from "../../styles/theme/theme";
12
-
13
- const styles = (props: IStepIndicator) =>
14
- StyleSheet.create({
15
- containerIndicator: {
16
- width: "100%",
17
- height: 86,
18
- flexDirection: "row",
19
- justifyContent: "flex-start",
20
- // backgroundColor: theme.colors.gray[300],
21
- },
22
- containerBall: {
23
- width: 32,
24
- height: 32,
25
- backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],
26
- flexDirection: "row",
27
- alignItems: "center",
28
- justifyContent: "center",
29
- borderRadius: 16,
30
- },
31
- title: {
32
- color: props.titleColor ?? "black",
33
- textAlign: "center",
34
- lineHeight: 20,
35
- fontSize: theme.fontSizes["sm"],
36
- fontWeight: "500",
37
- marginLeft: 8,
38
- },
39
- titleNumber: {
40
- color: props.titleNumberColor ?? theme.colors.neutral[25],
41
- textAlign: "center",
42
- lineHeight: 16,
43
- fontFamily: theme.fonts.inter_regular_400,
44
- fontSize: theme.fontSizes["xs"],
45
- position: "absolute",
46
- },
47
- titleDescription: {
48
- color: props.textColorDescription ?? theme.colors.gray[700],
49
- textAlign: "center",
50
- lineHeight: 16,
51
- fontSize: theme.fontSizes["xs"],
52
- fontFamily: theme.fonts.inter_regular_400,
53
- fontWeight: "400",
54
- marginLeft: 8,
55
- },
56
- containerMain: {
57
- width: "100%",
58
- height: 56,
59
- flexDirection: "column",
60
- alignItems: "flex-start",
61
- marginLeft: 2,
62
- },
63
- });
64
-
65
- /**
66
- * EXPORTS
67
- */
68
- export { styles };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+
5
+ import { StyleSheet } from "react-native";
6
+
7
+ // typings
8
+ import { IStepIndicator } from "./interface";
9
+
10
+ // styles
11
+ import { theme } from "../../styles/theme/theme";
12
+
13
+ const styles = (props: IStepIndicator) =>
14
+ StyleSheet.create({
15
+ containerIndicator: {
16
+ width: "100%",
17
+ height: 86,
18
+ flexDirection: "row",
19
+ justifyContent: "flex-start",
20
+ // backgroundColor: theme.colors.gray[300],
21
+ },
22
+ containerBall: {
23
+ width: 32,
24
+ height: 32,
25
+ backgroundColor: props.backgroundColorBall ?? theme.colors.blue[500],
26
+ flexDirection: "row",
27
+ alignItems: "center",
28
+ justifyContent: "center",
29
+ borderRadius: 16,
30
+ },
31
+ title: {
32
+ color: props.titleColor ?? "black",
33
+ textAlign: "center",
34
+ lineHeight: 20,
35
+ fontSize: theme.fontSizes["sm"],
36
+ fontWeight: "500",
37
+ marginLeft: 8,
38
+ },
39
+ titleNumber: {
40
+ color: props.titleNumberColor ?? theme.colors.neutral[25],
41
+ textAlign: "center",
42
+ lineHeight: 16,
43
+ fontFamily: theme.fonts.inter_regular_400,
44
+ fontSize: theme.fontSizes["xs"],
45
+ position: "absolute",
46
+ },
47
+ titleDescription: {
48
+ color: props.textColorDescription ?? theme.colors.gray[700],
49
+ textAlign: "center",
50
+ lineHeight: 16,
51
+ fontSize: theme.fontSizes["xs"],
52
+ fontFamily: theme.fonts.inter_regular_400,
53
+ fontWeight: "400",
54
+ marginLeft: 8,
55
+ },
56
+ containerMain: {
57
+ width: "100%",
58
+ height: 56,
59
+ flexDirection: "column",
60
+ alignItems: "flex-start",
61
+ marginLeft: 2,
62
+ },
63
+ });
64
+
65
+ /**
66
+ * EXPORTS
67
+ */
68
+ export { styles };
package/src/index.ts CHANGED
@@ -1,43 +1,43 @@
1
- /**
2
- * EXPORTS
3
- */
4
-
5
- // Components
6
- export { Box } from "./components/box";
7
- export { Button } from "./components/button";
8
- export { StepIndicator } from "./components/step-indicator";
9
- export { Typography } from "./components/typography";
10
- export { Input } from "./components/input";
11
- export { CapturePhoto } from "./components/capture-photo";
12
- export { CardHours } from "./components/card-hours";
13
- export { SelectOption } from "./components/selects/select-option";
14
- export { Header } from "./components/header-profile";
15
- export { ScheduledJourneyIndicators } from "./components/scheduled-journey-indicators";
16
- export { CardScheduledJourney } from "./components/card-scheduled-journey";
17
- export { UserProfile } from "./components/user-profile";
18
- export { MenuItem } from "./components/menu-item";
19
- export { CardLoading } from "./components/card-loading";
20
- export { CardWorkSession } from "./components/card-work-session";
21
- export { LoadingProgress } from "./components/loading-progress";
22
- export { NoData } from "./components/no-data";
23
- export { FilterJourney } from "./components/filter-journey";
24
- export { Coil } from "./components/coil";
25
- export { FilterDateSelector } from "./components/filter-date-selector";
26
- export { CardHistory } from "./components/card-history";
27
- export { NotificationLoading } from "./components/notification-loading";
28
- export { CheckBox } from "./components/check-box";
29
- export { ImageCaptureWithRemove } from "./components/image-capture-with-remove";
30
- export { LoadingDetails } from "./components/loading-details";
31
- export { AvatarProfile } from "./components/avatar-profile";
32
- export { HistoryDetails } from "./components/history-details";
33
- export { ActivitiesDaily } from "./components/activities-daily";
34
- export { ActivitiesProgress } from "./components/activities-progress";
35
- export { ProfileMenuOption } from "./components/profile-menu-option";
36
- export { ModalActivities } from "./components/modal-activities";
37
-
38
- // Utilities
39
- export { multiply } from "./utils/mutiply";
40
- export { formatDate, getLastSevenDays, formHoursMinute } from "./utils/format-data";
41
-
42
- // Styles
43
- export { theme } from "./styles/theme/theme";
1
+ /**
2
+ * EXPORTS
3
+ */
4
+
5
+ // Components
6
+ export { Box } from "./components/box";
7
+ export { Button } from "./components/button";
8
+ export { StepIndicator } from "./components/step-indicator";
9
+ export { Typography } from "./components/typography";
10
+ export { Input } from "./components/input";
11
+ export { CapturePhoto } from "./components/capture-photo";
12
+ export { CardHours } from "./components/card-hours";
13
+ export { SelectOption } from "./components/selects/select-option";
14
+ export { Header } from "./components/header-profile";
15
+ export { ScheduledJourneyIndicators } from "./components/scheduled-journey-indicators";
16
+ export { CardScheduledJourney } from "./components/card-scheduled-journey";
17
+ export { UserProfile } from "./components/user-profile";
18
+ export { MenuItem } from "./components/menu-item";
19
+ export { CardLoading } from "./components/card-loading";
20
+ export { CardWorkSession } from "./components/card-work-session";
21
+ export { LoadingProgress } from "./components/loading-progress";
22
+ export { NoData } from "./components/no-data";
23
+ export { FilterJourney } from "./components/filter-journey";
24
+ export { Coil } from "./components/coil";
25
+ export { FilterDateSelector } from "./components/filter-date-selector";
26
+ export { CardHistory } from "./components/card-history";
27
+ export { NotificationLoading } from "./components/notification-loading";
28
+ export { CheckBox } from "./components/check-box";
29
+ export { ImageCaptureWithRemove } from "./components/image-capture-with-remove";
30
+ export { LoadingDetails } from "./components/loading-details";
31
+ export { AvatarProfile } from "./components/avatar-profile";
32
+ export { HistoryDetails } from "./components/history-details";
33
+ export { ActivitiesDaily } from "./components/activities-daily";
34
+ export { ActivitiesProgress } from "./components/activities-progress";
35
+ export { ProfileMenuOption } from "./components/profile-menu-option";
36
+ export { ModalActivities } from "./components/modal-activities";
37
+
38
+ // Utilities
39
+ export { multiply } from "./utils/mutiply";
40
+ export { formatDate, getLastSevenDays, formHoursMinute } from "./utils/format-data";
41
+
42
+ // Styles
43
+ export { theme } from "./styles/theme/theme";