cronus-ui 0.6.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/LICENSE +21 -0
- package/README.md +90 -0
- package/dist/commands/add-page.d.ts +108 -0
- package/dist/commands/add-page.js +642 -0
- package/dist/commands/add.d.ts +9 -0
- package/dist/commands/add.js +114 -0
- package/dist/commands/ai.d.ts +14 -0
- package/dist/commands/ai.js +69 -0
- package/dist/commands/compose.d.ts +82 -0
- package/dist/commands/compose.js +403 -0
- package/dist/commands/diff.d.ts +8 -0
- package/dist/commands/diff.js +55 -0
- package/dist/commands/init.d.ts +9 -0
- package/dist/commands/init.js +53 -0
- package/dist/commands/list.d.ts +7 -0
- package/dist/commands/list.js +28 -0
- package/dist/commands/theme.d.ts +23 -0
- package/dist/commands/theme.js +735 -0
- package/dist/commands/upgrade.d.ts +51 -0
- package/dist/commands/upgrade.js +840 -0
- package/dist/compose/data-slots.d.ts +71 -0
- package/dist/compose/data-slots.js +104 -0
- package/dist/compose/manifest.d.ts +90 -0
- package/dist/compose/manifest.js +224 -0
- package/dist/compose/plan.d.ts +164 -0
- package/dist/compose/plan.js +506 -0
- package/dist/compose/preview.d.ts +10 -0
- package/dist/compose/preview.js +48 -0
- package/dist/compose/reload.d.ts +56 -0
- package/dist/compose/reload.js +138 -0
- package/dist/compose/render.d.ts +123 -0
- package/dist/compose/render.js +404 -0
- package/dist/compose/templates.d.ts +22 -0
- package/dist/compose/templates.js +76 -0
- package/dist/compose.d.ts +10 -0
- package/dist/compose.js +8 -0
- package/dist/config.d.ts +94 -0
- package/dist/config.js +38 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +184 -0
- package/dist/registry.d.ts +59 -0
- package/dist/registry.js +96 -0
- package/dist/utils.d.ts +72 -0
- package/dist/utils.js +186 -0
- package/package.json +68 -0
- package/templates/apps/chat.json +44 -0
- package/templates/apps/finance.json +44 -0
- package/templates/apps/landing-agency.json +31 -0
- package/templates/apps/landing-agents.json +32 -0
- package/templates/apps/landing-broadcast.json +29 -0
- package/templates/apps/landing-care.json +28 -0
- package/templates/apps/landing-coverage.json +23 -0
- package/templates/apps/landing-docs.json +29 -0
- package/templates/apps/landing-glass.json +28 -0
- package/templates/apps/landing-ops.json +29 -0
- package/templates/apps/landing-premium.json +31 -0
- package/templates/apps/landing-secure.json +31 -0
- package/templates/apps/landing-shop.json +27 -0
- package/templates/apps/landing-studio.json +30 -0
- package/templates/apps/landing.json +23 -0
- package/templates/apps/mail.json +44 -0
- package/templates/apps/saas.json +64 -0
- package/templates/apps/store.json +75 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "landing-premium",
|
|
3
|
+
"type": "registry:app",
|
|
4
|
+
"planVersion": 1,
|
|
5
|
+
"manifest": {
|
|
6
|
+
"title": "Premium SaaS",
|
|
7
|
+
"description": "Full SaaS marketing page: split hero, logo cloud, features, toggle pricing, testimonials, FAQ, and CTA. Aurora, light.",
|
|
8
|
+
"chrome": {
|
|
9
|
+
"site": { "navbar": "navbar", "footer": "footer" }
|
|
10
|
+
},
|
|
11
|
+
"pages": [
|
|
12
|
+
{
|
|
13
|
+
"route": "/",
|
|
14
|
+
"title": "Home",
|
|
15
|
+
"nav": "Home",
|
|
16
|
+
"chrome": "site",
|
|
17
|
+
"blocks": [
|
|
18
|
+
{ "block": "hero", "variant": "split" },
|
|
19
|
+
"logo-cloud",
|
|
20
|
+
"feature-grid",
|
|
21
|
+
{ "block": "pricing", "variant": "toggle" },
|
|
22
|
+
"testimonials",
|
|
23
|
+
"faq",
|
|
24
|
+
"cta"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"extras": { "not-found": "not-found" },
|
|
29
|
+
"defaults": { "theme": "aurora", "mode": "light", "brand": "__APP_NAME__" }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "landing-secure",
|
|
3
|
+
"type": "registry:app",
|
|
4
|
+
"planVersion": 1,
|
|
5
|
+
"manifest": {
|
|
6
|
+
"title": "Secure",
|
|
7
|
+
"description": "Infrastructure/security landing: compact registry hero, feature grid, metrics, proof, usage pricing, split FAQ, and CTA.",
|
|
8
|
+
"chrome": {
|
|
9
|
+
"site": { "navbar": "navbar", "footer": "footer" }
|
|
10
|
+
},
|
|
11
|
+
"pages": [
|
|
12
|
+
{
|
|
13
|
+
"route": "/",
|
|
14
|
+
"title": "Home",
|
|
15
|
+
"nav": "Home",
|
|
16
|
+
"chrome": "site",
|
|
17
|
+
"blocks": [
|
|
18
|
+
{ "block": "hero", "variant": "compact" },
|
|
19
|
+
"feature-grid",
|
|
20
|
+
"stats",
|
|
21
|
+
{ "block": "testimonials", "variant": "grid" },
|
|
22
|
+
{ "block": "pricing", "variant": "usage" },
|
|
23
|
+
{ "block": "faq", "variant": "split" },
|
|
24
|
+
"cta"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"extras": { "not-found": "not-found" },
|
|
29
|
+
"defaults": { "theme": "midnight", "mode": "dark", "brand": "__APP_NAME__" }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "landing-shop",
|
|
3
|
+
"type": "registry:app",
|
|
4
|
+
"planVersion": 1,
|
|
5
|
+
"manifest": {
|
|
6
|
+
"title": "Shop",
|
|
7
|
+
"description": "Apparel/storefront landing: compact hero, editorial product showcase, and a banner CTA. Sunset, light.",
|
|
8
|
+
"chrome": {
|
|
9
|
+
"site": { "navbar": "navbar", "footer": "footer" }
|
|
10
|
+
},
|
|
11
|
+
"pages": [
|
|
12
|
+
{
|
|
13
|
+
"route": "/",
|
|
14
|
+
"title": "Home",
|
|
15
|
+
"nav": "Home",
|
|
16
|
+
"chrome": "site",
|
|
17
|
+
"blocks": [
|
|
18
|
+
{ "block": "hero", "variant": "compact" },
|
|
19
|
+
{ "block": "product-grid", "variant": "showcase" },
|
|
20
|
+
{ "block": "cta", "variant": "banner" }
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"extras": { "not-found": "not-found" },
|
|
25
|
+
"defaults": { "theme": "sunset", "mode": "light", "brand": "__APP_NAME__" }
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "landing-studio",
|
|
3
|
+
"type": "registry:app",
|
|
4
|
+
"planVersion": 1,
|
|
5
|
+
"manifest": {
|
|
6
|
+
"title": "Studio",
|
|
7
|
+
"description": "Dark AI design-tool landing: atmospheric hero, logo marquee, bento features, stats, pricing, and a split product CTA.",
|
|
8
|
+
"chrome": {
|
|
9
|
+
"site": { "navbar": "navbar", "footer": "footer" }
|
|
10
|
+
},
|
|
11
|
+
"pages": [
|
|
12
|
+
{
|
|
13
|
+
"route": "/",
|
|
14
|
+
"title": "Home",
|
|
15
|
+
"nav": "Home",
|
|
16
|
+
"chrome": "site",
|
|
17
|
+
"blocks": [
|
|
18
|
+
{ "block": "hero", "variant": "atmosphere" },
|
|
19
|
+
{ "block": "logo-cloud", "variant": "marquee" },
|
|
20
|
+
{ "block": "feature-grid", "variant": "bento" },
|
|
21
|
+
"stats",
|
|
22
|
+
"pricing",
|
|
23
|
+
{ "block": "cta", "variant": "split-visual" }
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"extras": { "not-found": "not-found" },
|
|
28
|
+
"defaults": { "theme": "midnight", "mode": "dark", "brand": "__APP_NAME__" }
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "landing",
|
|
3
|
+
"type": "registry:app",
|
|
4
|
+
"planVersion": 1,
|
|
5
|
+
"manifest": {
|
|
6
|
+
"title": "Landing",
|
|
7
|
+
"description": "A single polished marketing page — hero, features, pricing, testimonials, FAQ, and a call to action — with a real navbar and footer.",
|
|
8
|
+
"chrome": {
|
|
9
|
+
"site": { "navbar": "navbar", "footer": "footer" }
|
|
10
|
+
},
|
|
11
|
+
"pages": [
|
|
12
|
+
{
|
|
13
|
+
"route": "/",
|
|
14
|
+
"title": "Home",
|
|
15
|
+
"nav": "Home",
|
|
16
|
+
"chrome": "site",
|
|
17
|
+
"blocks": ["hero", "feature-grid", "pricing", "testimonials", "faq", "cta"]
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"extras": { "not-found": "not-found" },
|
|
21
|
+
"defaults": { "theme": "aurora", "mode": "dark", "brand": "__APP_NAME__" }
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mail",
|
|
3
|
+
"type": "registry:app",
|
|
4
|
+
"planVersion": 1,
|
|
5
|
+
"manifest": {
|
|
6
|
+
"title": "Mail",
|
|
7
|
+
"description": "A Pro inbox app: notification panel and activity feed under an app shell, plus compose and notification preferences.",
|
|
8
|
+
"chrome": {
|
|
9
|
+
"shell": { "block": "app-shell-chrome" },
|
|
10
|
+
"bare": {}
|
|
11
|
+
},
|
|
12
|
+
"pages": [
|
|
13
|
+
{
|
|
14
|
+
"route": "/login",
|
|
15
|
+
"title": "Sign in",
|
|
16
|
+
"chrome": "bare",
|
|
17
|
+
"blocks": [{ "block": "login", "variant": "split" }]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"route": "/",
|
|
21
|
+
"title": "Inbox",
|
|
22
|
+
"nav": "Inbox",
|
|
23
|
+
"chrome": "shell",
|
|
24
|
+
"blocks": ["notification-panel", "activity-feed"]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"route": "/compose",
|
|
28
|
+
"title": "Compose",
|
|
29
|
+
"nav": "Compose",
|
|
30
|
+
"chrome": "shell",
|
|
31
|
+
"blocks": ["contact-form"]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"route": "/preferences",
|
|
35
|
+
"title": "Preferences",
|
|
36
|
+
"nav": "Preferences",
|
|
37
|
+
"chrome": "shell",
|
|
38
|
+
"blocks": ["notification-preferences"]
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"extras": { "not-found": "not-found" },
|
|
42
|
+
"defaults": { "theme": "midnight", "mode": "dark", "brand": "__APP_NAME__" }
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "saas",
|
|
3
|
+
"type": "registry:app",
|
|
4
|
+
"planVersion": 1,
|
|
5
|
+
"manifest": {
|
|
6
|
+
"title": "SaaS",
|
|
7
|
+
"description": "A complete multi-page SaaS app: split login/signup, and a sidebar-shell dashboard, analytics, team, billing and settings — all from validated blocks.",
|
|
8
|
+
"chrome": {
|
|
9
|
+
"shell": { "block": "app-shell-chrome" },
|
|
10
|
+
"bare": {}
|
|
11
|
+
},
|
|
12
|
+
"pages": [
|
|
13
|
+
{
|
|
14
|
+
"route": "/login",
|
|
15
|
+
"title": "Sign in",
|
|
16
|
+
"chrome": "bare",
|
|
17
|
+
"blocks": [{ "block": "login", "variant": "split" }]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"route": "/signup",
|
|
21
|
+
"title": "Create account",
|
|
22
|
+
"chrome": "bare",
|
|
23
|
+
"blocks": ["signup"]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"route": "/",
|
|
27
|
+
"title": "Dashboard",
|
|
28
|
+
"nav": "Dashboard",
|
|
29
|
+
"chrome": "shell",
|
|
30
|
+
"blocks": ["dashboard", "stats"]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"route": "/analytics",
|
|
34
|
+
"title": "Analytics",
|
|
35
|
+
"nav": "Analytics",
|
|
36
|
+
"chrome": "shell",
|
|
37
|
+
"blocks": ["analytics"]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"route": "/team",
|
|
41
|
+
"title": "Team",
|
|
42
|
+
"nav": "Team",
|
|
43
|
+
"chrome": "shell",
|
|
44
|
+
"blocks": ["team"]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"route": "/billing",
|
|
48
|
+
"title": "Billing",
|
|
49
|
+
"nav": "Billing",
|
|
50
|
+
"chrome": "shell",
|
|
51
|
+
"blocks": ["billing", "usage-dashboard"]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"route": "/settings",
|
|
55
|
+
"title": "Settings",
|
|
56
|
+
"nav": "Settings",
|
|
57
|
+
"chrome": "shell",
|
|
58
|
+
"blocks": ["settings", "account-security"]
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"extras": { "not-found": "not-found" },
|
|
62
|
+
"defaults": { "theme": "aurora", "mode": "dark", "brand": "__APP_NAME__" }
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "store",
|
|
3
|
+
"type": "registry:app",
|
|
4
|
+
"planVersion": 1,
|
|
5
|
+
"manifest": {
|
|
6
|
+
"title": "Store",
|
|
7
|
+
"description": "A complete, navigable storefront: home, catalog, product, cart, checkout, auth, and account — all from validated blocks.",
|
|
8
|
+
"chrome": {
|
|
9
|
+
"site": { "navbar": "navbar", "footer": "footer" },
|
|
10
|
+
"bare": {}
|
|
11
|
+
},
|
|
12
|
+
"pages": [
|
|
13
|
+
{
|
|
14
|
+
"route": "/",
|
|
15
|
+
"title": "Home",
|
|
16
|
+
"nav": "Home",
|
|
17
|
+
"chrome": "site",
|
|
18
|
+
"blocks": ["hero", "product-grid", "testimonials", "cta"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"route": "/products",
|
|
22
|
+
"title": "Products",
|
|
23
|
+
"nav": "Products",
|
|
24
|
+
"chrome": "site",
|
|
25
|
+
"blocks": ["page-header", "filter-bar", "product-grid"]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"route": "/products/[id]",
|
|
29
|
+
"title": "Product",
|
|
30
|
+
"chrome": "site",
|
|
31
|
+
"blocks": ["product-detail", "reviews"]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"route": "/cart",
|
|
35
|
+
"title": "Cart",
|
|
36
|
+
"nav": "Cart",
|
|
37
|
+
"chrome": "site",
|
|
38
|
+
"blocks": ["cart"]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"route": "/checkout",
|
|
42
|
+
"title": "Checkout",
|
|
43
|
+
"chrome": "bare",
|
|
44
|
+
"blocks": ["checkout"]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"route": "/login",
|
|
48
|
+
"title": "Sign in",
|
|
49
|
+
"chrome": "bare",
|
|
50
|
+
"blocks": ["login"]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"route": "/signup",
|
|
54
|
+
"title": "Create account",
|
|
55
|
+
"chrome": "bare",
|
|
56
|
+
"blocks": ["signup"]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"route": "/account",
|
|
60
|
+
"title": "Orders",
|
|
61
|
+
"nav": "Account",
|
|
62
|
+
"chrome": "site",
|
|
63
|
+
"blocks": ["page-header", "order-history", "order-tracking"]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"route": "/account/settings",
|
|
67
|
+
"title": "Settings",
|
|
68
|
+
"chrome": "site",
|
|
69
|
+
"blocks": ["settings", "account-security"]
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"extras": { "not-found": "not-found" },
|
|
73
|
+
"defaults": { "theme": "aurora", "mode": "dark", "brand": "__APP_NAME__" }
|
|
74
|
+
}
|
|
75
|
+
}
|