@caartzee/theme-sdk 0.0.0-stage → 1.0.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.
Files changed (142) hide show
  1. package/README.md +34 -2
  2. package/dist/bin/caartzee-theme.js +7449 -0
  3. package/dist/lib/index.js +9838 -0
  4. package/dist/types/src/auth/credentials-store.d.ts +18 -0
  5. package/dist/types/src/auth/index.d.ts +2 -0
  6. package/dist/types/src/auth/oauth-client.d.ts +39 -0
  7. package/dist/types/src/blocks/block-contract.d.ts +242 -0
  8. package/dist/types/src/candy/compatibility-matrix.d.ts +10 -0
  9. package/dist/types/src/candy/context-builder.d.ts +31 -0
  10. package/dist/types/src/candy/engine.d.ts +69 -0
  11. package/dist/types/src/candy/filters.d.ts +32 -0
  12. package/dist/types/src/candy/ide-support.d.ts +20 -0
  13. package/dist/types/src/candy/index.d.ts +9 -0
  14. package/dist/types/src/candy/schema-parser.d.ts +13 -0
  15. package/dist/types/src/candy/security.d.ts +54 -0
  16. package/dist/types/src/candy/tags.d.ts +11 -0
  17. package/dist/types/src/candy/types.d.ts +185 -0
  18. package/dist/types/src/cli/caartzee-cli.d.ts +9 -0
  19. package/dist/types/src/cli/index.d.ts +1 -0
  20. package/dist/types/src/cli/sdk-client.d.ts +12 -0
  21. package/dist/types/src/contracts/category-selection.d.ts +15 -0
  22. package/dist/types/src/contracts/commerce.d.ts +282 -0
  23. package/dist/types/src/contracts/footer-builder.d.ts +125 -0
  24. package/dist/types/src/contracts/hooks.d.ts +37 -0
  25. package/dist/types/src/contracts/manifest.d.ts +3127 -0
  26. package/dist/types/src/contracts/navigation.d.ts +39 -0
  27. package/dist/types/src/contracts/order-tracking.d.ts +40 -0
  28. package/dist/types/src/contracts/page.d.ts +262 -0
  29. package/dist/types/src/contracts/storefront-content.d.ts +60 -0
  30. package/dist/types/src/contracts/style-document.d.ts +2 -0
  31. package/dist/types/src/contracts/styles.d.ts +2002 -0
  32. package/dist/types/src/contracts/theme.d.ts +35 -0
  33. package/dist/types/src/dev-server/catalog-preview.d.ts +25 -0
  34. package/dist/types/src/dev-server/dev-server.d.ts +22 -0
  35. package/dist/types/src/dev-server/index.d.ts +1 -0
  36. package/dist/types/src/dev-server/theme-preview.d.ts +4 -0
  37. package/dist/types/src/index.d.ts +27 -0
  38. package/dist/types/src/mock/index.d.ts +10 -0
  39. package/dist/types/src/mock/mock-categories.d.ts +2 -0
  40. package/dist/types/src/mock/mock-commerce.d.ts +55 -0
  41. package/dist/types/src/mock/mock-customer.d.ts +47 -0
  42. package/dist/types/src/mock/mock-hooks.d.ts +2 -0
  43. package/dist/types/src/mock/mock-products.d.ts +3 -0
  44. package/dist/types/src/rendering/commerce-pages.d.ts +16 -0
  45. package/dist/types/src/rendering/raw-html.d.ts +12 -0
  46. package/dist/types/src/rendering/section-wrapper.d.ts +30 -0
  47. package/dist/types/src/scaffold/candy-starter-assets.d.ts +2 -0
  48. package/dist/types/src/scaffold/commerce-generator.d.ts +3 -0
  49. package/dist/types/src/scaffold/index.d.ts +2 -0
  50. package/dist/types/src/scaffold/template-generator.d.ts +21 -0
  51. package/dist/types/src/sections/section-contract.d.ts +350 -0
  52. package/dist/types/src/settings/global-settings.d.ts +25 -0
  53. package/dist/types/src/templates/json-template.d.ts +991 -0
  54. package/dist/types/src/validation/package-validator.d.ts +53 -0
  55. package/dist/types/src/validation/rich-text.d.ts +24 -0
  56. package/package.json +28 -3
  57. package/templates/commerce/README.md +165 -0
  58. package/templates/commerce/assets/theme.css +1 -0
  59. package/templates/commerce/manifest.json +1 -0
  60. package/templates/commerce/src/blocks/index.ts +184 -0
  61. package/templates/commerce/src/config/settings-defaults.ts +25 -0
  62. package/templates/commerce/src/config/settings-schema.ts +102 -0
  63. package/templates/commerce/src/index.ts +90 -0
  64. package/templates/commerce/src/layouts/default.ts +275 -0
  65. package/templates/commerce/src/manifest.ts +976 -0
  66. package/templates/commerce/src/pages/account/components.ts +369 -0
  67. package/templates/commerce/src/pages/account/tabs.ts +792 -0
  68. package/templates/commerce/src/pages/account.ts +55 -0
  69. package/templates/commerce/src/pages/campaign.ts +423 -0
  70. package/templates/commerce/src/pages/cart.ts +261 -0
  71. package/templates/commerce/src/pages/category-detail.ts +124 -0
  72. package/templates/commerce/src/pages/category-list.ts +87 -0
  73. package/templates/commerce/src/pages/checkout.ts +712 -0
  74. package/templates/commerce/src/pages/commerce.ts +45 -0
  75. package/templates/commerce/src/pages/home.ts +160 -0
  76. package/templates/commerce/src/pages/index.ts +99 -0
  77. package/templates/commerce/src/pages/login.ts +204 -0
  78. package/templates/commerce/src/pages/order-success.ts +80 -0
  79. package/templates/commerce/src/pages/product-detail.ts +489 -0
  80. package/templates/commerce/src/pages/product-list.ts +125 -0
  81. package/templates/commerce/src/pages/search.ts +88 -0
  82. package/templates/commerce/src/pages/signup.ts +253 -0
  83. package/templates/commerce/src/pages/status.ts +7 -0
  84. package/templates/commerce/src/pages/theme-layout.ts +491 -0
  85. package/templates/commerce/src/pages/track-order.ts +196 -0
  86. package/templates/commerce/src/pages/wishlist.ts +83 -0
  87. package/templates/commerce/src/sections/about-story.ts +117 -0
  88. package/templates/commerce/src/sections/announcement-bar.ts +101 -0
  89. package/templates/commerce/src/sections/banner-grid.ts +319 -0
  90. package/templates/commerce/src/sections/campaign-banners.ts +158 -0
  91. package/templates/commerce/src/sections/category-slider.ts +144 -0
  92. package/templates/commerce/src/sections/content-builder.ts +123 -0
  93. package/templates/commerce/src/sections/content-controls.ts +45 -0
  94. package/templates/commerce/src/sections/custom-form.ts +59 -0
  95. package/templates/commerce/src/sections/faq-accordion.ts +123 -0
  96. package/templates/commerce/src/sections/footer.ts +728 -0
  97. package/templates/commerce/src/sections/header.ts +439 -0
  98. package/templates/commerce/src/sections/hero-slider.ts +492 -0
  99. package/templates/commerce/src/sections/hero.ts +137 -0
  100. package/templates/commerce/src/sections/index.ts +102 -0
  101. package/templates/commerce/src/sections/mobile-slider.ts +102 -0
  102. package/templates/commerce/src/sections/newsletter.ts +43 -0
  103. package/templates/commerce/src/sections/product-grid.ts +191 -0
  104. package/templates/commerce/src/sections/raw-html.ts +1 -0
  105. package/templates/commerce/src/sections/rich-text.ts +26 -0
  106. package/templates/commerce/src/sections/services-features.ts +211 -0
  107. package/templates/commerce/src/sections/testimonials.ts +194 -0
  108. package/templates/commerce/src/snippets/product-card.ts +178 -0
  109. package/templates/commerce/src/snippets/product-price.ts +46 -0
  110. package/templates/commerce/src/snippets/responsive-image.ts +29 -0
  111. package/templates/commerce/src/styles.ts +477 -0
  112. package/templates/commerce/src/templates/404.json +26 -0
  113. package/templates/commerce/src/templates/account.json +17 -0
  114. package/templates/commerce/src/templates/cart.json +17 -0
  115. package/templates/commerce/src/templates/category.json +16 -0
  116. package/templates/commerce/src/templates/checkout.json +15 -0
  117. package/templates/commerce/src/templates/collection.json +16 -0
  118. package/templates/commerce/src/templates/index.json +180 -0
  119. package/templates/commerce/src/templates/login.json +17 -0
  120. package/templates/commerce/src/templates/order-success.json +17 -0
  121. package/templates/commerce/src/templates/page.json +17 -0
  122. package/templates/commerce/src/templates/product.json +17 -0
  123. package/templates/commerce/src/templates/search.json +18 -0
  124. package/templates/commerce/src/templates/signup.json +17 -0
  125. package/templates/commerce/src/templates/track-order.json +17 -0
  126. package/templates/commerce/src/templates/wishlist.json +17 -0
  127. package/templates/commerce/src/templates.ts +510 -0
  128. package/templates/commerce/src/tokens.ts +22 -0
  129. package/templates/vscode-candy/README.md +22 -0
  130. package/templates/vscode-candy/extension.js +338 -0
  131. package/templates/vscode-candy/icons/candy-dark.svg +23 -0
  132. package/templates/vscode-candy/icons/candy-light.svg +23 -0
  133. package/templates/vscode-candy/icons/candy-logo.png +0 -0
  134. package/templates/vscode-candy/icons/candy-sweet-dark.svg +23 -0
  135. package/templates/vscode-candy/icons/candy-sweet-light.svg +23 -0
  136. package/templates/vscode-candy/language-configuration.json +47 -0
  137. package/templates/vscode-candy/package.json +103 -0
  138. package/templates/vscode-candy/schemas/candy-config.schema.json +56 -0
  139. package/templates/vscode-candy/schemas/candy-settings.schema.json +70 -0
  140. package/templates/vscode-candy/snippets/candy.code-snippets +179 -0
  141. package/templates/vscode-candy/syntaxes/candy.tmLanguage.json +296 -0
  142. package/templates/vscode-candy/vim/ftdetect/candy.vim +5 -0
