From e9ff0d3af21636ca913f1977429e893e8053cd94 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Tue, 29 Oct 2024 11:06:13 +0100 Subject: [PATCH] chore: format --- .gitattributes | 1 + .../login/1fa/all-methods/initial-form.json | 2 +- .../login/1fa/all-methods/missing-email.json | 2 +- .../login/1fa/all-methods/wrong-credentials.json | 2 +- .../.stub-responses/login/1fa/code/code-input.json | 2 +- .../.stub-responses/login/1fa/code/initial-form.json | 2 +- .../login/1fa/code/invalid-account.json | 2 +- .../.stub-responses/login/1fa/code/missing-email.json | 2 +- .../login/1fa/code/wrong-credentials.json | 2 +- .../.stub-responses/login/1fa/none/initial-form.json | 2 +- .../.stub-responses/login/1fa/oidc/initial-form.json | 2 +- .../login/1fa/password/initial-form.json | 2 +- .../login/1fa/password/missing-email.json | 2 +- .../login/1fa/password/wrong-credentials.json | 2 +- .../login/1fa/webauthn/initial-form.json | 2 +- .../login/1fa/webauthn/invalid-account.json | 2 +- .../login/1fa/webauthn/show-trigger.json | 2 +- .../recovery/disabled/initial-form.json | 2 +- .../.stub-responses/recovery/none/initial-form.json | 2 +- .../one-step/all-methods/initial-form.json | 2 +- .../one-step/all-methods/missing-fields.json | 2 +- .../registration/one-step/disabled/initial-form.json | 2 +- .../registration/one-step/none/initial-form.json | 2 +- .../registration/one-step/oidc/initial-form.json | 2 +- .../registration/one-step/passkey/initial-form.json | 2 +- .../registration/one-step/password/initial-form.json | 2 +- .../registration/one-step/password/missing-fields.json | 2 +- .../registration/one-step/webauthn/initial-form.json | 2 +- .../two-step/all-methods/enter-password.json | 2 +- .../two-step/all-methods/initial-form.json | 2 +- .../two-step/all-methods/missing-fields.json | 2 +- .../all-methods/password-validation-error.json | 2 +- .../registration/two-step/password/enter-password.json | 2 +- .../registration/two-step/password/initial-form.json | 2 +- .../registration/two-step/password/missing-fields.json | 2 +- .../two-step/password/password-validation-error.json | 2 +- .../settings/all-methods/change-password.json | 2 +- .../settings/all-methods/change-trait.json | 2 +- .../settings/all-methods/initial-form.json | 2 +- .../.stub-responses/settings/oidc/with-provider.json | 2 +- .../.stub-responses/settings/passkey/initial-form.json | 2 +- .../settings/webauthn/initial-form.json | 2 +- .../verification/disabled/initial-form.json | 2 +- .../verification/none/initial-form.json | 2 +- .../elements-react/components/settings/all.stories.ts | 3 +++ .../elements-react/components/settings/oidc.stories.ts | 3 +++ .../components/settings/passkey.stories.ts | 3 +++ .../components/settings/webauthn.stories.ts | 3 +++ .../elements-react/api-report/elements-react.api.json | 10 +--------- .../elements-react/api-report/elements-react.api.md | 2 +- 50 files changed, 58 insertions(+), 53 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..b6cb3ff6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +packages/elements-react-stories/src/elements-react/.stub-responses linguist-generated=true diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/initial-form.json index 9f9cb478..e92d8885 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/initial-form.json @@ -244,4 +244,4 @@ "refresh": false, "requested_aal": "aal1", "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/missing-email.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/missing-email.json index 33fd096c..0f2f3d54 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/missing-email.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/missing-email.json @@ -262,4 +262,4 @@ "refresh": false, "requested_aal": "aal1", "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/wrong-credentials.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/wrong-credentials.json index fe3da953..b3e25e43 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/wrong-credentials.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/all-methods/wrong-credentials.json @@ -251,4 +251,4 @@ "refresh": false, "requested_aal": "aal1", "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/code-input.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/code-input.json index 6294ad1a..35311df2 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/code-input.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/code-input.json @@ -132,4 +132,4 @@ "requested_aal": "aal1", "state": "sent_email", "transient_payload": {} -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/initial-form.json index c48812be..9fa34fc5 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/initial-form.json @@ -170,4 +170,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/invalid-account.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/invalid-account.json index fa34a7ce..cd1269c0 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/invalid-account.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/invalid-account.json @@ -179,4 +179,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/missing-email.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/missing-email.json index 277f762a..ce53b8e7 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/missing-email.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/missing-email.json @@ -179,4 +179,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/wrong-credentials.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/wrong-credentials.json index 59bb0ea8..38e7cbca 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/wrong-credentials.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/code/wrong-credentials.json @@ -121,4 +121,4 @@ "refresh": false, "requested_aal": "aal1", "state": "sent_email" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/none/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/none/initial-form.json index 5fb8a943..b1ccc220 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/none/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/none/initial-form.json @@ -30,4 +30,4 @@ "refresh": false, "requested_aal": "aal1", "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/oidc/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/oidc/initial-form.json index 7c6f49bd..ccbedd82 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/oidc/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/oidc/initial-form.json @@ -276,4 +276,4 @@ "refresh": false, "requested_aal": "aal1", "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/initial-form.json index 193ca40b..fe8acf73 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/initial-form.json @@ -151,4 +151,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/missing-email.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/missing-email.json index 368866cf..d1c2bea5 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/missing-email.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/missing-email.json @@ -169,4 +169,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/wrong-credentials.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/wrong-credentials.json index e5c95cf9..9e7620e6 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/wrong-credentials.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/password/wrong-credentials.json @@ -160,4 +160,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/initial-form.json index 6ce0b0ba..eaf56366 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/initial-form.json @@ -73,4 +73,4 @@ "refresh": false, "requested_aal": "aal1", "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/invalid-account.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/invalid-account.json index a0326fdb..1aaf46b6 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/invalid-account.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/invalid-account.json @@ -80,4 +80,4 @@ "refresh": false, "requested_aal": "aal1", "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/show-trigger.json b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/show-trigger.json index 5a96d2af..6da4d3a7 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/show-trigger.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/login/1fa/webauthn/show-trigger.json @@ -102,4 +102,4 @@ "refresh": false, "requested_aal": "aal1", "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/recovery/disabled/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/recovery/disabled/initial-form.json index 5fc0377f..8b68b74f 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/recovery/disabled/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/recovery/disabled/initial-form.json @@ -6,4 +6,4 @@ "reason": "Recovery is not allowed because it was disabled.", "message": "The request was malformed or contained invalid parameters" } -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/recovery/none/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/recovery/none/initial-form.json index 2d07977f..7e631446 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/recovery/none/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/recovery/none/initial-form.json @@ -6,4 +6,4 @@ "reason": "You attempted recovery using code, which is not enabled or does not exist. An administrator needs to enable this recovery method.", "message": "The request was malformed or contained invalid parameters" } -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/all-methods/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/all-methods/initial-form.json index 4f913022..8403009d 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/all-methods/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/all-methods/initial-form.json @@ -331,4 +331,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/all-methods/missing-fields.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/all-methods/missing-fields.json index e11ac11c..3d3d6c1f 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/all-methods/missing-fields.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/all-methods/missing-fields.json @@ -340,4 +340,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/disabled/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/disabled/initial-form.json index 299e96ec..bf75036d 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/disabled/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/disabled/initial-form.json @@ -7,4 +7,4 @@ "reason": "Registration is not allowed because it was disabled.", "message": "registration flow disabled" } -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/none/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/none/initial-form.json index 1ace29b8..f61efcd1 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/none/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/none/initial-form.json @@ -11,4 +11,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/oidc/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/oidc/initial-form.json index a112e50e..72230c51 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/oidc/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/oidc/initial-form.json @@ -335,4 +335,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/passkey/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/passkey/initial-form.json index 38ac94e9..fc6c6d2d 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/passkey/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/passkey/initial-form.json @@ -174,4 +174,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/password/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/password/initial-form.json index ca8a07a9..fd87613f 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/password/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/password/initial-form.json @@ -151,4 +151,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/password/missing-fields.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/password/missing-fields.json index 7d6b349a..39c26558 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/password/missing-fields.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/password/missing-fields.json @@ -169,4 +169,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/webauthn/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/webauthn/initial-form.json index a4cf5e43..1af05308 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/webauthn/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/one-step/webauthn/initial-form.json @@ -182,4 +182,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/enter-password.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/enter-password.json index effc85f9..132fc249 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/enter-password.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/enter-password.json @@ -239,4 +239,4 @@ "organization_id": null, "transient_payload": {}, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/initial-form.json index 2618cc94..eebdfe18 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/initial-form.json @@ -177,4 +177,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/missing-fields.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/missing-fields.json index f713f862..d91451fa 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/missing-fields.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/missing-fields.json @@ -186,4 +186,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/password-validation-error.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/password-validation-error.json index e0ea4d05..ca4decee 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/password-validation-error.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/all-methods/password-validation-error.json @@ -241,4 +241,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/enter-password.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/enter-password.json index 96aa0ff2..4309f700 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/enter-password.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/enter-password.json @@ -105,4 +105,4 @@ "organization_id": null, "transient_payload": {}, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/initial-form.json index 4da69820..2987722e 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/initial-form.json @@ -131,4 +131,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/missing-fields.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/missing-fields.json index 1053936b..82562591 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/missing-fields.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/missing-fields.json @@ -140,4 +140,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/password-validation-error.json b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/password-validation-error.json index f9b48e5f..f33aee57 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/password-validation-error.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/registration/two-step/password/password-validation-error.json @@ -107,4 +107,4 @@ }, "organization_id": null, "state": "choose_method" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/change-password.json b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/change-password.json index 4a936d0e..295e0d9d 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/change-password.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/change-password.json @@ -378,4 +378,4 @@ "redirect_browser_to": "https://wizardly-haibt-hgodg3zpxs.projects.oryapis:8080/ui/settings?flow=09710ae0-b006-4366-88c4-59e28b946b50" } ] -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/change-trait.json b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/change-trait.json index 1c77ad92..2fc764f8 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/change-trait.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/change-trait.json @@ -374,4 +374,4 @@ "organization_id": null }, "state": "success" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/initial-form.json index 06139dc5..381af423 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/all-methods/initial-form.json @@ -365,4 +365,4 @@ "organization_id": null }, "state": "show_form" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/oidc/with-provider.json b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/oidc/with-provider.json index d32530ca..80ba6c65 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/oidc/with-provider.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/oidc/with-provider.json @@ -227,4 +227,4 @@ "organization_id": null }, "state": "show_form" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/passkey/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/passkey/initial-form.json index 0a2e4224..e93c9142 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/passkey/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/passkey/initial-form.json @@ -253,4 +253,4 @@ "organization_id": null }, "state": "show_form" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/webauthn/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/webauthn/initial-form.json index 495dc6c1..d6714e79 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/settings/webauthn/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/settings/webauthn/initial-form.json @@ -260,4 +260,4 @@ "organization_id": null }, "state": "show_form" -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/verification/disabled/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/verification/disabled/initial-form.json index 1886685d..beb03ecd 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/verification/disabled/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/verification/disabled/initial-form.json @@ -6,4 +6,4 @@ "reason": "Verification is not allowed because it was disabled.", "message": "The request was malformed or contained invalid parameters" } -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/.stub-responses/verification/none/initial-form.json b/packages/elements-react-stories/src/elements-react/.stub-responses/verification/none/initial-form.json index 88da77c0..243b80d4 100644 --- a/packages/elements-react-stories/src/elements-react/.stub-responses/verification/none/initial-form.json +++ b/packages/elements-react-stories/src/elements-react/.stub-responses/verification/none/initial-form.json @@ -6,4 +6,4 @@ "reason": "The active verification strategy code is not enabled. Please enable it in the configuration.", "message": "The request was malformed or contained invalid parameters" } -} \ No newline at end of file +} diff --git a/packages/elements-react-stories/src/elements-react/components/settings/all.stories.ts b/packages/elements-react-stories/src/elements-react/components/settings/all.stories.ts index 6a824a11..95ffd4ee 100644 --- a/packages/elements-react-stories/src/elements-react/components/settings/all.stories.ts +++ b/packages/elements-react-stories/src/elements-react/components/settings/all.stories.ts @@ -1,3 +1,6 @@ +// Copyright © 2024 Ory Corp +// SPDX-License-Identifier: Apache-2.0 + import { SettingsFlowFromJSON } from "@ory/client-fetch" import { Settings } from "@ory/elements-react/theme" import { Meta, StoryObj } from "@storybook/react" diff --git a/packages/elements-react-stories/src/elements-react/components/settings/oidc.stories.ts b/packages/elements-react-stories/src/elements-react/components/settings/oidc.stories.ts index b2073425..bc03d35a 100644 --- a/packages/elements-react-stories/src/elements-react/components/settings/oidc.stories.ts +++ b/packages/elements-react-stories/src/elements-react/components/settings/oidc.stories.ts @@ -1,3 +1,6 @@ +// Copyright © 2024 Ory Corp +// SPDX-License-Identifier: Apache-2.0 + import { SettingsFlowFromJSON } from "@ory/client-fetch" import { Settings } from "@ory/elements-react/theme" import { Meta, StoryObj } from "@storybook/react" diff --git a/packages/elements-react-stories/src/elements-react/components/settings/passkey.stories.ts b/packages/elements-react-stories/src/elements-react/components/settings/passkey.stories.ts index 98041d2f..d128c3a1 100644 --- a/packages/elements-react-stories/src/elements-react/components/settings/passkey.stories.ts +++ b/packages/elements-react-stories/src/elements-react/components/settings/passkey.stories.ts @@ -1,3 +1,6 @@ +// Copyright © 2024 Ory Corp +// SPDX-License-Identifier: Apache-2.0 + import { SettingsFlowFromJSON } from "@ory/client-fetch" import { Settings } from "@ory/elements-react/theme" import { Meta, StoryObj } from "@storybook/react" diff --git a/packages/elements-react-stories/src/elements-react/components/settings/webauthn.stories.ts b/packages/elements-react-stories/src/elements-react/components/settings/webauthn.stories.ts index f3d5f8af..7b7d5781 100644 --- a/packages/elements-react-stories/src/elements-react/components/settings/webauthn.stories.ts +++ b/packages/elements-react-stories/src/elements-react/components/settings/webauthn.stories.ts @@ -1,3 +1,6 @@ +// Copyright © 2024 Ory Corp +// SPDX-License-Identifier: Apache-2.0 + import { SettingsFlowFromJSON } from "@ory/client-fetch" import { Settings } from "@ory/elements-react/theme" import { Meta, StoryObj } from "@storybook/react" diff --git a/packages/elements-react/api-report/elements-react.api.json b/packages/elements-react/api-report/elements-react.api.json index 40c9caad..058893fb 100644 --- a/packages/elements-react/api-report/elements-react.api.json +++ b/packages/elements-react/api-report/elements-react.api.json @@ -3015,19 +3015,11 @@ "kind": "Content", "text": "declare function OrySettingsCard(): " }, - { - "kind": "Content", - "text": "(" - }, { "kind": "Reference", "text": "react_jsx_runtime.JSX.Element", "canonicalReference": "@types/react!JSX.Element:interface" }, - { - "kind": "Content", - "text": " | null)[]" - }, { "kind": "Content", "text": ";" @@ -3036,7 +3028,7 @@ "fileUrlPath": "dist/index.d.ts", "returnTypeTokenRange": { "startIndex": 1, - "endIndex": 4 + "endIndex": 2 }, "releaseTag": "Public", "overloadIndex": 1, diff --git a/packages/elements-react/api-report/elements-react.api.md b/packages/elements-react/api-report/elements-react.api.md index 2c35782d..e31661ab 100644 --- a/packages/elements-react/api-report/elements-react.api.md +++ b/packages/elements-react/api-report/elements-react.api.md @@ -332,7 +332,7 @@ export type OryProviderProps = { } & OryFlowContainer & PropsWithChildren; // @public (undocumented) -export function OrySettingsCard(): (react_jsx_runtime.JSX.Element | null)[]; +export function OrySettingsCard(): react_jsx_runtime.JSX.Element; // @public (undocumented) export type OrySettingsOidcProps = {