diff --git a/lerna.json b/lerna.json index 4e4efe7d00..c893e4b402 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "3.4.5", + "version": "3.4.6", "npmClient": "yarn", "concurrency": 20, "command": { diff --git a/package.json b/package.json index c0b295728e..1475abadf9 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "eslint-plugin-jest": "28.9.0", "eslint-plugin-local-rules": "3.0.2", "eslint-plugin-svelte": "2.46.1", + "svelte-preprocess": "^6.0.3", "husky": "^8.0.3", "kill-port": "^1.6.1", "lerna": "7.4.2", diff --git a/packages/bbui/src/Actions/click_outside.ts b/packages/bbui/src/Actions/click_outside.ts index 0c2eb036bc..551fbde600 100644 --- a/packages/bbui/src/Actions/click_outside.ts +++ b/packages/bbui/src/Actions/click_outside.ts @@ -93,7 +93,10 @@ const handleMouseDown = (e: MouseEvent) => { // Handle iframe clicks by detecting a loss of focus on the main window const handleBlur = () => { - if (document.activeElement?.tagName === "IFRAME") { + if ( + document.activeElement && + ["IFRAME", "BODY"].includes(document.activeElement.tagName) + ) { handleClick( new MouseEvent("click", { relatedTarget: document.activeElement }) ) diff --git a/packages/frontend-core/assets/covanta.png b/packages/frontend-core/assets/covanta.png deleted file mode 100644 index 541075763e..0000000000 Binary files a/packages/frontend-core/assets/covanta.png and /dev/null differ diff --git a/packages/frontend-core/assets/reworld.png b/packages/frontend-core/assets/reworld.png new file mode 100644 index 0000000000..ef89da5588 Binary files /dev/null and b/packages/frontend-core/assets/reworld.png differ diff --git a/packages/frontend-core/src/components/ClientAppSkeleton.svelte b/packages/frontend-core/src/components/ClientAppSkeleton.svelte index f867fccddb..0590ce7862 100644 --- a/packages/frontend-core/src/components/ClientAppSkeleton.svelte +++ b/packages/frontend-core/src/components/ClientAppSkeleton.svelte @@ -1,4 +1,4 @@ - @@ -28,27 +13,27 @@ /> - - + + - - + + - + - - - - + + + + - {title} - {#if favicon !== ""} - + {props.title} + {#if props.favicon !== ""} + {:else} {/if} @@ -105,11 +90,15 @@ - {#if showSkeletonLoader} - + {#if props.showSkeletonLoader} + {/if}
- {#if clientLibPath} + {#if props.clientLibPath}

There was an error loading your app

The Budibase client library could not be loaded. Try republishing your @@ -120,24 +109,24 @@

{/if}

- - {#if appMigrating} - {/if} - - {#if usedPlugins?.length} - {#each usedPlugins as plugin} + {#if props.usedPlugins?.length} + {#each props.usedPlugins as plugin} {/each} {/if} -