diff --git a/packages/materialdesign-components/.gitignore b/packages/materialdesign-components/.gitignore
deleted file mode 100644
index 3693c6588b..0000000000
--- a/packages/materialdesign-components/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.DS_Store
-node_modules
-yarn.lock
-package-lock.json
-dist/*
-public/build
\ No newline at end of file
diff --git a/packages/materialdesign-components/.npmignore b/packages/materialdesign-components/.npmignore
deleted file mode 100644
index 81c5644598..0000000000
--- a/packages/materialdesign-components/.npmignore
+++ /dev/null
@@ -1,3 +0,0 @@
-*
-!dist/*
-!components.json
\ No newline at end of file
diff --git a/packages/materialdesign-components/README.md b/packages/materialdesign-components/README.md
deleted file mode 100644
index 71e531fc9d..0000000000
--- a/packages/materialdesign-components/README.md
+++ /dev/null
@@ -1,33 +0,0 @@
-*Psst — looking for an app template? Go here --> [sveltejs/template](https://github.com/sveltejs/template)*
-
----
-
-# component-template
-
-A base for building shareable Svelte components. Clone it with [degit](https://github.com/Rich-Harris/degit):
-
-```bash
-npx degit sveltejs/component-template my-new-component
-cd my-new-component
-npm install # or yarn
-```
-
-Your component's source code lives in `src/index.html`.
-
-TODO
-
-* [ ] some firm opinions about the best way to test components
-* [ ] update `degit` so that it automates some of the setup work
-
-
-## Setting up
-
-* Run `npm init` (or `yarn init`)
-* Replace this README with your own
-
-
-## Consuming components
-
-Your package.json has a `"svelte"` field pointing to `src/index.html`, which allows Svelte apps to import the source code directly, if they are using a bundler plugin like [rollup-plugin-svelte](https://github.com/rollup/rollup-plugin-svelte) or [svelte-loader](https://github.com/sveltejs/svelte-loader) (where [`resolve.mainFields`](https://webpack.js.org/configuration/resolve/#resolve-mainfields) in your webpack config includes `"svelte"`). **This is recommended.**
-
-For everyone else, `npm run build` will bundle your component's source code into a plain JavaScript module (`index.mjs`) and a UMD script (`index.js`). This will happen automatically when you publish your component to npm, courtesy of the `prepublishOnly` hook in package.json.
diff --git a/packages/materialdesign-components/components.json b/packages/materialdesign-components/components.json
deleted file mode 100644
index f0750e6446..0000000000
--- a/packages/materialdesign-components/components.json
+++ /dev/null
@@ -1,458 +0,0 @@
-{
- "_lib": "./dist/index.js",
- "_templates": {
- "indexDatatable": {
- "description": "Datatable based on an Index",
- "component": "Datatable"
- },
- "recordForm": {
- "description": "Form for saving a record",
- "component": "Form"
- }
- },
- "Body1": {
- "name": "Body1",
- "description": "Sets the font properties as Roboto Body 1",
- "props": {
- "text": "string"
- },
- "tags": []
- },
- "Body2": {
- "name": "Body2",
- "description": "Sets the font properties as Roboto Body 2",
- "props": {
- "text": "string"
- },
- "tags": []
- },
- "Select": {
- "name": "Select",
- "description": "A material design select (aka Dropdown, aka Combobox)",
- "props": {
- "onSelect": "event",
- "value": "string",
- "width": "string",
- "variant": {
- "type": "options",
- "options": [
- "filled", "outlined"
- ]
- },
- "disabled": "bool",
- "required": "bool",
- "label": "string",
- "helperText": "string",
- "persistent": "bool"
- }
- },
- "List": {
- "name": "List",
- "description": "A Material Design List Component.",
- "props": {
- "onSelect": "event",
- "singleSelection": "bool",
- "variant": {
- "type": "options",
- "options": ["one-line", "two-line"],
- "default": "one-line"
- },
- "inputElement": {
- "type": "options",
- "options": ["None", "Radiobutton", "Checkbox"],
- "default": "None"
- }
- }
- },
- "ListItem": {
- "name": "ListItem",
- "description": "Use as item in a 'List' or 'Select' component",
- "props": {
- "value": "string",
- "text": "string",
- "secondaryText": "string",
- "leadingIcon": "string",
- "trailingIcon": "string",
- "disabled": "bool",
- "dividerAfter": "bool"
- }
- },
- "Button": {
- "name": "Button",
- "children": false,
- "description": "A Material Design button with different variations. It renders as an anchor if href is passed to it.",
- "props": {
- "onClick": "event",
- "variant": {
- "type": "options",
- "options": ["text", "raised", "unelevated", "outlined"],
- "default": "text"
- },
- "colour": {
- "type": "options",
- "options": ["primary", "secondary"],
- "default": "primary"
- },
- "size": {
- "type": "options",
- "options": ["small", "medium", "large"],
- "default": "medium"
- },
- "href": "string",
- "icon": "string",
- "trailingIcon": "bool",
- "fullwidth": "bool",
- "text": "string",
- "disabled": "bool"
- },
- "tags": []
- },
- "Caption": {
- "name": "Caption",
- "description": "Sets the font properties as Roboto Caption",
- "props": {
- "text": "string"
- },
- "tags": []
- },
- "BasicCard": {
- "name": "BasicCard",
- "description": "This is a basic card",
- "props": {
- "heading": "string",
- "subheading": "string",
- "content": "string",
- "imageUrl": "string",
- "button1Text": "string",
- "button2Text": "string",
- "cardClick": "event",
- "button1Click": "event",
- "button2Click": "event"
- }
- },
- "Card": {
- "name": "Card",
- "description": "A Material Card container. Accepts CardHeader, CardBody and CardFooter as possible children",
- "props": {
- "width": {"type": "string", "default": "350px"},
- "height": "string",
- "variant": {
- "type": "options",
- "options": ["standard", "outlined"],
- "default": "outlined"
- }
- }
- },
- "CardBody": {
- "name": "CardBody",
- "description": "A Material CardBody component. Contains the main content of a Material Card component",
- "props": {
- "onClick": "event"
- }
- },
- "CardImage": {
- "name": "CardImage",
- "description": "An image component for the Material Card component",
- "props": {
- "displayHorizontal": "bool",
- "url": "string",
- "title": "string",
- "subtitle": "string"
- }
- },
- "CardHeader": {
- "name": "CardHeader",
- "description": "Displays a icon, title and subtitle above main body of the Material Card component",
- "props": {
- "title": "string",
- "subtitle": "string",
- "icon": "string"
- }
- },
- "CardFooter": {
- "name": "CardFooter",
- "description": "Displays buttons / icon buttons as actions for the Material Card component",
- "props": {
- "padding": "string"
- }
- },
- "Checkbox": {
- "name": "Checkbox",
- "description": "A Material Design checkbox. Supports aligning label before or after checkbox.",
- "props": {
- "onClick": "event",
- "id": "string",
- "label": "string",
- "disabled": "bool",
- "alignEnd": "bool",
- "indeterminate": "bool",
- "checked": "bool"
- },
- "tags": []
- },
- "Checkboxgroup": {
- "name": "Checkboxgroup",
- "description": "A group of material design checkboxes. Supports row and column orientation.",
- "props": {
- "onChange": "event",
- "label":"string",
- "orientation": {
- "type": "options",
- "options": ["row", "column"],
- "default": "row"
- },
- "disabled": "bool",
- "alignEnd": "bool"
- }
- },
- "Datatable": {
- "name": "Datatable",
- "description": "A Material Design component to represent tabular data.",
- "props": {
- "onLoad":"event"
- },
- "tags": []
- },
- "DatatableHead": {
- "name": "DatatableHead",
- "description": "Material Design .",
- "props": {}
- },
- "DatatableCell": {
- "name": "DatatableCell",
- "description": "Material Design .",
- "props": {}
- },
- "DatatableBody": {
- "name": "DatatableBody",
- "description": "Material Design |
-
-
(open = false)} />
-
diff --git a/packages/materialdesign-components/src/Dialog/DialogActions.svelte b/packages/materialdesign-components/src/Dialog/DialogActions.svelte
deleted file mode 100644
index 1bb23cee44..0000000000
--- a/packages/materialdesign-components/src/Dialog/DialogActions.svelte
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
diff --git a/packages/materialdesign-components/src/Dialog/DialogContent.svelte b/packages/materialdesign-components/src/Dialog/DialogContent.svelte
deleted file mode 100644
index f3155ffced..0000000000
--- a/packages/materialdesign-components/src/Dialog/DialogContent.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/packages/materialdesign-components/src/Dialog/DialogHeader.svelte b/packages/materialdesign-components/src/Dialog/DialogHeader.svelte
deleted file mode 100644
index d2fda14280..0000000000
--- a/packages/materialdesign-components/src/Dialog/DialogHeader.svelte
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
{title}
diff --git a/packages/materialdesign-components/src/Dialog/_style.scss b/packages/materialdesign-components/src/Dialog/_style.scss
deleted file mode 100644
index fb123801ff..0000000000
--- a/packages/materialdesign-components/src/Dialog/_style.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "@material/dialog/mdc-dialog.scss"
\ No newline at end of file
diff --git a/packages/materialdesign-components/src/Dialog/index.js b/packages/materialdesign-components/src/Dialog/index.js
deleted file mode 100644
index 78d232f37a..0000000000
--- a/packages/materialdesign-components/src/Dialog/index.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import "./_style.scss"
-export { default as Dialog } from "./Dialog.svelte"
-export { default as DialogActions } from "./DialogActions.svelte"
-export { default as DialogContent } from "./DialogContent.svelte"
-export { default as DialogHeader } from "./DialogHeader.svelte"
diff --git a/packages/materialdesign-components/src/IconButton/IconButton.svelte b/packages/materialdesign-components/src/IconButton/IconButton.svelte
deleted file mode 100644
index b812289863..0000000000
--- a/packages/materialdesign-components/src/IconButton/IconButton.svelte
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-{#if useLinkButton}
-
- {#if isToggleButton}
-
- {onIcon}
-
- {icon}
- {:else}{icon}{/if}
-
-{:else}
-
-{/if}
diff --git a/packages/materialdesign-components/src/IconButton/_style.scss b/packages/materialdesign-components/src/IconButton/_style.scss
deleted file mode 100644
index 412ea0ad6a..0000000000
--- a/packages/materialdesign-components/src/IconButton/_style.scss
+++ /dev/null
@@ -1,18 +0,0 @@
-@import "@material/icon-button/mdc-icon-button";
-
-.mdc-icon-button {
-
- &.bbmd-mdc-icon-button--size-large {
- @include mdc-icon-button-icon-size(24px);
- }
-
- &.bbmd-mdc-icon-button--size-medium {
- @include mdc-icon-button-icon-size(20px);
- }
-
- &.bbmd-mdc-icon-button--size-small {
- @include mdc-icon-button-icon-size(16px);
- }
-}
-
-
diff --git a/packages/materialdesign-components/src/IconButton/index.js b/packages/materialdesign-components/src/IconButton/index.js
deleted file mode 100644
index bf4df44787..0000000000
--- a/packages/materialdesign-components/src/IconButton/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-import "./_style.scss"
-export { default as IconButton } from "./IconButton.svelte"
diff --git a/packages/materialdesign-components/src/List/List.svelte b/packages/materialdesign-components/src/List/List.svelte
deleted file mode 100644
index 88fc4e2c0f..0000000000
--- a/packages/materialdesign-components/src/List/List.svelte
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
diff --git a/packages/materialdesign-components/src/List/ListItem.svelte b/packages/materialdesign-components/src/List/ListItem.svelte
deleted file mode 100644
index 11620dd8f7..0000000000
--- a/packages/materialdesign-components/src/List/ListItem.svelte
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
- {#if leadingIcon}
-
- {leadingIcon}
-
- {/if}
-
- {#if useTwoLine}
- {text}
- {secondaryText}
- {:else}{text}{/if}
-
-
- {#if hasInputElement}
- {#if listProps.inputElement === 'Radiobutton'}
-
- {:else if listProps.inputElement === 'Checkbox'}
-
- {/if}
- {:else if !!trailingIcon}
-
- {/if}
-
-{#if dividerAfter}
-
-{/if}
diff --git a/packages/materialdesign-components/src/List/_style.scss b/packages/materialdesign-components/src/List/_style.scss
deleted file mode 100644
index 7ebce7254c..0000000000
--- a/packages/materialdesign-components/src/List/_style.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "@material/list/mdc-list.scss";
diff --git a/packages/materialdesign-components/src/List/index.js b/packages/materialdesign-components/src/List/index.js
deleted file mode 100644
index c7570e4be0..0000000000
--- a/packages/materialdesign-components/src/List/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import "./_style.scss"
-export { default as List } from "./List.svelte"
-export { default as ListItem } from "./ListItem.svelte"
diff --git a/packages/materialdesign-components/src/Menu/Menu.svelte b/packages/materialdesign-components/src/Menu/Menu.svelte
deleted file mode 100644
index ba63b32ebf..0000000000
--- a/packages/materialdesign-components/src/Menu/Menu.svelte
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-{#if useFixedPosition || useAbsolutePosition}
-
-{:else}
-
-{/if}
diff --git a/packages/materialdesign-components/src/Menu/_styles.scss b/packages/materialdesign-components/src/Menu/_styles.scss
deleted file mode 100644
index 596b6a96da..0000000000
--- a/packages/materialdesign-components/src/Menu/_styles.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "@material/list/mdc-list.scss";
-@import "@material/menu-surface/mdc-menu-surface.scss";
-@import "@material/menu/mdc-menu.scss";
diff --git a/packages/materialdesign-components/src/Menu/index.js b/packages/materialdesign-components/src/Menu/index.js
deleted file mode 100644
index 88c83c8f8d..0000000000
--- a/packages/materialdesign-components/src/Menu/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-import "./_styles.scss"
-export { default as Menu } from "./Menu.svelte"
diff --git a/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte b/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte
deleted file mode 100644
index 917f5bff1c..0000000000
--- a/packages/materialdesign-components/src/Radiobutton/Radiobutton.svelte
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-{#if context !== 'list-item'}
-
-
-
-{:else}
-
-{/if}
diff --git a/packages/materialdesign-components/src/Radiobutton/RadiobuttonGroup.svelte b/packages/materialdesign-components/src/Radiobutton/RadiobuttonGroup.svelte
deleted file mode 100644
index 631a63fe20..0000000000
--- a/packages/materialdesign-components/src/Radiobutton/RadiobuttonGroup.svelte
+++ /dev/null
@@ -1,83 +0,0 @@
-
-
-
-
-
diff --git a/packages/materialdesign-components/src/Radiobutton/_style.scss b/packages/materialdesign-components/src/Radiobutton/_style.scss
deleted file mode 100644
index 453acf7352..0000000000
--- a/packages/materialdesign-components/src/Radiobutton/_style.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "@material/form-field/mdc-form-field";
-@import "@material/radio/mdc-radio.scss";
diff --git a/packages/materialdesign-components/src/Radiobutton/index.js b/packages/materialdesign-components/src/Radiobutton/index.js
deleted file mode 100644
index 3832c412df..0000000000
--- a/packages/materialdesign-components/src/Radiobutton/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import "./_style.scss"
-export { default as Radiobutton } from "./Radiobutton.svelte"
-export { default as Radiobuttongroup } from "./RadiobuttonGroup.svelte"
diff --git a/packages/materialdesign-components/src/Select/HelperText.svelte b/packages/materialdesign-components/src/Select/HelperText.svelte
deleted file mode 100644
index b935aa4c57..0000000000
--- a/packages/materialdesign-components/src/Select/HelperText.svelte
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
{text}
diff --git a/packages/materialdesign-components/src/Select/Select.svelte b/packages/materialdesign-components/src/Select/Select.svelte
deleted file mode 100644
index b2c710abb4..0000000000
--- a/packages/materialdesign-components/src/Select/Select.svelte
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
- {#if useNotchedOutline}
-
-
-
- {:else}
-
-
- {/if}
-
-
-
-
-
-
diff --git a/packages/materialdesign-components/src/Select/_style.scss b/packages/materialdesign-components/src/Select/_style.scss
deleted file mode 100644
index e58101303e..0000000000
--- a/packages/materialdesign-components/src/Select/_style.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-@use "@material/list/mdc-list";
-@use "@material/menu-surface/mdc-menu-surface";
-@use "@material/menu/mdc-menu";
-@use "@material/select/mdc-select";
\ No newline at end of file
diff --git a/packages/materialdesign-components/src/Select/index.js b/packages/materialdesign-components/src/Select/index.js
deleted file mode 100644
index 663072cb96..0000000000
--- a/packages/materialdesign-components/src/Select/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import "./_style.scss"
-export { default as HelperText } from "./HelperText.svelte"
-export { default as Select } from "./Select.svelte"
diff --git a/packages/materialdesign-components/src/Slider/Slider.svelte b/packages/materialdesign-components/src/Slider/Slider.svelte
deleted file mode 100644
index d98ed72384..0000000000
--- a/packages/materialdesign-components/src/Slider/Slider.svelte
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
handleChange(e.detail.value)}
- on:MDCSlider:change={e => handleChange(e.detail.value)}>
-
-
- {#if displayMarkers}
-
- {/if}
-
-
-
diff --git a/packages/materialdesign-components/src/Slider/_style.scss b/packages/materialdesign-components/src/Slider/_style.scss
deleted file mode 100644
index 0be8b2ea70..0000000000
--- a/packages/materialdesign-components/src/Slider/_style.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "@material/slider/mdc-slider.scss"
\ No newline at end of file
diff --git a/packages/materialdesign-components/src/Slider/index.js b/packages/materialdesign-components/src/Slider/index.js
deleted file mode 100644
index 50aaf8a327..0000000000
--- a/packages/materialdesign-components/src/Slider/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-import "./_style.scss"
-export { default as Slider } from "./Slider.svelte"
diff --git a/packages/materialdesign-components/src/Switch/Switch.svelte b/packages/materialdesign-components/src/Switch/Switch.svelte
deleted file mode 100644
index 34d6c14a0b..0000000000
--- a/packages/materialdesign-components/src/Switch/Switch.svelte
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
diff --git a/packages/materialdesign-components/src/Switch/_style.scss b/packages/materialdesign-components/src/Switch/_style.scss
deleted file mode 100644
index a600664513..0000000000
--- a/packages/materialdesign-components/src/Switch/_style.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "@material/switch/mdc-switch.scss";
\ No newline at end of file
diff --git a/packages/materialdesign-components/src/Switch/index.js b/packages/materialdesign-components/src/Switch/index.js
deleted file mode 100644
index 83557285be..0000000000
--- a/packages/materialdesign-components/src/Switch/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-import "./_style.scss"
-export { default as Switch } from "./Switch.svelte"
diff --git a/packages/materialdesign-components/src/Test/TestApp.svelte b/packages/materialdesign-components/src/Test/TestApp.svelte
deleted file mode 100644
index 9081da28e0..0000000000
--- a/packages/materialdesign-components/src/Test/TestApp.svelte
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-{#await _appPromise}
- loading
-{:then _bb}
-
-{/await}
-
-
diff --git a/packages/materialdesign-components/src/Test/createApp.js b/packages/materialdesign-components/src/Test/createApp.js
deleted file mode 100644
index 0bd3098688..0000000000
--- a/packages/materialdesign-components/src/Test/createApp.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import { createApp } from "@budibase/client/src/createApp"
-import components from "./testComponents"
-import packageJson from "../../package.json"
-import { rootComponent } from "./rootComponent"
-import * as standardcomponents from "@budibase/standard-components/src/index"
-
-export default async () => {
- delete components._lib
- const componentLibraries = {}
- componentLibraries[packageJson.name] = components
- componentLibraries["testcomponents"] = {
- rootComponent: rootComponent(window),
- }
- componentLibraries["@budibase/standard-components"] = standardcomponents
- const appDef = { hierarchy: {}, actions: {} }
- const user = { name: "yeo", permissions: [] }
- const { initialisePage } = createApp(componentLibraries, {}, appDef, user, {})
- return initialisePage
-}
diff --git a/packages/materialdesign-components/src/Test/props.js b/packages/materialdesign-components/src/Test/props.js
deleted file mode 100644
index 14eacb6d83..0000000000
--- a/packages/materialdesign-components/src/Test/props.js
+++ /dev/null
@@ -1,320 +0,0 @@
-import indexDatatable from "../Templates/indexDatatable"
-
-const templateOptions = {
- indexes: [
- {
- name: "customers",
- nodeKey: () => "/customers",
- },
- ],
- helpers: {
- indexSchema: index => {
- const field = name => ({ name })
- if (index.name === "customers")
- return [
- field("id"),
- field("surname"),
- field("forname"),
- field("address"),
- ]
- },
- },
-}
-
-export const props = {
- H1: {
- _component: "@budibase/materialdesign-components/H1",
- _children: [],
- text: "Im a big header",
- },
- Overline: {
- _component: "@budibase/materialdesign-components/Overline",
- _children: [],
- text: "Im a wee overline",
- },
- Button: {
- _component: "@budibase/materialdesign-components/Button",
- _children: [],
- variant: "text",
- colour: "secondary",
- size: "large",
- href: "",
- icon: "alarm_on",
- trailingIcon: true,
- fullwidth: false,
- text: "I am button",
- disabled: false,
- onClick: [
- {
- "##eventHandlerType": "Set State",
- parameters: {
- path: "surname",
- value: "hi",
- },
- },
- ],
- },
- Icon: {
- _component: "@budibase/materialdesign-components/Icon",
- _children: [],
- icon: "",
- },
- Textfield: {
- _component: "@budibase/materialdesign-components/Textfield",
- _children: [],
- label: "First",
- colour: "secondary",
- icon: "alarm_on",
- trailingIcon: true,
- maxLength: 500,
- helperText: "Add Surname",
- value: "store.surname",
- },
- BodyBoundToStore: {
- _component: "@budibase/materialdesign-components/Body1",
- text: "store.surname",
- },
- Checkbox: {
- _component: "@budibase/materialdesign-components/Checkbox",
- _children: [],
- id: "test-check",
- alignEnd: true,
- label: "Check Yo Self",
- onChange: item => console.log(item),
- },
- Checkboxgroup: {
- _component: "@budibase/materialdesign-components/Checkboxgroup",
- label: "Whats your favourite?",
- alignEnd: true,
- onChange: selectedItems => console.log(selectedItems),
- _children: [
- {
- _component: "@budibase/materialdesign-components/Checkbox",
- _children: [],
- label: "Currys",
- indeterminate: true,
- },
- {
- _component: "@budibase/materialdesign-components/Checkbox",
- _children: [],
- label: "Chips",
- },
- {
- _component: "@budibase/materialdesign-components/Checkbox",
- _children: [],
- label: "Pasties",
- },
- ],
- },
- Radiobutton: {
- _component: "@budibase/materialdesign-components/Radiobutton",
- _children: [],
- label: "Hi radio",
- alignEnd: true,
- onClick: item => console.log(item),
- },
- Radiobuttongroup: {
- _component: "@budibase/materialdesign-components/Radiobuttongroup",
- label: "Preferred method of contact: ",
- orientation: "column",
- alignEnd: true,
- onChange: selected => console.log("Radiobutton Group", selected),
- _children: [
- {
- _component: "@budibase/materialdesign-components/Radiobutton",
- _children: [],
- label: "Email",
- value: 1,
- },
- {
- _component: "@budibase/materialdesign-components/Radiobutton",
- _children: [],
- label: "Phone",
- value: 2,
- },
- {
- _component: "@budibase/materialdesign-components/Radiobutton",
- _children: [],
- label: "Social Media",
- value: 3,
- },
- ],
- },
- Datatable: {
- _component: "@budibase/materialdesign-components/Datatable",
- _children: [],
- },
-
- CustomersIndexTable: indexDatatable(templateOptions)[0].props,
- List: {
- _component: "@budibase/materialdesign-components/List",
- variant: "two-line",
- singleSelection: false,
- onSelect: selected => console.log("LIST SELECT", selected),
- _children: [
- {
- _component: "@budibase/materialdesign-components/ListItem",
- _children: [],
- text: "Curry",
- secondaryText: "Chicken or Beef",
- value: 0,
- divider: true,
- },
- {
- _component: "@budibase/materialdesign-components/ListItem",
- _children: [],
- text: "Pastie",
- secondaryText: "Bap with Mayo",
- value: 1,
- disabled: true,
- },
- {
- _component: "@budibase/materialdesign-components/ListItem",
- _children: [],
- text: "Fish",
- secondaryText: "Salmon or Cod",
- value: 2,
- },
- ],
- },
- Select: {
- _component: "@budibase/materialdesign-components/Select",
- label: "Choose a Milkshake",
- helperText: "Choose a flavour",
- persistent: true,
- value: "1",
- onSelect: selectedItem => console.log("SELECT ITEM", selectedItem),
- _children: [
- {
- _component: "@budibase/materialdesign-components/ListItem",
- _children: [],
- text: "Orange",
- value: "0",
- },
- {
- _component: "@budibase/materialdesign-components/ListItem",
- _children: [],
- text: "Apple",
- value: "1",
- },
- {
- _component: "@budibase/materialdesign-components/ListItem",
- _children: [],
- text: "Berry",
- value: "2",
- },
- ],
- },
- DatePicker: {
- _component: "@budibase/materialdesign-components/DatePicker",
- _children: [],
- label: "Date of Admission",
- onSelect: date => console.log("SELECTED DATE", date),
- },
- IconButton: {
- _component: "@budibase/materialdesign-components/IconButton",
- _children: [],
- icon: "calendar_today",
- },
- Card: {
- _id: "card",
- width: "400",
- _component: "@budibase/materialdesign-components/Card",
- _children: [
- {
- _id: "cardbody",
- _component: "@budibase/materialdesign-components/CardBody",
- onClick: () => alert`Hi`,
- _children: [
- {
- _id: "cardimage1",
- _component: "@budibase/materialdesign-components/CardImage",
- _children: [],
- displayHorizontal: true,
- url: "https://picsum.photos/350",
- title: "Our New World",
- subtitle: "Out now in cinemas",
- },
- ],
- },
- {
- _component: "@budibase/materialdesign-components/CardFooter",
- _children: [
- {
- _component: "@budibase/materialdesign-components/Button",
- text: "Save",
- },
- {
- _component: "@budibase/materialdesign-components/Button",
- text: "Cancel",
- },
- {
- _component: "@budibase/materialdesign-components/IconButton",
- icon: "3d_rotation",
- },
- {
- _component: "@budibase/materialdesign-components/IconButton",
- icon: "accessibility",
- },
- {
- _component: "@budibase/materialdesign-components/IconButton",
- icon: "alarm_on",
- },
- ],
- },
- ],
- },
- Dialog: {
- _component: "@budibase/materialdesign-components/Dialog",
- _children: [
- {
- _component: "@budibase/materialdesign-components/DialogHeader",
- title: "Important Message",
- _children: [],
- },
- {
- _component: "@budibase/materialdesign-components/DialogContent",
- _children: [
- {
- _component: "@budibase/materialdesign-components/H3",
- text: "An announcement from your service provider",
- _children: [],
- },
- {
- _component: "@budibase/materialdesign-components/Body2",
- text:
- "All non-essential services will be shut down as of tomorrow. Please acknowledge that you have seen this message by confirming below.",
- _children: [],
- },
- ],
- },
- {
- _component: "@budibase/materialdesign-components/DialogActions",
- _children: [
- {
- _component: "@budibase/materialdesign-components/Button",
- text: "Confirm",
- variant: "unelevated",
- _children: [],
- },
- {
- _component: "@budibase/materialdesign-components/Button",
- text: "Cancel",
- _children: [],
- },
- ],
- },
- ],
- },
- Switch: {
- _component: "@budibase/materialdesign-components/Switch",
- label: "On / Off",
- checked: true,
- onChange: () => console.log("Switch Changed"),
- _children: [],
- },
- Slider: {
- _component: "@budibase/materialdesign-components/Slider",
- _children: [],
- },
-}
diff --git a/packages/materialdesign-components/src/Test/rootComponent.js b/packages/materialdesign-components/src/Test/rootComponent.js
deleted file mode 100644
index 4231f17503..0000000000
--- a/packages/materialdesign-components/src/Test/rootComponent.js
+++ /dev/null
@@ -1,15 +0,0 @@
-export const rootComponent = window => {
- return function(opts) {
- const node = window.document.createElement("DIV")
- const $set = props => {
- props._bb.attachChildren(node)
- }
- const $destroy = () => {
- if (opts.target && node) opts.target.removeChild(node)
- }
- this.$set = $set
- this.$set(opts.props)
- this.$destroy = $destroy
- opts.target.appendChild(node)
- }
-}
diff --git a/packages/materialdesign-components/src/Test/testComponents.js b/packages/materialdesign-components/src/Test/testComponents.js
deleted file mode 100644
index 3b0a914e71..0000000000
--- a/packages/materialdesign-components/src/Test/testComponents.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import * as components from "@BBMD"
-
-export default components
diff --git a/packages/materialdesign-components/src/Test/testMain.js b/packages/materialdesign-components/src/Test/testMain.js
deleted file mode 100644
index d31b18d42e..0000000000
--- a/packages/materialdesign-components/src/Test/testMain.js
+++ /dev/null
@@ -1,7 +0,0 @@
-import App from "./TestApp.svelte"
-
-const app = new App({
- target: document.body,
-})
-
-export default app
diff --git a/packages/materialdesign-components/src/Textfield/CharacterCounter.svelte b/packages/materialdesign-components/src/Textfield/CharacterCounter.svelte
deleted file mode 100644
index e62573a3ac..0000000000
--- a/packages/materialdesign-components/src/Textfield/CharacterCounter.svelte
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/packages/materialdesign-components/src/Textfield/HelperText.svelte b/packages/materialdesign-components/src/Textfield/HelperText.svelte
deleted file mode 100644
index 038fbea1a5..0000000000
--- a/packages/materialdesign-components/src/Textfield/HelperText.svelte
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
{!!errorText ? errorText : helperText}
- {#if useCharCounter}
-
- {/if}
-
diff --git a/packages/materialdesign-components/src/Textfield/Textfield.svelte b/packages/materialdesign-components/src/Textfield/Textfield.svelte
deleted file mode 100644
index b7f126c558..0000000000
--- a/packages/materialdesign-components/src/Textfield/Textfield.svelte
+++ /dev/null
@@ -1,195 +0,0 @@
-
-
-
-
-
-
- {#if textarea}
- {#if maxLength}
-
- {/if}
-
- {:else}
- {#if renderLeadingIcon}
- {#if useIconButton}
-
- {:else}
-
- {/if}
- {/if}
-
- {#if renderTrailingIcon}
- {#if useIconButton}
-
- {:else}
-
- {/if}
- {/if}
- {#if variant !== 'outlined'}
-
- {/if}
- {/if}
- {#if useNotchedOutline}
-
- {#if useLabel}
-
- {/if}
-
- {:else if useLabel}
-
- {/if}
-
-
-
-
-
diff --git a/packages/materialdesign-components/src/Textfield/_index.scss b/packages/materialdesign-components/src/Textfield/_index.scss
deleted file mode 100644
index a4986aaac7..0000000000
--- a/packages/materialdesign-components/src/Textfield/_index.scss
+++ /dev/null
@@ -1,5 +0,0 @@
-@import "@material/textfield/mdc-text-field.scss";
-@import "@material/line-ripple/mdc-line-ripple.scss";
-@import "./mixins.scss";
-
-@include bbmd-textfield-styles();
diff --git a/packages/materialdesign-components/src/Textfield/_mixins.scss b/packages/materialdesign-components/src/Textfield/_mixins.scss
deleted file mode 100644
index e589d9d2c9..0000000000
--- a/packages/materialdesign-components/src/Textfield/_mixins.scss
+++ /dev/null
@@ -1,46 +0,0 @@
-@import "@material/feature-targeting/_functions.scss";
-@import "@material/feature-targeting/_mixins.scss";
-
-@mixin bbmd-textfield-styles($query: mdc-feature-all()) {
- $feat-structure: mdc-feature-create-target($query, structure);
-
- .mdc-text-field {
- &.bbmd-mdc-text-field--size-small {
- @include mdc-text-field-height(48px);
- }
-
- &.bbmd-mdc-text-field--size-large {
- @include mdc-text-field-height(64px);
- }
-
- &.bbmd-mdc-text-field--colour-secondary {
- &.mdc-text-field--focused {
- .mdc-floating-label--float-above {
- @include mdc-floating-label-ink-color(secondary)
-
- }
- }
- .mdc-line-ripple--active {
- @include mdc-line-ripple-color(secondary);
- }
-
- &.mdc-text-field--outlined,
- &.mdc-text-field--textarea {
- @include mdc-text-field-focused-outline-color(secondary);
- }
- }
-
- &.bbmd-mdc-text-field--variant-standard {
- @include mdc-text-field-fill-color(transparent);
- &:before {
- background-color: transparent;
- }
- }
- + .mdc-text-field-helper-line {
- @include mdc-feature-targets($feat-structure) {
- padding-right: 0px;
- padding-left: 0px;
- }
- }
- }
-}
diff --git a/packages/materialdesign-components/src/Textfield/index.js b/packages/materialdesign-components/src/Textfield/index.js
deleted file mode 100644
index 825bfe3cbd..0000000000
--- a/packages/materialdesign-components/src/Textfield/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-import "./_index.scss"
-export { default as Textfield } from "./Textfield.svelte"
diff --git a/packages/materialdesign-components/src/Typography/Body1.svelte b/packages/materialdesign-components/src/Typography/Body1.svelte
deleted file mode 100644
index f502de6a1e..0000000000
--- a/packages/materialdesign-components/src/Typography/Body1.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/Body2.svelte b/packages/materialdesign-components/src/Typography/Body2.svelte
deleted file mode 100644
index eddd94c3f7..0000000000
--- a/packages/materialdesign-components/src/Typography/Body2.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/Caption.svelte b/packages/materialdesign-components/src/Typography/Caption.svelte
deleted file mode 100644
index 33406afb1e..0000000000
--- a/packages/materialdesign-components/src/Typography/Caption.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/H1.svelte b/packages/materialdesign-components/src/Typography/H1.svelte
deleted file mode 100644
index 92492a971e..0000000000
--- a/packages/materialdesign-components/src/Typography/H1.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/H2.svelte b/packages/materialdesign-components/src/Typography/H2.svelte
deleted file mode 100644
index 9576570a5c..0000000000
--- a/packages/materialdesign-components/src/Typography/H2.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/H3.svelte b/packages/materialdesign-components/src/Typography/H3.svelte
deleted file mode 100644
index d5f0c2b4eb..0000000000
--- a/packages/materialdesign-components/src/Typography/H3.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/H4.svelte b/packages/materialdesign-components/src/Typography/H4.svelte
deleted file mode 100644
index 0a0e490a3e..0000000000
--- a/packages/materialdesign-components/src/Typography/H4.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/H5.svelte b/packages/materialdesign-components/src/Typography/H5.svelte
deleted file mode 100644
index d45e4e15ab..0000000000
--- a/packages/materialdesign-components/src/Typography/H5.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/H6.svelte b/packages/materialdesign-components/src/Typography/H6.svelte
deleted file mode 100644
index 8a9d36c9e2..0000000000
--- a/packages/materialdesign-components/src/Typography/H6.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/Overline.svelte b/packages/materialdesign-components/src/Typography/Overline.svelte
deleted file mode 100644
index df33194a29..0000000000
--- a/packages/materialdesign-components/src/Typography/Overline.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/Sub1.svelte b/packages/materialdesign-components/src/Typography/Sub1.svelte
deleted file mode 100644
index a887f7372c..0000000000
--- a/packages/materialdesign-components/src/Typography/Sub1.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/Sub2.svelte b/packages/materialdesign-components/src/Typography/Sub2.svelte
deleted file mode 100644
index c8860a5869..0000000000
--- a/packages/materialdesign-components/src/Typography/Sub2.svelte
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- {text}
-
diff --git a/packages/materialdesign-components/src/Typography/_style.scss b/packages/materialdesign-components/src/Typography/_style.scss
deleted file mode 100644
index 1f490f1999..0000000000
--- a/packages/materialdesign-components/src/Typography/_style.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "@material/typography/mdc-typography.scss";
diff --git a/packages/materialdesign-components/src/Typography/index.js b/packages/materialdesign-components/src/Typography/index.js
deleted file mode 100644
index 7dc49559e3..0000000000
--- a/packages/materialdesign-components/src/Typography/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import "./_style.scss"
-export { default as Body1 } from "./Body1.svelte"
-export { default as Body2 } from "./Body2.svelte"
-export { default as Caption } from "./Caption.svelte"
-export { default as H1 } from "./H1.svelte"
-export { default as H2 } from "./H2.svelte"
-export { default as H3 } from "./H3.svelte"
-export { default as H4 } from "./H4.svelte"
-export { default as H5 } from "./H5.svelte"
-export { default as H6 } from "./H6.svelte"
-export { default as Overline } from "./Overline.svelte"
-export { default as Sub1 } from "./Sub1.svelte"
-export { default as Sub2 } from "./Sub2.svelte"
diff --git a/packages/materialdesign-components/src/_material-fonts.scss b/packages/materialdesign-components/src/_material-fonts.scss
deleted file mode 100644
index 8c5aae2ef0..0000000000
--- a/packages/materialdesign-components/src/_material-fonts.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-@import "https://fonts.googleapis.com/css?family=Roboto:300,400,500";
-@import "https://fonts.googleapis.com/icon?family=Material+Icons";
\ No newline at end of file
diff --git a/packages/materialdesign-components/src/buildStyle.js b/packages/materialdesign-components/src/buildStyle.js
deleted file mode 100644
index 53c77e062e..0000000000
--- a/packages/materialdesign-components/src/buildStyle.js
+++ /dev/null
@@ -1,9 +0,0 @@
-export const buildStyle = styles => {
- let str = ""
- for (let s in styles) {
- if (styles[s]) {
- str += `${s}: ${styles[s]}; `
- }
- }
- return str
-}
diff --git a/packages/materialdesign-components/src/index.js b/packages/materialdesign-components/src/index.js
deleted file mode 100644
index a259af171f..0000000000
--- a/packages/materialdesign-components/src/index.js
+++ /dev/null
@@ -1,33 +0,0 @@
-import "@material/theme/mdc-theme.scss"
-import "./_material-fonts.scss"
-
-export { Button } from "./Button"
-export { default as Icon } from "./Common/Icon.svelte"
-export { Textfield } from "./Textfield"
-export * from "./Typography"
-export { Checkbox, Checkboxgroup } from "./Checkbox"
-export { Radiobutton, Radiobuttongroup } from "./Radiobutton"
-export { default as Label } from "./Common/Label.svelte"
-export {
- Datatable,
- DatatableHead,
- DatatableBody,
- DatatableCell,
- DatatableRow,
-} from "./Datatable"
-export { List, ListItem } from "./List"
-export { Menu } from "./Menu"
-export { Select } from "./Select"
-export { DatePicker } from "./DatePicker"
-export { IconButton } from "./IconButton"
-export {
- Card,
- CardHeader,
- CardImage,
- CardBody,
- CardFooter,
- BasicCard,
-} from "./Card"
-export { Dialog, DialogHeader, DialogContent, DialogActions } from "./Dialog"
-export { Switch } from "./Switch"
-export { Slider } from "./Slider"