GitHub project
@@ -206,6 +217,6 @@ We recommend building UIs with a [**component-driven**](https://componentdriven.
- TipEdit the Markdown in{' '}
+ TipEdit the Markdown in{" "}
stories/Introduction.stories.mdx
diff --git a/src/stories/Ory/auth-error.json b/src/stories/Ory/auth-error.json
index e1e34ec96..59eefdc38 100644
--- a/src/stories/Ory/auth-error.json
+++ b/src/stories/Ory/auth-error.json
@@ -1,12 +1,12 @@
{
- "id": "993c948b-6ac1-411c-bcaf-029f56b44d5e",
- "error": {
- "code": 400,
- "debug": "key ory_kratos_oidc_auth_code_session does not exist in cookie: ory_kratos_continuity\n",
- "message": "no resumable session found",
- "reason": "The browser does not contain the necessary cookie to resume the session. This is a security violation and was blocked. Please clear your browser's cookies and cache and try again!",
- "status": "Bad Request"
- },
- "created_at": "2022-08-11T14:08:09.054554Z",
- "updated_at": "2022-08-11T14:08:09.054554Z"
-}
\ No newline at end of file
+ "id": "993c948b-6ac1-411c-bcaf-029f56b44d5e",
+ "error": {
+ "code": 400,
+ "debug": "key ory_kratos_oidc_auth_code_session does not exist in cookie: ory_kratos_continuity\n",
+ "message": "no resumable session found",
+ "reason": "The browser does not contain the necessary cookie to resume the session. This is a security violation and was blocked. Please clear your browser's cookies and cache and try again!",
+ "status": "Bad Request"
+ },
+ "created_at": "2022-08-11T14:08:09.054554Z",
+ "updated_at": "2022-08-11T14:08:09.054554Z"
+}
diff --git a/src/stories/Ory/login-flow-2fa.json b/src/stories/Ory/login-flow-2fa.json
index 315cb7bc3..d281a4c57 100644
--- a/src/stories/Ory/login-flow-2fa.json
+++ b/src/stories/Ory/login-flow-2fa.json
@@ -1,143 +1,143 @@
{
- "id": "0e21a525-6aa7-40e2-8dbf-5fa51f292dc1",
- "type": "browser",
- "expires_at": "2022-08-22T22:32:15.614434Z",
- "issued_at": "2022-08-22T22:02:15.614434Z",
- "request_url": "http://project.console.ory.sh/self-service/login/browser?aal=aal2",
- "ui": {
- "action": "https://project.console.ory.sh/self-service/login?flow=0e21a525-6aa7-40e2-8dbf-5fa51f292dc1",
- "method": "POST",
- "nodes": [
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "csrf_token",
- "type": "hidden",
- "value": "daYqaGczESQOiLZ03a+YgBJC9eo/mHfVl52x4rFnS8gqrH/EoYRdnNT62zDsbHpeDdHvvNLmzxAPN+QBbmDpBw==",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "identifier",
- "type": "hidden",
- "value": "aecaf2bf-b33f-4271-9c4d-0c0eb722fcf8",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "webauthn",
- "attributes": {
- "name": "webauthn_login_trigger",
- "type": "button",
- "value": "",
- "disabled": false,
- "onclick": "window.__oryWebAuthnLogin({\"publicKey\":{\"challenge\":\"=\",\"timeout\":60000,\"rpId\":\"console.ory.sh\",\"allowCredentials\":[{\"type\":\"public-key\",\"id\":\"==\"}],\"userVerification\":\"discouraged\"}})",
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1010008,
- "text": "Use security key",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "webauthn",
- "attributes": {
- "name": "webauthn_login",
- "type": "hidden",
- "value": "",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "script",
- "group": "webauthn",
- "attributes": {
- "src": "https://project.console.ory.sh/.well-known/ory/webauthn.js",
- "async": true,
- "referrerpolicy": "no-referrer",
- "crossorigin": "anonymous",
- "integrity": "sha512-E3ctShTQEYTkfWrjztRCbP77lN7L0jJC2IOd6j8vqUKslvqhX/Ho3QxlQJIeTI78krzAWUQlDXd9JQ0PZlKhzQ==",
- "type": "text/javascript",
- "id": "webauthn_script",
- "nonce": "6d2cacc8-9abd-4f8f-b2b9-cd5250bfa677",
- "node_type": "script"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "totp",
- "attributes": {
- "name": "totp_code",
- "type": "text",
- "value": "",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1010006,
- "text": "Authentication code",
- "type": "info",
- "context": {}
- }
- }
- },
- {
- "type": "input",
- "group": "totp",
- "attributes": {
- "name": "method",
- "type": "submit",
- "value": "totp",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1010009,
- "text": "Use Authenticator",
- "type": "info",
- "context": {}
- }
- }
- }
- ],
- "messages": [
- {
- "id": 1010004,
- "text": "Please complete the second authentication challenge.",
- "type": "info",
- "context": {}
- }
- ]
- },
- "created_at": "2022-08-22T22:02:15.825471Z",
- "updated_at": "2022-08-22T22:02:15.825471Z",
- "refresh": false,
- "requested_aal": "aal2"
-}
\ No newline at end of file
+ "id": "0e21a525-6aa7-40e2-8dbf-5fa51f292dc1",
+ "type": "browser",
+ "expires_at": "2022-08-22T22:32:15.614434Z",
+ "issued_at": "2022-08-22T22:02:15.614434Z",
+ "request_url": "http://project.console.ory.sh/self-service/login/browser?aal=aal2",
+ "ui": {
+ "action": "https://project.console.ory.sh/self-service/login?flow=0e21a525-6aa7-40e2-8dbf-5fa51f292dc1",
+ "method": "POST",
+ "nodes": [
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "csrf_token",
+ "type": "hidden",
+ "value": "daYqaGczESQOiLZ03a+YgBJC9eo/mHfVl52x4rFnS8gqrH/EoYRdnNT62zDsbHpeDdHvvNLmzxAPN+QBbmDpBw==",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "identifier",
+ "type": "hidden",
+ "value": "aecaf2bf-b33f-4271-9c4d-0c0eb722fcf8",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "webauthn",
+ "attributes": {
+ "name": "webauthn_login_trigger",
+ "type": "button",
+ "value": "",
+ "disabled": false,
+ "onclick": "window.__oryWebAuthnLogin({\"publicKey\":{\"challenge\":\"=\",\"timeout\":60000,\"rpId\":\"console.ory.sh\",\"allowCredentials\":[{\"type\":\"public-key\",\"id\":\"==\"}],\"userVerification\":\"discouraged\"}})",
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1010008,
+ "text": "Use security key",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "webauthn",
+ "attributes": {
+ "name": "webauthn_login",
+ "type": "hidden",
+ "value": "",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "script",
+ "group": "webauthn",
+ "attributes": {
+ "src": "https://project.console.ory.sh/.well-known/ory/webauthn.js",
+ "async": true,
+ "referrerpolicy": "no-referrer",
+ "crossorigin": "anonymous",
+ "integrity": "sha512-E3ctShTQEYTkfWrjztRCbP77lN7L0jJC2IOd6j8vqUKslvqhX/Ho3QxlQJIeTI78krzAWUQlDXd9JQ0PZlKhzQ==",
+ "type": "text/javascript",
+ "id": "webauthn_script",
+ "nonce": "6d2cacc8-9abd-4f8f-b2b9-cd5250bfa677",
+ "node_type": "script"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "totp",
+ "attributes": {
+ "name": "totp_code",
+ "type": "text",
+ "value": "",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1010006,
+ "text": "Authentication code",
+ "type": "info",
+ "context": {}
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "totp",
+ "attributes": {
+ "name": "method",
+ "type": "submit",
+ "value": "totp",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1010009,
+ "text": "Use Authenticator",
+ "type": "info",
+ "context": {}
+ }
+ }
+ }
+ ],
+ "messages": [
+ {
+ "id": 1010004,
+ "text": "Please complete the second authentication challenge.",
+ "type": "info",
+ "context": {}
+ }
+ ]
+ },
+ "created_at": "2022-08-22T22:02:15.825471Z",
+ "updated_at": "2022-08-22T22:02:15.825471Z",
+ "refresh": false,
+ "requested_aal": "aal2"
+}
diff --git a/src/stories/Ory/login-flow-error.json b/src/stories/Ory/login-flow-error.json
index 49d504ac3..1b30aad5b 100644
--- a/src/stories/Ory/login-flow-error.json
+++ b/src/stories/Ory/login-flow-error.json
@@ -1,143 +1,143 @@
{
- "id": "e565dc97-17cd-462c-b02a-575cae0073d7",
- "type": "browser",
- "expires_at": "2022-08-11T09:58:08.397197Z",
- "issued_at": "2022-08-11T09:28:08.397197Z",
- "request_url": "http://project.console.ory.sh/self-service/login/browser?refresh=false",
- "ui": {
- "action": "https://project.console.ory.sh/self-service/login?flow=e565dc97-17cd-462c-b02a-575cae0073d7",
- "method": "POST",
- "nodes": [
- {
- "type": "input",
- "group": "oidc",
- "attributes": {
- "name": "provider",
- "type": "submit",
- "value": "github",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1010002,
- "text": "Sign in with github",
- "type": "info",
- "context": {
- "provider": "github"
- }
- }
- }
- },
- {
- "type": "input",
- "group": "oidc",
- "attributes": {
- "name": "provider",
- "type": "submit",
- "value": "google",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1010002,
- "text": "Sign in with google",
- "type": "info",
- "context": {
- "provider": "google"
- }
- }
- }
- },
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "csrf_token",
- "type": "hidden",
- "value": "9MLkOckkbh9rK3kgR9qE2GJ5l86+NTRNXXsYwxe91gjhKXtl9aHG1TvNZiaOpwW2ioypjvKPt/KlrUFIRSnCUQ==",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "identifier",
- "type": "text",
- "value": "sd@fsd",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070004,
- "text": "ID",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "password",
- "type": "password",
- "required": true,
- "autocomplete": "current-password",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070001,
- "text": "Password",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "method",
- "type": "submit",
- "value": "password",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1010001,
- "text": "Sign in",
- "type": "info",
- "context": {}
- }
- }
+ "id": "e565dc97-17cd-462c-b02a-575cae0073d7",
+ "type": "browser",
+ "expires_at": "2022-08-11T09:58:08.397197Z",
+ "issued_at": "2022-08-11T09:28:08.397197Z",
+ "request_url": "http://project.console.ory.sh/self-service/login/browser?refresh=false",
+ "ui": {
+ "action": "https://project.console.ory.sh/self-service/login?flow=e565dc97-17cd-462c-b02a-575cae0073d7",
+ "method": "POST",
+ "nodes": [
+ {
+ "type": "input",
+ "group": "oidc",
+ "attributes": {
+ "name": "provider",
+ "type": "submit",
+ "value": "github",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1010002,
+ "text": "Sign in with github",
+ "type": "info",
+ "context": {
+ "provider": "github"
}
- ],
- "messages": [
- {
- "id": 4000006,
- "text": "The provided credentials are invalid, check for spelling mistakes in your password or username, email address, or phone number.",
- "type": "error",
- "context": {}
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "oidc",
+ "attributes": {
+ "name": "provider",
+ "type": "submit",
+ "value": "google",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1010002,
+ "text": "Sign in with google",
+ "type": "info",
+ "context": {
+ "provider": "google"
}
- ]
- },
- "created_at": "2022-08-11T09:28:08.405977Z",
- "updated_at": "2022-08-11T09:28:08.405977Z",
- "refresh": false,
- "requested_aal": "aal1"
-}
\ No newline at end of file
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "csrf_token",
+ "type": "hidden",
+ "value": "9MLkOckkbh9rK3kgR9qE2GJ5l86+NTRNXXsYwxe91gjhKXtl9aHG1TvNZiaOpwW2ioypjvKPt/KlrUFIRSnCUQ==",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "identifier",
+ "type": "text",
+ "value": "sd@fsd",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070004,
+ "text": "ID",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "password",
+ "type": "password",
+ "required": true,
+ "autocomplete": "current-password",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070001,
+ "text": "Password",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "method",
+ "type": "submit",
+ "value": "password",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1010001,
+ "text": "Sign in",
+ "type": "info",
+ "context": {}
+ }
+ }
+ }
+ ],
+ "messages": [
+ {
+ "id": 4000006,
+ "text": "The provided credentials are invalid, check for spelling mistakes in your password or username, email address, or phone number.",
+ "type": "error",
+ "context": {}
+ }
+ ]
+ },
+ "created_at": "2022-08-11T09:28:08.405977Z",
+ "updated_at": "2022-08-11T09:28:08.405977Z",
+ "refresh": false,
+ "requested_aal": "aal1"
+}
diff --git a/src/stories/Ory/login-flow.json b/src/stories/Ory/login-flow.json
index 4e3e926bb..7d5c747e5 100644
--- a/src/stories/Ory/login-flow.json
+++ b/src/stories/Ory/login-flow.json
@@ -1,111 +1,111 @@
{
- "id": "4a7c067f-ae1f-4015-b3e3-74e1de254b40",
- "type": "browser",
- "expires_at": "2022-08-23T18:50:56.82053129Z",
- "issued_at": "2022-08-23T18:20:56.82053129Z",
- "request_url": "http://test.com/self-service/login/browser",
- "ui": {
- "action": "http://test.com/self-service/login?flow=4a7c067f-ae1f-4015-b3e3-74e1de254b40",
- "method": "POST",
- "nodes": [
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "csrf_token",
- "type": "hidden",
- "value": "6Ov489/mtfsZ9cnFjqsSzxITOj4F6F1DaLTlrznzZtmFNHE9hssysNvRxD6vmbjhxexBYUcJ4HMC14wSREegkg==",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "identifier",
- "type": "text",
- "value": "",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070004,
- "text": "ID",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "webauthn",
- "attributes": {
- "name": "method",
- "type": "submit",
- "value": "webauthn",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1010001,
- "text": "Sign in with security key",
- "type": "info",
- "context": {}
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "password",
- "type": "password",
- "required": true,
- "autocomplete": "current-password",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070001,
- "text": "Password",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "method",
- "type": "submit",
- "value": "password",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1010001,
- "text": "Sign in",
- "type": "info",
- "context": {}
- }
- }
- }
- ]
- },
- "created_at": "2022-08-23T18:20:56.827165Z",
- "updated_at": "2022-08-23T18:20:56.827165Z",
- "refresh": false,
- "requested_aal": "aal1"
-}
\ No newline at end of file
+ "id": "4a7c067f-ae1f-4015-b3e3-74e1de254b40",
+ "type": "browser",
+ "expires_at": "2022-08-23T18:50:56.82053129Z",
+ "issued_at": "2022-08-23T18:20:56.82053129Z",
+ "request_url": "http://test.com/self-service/login/browser",
+ "ui": {
+ "action": "http://test.com/self-service/login?flow=4a7c067f-ae1f-4015-b3e3-74e1de254b40",
+ "method": "POST",
+ "nodes": [
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "csrf_token",
+ "type": "hidden",
+ "value": "6Ov489/mtfsZ9cnFjqsSzxITOj4F6F1DaLTlrznzZtmFNHE9hssysNvRxD6vmbjhxexBYUcJ4HMC14wSREegkg==",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "identifier",
+ "type": "text",
+ "value": "",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070004,
+ "text": "ID",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "webauthn",
+ "attributes": {
+ "name": "method",
+ "type": "submit",
+ "value": "webauthn",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1010001,
+ "text": "Sign in with security key",
+ "type": "info",
+ "context": {}
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "password",
+ "type": "password",
+ "required": true,
+ "autocomplete": "current-password",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070001,
+ "text": "Password",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "method",
+ "type": "submit",
+ "value": "password",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1010001,
+ "text": "Sign in",
+ "type": "info",
+ "context": {}
+ }
+ }
+ }
+ ]
+ },
+ "created_at": "2022-08-23T18:20:56.827165Z",
+ "updated_at": "2022-08-23T18:20:56.827165Z",
+ "refresh": false,
+ "requested_aal": "aal1"
+}
diff --git a/src/stories/Ory/recovery-flow.json b/src/stories/Ory/recovery-flow.json
index c1ceb15df..64414346d 100644
--- a/src/stories/Ory/recovery-flow.json
+++ b/src/stories/Ory/recovery-flow.json
@@ -1,66 +1,66 @@
{
- "id": "d1aee690-fc92-456c-b4df-fcc536184d72",
- "type": "browser",
- "expires_at": "2022-08-10T16:22:14.721210778Z",
- "issued_at": "2022-08-10T15:52:14.721210778Z",
- "request_url": "http://project.console.ory.sh/self-service/recovery/browser",
- "ui": {
- "action": "https://project.console.ory.sh/self-service/recovery?flow=d1aee690-fc92-456c-b4df-fcc536184d72",
- "method": "POST",
- "nodes": [
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "csrf_token",
- "type": "hidden",
- "value": "908s8H/4VNyyLghv9crWHroZ/cu5el1IjQvOP3cQJS4ayNvETILNednFoWJ113AhcYrW8qNGJX2B1PAjRscNng==",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "link",
- "attributes": {
- "name": "email",
- "type": "email",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070007,
- "text": "Email",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "link",
- "attributes": {
- "name": "method",
- "type": "submit",
- "value": "link",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070005,
- "text": "Submit",
- "type": "info"
- }
- }
- }
- ]
- },
- "state": "choose_method"
-}
\ No newline at end of file
+ "id": "d1aee690-fc92-456c-b4df-fcc536184d72",
+ "type": "browser",
+ "expires_at": "2022-08-10T16:22:14.721210778Z",
+ "issued_at": "2022-08-10T15:52:14.721210778Z",
+ "request_url": "http://project.console.ory.sh/self-service/recovery/browser",
+ "ui": {
+ "action": "https://project.console.ory.sh/self-service/recovery?flow=d1aee690-fc92-456c-b4df-fcc536184d72",
+ "method": "POST",
+ "nodes": [
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "csrf_token",
+ "type": "hidden",
+ "value": "908s8H/4VNyyLghv9crWHroZ/cu5el1IjQvOP3cQJS4ayNvETILNednFoWJ113AhcYrW8qNGJX2B1PAjRscNng==",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "link",
+ "attributes": {
+ "name": "email",
+ "type": "email",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070007,
+ "text": "Email",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "link",
+ "attributes": {
+ "name": "method",
+ "type": "submit",
+ "value": "link",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070005,
+ "text": "Submit",
+ "type": "info"
+ }
+ }
+ }
+ ]
+ },
+ "state": "choose_method"
+}
diff --git a/src/stories/Ory/register-flow-webauthn.json b/src/stories/Ory/register-flow-webauthn.json
index 3a62f77dc..2273a44e3 100644
--- a/src/stories/Ory/register-flow-webauthn.json
+++ b/src/stories/Ory/register-flow-webauthn.json
@@ -1,175 +1,175 @@
{
- "id": "a4535906-1c4b-4b4a-b84e-8246b756dffe",
- "type": "browser",
- "expires_at": "2022-08-22T14:39:46.330928Z",
- "issued_at": "2022-08-22T14:09:46.330928Z",
- "request_url": "http://project.console.ory.sh/self-service/registration/browser?return_to=",
- "ui": {
- "action": "http://project.console.ory.sh/self-service/registration?flow=a4535906-1c4b-4b4a-b84e-8246b756dffe",
- "method": "POST",
- "nodes": [
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "traits.email",
- "type": "email",
- "required": true,
- "autocomplete": "email",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070002,
- "text": "E-Mail",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "traits.firstName",
- "type": "text",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070002,
- "text": "First Name",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "csrf_token",
- "type": "hidden",
- "value": "f5EgWzcuFMVn0hSuGmotWjJntG1VRIWHzRdpqOfNucu+JJempBB0+ivjTG6iR50mV1ScEpwoshFF0pe/nESywA==",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "webauthn",
- "attributes": {
- "name": "webauthn_register_displayname",
- "type": "text",
- "value": "",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1050013,
- "text": "Name of the security key",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "webauthn",
- "attributes": {
- "name": "webauthn_register",
- "type": "hidden",
- "value": "",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "webauthn",
- "attributes": {
- "name": "webauthn_register_trigger",
- "type": "button",
- "value": "",
- "disabled": false,
- "onclick": "window.__oryWebAuthnRegistration({\"publicKey\":{\"challenge\":\"s=\",\"rp\":{\"name\":\"Personal\",\"id\":\"some-slug.projects.oryapis.com\"},\"user\":{\"name\":\"placeholder\",\"icon\":\"https://via.placeholder.com/128\",\"displayName\":\"placeholder\",\"id\":\"==\"},\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-35},{\"type\":\"public-key\",\"alg\":-36},{\"type\":\"public-key\",\"alg\":-257},{\"type\":\"public-key\",\"alg\":-258},{\"type\":\"public-key\",\"alg\":-259},{\"type\":\"public-key\",\"alg\":-37},{\"type\":\"public-key\",\"alg\":-38},{\"type\":\"public-key\",\"alg\":-39},{\"type\":\"public-key\",\"alg\":-8}],\"authenticatorSelection\":{\"userVerification\":\"discouraged\"},\"timeout\":60000}})",
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1040004,
- "text": "Sign up with security key",
- "type": "info"
- }
- }
- },
- {
- "type": "script",
- "group": "webauthn",
- "attributes": {
- "src": "http://project.console.ory.sh/.well-known/ory/webauthn.js",
- "async": true,
- "referrerpolicy": "no-referrer",
- "crossorigin": "anonymous",
- "integrity": "sha512-E3ctShTQEYTkfWrjztRCbP77lN7L0jJC2IOd6j8vqUKslvqhX/Ho3QxlQJIeTI78krzAWUQlDXd9JQ0PZlKhzQ==",
- "type": "text/javascript",
- "id": "webauthn_script",
- "nonce": "107c6218-7cc9-4533-917d-57ccc3cf90c6",
- "node_type": "script"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "password",
- "type": "password",
- "required": true,
- "autocomplete": "new-password",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070001,
- "text": "Password",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "method",
- "type": "submit",
- "value": "password",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1040001,
- "text": "Sign up",
- "type": "info",
- "context": {}
- }
- }
- }
- ]
- }
-}
\ No newline at end of file
+ "id": "a4535906-1c4b-4b4a-b84e-8246b756dffe",
+ "type": "browser",
+ "expires_at": "2022-08-22T14:39:46.330928Z",
+ "issued_at": "2022-08-22T14:09:46.330928Z",
+ "request_url": "http://project.console.ory.sh/self-service/registration/browser?return_to=",
+ "ui": {
+ "action": "http://project.console.ory.sh/self-service/registration?flow=a4535906-1c4b-4b4a-b84e-8246b756dffe",
+ "method": "POST",
+ "nodes": [
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "traits.email",
+ "type": "email",
+ "required": true,
+ "autocomplete": "email",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070002,
+ "text": "E-Mail",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "traits.firstName",
+ "type": "text",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070002,
+ "text": "First Name",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "csrf_token",
+ "type": "hidden",
+ "value": "f5EgWzcuFMVn0hSuGmotWjJntG1VRIWHzRdpqOfNucu+JJempBB0+ivjTG6iR50mV1ScEpwoshFF0pe/nESywA==",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "webauthn",
+ "attributes": {
+ "name": "webauthn_register_displayname",
+ "type": "text",
+ "value": "",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1050013,
+ "text": "Name of the security key",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "webauthn",
+ "attributes": {
+ "name": "webauthn_register",
+ "type": "hidden",
+ "value": "",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "webauthn",
+ "attributes": {
+ "name": "webauthn_register_trigger",
+ "type": "button",
+ "value": "",
+ "disabled": false,
+ "onclick": "window.__oryWebAuthnRegistration({\"publicKey\":{\"challenge\":\"s=\",\"rp\":{\"name\":\"Personal\",\"id\":\"some-slug.projects.oryapis.com\"},\"user\":{\"name\":\"placeholder\",\"icon\":\"https://via.placeholder.com/128\",\"displayName\":\"placeholder\",\"id\":\"==\"},\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-35},{\"type\":\"public-key\",\"alg\":-36},{\"type\":\"public-key\",\"alg\":-257},{\"type\":\"public-key\",\"alg\":-258},{\"type\":\"public-key\",\"alg\":-259},{\"type\":\"public-key\",\"alg\":-37},{\"type\":\"public-key\",\"alg\":-38},{\"type\":\"public-key\",\"alg\":-39},{\"type\":\"public-key\",\"alg\":-8}],\"authenticatorSelection\":{\"userVerification\":\"discouraged\"},\"timeout\":60000}})",
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1040004,
+ "text": "Sign up with security key",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "script",
+ "group": "webauthn",
+ "attributes": {
+ "src": "http://project.console.ory.sh/.well-known/ory/webauthn.js",
+ "async": true,
+ "referrerpolicy": "no-referrer",
+ "crossorigin": "anonymous",
+ "integrity": "sha512-E3ctShTQEYTkfWrjztRCbP77lN7L0jJC2IOd6j8vqUKslvqhX/Ho3QxlQJIeTI78krzAWUQlDXd9JQ0PZlKhzQ==",
+ "type": "text/javascript",
+ "id": "webauthn_script",
+ "nonce": "107c6218-7cc9-4533-917d-57ccc3cf90c6",
+ "node_type": "script"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "password",
+ "type": "password",
+ "required": true,
+ "autocomplete": "new-password",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070001,
+ "text": "Password",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "method",
+ "type": "submit",
+ "value": "password",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1040001,
+ "text": "Sign up",
+ "type": "info",
+ "context": {}
+ }
+ }
+ }
+ ]
+ }
+}
diff --git a/src/stories/Ory/register-flow.json b/src/stories/Ory/register-flow.json
index 5118bfc50..5727c9b3b 100644
--- a/src/stories/Ory/register-flow.json
+++ b/src/stories/Ory/register-flow.json
@@ -1,187 +1,187 @@
{
- "id": "c9dd6996-b5f9-4255-ba49-5ed0e13b1b9a",
- "type": "browser",
- "expires_at": "2022-08-05T11:13:15.502149013Z",
- "issued_at": "2022-08-05T10:43:15.502149013Z",
- "request_url": "http://project.console.ory.sh/self-service/registration/browser",
- "ui": {
- "action": "https://project.console.ory.sh/self-service/registration?flow=c9dd6996-b5f9-4255-ba49-5ed0e13b1b9a",
- "method": "POST",
- "nodes": [
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "csrf_token",
- "type": "hidden",
- "value": "tFdjiYdn6IgyeoiDfN7AGRgDX2AzcwhcJl4emCXMKo3ciO6e5FxI9MDvRov1yWUtA07pe6dYa/yejFY72+ktsQ==",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "oidc",
- "attributes": {
- "name": "provider",
- "type": "submit",
- "value": "github",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1040002,
- "text": "Sign up with github",
- "type": "info",
- "context": {
- "provider": "github"
- }
- }
- }
- },
- {
- "type": "input",
- "group": "oidc",
- "attributes": {
- "name": "provider",
- "type": "submit",
- "value": "google",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1040002,
- "text": "Sign up with google",
- "type": "info",
- "context": {
- "provider": "google"
- }
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "traits.email",
- "type": "email",
- "required": true,
- "autocomplete": "email",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070002,
- "text": "Email address",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "password",
- "type": "password",
- "required": true,
- "autocomplete": "new-password",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070001,
- "text": "Password",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "traits.name",
- "type": "text",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070002,
- "text": "Name",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "traits.consent.newsletter",
- "type": "checkbox",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070002,
- "text": "Please inform me about platform and security updates",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "traits.consent.tos",
- "type": "datetime-local",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070002,
- "text": "I accept the Terms of Service https://www.ory.sh/ptos",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "password",
- "attributes": {
- "name": "method",
- "type": "submit",
- "value": "password",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1040001,
- "text": "Sign up",
- "type": "info",
- "context": {}
- }
- }
+ "id": "c9dd6996-b5f9-4255-ba49-5ed0e13b1b9a",
+ "type": "browser",
+ "expires_at": "2022-08-05T11:13:15.502149013Z",
+ "issued_at": "2022-08-05T10:43:15.502149013Z",
+ "request_url": "http://project.console.ory.sh/self-service/registration/browser",
+ "ui": {
+ "action": "https://project.console.ory.sh/self-service/registration?flow=c9dd6996-b5f9-4255-ba49-5ed0e13b1b9a",
+ "method": "POST",
+ "nodes": [
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "csrf_token",
+ "type": "hidden",
+ "value": "tFdjiYdn6IgyeoiDfN7AGRgDX2AzcwhcJl4emCXMKo3ciO6e5FxI9MDvRov1yWUtA07pe6dYa/yejFY72+ktsQ==",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "oidc",
+ "attributes": {
+ "name": "provider",
+ "type": "submit",
+ "value": "github",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1040002,
+ "text": "Sign up with github",
+ "type": "info",
+ "context": {
+ "provider": "github"
}
- ]
- }
-}
\ No newline at end of file
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "oidc",
+ "attributes": {
+ "name": "provider",
+ "type": "submit",
+ "value": "google",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1040002,
+ "text": "Sign up with google",
+ "type": "info",
+ "context": {
+ "provider": "google"
+ }
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "traits.email",
+ "type": "email",
+ "required": true,
+ "autocomplete": "email",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070002,
+ "text": "Email address",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "password",
+ "type": "password",
+ "required": true,
+ "autocomplete": "new-password",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070001,
+ "text": "Password",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "traits.name",
+ "type": "text",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070002,
+ "text": "Name",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "traits.consent.newsletter",
+ "type": "checkbox",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070002,
+ "text": "Please inform me about platform and security updates",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "traits.consent.tos",
+ "type": "datetime-local",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070002,
+ "text": "I accept the Terms of Service https://www.ory.sh/ptos",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "password",
+ "attributes": {
+ "name": "method",
+ "type": "submit",
+ "value": "password",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1040001,
+ "text": "Sign up",
+ "type": "info",
+ "context": {}
+ }
+ }
+ }
+ ]
+ }
+}
diff --git a/src/stories/Ory/verification-flow.json b/src/stories/Ory/verification-flow.json
index 1b0c2b46e..add77e013 100644
--- a/src/stories/Ory/verification-flow.json
+++ b/src/stories/Ory/verification-flow.json
@@ -1,66 +1,66 @@
{
- "id": "544adecc-d51f-443a-b5a0-8e57a639bcbf",
- "type": "browser",
- "expires_at": "2022-08-10T17:31:11.730178932Z",
- "issued_at": "2022-08-10T16:31:11.730178932Z",
- "request_url": "http://project.console.ory.sh/self-service/verification/browser",
- "ui": {
- "action": "https://project.console.ory.sh/self-service/verification?flow=544adecc-d51f-443a-b5a0-8e57a639bcbf",
- "method": "POST",
- "nodes": [
- {
- "type": "input",
- "group": "default",
- "attributes": {
- "name": "csrf_token",
- "type": "hidden",
- "value": "Tdt00Dex00zJt+wEPXedaEaBIfyfqyJEP3A1jUnribGgXIPkBMtK6aJcRQm9ajtXjRIKxYWXWnEzrwuReDyhAQ==",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {}
- },
- {
- "type": "input",
- "group": "link",
- "attributes": {
- "name": "email",
- "type": "email",
- "required": true,
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070007,
- "text": "Email",
- "type": "info"
- }
- }
- },
- {
- "type": "input",
- "group": "link",
- "attributes": {
- "name": "method",
- "type": "submit",
- "value": "link",
- "disabled": false,
- "node_type": "input"
- },
- "messages": [],
- "meta": {
- "label": {
- "id": 1070005,
- "text": "Submit",
- "type": "info"
- }
- }
- }
- ]
- },
- "state": "choose_method"
-}
\ No newline at end of file
+ "id": "544adecc-d51f-443a-b5a0-8e57a639bcbf",
+ "type": "browser",
+ "expires_at": "2022-08-10T17:31:11.730178932Z",
+ "issued_at": "2022-08-10T16:31:11.730178932Z",
+ "request_url": "http://project.console.ory.sh/self-service/verification/browser",
+ "ui": {
+ "action": "https://project.console.ory.sh/self-service/verification?flow=544adecc-d51f-443a-b5a0-8e57a639bcbf",
+ "method": "POST",
+ "nodes": [
+ {
+ "type": "input",
+ "group": "default",
+ "attributes": {
+ "name": "csrf_token",
+ "type": "hidden",
+ "value": "Tdt00Dex00zJt+wEPXedaEaBIfyfqyJEP3A1jUnribGgXIPkBMtK6aJcRQm9ajtXjRIKxYWXWnEzrwuReDyhAQ==",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {}
+ },
+ {
+ "type": "input",
+ "group": "link",
+ "attributes": {
+ "name": "email",
+ "type": "email",
+ "required": true,
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070007,
+ "text": "Email",
+ "type": "info"
+ }
+ }
+ },
+ {
+ "type": "input",
+ "group": "link",
+ "attributes": {
+ "name": "method",
+ "type": "submit",
+ "value": "link",
+ "disabled": false,
+ "node_type": "input"
+ },
+ "messages": [],
+ "meta": {
+ "label": {
+ "id": 1070005,
+ "text": "Submit",
+ "type": "info"
+ }
+ }
+ }
+ ]
+ },
+ "state": "choose_method"
+}
diff --git a/src/theme/nav.css.ts b/src/theme/nav.css.ts
index 64bdf781a..fc27afc90 100644
--- a/src/theme/nav.css.ts
+++ b/src/theme/nav.css.ts
@@ -41,7 +41,7 @@ export const navSectionTitleStyle = style({
flexDirection: "row",
justifyContent: "space-between",
alignItems: "center",
-
+
padding: pxToRem(0, 8, 6),
})
diff --git a/tests/preact-spa/package.json b/tests/preact-spa/package.json
index fc1307862..317ce3402 100644
--- a/tests/preact-spa/package.json
+++ b/tests/preact-spa/package.json
@@ -24,4 +24,4 @@
"eslintConfig": {
"extends": "preact"
}
-}
\ No newline at end of file
+}
diff --git a/tests/preact-spa/vite.config.ts b/tests/preact-spa/vite.config.ts
index e3bdaffe8..c8a215738 100644
--- a/tests/preact-spa/vite.config.ts
+++ b/tests/preact-spa/vite.config.ts
@@ -1,7 +1,7 @@
-import { defineConfig } from 'vite'
-import preact from '@preact/preset-vite'
+import { defineConfig } from "vite"
+import preact from "@preact/preset-vite"
// https://vitejs.dev/config/
export default defineConfig({
- plugins: [preact()]
+ plugins: [preact()],
})
diff --git a/tests/react-spa/package.json b/tests/react-spa/package.json
index f26bf90cd..20f60247e 100644
--- a/tests/react-spa/package.json
+++ b/tests/react-spa/package.json
@@ -21,4 +21,4 @@
"typescript": "^4.6.4",
"vite": "^3.0.7"
}
-}
\ No newline at end of file
+}
diff --git a/tests/react-spa/vite.config.ts b/tests/react-spa/vite.config.ts
index b1b5f91e5..16d719d61 100644
--- a/tests/react-spa/vite.config.ts
+++ b/tests/react-spa/vite.config.ts
@@ -1,7 +1,7 @@
-import { defineConfig } from 'vite'
-import react from '@vitejs/plugin-react'
+import { defineConfig } from "vite"
+import react from "@vitejs/plugin-react"
// https://vitejs.dev/config/
export default defineConfig({
- plugins: [react()]
+ plugins: [react()],
})
diff --git a/tsconfig.build.json b/tsconfig.build.json
index 0e21a886d..6ce3f196a 100644
--- a/tsconfig.build.json
+++ b/tsconfig.build.json
@@ -1,13 +1,19 @@
{
- "extends": "./tsconfig.json",
- "compilerOptions": {
- "emitDeclarationOnly": false,
- "declaration": true,
- "declarationMap": true,
- "declarationDir": "dist",
- "rootDir": "./src",
- "noEmit": false
- },
- "include": ["./src"],
- "exclude": ["**/*.spec.*", "**/*.test.*", "**/*.stories.*", "node_modules", "dist"]
-}
\ No newline at end of file
+ "extends": "./tsconfig.json",
+ "compilerOptions": {
+ "emitDeclarationOnly": false,
+ "declaration": true,
+ "declarationMap": true,
+ "declarationDir": "dist",
+ "rootDir": "./src",
+ "noEmit": false
+ },
+ "include": ["./src"],
+ "exclude": [
+ "**/*.spec.*",
+ "**/*.test.*",
+ "**/*.stories.*",
+ "node_modules",
+ "dist"
+ ]
+}
diff --git a/tsconfig.json b/tsconfig.json
index d27f8ade9..8108760c9 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -2,11 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
- "lib": [
- "DOM",
- "DOM.Iterable",
- "ESNext"
- ],
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
diff --git a/tsconfig.node.json b/tsconfig.node.json
index 0fdd25208..7fa507678 100644
--- a/tsconfig.node.json
+++ b/tsconfig.node.json
@@ -5,7 +5,7 @@
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
- "esModuleInterop": true,
+ "esModuleInterop": true
},
"include": ["vite.config.ts"]
}