@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.js CHANGED
@@ -1082,7 +1082,7 @@ function AuthCard({
1082
1082
  title,
1083
1083
  subtitle,
1084
1084
  logo,
1085
- logoHeight = 33,
1085
+ logoWidth = 133,
1086
1086
  width = 350,
1087
1087
  // Variant props
1088
1088
  variant = 'card',
@@ -1099,7 +1099,8 @@ function AuthCard({
1099
1099
  children: [logo && /*#__PURE__*/jsxRuntime.jsx(core.Image, {
1100
1100
  src: logo,
1101
1101
  alt: "Auth",
1102
- h: logoHeight,
1102
+ mx: "auto",
1103
+ w: logoWidth,
1103
1104
  fit: "contain"
1104
1105
  }), title && /*#__PURE__*/jsxRuntime.jsx(core.Title, {
1105
1106
  order: 3,
@@ -1127,7 +1128,7 @@ function AuthCard({
1127
1128
  title: logo ? /*#__PURE__*/jsxRuntime.jsx(core.Image, {
1128
1129
  src: logo,
1129
1130
  alt: "Auth",
1130
- h: logoHeight,
1131
+ h: logoWidth,
1131
1132
  fit: "contain"
1132
1133
  }) : title ? /*#__PURE__*/jsxRuntime.jsx(core.Title, {
1133
1134
  order: 4,
@@ -1163,6 +1164,7 @@ function SignIn({
1163
1164
  // Configuração
1164
1165
  logo,
1165
1166
  // Removido default, será calculado abaixo
1167
+ logoWidth = 133,
1166
1168
  title = 'Entrar',
1167
1169
  subtitle = 'Acesse sua conta para continuar',
1168
1170
  // Variant
@@ -1242,6 +1244,7 @@ function SignIn({
1242
1244
  const isLoading = loadingSignIn || loadingMagicLink || loadingResetPassword;
1243
1245
  return /*#__PURE__*/jsxRuntime.jsxs(AuthCard, {
1244
1246
  logo: finalLogo,
1247
+ logoWidth: logoWidth,
1245
1248
  title: title,
1246
1249
  subtitle: subtitle,
1247
1250
  variant: variant,
@@ -1341,6 +1344,7 @@ function SignIn({
1341
1344
  function SignUp({
1342
1345
  // Configuração
1343
1346
  logo,
1347
+ logoWidth = 133,
1344
1348
  title = 'Criar Conta',
1345
1349
  subtitle = 'Preencha os dados para se cadastrar',
1346
1350
  // Variant
@@ -1392,6 +1396,7 @@ function SignUp({
1392
1396
  };
1393
1397
  return /*#__PURE__*/jsxRuntime.jsxs(AuthCard, {
1394
1398
  logo: finalLogo,
1399
+ logoWidth: logoWidth,
1395
1400
  title: title,
1396
1401
  subtitle: subtitle,
1397
1402
  variant: variant,