@riligar/auth-react 1.32.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 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -7
- 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,7 +1162,7 @@ function SignIn({
|
|
|
1161
1162
|
// Configuração
|
|
1162
1163
|
logo,
|
|
1163
1164
|
// Removido default, será calculado abaixo
|
|
1164
|
-
|
|
1165
|
+
logoWidth = 133,
|
|
1165
1166
|
title = 'Entrar',
|
|
1166
1167
|
subtitle = 'Acesse sua conta para continuar',
|
|
1167
1168
|
// Variant
|
|
@@ -1241,7 +1242,7 @@ function SignIn({
|
|
|
1241
1242
|
const isLoading = loadingSignIn || loadingMagicLink || loadingResetPassword;
|
|
1242
1243
|
return /*#__PURE__*/jsxs(AuthCard, {
|
|
1243
1244
|
logo: finalLogo,
|
|
1244
|
-
|
|
1245
|
+
logoWidth: logoWidth,
|
|
1245
1246
|
title: title,
|
|
1246
1247
|
subtitle: subtitle,
|
|
1247
1248
|
variant: variant,
|
|
@@ -1341,7 +1342,7 @@ function SignIn({
|
|
|
1341
1342
|
function SignUp({
|
|
1342
1343
|
// Configuração
|
|
1343
1344
|
logo,
|
|
1344
|
-
|
|
1345
|
+
logoWidth = 133,
|
|
1345
1346
|
title = 'Criar Conta',
|
|
1346
1347
|
subtitle = 'Preencha os dados para se cadastrar',
|
|
1347
1348
|
// Variant
|
|
@@ -1393,7 +1394,7 @@ function SignUp({
|
|
|
1393
1394
|
};
|
|
1394
1395
|
return /*#__PURE__*/jsxs(AuthCard, {
|
|
1395
1396
|
logo: finalLogo,
|
|
1396
|
-
|
|
1397
|
+
logoWidth: logoWidth,
|
|
1397
1398
|
title: title,
|
|
1398
1399
|
subtitle: subtitle,
|
|
1399
1400
|
variant: variant,
|