diff --git a/lerna.json b/lerna.json index f50b005bd3..b6952a4d2a 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.9.185-alpha.10", + "version": "0.9.185-alpha.12", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/auth/package.json b/packages/auth/package.json index ee6f23051f..ca4f5e322c 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/auth", - "version": "0.9.185-alpha.10", + "version": "0.9.185-alpha.12", "description": "Authentication middlewares for budibase builder and apps", "main": "src/index.js", "author": "Budibase", diff --git a/packages/bbui/package.json b/packages/bbui/package.json index 9870e81bd2..4383afc0c3 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/bbui", "description": "A UI solution used in the different Budibase projects.", - "version": "0.9.185-alpha.10", + "version": "0.9.185-alpha.12", "license": "AGPL-3.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", diff --git a/packages/bbui/src/InlineAlert/InlineAlert.svelte b/packages/bbui/src/InlineAlert/InlineAlert.svelte index 2e4dd0f69a..25e14b7caf 100644 --- a/packages/bbui/src/InlineAlert/InlineAlert.svelte +++ b/packages/bbui/src/InlineAlert/InlineAlert.svelte @@ -8,6 +8,8 @@ export let onConfirm = undefined $: icon = selectIcon(type) + // if newlines used, convert them to different elements + $: split = message.split("\n") function selectIcon(alertType) { switch (alertType) { @@ -33,7 +35,9 @@
{header}
-
{message}
+ {#each split as splitMsg} +
{splitMsg}
+ {/each} {#if onConfirm}