diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a7df903b..95bcd55df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: release: runs-on: ubuntu-latest - + steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 @@ -24,10 +24,22 @@ jobs: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} - run: yarn test - # - name: Publish budibase packages to NPM - # env: - # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - # run: yarn release + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: eu-west-1 + + - name: Publish budibase packages to NPM + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + # setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default + git config user.name "Budibase Release Bot" + git config user.email "<>" + echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc + yarn release - name: Build/release Docker images run: | diff --git a/LICENSE b/LICENSE index 9a75fba1f..a6bd92602 100644 --- a/LICENSE +++ b/LICENSE @@ -1,8 +1,12 @@ -Copyright 2019-2021, Budibase Ltd +Copyright 2019-2021, Budibase Inc. Each Budibase package has its own license: -builder: AGPLv3 +builder: GPLv3 server: GPLv3 client: MPLv2.0 standard-components: MPLv2.0 + +You can consider Budibase to be GPLv3 licensed. + +The apps that you build with Budibase do not fall under GPLv3 - hence why our components and client library are licensed differently. diff --git a/README.md b/README.md index ca7299ff7..4d87e531e 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@

- Build custom business tools in minutes and on your own infrastructure + Build internal tools on your own infrastructure in minutes

- Budibase is an open-source low-code platform, helping developers and IT professionals build, automate, and ship custom business apps in minutes and on their own infrastructure. + Budibase is an open-source low-code platform, helping developers and IT professionals build, automate, and ship internal tools on their own infrastructure in minutes.

@@ -58,7 +58,6 @@ ## ✨ Features -When other platforms chose the closed source route, we decided to go open source. When other platforms chose cloud builders, we decided a local builder offered the better developer experience. We like to do things differently at Budibase. - **Build and ship real software.** Unlike other platforms, with Budibase you build and ship single page applications. Budibase applications have performance baked in and can be designed responsively, providing your users with a great experience. @@ -70,13 +69,14 @@ When other platforms chose the closed source route, we decided to go open source - **Automate processes, integrate with other tools, and connect to webhooks.** Save time by automating manual processes and workflows. From connecting to webhooks, to automating emails, simply tell Budibase what to do and let it work for you. You can easily [create new automations for Budibase here](https://github.com/Budibase/automations) or [request new integrations here](https://github.com/Budibase/budibase/discussions?discussions_q=category%3AIdeas). -- **Cloud hosting and self-hosting.** Users can self-host (see below), or host their apps with Budibase. Currently, our cloud hosting offering is limited to the free tier but we aim to change this in the future. For heavy usage, we advise users to self-host. -

Budibase design ui

