@riligar/auth-react 1.31.0 → 1.33.0
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/index.esm.js +8 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1080,7 +1080,7 @@ function AuthCard({
|
|
|
1080
1080
|
title,
|
|
1081
1081
|
subtitle,
|
|
1082
1082
|
logo,
|
|
1083
|
-
|
|
1083
|
+
logoWidth = 133,
|
|
1084
1084
|
width = 350,
|
|
1085
1085
|
// Variant props
|
|
1086
1086
|
variant = 'card',
|
|
@@ -1097,7 +1097,8 @@ function AuthCard({
|
|
|
1097
1097
|
children: [logo && /*#__PURE__*/jsx(Image, {
|
|
1098
1098
|
src: logo,
|
|
1099
1099
|
alt: "Auth",
|
|
1100
|
-
|
|
1100
|
+
mx: "auto",
|
|
1101
|
+
w: logoWidth,
|
|
1101
1102
|
fit: "contain"
|
|
1102
1103
|
}), title && /*#__PURE__*/jsx(Title, {
|
|
1103
1104
|
order: 3,
|
|
@@ -1125,7 +1126,7 @@ function AuthCard({
|
|
|
1125
1126
|
title: logo ? /*#__PURE__*/jsx(Image, {
|
|
1126
1127
|
src: logo,
|
|
1127
1128
|
alt: "Auth",
|
|
1128
|
-
h:
|
|
1129
|
+
h: logoWidth,
|
|
1129
1130
|
fit: "contain"
|
|
1130
1131
|
}) : title ? /*#__PURE__*/jsx(Title, {
|
|
1131
1132
|
order: 4,
|
|
@@ -1161,6 +1162,7 @@ function SignIn({
|
|
|
1161
1162
|
// Configuração
|
|
1162
1163
|
logo,
|
|
1163
1164
|
// Removido default, será calculado abaixo
|
|
1165
|
+
logoWidth = 133,
|
|
1164
1166
|
title = 'Entrar',
|
|
1165
1167
|
subtitle = 'Acesse sua conta para continuar',
|
|
1166
1168
|
// Variant
|
|
@@ -1240,6 +1242,7 @@ function SignIn({
|
|
|
1240
1242
|
const isLoading = loadingSignIn || loadingMagicLink || loadingResetPassword;
|
|
1241
1243
|
return /*#__PURE__*/jsxs(AuthCard, {
|
|
1242
1244
|
logo: finalLogo,
|
|
1245
|
+
logoWidth: logoWidth,
|
|
1243
1246
|
title: title,
|
|
1244
1247
|
subtitle: subtitle,
|
|
1245
1248
|
variant: variant,
|
|
@@ -1339,6 +1342,7 @@ function SignIn({
|
|
|
1339
1342
|
function SignUp({
|
|
1340
1343
|
// Configuração
|
|
1341
1344
|
logo,
|
|
1345
|
+
logoWidth = 133,
|
|
1342
1346
|
title = 'Criar Conta',
|
|
1343
1347
|
subtitle = 'Preencha os dados para se cadastrar',
|
|
1344
1348
|
// Variant
|
|
@@ -1390,6 +1394,7 @@ function SignUp({
|
|
|
1390
1394
|
};
|
|
1391
1395
|
return /*#__PURE__*/jsxs(AuthCard, {
|
|
1392
1396
|
logo: finalLogo,
|
|
1397
|
+
logoWidth: logoWidth,
|
|
1393
1398
|
title: title,
|
|
1394
1399
|
subtitle: subtitle,
|
|
1395
1400
|
variant: variant,
|