@getcoherent/core 0.3.12 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5237,9 +5237,9 @@ ${imports}
|
|
|
5237
5237
|
export default function ${pageName}Page() {
|
|
5238
5238
|
${this.generateFormState(def)}
|
|
5239
5239
|
return (
|
|
5240
|
-
<
|
|
5240
|
+
<div className="${containerClass}">
|
|
5241
5241
|
${sections}
|
|
5242
|
-
</
|
|
5242
|
+
</div>
|
|
5243
5243
|
)
|
|
5244
5244
|
}
|
|
5245
5245
|
`;
|
|
@@ -5261,9 +5261,9 @@ export const metadata: Metadata = {
|
|
|
5261
5261
|
|
|
5262
5262
|
export default function ${pageName}Page() {
|
|
5263
5263
|
return (
|
|
5264
|
-
<
|
|
5264
|
+
<div className="${containerClass}">
|
|
5265
5265
|
${sections}
|
|
5266
|
-
</
|
|
5266
|
+
</div>
|
|
5267
5267
|
)
|
|
5268
5268
|
}
|
|
5269
5269
|
`;
|
|
@@ -5573,13 +5573,13 @@ ${sections}
|
|
|
5573
5573
|
*/
|
|
5574
5574
|
getContainerClass(layout) {
|
|
5575
5575
|
const layoutClasses = {
|
|
5576
|
-
centered: "
|
|
5576
|
+
centered: "space-y-6",
|
|
5577
5577
|
"sidebar-left": "flex min-h-screen",
|
|
5578
5578
|
"sidebar-right": "flex flex-row-reverse min-h-screen",
|
|
5579
5579
|
"full-width": "w-full",
|
|
5580
|
-
grid: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6
|
|
5580
|
+
grid: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"
|
|
5581
5581
|
};
|
|
5582
|
-
return layoutClasses[layout] || "
|
|
5582
|
+
return layoutClasses[layout] || "space-y-6";
|
|
5583
5583
|
}
|
|
5584
5584
|
/**
|
|
5585
5585
|
* Generate layout code (for root layout)
|