@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.
Files changed (34) hide show
  1. package/dist/cli.js +639 -401
  2. package/dist/cli.js.map +1 -1
  3. package/dist/cli.mjs +633 -396
  4. package/dist/cli.mjs.map +1 -1
  5. package/dist/index.js +255 -203
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +252 -200
  8. package/dist/index.mjs.map +1 -1
  9. package/package.json +6 -4
  10. package/templates/default/CLAUDE.md +334 -1
  11. package/templates/default/esbuild.config.js +20 -0
  12. package/templates/default/pages/about.ts +2 -2
  13. package/templates/default/pages/forgot-password.ts +1 -3
  14. package/templates/default/pages/home.ts +4 -4
  15. package/templates/default/pages/login.ts +1 -3
  16. package/templates/default/pages/profile.ts +2 -2
  17. package/templates/default/pages/register.ts +1 -3
  18. package/templates/default/pages/showcase.ts +7 -7
  19. package/templates/default/pages/verify-code.ts +1 -3
  20. package/templates/default/sections/about/about.schema.ts +1 -1
  21. package/templates/default/sections/auth-forgot-password/auth-forgot-password.schema.ts +1 -1
  22. package/templates/default/sections/auth-login/auth-login.schema.ts +1 -1
  23. package/templates/default/sections/auth-register/auth-register.schema.ts +1 -1
  24. package/templates/default/sections/auth-verify-code/auth-verify-code.schema.ts +1 -1
  25. package/templates/default/sections/cta/cta.schema.ts +1 -1
  26. package/templates/default/sections/features/features.schema.ts +1 -1
  27. package/templates/default/sections/footer/footer.schema.ts +1 -1
  28. package/templates/default/sections/gallery/gallery.schema.ts +1 -1
  29. package/templates/default/sections/header/header.schema.ts +1 -1
  30. package/templates/default/sections/hero/hero.schema.ts +1 -1
  31. package/templates/default/sections/profile/profile.schema.ts +1 -1
  32. package/templates/default/sections/stats/stats.schema.ts +1 -1
  33. package/templates/default/sections/testimonials/testimonials.schema.ts +1 -1
  34. 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: "my-simple-features",
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: "my-simple-footer",
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: "my-simple-gallery",
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: "my-simple-header",
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: "my-simple-hero",
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: "my-simple-profile",
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: "my-simple-stats",
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: "my-simple-testimonials",
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",