remove references to material design components

This commit is contained in:
Michael Shanks 2020-08-14 11:21:52 +01:00
parent b5325b1066
commit 30aed16951
11 changed files with 10 additions and 64 deletions

View File

@ -478,44 +478,6 @@ export default {
}, },
], ],
}, },
{
_component: "@budibase/materialdesign-components/BasicCard",
name: "Card",
description:
"A basic card component that can contain content and actions.",
icon: "ri-layout-bottom-line",
children: [],
properties: {
design: { ...all },
settings: [
{
label: "Heading",
key: "heading",
control: Input,
placeholder: "text",
},
{
label: "Subheading",
key: "subheading",
control: Input,
placeholder: "text",
},
{
label: "Content",
key: "content",
control: Input,
placeholder: "text",
},
{
label: "Image",
key: "imageUrl",
control: Input,
placeholder: "src",
},
],
},
},
{ {
name: "Table", name: "Table",
_component: "@budibase/standard-components/datatable", _component: "@budibase/standard-components/datatable",
@ -564,11 +526,6 @@ export default {
}, },
], ],
}, },
template: {
component: "@budibase/materialdesign-components/Form",
description: "Form for saving a record",
name: "@budibase/materialdesign-components/recordForm",
},
}, },
{ {
_component: "@budibase/standard-components/dataformwide", _component: "@budibase/standard-components/dataformwide",

View File

@ -5,7 +5,6 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@budibase/standard-components": "0.x", "@budibase/standard-components": "0.x"
"@budibase/materialdesign-components": "0.x"
} }
} }

View File

@ -2,7 +2,7 @@
"title": "Test App", "title": "Test App",
"favicon": "./_shared/favicon.png", "favicon": "./_shared/favicon.png",
"stylesheets": [], "stylesheets": [],
"componentLibraries": ["@budibase/standard-components", "@budibase/materialdesign-components"], "componentLibraries": ["@budibase/standard-components"],
"props" : { "props" : {
"_component": "@budibase/standard-components/container", "_component": "@budibase/standard-components/container",
"_children": [], "_children": [],

View File

@ -2,7 +2,7 @@
"title": "Test App", "title": "Test App",
"favicon": "./_shared/favicon.png", "favicon": "./_shared/favicon.png",
"stylesheets": [], "stylesheets": [],
"componentLibraries": ["@budibase/standard-components", "@budibase/materialdesign-components"], "componentLibraries": ["@budibase/standard-components"],
"props" : { "props" : {
"_component": "@budibase/standard-components/container", "_component": "@budibase/standard-components/container",
"_children": [], "_children": [],

View File

@ -2,7 +2,7 @@
"title": "Test App", "title": "Test App",
"favicon": "./_shared/favicon.png", "favicon": "./_shared/favicon.png",
"stylesheets": [], "stylesheets": [],
"componentLibraries": ["@budibase/standard-components", "@budibase/materialdesign-components"], "componentLibraries": ["@budibase/standard-components" ],
"props" : { "props" : {
"_component": "@budibase/standard-components/container", "_component": "@budibase/standard-components/container",
"_children": [], "_children": [],

View File

@ -64,10 +64,7 @@ exports.create = async function(ctx) {
type: "app", type: "app",
instances: [], instances: [],
userInstanceMap: {}, userInstanceMap: {},
componentLibraries: [ componentLibraries: ["@budibase/standard-components"],
"@budibase/standard-components",
"@budibase/materialdesign-components",
],
name: ctx.request.body.name, name: ctx.request.body.name,
} }

View File

@ -5,7 +5,6 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@budibase/standard-components": "0.x", "@budibase/standard-components": "0.x"
"@budibase/materialdesign-components": "0.x"
} }
} }

View File

@ -2,7 +2,7 @@
"title": "{{ name }}", "title": "{{ name }}",
"favicon": "./_shared/favicon.png", "favicon": "./_shared/favicon.png",
"stylesheets": [], "stylesheets": [],
"componentLibraries": ["@budibase/standard-components", "@budibase/materialdesign-components"], "componentLibraries": ["@budibase/standard-components"],
"props": { "props": {
"_id": "private-master-root", "_id": "private-master-root",
"_component": "@budibase/standard-components/container", "_component": "@budibase/standard-components/container",

View File

@ -1,8 +1,5 @@
{ {
"componentLibraries": [ "componentLibraries": ["@budibase/standard-components"],
"@budibase/standard-components",
"@budibase/materialdesign-components"
],
"title": "{{ name }}", "title": "{{ name }}",
"favicon": "./_shared/favicon.png", "favicon": "./_shared/favicon.png",
"stylesheets": [], "stylesheets": [],

View File

@ -96,10 +96,7 @@ const buildFrontendAppDefinition = async (config, appId, pageName, pkg) => {
const clientUiDefinition = JSON.stringify({ const clientUiDefinition = JSON.stringify({
page: pkg.page, page: pkg.page,
screens: pkg.screens, screens: pkg.screens,
libraries: [ libraries: ["@budibase/standard-components"],
"@budibase/materialdesign-components",
"@budibase/standard-components",
],
}) })
await writeFile( await writeFile(

View File

@ -13,7 +13,7 @@ exports.appPackageFolder = (config, appname) =>
resolve(cwd(), config.latestPackagesFolder, appname) resolve(cwd(), config.latestPackagesFolder, appname)
exports.downloadExtractComponentLibraries = async appFolder => { exports.downloadExtractComponentLibraries = async appFolder => {
const LIBRARIES = ["materialdesign-components", "standard-components"] const LIBRARIES = ["standard-components"]
// Need to download tarballs directly from NPM as our users may not have node on their machine // Need to download tarballs directly from NPM as our users may not have node on their machine
for (let lib of LIBRARIES) { for (let lib of LIBRARIES) {