Formatting and Linting
This commit is contained in:
parent
b0e31a09b4
commit
25b71c4e86
|
@ -16,15 +16,12 @@
|
||||||
const joinPath = join("/")
|
const joinPath = join("/")
|
||||||
|
|
||||||
const normalizedName = name =>
|
const normalizedName = name =>
|
||||||
pipe(
|
pipe(name, [
|
||||||
name,
|
trimCharsStart("./"),
|
||||||
[
|
trimCharsStart("~/"),
|
||||||
trimCharsStart("./"),
|
trimCharsStart("../"),
|
||||||
trimCharsStart("~/"),
|
trimChars(" "),
|
||||||
trimCharsStart("../"),
|
])
|
||||||
trimChars(" "),
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
const changeScreen = screen => {
|
const changeScreen = screen => {
|
||||||
store.setCurrentScreen(screen.props._instanceName)
|
store.setCurrentScreen(screen.props._instanceName)
|
||||||
|
|
|
@ -380,7 +380,7 @@ export default {
|
||||||
label: "Card Width",
|
label: "Card Width",
|
||||||
key: "cardWidth",
|
key: "cardWidth",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
options: [ "16rem", "20rem", "24rem"],
|
options: ["16rem", "20rem", "24rem"],
|
||||||
placeholder: "Card Width",
|
placeholder: "Card Width",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -448,29 +448,37 @@ export default {
|
||||||
label: "Card Width",
|
label: "Card Width",
|
||||||
key: "cardWidth",
|
key: "cardWidth",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
options: [ "24rem", "28rem", "32rem", "40rem", "48rem", "60rem", "100%"],
|
options: [
|
||||||
|
"24rem",
|
||||||
|
"28rem",
|
||||||
|
"32rem",
|
||||||
|
"40rem",
|
||||||
|
"48rem",
|
||||||
|
"60rem",
|
||||||
|
"100%",
|
||||||
|
],
|
||||||
placeholder: "Card Height",
|
placeholder: "Card Height",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Image Width",
|
label: "Image Width",
|
||||||
key: "imageWidth",
|
key: "imageWidth",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
options: [ "8rem", "12rem", "16rem"],
|
options: ["8rem", "12rem", "16rem"],
|
||||||
placeholder: "Image Width",
|
placeholder: "Image Width",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Image Height",
|
label: "Image Height",
|
||||||
key: "imageHeight",
|
key: "imageHeight",
|
||||||
control: OptionSelect,
|
control: OptionSelect,
|
||||||
options: [ "8rem", "12rem", "16rem", "auto"],
|
options: ["8rem", "12rem", "16rem", "auto"],
|
||||||
placeholder: "Image Height",
|
placeholder: "Image Height",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
_component: "@budibase/materialdesign-components/BasicCard",
|
_component: "@budibase/materialdesign-components/BasicCard",
|
||||||
name: "Card",
|
name: "Card",
|
||||||
|
|
Loading…
Reference in New Issue