remove references to material design components

This commit is contained in:
Michael Shanks 2020-08-14 11:21:52 +01:00
parent 249e44e273
commit 3a5d2f8713
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",
_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",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -13,7 +13,7 @@ exports.appPackageFolder = (config, appname) =>
resolve(cwd(), config.latestPackagesFolder, appname)
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
for (let lib of LIBRARIES) {