@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.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,7 +1164,7 @@ function SignIn({
1163
1164
  // Configuração
1164
1165
  logo,
1165
1166
  // Removido default, será calculado abaixo
1166
- logoHeight = 33,
1167
+ logoWidth = 133,
1167
1168
  title = 'Entrar',
1168
1169
  subtitle = 'Acesse sua conta para continuar',
1169
1170
  // Variant
@@ -1243,7 +1244,7 @@ function SignIn({
1243
1244
  const isLoading = loadingSignIn || loadingMagicLink || loadingResetPassword;
1244
1245
  return /*#__PURE__*/jsxRuntime.jsxs(AuthCard, {
1245
1246
  logo: finalLogo,
1246
- logoHeight: logoHeight,
1247
+ logoWidth: logoWidth,
1247
1248
  title: title,
1248
1249
  subtitle: subtitle,
1249
1250
  variant: variant,
@@ -1343,7 +1344,7 @@ function SignIn({
1343
1344
  function SignUp({
1344
1345
  // Configuração
1345
1346
  logo,
1346
- logoHeight = 33,
1347
+ logoWidth = 133,
1347
1348
  title = 'Criar Conta',
1348
1349
  subtitle = 'Preencha os dados para se cadastrar',
1349
1350
  // Variant
@@ -1395,7 +1396,7 @@ function SignUp({
1395
1396
  };
1396
1397
  return /*#__PURE__*/jsxRuntime.jsxs(AuthCard, {
1397
1398
  logo: finalLogo,
1398
- logoHeight: logoHeight,
1399
+ logoWidth: logoWidth,
1399
1400
  title: title,
1400
1401
  subtitle: subtitle,
1401
1402
  variant: variant,