react-native-exp-fig 0.1.14 → 0.1.16
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/agent/index.js +2 -2
- package/lib/commonjs/common/icons-svg/agent/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/bed/index.js +4 -4
- package/lib/commonjs/common/icons-svg/bed/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/car/index.js +4 -4
- package/lib/commonjs/common/icons-svg/car/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/check-outline/index.js +6 -6
- package/lib/commonjs/common/icons-svg/check-outline/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/coffee/index.js +4 -4
- package/lib/commonjs/common/icons-svg/coffee/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/constants/index.js +2 -1
- package/lib/commonjs/common/icons-svg/constants/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/hourglass/index.js +36 -0
- package/lib/commonjs/common/icons-svg/hourglass/index.js.map +1 -0
- package/lib/commonjs/common/icons-svg/index.js +8 -1
- package/lib/commonjs/common/icons-svg/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/pencil/index.js +4 -4
- package/lib/commonjs/common/icons-svg/pencil/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js +2 -2
- package/lib/commonjs/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
- package/lib/commonjs/common/icons-svg/truck-activity/index.js +4 -4
- package/lib/commonjs/common/icons-svg/truck-activity/index.js.map +1 -1
- package/lib/commonjs/components/activities-daily/index.js +4 -4
- package/lib/commonjs/components/activities-daily/index.js.map +1 -1
- package/lib/commonjs/components/activities-daily/interface.d.js.map +1 -1
- package/lib/commonjs/components/activities-progress/index.js +4 -4
- package/lib/commonjs/components/activities-progress/index.js.map +1 -1
- package/lib/commonjs/components/activities-progress/interface.d.js.map +1 -1
- package/lib/commonjs/components/avatar-profile/index.js.map +1 -1
- package/lib/commonjs/components/avatar-profile/interface.d.js.map +1 -1
- package/lib/commonjs/components/button/styles.js +1 -1
- package/lib/commonjs/components/button/styles.js.map +1 -1
- package/lib/commonjs/components/card-history/index.js +62 -12
- package/lib/commonjs/components/card-history/index.js.map +1 -1
- package/lib/commonjs/components/card-history/interface.d.js.map +1 -1
- package/lib/commonjs/components/card-loading/index.js +21 -10
- package/lib/commonjs/components/card-loading/index.js.map +1 -1
- package/lib/commonjs/components/card-work-session/index.js +4 -4
- package/lib/commonjs/components/card-work-session/index.js.map +1 -1
- package/lib/commonjs/components/check-box/index.js +6 -6
- package/lib/commonjs/components/check-box/index.js.map +1 -1
- package/lib/commonjs/components/check-box/interface.d.js.map +1 -1
- package/lib/commonjs/components/coil/index.js +4 -4
- package/lib/commonjs/components/coil/index.js.map +1 -1
- package/lib/commonjs/components/coil/interface.d.js.map +1 -1
- package/lib/commonjs/components/filter-date-selector/index.js +7 -7
- package/lib/commonjs/components/filter-date-selector/index.js.map +1 -1
- package/lib/commonjs/components/history-details/index.js +1 -2
- package/lib/commonjs/components/history-details/index.js.map +1 -1
- package/lib/commonjs/components/history-details/interface.d.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/index.js +11 -10
- package/lib/commonjs/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/commonjs/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/commonjs/components/loading-progress/index.js +3 -1
- package/lib/commonjs/components/loading-progress/index.js.map +1 -1
- package/lib/commonjs/components/modal-activities/index.js +155 -0
- package/lib/commonjs/components/modal-activities/index.js.map +1 -0
- package/lib/commonjs/components/modal-activities/interface.d.js +6 -0
- package/lib/commonjs/components/modal-activities/interface.d.js.map +1 -0
- package/lib/commonjs/components/notification-loading/index.js +9 -2
- package/lib/commonjs/components/notification-loading/index.js.map +1 -1
- package/lib/commonjs/components/notification-loading/interface.d.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/index.js.map +1 -1
- package/lib/commonjs/components/profile-menu-option/interface.d.js.map +1 -1
- package/lib/commonjs/components/step-indicator/index.js +6 -6
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/interface.d.js.map +1 -1
- package/lib/commonjs/components/step-indicator/styles.js +9 -8
- package/lib/commonjs/components/step-indicator/styles.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +6 -6
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/stories/activities-daily/activities-daily.stories.js.map +1 -1
- package/lib/commonjs/stories/activities-progress/activities-progress.stories.js.map +1 -1
- package/lib/commonjs/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
- package/lib/commonjs/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/commonjs/stories/coil/coil.stories.js.map +1 -1
- package/lib/commonjs/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/commonjs/stories/history-details/history-details.stories.js.map +1 -1
- package/lib/commonjs/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js +47 -0
- package/lib/commonjs/stories/modal-activities/modal-activities.stories.js.map +1 -0
- package/lib/commonjs/stories/notification-loading/notification-loading.stories.js.map +1 -1
- package/lib/commonjs/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
- package/lib/commonjs/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/commonjs/styles/global/interface.d.js.map +1 -1
- package/lib/commonjs/styles/theme/theme.js +6 -5
- package/lib/commonjs/styles/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/format-data/index.js +11 -11
- package/lib/commonjs/utils/format-data/index.js.map +1 -1
- package/lib/commonjs/utils/status-color/return-color.js +12 -2
- package/lib/commonjs/utils/status-color/return-color.js.map +1 -1
- package/lib/module/common/icons-svg/agent/index.js +2 -2
- package/lib/module/common/icons-svg/agent/index.js.map +1 -1
- package/lib/module/common/icons-svg/bed/index.js +4 -4
- package/lib/module/common/icons-svg/bed/index.js.map +1 -1
- package/lib/module/common/icons-svg/car/index.js +4 -4
- package/lib/module/common/icons-svg/car/index.js.map +1 -1
- package/lib/module/common/icons-svg/check-outline/index.js +6 -6
- package/lib/module/common/icons-svg/check-outline/index.js.map +1 -1
- package/lib/module/common/icons-svg/coffee/index.js +4 -4
- package/lib/module/common/icons-svg/coffee/index.js.map +1 -1
- package/lib/module/common/icons-svg/constants/index.js +2 -1
- package/lib/module/common/icons-svg/constants/index.js.map +1 -1
- package/lib/module/common/icons-svg/hourglass/index.js +28 -0
- package/lib/module/common/icons-svg/hourglass/index.js.map +1 -0
- package/lib/module/common/icons-svg/index.js +11 -4
- package/lib/module/common/icons-svg/index.js.map +1 -1
- package/lib/module/common/icons-svg/pencil/index.js +4 -4
- package/lib/module/common/icons-svg/pencil/index.js.map +1 -1
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js +2 -2
- package/lib/module/common/icons-svg/refresh-ccw-dot/index.js.map +1 -1
- package/lib/module/common/icons-svg/truck-activity/index.js +4 -4
- package/lib/module/common/icons-svg/truck-activity/index.js.map +1 -1
- package/lib/module/components/activities-daily/index.js +4 -4
- package/lib/module/components/activities-daily/index.js.map +1 -1
- package/lib/module/components/activities-daily/interface.d.js.map +1 -1
- package/lib/module/components/activities-progress/index.js +4 -4
- package/lib/module/components/activities-progress/index.js.map +1 -1
- package/lib/module/components/activities-progress/interface.d.js.map +1 -1
- package/lib/module/components/avatar-profile/index.js.map +1 -1
- package/lib/module/components/avatar-profile/interface.d.js.map +1 -1
- package/lib/module/components/button/styles.js +1 -1
- package/lib/module/components/button/styles.js.map +1 -1
- package/lib/module/components/card-history/index.js +62 -12
- package/lib/module/components/card-history/index.js.map +1 -1
- package/lib/module/components/card-history/interface.d.js.map +1 -1
- package/lib/module/components/card-loading/index.js +22 -11
- package/lib/module/components/card-loading/index.js.map +1 -1
- package/lib/module/components/card-work-session/index.js +4 -4
- package/lib/module/components/card-work-session/index.js.map +1 -1
- package/lib/module/components/check-box/index.js +6 -6
- package/lib/module/components/check-box/index.js.map +1 -1
- package/lib/module/components/check-box/interface.d.js.map +1 -1
- package/lib/module/components/coil/index.js +4 -4
- package/lib/module/components/coil/index.js.map +1 -1
- package/lib/module/components/coil/interface.d.js.map +1 -1
- package/lib/module/components/filter-date-selector/index.js +7 -7
- package/lib/module/components/filter-date-selector/index.js.map +1 -1
- package/lib/module/components/history-details/index.js +1 -2
- package/lib/module/components/history-details/index.js.map +1 -1
- package/lib/module/components/history-details/interface.d.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/index.js +11 -10
- package/lib/module/components/image-capture-with-remove/index.js.map +1 -1
- package/lib/module/components/image-capture-with-remove/interface.d.js.map +1 -1
- package/lib/module/components/loading-progress/index.js +3 -1
- package/lib/module/components/loading-progress/index.js.map +1 -1
- package/lib/module/components/modal-activities/index.js +148 -0
- package/lib/module/components/modal-activities/index.js.map +1 -0
- package/lib/module/components/modal-activities/interface.d.js +2 -0
- package/lib/module/components/modal-activities/interface.d.js.map +1 -0
- package/lib/module/components/notification-loading/index.js +9 -2
- package/lib/module/components/notification-loading/index.js.map +1 -1
- package/lib/module/components/notification-loading/interface.d.js.map +1 -1
- package/lib/module/components/profile-menu-option/index.js.map +1 -1
- package/lib/module/components/profile-menu-option/interface.d.js.map +1 -1
- package/lib/module/components/step-indicator/index.js +6 -6
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/step-indicator/interface.d.js.map +1 -1
- package/lib/module/components/step-indicator/styles.js +9 -8
- package/lib/module/components/step-indicator/styles.js.map +1 -1
- package/lib/module/components/user-profile/index.js +6 -6
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/stories/activities-daily/activities-daily.stories.js.map +1 -1
- package/lib/module/stories/activities-progress/activities-progress.stories.js.map +1 -1
- package/lib/module/stories/avatar-profile/avatar-profile.stories.js.map +1 -1
- package/lib/module/stories/card-loading/card-loading.stories.js.map +1 -1
- package/lib/module/stories/check-box/check-box.stories.js.map +1 -1
- package/lib/module/stories/coil/coil.stories.js.map +1 -1
- package/lib/module/stories/filter-date-selector/filter-date-selector.stories.js.map +1 -1
- package/lib/module/stories/history-details/history-details.stories.js.map +1 -1
- package/lib/module/stories/image-capture-with-remove/image-capture-with-remove.stories.js.map +1 -1
- package/lib/module/stories/modal-activities/modal-activities.stories.js +41 -0
- package/lib/module/stories/modal-activities/modal-activities.stories.js.map +1 -0
- package/lib/module/stories/notification-loading/notification-loading.stories.js.map +1 -1
- package/lib/module/stories/profile-menu-option/profile-menu-option.stories.js.map +1 -1
- package/lib/module/stories/step-indicator/step-indicator.stories.js.map +1 -1
- package/lib/module/styles/global/interface.d.js.map +1 -1
- package/lib/module/styles/theme/theme.js +6 -5
- package/lib/module/styles/theme/theme.js.map +1 -1
- package/lib/module/utils/format-data/index.js +11 -11
- package/lib/module/utils/format-data/index.js.map +1 -1
- package/lib/module/utils/status-color/return-color.js +12 -3
- package/lib/module/utils/status-color/return-color.js.map +1 -1
- package/lib/typescript/src/common/icons-svg/constants/index.d.ts +1 -0
- package/lib/typescript/src/common/icons-svg/hourglass/index.d.ts +10 -0
- package/lib/typescript/src/components/button/styles.d.ts +2 -3
- package/lib/typescript/src/components/modal-activities/index.d.ts +6 -0
- package/lib/typescript/src/components/step-indicator/styles.d.ts +1 -0
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/stories/modal-activities/modal-activities.stories.d.ts +6 -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/lib/typescript/src/utils/status-color/return-color.d.ts +2 -1
- package/package.json +221 -221
- package/src/common/icons-svg/agent/index.tsx +40 -40
- package/src/common/icons-svg/bed/index.tsx +41 -41
- package/src/common/icons-svg/car/index.tsx +29 -29
- package/src/common/icons-svg/check-outline/index.tsx +42 -42
- package/src/common/icons-svg/coffee/index.tsx +43 -43
- package/src/common/icons-svg/constants/index.ts +1 -0
- package/src/common/icons-svg/hourglass/index.tsx +28 -0
- package/src/common/icons-svg/index.tsx +8 -4
- package/src/common/icons-svg/pencil/index.tsx +32 -32
- package/src/common/icons-svg/refresh-ccw-dot/index.tsx +32 -32
- package/src/common/icons-svg/truck-activity/index.tsx +29 -29
- package/src/components/activities-daily/index.tsx +116 -116
- package/src/components/activities-daily/interface.d.ts +22 -22
- package/src/components/activities-progress/index.tsx +162 -162
- package/src/components/activities-progress/interface.d.ts +41 -41
- package/src/components/avatar-profile/index.tsx +95 -95
- package/src/components/avatar-profile/interface.d.ts +39 -39
- package/src/components/button/styles.ts +34 -34
- package/src/components/card-history/index.tsx +67 -5
- package/src/components/card-history/interface.d.ts +34 -28
- package/src/components/card-loading/index.tsx +16 -4
- package/src/components/card-work-session/index.tsx +187 -187
- package/src/components/check-box/index.tsx +94 -94
- package/src/components/check-box/interface.d.ts +31 -31
- package/src/components/coil/index.tsx +103 -103
- package/src/components/coil/interface.d.ts +26 -26
- package/src/components/filter-date-selector/index.tsx +101 -101
- package/src/components/history-details/index.tsx +1 -2
- package/src/components/history-details/interface.d.ts +18 -18
- package/src/components/image-capture-with-remove/index.tsx +11 -8
- package/src/components/image-capture-with-remove/interface.d.ts +6 -3
- package/src/components/loading-progress/index.tsx +93 -91
- package/src/components/modal-activities/index.tsx +139 -0
- package/src/components/modal-activities/interface.d.ts +21 -0
- package/src/components/notification-loading/index.tsx +9 -2
- package/src/components/notification-loading/interface.d.ts +35 -35
- package/src/components/profile-menu-option/index.tsx +65 -65
- package/src/components/profile-menu-option/interface.d.ts +42 -42
- package/src/components/step-indicator/index.tsx +164 -164
- package/src/components/step-indicator/interface.d.ts +34 -34
- package/src/components/step-indicator/styles.ts +68 -67
- package/src/components/user-profile/index.tsx +204 -204
- package/src/index.ts +1 -0
- package/src/stories/activities-daily/activities-daily.stories.tsx +40 -40
- package/src/stories/activities-progress/activities-progress.stories.tsx +61 -61
- package/src/stories/avatar-profile/avatar-profile.stories.tsx +32 -32
- package/src/stories/card-history/card-history.stories.tsx +50 -50
- package/src/stories/card-loading/card-loading.stories.tsx +85 -85
- package/src/stories/check-box/check-box.stories.tsx +81 -81
- package/src/stories/coil/coil.stories.tsx +98 -98
- package/src/stories/filter-date-selector/filter-date-selector.stories.tsx +122 -122
- package/src/stories/history-details/history-details.stories.tsx +36 -36
- package/src/stories/image-capture-with-remove/image-capture-with-remove.stories.tsx +57 -57
- package/src/stories/modal-activities/modal-activities.stories.tsx +46 -0
- package/src/stories/notification-loading/notification-loading.stories.tsx +88 -88
- package/src/stories/profile-menu-option/profile-menu-option.stories.tsx +70 -70
- package/src/stories/step-indicator/step-indicator.stories.tsx +124 -124
- package/src/styles/global/interface.d.ts +146 -141
- package/src/styles/theme/theme.ts +1 -0
- package/src/utils/format-data/index.ts +66 -66
- package/src/utils/status-color/return-color.ts +14 -3
|
@@ -1,187 +1,187 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Imports
|
|
3
|
-
*/
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { Image, TouchableOpacity } from "react-native";
|
|
6
|
-
|
|
7
|
-
// components
|
|
8
|
-
import { Box } from "../box";
|
|
9
|
-
import { Typography } from "../typography";
|
|
10
|
-
|
|
11
|
-
// commons / icons
|
|
12
|
-
import { Icons } from "../../common/icons-svg";
|
|
13
|
-
|
|
14
|
-
// typings
|
|
15
|
-
import { ICardWorkSession } from "./interface";
|
|
16
|
-
|
|
17
|
-
// styles
|
|
18
|
-
import { theme } from "../../styles/theme/theme";
|
|
19
|
-
|
|
20
|
-
const CardWorkSession: React.FC<ICardWorkSession> = ({
|
|
21
|
-
name = "Weverson L.S",
|
|
22
|
-
workDate = "25/01/2025",
|
|
23
|
-
timeWork = "",
|
|
24
|
-
initialTime = "11:40",
|
|
25
|
-
duration = "05:20",
|
|
26
|
-
avatar = "",
|
|
27
|
-
counterBadge = 0,
|
|
28
|
-
backgroundColor,
|
|
29
|
-
handleNavigation,
|
|
30
|
-
}) => {
|
|
31
|
-
return (
|
|
32
|
-
<Box
|
|
33
|
-
paddingStyle={{ padding: theme.paddings.md }}
|
|
34
|
-
borderStyled={{
|
|
35
|
-
borderBottomWidth: theme.borderWidths.thin,
|
|
36
|
-
borderColor: theme.colors.gray[400],
|
|
37
|
-
}}
|
|
38
|
-
backgroundColor={backgroundColor ?? theme.colors.gray[300]}
|
|
39
|
-
style={{
|
|
40
|
-
position: "relative",
|
|
41
|
-
}}
|
|
42
|
-
>
|
|
43
|
-
{/* Cabeçalho com imagem e ícone */}
|
|
44
|
-
<Box
|
|
45
|
-
flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
|
|
46
|
-
>
|
|
47
|
-
<Image
|
|
48
|
-
style={{
|
|
49
|
-
width: 50,
|
|
50
|
-
height: 50,
|
|
51
|
-
borderRadius: 25,
|
|
52
|
-
borderWidth: theme.borderWidths.thin_medium,
|
|
53
|
-
borderColor: theme.colors.blue[500],
|
|
54
|
-
}}
|
|
55
|
-
source={{
|
|
56
|
-
uri:
|
|
57
|
-
avatar ||
|
|
58
|
-
"https://static.vakinha.com.br/uploads/user/avatar/2251959/download.png?ims=225x225",
|
|
59
|
-
}}
|
|
60
|
-
/>
|
|
61
|
-
<Box style={{ position: "absolute", left: 57, top: 5 }}>
|
|
62
|
-
<Box flexStyle={{ flexDirection: "row" }} marginStyle={{ marginTop: -5 }}>
|
|
63
|
-
<Typography
|
|
64
|
-
text={"Jornada Trabalho: "}
|
|
65
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
66
|
-
size={theme.fontSizes.sm}
|
|
67
|
-
color={theme.colors.black[100]}
|
|
68
|
-
letterSpacing={"regular"}
|
|
69
|
-
/>
|
|
70
|
-
<Typography
|
|
71
|
-
text={workDate}
|
|
72
|
-
size={theme.fontSizes.xs}
|
|
73
|
-
fontFamily={theme.fonts.inter_regular_400}
|
|
74
|
-
color={theme.colors.black[100]}
|
|
75
|
-
/>
|
|
76
|
-
</Box>
|
|
77
|
-
<Box flexStyle={{ flexDirection: "row" }}>
|
|
78
|
-
<Typography
|
|
79
|
-
text={"Tempo Jornada: "}
|
|
80
|
-
size={theme.fontSizes.sm}
|
|
81
|
-
color={theme.colors.black[100]}
|
|
82
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
83
|
-
letterSpacing={"regular"}
|
|
84
|
-
/>
|
|
85
|
-
|
|
86
|
-
{timeWork && (
|
|
87
|
-
<Typography
|
|
88
|
-
text={timeWork}
|
|
89
|
-
size={theme.fontSizes.xs}
|
|
90
|
-
fontFamily={theme.fonts.inter_regular_400}
|
|
91
|
-
color={theme.colors.gray[800]}
|
|
92
|
-
letterSpacing={"regular"}
|
|
93
|
-
/>
|
|
94
|
-
)}
|
|
95
|
-
</Box>
|
|
96
|
-
</Box>
|
|
97
|
-
<TouchableOpacity activeOpacity={0.7} onPress={handleNavigation}>
|
|
98
|
-
{counterBadge > 0 && (
|
|
99
|
-
<Box
|
|
100
|
-
backgroundColor={theme.colors.red[600]}
|
|
101
|
-
flexStyle={{ alignItems: "center", justifyContent: "center" }}
|
|
102
|
-
borderStyled={{ borderRadius: theme.borderWidths.hairline }}
|
|
103
|
-
style={[
|
|
104
|
-
counterBadge < 10
|
|
105
|
-
? { right: -5, top: -2, height: 16, width: 16 }
|
|
106
|
-
: { right: -8, top: -5, padding: 2 },
|
|
107
|
-
{ position: "absolute", zIndex: 10 },
|
|
108
|
-
]}
|
|
109
|
-
>
|
|
110
|
-
<Typography
|
|
111
|
-
text={`${counterBadge}`}
|
|
112
|
-
align={"center"}
|
|
113
|
-
size={theme.fontSizes["2xs"]}
|
|
114
|
-
color={theme.colors.neutral[25]}
|
|
115
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
116
|
-
lineHeight={theme.fontSizes.sm}
|
|
117
|
-
letterSpacing={"regular"}
|
|
118
|
-
/>
|
|
119
|
-
</Box>
|
|
120
|
-
)}
|
|
121
|
-
<Icons icon={"BELL"} size={28} style={{ position: "relative" }} />
|
|
122
|
-
</TouchableOpacity>
|
|
123
|
-
</Box>
|
|
124
|
-
|
|
125
|
-
<Box
|
|
126
|
-
flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
|
|
127
|
-
>
|
|
128
|
-
<Box width={"65%"}>
|
|
129
|
-
<Typography
|
|
130
|
-
text={`Olá, ${name}`}
|
|
131
|
-
size={16}
|
|
132
|
-
color={theme.colors.black[100]}
|
|
133
|
-
fontFamily={theme.fonts.inter_bold_700}
|
|
134
|
-
marginLeft={-5}
|
|
135
|
-
/>
|
|
136
|
-
</Box>
|
|
137
|
-
|
|
138
|
-
{/* Seção de horário */}
|
|
139
|
-
<Box flexStyle={{ flexDirection: "row" }}>
|
|
140
|
-
<Box marginStyle={{ marginRight: 15 }}>
|
|
141
|
-
<Typography
|
|
142
|
-
text={`${initialTime}`}
|
|
143
|
-
size={theme.fontSizes.md}
|
|
144
|
-
align="center"
|
|
145
|
-
color={theme.colors.black[100]}
|
|
146
|
-
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
147
|
-
/>
|
|
148
|
-
|
|
149
|
-
<Typography
|
|
150
|
-
text={"INÍCIO"}
|
|
151
|
-
size={theme.fontSizes["2xs"]}
|
|
152
|
-
align="center"
|
|
153
|
-
color={theme.colors.black[100]}
|
|
154
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
155
|
-
fontWeight={"500"}
|
|
156
|
-
marginTop={-4}
|
|
157
|
-
/>
|
|
158
|
-
</Box>
|
|
159
|
-
|
|
160
|
-
<Box>
|
|
161
|
-
<Typography
|
|
162
|
-
text={`${duration}`}
|
|
163
|
-
size={theme.fontSizes.md}
|
|
164
|
-
align="center"
|
|
165
|
-
color={theme.colors.black[100]}
|
|
166
|
-
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
167
|
-
/>
|
|
168
|
-
|
|
169
|
-
<Typography
|
|
170
|
-
text={"DURAÇÃO"}
|
|
171
|
-
size={theme.fontSizes["2xs"]}
|
|
172
|
-
align="center"
|
|
173
|
-
color={theme.colors.black[100]}
|
|
174
|
-
fontFamily={theme.fonts.inter_medium_500}
|
|
175
|
-
marginTop={-4}
|
|
176
|
-
/>
|
|
177
|
-
</Box>
|
|
178
|
-
</Box>
|
|
179
|
-
</Box>
|
|
180
|
-
</Box>
|
|
181
|
-
);
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* EXPORTS
|
|
186
|
-
*/
|
|
187
|
-
export { CardWorkSession };
|
|
1
|
+
/**
|
|
2
|
+
* Imports
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Image, TouchableOpacity } from "react-native";
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
import { Box } from "../box";
|
|
9
|
+
import { Typography } from "../typography";
|
|
10
|
+
|
|
11
|
+
// commons / icons
|
|
12
|
+
import { Icons } from "../../common/icons-svg";
|
|
13
|
+
|
|
14
|
+
// typings
|
|
15
|
+
import { ICardWorkSession } from "./interface";
|
|
16
|
+
|
|
17
|
+
// styles
|
|
18
|
+
import { theme } from "../../styles/theme/theme";
|
|
19
|
+
|
|
20
|
+
const CardWorkSession: React.FC<ICardWorkSession> = ({
|
|
21
|
+
name = "Weverson L.S",
|
|
22
|
+
workDate = "25/01/2025",
|
|
23
|
+
timeWork = "",
|
|
24
|
+
initialTime = "11:40",
|
|
25
|
+
duration = "05:20",
|
|
26
|
+
avatar = "",
|
|
27
|
+
counterBadge = 0,
|
|
28
|
+
backgroundColor,
|
|
29
|
+
handleNavigation,
|
|
30
|
+
}) => {
|
|
31
|
+
return (
|
|
32
|
+
<Box
|
|
33
|
+
paddingStyle={{ padding: theme.paddings.md }}
|
|
34
|
+
borderStyled={{
|
|
35
|
+
borderBottomWidth: theme.borderWidths.thin,
|
|
36
|
+
borderColor: theme.colors.gray[400],
|
|
37
|
+
}}
|
|
38
|
+
backgroundColor={backgroundColor ?? theme.colors.gray[300]}
|
|
39
|
+
style={{
|
|
40
|
+
position: "relative",
|
|
41
|
+
}}
|
|
42
|
+
>
|
|
43
|
+
{/* Cabeçalho com imagem e ícone */}
|
|
44
|
+
<Box
|
|
45
|
+
flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
|
|
46
|
+
>
|
|
47
|
+
<Image
|
|
48
|
+
style={{
|
|
49
|
+
width: 50,
|
|
50
|
+
height: 50,
|
|
51
|
+
borderRadius: 25,
|
|
52
|
+
borderWidth: theme.borderWidths.thin_medium,
|
|
53
|
+
borderColor: theme.colors.blue[500],
|
|
54
|
+
}}
|
|
55
|
+
source={{
|
|
56
|
+
uri:
|
|
57
|
+
avatar ||
|
|
58
|
+
"https://static.vakinha.com.br/uploads/user/avatar/2251959/download.png?ims=225x225",
|
|
59
|
+
}}
|
|
60
|
+
/>
|
|
61
|
+
<Box style={{ position: "absolute", left: 57, top: 5 }}>
|
|
62
|
+
<Box flexStyle={{ flexDirection: "row" }} marginStyle={{ marginTop: -5 }}>
|
|
63
|
+
<Typography
|
|
64
|
+
text={"Jornada Trabalho: "}
|
|
65
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
66
|
+
size={theme.fontSizes.sm}
|
|
67
|
+
color={theme.colors.black[100]}
|
|
68
|
+
letterSpacing={"regular"}
|
|
69
|
+
/>
|
|
70
|
+
<Typography
|
|
71
|
+
text={workDate}
|
|
72
|
+
size={theme.fontSizes.xs}
|
|
73
|
+
fontFamily={theme.fonts.inter_regular_400}
|
|
74
|
+
color={theme.colors.black[100]}
|
|
75
|
+
/>
|
|
76
|
+
</Box>
|
|
77
|
+
<Box flexStyle={{ flexDirection: "row" }}>
|
|
78
|
+
<Typography
|
|
79
|
+
text={"Tempo Jornada: "}
|
|
80
|
+
size={theme.fontSizes.sm}
|
|
81
|
+
color={theme.colors.black[100]}
|
|
82
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
83
|
+
letterSpacing={"regular"}
|
|
84
|
+
/>
|
|
85
|
+
|
|
86
|
+
{timeWork && (
|
|
87
|
+
<Typography
|
|
88
|
+
text={timeWork}
|
|
89
|
+
size={theme.fontSizes.xs}
|
|
90
|
+
fontFamily={theme.fonts.inter_regular_400}
|
|
91
|
+
color={theme.colors.gray[800]}
|
|
92
|
+
letterSpacing={"regular"}
|
|
93
|
+
/>
|
|
94
|
+
)}
|
|
95
|
+
</Box>
|
|
96
|
+
</Box>
|
|
97
|
+
<TouchableOpacity activeOpacity={0.7} onPress={handleNavigation}>
|
|
98
|
+
{counterBadge > 0 && (
|
|
99
|
+
<Box
|
|
100
|
+
backgroundColor={theme.colors.red[600]}
|
|
101
|
+
flexStyle={{ alignItems: "center", justifyContent: "center" }}
|
|
102
|
+
borderStyled={{ borderRadius: theme.borderWidths.hairline }}
|
|
103
|
+
style={[
|
|
104
|
+
counterBadge < 10
|
|
105
|
+
? { right: -5, top: -2, height: 16, width: 16 }
|
|
106
|
+
: { right: -8, top: -5, padding: 2 },
|
|
107
|
+
{ position: "absolute", zIndex: 10 },
|
|
108
|
+
]}
|
|
109
|
+
>
|
|
110
|
+
<Typography
|
|
111
|
+
text={`${counterBadge}`}
|
|
112
|
+
align={"center"}
|
|
113
|
+
size={theme.fontSizes["2xs"]}
|
|
114
|
+
color={theme.colors.neutral[25]}
|
|
115
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
116
|
+
lineHeight={theme.fontSizes.sm}
|
|
117
|
+
letterSpacing={"regular"}
|
|
118
|
+
/>
|
|
119
|
+
</Box>
|
|
120
|
+
)}
|
|
121
|
+
<Icons icon={"BELL"} size={28} style={{ position: "relative" }} />
|
|
122
|
+
</TouchableOpacity>
|
|
123
|
+
</Box>
|
|
124
|
+
|
|
125
|
+
<Box
|
|
126
|
+
flexStyle={{ flexDirection: "row", justifyContent: "space-between", alignItems: "center" }}
|
|
127
|
+
>
|
|
128
|
+
<Box width={"65%"}>
|
|
129
|
+
<Typography
|
|
130
|
+
text={`Olá, ${name}`}
|
|
131
|
+
size={16}
|
|
132
|
+
color={theme.colors.black[100]}
|
|
133
|
+
fontFamily={theme.fonts.inter_bold_700}
|
|
134
|
+
marginLeft={-5}
|
|
135
|
+
/>
|
|
136
|
+
</Box>
|
|
137
|
+
|
|
138
|
+
{/* Seção de horário */}
|
|
139
|
+
<Box flexStyle={{ flexDirection: "row" }}>
|
|
140
|
+
<Box marginStyle={{ marginRight: 15 }}>
|
|
141
|
+
<Typography
|
|
142
|
+
text={`${initialTime}`}
|
|
143
|
+
size={theme.fontSizes.md}
|
|
144
|
+
align="center"
|
|
145
|
+
color={theme.colors.black[100]}
|
|
146
|
+
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
147
|
+
/>
|
|
148
|
+
|
|
149
|
+
<Typography
|
|
150
|
+
text={"INÍCIO"}
|
|
151
|
+
size={theme.fontSizes["2xs"]}
|
|
152
|
+
align="center"
|
|
153
|
+
color={theme.colors.black[100]}
|
|
154
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
155
|
+
fontWeight={"500"}
|
|
156
|
+
marginTop={-4}
|
|
157
|
+
/>
|
|
158
|
+
</Box>
|
|
159
|
+
|
|
160
|
+
<Box>
|
|
161
|
+
<Typography
|
|
162
|
+
text={`${duration}`}
|
|
163
|
+
size={theme.fontSizes.md}
|
|
164
|
+
align="center"
|
|
165
|
+
color={theme.colors.black[100]}
|
|
166
|
+
fontFamily={theme.fonts.inter_semi_bold_600}
|
|
167
|
+
/>
|
|
168
|
+
|
|
169
|
+
<Typography
|
|
170
|
+
text={"DURAÇÃO"}
|
|
171
|
+
size={theme.fontSizes["2xs"]}
|
|
172
|
+
align="center"
|
|
173
|
+
color={theme.colors.black[100]}
|
|
174
|
+
fontFamily={theme.fonts.inter_medium_500}
|
|
175
|
+
marginTop={-4}
|
|
176
|
+
/>
|
|
177
|
+
</Box>
|
|
178
|
+
</Box>
|
|
179
|
+
</Box>
|
|
180
|
+
</Box>
|
|
181
|
+
);
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* EXPORTS
|
|
186
|
+
*/
|
|
187
|
+
export { CardWorkSession };
|
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { TouchableOpacity } from "react-native";
|
|
6
|
-
|
|
7
|
-
// components
|
|
8
|
-
import { Typography } from "../typography";
|
|
9
|
-
|
|
10
|
-
// commons icons-svg
|
|
11
|
-
import { Icons } from "../../common/icons-svg";
|
|
12
|
-
|
|
13
|
-
// typings
|
|
14
|
-
import { ICheckBoxProps } from "./interface";
|
|
15
|
-
|
|
16
|
-
// styles
|
|
17
|
-
import { Box } from "../box";
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Componente CheckBox para a interação da ui.
|
|
21
|
-
*/
|
|
22
|
-
const CheckBox: React.FC<ICheckBoxProps> = ({
|
|
23
|
-
widthBoxCheckIcon,
|
|
24
|
-
isChecked,
|
|
25
|
-
backgroundColorCheck,
|
|
26
|
-
backgroundBoxCheckIcon,
|
|
27
|
-
textLabel,
|
|
28
|
-
textSizeLabel,
|
|
29
|
-
colorTextLabel,
|
|
30
|
-
onPress,
|
|
31
|
-
...res
|
|
32
|
-
}: ICheckBoxProps) => {
|
|
33
|
-
return (
|
|
34
|
-
<TouchableOpacity testID="checkbox-button" onPress={onPress} {...res}>
|
|
35
|
-
{isChecked ? (
|
|
36
|
-
<Box
|
|
37
|
-
width={"100%"}
|
|
38
|
-
paddingStyle={{ paddingLeft: 16, paddingRight: 16 }}
|
|
39
|
-
flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
|
|
40
|
-
>
|
|
41
|
-
<Box
|
|
42
|
-
testID="check-box-true"
|
|
43
|
-
width={widthBoxCheckIcon ? widthBoxCheckIcon : 30}
|
|
44
|
-
height={40}
|
|
45
|
-
backgroundColor={backgroundBoxCheckIcon ? backgroundBoxCheckIcon : "transparent"}
|
|
46
|
-
flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
|
|
47
|
-
>
|
|
48
|
-
<Icons size={24} color={backgroundColorCheck} icon="CHECK_BOX_OUTLINE" />
|
|
49
|
-
</Box>
|
|
50
|
-
|
|
51
|
-
{textLabel && (
|
|
52
|
-
<Typography
|
|
53
|
-
text={textLabel ? textLabel : "Label"}
|
|
54
|
-
color={colorTextLabel ? colorTextLabel : "white"}
|
|
55
|
-
size={textLabel ? textSizeLabel : 16}
|
|
56
|
-
lineHeight={18}
|
|
57
|
-
letterSpacing={"regular"}
|
|
58
|
-
/>
|
|
59
|
-
)}
|
|
60
|
-
</Box>
|
|
61
|
-
) : (
|
|
62
|
-
<Box
|
|
63
|
-
width={"100%"}
|
|
64
|
-
paddingStyle={{ paddingLeft: 16, paddingRight: 16 }}
|
|
65
|
-
flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
|
|
66
|
-
testID="check-box-falso"
|
|
67
|
-
>
|
|
68
|
-
<Box
|
|
69
|
-
width={widthBoxCheckIcon ? widthBoxCheckIcon : 30}
|
|
70
|
-
height={40}
|
|
71
|
-
backgroundColor={backgroundBoxCheckIcon ? backgroundBoxCheckIcon : "transparent"}
|
|
72
|
-
flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
|
|
73
|
-
>
|
|
74
|
-
<Icons size={19} background={backgroundColorCheck} icon="CHECK_BOX" />
|
|
75
|
-
</Box>
|
|
76
|
-
|
|
77
|
-
{textLabel && (
|
|
78
|
-
<Typography
|
|
79
|
-
text={textLabel ? textLabel : "Label"}
|
|
80
|
-
color={colorTextLabel ? colorTextLabel : "white"}
|
|
81
|
-
size={textLabel ? textSizeLabel : 16}
|
|
82
|
-
lineHeight={18}
|
|
83
|
-
letterSpacing={"regular"}
|
|
84
|
-
/>
|
|
85
|
-
)}
|
|
86
|
-
</Box>
|
|
87
|
-
)}
|
|
88
|
-
</TouchableOpacity>
|
|
89
|
-
);
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* EXPORTS
|
|
93
|
-
*/
|
|
94
|
-
export { CheckBox };
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { TouchableOpacity } from "react-native";
|
|
6
|
+
|
|
7
|
+
// components
|
|
8
|
+
import { Typography } from "../typography";
|
|
9
|
+
|
|
10
|
+
// commons icons-svg
|
|
11
|
+
import { Icons } from "../../common/icons-svg";
|
|
12
|
+
|
|
13
|
+
// typings
|
|
14
|
+
import { ICheckBoxProps } from "./interface";
|
|
15
|
+
|
|
16
|
+
// styles
|
|
17
|
+
import { Box } from "../box";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Componente CheckBox para a interação da ui.
|
|
21
|
+
*/
|
|
22
|
+
const CheckBox: React.FC<ICheckBoxProps> = ({
|
|
23
|
+
widthBoxCheckIcon,
|
|
24
|
+
isChecked,
|
|
25
|
+
backgroundColorCheck,
|
|
26
|
+
backgroundBoxCheckIcon,
|
|
27
|
+
textLabel,
|
|
28
|
+
textSizeLabel,
|
|
29
|
+
colorTextLabel,
|
|
30
|
+
onPress,
|
|
31
|
+
...res
|
|
32
|
+
}: ICheckBoxProps) => {
|
|
33
|
+
return (
|
|
34
|
+
<TouchableOpacity testID="checkbox-button" onPress={onPress} {...res}>
|
|
35
|
+
{isChecked ? (
|
|
36
|
+
<Box
|
|
37
|
+
width={"100%"}
|
|
38
|
+
paddingStyle={{ paddingLeft: 16, paddingRight: 16 }}
|
|
39
|
+
flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
|
|
40
|
+
>
|
|
41
|
+
<Box
|
|
42
|
+
testID="check-box-true"
|
|
43
|
+
width={widthBoxCheckIcon ? widthBoxCheckIcon : 30}
|
|
44
|
+
height={40}
|
|
45
|
+
backgroundColor={backgroundBoxCheckIcon ? backgroundBoxCheckIcon : "transparent"}
|
|
46
|
+
flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
|
|
47
|
+
>
|
|
48
|
+
<Icons size={24} color={backgroundColorCheck} icon="CHECK_BOX_OUTLINE" />
|
|
49
|
+
</Box>
|
|
50
|
+
|
|
51
|
+
{textLabel && (
|
|
52
|
+
<Typography
|
|
53
|
+
text={textLabel ? textLabel : "Label"}
|
|
54
|
+
color={colorTextLabel ? colorTextLabel : "white"}
|
|
55
|
+
size={textLabel ? textSizeLabel : 16}
|
|
56
|
+
lineHeight={18}
|
|
57
|
+
letterSpacing={"regular"}
|
|
58
|
+
/>
|
|
59
|
+
)}
|
|
60
|
+
</Box>
|
|
61
|
+
) : (
|
|
62
|
+
<Box
|
|
63
|
+
width={"100%"}
|
|
64
|
+
paddingStyle={{ paddingLeft: 16, paddingRight: 16 }}
|
|
65
|
+
flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
|
|
66
|
+
testID="check-box-falso"
|
|
67
|
+
>
|
|
68
|
+
<Box
|
|
69
|
+
width={widthBoxCheckIcon ? widthBoxCheckIcon : 30}
|
|
70
|
+
height={40}
|
|
71
|
+
backgroundColor={backgroundBoxCheckIcon ? backgroundBoxCheckIcon : "transparent"}
|
|
72
|
+
flexStyle={{ flexDirection: "row", alignItems: "center", justifyContent: "flex-start" }}
|
|
73
|
+
>
|
|
74
|
+
<Icons size={19} background={backgroundColorCheck} icon="CHECK_BOX" />
|
|
75
|
+
</Box>
|
|
76
|
+
|
|
77
|
+
{textLabel && (
|
|
78
|
+
<Typography
|
|
79
|
+
text={textLabel ? textLabel : "Label"}
|
|
80
|
+
color={colorTextLabel ? colorTextLabel : "white"}
|
|
81
|
+
size={textLabel ? textSizeLabel : 16}
|
|
82
|
+
lineHeight={18}
|
|
83
|
+
letterSpacing={"regular"}
|
|
84
|
+
/>
|
|
85
|
+
)}
|
|
86
|
+
</Box>
|
|
87
|
+
)}
|
|
88
|
+
</TouchableOpacity>
|
|
89
|
+
);
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* EXPORTS
|
|
93
|
+
*/
|
|
94
|
+
export { CheckBox };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import { TouchableOpacityProps } from "react-native";
|
|
5
|
-
|
|
6
|
-
export interface ICheckBoxProps extends TouchableOpacityProps {
|
|
7
|
-
/**Propriedade do tamanho do box do icon-check-outline */
|
|
8
|
-
widthBoxCheckIcon?: number;
|
|
9
|
-
|
|
10
|
-
/**Propriedade para saber se o checkbox esta marcado */
|
|
11
|
-
isChecked: boolean;
|
|
12
|
-
|
|
13
|
-
/**Propriedade para mudar a cor do icon quando for marcado */
|
|
14
|
-
backgroundColorCheck?: string;
|
|
15
|
-
|
|
16
|
-
/**Propriedade para mudar a cor do icon quando for marcado */
|
|
17
|
-
backgroundBoxCheckIcon?: string;
|
|
18
|
-
|
|
19
|
-
/**Propriedade do textLabel */
|
|
20
|
-
textLabel?: string;
|
|
21
|
-
|
|
22
|
-
/**Propriedade do tamanho do textLabel */
|
|
23
|
-
textSizeLabel?: number;
|
|
24
|
-
|
|
25
|
-
/**Propriedade da cor do textLabel */
|
|
26
|
-
colorTextLabel?: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* EXPORTS
|
|
30
|
-
*/
|
|
31
|
-
export type { ICheckBoxProps };
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import { TouchableOpacityProps } from "react-native";
|
|
5
|
+
|
|
6
|
+
export interface ICheckBoxProps extends TouchableOpacityProps {
|
|
7
|
+
/**Propriedade do tamanho do box do icon-check-outline */
|
|
8
|
+
widthBoxCheckIcon?: number;
|
|
9
|
+
|
|
10
|
+
/**Propriedade para saber se o checkbox esta marcado */
|
|
11
|
+
isChecked: boolean;
|
|
12
|
+
|
|
13
|
+
/**Propriedade para mudar a cor do icon quando for marcado */
|
|
14
|
+
backgroundColorCheck?: string;
|
|
15
|
+
|
|
16
|
+
/**Propriedade para mudar a cor do icon quando for marcado */
|
|
17
|
+
backgroundBoxCheckIcon?: string;
|
|
18
|
+
|
|
19
|
+
/**Propriedade do textLabel */
|
|
20
|
+
textLabel?: string;
|
|
21
|
+
|
|
22
|
+
/**Propriedade do tamanho do textLabel */
|
|
23
|
+
textSizeLabel?: number;
|
|
24
|
+
|
|
25
|
+
/**Propriedade da cor do textLabel */
|
|
26
|
+
colorTextLabel?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* EXPORTS
|
|
30
|
+
*/
|
|
31
|
+
export type { ICheckBoxProps };
|