@insforge/react 0.6.5 → 0.6.7

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/forms.js CHANGED
@@ -108,7 +108,7 @@ function useNavigationAdapter() {
108
108
  if (!adapter) {
109
109
  return {
110
110
  useSearchParams: () => new URLSearchParams(),
111
- Link: ({ href, children }) => /* @__PURE__ */ jsx("a", { href, children })
111
+ Link: ({ href, children, className }) => /* @__PURE__ */ jsx("a", { href, className, children })
112
112
  };
113
113
  }
114
114
  return adapter;
@@ -472,7 +472,7 @@ function AuthOAuthButton({
472
472
  style,
473
473
  children: [
474
474
  loading ? /* @__PURE__ */ jsx(Loader2, { className: "if-oauthButton-icon if-submitButton-spinner", size: 18 }) : /* @__PURE__ */ jsx("span", { className: "if-oauthButton-icon", children: config.svg }),
475
- getButtonText() && /* @__PURE__ */ jsx("span", { children: getButtonText() })
475
+ !loading && getButtonText() && /* @__PURE__ */ jsx("span", { children: getButtonText() })
476
476
  ]
477
477
  }
478
478
  );
@@ -885,6 +885,7 @@ function SignInForm({
885
885
  showVerificationStep = false,
886
886
  onVerifyCode
887
887
  }) {
888
+ console.log("\u{1F525} [SignInForm] authConfig", authConfig);
888
889
  return /* @__PURE__ */ jsxs(AuthContainer, { children: [
889
890
  /* @__PURE__ */ jsx(AuthHeader, { title, subtitle }),
890
891
  /* @__PURE__ */ jsx(AuthErrorBanner, { error: error || "" }),