Track all types in git, sync to server on deploy
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
This commit is contained in:
86
types/component_layout.json5
Normal file
86
types/component_layout.json5
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
// Reusable partial (CF_ComponentLayout) – no own collection.
|
||||
name: "component_layout",
|
||||
description: "Reusable grid layout (mobile/tablet/desktop columns)",
|
||||
tags: [
|
||||
"layout",
|
||||
"partial"
|
||||
],
|
||||
category: "layout",
|
||||
reusable: true,
|
||||
fields: {
|
||||
breakout: {
|
||||
type: "boolean",
|
||||
default: false,
|
||||
description: "Breakout layout (full width)",
|
||||
},
|
||||
mobile: {
|
||||
type: "string",
|
||||
required: true,
|
||||
enum: [
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9",
|
||||
"10",
|
||||
"11",
|
||||
"12"
|
||||
],
|
||||
default: "12",
|
||||
description: "Width on mobile (1–12)",
|
||||
},
|
||||
tablet: {
|
||||
type: "string",
|
||||
enum: [
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9",
|
||||
"10",
|
||||
"11",
|
||||
"12"
|
||||
],
|
||||
description: "Width on tablet (optional)",
|
||||
},
|
||||
desktop: {
|
||||
type: "string",
|
||||
enum: [
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9",
|
||||
"10",
|
||||
"11",
|
||||
"12"
|
||||
],
|
||||
description: "Width on desktop (optional)",
|
||||
},
|
||||
spaceBottom: {
|
||||
type: "number",
|
||||
enum: [
|
||||
0,
|
||||
0.5,
|
||||
1,
|
||||
1.5,
|
||||
2
|
||||
],
|
||||
default: 0,
|
||||
description: "Space below (rem)",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user