@movalib/movalib-commons 1.2.14 → 1.2.15
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/dist/src/MovaSignUp.js +1 -1
- package/package.json +1 -1
- package/src/MovaSignUp.tsx +1 -1
package/dist/src/MovaSignUp.js
CHANGED
|
@@ -221,7 +221,7 @@ var MovaLogin = function (_a) {
|
|
|
221
221
|
display: 'flex',
|
|
222
222
|
flexDirection: 'column',
|
|
223
223
|
alignItems: 'center',
|
|
224
|
-
} }, { children: [showHeaderLogo && (0, jsx_runtime_1.jsx)("img", { src: getMovaLogo(), style: { width: '60%' } }), headerText && (0, jsx_runtime_1.jsx)(material_1.Typography, __assign({ variant: "button", sx: { pt: 3, width: '100%' } }, { children: headerText }))] })), (0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ component: "form", onSubmit: handleSubmit, noValidate: true, sx: { mt: 2 } }, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { margin: "normal", required: true, autoFocus: true, fullWidth: true, id: "firstname", label: "Pr\u00E9nom", name: "firstname", autoComplete: "given-name", onChange: function (e) { return handleInputChange(e); }, value: userForm.firstname.value, error: Boolean(userForm.firstname.error), helperText: userForm.firstname.error, sx: {
|
|
224
|
+
} }, { children: [showHeaderLogo && (0, jsx_runtime_1.jsx)("img", { src: getMovaLogo(), style: { width: '60%' } }), headerText && (0, jsx_runtime_1.jsx)(material_1.Typography, __assign({ variant: "button", sx: { pt: 3, width: '100%' } }, { children: headerText }))] })), (0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ component: "form", onSubmit: handleSubmit, noValidate: true, sx: { mt: headerText ? 2 : 0 } }, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { margin: "normal", required: true, autoFocus: true, fullWidth: true, id: "firstname", label: "Pr\u00E9nom", name: "firstname", autoComplete: "given-name", onChange: function (e) { return handleInputChange(e); }, value: userForm.firstname.value, error: Boolean(userForm.firstname.error), helperText: userForm.firstname.error, sx: {
|
|
225
225
|
'& .MuiOutlinedInput-notchedOutline': {
|
|
226
226
|
borderColor: darkMode ? 'white' : 'default', // Couleur de la bordure
|
|
227
227
|
}
|
package/package.json
CHANGED
package/src/MovaSignUp.tsx
CHANGED
|
@@ -237,7 +237,7 @@ const MovaLogin: FunctionComponent<MovaSignUpProps> = ({ loading, movaAppType, o
|
|
|
237
237
|
{headerText && <Typography variant="button" sx={{ pt: 3, width:'100%' }}>{headerText}</Typography>}
|
|
238
238
|
</Box>
|
|
239
239
|
|
|
240
|
-
<Box component="form" onSubmit={handleSubmit} noValidate sx={{ mt: 2 }}>
|
|
240
|
+
<Box component="form" onSubmit={handleSubmit} noValidate sx={{ mt: headerText ? 2 : 0 }}>
|
|
241
241
|
<TextField
|
|
242
242
|
margin="normal"
|
|
243
243
|
required
|