@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.
Files changed (2) hide show
  1. package/dist/index.js +7 -7
  2. 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
- <main className="${containerClass}">
5240
+ <div className="${containerClass}">
5241
5241
  ${sections}
5242
- </main>
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
- <main className="${containerClass}">
5264
+ <div className="${containerClass}">
5265
5265
  ${sections}
5266
- </main>
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: "max-w-4xl mx-auto px-4 py-8",
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 p-6"
5580
+ grid: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"
5581
5581
  };
5582
- return layoutClasses[layout] || "container mx-auto px-4 py-8";
5582
+ return layoutClasses[layout] || "space-y-6";
5583
5583
  }
5584
5584
  /**
5585
5585
  * Generate layout code (for root layout)
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.3.12",
6
+ "version": "0.4.0",
7
7
  "description": "Core design system engine for Coherent",
8
8
  "type": "module",
9
9
  "main": "./dist/index.js",