azirid-react 0.10.4 → 0.10.5
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/README.md +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -229,7 +229,7 @@ const [view, setView] = useState<AuthView>('login')
|
|
|
229
229
|
| `onViewChange` | `(view: AuthView) => void` | — | Callback when navigation links are clicked (controlled mode) |
|
|
230
230
|
| `defaultView` | `AuthView` | `'login'` | Initial view for uncontrolled mode |
|
|
231
231
|
| `logo` | `ReactNode` | — | Logo passed to all child forms |
|
|
232
|
-
| `showSocialButtons` | `boolean` | `
|
|
232
|
+
| `showSocialButtons` | `boolean` | `false` | Show Apple/Google SSO buttons. Only enable when social login is configured in Azirid dashboard |
|
|
233
233
|
| `hideNavigation` | `boolean` | — | Hide navigation links between views |
|
|
234
234
|
| `resetToken` | `string` | — | Token for the reset-password view |
|
|
235
235
|
| `defaultValues` | `{ email?: string; password?: string }` | — | Default values passed to child forms |
|
package/dist/index.cjs
CHANGED
|
@@ -1164,7 +1164,7 @@ var LoginForm = react.forwardRef(
|
|
|
1164
1164
|
submitText: submitTextProp,
|
|
1165
1165
|
footer,
|
|
1166
1166
|
forgotPassword,
|
|
1167
|
-
showSocialButtons =
|
|
1167
|
+
showSocialButtons = false,
|
|
1168
1168
|
labels,
|
|
1169
1169
|
defaultValues
|
|
1170
1170
|
}, ref) => {
|
|
@@ -1350,7 +1350,7 @@ var SignupForm = react.forwardRef(
|
|
|
1350
1350
|
logo: logoProp,
|
|
1351
1351
|
submitText: submitTextProp,
|
|
1352
1352
|
footer,
|
|
1353
|
-
showSocialButtons =
|
|
1353
|
+
showSocialButtons = false,
|
|
1354
1354
|
labels
|
|
1355
1355
|
}, ref) => {
|
|
1356
1356
|
const msg = useMessages();
|
|
@@ -4358,7 +4358,7 @@ function usePasswordToggle() {
|
|
|
4358
4358
|
}
|
|
4359
4359
|
|
|
4360
4360
|
// src/index.ts
|
|
4361
|
-
var SDK_VERSION = "0.10.
|
|
4361
|
+
var SDK_VERSION = "0.10.5";
|
|
4362
4362
|
|
|
4363
4363
|
exports.AuthForm = AuthForm;
|
|
4364
4364
|
exports.AziridProvider = AziridProvider;
|