+--- + + ## ⌛ Status - [x] Alpha: We are demoing Budibase to users and receiving feedback - [x] Private Beta: We are testing Budibase with a closed set of customers @@ -96,25 +96,43 @@ Watch "releases" of this repo to get notified of major updates, and give the sta If you are having issues between updates of the builder, please use the guide [here](https://github.com/Budibase/budibase/blob/HEAD/.github/CONTRIBUTING.md#troubleshooting) to clear down your environment. -## 🏁 Getting Started with Budibase +--- + + +## 🏁 Getting Started with Budibase in 5 minutes + +To get started, you must have docker and docker compose installed on your machine. +Once you have Docker installed, the process takes 5 minutes, with these four steps: + +1. Install the Budibase CLI. + +``` +$ npm i -g @budibase/cli +``` + + +2. Setup Budibase (select where to store Budibase, and the port to run it on) + +``` +budi hosting --init +``` + -The Budibase builder runs in Electron, on Mac, PC and Linux. Follow the steps below to get started: -- [ ] [Sign-up to Budibase](https://portal.budi.live/signup) -- [ ] Create a username and password -- [ ] Copy your API key -- [ ] Download Budibase -- [ ] Open Budibase and enter your API key +3. Run Budibase -[Here is a guided tutorial](https://docs.budibase.com/tutorial/tutorial-signing-up) if you need extra help. +``` +budi hosting --start +``` -## 🤖 Self-hosting +4. Create your admin user -Budibase wants to make sure anyone can use the tools we develop and we know a lot of people need to be able to host the apps they make on their own systems - that is why we've decided to try and make self hosting as easy as possible! +Enter the email and password for the new admin user. -Currently, you can host your apps using Docker or Digital Ocean. The documentation for self-hosting can be found [here](https://docs.budibase.com/self-hosting/introduction-to-self-hosting). +Done! You are now ready to build powerful internal tools in minutes. For additional information on how to get started and learn Budibase, visit our [docs](https://docs.budibase.com/getting-started). -[![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/droplets/new?onboarding_origin=marketplace&i=09038e&fleetUuid=bb04f9c8-1de8-4687-b2ae-1d5177a0535b&appId=77729671&type=applications&size=s-4vcpu-8gb®ion=nyc1&refcode=0caaa6085a82&image=budibase-20-04) + +--- ## 🎓 Learning Budibase @@ -124,6 +142,9 @@ The Budibase [documentation lives here](https://docs.budibase.com). You can also follow a quick tutorial on [how to build a CRM with Budibase](https://docs.budibase.com/tutorial/tutorial-introduction) +--- + + ## Roadmap Checkout our [Public Roadmap](https://github.com/Budibase/budibase/projects/10). If you would like to discuss some of the items on the roadmap, please feel to reach out on [Discord](https://discord.gg/rCYayfe), or via [Github discussions](https://github.com/Budibase/budibase/discussions) @@ -151,10 +172,18 @@ Budibase is a monorepo managed by lerna. Lerna manages the building and publishi For more information, see [CONTRIBUTING.md](https://github.com/Budibase/budibase/blob/HEAD/.github/CONTRIBUTING.md) + +--- + + ## 📝 License Budibase is open-source. The builder is licensed [AGPL v3](https://www.gnu.org/licenses/agpl-3.0.en.html), the server is licensed [GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html), and the client is licensed [MPL](https://directory.fsf.org/wiki/License:MPL-2.0). + +--- + + ## 💬 Get in touch If you have a question or would like to talk with other Budibase users, please hop over to [Github discussions](https://github.com/Budibase/budibase/discussions) or join our Discord server: @@ -164,6 +193,9 @@ If you have a question or would like to talk with other Budibase users, please h ![Discord Shield](https://discordapp.com/api/guilds/733030666647765003/widget.png?style=shield) +--- + + ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): diff --git a/lerna.json b/lerna.json index cc0403230..84762fd05 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.9.5", + "version": "0.9.18", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/package.json b/package.json index 380407d48..61c81ecb6 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "initialise": "lerna run initialise", "publishdev": "lerna run publishdev", "publishnpm": "yarn build && lerna publish --force-publish", - "release": "lerna publish --force-publish --yes", + "release": "yarn build && lerna publish patch --yes --force-publish", "restore": "yarn run clean && yarn run bootstrap && yarn run build", "nuke": "yarn run nuke:packages && yarn run nuke:docker", "nuke:packages": "yarn run restore", diff --git a/packages/auth/package.json b/packages/auth/package.json index f97b397ab..822ed527d 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/auth", - "version": "0.9.5", + "version": "0.9.18", "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 1f5cefdcf..feb4887cc 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.5", + "version": "0.9.18", "license": "AGPL-3.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", diff --git a/packages/bbui/src/ActionButton/ActionButton.svelte b/packages/bbui/src/ActionButton/ActionButton.svelte index 4bb592aa2..83f71d385 100644 --- a/packages/bbui/src/ActionButton/ActionButton.svelte +++ b/packages/bbui/src/ActionButton/ActionButton.svelte @@ -11,6 +11,7 @@ export let icon = "" export let dataCy = null export let size = "M" + export let active = false function longPress(element) { if (!longPressable) return @@ -40,6 +41,7 @@ class:spectrum-ActionButton--emphasized={emphasized} class:is-selected={selected} class="spectrum-ActionButton spectrum-ActionButton--size{size}" + class:active {disabled} on:longPress on:click|preventDefault @@ -67,3 +69,10 @@ {/if} + + diff --git a/packages/bbui/src/Avatar/Avatar.svelte b/packages/bbui/src/Avatar/Avatar.svelte index e23c2fc36..f8acd9024 100644 --- a/packages/bbui/src/Avatar/Avatar.svelte +++ b/packages/bbui/src/Avatar/Avatar.svelte @@ -39,7 +39,7 @@ color: white; display: grid; place-items: center; - font-weight: 500; + font-weight: 600; background: #3aab87; border-radius: 50%; overflow: hidden; diff --git a/packages/bbui/src/DetailSummary/DetailSummary.svelte b/packages/bbui/src/DetailSummary/DetailSummary.svelte index 1c39bc6aa..7071ab26d 100644 --- a/packages/bbui/src/DetailSummary/DetailSummary.svelte +++ b/packages/bbui/src/DetailSummary/DetailSummary.svelte @@ -50,7 +50,7 @@ .name { text-align: left; font-size: 14px; - font-weight: 500; + font-weight: 600; letter-spacing: 0.14px; color: var(--ink); flex: 1 1 auto; diff --git a/packages/bbui/src/Form/Core/Dropzone.svelte b/packages/bbui/src/Form/Core/Dropzone.svelte index 3315c923f..57f70c8d9 100644 --- a/packages/bbui/src/Form/Core/Dropzone.svelte +++ b/packages/bbui/src/Form/Core/Dropzone.svelte @@ -285,9 +285,6 @@ --spectrum-global-dimension-font-size-400 ); } - .container * { - font-family: "Inter", sans-serif !important; - } .gallery, .spectrum-Dropzone { @@ -346,7 +343,7 @@ .extension { color: var(--spectrum-global-color-gray-600); text-transform: uppercase; - font-weight: 500; + font-weight: 600; margin-bottom: 5px; } diff --git a/packages/bbui/src/Modal/ModalContent.svelte b/packages/bbui/src/Modal/ModalContent.svelte index b5ed51e94..16338b1ed 100644 --- a/packages/bbui/src/Modal/ModalContent.svelte +++ b/packages/bbui/src/Modal/ModalContent.svelte @@ -95,7 +95,7 @@ overflow: visible; } .spectrum-Dialog-heading { - font-family: var(--spectrum-alias-body-text-font-family); + font-family: var(--font-sans); } .spectrum-Dialog-buttonGroup { diff --git a/packages/bbui/src/Table/AttachmentRenderer.svelte b/packages/bbui/src/Table/AttachmentRenderer.svelte index 90bb5cce6..797ca9369 100644 --- a/packages/bbui/src/Table/AttachmentRenderer.svelte +++ b/packages/bbui/src/Table/AttachmentRenderer.svelte @@ -49,7 +49,7 @@ border: 1px solid var(--spectrum-global-color-gray-300); border-radius: 2px; text-transform: uppercase; - font-weight: 500; + font-weight: 600; font-size: 11px; } diff --git a/packages/bbui/src/bbui.css b/packages/bbui/src/bbui.css index de758ec7f..f98f27bf5 100644 --- a/packages/bbui/src/bbui.css +++ b/packages/bbui/src/bbui.css @@ -40,11 +40,6 @@ --rounded-medium: 8px; --rounded-large: 16px; - --font-normal: "Inter"; - --font-black: "Inter Black"; - --font-bold: "Inter Bold"; - --font-medium: "Inter Medium"; - --font-light: "Inter Light"; --font-sans: Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, "Inter", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; diff --git a/packages/builder/LICENSE.md b/packages/builder/LICENSE.md index 08979af1b..7c4a69f39 100644 --- a/packages/builder/LICENSE.md +++ b/packages/builder/LICENSE.md @@ -1,21 +1,23 @@ - GNU AFFERO GENERAL PUBLIC LICENSE - Version 3, 19 November 2007 + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 - Copyright 2019-2021, Budibase Ltd + Copyright 2019-2021, Budibase Inc Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble - The GNU Affero General Public License is a free, copyleft license for -software and other kinds of works, specifically designed to ensure -cooperation with the community in the case of network server software. + The GNU General Public License is a free, copyleft license for +software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, -our General Public Licenses are intended to guarantee your freedom to +the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free -software for all its users. +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you @@ -24,34 +26,44 @@ them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. - Developers that use our General Public Licenses protect your rights -with two steps: (1) assert copyright on the software, and (2) offer -you this License which gives you legal permission to copy, distribute -and/or modify the software. - - A secondary benefit of defending all users' freedom is that -improvements made in alternate versions of the program, if they -receive widespread use, become available for other developers to -incorporate. Many developers of free software are heartened and -encouraged by the resulting cooperation. However, in the case of -software used on network servers, this result may fail to come about. -The GNU General Public License permits making a modified version and -letting the public access it on a server without ever releasing its -source code to the public. - - The GNU Affero General Public License is designed specifically to -ensure that, in such cases, the modified source code becomes available -to the community. It requires the operator of a network server to -provide the source code of the modified version running there to the -users of that server. Therefore, public use of a modified version, on -a publicly accessible server, gives the public access to the source -code of the modified version. - - An older license, called the Affero General Public License and -published by Affero, was designed to accomplish similar goals. This is -a different license, not a version of the Affero GPL, but Affero has -released a new version of the Affero GPL which permits relicensing under -this license. + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. @@ -60,7 +72,7 @@ modification follow. 0. Definitions. - "This License" refers to version 3 of the GNU Affero General Public License. + "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. @@ -537,45 +549,35 @@ to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. - 13. Remote Network Interaction; Use with the GNU General Public License. - - Notwithstanding any other provision of this License, if you modify the -Program, your modified version must prominently offer all users -interacting with it remotely through a computer network (if your version -supports such interaction) an opportunity to receive the Corresponding -Source of your version by providing access to the Corresponding Source -from a network server at no charge, through some standard or customary -means of facilitating copying of software. This Corresponding Source -shall include the Corresponding Source for any work covered by version 3 -of the GNU General Public License that is incorporated pursuant to the -following paragraph. + 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed -under version 3 of the GNU General Public License into a single +under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, -but the work with which it is combined will remain governed by version -3 of the GNU General Public License. +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of -the GNU Affero General Public License from time to time. Such new versions -will be similar in spirit to the present version, but may differ in detail to +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU Affero General +Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the -GNU Affero General Public License, you may choose any version ever published +GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future -versions of the GNU Affero General Public License can be used, that proxy's +versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. @@ -633,29 +635,40 @@ the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Affero General Public License for more details. + GNU General Public License for more details. - You should have received a copy of the GNU Affero General Public License + You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. - If your software can interact with users remotely through a computer -network, you should also make sure that it provides a way for users to -get its source. For example, if your program is a web application, its -interface could display a "Source" link that leads users to an archive -of the code. There are many ways you could offer source, and different -solutions will be better for different programs; see section 13 for the -specific requirements. + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU AGPL, see +For more information on this, and how to apply and follow the GNU GPL, see . + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/packages/builder/assets/Inter-Black.woff b/packages/builder/assets/Inter-Black.woff deleted file mode 100644 index 07800f4b7..000000000 Binary files a/packages/builder/assets/Inter-Black.woff and /dev/null differ diff --git a/packages/builder/assets/Inter-Black.woff2 b/packages/builder/assets/Inter-Black.woff2 deleted file mode 100644 index 9a615e6e8..000000000 Binary files a/packages/builder/assets/Inter-Black.woff2 and /dev/null differ diff --git a/packages/builder/assets/Inter-Bold.woff b/packages/builder/assets/Inter-Bold.woff deleted file mode 100644 index 61e1c25e6..000000000 Binary files a/packages/builder/assets/Inter-Bold.woff and /dev/null differ diff --git a/packages/builder/assets/Inter-Bold.woff2 b/packages/builder/assets/Inter-Bold.woff2 deleted file mode 100644 index 6c401bb09..000000000 Binary files a/packages/builder/assets/Inter-Bold.woff2 and /dev/null differ diff --git a/packages/builder/assets/Inter-ExtraBold.woff b/packages/builder/assets/Inter-ExtraBold.woff deleted file mode 100644 index 433fb3285..000000000 Binary files a/packages/builder/assets/Inter-ExtraBold.woff and /dev/null differ diff --git a/packages/builder/assets/Inter-ExtraBold.woff2 b/packages/builder/assets/Inter-ExtraBold.woff2 deleted file mode 100644 index 5a08b364d..000000000 Binary files a/packages/builder/assets/Inter-ExtraBold.woff2 and /dev/null differ diff --git a/packages/builder/assets/Inter-Medium.woff b/packages/builder/assets/Inter-Medium.woff deleted file mode 100644 index 8c36a6345..000000000 Binary files a/packages/builder/assets/Inter-Medium.woff and /dev/null differ diff --git a/packages/builder/assets/Inter-Medium.woff2 b/packages/builder/assets/Inter-Medium.woff2 deleted file mode 100644 index 3b31d3350..000000000 Binary files a/packages/builder/assets/Inter-Medium.woff2 and /dev/null differ diff --git a/packages/builder/assets/Inter-Regular.woff b/packages/builder/assets/Inter-Regular.woff deleted file mode 100644 index 7d587c40b..000000000 Binary files a/packages/builder/assets/Inter-Regular.woff and /dev/null differ diff --git a/packages/builder/assets/Inter-Regular.woff2 b/packages/builder/assets/Inter-Regular.woff2 deleted file mode 100644 index d5ffd2a1f..000000000 Binary files a/packages/builder/assets/Inter-Regular.woff2 and /dev/null differ diff --git a/packages/builder/assets/Inter-SemiBold.woff b/packages/builder/assets/Inter-SemiBold.woff deleted file mode 100644 index 99df06cbe..000000000 Binary files a/packages/builder/assets/Inter-SemiBold.woff and /dev/null differ diff --git a/packages/builder/assets/Inter-SemiBold.woff2 b/packages/builder/assets/Inter-SemiBold.woff2 deleted file mode 100644 index df746af99..000000000 Binary files a/packages/builder/assets/Inter-SemiBold.woff2 and /dev/null differ diff --git a/packages/builder/assets/banner-image.png b/packages/builder/assets/banner-image.png deleted file mode 100644 index 353149566..000000000 Binary files a/packages/builder/assets/banner-image.png and /dev/null differ diff --git a/packages/builder/assets/bb-logo.svg b/packages/builder/assets/bb-logo.svg deleted file mode 100644 index 7d115faef..000000000 --- a/packages/builder/assets/bb-logo.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - diff --git a/packages/builder/assets/budibase-logo.svg b/packages/builder/assets/budibase-logo.svg deleted file mode 100644 index 66b5b3bb3..000000000 --- a/packages/builder/assets/budibase-logo.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - diff --git a/packages/builder/assets/deploy-rocket.jpg b/packages/builder/assets/deploy-rocket.jpg deleted file mode 100644 index 497afe87a..000000000 Binary files a/packages/builder/assets/deploy-rocket.jpg and /dev/null differ diff --git a/packages/builder/assets/orange-landscape.png b/packages/builder/assets/orange-landscape.png deleted file mode 100644 index d96fc315e..000000000 Binary files a/packages/builder/assets/orange-landscape.png and /dev/null differ diff --git a/packages/builder/assets/remixicon.woff b/packages/builder/assets/remixicon.woff deleted file mode 100644 index 62a756bd3..000000000 Binary files a/packages/builder/assets/remixicon.woff and /dev/null differ diff --git a/packages/builder/assets/remixicon.woff2 b/packages/builder/assets/remixicon.woff2 deleted file mode 100644 index 89a0b99ec..000000000 Binary files a/packages/builder/assets/remixicon.woff2 and /dev/null differ diff --git a/packages/builder/index.html b/packages/builder/index.html index 3dc078182..eb58dc74d 100644 --- a/packages/builder/index.html +++ b/packages/builder/index.html @@ -4,7 +4,12 @@ Budibase - + + + diff --git a/packages/builder/package.json b/packages/builder/package.json index 715dd8e0f..0fa287b37 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "0.9.5", + "version": "0.9.18", "license": "AGPL-3.0", "private": true, "scripts": { @@ -65,10 +65,10 @@ } }, "dependencies": { - "@budibase/bbui": "^0.9.5", - "@budibase/client": "^0.9.5", + "@budibase/bbui": "^0.9.18", + "@budibase/client": "^0.9.18", "@budibase/colorpicker": "1.1.2", - "@budibase/string-templates": "^0.9.5", + "@budibase/string-templates": "^0.9.18", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", diff --git a/packages/builder/src/budibase.css b/packages/builder/src/budibase.css deleted file mode 100644 index 1426a7bee..000000000 --- a/packages/builder/src/budibase.css +++ /dev/null @@ -1,157 +0,0 @@ -/* Budibase Component Styles */ - - -.budibase__title { - font-weight: 900; - font-size: 42px; -} - -.budibase__title--2 { - font-weight: 700; - font-size: 32px; -} - -.budibase__title--3 { - font-weight: 700; - font-size: 24px; -} - -.budibase__title--4 { - font-weight: 700; - font-size: 18px; -} - -.budibase__label--big { - font-weight: 400; - font-size: 14px; - opacity: 0.6; - text-transform: uppercase; -} - -.budibase__label--medium { - font-weight: 500; - font-size: 13px; - opacity: 0.6; - text-transform: uppercase; -} - -.budibase__label--small { - font-weight: 500; - font-size: 10px; - opacity: 0.6; - text-transform: uppercase; -} - -.budibase__sub-heading { - font-weight: 500; - font-size: 16px; - opacity: 0.6; -} - -.budibase__nav-item { - cursor: pointer; - padding: 0 4px 0 2px; - height: 36px; - margin: 0px 0px 0px 0px; - border-radius: 5px; - display: flex; - align-items: center; - font-size: 14px; - transition: 0.2s; - border-top: var(--grey-1) .5px solid; -} - -.budibase__nav-item.selected { - color: var(--ink); - background: var(--grey-2); -} - -.budibase__nav-item:hover { - background: var(--grey-1); -} - -.budibase__input { - height: 36px; - background-color: var(--grey-2); - border: none; - border-radius: 5px; - width: 100%; - text-align: left; - color: var(--ink); - font-size: 14px; - padding-left: 8px; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.budibase__table { - border: 1px solid var(--grey-4); - background: #fff; - border-radius: 2px; -} - -.budibase__table thead { - background: var(--blue-light); -} - -.budibase__table thead > tr > th { - color: var(--ink); - text-transform: capitalize; - font-weight: 500; -} - -.budibase__table tr { - border-bottom: 1px solid var(--grey-1); -} - -.button--toggled { - background: var(--blue-light); - color: var(--grey-7); - width: 40px; - height: 40px; - display: flex; - align-items: center; - justify-content: center; - font-size: 20px; -} - -/* Table styles */ -.bb-table { - border-collapse: collapse; - border-spacing: 0; - width: 100%; - margin-bottom: var(--spacing-xl); -} - -* + .bb-table { - margin-top: var(--spacing-xl) -} - -.bb-table th { - padding: var(--spacing-l) var(--spacing-m); - text-align: left; - vertical-align: bottom; -} - -.bb-table td { - padding: var(--spacing-l) var(--spacing-m); - vertical-align: top; -} - -.bb-table td > :last-child { margin-bottom: 0; } - -.bb__alert { - position: relative; - margin-bottom: var(--spacing-m); - padding: var(--spacing-l); -} - -.bb__alert--danger { - background: #fef4f6; - color: #f0506e; -} - -a { - text-decoration: none; -} \ No newline at end of file diff --git a/packages/builder/src/builderStore/store/screenTemplates/rowDetailScreen.js b/packages/builder/src/builderStore/store/screenTemplates/rowDetailScreen.js index d06cb4000..b0cf694a5 100644 --- a/packages/builder/src/builderStore/store/screenTemplates/rowDetailScreen.js +++ b/packages/builder/src/builderStore/store/screenTemplates/rowDetailScreen.js @@ -32,8 +32,7 @@ function generateTitleContainer(table, title, formId, repeaterId) { "border-width": "0", "border-style": "None", color: "#fff", - "font-family": "Inter", - "font-weight": "500", + "font-weight": "600", "font-size": "14px", }) @@ -43,8 +42,7 @@ function generateTitleContainer(table, title, formId, repeaterId) { "border-width": "0", "border-style": "None", color: "#9e9e9e", - "font-family": "Inter", - "font-weight": "500", + "font-weight": "600", "font-size": "14px", "margin-right": "8px", "margin-left": "16px", diff --git a/packages/builder/src/builderStore/store/screenTemplates/rowListScreen.js b/packages/builder/src/builderStore/store/screenTemplates/rowListScreen.js index 7318b3a13..f31c4c12d 100644 --- a/packages/builder/src/builderStore/store/screenTemplates/rowListScreen.js +++ b/packages/builder/src/builderStore/store/screenTemplates/rowListScreen.js @@ -24,8 +24,7 @@ function generateTitleContainer(table) { "border-width": "0", "border-style": "None", color: "#fff", - "font-family": "Inter", - "font-weight": "500", + "font-weight": "600", "font-size": "14px", }) .hoverStyle({ @@ -52,7 +51,7 @@ function generateTitleContainer(table) { flex: "1 1 auto", "text-transform": "capitalize", }) - .type("h3") + .type("h2") .instanceName("Title") .text(table.name) @@ -111,8 +110,7 @@ const createScreen = table => { .instanceName("View Button") .normalStyle({ background: "transparent", - "font-family": "Inter, sans-serif", - "font-weight": "500", + "font-weight": "600", color: "#888", "border-width": "0", }) diff --git a/packages/builder/src/builderStore/store/screenTemplates/utils/commonComponents.js b/packages/builder/src/builderStore/store/screenTemplates/utils/commonComponents.js index 19f950226..02b3c20a2 100644 --- a/packages/builder/src/builderStore/store/screenTemplates/utils/commonComponents.js +++ b/packages/builder/src/builderStore/store/screenTemplates/utils/commonComponents.js @@ -97,8 +97,7 @@ export function makeSaveButton(table, formId) { "border-width": "0", "border-style": "None", color: "#fff", - "font-family": "Inter", - "font-weight": "500", + "font-weight": "600", "font-size": "14px", "margin-left": "16px", }) @@ -145,7 +144,7 @@ export function makeTitleContainer(title) { flex: "1 1 auto", }) .customStyle(spectrumColor(900)) - .type("h3") + .type("h2") .instanceName("Title") .text(title) diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte index 6f8a31d68..46385db6c 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItem.svelte @@ -67,7 +67,7 @@ header { font-size: 16px; - font-weight: 500; + font-weight: 600; display: flex; flex-direction: row; justify-content: flex-start; diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index 175160ba6..f2f1dbe17 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -130,7 +130,7 @@ } .block-label { - font-weight: 500; + font-weight: 600; font-size: var(--font-size-s); color: var(--grey-7); } diff --git a/packages/builder/src/components/automation/SetupPanel/QueryParamSelector.svelte b/packages/builder/src/components/automation/SetupPanel/QueryParamSelector.svelte index 02d89505d..3cdce4eb1 100644 --- a/packages/builder/src/components/automation/SetupPanel/QueryParamSelector.svelte +++ b/packages/builder/src/components/automation/SetupPanel/QueryParamSelector.svelte @@ -16,12 +16,13 @@
- + source.name} getOptionValue={source => source._id} /> {#if parameters.datasourceId} - -
- -
- -
- - - - - {#if error} -
Incorrect email or password
- {/if} - - - - diff --git a/packages/standard-components/src/Navigation.svelte b/packages/standard-components/src/Navigation.svelte index b0f043b75..43d8a0fa2 100644 --- a/packages/standard-components/src/Navigation.svelte +++ b/packages/standard-components/src/Navigation.svelte @@ -5,16 +5,22 @@ const component = getContext("component") export let logoUrl + export let hideLogo