jornada-ui 0.4.19 → 0.4.20
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/components/box/index.js +5 -5
- package/lib/commonjs/components/box/index.js.map +1 -1
- package/lib/commonjs/components/button/index.js +5 -5
- package/lib/commonjs/components/button/index.js.map +1 -1
- package/lib/commonjs/components/capture-photo/index.js +1 -1
- package/lib/commonjs/components/capture-photo/index.js.map +1 -1
- package/lib/commonjs/components/card-hours/index.js +5 -5
- package/lib/commonjs/components/card-hours/index.js.map +1 -1
- package/lib/commonjs/components/card-maintenance/index.js +3 -0
- package/lib/commonjs/components/card-maintenance/index.js.map +1 -1
- package/lib/commonjs/components/maintenance-description-input/index.js +5 -1
- package/lib/commonjs/components/maintenance-description-input/index.js.map +1 -1
- package/lib/commonjs/components/modal-maintenance/index.js +2 -0
- package/lib/commonjs/components/modal-maintenance/index.js.map +1 -1
- package/lib/commonjs/components/modal-type-activities/index.js +10 -4
- package/lib/commonjs/components/modal-type-activities/index.js.map +1 -1
- package/lib/commonjs/components/modals/modal-change-activitie-history/index.js +2 -0
- package/lib/commonjs/components/modals/modal-change-activitie-history/index.js.map +1 -1
- package/lib/commonjs/components/report-bobinas/index.js +12 -6
- package/lib/commonjs/components/report-bobinas/index.js.map +1 -1
- package/lib/commonjs/components/resume-raking/index.js +5 -0
- package/lib/commonjs/components/resume-raking/index.js.map +1 -1
- package/lib/commonjs/components/step-indicator/index.js +12 -4
- package/lib/commonjs/components/step-indicator/index.js.map +1 -1
- package/lib/commonjs/components/toast-message/index.js +10 -6
- package/lib/commonjs/components/toast-message/index.js.map +1 -1
- package/lib/commonjs/components/toggle-fuel/index.js +1 -0
- package/lib/commonjs/components/toggle-fuel/index.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +2 -0
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/components/user-journey-work-card/index.js +14 -0
- package/lib/commonjs/components/user-journey-work-card/index.js.map +1 -1
- package/lib/commonjs/components/user-profile/index.js +9 -1
- package/lib/commonjs/components/user-profile/index.js.map +1 -1
- package/lib/commonjs/components/weekly-hours-balance/index.js +2 -0
- package/lib/commonjs/components/weekly-hours-balance/index.js.map +1 -1
- package/lib/module/components/box/index.js +5 -5
- package/lib/module/components/box/index.js.map +1 -1
- package/lib/module/components/button/index.js +5 -5
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/capture-photo/index.js +1 -1
- package/lib/module/components/capture-photo/index.js.map +1 -1
- package/lib/module/components/card-hours/index.js +5 -5
- package/lib/module/components/card-hours/index.js.map +1 -1
- package/lib/module/components/card-maintenance/index.js +3 -0
- package/lib/module/components/card-maintenance/index.js.map +1 -1
- package/lib/module/components/maintenance-description-input/index.js +5 -1
- package/lib/module/components/maintenance-description-input/index.js.map +1 -1
- package/lib/module/components/modal-maintenance/index.js +2 -0
- package/lib/module/components/modal-maintenance/index.js.map +1 -1
- package/lib/module/components/modal-type-activities/index.js +10 -4
- package/lib/module/components/modal-type-activities/index.js.map +1 -1
- package/lib/module/components/modals/modal-change-activitie-history/index.js +2 -0
- package/lib/module/components/modals/modal-change-activitie-history/index.js.map +1 -1
- package/lib/module/components/report-bobinas/index.js +12 -6
- package/lib/module/components/report-bobinas/index.js.map +1 -1
- package/lib/module/components/resume-raking/index.js +5 -0
- package/lib/module/components/resume-raking/index.js.map +1 -1
- package/lib/module/components/step-indicator/index.js +12 -4
- package/lib/module/components/step-indicator/index.js.map +1 -1
- package/lib/module/components/toast-message/index.js +10 -6
- package/lib/module/components/toast-message/index.js.map +1 -1
- package/lib/module/components/toggle-fuel/index.js +1 -0
- package/lib/module/components/toggle-fuel/index.js.map +1 -1
- package/lib/module/components/typography/index.js +2 -0
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/components/user-journey-work-card/index.js +14 -0
- package/lib/module/components/user-journey-work-card/index.js.map +1 -1
- package/lib/module/components/user-profile/index.js +9 -1
- package/lib/module/components/user-profile/index.js.map +1 -1
- package/lib/module/components/weekly-hours-balance/index.js +2 -0
- package/lib/module/components/weekly-hours-balance/index.js.map +1 -1
- package/lib/typescript/commonjs/src/components/box/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/capture-photo/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-hours/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/card-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-type-activities/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modal-type-activities/interface.d.ts +2 -0
- package/lib/typescript/commonjs/src/components/modal-type-activities/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/interface.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/modals/modal-change-activitie-history/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/report-bobinas/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/resume-raking/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/resume-raking/interface.d.ts +13 -0
- package/lib/typescript/commonjs/src/components/resume-raking/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/step-indicator/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toast-message/interface.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/toast-message/interface.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/toggle-fuel/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/typography/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-journey-work-card/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/user-profile/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/weekly-hours-balance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/box/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/capture-photo/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-hours/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/card-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/maintenance-description-input/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-maintenance/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-type-activities/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modal-type-activities/interface.d.ts +2 -0
- package/lib/typescript/module/src/components/modal-type-activities/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/interface.d.ts +4 -0
- package/lib/typescript/module/src/components/modals/modal-change-activitie-history/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/report-bobinas/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/resume-raking/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/resume-raking/interface.d.ts +13 -0
- package/lib/typescript/module/src/components/resume-raking/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/step-indicator/index.d.ts +3 -0
- package/lib/typescript/module/src/components/step-indicator/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toast-message/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toast-message/interface.d.ts +1 -0
- package/lib/typescript/module/src/components/toast-message/interface.d.ts.map +1 -1
- package/lib/typescript/module/src/components/toggle-fuel/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/typography/index.d.ts +1 -0
- package/lib/typescript/module/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-journey-work-card/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/user-profile/index.d.ts.map +1 -1
- package/lib/typescript/module/src/components/weekly-hours-balance/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/components/box/index.tsx +53 -53
- package/src/components/button/index.tsx +76 -76
- package/src/components/capture-photo/index.tsx +1 -1
- package/src/components/card-hours/index.tsx +121 -121
- package/src/components/card-maintenance/index.tsx +8 -2
- package/src/components/card-maintenance/interface.d.ts +4 -0
- package/src/components/maintenance-description-input/index.tsx +11 -4
- package/src/components/modal-maintenance/index.tsx +2 -1
- package/src/components/modal-maintenance/interface.d.ts +1 -0
- package/src/components/modal-type-activities/index.tsx +23 -5
- package/src/components/modal-type-activities/interface.ts +3 -0
- package/src/components/modals/modal-change-activitie-history/index.tsx +2 -1
- package/src/components/modals/modal-change-activitie-history/interface.ts +4 -0
- package/src/components/report-bobinas/index.tsx +185 -175
- package/src/components/resume-raking/index.tsx +5 -1
- package/src/components/resume-raking/interface.ts +16 -0
- package/src/components/step-indicator/index.tsx +26 -8
- package/src/components/step-indicator/interface.d.ts +3 -0
- package/src/components/toast-message/index.tsx +77 -75
- package/src/components/toast-message/interface.ts +18 -17
- package/src/components/toggle-fuel/index.tsx +1 -0
- package/src/components/typography/index.tsx +2 -0
- package/src/components/typography/interface.d.ts +104 -102
- package/src/components/user-journey-work-card/index.tsx +23 -2
- package/src/components/user-profile/index.tsx +10 -1
- package/src/components/weekly-hours-balance/index.tsx +2 -1
|
@@ -35,8 +35,8 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
35
35
|
} = props;
|
|
36
36
|
return (
|
|
37
37
|
<Box
|
|
38
|
-
ref={ref}
|
|
39
38
|
testID={testID}
|
|
39
|
+
ref={ref}
|
|
40
40
|
width={width ?? "100%"}
|
|
41
41
|
height={height ?? 260}
|
|
42
42
|
backgroundColor={backgroundColor ?? theme.colors.blue[100]}
|
|
@@ -92,6 +92,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
92
92
|
}}
|
|
93
93
|
>
|
|
94
94
|
<Typography
|
|
95
|
+
testID={`${testID}-nome-label`}
|
|
95
96
|
text={"Olá, "}
|
|
96
97
|
color={color?.colorText ?? theme.colors.neutral[25]}
|
|
97
98
|
size={theme.fontSizes.md}
|
|
@@ -101,6 +102,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
101
102
|
/>
|
|
102
103
|
|
|
103
104
|
<Typography
|
|
105
|
+
testID={`${testID}-nome`}
|
|
104
106
|
text={nome}
|
|
105
107
|
color={color?.colorText ?? theme.colors.neutral[25]}
|
|
106
108
|
size={theme.fontSizes.sm}
|
|
@@ -120,6 +122,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
120
122
|
}}
|
|
121
123
|
>
|
|
122
124
|
<Typography
|
|
125
|
+
testID={`${testID}-cpf-label`}
|
|
123
126
|
text={"CPF: "}
|
|
124
127
|
color={color?.colorText ?? theme.colors.neutral[25]}
|
|
125
128
|
size={theme.fontSizes.md}
|
|
@@ -129,6 +132,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
129
132
|
/>
|
|
130
133
|
|
|
131
134
|
<Typography
|
|
135
|
+
testID={`${testID}-cpf`}
|
|
132
136
|
text={cpf}
|
|
133
137
|
color={color?.colorText ?? theme.colors.neutral[25]}
|
|
134
138
|
size={theme.fontSizes.sm}
|
|
@@ -137,6 +141,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
137
141
|
letterSpacing={"regular"}
|
|
138
142
|
/>
|
|
139
143
|
</Box>
|
|
144
|
+
|
|
140
145
|
<Box
|
|
141
146
|
width={"100%"}
|
|
142
147
|
height={30}
|
|
@@ -148,6 +153,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
148
153
|
}}
|
|
149
154
|
>
|
|
150
155
|
<Typography
|
|
156
|
+
testID={`${testID}-bluetooth-label`}
|
|
151
157
|
text={"CONECTADO: "}
|
|
152
158
|
color={color?.colorText ?? theme.colors.neutral[25]}
|
|
153
159
|
size={theme.fontSizes.xs}
|
|
@@ -157,6 +163,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
157
163
|
/>
|
|
158
164
|
|
|
159
165
|
<Typography
|
|
166
|
+
testID={`${testID}-bluetooth`}
|
|
160
167
|
text={bluetoothIsConnected ? placa_cavalo : ""}
|
|
161
168
|
color={theme.colors.green[400]}
|
|
162
169
|
size={theme.fontSizes.xs}
|
|
@@ -188,6 +195,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
188
195
|
}}
|
|
189
196
|
>
|
|
190
197
|
<Typography
|
|
198
|
+
testID={`${testID}-version-label`}
|
|
191
199
|
text={"Versão: "}
|
|
192
200
|
color={color?.colorText ?? theme.colors.neutral[25]}
|
|
193
201
|
size={theme.fontSizes.xs}
|
|
@@ -197,6 +205,7 @@ const UserProfile = forwardRef<any, IUserProfile>((props, ref): React.ReactEleme
|
|
|
197
205
|
/>
|
|
198
206
|
|
|
199
207
|
<Typography
|
|
208
|
+
testID={`${testID}-version`}
|
|
200
209
|
text={app_version}
|
|
201
210
|
color={color?.colorText ?? theme.colors.neutral[25]}
|
|
202
211
|
size={theme.fontSizes.xs}
|
|
@@ -20,7 +20,7 @@ import { asBaseComponent } from "../../@types/as-base-component";
|
|
|
20
20
|
|
|
21
21
|
const WeeklyHoursBalance = forwardRef<any, IWeeklyHoursBalance>(
|
|
22
22
|
(props, ref): React.ReactElement => {
|
|
23
|
-
const { backgroundColor, valor } = props;
|
|
23
|
+
const { testID, backgroundColor, valor } = props;
|
|
24
24
|
|
|
25
25
|
const [mostrarValor, setMostrarValor] = useState(true);
|
|
26
26
|
|
|
@@ -30,6 +30,7 @@ const WeeklyHoursBalance = forwardRef<any, IWeeklyHoursBalance>(
|
|
|
30
30
|
|
|
31
31
|
return (
|
|
32
32
|
<Box
|
|
33
|
+
testID={testID}
|
|
33
34
|
ref={ref}
|
|
34
35
|
width={"100%"}
|
|
35
36
|
backgroundColor={theme.colors.neutral[25]}
|