@onexapis/cli 1.1.37 → 1.1.39
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/cli.js +639 -401
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +633 -396
- package/dist/cli.mjs.map +1 -1
- package/dist/index.js +255 -203
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +252 -200
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -4
- package/templates/default/CLAUDE.md +334 -1
- package/templates/default/esbuild.config.js +20 -0
- package/templates/default/pages/about.ts +2 -2
- package/templates/default/pages/forgot-password.ts +1 -3
- package/templates/default/pages/home.ts +4 -4
- package/templates/default/pages/login.ts +1 -3
- package/templates/default/pages/profile.ts +2 -2
- package/templates/default/pages/register.ts +1 -3
- package/templates/default/pages/showcase.ts +7 -7
- package/templates/default/pages/verify-code.ts +1 -3
- package/templates/default/sections/about/about.schema.ts +1 -1
- package/templates/default/sections/auth-forgot-password/auth-forgot-password.schema.ts +1 -1
- package/templates/default/sections/auth-login/auth-login.schema.ts +1 -1
- package/templates/default/sections/auth-register/auth-register.schema.ts +1 -1
- package/templates/default/sections/auth-verify-code/auth-verify-code.schema.ts +1 -1
- package/templates/default/sections/cta/cta.schema.ts +1 -1
- package/templates/default/sections/features/features.schema.ts +1 -1
- package/templates/default/sections/footer/footer.schema.ts +1 -1
- package/templates/default/sections/gallery/gallery.schema.ts +1 -1
- package/templates/default/sections/header/header.schema.ts +1 -1
- package/templates/default/sections/hero/hero.schema.ts +1 -1
- package/templates/default/sections/profile/profile.schema.ts +1 -1
- package/templates/default/sections/stats/stats.schema.ts +1 -1
- package/templates/default/sections/testimonials/testimonials.schema.ts +1 -1
- package/templates/default/theme.layout.ts +18 -0
|
@@ -22,7 +22,7 @@ const sectionSettings: FieldDefinition[] = [
|
|
|
22
22
|
];
|
|
23
23
|
|
|
24
24
|
export const featuresSchema: SectionSchema = {
|
|
25
|
-
type: "
|
|
25
|
+
type: "features",
|
|
26
26
|
name: "Simple Features",
|
|
27
27
|
description: "Feature grid with icon, heading, and description blocks",
|
|
28
28
|
category: "features",
|
|
@@ -87,7 +87,7 @@ const commonSettings: FieldDefinition[] = [
|
|
|
87
87
|
];
|
|
88
88
|
|
|
89
89
|
export const footerSchema: SectionSchema = {
|
|
90
|
-
type: "
|
|
90
|
+
type: "footer",
|
|
91
91
|
name: "Footer",
|
|
92
92
|
description: "Responsive footer with company info, links, and copyright",
|
|
93
93
|
category: "footer",
|
|
@@ -44,7 +44,7 @@ const commonSettings: FieldDefinition[] = [
|
|
|
44
44
|
];
|
|
45
45
|
|
|
46
46
|
export const gallerySchema: SectionSchema = {
|
|
47
|
-
type: "
|
|
47
|
+
type: "gallery",
|
|
48
48
|
name: "Simple Gallery",
|
|
49
49
|
description: "Responsive image gallery with captions",
|
|
50
50
|
category: "gallery",
|
|
@@ -96,7 +96,7 @@ const commonSettings: FieldDefinition[] = [
|
|
|
96
96
|
];
|
|
97
97
|
|
|
98
98
|
export const headerSchema: SectionSchema = {
|
|
99
|
-
type: "
|
|
99
|
+
type: "header",
|
|
100
100
|
name: "Header",
|
|
101
101
|
description: "Responsive header with logo, navigation, and CTA button",
|
|
102
102
|
category: "header",
|
|
@@ -65,7 +65,7 @@ const commonSettings: FieldDefinition[] = [
|
|
|
65
65
|
];
|
|
66
66
|
|
|
67
67
|
export const heroSchema: SectionSchema = {
|
|
68
|
-
type: "
|
|
68
|
+
type: "hero",
|
|
69
69
|
name: "Simple Hero",
|
|
70
70
|
description:
|
|
71
71
|
"Hero section with badge, heading, paragraph, divider, buttons, and image",
|
|
@@ -178,7 +178,7 @@ const commonSettings: FieldDefinition[] = [
|
|
|
178
178
|
];
|
|
179
179
|
|
|
180
180
|
export const profileSchema: SectionSchema = {
|
|
181
|
-
type: "
|
|
181
|
+
type: "profile",
|
|
182
182
|
name: "Profile",
|
|
183
183
|
description: "User profile with form fields and change password",
|
|
184
184
|
category: "content",
|
|
@@ -27,7 +27,7 @@ const commonSettings: FieldDefinition[] = [
|
|
|
27
27
|
];
|
|
28
28
|
|
|
29
29
|
export const statsSchema: SectionSchema = {
|
|
30
|
-
type: "
|
|
30
|
+
type: "stats",
|
|
31
31
|
name: "Simple Stats",
|
|
32
32
|
description: "Statistics section with large numbers and labels",
|
|
33
33
|
category: "content",
|
|
@@ -33,7 +33,7 @@ const commonSettings: FieldDefinition[] = [
|
|
|
33
33
|
];
|
|
34
34
|
|
|
35
35
|
export const testimonialsSchema: SectionSchema = {
|
|
36
|
-
type: "
|
|
36
|
+
type: "testimonials",
|
|
37
37
|
name: "Simple Testimonials",
|
|
38
38
|
description:
|
|
39
39
|
"Testimonial cards with quote, rating, name, role, and avatar blocks",
|
|
@@ -62,6 +62,24 @@ export const simpleLayoutConfig: ThemeLayoutConfig = {
|
|
|
62
62
|
blocks: [],
|
|
63
63
|
},
|
|
64
64
|
],
|
|
65
|
+
designSystem: {
|
|
66
|
+
colors: {
|
|
67
|
+
primaryColor: "#3B82F6",
|
|
68
|
+
secondaryColor: "#8B5CF6",
|
|
69
|
+
colorMode: "light",
|
|
70
|
+
},
|
|
71
|
+
typography: {
|
|
72
|
+
headingFont: "system-ui, sans-serif",
|
|
73
|
+
bodyFont: "system-ui, sans-serif",
|
|
74
|
+
},
|
|
75
|
+
layout: {
|
|
76
|
+
spacing: "comfortable",
|
|
77
|
+
},
|
|
78
|
+
pageBackground: {
|
|
79
|
+
type: "solid",
|
|
80
|
+
color: "#FFFFFF",
|
|
81
|
+
},
|
|
82
|
+
},
|
|
65
83
|
globalSettings: {
|
|
66
84
|
primaryColor: "#3B82F6",
|
|
67
85
|
secondaryColor: "#8B5CF6",
|