@@ -0,0 +1,976 @@
1
+ import { contentBuilderSections } from './sections/content-builder';
2
+ import type { ThemeManifest } from '@caartzee/theme-sdk';
3
+ import { withGlobalSettings, RAW_HTML_SECTION_MANIFEST } from '@caartzee/theme-sdk';
4
+ import { starterSettingsSchema } from './config/settings-schema';
5
+ import { starterSettingsDefaults } from './config/settings-defaults';
6
+ import { starterBlocks } from './blocks';
7
+ import { defaultLayout, defaultPages, starterJsonTemplates, defaultJsonLayout } from './templates';
8
+
9
+ /**
10
+ * Theme Manifest
11
+ *
12
+ * Declares theme identity, supported regions, supported pages,
13
+ * and the configurable schema for each section in the Tenant Visual Customizer.
14
+ */
15
+ export const starterManifest: ThemeManifest = {
16
+ slug: 'starter-theme',
17
+ name: 'Starter Theme',
18
+ version: '1.0.0',
19
+ engineVersion: '^1.0.0',
20
+ description: 'Clean, modern, and production-ready developer boilerplate for standalone Caartzee themes',
21
+ author: 'Caartzee Engineering',
22
+ previewImage: '/assets/themes/starter/preview.jpg',
23
+ ready: true,
24
+ capabilities: {
25
+ json_templates: true,
26
+ commerce_pages: true,
27
+ reusable_blocks: true,
28
+ presets: true,
29
+ theme_settings: true,
30
+ },
31
+ regions: ['header', 'body', 'footer'],
32
+ supportedPageTypes: [
33
+ 'home',
34
+ 'product-list',
35
+ 'product-detail',
36
+ 'category-list',
37
+ 'category-detail',
38
+ 'search',
39
+ 'custom-page',
40
+ 'not-found',
41
+ 'error',
42
+ 'cart',
43
+ 'checkout',
44
+ 'order-success',
45
+ 'track-order',
46
+ 'login',
47
+ 'signup',
48
+ 'account',
49
+ 'wishlist',
50
+ 'blog-list', 'blog-detail', 'policy', 'digital-list', 'digital-detail', 'cart-recovery', 'order-detail', 'offers',
51
+ ],
52
+ sections: [
53
+ {
54
+ type: 'header-nav',
55
+ label: 'Main Navigation Header',
56
+ category: 'Header',
57
+ allowedRegions: ['header'],
58
+ settings: [
59
+ { id: 'logoImage', type: 'image', label: 'Logo Image' },
60
+ { id: 'logoWidth', type: 'number', label: 'Logo Width (px)', default: 140, min: 40, max: 350 },
61
+ { id: 'logoText', type: 'text', label: 'Store Title / Logo Text', default: 'My Store' },
62
+ { id: 'showMonogram', type: 'boolean', label: 'Show Monogram Badge', default: true },
63
+ { id: 'showAnnouncement', type: 'boolean', label: 'Show Announcement Bar', default: true },
64
+ { id: 'announcementText', type: 'text', label: 'Announcement Bar Text', default: 'Free Shipping on Orders Over ₹799 | Easy Returns | 100% Secure Payment' },
65
+ { id: 'announcementLink', type: 'url', label: 'Announcement Target Link', default: '/products' },
66
+ { id: 'searchPlaceholder', type: 'text', label: 'Search Placeholder', default: 'Search for toys, apparel, and more...' },
67
+ {
68
+ id: 'menuId',
69
+ type: 'select',
70
+ label: 'Navigation Menu',
71
+ placeholder: 'Select a navigation menu',
72
+ default: null,
73
+ options: [],
74
+ },
75
+ {
76
+ id: 'menuAlignment',
77
+ type: 'select',
78
+ label: 'Navigation Alignment',
79
+ default: 'center',
80
+ options: [
81
+ { label: 'Left', value: 'left' },
82
+ { label: 'Center', value: 'center' },
83
+ { label: 'Right', value: 'right' },
84
+ ],
85
+ },
86
+ {
87
+ id: 'topLevelSize',
88
+ type: 'select',
89
+ label: 'Top Level Font Size',
90
+ default: '15px',
91
+ options: [
92
+ { label: '12px', value: '12px' },
93
+ { label: '13px', value: '13px' },
94
+ { label: '14px', value: '14px' },
95
+ { label: '15px', value: '15px' },
96
+ { label: '16px', value: '16px' },
97
+ { label: '18px', value: '18px' },
98
+ ],
99
+ },
100
+ {
101
+ id: 'case',
102
+ type: 'select',
103
+ label: 'Menu Text Case',
104
+ default: 'default',
105
+ options: [
106
+ { label: 'Default', value: 'default' },
107
+ { label: 'Uppercase', value: 'uppercase' },
108
+ ],
109
+ },
110
+ { id: 'backgroundColor', type: 'color', label: 'Header Background Color' },
111
+ { id: 'menuBackgroundColor', type: 'color', label: 'Menu Background Color (Alias)' },
112
+ { id: 'textColor', type: 'color', label: 'Header & Navigation Text Color' },
113
+ { id: 'menuTextColor', type: 'color', label: 'Menu Text Color (Alias)' },
114
+ { id: 'sticky', type: 'boolean', label: 'Sticky on Scroll', default: true },
115
+ { id: 'showSearch', type: 'boolean', label: 'Show Search Bar', default: true },
116
+ { id: 'showSearchBar', type: 'boolean', label: 'Show Search Bar (Alias)', default: true },
117
+ { id: 'showWishlist', type: 'boolean', label: 'Show Wishlist Link', default: true },
118
+ { id: 'showAccount', type: 'boolean', label: 'Show Account Link', default: true },
119
+ { id: 'showCart', type: 'boolean', label: 'Show Cart Button', default: true },
120
+ ],
121
+ blocks: [
122
+ {
123
+ type: 'logo',
124
+ label: 'Logo',
125
+ max: 1,
126
+ settings: [
127
+ { id: 'logoImage', type: 'image', label: 'Logo Image' },
128
+ { id: 'logoWidth', type: 'number', label: 'Logo Width (px)', default: 140, min: 40, max: 350 },
129
+ { id: 'logoText', type: 'text', label: 'Store Title / Logo Text', default: 'STARTER STORE' },
130
+ { id: 'showMonogram', type: 'boolean', label: 'Show Monogram Badge', default: false },
131
+ ],
132
+ },
133
+ {
134
+ type: 'menu',
135
+ label: 'Menu',
136
+ max: 1,
137
+ settings: [
138
+ {
139
+ id: 'menu',
140
+ type: 'select',
141
+ label: 'Menu',
142
+ default: 'main-menu',
143
+ options: [],
144
+ },
145
+ { id: 'backgroundColor', type: 'color', label: 'Background color' },
146
+ { id: 'textColor', type: 'color', label: 'Text color' },
147
+ {
148
+ id: 'topLevelSize',
149
+ type: 'select',
150
+ label: 'Top level size',
151
+ default: '14px',
152
+ options: [
153
+ { label: '12px', value: '12px' },
154
+ { label: '13px', value: '13px' },
155
+ { label: '14px', value: '14px' },
156
+ { label: '15px', value: '15px' },
157
+ { label: '16px', value: '16px' },
158
+ { label: '18px', value: '18px' },
159
+ ],
160
+ },
161
+ {
162
+ id: 'submenuSize',
163
+ type: 'select',
164
+ label: 'Submenu size',
165
+ default: 'Medium',
166
+ options: [
167
+ { label: 'Small', value: 'Small' },
168
+ { label: 'Medium', value: 'Medium' },
169
+ { label: 'Large', value: 'Large' },
170
+ ],
171
+ },
172
+ {
173
+ id: 'font',
174
+ type: 'select',
175
+ label: 'Font',
176
+ default: 'Body',
177
+ options: [
178
+ { label: 'Body', value: 'Body' },
179
+ { label: 'Heading', value: 'Heading' },
180
+ ],
181
+ },
182
+ {
183
+ id: 'case',
184
+ type: 'select',
185
+ label: 'Case',
186
+ default: 'default',
187
+ options: [
188
+ { label: 'Default', value: 'default' },
189
+ { label: 'Uppercase', value: 'uppercase' },
190
+ ],
191
+ },
192
+ {
193
+ id: 'mediaType',
194
+ type: 'select',
195
+ label: 'Media type',
196
+ default: 'Featured products',
197
+ options: [
198
+ { label: 'None', value: 'none' },
199
+ { label: 'Featured products', value: 'Featured products' },
200
+ { label: 'Collection image', value: 'Collection image' },
201
+ ],
202
+ },
203
+ {
204
+ id: 'imageRatio',
205
+ type: 'select',
206
+ label: 'Image ratio',
207
+ default: 'Portrait',
208
+ options: [
209
+ { label: 'Portrait', value: 'Portrait' },
210
+ { label: 'Square', value: 'Square' },
211
+ { label: 'Landscape', value: 'Landscape' },
212
+ ],
213
+ },
214
+ { id: 'imageCornerRadius', type: 'number', label: 'Image corner radius (px)', default: 0, min: 0, max: 32 },
215
+ { id: 'navigationBar', type: 'boolean', label: 'Navigation bar', default: true },
216
+ { id: 'accordion', type: 'boolean', label: 'Accordion', default: true },
217
+ { id: 'dividers', type: 'boolean', label: 'Dividers', default: false },
218
+ ],
219
+ },
220
+ {
221
+ type: 'nav-item',
222
+ label: 'Navigation Link Item',
223
+ max: 16,
224
+ settings: [
225
+ { id: 'label', type: 'text', label: 'Link Title', default: 'Shop' },
226
+ { id: 'url', type: 'url', label: 'Target URL', default: '/products' },
227
+ { id: 'highlight', type: 'boolean', label: 'Highlight / Accent Link', default: false },
228
+ ],
229
+ },
230
+ {
231
+ type: 'link-item',
232
+ label: 'Navigation Link Item (Legacy)',
233
+ max: 16,
234
+ settings: [
235
+ { id: 'label', type: 'text', label: 'Link Label', required: true, default: 'Shop' },
236
+ { id: 'url', type: 'url', label: 'Target URL', required: true, default: '/products' },
237
+ { id: 'highlight', type: 'boolean', label: 'Highlight Link', default: false },
238
+ ],
239
+ },
240
+ ],
241
+ },
242
+ {
243
+ type: 'hero-slider',
244
+ label: 'Hero Carousel Slider',
245
+ category: 'Hero',
246
+ allowedRegions: ['body'],
247
+ maxBlocks: 6,
248
+ settings: [
249
+ {
250
+ id: 'height',
251
+ type: 'select',
252
+ label: 'Hero Height',
253
+ default: 'standard',
254
+ options: [
255
+ { label: 'Compact (440px)', value: 'compact' },
256
+ { label: 'Standard (540px)', value: 'standard' },
257
+ { label: 'Fullscreen Viewport', value: 'fullscreen' },
258
+ ],
259
+ },
260
+ { id: 'autoplay', type: 'boolean', label: 'Autoplay Slides', default: true },
261
+ { id: 'intervalSeconds', type: 'number', label: 'Slide Duration (Seconds)', default: 5, min: 2, max: 20 },
262
+ { id: 'showArrows', type: 'boolean', label: 'Show Navigation Arrows', default: true },
263
+ { id: 'showDots', type: 'boolean', label: 'Show Pagination Dots', default: true },
264
+ {
265
+ id: 'textAlignment',
266
+ type: 'select',
267
+ label: 'Text Alignment',
268
+ default: 'left',
269
+ options: [
270
+ { label: 'Left', value: 'left' },
271
+ { label: 'Center', value: 'center' },
272
+ { label: 'Right', value: 'right' },
273
+ ],
274
+ },
275
+ ],
276
+ blocks: [
277
+ {
278
+ type: 'slide',
279
+ label: 'Hero Slide',
280
+ max: 6,
281
+ settings: [
282
+ { id: 'badge', type: 'text', label: 'Eyebrow Badge', default: 'NEW SEASON LAUNCH' },
283
+ { id: 'heading', type: 'text', label: 'Slide Title', required: true, default: 'Autumn\nCollection 2026' },
284
+ { id: 'highlightText', type: 'text', label: 'Highlighted Italic Word', default: '2026' },
285
+ { id: 'subheading', type: 'text', label: 'Subtitle', default: 'Discover the latest seasonal trends in toys, fashion and more for every age.' },
286
+ { id: 'buttonText', type: 'text', label: 'Button Label', default: 'Shop Collection' },
287
+ { id: 'buttonLink', type: 'url', label: 'Button URL', default: '/products' },
288
+ { id: 'imageUrl', type: 'image', label: 'Background Image' },
289
+ ],
290
+ },
291
+ ],
292
+ presets: [
293
+ {
294
+ name: 'Default Hero Slider',
295
+ isDefault: true,
296
+ settings: {
297
+ autoplay: true,
298
+ intervalSeconds: 5,
299
+ },
300
+ blocks: [
301
+ {
302
+ type: 'slide',
303
+ settings: {
304
+ badge: 'NEW SEASON LAUNCH',
305
+ heading: 'Autumn\nCollection 2026',
306
+ highlightText: '2026',
307
+ subheading: 'Discover the latest seasonal trends in toys, fashion and more for every age.',
308
+ buttonText: 'Shop Collection',
309
+ buttonLink: '/products',
310
+ },
311
+ },
312
+ {
313
+ type: 'slide',
314
+ settings: {
315
+ badge: 'LIMITED DROP',
316
+ heading: 'Playful\nWonders 2026',
317
+ highlightText: '2026',
318
+ subheading: 'Thoughtfully crafted toys, apparel, and seasonal favorites built for everyday joy.',
319
+ buttonText: 'Explore Collection',
320
+ buttonLink: '/products',
321
+ },
322
+ },
323
+ ],
324
+ },
325
+ ],
326
+ },
327
+ {
328
+ type: 'featured-products',
329
+ label: 'Featured Products Grid',
330
+ category: 'Products',
331
+ allowedRegions: ['body'],
332
+ settings: [
333
+ { id: 'title', type: 'text', label: 'Section Title', default: 'Trending This Week' },
334
+ { id: 'subtitle', type: 'text', label: 'Section Subtitle' },
335
+ { id: 'viewAllText', type: 'text', label: 'View All Label', default: 'View All' },
336
+ { id: 'viewAllUrl', type: 'url', label: 'View All URL', default: '/products' },
337
+ { id: 'columns', type: 'number', label: 'Grid Columns', default: 5, min: 2, max: 6 },
338
+ { id: 'limit', type: 'number', label: 'Products Limit', default: 5, min: 2, max: 24 },
339
+ { id: 'productLimit', type: 'number', label: 'Maximum Products Displayed', default: 5, min: 2, max: 24 },
340
+ ],
341
+ blocks: [],
342
+ },
343
+ {
344
+ type: 'category-slider',
345
+ label: 'Shop by Category Slider',
346
+ category: 'Categories',
347
+ allowedRegions: ['body'],
348
+ settings: [
349
+ { id: 'eyebrow', type: 'text', label: 'Eyebrow Label', default: 'SHOP BY CATEGORY' },
350
+ { id: 'title', type: 'text', label: 'Section Title', default: 'Explore Our Collections' },
351
+ { id: 'viewAllText', type: 'text', label: 'View All Label' },
352
+ { id: 'viewAllUrl', type: 'url', label: 'View All URL', default: '/categories' },
353
+ { id: 'limit', type: 'number', label: 'Maximum Categories', default: 6, min: 2, max: 12 },
354
+ { id: 'categoryIds', type: 'category_list', label: 'Select Categories' },
355
+ { id: 'showItemCount', type: 'boolean', label: 'Display Product Count Badge', default: false },
356
+ ],
357
+ blocks: [],
358
+ },
359
+ {
360
+ type: 'banner-grid',
361
+ label: 'Promotional Banner Grid',
362
+ category: 'Showcase',
363
+ allowedRegions: ['body'],
364
+ maxBlocks: 4,
365
+ settings: [
366
+ { id: 'columns', type: 'number', label: 'Columns', default: 2, min: 1, max: 4 },
367
+ {
368
+ id: 'variant',
369
+ type: 'select',
370
+ label: 'Banner Style Variant',
371
+ default: 'default',
372
+ options: [
373
+ { label: 'Default', value: 'default' },
374
+ { label: 'VIP Club Banner', value: 'vip-club' },
375
+ ],
376
+ },
377
+ { id: 'title', type: 'text', label: 'Banner Title' },
378
+ { id: 'accentText', type: 'text', label: 'Highlighted Italic Phrase' },
379
+ { id: 'subtitle', type: 'text', label: 'Banner Subtitle' },
380
+ { id: 'buttonText', type: 'text', label: 'Button Label' },
381
+ { id: 'linkUrl', type: 'url', label: 'Target Link' },
382
+ { id: 'perks', type: 'text', label: 'Perks List (Pipe Separated)' },
383
+ ],
384
+ blocks: [
385
+ {
386
+ type: 'card-item',
387
+ label: 'Promo Banner Card',
388
+ settings: [
389
+ { id: 'title', type: 'text', label: 'Banner Headline', required: true },
390
+ { id: 'accentText', type: 'text', label: 'Highlighted Italic Phrase' },
391
+ { id: 'subtitle', type: 'text', label: 'Offer Text' },
392
+ { id: 'buttonText', type: 'text', label: 'Button Label', default: 'Shop Now' },
393
+ { id: 'linkUrl', type: 'url', label: 'Target Link' },
394
+ { id: 'imageUrl', type: 'image', label: 'Banner Image' },
395
+ {
396
+ id: 'themeVariant',
397
+ type: 'select',
398
+ label: 'Card Tone',
399
+ default: 'warm-blush',
400
+ options: [
401
+ { label: 'Warm Blush', value: 'warm-blush' },
402
+ { label: 'Cool Mist', value: 'cool-mist' },
403
+ ],
404
+ },
405
+ { id: 'perks', type: 'text', label: 'Perks List (Pipe Separated)' },
406
+ ],
407
+ },
408
+ ],
409
+ },
410
+ {
411
+ type: 'rich-text',
412
+ label: 'Brand Narrative & Rich Text',
413
+ category: 'Content',
414
+ allowedRegions: ['body'],
415
+ settings: [
416
+ { id: 'title', type: 'text', label: 'Heading', default: 'Crafted with Passion' },
417
+ { id: 'heading', type: 'text', label: 'Alternate Heading', default: 'Crafted with Passion' },
418
+ { id: 'content', type: 'textarea', label: 'Body Text', default: 'Sustainable fashion crafted for everyday elegance.' },
419
+ { id: 'body', type: 'textarea', label: 'Alternate Body Text', default: 'Sustainable fashion crafted for everyday elegance.' },
420
+ {
421
+ id: 'alignment',
422
+ type: 'select',
423
+ label: 'Text Alignment',
424
+ default: 'center',
425
+ options: [
426
+ { label: 'Left', value: 'left' },
427
+ { label: 'Center', value: 'center' },
428
+ { label: 'Right', value: 'right' },
429
+ ],
430
+ },
431
+ ],
432
+ blocks: [],
433
+ },
434
+ {
435
+ type: 'newsletter-subscribe',
436
+ label: 'Newsletter Subscription Banner',
437
+ category: 'Engagement',
438
+ allowedRegions: ['body', 'footer'],
439
+ settings: [
440
+ { id: 'heading', type: 'text', label: 'Headline', default: 'Join the Community' },
441
+ { id: 'subheading', type: 'text', label: 'Description', default: 'Subscribe to receive exclusive access to new arrivals.' },
442
+ { id: 'buttonLabel', type: 'text', label: 'Submit Button Label', default: 'Subscribe' },
443
+ ],
444
+ blocks: [],
445
+ },
446
+ {
447
+ type: 'footer-links',
448
+ label: 'Footer Navigation & Links',
449
+ category: 'Footer',
450
+ allowedRegions: ['footer'],
451
+ maxBlocks: 16,
452
+ settings: [
453
+ { id: 'logoImage', type: 'image', label: 'Footer Logo Image' },
454
+ { id: 'logoWidth', type: 'number', label: 'Logo Width (px)', default: 140, min: 40, max: 320 },
455
+ { id: 'logoText', type: 'text', label: 'Store Title / Logo Text', default: '' },
456
+ { id: 'showMonogram', type: 'boolean', label: 'Show Brand Badge Icon', default: true },
457
+ { id: 'tagline', type: 'text', label: 'Footer Tagline / Description', default: '' },
458
+ { id: 'backgroundColor', type: 'color', label: 'Footer Background Color', default: '#0e0c0b' },
459
+ { id: 'headingColor', type: 'color', label: 'Heading & Logo Color', default: '#ffffff' },
460
+ { id: 'textColor', type: 'color', label: 'Body Text Color', default: '#a8a29e' },
461
+ { id: 'linkColor', type: 'color', label: 'Link Color', default: '#d6d3d1' },
462
+ { id: 'accentColor', type: 'color', label: 'Accent / Hover Color', default: '#e5b95c' },
463
+ { id: 'address', type: 'text', label: 'Store Address', default: '' },
464
+ { id: 'email', type: 'text', label: 'Contact Email', default: '' },
465
+ { id: 'phone', type: 'text', label: 'Contact Phone', default: '' },
466
+ { id: 'hours', type: 'text', label: 'Business Hours', default: '' },
467
+ { id: 'facebookUrl', type: 'url', label: 'Facebook URL', default: '' },
468
+ { id: 'instagramUrl', type: 'url', label: 'Instagram URL', default: '' },
469
+ { id: 'youtubeUrl', type: 'url', label: 'YouTube URL', default: '' },
470
+ { id: 'twitterUrl', type: 'url', label: 'X / Twitter URL', default: '' },
471
+ { id: 'showPaymentIcons', type: 'boolean', label: 'Show Payment Badges', default: true },
472
+ { id: 'copyrightText', type: 'text', label: 'Copyright Notice', default: '© {year} {store}. All Rights Reserved.' },
473
+ ],
474
+ blocks: [
475
+ {
476
+ type: 'link-item',
477
+ label: 'Footer Navigation Link',
478
+ settings: [
479
+ { id: 'label', type: 'text', label: 'Link Text', default: 'About Us' },
480
+ { id: 'url', type: 'url', label: 'Target URL', default: '/about' },
481
+ ],
482
+ },
483
+ ],
484
+ },
485
+ {
486
+ type: 'starter-header',
487
+ label: 'Main Header Navigation',
488
+ category: 'Header',
489
+ allowedRegions: ['header'],
490
+ settings: [
491
+ { id: 'logoImage', type: 'image', label: 'Logo Image' },
492
+ { id: 'logoWidth', type: 'number', label: 'Logo Width (px)', default: 140, min: 40, max: 350 },
493
+ { id: 'logoText', type: 'text', label: 'Store Title / Logo Text', default: 'My Store' },
494
+ { id: 'showMonogram', type: 'boolean', label: 'Show Monogram Badge', default: true },
495
+ { id: 'showAnnouncement', type: 'boolean', label: 'Show Announcement Bar', default: true },
496
+ { id: 'announcementText', type: 'text', label: 'Announcement Bar Text', default: 'Free Shipping on Orders Over ₹799 | Easy Returns | 100% Secure Payment' },
497
+ { id: 'announcementLink', type: 'url', label: 'Announcement Target Link', default: '/products' },
498
+ { id: 'searchPlaceholder', type: 'text', label: 'Search Placeholder', default: 'Search for toys, apparel, and more...' },
499
+ {
500
+ id: 'menuId',
501
+ type: 'select',
502
+ label: 'Navigation Menu',
503
+ placeholder: 'Select a navigation menu',
504
+ default: null,
505
+ options: [],
506
+ },
507
+ {
508
+ id: 'menuAlignment',
509
+ type: 'select',
510
+ label: 'Navigation Alignment',
511
+ default: 'center',
512
+ options: [
513
+ { label: 'Left', value: 'left' },
514
+ { label: 'Center', value: 'center' },
515
+ { label: 'Right', value: 'right' },
516
+ ],
517
+ },
518
+ {
519
+ id: 'topLevelSize',
520
+ type: 'select',
521
+ label: 'Top Level Font Size',
522
+ default: '15px',
523
+ options: [
524
+ { label: '12px', value: '12px' },
525
+ { label: '13px', value: '13px' },
526
+ { label: '14px', value: '14px' },
527
+ { label: '15px', value: '15px' },
528
+ { label: '16px', value: '16px' },
529
+ { label: '18px', value: '18px' },
530
+ ],
531
+ },
532
+ {
533
+ id: 'case',
534
+ type: 'select',
535
+ label: 'Menu Text Case',
536
+ default: 'default',
537
+ options: [
538
+ { label: 'Default', value: 'default' },
539
+ { label: 'Uppercase', value: 'uppercase' },
540
+ ],
541
+ },
542
+ { id: 'backgroundColor', type: 'color', label: 'Header Background Color' },
543
+ { id: 'menuBackgroundColor', type: 'color', label: 'Menu Background Color (Alias)' },
544
+ { id: 'textColor', type: 'color', label: 'Header & Navigation Text Color' },
545
+ { id: 'menuTextColor', type: 'color', label: 'Menu Text Color (Alias)' },
546
+ { id: 'sticky', type: 'boolean', label: 'Sticky on Scroll', default: true },
547
+ { id: 'showSearch', type: 'boolean', label: 'Show Search Bar', default: true },
548
+ { id: 'showSearchBar', type: 'boolean', label: 'Show Search Bar (Alias)', default: true },
549
+ { id: 'showWishlist', type: 'boolean', label: 'Show Wishlist Link', default: true },
550
+ { id: 'showAccount', type: 'boolean', label: 'Show Account Link', default: true },
551
+ { id: 'showCart', type: 'boolean', label: 'Show Cart Button', default: true },
552
+ ],
553
+ blocks: [
554
+ {
555
+ type: 'nav-item',
556
+ label: 'Navigation Link Item',
557
+ max: 16,
558
+ settings: [
559
+ { id: 'label', type: 'text', label: 'Link Title', default: 'Shop' },
560
+ { id: 'url', type: 'url', label: 'Target URL', default: '/products' },
561
+ { id: 'highlight', type: 'boolean', label: 'Highlight / Accent Link', default: false },
562
+ ],
563
+ },
564
+ {
565
+ type: 'menu',
566
+ label: 'Menu',
567
+ max: 1,
568
+ settings: [
569
+ {
570
+ id: 'menu',
571
+ type: 'select',
572
+ label: 'Menu',
573
+ default: 'main-menu',
574
+ options: [],
575
+ },
576
+ { id: 'backgroundColor', type: 'color', label: 'Background color' },
577
+ { id: 'textColor', type: 'color', label: 'Text color' },
578
+ {
579
+ id: 'topLevelSize',
580
+ type: 'select',
581
+ label: 'Top level size',
582
+ default: '14px',
583
+ options: [
584
+ { label: '12px', value: '12px' },
585
+ { label: '13px', value: '13px' },
586
+ { label: '14px', value: '14px' },
587
+ { label: '15px', value: '15px' },
588
+ { label: '16px', value: '16px' },
589
+ { label: '18px', value: '18px' },
590
+ ],
591
+ },
592
+ {
593
+ id: 'submenuSize',
594
+ type: 'select',
595
+ label: 'Submenu size',
596
+ default: 'Medium',
597
+ options: [
598
+ { label: 'Small', value: 'Small' },
599
+ { label: 'Medium', value: 'Medium' },
600
+ { label: 'Large', value: 'Large' },
601
+ ],
602
+ },
603
+ {
604
+ id: 'font',
605
+ type: 'select',
606
+ label: 'Font',
607
+ default: 'Body',
608
+ options: [
609
+ { label: 'Body', value: 'Body' },
610
+ { label: 'Heading', value: 'Heading' },
611
+ ],
612
+ },
613
+ {
614
+ id: 'case',
615
+ type: 'select',
616
+ label: 'Case',
617
+ default: 'default',
618
+ options: [
619
+ { label: 'Default', value: 'default' },
620
+ { label: 'Uppercase', value: 'uppercase' },
621
+ ],
622
+ },
623
+ {
624
+ id: 'mediaType',
625
+ type: 'select',
626
+ label: 'Media type',
627
+ default: 'Featured products',
628
+ options: [
629
+ { label: 'None', value: 'none' },
630
+ { label: 'Featured products', value: 'Featured products' },
631
+ { label: 'Collection image', value: 'Collection image' },
632
+ ],
633
+ },
634
+ {
635
+ id: 'imageRatio',
636
+ type: 'select',
637
+ label: 'Image ratio',
638
+ default: 'Portrait',
639
+ options: [
640
+ { label: 'Portrait', value: 'Portrait' },
641
+ { label: 'Square', value: 'Square' },
642
+ { label: 'Landscape', value: 'Landscape' },
643
+ ],
644
+ },
645
+ { id: 'imageCornerRadius', type: 'number', label: 'Image corner radius (px)', default: 0, min: 0, max: 32 },
646
+ { id: 'navigationBar', type: 'boolean', label: 'Navigation bar', default: true },
647
+ { id: 'accordion', type: 'boolean', label: 'Accordion', default: true },
648
+ { id: 'dividers', type: 'boolean', label: 'Dividers', default: false },
649
+ ],
650
+ },
651
+ {
652
+ type: 'logo',
653
+ label: 'Logo',
654
+ max: 1,
655
+ settings: [
656
+ { id: 'logoImage', type: 'image', label: 'Logo Image' },
657
+ { id: 'logoWidth', type: 'number', label: 'Logo Width (px)', default: 140, min: 40, max: 350 },
658
+ { id: 'logoText', type: 'text', label: 'Store Title / Logo Text', default: 'STARTER STORE' },
659
+ { id: 'showMonogram', type: 'boolean', label: 'Show Monogram Badge', default: false },
660
+ ],
661
+ },
662
+ ],
663
+ },
664
+ {
665
+ type: 'starter-hero',
666
+ label: 'Hero Billboard Banner',
667
+ category: 'Hero',
668
+ allowedRegions: ['body'],
669
+ settings: [
670
+ { id: 'heading', type: 'text', label: 'Headline', default: 'GOOD THINGS TAKE TIME' },
671
+ { id: 'subheading', type: 'text', label: 'Sub-headline', default: 'Discover our new collection of premium products for a better everyday.' },
672
+ { id: 'buttonText', type: 'text', label: 'Button Label', default: 'Shop Now' },
673
+ { id: 'buttonLink', type: 'url', label: 'Button Destination', default: '/products' },
674
+ { id: 'badge', type: 'text', label: 'Accent Tag Badge', default: 'NEW SEASON 2026' },
675
+ ],
676
+ blocks: [],
677
+ },
678
+ {
679
+ type: 'starter-featured-grid',
680
+ label: 'Featured Products Grid',
681
+ category: 'Products',
682
+ allowedRegions: ['body'],
683
+ settings: [
684
+ { id: 'title', type: 'text', label: 'Section Title', default: 'Featured Products' },
685
+ { id: 'subtitle', type: 'text', label: 'Section Subtitle', default: 'Trending products crafted with uncompromising quality.' },
686
+ { id: 'limit', type: 'number', label: 'Max Products', default: 4, min: 2, max: 16 },
687
+ ],
688
+ blocks: [],
689
+ },
690
+ {
691
+ type: 'starter-promo-banner',
692
+ label: 'Promotional Callout',
693
+ category: 'Promotional',
694
+ allowedRegions: ['body'],
695
+ settings: [
696
+ { id: 'tagline', type: 'text', label: 'Tagline', default: 'Free shipping on orders over ₹999' },
697
+ { id: 'ctaText', type: 'text', label: 'Action Text', default: 'Shop Now' },
698
+ { id: 'ctaLink', type: 'url', label: 'Action URL', default: '/products' },
699
+ ],
700
+ blocks: [],
701
+ },
702
+ {
703
+ type: 'starter-footer',
704
+ label: 'Store Footer & Colophon',
705
+ category: 'Footer',
706
+ allowedRegions: ['footer'],
707
+ settings: [
708
+ { id: 'logoImage', type: 'image', label: 'Footer Logo Image' },
709
+ { id: 'logoWidth', type: 'number', label: 'Logo Width (px)', default: 140, min: 40, max: 320 },
710
+ { id: 'logoText', type: 'text', label: 'Store Title / Logo Text', default: '' },
711
+ { id: 'showMonogram', type: 'boolean', label: 'Show Brand Badge Icon', default: true },
712
+ { id: 'tagline', type: 'text', label: 'Footer Tagline', default: '' },
713
+ { id: 'backgroundColor', type: 'color', label: 'Footer Background Color', default: '#0e0c0b' },
714
+ { id: 'headingColor', type: 'color', label: 'Heading & Logo Color', default: '#ffffff' },
715
+ { id: 'textColor', type: 'color', label: 'Body Text Color', default: '#a8a29e' },
716
+ { id: 'linkColor', type: 'color', label: 'Link Color', default: '#d6d3d1' },
717
+ { id: 'accentColor', type: 'color', label: 'Accent / Hover Color', default: '#e5b95c' },
718
+ { id: 'address', type: 'text', label: 'Store Address', default: '' },
719
+ { id: 'email', type: 'text', label: 'Contact Email', default: '' },
720
+ { id: 'phone', type: 'text', label: 'Contact Phone', default: '' },
721
+ { id: 'hours', type: 'text', label: 'Business Hours', default: '' },
722
+ { id: 'facebookUrl', type: 'url', label: 'Facebook URL', default: '' },
723
+ { id: 'instagramUrl', type: 'url', label: 'Instagram URL', default: '' },
724
+ { id: 'youtubeUrl', type: 'url', label: 'YouTube URL', default: '' },
725
+ { id: 'twitterUrl', type: 'url', label: 'X / Twitter URL', default: '' },
726
+ { id: 'showPaymentIcons', type: 'boolean', label: 'Show Payment Badges', default: true },
727
+ { id: 'copyrightText', type: 'text', label: 'Copyright Notice', default: '© {year} {store}. All Rights Reserved.' },
728
+ ],
729
+ maxBlocks: 16,
730
+ blocks: [{
731
+ type: 'link-item', label: 'Footer link', settings: [
732
+ { id: 'label', type: 'text', label: 'Link text', default: 'Link' },
733
+ { id: 'url', type: 'url', label: 'Destination' },
734
+ ]
735
+ }],
736
+ },
737
+ {
738
+ type: 'announcement-bar',
739
+ label: 'Announcement Bar',
740
+ category: 'Header',
741
+ allowedRegions: ['header', 'body'],
742
+ settings: [
743
+ { id: 'enabled', type: 'boolean', label: 'Enable Announcement Bar', default: true },
744
+ { id: 'text', type: 'text', label: 'Announcement Message', default: 'Free domestic shipping on orders over ₹999' },
745
+ { id: 'linkUrl', type: 'url', label: 'Target URL', default: '/products' },
746
+ { id: 'linkText', type: 'text', label: 'Link Label', default: 'Shop Now' },
747
+ { id: 'dismissible', type: 'boolean', label: 'Allow Dismissal', default: false },
748
+ { id: 'backgroundColor', type: 'color', label: 'Background Color' },
749
+ { id: 'textColor', type: 'color', label: 'Text Color' },
750
+ ],
751
+ blocks: [],
752
+ },
753
+ {
754
+ type: 'services-features',
755
+ label: 'Store Assurances & Trust Badges',
756
+ category: 'Trust & Proof',
757
+ allowedRegions: ['body', 'footer'],
758
+ maxBlocks: 6,
759
+ settings: [
760
+ { id: 'title', type: 'text', label: 'Section Title', default: '' },
761
+ { id: 'subtitle', type: 'text', label: 'Section Subtitle', default: '' },
762
+ { id: 'columns', type: 'number', label: 'Columns (Desktop)', default: 4, min: 2, max: 4 },
763
+ { id: 'bordered', type: 'boolean', label: 'Bordered Card Style', default: false },
764
+ {
765
+ id: 'variant',
766
+ type: 'select',
767
+ label: 'Display Variant',
768
+ default: 'strip',
769
+ options: [
770
+ { label: 'Horizontal Strip', value: 'strip' },
771
+ { label: 'Cards', value: 'cards' },
772
+ ],
773
+ },
774
+ ],
775
+ blocks: [
776
+ {
777
+ type: 'feature-item',
778
+ label: 'Assurance Item',
779
+ settings: [
780
+ { id: 'title', type: 'text', label: 'Feature Title', required: true, default: 'Free Express Shipping' },
781
+ { id: 'description', type: 'text', label: 'Short Description', default: 'On all orders over ₹999' },
782
+ {
783
+ id: 'icon',
784
+ type: 'select',
785
+ label: 'Badge Icon',
786
+ default: 'truck',
787
+ options: [
788
+ { label: 'Delivery Truck', value: 'truck' },
789
+ { label: 'Security Shield', value: 'shield' },
790
+ { label: 'Hassle-Free Returns', value: 'refresh' },
791
+ { label: '24/7 Support', value: 'headphones' },
792
+ { label: 'Packaging', value: 'package' },
793
+ { label: 'Encrypted Payment', value: 'lock' },
794
+ { label: 'Star', value: 'star' },
795
+ ],
796
+ },
797
+ ],
798
+ },
799
+ ],
800
+ },
801
+ {
802
+ type: 'testimonials',
803
+ label: 'Customer Testimonials & Reviews',
804
+ category: 'Trust & Proof',
805
+ allowedRegions: ['body'],
806
+ maxBlocks: 6,
807
+ settings: [
808
+ { id: 'title', type: 'text', label: 'Section Title', default: 'Loved by Customers' },
809
+ { id: 'subtitle', type: 'text', label: 'Section Subtitle', default: 'What real customers say about shopping with us' },
810
+ { id: 'columns', type: 'number', label: 'Columns (Desktop)', default: 3, min: 1, max: 4 },
811
+ ],
812
+ blocks: [
813
+ {
814
+ type: 'testimonial-item',
815
+ label: 'Testimonial Review',
816
+ settings: [
817
+ { id: 'quote', type: 'textarea', label: 'Customer Quote', required: true, default: 'Super fast delivery and great quality!' },
818
+ { id: 'author', type: 'text', label: 'Author Name', required: true, default: 'Customer' },
819
+ { id: 'role', type: 'text', label: 'Role / City', default: 'Verified Buyer' },
820
+ { id: 'rating', type: 'number', label: 'Star Rating (1-5)', default: 5, min: 1, max: 5 },
821
+ ],
822
+ },
823
+ ],
824
+ },
825
+ {
826
+ type: 'faq-accordion',
827
+ label: 'Frequently Asked Questions',
828
+ category: 'Information',
829
+ allowedRegions: ['body'],
830
+ maxBlocks: 12,
831
+ settings: [
832
+ { id: 'title', type: 'text', label: 'Section Title', default: 'Frequently Asked Questions' },
833
+ { id: 'subtitle', type: 'text', label: 'Section Subtitle', default: 'Quick answers to common questions' },
834
+ ],
835
+ blocks: [
836
+ {
837
+ type: 'faq-item',
838
+ label: 'FAQ Question Item',
839
+ settings: [
840
+ { id: 'question', type: 'text', label: 'Question', required: true, default: 'How long does shipping take?' },
841
+ { id: 'answer', type: 'textarea', label: 'Answer', required: true, default: 'Orders are typically delivered within 3-5 business days.' },
842
+ ],
843
+ },
844
+ ],
845
+ },
846
+ {
847
+ type: 'about-story',
848
+ label: 'Brand Story & Store Policies',
849
+ category: 'Content',
850
+ allowedRegions: ['body'],
851
+ maxBlocks: 4,
852
+ settings: [
853
+ { id: 'tagline', type: 'text', label: 'Category Tagline', default: 'About Our Brand' },
854
+ { id: 'title', type: 'text', label: 'Main Story Headline', default: 'Quality products made with passion' },
855
+ { id: 'description', type: 'textarea', label: 'Body Narrative', default: 'We are dedicated to providing thoughtfully crafted essentials with uncompromising standards.' },
856
+ { id: 'imageUrl', type: 'image', label: 'Editorial Visual' },
857
+ { id: 'buttonLabel', type: 'text', label: 'Button Label', default: 'Learn More' },
858
+ { id: 'buttonLink', type: 'url', label: 'Button Link', default: '/pages/about' },
859
+ ],
860
+ blocks: [
861
+ {
862
+ type: 'card-item',
863
+ label: 'Highlight Pillar',
864
+ settings: [
865
+ { id: 'title', type: 'text', label: 'Pillar Title', required: true, default: 'Ethical Sourcing' },
866
+ { id: 'description', type: 'text', label: 'Pillar Detail', default: 'Crafted with premium materials' },
867
+ ],
868
+ },
869
+ ],
870
+ },
871
+ ...contentBuilderSections,
872
+ {
873
+ type: 'custom-form',
874
+ label: 'Custom Form',
875
+ category: 'Forms & Interaction',
876
+ allowedRegions: ['body'],
877
+ settings: [
878
+ { id: 'heading', type: 'text', label: 'Section Heading', default: 'Get In Touch' },
879
+ { id: 'description', type: 'textarea', label: 'Description', default: 'Please fill out this form and we will get back to you shortly.' },
880
+ { id: 'formId', type: 'select', label: 'Select Custom Form', default: '' },
881
+ {
882
+ id: 'containerWidth',
883
+ type: 'select',
884
+ label: 'Container Width',
885
+ default: 'boxed',
886
+ options: [
887
+ { label: 'Boxed', value: 'boxed' },
888
+ { label: 'Full Width', value: 'full' },
889
+ ],
890
+ },
891
+ { id: 'backgroundColor', type: 'color', label: 'Background Color' },
892
+ ],
893
+ presets: [
894
+ {
895
+ name: 'default',
896
+ label: 'Standard Custom Form',
897
+ default: true,
898
+ settings: {
899
+ heading: 'Get In Touch',
900
+ description: 'Have questions or need assistance? Fill out the form below.',
901
+ formId: '',
902
+ containerWidth: 'boxed',
903
+ },
904
+ },
905
+ ],
906
+ blocks: [],
907
+ },
908
+ {
909
+ type: 'footer-builder',
910
+ label: 'Global Footer Builder',
911
+ category: 'Footer',
912
+ allowedRegions: ['footer'],
913
+ settings: [
914
+ { id: 'enabled', type: 'boolean', label: 'Enable Footer', default: true },
915
+ { id: 'showLogo', type: 'boolean', label: 'Show Store Logo', default: true },
916
+ { id: 'logoImage', type: 'image', label: 'Footer Logo Image' },
917
+ { id: 'logoWidth', type: 'number', label: 'Logo Width (px)', default: 140, min: 40, max: 320 },
918
+ { id: 'logoText', type: 'text', label: 'Store Title / Logo Text', default: '' },
919
+ { id: 'tagline', type: 'text', label: 'Footer Tagline', default: '' },
920
+ { id: 'copyrightText', type: 'text', label: 'Copyright Notice', default: '' },
921
+ { id: 'showPaymentIcons', type: 'boolean', label: 'Show Payment Badges', default: true },
922
+ { id: 'backgroundColor', type: 'color', label: 'Background Color', default: '#0f172a' },
923
+ { id: 'backgroundImage', type: 'image', label: 'Background Image' },
924
+ { id: 'textColor', type: 'color', label: 'Text Color', default: '#94a3b8' },
925
+ { id: 'headingColor', type: 'color', label: 'Heading Color', default: '#f8fafc' },
926
+ { id: 'linkColor', type: 'color', label: 'Link Color', default: '#cbd5e1' },
927
+ { id: 'linkHoverColor', type: 'color', label: 'Link Hover Color', default: '#38bdf8' },
928
+ { id: 'fontFamily', type: 'select', label: 'Typography', default: 'inherit', options: [{ label: 'Default', value: 'inherit' }] },
929
+ { id: 'paddingTop', type: 'number', label: 'Padding Top (px)', default: 64 },
930
+ { id: 'paddingBottom', type: 'number', label: 'Padding Bottom (px)', default: 40 },
931
+ { id: 'borderTopWidth', type: 'number', label: 'Border Top Width (px)', default: 1 },
932
+ { id: 'borderTopColor', type: 'color', label: 'Border Top Color', default: '#1e293b' },
933
+ { id: 'dividerColor', type: 'color', label: 'Divider Color', default: '#334155' },
934
+ { id: 'stackOnMobile', type: 'boolean', label: 'Stack On Mobile', default: true },
935
+ { id: 'hideOnMobile', type: 'boolean', label: 'Hide on Mobile', default: false },
936
+ { id: 'hideOnTablet', type: 'boolean', label: 'Hide on Tablet', default: false },
937
+ { id: 'hideOnDesktop', type: 'boolean', label: 'Hide on Desktop', default: false },
938
+ { id: 'footerConfig', type: 'text', label: 'Footer JSON Configuration', default: '' },
939
+ ],
940
+ presets: [
941
+ {
942
+ name: 'default',
943
+ label: 'Default Global Footer',
944
+ default: true,
945
+ settings: {
946
+ enabled: true,
947
+ backgroundColor: '#0f172a',
948
+ textColor: '#94a3b8',
949
+ headingColor: '#f8fafc',
950
+ linkColor: '#cbd5e1',
951
+ linkHoverColor: '#38bdf8',
952
+ paddingTop: 64,
953
+ paddingBottom: 40,
954
+ borderTopWidth: 1,
955
+ borderTopColor: '#1e293b',
956
+ dividerColor: '#334155',
957
+ stackOnMobile: true,
958
+ },
959
+ },
960
+ ],
961
+ blocks: [],
962
+ },
963
+ RAW_HTML_SECTION_MANIFEST,
964
+ ].map((sec) => ({
965
+ ...sec,
966
+ settings: withGlobalSettings(sec.settings as any),
967
+ })) as any,
968
+ blocks: starterBlocks,
969
+ globalSettingsSchema: starterSettingsSchema,
970
+ defaultGlobalSettings: starterSettingsDefaults,
971
+ templates: starterJsonTemplates,
972
+ layouts: { default: defaultJsonLayout },
973
+ defaultLayout: defaultLayout as any,
974
+ defaultPages: defaultPages as any,
975
+ };
976
+