diff --git a/packages/bbui/src/Button/Button.svelte b/packages/bbui/src/Button/Button.svelte index 36abcbf4da..ad86535bfa 100644 --- a/packages/bbui/src/Button/Button.svelte +++ b/packages/bbui/src/Button/Button.svelte @@ -14,7 +14,7 @@ export let active = false export let tooltip = undefined export let dataCy - export let newStyles = false + export let newStyles = true let showTooltip = false diff --git a/packages/bbui/src/Modal/ModalContent.svelte b/packages/bbui/src/Modal/ModalContent.svelte index 91b7c26d03..261dcbc24a 100644 --- a/packages/bbui/src/Modal/ModalContent.svelte +++ b/packages/bbui/src/Modal/ModalContent.svelte @@ -104,7 +104,7 @@ {/if} {#if showCancelButton} - {/if} diff --git a/packages/bbui/src/Tags/Tag.svelte b/packages/bbui/src/Tags/Tag.svelte index f7089decdb..0cdd6c385d 100644 --- a/packages/bbui/src/Tags/Tag.svelte +++ b/packages/bbui/src/Tags/Tag.svelte @@ -37,7 +37,7 @@ diff --git a/packages/bbui/src/Tags/Tags.svelte b/packages/bbui/src/Tags/Tags.svelte index 36d34507f3..ebca64b774 100644 --- a/packages/bbui/src/Tags/Tags.svelte +++ b/packages/bbui/src/Tags/Tags.svelte @@ -5,3 +5,13 @@
+ + diff --git a/packages/builder/src/components/deploy/DeployNavigation.svelte b/packages/builder/src/components/deploy/DeployNavigation.svelte index 676d7a5b7f..121a341da7 100644 --- a/packages/builder/src/components/deploy/DeployNavigation.svelte +++ b/packages/builder/src/components/deploy/DeployNavigation.svelte @@ -179,7 +179,7 @@
- +
diff --git a/packages/builder/src/components/portal/overview/automation/HistoryTab.svelte b/packages/builder/src/components/portal/overview/automation/HistoryTab.svelte index bd32e423c9..0ba9ff97d5 100644 --- a/packages/builder/src/components/portal/overview/automation/HistoryTab.svelte +++ b/packages/builder/src/components/portal/overview/automation/HistoryTab.svelte @@ -164,7 +164,7 @@ {#if (licensePlan?.type !== Constants.PlanType.ENTERPRISE && $auth.user.accountPortalAccess) || !$admin.cloud}
Expand your automation log history
-
diff --git a/packages/builder/src/components/portal/overview/backups/BackupsTab.svelte b/packages/builder/src/components/portal/overview/backups/BackupsTab.svelte index 5b2436acb9..ac2d743412 100644 --- a/packages/builder/src/components/portal/overview/backups/BackupsTab.svelte +++ b/packages/builder/src/components/portal/overview/backups/BackupsTab.svelte @@ -193,7 +193,6 @@
{#if $auth.accountPortalAccess} - diff --git a/packages/builder/src/components/usage/UsageDashCard.svelte b/packages/builder/src/components/usage/UsageDashCard.svelte index 6dd0b3d969..1b84dfdbdd 100644 --- a/packages/builder/src/components/usage/UsageDashCard.svelte +++ b/packages/builder/src/components/usage/UsageDashCard.svelte @@ -47,7 +47,7 @@
{#if secondaryDefined}
-
diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenSettingsPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenSettingsPanel.svelte index e6779d542c..507d7a36d9 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenSettingsPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenSettingsPanel.svelte @@ -172,7 +172,7 @@ {bindings} /> {/each} - diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ButtonRoundnessSelect.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ButtonRoundnessSelect.svelte index 21b04f694f..6e0fc39029 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ButtonRoundnessSelect.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/theme/_components/ButtonRoundnessSelect.svelte @@ -17,7 +17,7 @@
- +
diff --git a/packages/builder/src/pages/builder/portal/apps/create.svelte b/packages/builder/src/pages/builder/portal/apps/create.svelte index 33fc128cb3..400d142b12 100644 --- a/packages/builder/src/pages/builder/portal/apps/create.svelte +++ b/packages/builder/src/pages/builder/portal/apps/create.svelte @@ -49,7 +49,6 @@
diff --git a/packages/builder/src/pages/builder/portal/plugins/index.svelte b/packages/builder/src/pages/builder/portal/plugins/index.svelte index f5924ef486..60e4a9d517 100644 --- a/packages/builder/src/pages/builder/portal/plugins/index.svelte +++ b/packages/builder/src/pages/builder/portal/plugins/index.svelte @@ -53,7 +53,7 @@
- +
{#if $plugins?.length}
diff --git a/packages/builder/src/pages/builder/portal/settings/api.svelte b/packages/builder/src/pages/builder/portal/settings/api.svelte index af4123d9c0..cee3dd3327 100644 --- a/packages/builder/src/pages/builder/portal/settings/api.svelte +++ b/packages/builder/src/pages/builder/portal/settings/api.svelte @@ -47,8 +47,7 @@
- +
diff --git a/packages/builder/src/pages/builder/portal/settings/auth/index.svelte b/packages/builder/src/pages/builder/portal/settings/auth/index.svelte index 300562bdfe..0dbeb259c7 100644 --- a/packages/builder/src/pages/builder/portal/settings/auth/index.svelte +++ b/packages/builder/src/pages/builder/portal/settings/auth/index.svelte @@ -325,14 +325,6 @@
Google -
@@ -368,6 +360,15 @@
+
+ +
{/if} {#if providers.oidc} @@ -376,15 +377,6 @@
OpenID Connect -
@@ -448,129 +440,112 @@ /> - - - -
-
Advanced
- +
+ + Changes to your authentication scopes will only take effect when you + next log in. + +
+ + +
+ + { + if (!scopesFields[0].inputText) { + scopesFields[0].error = null + } + if ( + e.key === "Enter" || + e.keyCode === 13 || + e.code == "Space" || + e.keyCode == 32 + ) { + let scopes = providers.oidc.config.configs[0]["scopes"] + ? providers.oidc.config.configs[0]["scopes"] + : [...defaultScopes] + + let update = scopesFields[0].inputText.trim() + + if (HasSpacesRegex.test(update)) { + scopesFields[0].error = + "Auth scopes cannot contain spaces, double quotes or backslashes" + return + } else if (scopes.indexOf(update) > -1) { + scopesFields[0].error = "Auth scope already exists" + return + } else if (!update.length) { + scopesFields[0].inputText = null + scopesFields[0].error = null + return + } else { + scopesFields[0].error = null + scopes.push(update) + providers.oidc.config.configs[0]["scopes"] = scopes + scopesFields[0].inputText = null + } + } + }} + /> +
+
+ + + openid + {#each providers.oidc.config.configs[0]["scopes"] || [...defaultScopes] as tag, idx} + { - providers.oidc.config.configs[0]["scopes"] = [...defaultScopes] + let idxScopes = providers.oidc.config.configs[0]["scopes"] + if (idxScopes.length == 1) { + idxScopes.pop() + } else { + idxScopes.splice(idx, 1) + refreshScopes(0) + } }} - dataCy={"restore-oidc-default-scopes"} > - Restore Defaults - -
- - - Changes to your authentication scopes will only take effect when you - next log in. Please refer to your vendor documentation before - modification. - - -
- - - { - if (!scopesFields[0].inputText) { - scopesFields[0].error = null - } - if ( - e.key === "Enter" || - e.keyCode === 13 || - e.code == "Space" || - e.keyCode == 32 - ) { - let scopes = providers.oidc.config.configs[0]["scopes"] - ? providers.oidc.config.configs[0]["scopes"] - : [...defaultScopes] - - let update = scopesFields[0].inputText.trim() - - if (HasSpacesRegex.test(update)) { - scopesFields[0].error = - "Auth scopes cannot contain spaces, double quotes or backslashes" - return - } else if (scopes.indexOf(update) > -1) { - scopesFields[0].error = "Auth scope already exists" - return - } else if (!update.length) { - scopesFields[0].inputText = null - scopesFields[0].error = null - return - } else { - scopesFields[0].error = null - scopes.push(update) - providers.oidc.config.configs[0]["scopes"] = scopes - scopesFields[0].inputText = null - } - } - }} - /> - -
- - - openid - {#each providers.oidc.config.configs[0]["scopes"] || [...defaultScopes] as tag, idx} - { - let idxScopes = providers.oidc.config.configs[0]["scopes"] - if (idxScopes.length == 1) { - idxScopes.pop() - } else { - idxScopes.splice(idx, 1) - refreshScopes(0) - } - }} - > - {tag} - - {/each} - -
-
-
-
+ {tag} + + {/each} + + + +
+ +
{/if}