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