@erikey/react 0.5.1 → 0.5.2

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/ui/index.mjs CHANGED
@@ -15154,6 +15154,7 @@ function AuthView({
15154
15154
  }) {
15155
15155
  const isHydrated = useIsHydrated();
15156
15156
  const {
15157
+ authFlowMode,
15157
15158
  basePath,
15158
15159
  credentials,
15159
15160
  localization: contextLocalization,
@@ -15424,6 +15425,27 @@ function AuthView({
15424
15425
  }
15425
15426
  )
15426
15427
  }
15428
+ ) : authFlowMode === "internal" ? /* @__PURE__ */ jsx37(
15429
+ Link,
15430
+ {
15431
+ className: cn(
15432
+ "text-foreground underline",
15433
+ classNames?.footerLink
15434
+ ),
15435
+ href: `${basePath}/${viewPaths.SIGN_IN}${isHydrated ? window.location.search : ""}`,
15436
+ children: /* @__PURE__ */ jsx37(
15437
+ Button,
15438
+ {
15439
+ variant: "link",
15440
+ size: "sm",
15441
+ className: cn(
15442
+ "px-0 text-foreground underline",
15443
+ classNames?.footerLink
15444
+ ),
15445
+ children: localization.GO_BACK
15446
+ }
15447
+ )
15448
+ }
15427
15449
  ) : /* @__PURE__ */ jsx37(
15428
15450
  Button,
15429
15451
  {