diff --git a/lerna.json b/lerna.json index 0ee92c01b0..e4286051f4 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.9.87-alpha.3", + "version": "0.9.87-alpha.4", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/auth/package.json b/packages/auth/package.json index 6898b2ab8c..63d5961358 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/auth", - "version": "0.9.87-alpha.3", + "version": "0.9.87-alpha.4", "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 6b8bc2e96d..7ac993a892 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.87-alpha.3", + "version": "0.9.87-alpha.4", "license": "AGPL-3.0", "svelte": "src/index.js", "module": "dist/bbui.es.js", diff --git a/packages/builder/package.json b/packages/builder/package.json index 19a0d1e0fd..9fbf288e23 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/builder", - "version": "0.9.87-alpha.3", + "version": "0.9.87-alpha.4", "license": "AGPL-3.0", "private": true, "scripts": { @@ -65,10 +65,10 @@ } }, "dependencies": { - "@budibase/bbui": "^0.9.87-alpha.3", - "@budibase/client": "^0.9.87-alpha.3", + "@budibase/bbui": "^0.9.87-alpha.4", + "@budibase/client": "^0.9.87-alpha.4", "@budibase/colorpicker": "1.1.2", - "@budibase/string-templates": "^0.9.87-alpha.3", + "@budibase/string-templates": "^0.9.87-alpha.4", "@sentry/browser": "5.19.1", "@spectrum-css/page": "^3.0.1", "@spectrum-css/vars": "^3.0.1", diff --git a/packages/builder/src/components/design/AppPreview/componentStructure.json b/packages/builder/src/components/design/AppPreview/componentStructure.json index 81962cd849..c83686158f 100644 --- a/packages/builder/src/components/design/AppPreview/componentStructure.json +++ b/packages/builder/src/components/design/AppPreview/componentStructure.json @@ -49,6 +49,7 @@ "children": [ "heading", "text", + "divider", "image", "backgroundimage", "link", diff --git a/packages/cli/package.json b/packages/cli/package.json index 64b5541666..e7f7019fd4 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/cli", - "version": "0.9.87-alpha.3", + "version": "0.9.87-alpha.4", "description": "Budibase CLI, for developers, self hosting and migrations.", "main": "src/index.js", "bin": { diff --git a/packages/client/package.json b/packages/client/package.json index 148e48ec5b..1e1f94e933 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@budibase/client", - "version": "0.9.87-alpha.3", + "version": "0.9.87-alpha.4", "license": "MPL-2.0", "module": "dist/budibase-client.js", "main": "dist/budibase-client.js", @@ -18,9 +18,9 @@ "dev:builder": "rollup -cw" }, "dependencies": { - "@budibase/bbui": "^0.9.87-alpha.3", - "@budibase/standard-components": "^0.9.87-alpha.3", - "@budibase/string-templates": "^0.9.87-alpha.3", + "@budibase/bbui": "^0.9.87-alpha.4", + "@budibase/standard-components": "^0.9.87-alpha.4", + "@budibase/string-templates": "^0.9.87-alpha.4", "regexparam": "^1.3.0", "shortid": "^2.2.15", "svelte-spa-router": "^3.0.5" diff --git a/packages/server/package.json b/packages/server/package.json index 83fb3177a1..5ca4f5f0d9 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,7 +1,7 @@ { "name": "@budibase/server", "email": "hi@budibase.com", - "version": "0.9.87-alpha.3", + "version": "0.9.87-alpha.4", "description": "Budibase Web Server", "main": "src/index.js", "repository": { @@ -60,9 +60,9 @@ "author": "Budibase", "license": "AGPL-3.0-or-later", "dependencies": { - "@budibase/auth": "^0.9.87-alpha.3", - "@budibase/client": "^0.9.87-alpha.3", - "@budibase/string-templates": "^0.9.87-alpha.3", + "@budibase/auth": "^0.9.87-alpha.4", + "@budibase/client": "^0.9.87-alpha.4", + "@budibase/string-templates": "^0.9.87-alpha.4", "@elastic/elasticsearch": "7.10.0", "@koa/router": "8.0.0", "@sendgrid/mail": "7.1.1", @@ -115,7 +115,7 @@ "devDependencies": { "@babel/core": "^7.14.3", "@babel/preset-env": "^7.14.4", - "@budibase/standard-components": "^0.9.87-alpha.3", + "@budibase/standard-components": "^0.9.87-alpha.4", "@jest/test-sequencer": "^24.8.0", "@types/bull": "^3.15.1", "@types/jest": "^26.0.23", diff --git a/packages/standard-components/manifest.json b/packages/standard-components/manifest.json index c18d85d835..e9c1a6ae30 100644 --- a/packages/standard-components/manifest.json +++ b/packages/standard-components/manifest.json @@ -312,6 +312,39 @@ } ] }, + "divider": { + "name": "Divider", + "description": "A basic divider", + "icon": "Separator", + "illegalChildren": ["section"], + "settings": [ + { + "type": "select", + "label": "Size", + "key": "size", + "options": [ + { + "label": "Small", + "value": "S" + }, + { + "label": "Medium", + "value": "M" + }, + { + "label": "Large", + "value": "L" + } + ], + "defaultValue": "M" + }, + { + "type": "boolean", + "label": "Vertical", + "key": "vertical" + } + ] + }, "repeater": { "name": "Repeater", "description": "A configurable data list that attaches to your backend tables.", diff --git a/packages/standard-components/package.json b/packages/standard-components/package.json index c6a5c3c9fb..79d119f2d7 100644 --- a/packages/standard-components/package.json +++ b/packages/standard-components/package.json @@ -29,12 +29,13 @@ "keywords": [ "svelte" ], - "version": "0.9.87-alpha.3", + "version": "0.9.87-alpha.4", "license": "MIT", "gitHead": "d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc", "dependencies": { - "@budibase/bbui": "^0.9.87-alpha.3", + "@budibase/bbui": "^0.9.87-alpha.4", "@spectrum-css/card": "^3.0.3", + "@spectrum-css/divider": "^1.0.3", "@spectrum-css/link": "^3.1.3", "@spectrum-css/page": "^3.0.1", "@spectrum-css/typography": "^3.0.2", diff --git a/packages/standard-components/src/Divider.svelte b/packages/standard-components/src/Divider.svelte new file mode 100644 index 0000000000..97ec9b620c --- /dev/null +++ b/packages/standard-components/src/Divider.svelte @@ -0,0 +1,18 @@ + + +