@getcoherent/cli 0.6.8 → 0.6.9
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,7 @@ 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(["pricing", "features", "about", "blog", "contact", "terms", "privacy", "landing", "home"]);
|
|
267
271
|
if (authSlugs.has(slug)) return "auth";
|
|
268
272
|
if (marketingSlugs.has(slug) || slug === "") return "marketing";
|
|
269
273
|
return "app";
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
routeToKey,
|
|
14
14
|
savePlan,
|
|
15
15
|
selectContextualRules
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-33HL6ERR.js";
|
|
17
17
|
import {
|
|
18
18
|
__require
|
|
19
19
|
} from "./chunk-3RG5ZIWI.js";
|
|
@@ -6084,6 +6084,14 @@ ${selectImport}`
|
|
|
6084
6084
|
if (fixed !== beforeTabsFix) {
|
|
6085
6085
|
fixes.push("stripped border from TabsTrigger (shadcn handles active state)");
|
|
6086
6086
|
}
|
|
6087
|
+
const beforeTabsListFix = fixed;
|
|
6088
|
+
fixed = fixed.replace(
|
|
6089
|
+
/<TabsList\b(?![^>]*variant=)/g,
|
|
6090
|
+
'<TabsList variant="line"'
|
|
6091
|
+
);
|
|
6092
|
+
if (fixed !== beforeTabsListFix) {
|
|
6093
|
+
fixes.push('added variant="line" to TabsList (clean underline style)');
|
|
6094
|
+
}
|
|
6087
6095
|
fixed = fixed.replace(/className="([^"]*)"/g, (_match, inner) => {
|
|
6088
6096
|
const cleaned = inner.replace(/\s{2,}/g, " ").trim();
|
|
6089
6097
|
return `className="${cleaned}"`;
|
|
@@ -7191,7 +7199,7 @@ async function splitGeneratePages(spinner, message, modCtx, provider, parseOpts)
|
|
|
7191
7199
|
if (plan && plan.sharedComponents.length > 0) {
|
|
7192
7200
|
spinner.start(`Phase 4.5/6 \u2014 Generating ${plan.sharedComponents.length} shared components from plan...`);
|
|
7193
7201
|
try {
|
|
7194
|
-
const { generateSharedComponentsFromPlan } = await import("./plan-generator-
|
|
7202
|
+
const { generateSharedComponentsFromPlan } = await import("./plan-generator-WTLO5B76.js");
|
|
7195
7203
|
const generated = await generateSharedComponentsFromPlan(
|
|
7196
7204
|
plan,
|
|
7197
7205
|
styleContext,
|
|
@@ -7705,7 +7713,11 @@ export default function GroupLayout({
|
|
|
7705
7713
|
}: {
|
|
7706
7714
|
children: React.ReactNode
|
|
7707
7715
|
}) {
|
|
7708
|
-
return
|
|
7716
|
+
return (
|
|
7717
|
+
<div className="min-h-svh flex items-center justify-center p-4">
|
|
7718
|
+
{children}
|
|
7719
|
+
</div>
|
|
7720
|
+
)
|
|
7709
7721
|
}
|
|
7710
7722
|
`;
|
|
7711
7723
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.6.
|
|
6
|
+
"version": "0.6.9",
|
|
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.
|
|
46
|
+
"@getcoherent/core": "0.6.9"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^20.11.0",
|