diff --git a/packages/builder/package.json b/packages/builder/package.json index 086d22382a..81e240d148 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -38,6 +38,7 @@ ] }, "dependencies": { + "@budibase/bbui": "^0.3.5", "@budibase/client": "^0.0.32", "@nx-js/compiler-util": "^2.0.0", "codemirror": "^5.51.0", @@ -79,7 +80,7 @@ "rollup-plugin-svelte": "^5.0.3", "rollup-plugin-terser": "^4.0.4", "rollup-plugin-url": "^2.2.2", - "svelte": "^3.0.0" + "svelte": "3.23.x" }, "gitHead": "115189f72a850bfb52b65ec61d932531bf327072" } diff --git a/packages/builder/src/App.svelte b/packages/builder/src/App.svelte index c6b76090f9..000c5c0e16 100644 --- a/packages/builder/src/App.svelte +++ b/packages/builder/src/App.svelte @@ -26,6 +26,4 @@ - - - + diff --git a/packages/builder/src/components/common/Icons/Close.svelte b/packages/builder/src/components/common/Icons/Close.svelte new file mode 100644 index 0000000000..e39564d9ad --- /dev/null +++ b/packages/builder/src/components/common/Icons/Close.svelte @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/builder/src/components/common/Icons/Info.svelte b/packages/builder/src/components/common/Icons/Info.svelte new file mode 100644 index 0000000000..162a9b3887 --- /dev/null +++ b/packages/builder/src/components/common/Icons/Info.svelte @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/builder/src/components/common/Icons/index.js b/packages/builder/src/components/common/Icons/index.js index c7e4da29da..69b78421da 100644 --- a/packages/builder/src/components/common/Icons/index.js +++ b/packages/builder/src/components/common/Icons/index.js @@ -29,3 +29,5 @@ export { default as ContributionIcon } from "./Contribution.svelte" export { default as BugIcon } from "./Bug.svelte" export { default as EmailIcon } from "./Email.svelte" export { default as TwitterIcon } from "./Twitter.svelte" +export { default as InfoIcon } from "./Info.svelte" +export { default as CloseIcon } from "./Close.svelte" diff --git a/packages/builder/src/components/start/AppCard.svelte b/packages/builder/src/components/start/AppCard.svelte new file mode 100644 index 0000000000..a54012ac0a --- /dev/null +++ b/packages/builder/src/components/start/AppCard.svelte @@ -0,0 +1,72 @@ + + +
+

{name}

+

+ {description} +

+ +
+ + \ No newline at end of file diff --git a/packages/builder/src/components/start/AppList.svelte b/packages/builder/src/components/start/AppList.svelte index 22ba16c45d..e3b1f572e1 100644 --- a/packages/builder/src/components/start/AppList.svelte +++ b/packages/builder/src/components/start/AppList.svelte @@ -1,5 +1,5 @@ + +
+
+
+ + + +

Create new web app

+
+ (name = e.target.value)} + on:input={e => (name = e.target.value)} /> + {#if error.name} + You need to enter a name for your application. + {/if} +