-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add readme & examples, update unit tests and parse the rendering_mode…
… while updating to advanced
- Loading branch information
1 parent
d9b23b6
commit 2c0bc3f
Showing
10 changed files
with
366 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"en": { | ||
"login-id": { | ||
"login-id": { | ||
"invalid-email-format": "Email is not valid." | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"universal_login_experience": "new", | ||
"identifier_first": false, | ||
"webauthn_platform_first_factor": true, | ||
"enable_ulp_wcag_compliance": false | ||
} |
33 changes: 33 additions & 0 deletions
33
examples/directory/prompts/screenRenderSettings/login-id_login-id.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"prompt": "login-id", | ||
"screen": "login-id", | ||
"rendering_mode": "advanced", | ||
"context_configuration": [ | ||
"branding.settings", | ||
"branding.themes.default" | ||
], | ||
"default_head_tags_disabled": true, | ||
"head_tags": [ | ||
{ | ||
"tag": "script", | ||
"attributes": { | ||
"src": "http://127.0.0.1:8090/index.js", | ||
"defer": true | ||
} | ||
}, | ||
{ | ||
"tag": "link", | ||
"attributes": { | ||
"rel": "stylesheet", | ||
"href": "http://127.0.0.1:8090/index.css" | ||
} | ||
}, | ||
{ | ||
"tag": "meta", | ||
"attributes": { | ||
"name": "viewport", | ||
"content": "width=device-width, initial-scale=1" | ||
} | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
examples/directory/prompts/screenRenderSettings/signup-id_signup-id.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"prompt": "signup-id", | ||
"screen": "signup-id", | ||
"rendering_mode": "advanced", | ||
"context_configuration": [], | ||
"default_head_tags_disabled": false, | ||
"head_tags": [ | ||
{ | ||
"tag": "script", | ||
"attributes": { | ||
"src": "URL_TO_YOUR_ASSET", | ||
"async": true, | ||
"defer": true, | ||
"integrity": [ | ||
"ASSET_SHA" | ||
] | ||
} | ||
} | ||
] | ||
} |
33 changes: 33 additions & 0 deletions
33
examples/yaml/prompts/screenRenderSettings/login-id_login-id.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"prompt": "login-id", | ||
"screen": "login-id", | ||
"rendering_mode": "advanced", | ||
"context_configuration": [ | ||
"branding.settings", | ||
"branding.themes.default" | ||
], | ||
"default_head_tags_disabled": true, | ||
"head_tags": [ | ||
{ | ||
"tag": "script", | ||
"attributes": { | ||
"src": "http://127.0.0.1:8090/index.js", | ||
"defer": true | ||
} | ||
}, | ||
{ | ||
"tag": "link", | ||
"attributes": { | ||
"rel": "stylesheet", | ||
"href": "http://127.0.0.1:8090/index.css" | ||
} | ||
}, | ||
{ | ||
"tag": "meta", | ||
"attributes": { | ||
"name": "viewport", | ||
"content": "width=device-width, initial-scale=1" | ||
} | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
examples/yaml/prompts/screenRenderSettings/signup-id_signup-id.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"prompt": "signup-id", | ||
"screen": "signup-id", | ||
"rendering_mode": "advanced", | ||
"context_configuration": [], | ||
"default_head_tags_disabled": false, | ||
"head_tags": [ | ||
{ | ||
"tag": "script", | ||
"attributes": { | ||
"src": "URL_TO_YOUR_ASSET", | ||
"async": true, | ||
"defer": true, | ||
"integrity": [ | ||
"ASSET_SHA" | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.