@getcoherent/cli 0.6.8 → 0.6.10

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.
@@ -213,6 +213,10 @@ var DESIGN_QUALITY_APP = `
213
213
  - On mobile (sm:): search full width, filters wrap to next line
214
214
  - Do NOT wrap search/filter toolbars in Card components. They are plain flex rows above content.
215
215
 
216
+ ### Tabs
217
+ - Always use <TabsList variant="line"> for a clean underline style (not the pill/segmented control default)
218
+ - The variant="line" prop removes the bg-muted pill container and uses an underline indicator instead
219
+
216
220
  NEVER include marketing sections (hero, pricing, testimonials) on app pages.
217
221
  `;
218
222
  var DESIGN_QUALITY_AUTH = `
@@ -263,7 +267,17 @@ function inferPageTypeFromRoute(route) {
263
267
  "forgot-password",
264
268
  "reset-password"
265
269
  ]);
266
- const marketingSlugs = /* @__PURE__ */ new Set(["pricing", "features", "about", "blog", "contact", "terms", "privacy"]);
270
+ const marketingSlugs = /* @__PURE__ */ new Set([
271
+ "pricing",
272
+ "features",
273
+ "about",
274
+ "blog",
275
+ "contact",
276
+ "terms",
277
+ "privacy",
278
+ "landing",
279
+ "home"
280
+ ]);
267
281
  if (authSlugs.has(slug)) return "auth";
268
282
  if (marketingSlugs.has(slug) || slug === "") return "marketing";
269
283
  return "app";
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  routeToKey,
14
14
  savePlan,
15
15
  selectContextualRules
16
- } from "./chunk-EXF37DQB.js";
16
+ } from "./chunk-O7OA76D3.js";
17
17
  import {
18
18
  __require
19
19
  } from "./chunk-3RG5ZIWI.js";
@@ -6077,12 +6077,19 @@ ${selectImport}`
6077
6077
  /(<TabsTrigger\b[^>]*className=")([^"]*)(")/g,
6078
6078
  (_m, pre, classes, post) => {
6079
6079
  const cleaned = classes.replace(/\b(border-input|border\b|outline\b)\s*/g, "").trim();
6080
- if (cleaned !== classes.trim()) return `${pre}${cleaned}${post}`;
6080
+ const withBorder0 = cleaned.includes("border-0") ? cleaned : `${cleaned} border-0`.trim();
6081
+ if (withBorder0 !== classes.trim()) return `${pre}${withBorder0}${post}`;
6081
6082
  return _m;
6082
6083
  }
6083
6084
  );
6085
+ fixed = fixed.replace(/<TabsTrigger\b(?![^>]*className=)(?![^>]*border-0)/g, '<TabsTrigger className="border-0"');
6084
6086
  if (fixed !== beforeTabsFix) {
6085
- fixes.push("stripped border from TabsTrigger (shadcn handles active state)");
6087
+ fixes.push("added border-0 to TabsTrigger (Tailwind v4 border-transparent fix)");
6088
+ }
6089
+ const beforeTabsListFix = fixed;
6090
+ fixed = fixed.replace(/<TabsList\b(?![^>]*variant=)/g, '<TabsList variant="line"');
6091
+ if (fixed !== beforeTabsListFix) {
6092
+ fixes.push('added variant="line" to TabsList (clean underline style)');
6086
6093
  }
6087
6094
  fixed = fixed.replace(/className="([^"]*)"/g, (_match, inner) => {
6088
6095
  const cleaned = inner.replace(/\s{2,}/g, " ").trim();
@@ -7191,7 +7198,7 @@ async function splitGeneratePages(spinner, message, modCtx, provider, parseOpts)
7191
7198
  if (plan && plan.sharedComponents.length > 0) {
7192
7199
  spinner.start(`Phase 4.5/6 \u2014 Generating ${plan.sharedComponents.length} shared components from plan...`);
7193
7200
  try {
7194
- const { generateSharedComponentsFromPlan } = await import("./plan-generator-FHD7TXD5.js");
7201
+ const { generateSharedComponentsFromPlan } = await import("./plan-generator-EWZYC45I.js");
7195
7202
  const generated = await generateSharedComponentsFromPlan(
7196
7203
  plan,
7197
7204
  styleContext,
@@ -7705,7 +7712,11 @@ export default function GroupLayout({
7705
7712
  }: {
7706
7713
  children: React.ReactNode
7707
7714
  }) {
7708
- return <>{children}</>
7715
+ return (
7716
+ <div className="min-h-svh flex items-center justify-center p-4">
7717
+ {children}
7718
+ </div>
7719
+ )
7709
7720
  }
7710
7721
  `;
7711
7722
  }
@@ -11,7 +11,7 @@ import {
11
11
  routeToKey,
12
12
  savePlan,
13
13
  updateArchitecturePlan
14
- } from "./chunk-EXF37DQB.js";
14
+ } from "./chunk-O7OA76D3.js";
15
15
  import "./chunk-3RG5ZIWI.js";
16
16
  export {
17
17
  ArchitecturePlanSchema,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.6.8",
6
+ "version": "0.6.10",
7
7
  "description": "CLI interface for Coherent Design Method",
8
8
  "type": "module",
9
9
  "main": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "ora": "^7.0.1",
44
44
  "prompts": "^2.4.2",
45
45
  "zod": "^3.22.4",
46
- "@getcoherent/core": "0.6.8"
46
+ "@getcoherent/core": "0.6.10"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^20.11.0",