@ikas/code-components-mcp 1.4.0-beta.156 → 1.4.0-beta.158

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 (47) hide show
  1. package/data/section-templates/account-info-section/children/AccountFavorites/ikas-config-snippet.json +13 -0
  2. package/data/section-templates/account-info-section/ikas-config-snippet.json +19 -0
  3. package/data/section-templates/add-to-cart/ikas-config-snippet.json +17 -0
  4. package/data/section-templates/blog-home-section/ikas-config-snippet.json +2 -0
  5. package/data/section-templates/blog-post-section/ikas-config-snippet.json +2 -0
  6. package/data/section-templates/bundle-products/hooks/useBundleProducts.ts +7 -6
  7. package/data/section-templates/bundle-products/ikas-config-snippet.json +20 -0
  8. package/data/section-templates/category-images-section/children/CategoryImageItem/ikas-config-snippet.json +4 -0
  9. package/data/section-templates/category-images-section/ikas-config-snippet.json +15 -0
  10. package/data/section-templates/category-list-section/children/CardProductName/ikas-config-snippet.json +2 -1
  11. package/data/section-templates/category-list-section/ikas-config-snippet.json +21 -0
  12. package/data/section-templates/component-renderer/ikas-config-snippet.json +13 -0
  13. package/data/section-templates/favorites/ikas-config-snippet.json +18 -1
  14. package/data/section-templates/features-section/ikas-config-snippet.json +13 -0
  15. package/data/section-templates/footer-section/ikas-config-snippet.json +15 -0
  16. package/data/section-templates/header-section/children/Announcements/ikas-config-snippet.json +7 -0
  17. package/data/section-templates/header-section/children/CookieBar/ikas-config-snippet.json +3 -0
  18. package/data/section-templates/header-section/children/Navbar/ikas-config-snippet.json +27 -0
  19. package/data/section-templates/header-section/ikas-config-snippet.json +13 -0
  20. package/data/section-templates/hero-slider-section/children/HeroSliderItem/ikas-config-snippet.json +18 -0
  21. package/data/section-templates/hero-slider-section/ikas-config-snippet.json +13 -0
  22. package/data/section-templates/image-handling/ikas-config-snippet.json +52 -0
  23. package/data/section-templates/login-section/ikas-config-snippet.json +2 -0
  24. package/data/section-templates/navigation/ikas-config-snippet.json +27 -0
  25. package/data/section-templates/product-detail-section/children/ProductDetailAddToCart/ikas-config-snippet.json +17 -0
  26. package/data/section-templates/product-detail-section/children/ProductDetailBackInStock/ikas-config-snippet.json +16 -0
  27. package/data/section-templates/product-detail-section/children/ProductDetailBundleFurniture/ikas-config-snippet.json +18 -0
  28. package/data/section-templates/product-detail-section/children/ProductDetailBundleProduct/ikas-config-snippet.json +20 -0
  29. package/data/section-templates/product-detail-section/children/ProductDetailDescription/ikas-config-snippet.json +27 -0
  30. package/data/section-templates/product-detail-section/children/ProductDetailFeatures/ikas-config-snippet.json +29 -0
  31. package/data/section-templates/product-detail-section/children/ProductDetailNameFavorite/ikas-config-snippet.json +18 -1
  32. package/data/section-templates/product-detail-section/children/ProductDetailOffer/ikas-config-snippet.json +20 -0
  33. package/data/section-templates/product-detail-section/children/ProductDetailOptionSet/ikas-config-snippet.json +16 -0
  34. package/data/section-templates/product-detail-section/children/ProductDetailPrices/ikas-config-snippet.json +16 -0
  35. package/data/section-templates/product-detail-section/children/ProductDetailProductGroup/ikas-config-snippet.json +16 -0
  36. package/data/section-templates/product-detail-section/children/ProductDetailSku/ikas-config-snippet.json +16 -0
  37. package/data/section-templates/product-detail-section/children/ProductDetailVariant/ikas-config-snippet.json +17 -0
  38. package/data/section-templates/product-detail-section/hooks/useBundleProducts.ts +7 -6
  39. package/data/section-templates/product-detail-section/ikas-config-snippet.json +52 -0
  40. package/data/section-templates/product-pricing/ikas-config-snippet.json +16 -0
  41. package/data/section-templates/product-slider-section/children/CardProductName/ikas-config-snippet.json +2 -1
  42. package/data/section-templates/product-slider-section/ikas-config-snippet.json +17 -0
  43. package/data/section-templates/register-section/ikas-config-snippet.json +2 -0
  44. package/data/section-templates/variant-selection/ikas-config-snippet.json +17 -0
  45. package/data/storefront-api.json +2 -2
  46. package/data/storefront-types.json +1 -1
  47. package/package.json +1 -1
@@ -34,6 +34,19 @@
34
34
  "displayName": "Components",
35
35
  "type": "COMPONENT_LIST",
36
36
  "required": false,
37
+ "defaultValue": {
38
+ "components": [
39
+ {
40
+ "codeComponentId": "nb34u3yu-card-product-name"
41
+ },
42
+ {
43
+ "codeComponentId": "nb34u3yu-card-product-variants"
44
+ },
45
+ {
46
+ "codeComponentId": "nb34u3yu-card-product-price"
47
+ }
48
+ ]
49
+ },
37
50
  "privateVarMap": {
38
51
  "product": {
39
52
  "id": "pvm_1772803530689_1",
@@ -50,6 +50,25 @@
50
50
  "displayName": "Components",
51
51
  "type": "COMPONENT_LIST",
52
52
  "required": false,
53
+ "defaultValue": {
54
+ "components": [
55
+ {
56
+ "codeComponentId": "nb34u3yu-account-info-content"
57
+ },
58
+ {
59
+ "codeComponentId": "nb34u3yu-account-orders"
60
+ },
61
+ {
62
+ "codeComponentId": "nb34u3yu-account-addresses"
63
+ },
64
+ {
65
+ "codeComponentId": "nb34u3yu-account-favorites"
66
+ },
67
+ {
68
+ "codeComponentId": "nb34u3yu-account-order-detail"
69
+ }
70
+ ]
71
+ },
53
72
  "filteredComponentIds": [
54
73
  "<id-of-AccountInfoContent>",
55
74
  "<id-of-AccountOrders>",
@@ -40,6 +40,10 @@
40
40
  "displayName": "Top Spacing",
41
41
  "type": "TYPE",
42
42
  "required": false,
43
+ "defaultValue": {
44
+ "value": 0,
45
+ "unit": "px"
46
+ },
43
47
  "groupId": "mobile",
44
48
  "typeId": "@ikas/bp-storefront-models-MarginTopStyleType"
45
49
  },
@@ -48,6 +52,10 @@
48
52
  "displayName": "Bottom Spacing",
49
53
  "type": "TYPE",
50
54
  "required": false,
55
+ "defaultValue": {
56
+ "value": 0,
57
+ "unit": "px"
58
+ },
51
59
  "groupId": "mobile",
52
60
  "typeId": "@ikas/bp-storefront-models-MarginBottomStyleType"
53
61
  },
@@ -56,6 +64,10 @@
56
64
  "displayName": "Top Spacing",
57
65
  "type": "TYPE",
58
66
  "required": false,
67
+ "defaultValue": {
68
+ "value": 0,
69
+ "unit": "px"
70
+ },
59
71
  "groupId": "desktop",
60
72
  "typeId": "@ikas/bp-storefront-models-MarginTopStyleType"
61
73
  },
@@ -64,6 +76,10 @@
64
76
  "displayName": "Bottom Spacing",
65
77
  "type": "TYPE",
66
78
  "required": false,
79
+ "defaultValue": {
80
+ "value": 0,
81
+ "unit": "px"
82
+ },
67
83
  "groupId": "desktop",
68
84
  "typeId": "@ikas/bp-storefront-models-MarginBottomStyleType"
69
85
  },
@@ -72,6 +88,7 @@
72
88
  "displayName": "Hide Quantity Selector",
73
89
  "type": "BOOLEAN",
74
90
  "required": false,
91
+ "defaultValue": false,
75
92
  "groupId": "settings"
76
93
  },
77
94
  {
@@ -56,6 +56,7 @@
56
56
  "displayName": "Aspect Ratio",
57
57
  "type": "ENUM",
58
58
  "required": false,
59
+ "defaultValue": "Square",
59
60
  "groupId": "image-settings",
60
61
  "enumTypeId": "{{ENUM_ID:AspectRatio}}"
61
62
  },
@@ -64,6 +65,7 @@
64
65
  "displayName": "Image Fit",
65
66
  "type": "ENUM",
66
67
  "required": false,
68
+ "defaultValue": "Cover",
67
69
  "groupId": "image-settings",
68
70
  "enumTypeId": "{{ENUM_ID:ObjectFit}}"
69
71
  },
@@ -41,6 +41,7 @@
41
41
  "displayName": "Aspect Ratio",
42
42
  "type": "ENUM",
43
43
  "required": false,
44
+ "defaultValue": "Square",
44
45
  "groupId": "appearance",
45
46
  "enumTypeId": "{{ENUM_ID:AspectRatio}}"
46
47
  },
@@ -49,6 +50,7 @@
49
50
  "displayName": "Image Fit",
50
51
  "type": "ENUM",
51
52
  "required": false,
53
+ "defaultValue": "Cover",
52
54
  "groupId": "appearance",
53
55
  "enumTypeId": "{{ENUM_ID:ObjectFit}}"
54
56
  },
@@ -9,15 +9,16 @@ import {
9
9
  cartStore,
10
10
  waitForCartStoreInit,
11
11
  } from "@ikas/bp-storefront";
12
- import { runInAction } from "mobx";
13
12
  import { adjustBundleProductQuantity } from "../utils/bundle";
14
13
 
14
+ // No mobx action wrapper needed: adjustments go through the public
15
+ // setBundleProductQuantity API (plain mutation, same as the SDK's own usage
16
+ // examples), and keeping the theme free of direct mobx imports lets the
17
+ // scaffold install cleanly under pnpm's strict node_modules layout.
15
18
  function adjustBundleQuantities(products: IkasBundleProduct[]) {
16
- runInAction(() => {
17
- for (const bp of products) {
18
- adjustBundleProductQuantity(bp);
19
- }
20
- });
19
+ for (const bp of products) {
20
+ adjustBundleProductQuantity(bp);
21
+ }
21
22
  }
22
23
 
23
24
  export function useBundleProducts(product: IkasProduct | null | undefined) {
@@ -16,6 +16,10 @@
16
16
  "displayName": "Top Spacing",
17
17
  "type": "TYPE",
18
18
  "required": false,
19
+ "defaultValue": {
20
+ "value": 0,
21
+ "unit": "px"
22
+ },
19
23
  "groupId": "mobile",
20
24
  "typeId": "@ikas/bp-storefront-models-MarginTopStyleType"
21
25
  },
@@ -24,6 +28,10 @@
24
28
  "displayName": "Bottom Spacing",
25
29
  "type": "TYPE",
26
30
  "required": false,
31
+ "defaultValue": {
32
+ "value": 0,
33
+ "unit": "px"
34
+ },
27
35
  "groupId": "mobile",
28
36
  "typeId": "@ikas/bp-storefront-models-MarginBottomStyleType"
29
37
  },
@@ -32,6 +40,10 @@
32
40
  "displayName": "Top Spacing",
33
41
  "type": "TYPE",
34
42
  "required": false,
43
+ "defaultValue": {
44
+ "value": 0,
45
+ "unit": "px"
46
+ },
35
47
  "groupId": "desktop",
36
48
  "typeId": "@ikas/bp-storefront-models-MarginTopStyleType"
37
49
  },
@@ -40,6 +52,10 @@
40
52
  "displayName": "Bottom Spacing",
41
53
  "type": "TYPE",
42
54
  "required": false,
55
+ "defaultValue": {
56
+ "value": 0,
57
+ "unit": "px"
58
+ },
43
59
  "groupId": "desktop",
44
60
  "typeId": "@ikas/bp-storefront-models-MarginBottomStyleType"
45
61
  },
@@ -48,6 +64,7 @@
48
64
  "displayName": "Furniture Bundle Mode",
49
65
  "type": "BOOLEAN",
50
66
  "required": false,
67
+ "defaultValue": false,
51
68
  "groupId": "settings"
52
69
  },
53
70
  {
@@ -55,6 +72,7 @@
55
72
  "displayName": "Disable Product Link",
56
73
  "type": "BOOLEAN",
57
74
  "required": false,
75
+ "defaultValue": false,
58
76
  "groupId": "settings"
59
77
  },
60
78
  {
@@ -86,6 +104,7 @@
86
104
  "displayName": "Aspect Ratio",
87
105
  "type": "ENUM",
88
106
  "required": false,
107
+ "defaultValue": "Square",
89
108
  "groupId": "appearance",
90
109
  "enumTypeId": "{{ENUM_ID:AspectRatio}}"
91
110
  },
@@ -94,6 +113,7 @@
94
113
  "displayName": "Image Fit",
95
114
  "type": "ENUM",
96
115
  "required": false,
116
+ "defaultValue": "Cover",
97
117
  "groupId": "appearance",
98
118
  "enumTypeId": "{{ENUM_ID:ObjectFit}}"
99
119
  }
@@ -24,6 +24,7 @@
24
24
  "displayName": "Dark Overlay",
25
25
  "type": "BOOLEAN",
26
26
  "required": false,
27
+ "defaultValue": false,
27
28
  "groupId": "desktop"
28
29
  },
29
30
  {
@@ -39,6 +40,7 @@
39
40
  "displayName": "Image Fit",
40
41
  "type": "ENUM",
41
42
  "required": false,
43
+ "defaultValue": "Cover",
42
44
  "groupId": "desktop",
43
45
  "enumTypeId": "{{ENUM_ID:ObjectFit}}"
44
46
  },
@@ -61,6 +63,7 @@
61
63
  "displayName": "Dark Overlay",
62
64
  "type": "BOOLEAN",
63
65
  "required": false,
66
+ "defaultValue": false,
64
67
  "groupId": "mobile"
65
68
  },
66
69
  {
@@ -76,6 +79,7 @@
76
79
  "displayName": "Image Fit",
77
80
  "type": "ENUM",
78
81
  "required": false,
82
+ "defaultValue": "Cover",
79
83
  "groupId": "mobile",
80
84
  "enumTypeId": "{{ENUM_ID:ObjectFit}}"
81
85
  }
@@ -18,6 +18,7 @@
18
18
  "displayName": "Title Color",
19
19
  "type": "COLOR",
20
20
  "required": false,
21
+ "defaultValue": "#14141a",
21
22
  "groupId": "content"
22
23
  },
23
24
  {
@@ -41,6 +42,7 @@
41
42
  "displayName": "Mobile Column Count",
42
43
  "type": "ENUM",
43
44
  "required": false,
45
+ "defaultValue": "One",
44
46
  "groupId": "appearance",
45
47
  "enumTypeId": "{{ENUM_ID:NumberOfColumns}}"
46
48
  },
@@ -49,6 +51,19 @@
49
51
  "displayName": "Categories",
50
52
  "type": "COMPONENT_LIST",
51
53
  "required": false,
54
+ "defaultValue": {
55
+ "components": [
56
+ {
57
+ "codeComponentId": "nb34u3yu-category-image-item"
58
+ },
59
+ {
60
+ "codeComponentId": "nb34u3yu-category-image-item"
61
+ },
62
+ {
63
+ "codeComponentId": "nb34u3yu-category-image-item"
64
+ }
65
+ ]
66
+ },
52
67
  "filteredComponentIds": [
53
68
  "<id-of-CategoryImageItem>"
54
69
  ]
@@ -15,7 +15,8 @@
15
15
  "name": "singleLineName",
16
16
  "displayName": "Single Row First Name",
17
17
  "type": "BOOLEAN",
18
- "required": false
18
+ "required": false,
19
+ "defaultValue": false
19
20
  }
20
21
  ]
21
22
  }
@@ -111,6 +111,7 @@
111
111
  "displayName": "Show Filters",
112
112
  "type": "BOOLEAN",
113
113
  "required": false,
114
+ "defaultValue": false,
114
115
  "groupId": "filters"
115
116
  },
116
117
  {
@@ -118,6 +119,7 @@
118
119
  "displayName": "Show Search",
119
120
  "type": "BOOLEAN",
120
121
  "required": false,
122
+ "defaultValue": false,
121
123
  "groupId": "filters"
122
124
  },
123
125
  {
@@ -125,6 +127,7 @@
125
127
  "displayName": "Image Aspect Ratio",
126
128
  "type": "ENUM",
127
129
  "required": false,
130
+ "defaultValue": "Square",
128
131
  "groupId": "image-settings",
129
132
  "enumTypeId": "{{ENUM_ID:AspectRatio}}"
130
133
  },
@@ -133,6 +136,7 @@
133
136
  "displayName": "Image Fit",
134
137
  "type": "ENUM",
135
138
  "required": false,
139
+ "defaultValue": "Cover",
136
140
  "groupId": "image-settings",
137
141
  "enumTypeId": "{{ENUM_ID:ObjectFit}}"
138
142
  },
@@ -141,6 +145,7 @@
141
145
  "displayName": "Infinite Scroll",
142
146
  "type": "BOOLEAN",
143
147
  "required": false,
148
+ "defaultValue": false,
144
149
  "groupId": "pagination"
145
150
  },
146
151
  {
@@ -164,6 +169,7 @@
164
169
  "displayName": "Hide Add to Cart Button",
165
170
  "type": "BOOLEAN",
166
171
  "required": false,
172
+ "defaultValue": false,
167
173
  "groupId": "card-settings"
168
174
  },
169
175
  {
@@ -171,6 +177,19 @@
171
177
  "displayName": "Components",
172
178
  "type": "COMPONENT_LIST",
173
179
  "required": false,
180
+ "defaultValue": {
181
+ "components": [
182
+ {
183
+ "codeComponentId": "nb34u3yu-card-product-name"
184
+ },
185
+ {
186
+ "codeComponentId": "nb34u3yu-card-product-variants"
187
+ },
188
+ {
189
+ "codeComponentId": "nb34u3yu-card-product-price"
190
+ }
191
+ ]
192
+ },
174
193
  "privateVarMap": {
175
194
  "product": {
176
195
  "id": "pvm_1772808304776_3",
@@ -188,6 +207,7 @@
188
207
  "displayName": "Hide Breadcrumb",
189
208
  "type": "BOOLEAN",
190
209
  "required": false,
210
+ "defaultValue": false,
191
211
  "groupId": "appearance"
192
212
  },
193
213
  {
@@ -195,6 +215,7 @@
195
215
  "displayName": "Is This a Brand Page?",
196
216
  "type": "BOOLEAN",
197
217
  "required": false,
218
+ "defaultValue": false,
198
219
  "groupId": "data"
199
220
  },
200
221
  {
@@ -10,6 +10,19 @@
10
10
  "displayName": "Components",
11
11
  "type": "COMPONENT_LIST",
12
12
  "required": false,
13
+ "defaultValue": {
14
+ "components": [
15
+ {
16
+ "codeComponentId": "nb34u3yu-announcements"
17
+ },
18
+ {
19
+ "codeComponentId": "nb34u3yu-navbar"
20
+ },
21
+ {
22
+ "codeComponentId": "nb34u3yu-cookie-bar"
23
+ }
24
+ ]
25
+ },
13
26
  "filteredComponentIds": [
14
27
  "<id-of-Navbar>",
15
28
  "<id-of-Announcements>",
@@ -16,6 +16,10 @@
16
16
  "displayName": "Top Spacing",
17
17
  "type": "TYPE",
18
18
  "required": false,
19
+ "defaultValue": {
20
+ "value": 0,
21
+ "unit": "px"
22
+ },
19
23
  "groupId": "mobile",
20
24
  "typeId": "@ikas/bp-storefront-models-MarginTopStyleType"
21
25
  },
@@ -24,6 +28,10 @@
24
28
  "displayName": "Bottom Spacing",
25
29
  "type": "TYPE",
26
30
  "required": false,
31
+ "defaultValue": {
32
+ "value": 0,
33
+ "unit": "px"
34
+ },
27
35
  "groupId": "mobile",
28
36
  "typeId": "@ikas/bp-storefront-models-MarginBottomStyleType"
29
37
  },
@@ -32,6 +40,10 @@
32
40
  "displayName": "Top Spacing",
33
41
  "type": "TYPE",
34
42
  "required": false,
43
+ "defaultValue": {
44
+ "value": 0,
45
+ "unit": "px"
46
+ },
35
47
  "groupId": "desktop",
36
48
  "typeId": "@ikas/bp-storefront-models-MarginTopStyleType"
37
49
  },
@@ -40,6 +52,10 @@
40
52
  "displayName": "Bottom Spacing",
41
53
  "type": "TYPE",
42
54
  "required": false,
55
+ "defaultValue": {
56
+ "value": 0,
57
+ "unit": "px"
58
+ },
43
59
  "groupId": "desktop",
44
60
  "typeId": "@ikas/bp-storefront-models-MarginBottomStyleType"
45
61
  },
@@ -47,7 +63,8 @@
47
63
  "name": "hideFavoriteButton",
48
64
  "displayName": "Hide Favorite Button",
49
65
  "type": "BOOLEAN",
50
- "required": false
66
+ "required": false,
67
+ "defaultValue": false
51
68
  }
52
69
  ],
53
70
  "propGroups": [
@@ -17,6 +17,19 @@
17
17
  "displayName": "Specifications",
18
18
  "type": "COMPONENT_LIST",
19
19
  "required": false,
20
+ "defaultValue": {
21
+ "components": [
22
+ {
23
+ "codeComponentId": "nb34u3yu-feature-item"
24
+ },
25
+ {
26
+ "codeComponentId": "nb34u3yu-feature-item"
27
+ },
28
+ {
29
+ "codeComponentId": "nb34u3yu-feature-item"
30
+ }
31
+ ]
32
+ },
20
33
  "filteredComponentIds": [
21
34
  "<id-of-FeatureItem>"
22
35
  ]
@@ -39,6 +39,7 @@
39
39
  "displayName": "Link Color",
40
40
  "type": "COLOR",
41
41
  "required": false,
42
+ "defaultValue": "#2e2e33",
42
43
  "groupId": "appearance"
43
44
  },
44
45
  {
@@ -46,6 +47,7 @@
46
47
  "displayName": "Link Hover Color",
47
48
  "type": "COLOR",
48
49
  "required": false,
50
+ "defaultValue": "#14141a",
49
51
  "groupId": "appearance"
50
52
  },
51
53
  {
@@ -75,6 +77,19 @@
75
77
  "displayName": "Social Media Icons",
76
78
  "type": "COMPONENT_LIST",
77
79
  "required": false,
80
+ "defaultValue": {
81
+ "components": [
82
+ {
83
+ "codeComponentId": "nb34u3yu-social-media-icon"
84
+ },
85
+ {
86
+ "codeComponentId": "nb34u3yu-social-media-icon"
87
+ },
88
+ {
89
+ "codeComponentId": "nb34u3yu-social-media-icon"
90
+ }
91
+ ]
92
+ },
78
93
  "filteredComponentIds": [
79
94
  "<id-of-SocialMediaIcon>"
80
95
  ]
@@ -26,6 +26,13 @@
26
26
  "displayName": "Announcements",
27
27
  "type": "COMPONENT_LIST",
28
28
  "required": false,
29
+ "defaultValue": {
30
+ "components": [
31
+ {
32
+ "codeComponentId": "nb34u3yu-announcement"
33
+ }
34
+ ]
35
+ },
29
36
  "filteredComponentIds": [
30
37
  "<id-of-Announcement>"
31
38
  ]
@@ -42,6 +42,7 @@
42
42
  "displayName": "Background Color",
43
43
  "type": "COLOR",
44
44
  "required": false,
45
+ "defaultValue": "rgba(0, 0, 0, 0.7)",
45
46
  "groupId": "appearance"
46
47
  },
47
48
  {
@@ -49,6 +50,7 @@
49
50
  "displayName": "Text Color",
50
51
  "type": "COLOR",
51
52
  "required": false,
53
+ "defaultValue": "#ffffff",
52
54
  "groupId": "appearance"
53
55
  },
54
56
  {
@@ -56,6 +58,7 @@
56
58
  "displayName": "Button Text Color",
57
59
  "type": "COLOR",
58
60
  "required": false,
61
+ "defaultValue": "#ffffff",
59
62
  "groupId": "appearance"
60
63
  }
61
64
  ],
@@ -17,6 +17,10 @@
17
17
  "displayName": "Desktop Logo Size",
18
18
  "type": "TYPE",
19
19
  "required": false,
20
+ "defaultValue": {
21
+ "value": 60,
22
+ "unit": "px"
23
+ },
20
24
  "groupId": "logo-settings",
21
25
  "typeId": "@ikas/bp-storefront-models-HeightStyleType"
22
26
  },
@@ -25,6 +29,10 @@
25
29
  "displayName": "Mobile Logo Size",
26
30
  "type": "TYPE",
27
31
  "required": false,
32
+ "defaultValue": {
33
+ "value": 48,
34
+ "unit": "px"
35
+ },
28
36
  "groupId": "logo-settings",
29
37
  "typeId": "@ikas/bp-storefront-models-HeightStyleType"
30
38
  },
@@ -40,6 +48,7 @@
40
48
  "displayName": "Link Color",
41
49
  "type": "COLOR",
42
50
  "required": false,
51
+ "defaultValue": "#2e2e33",
43
52
  "groupId": "navigation"
44
53
  },
45
54
  {
@@ -54,6 +63,7 @@
54
63
  "displayName": "Link Color",
55
64
  "type": "COLOR",
56
65
  "required": false,
66
+ "defaultValue": "#2e2e33",
57
67
  "groupId": "colored-links"
58
68
  },
59
69
  {
@@ -140,6 +150,7 @@
140
150
  "displayName": "Hide Add to Cart Button",
141
151
  "type": "BOOLEAN",
142
152
  "required": false,
153
+ "defaultValue": false,
143
154
  "groupId": "search-card-settings"
144
155
  },
145
156
  {
@@ -219,6 +230,19 @@
219
230
  "displayName": "Components",
220
231
  "type": "COMPONENT_LIST",
221
232
  "required": false,
233
+ "defaultValue": {
234
+ "components": [
235
+ {
236
+ "codeComponentId": "nb34u3yu-card-product-name"
237
+ },
238
+ {
239
+ "codeComponentId": "nb34u3yu-card-product-variants"
240
+ },
241
+ {
242
+ "codeComponentId": "nb34u3yu-card-product-price"
243
+ }
244
+ ]
245
+ },
222
246
  "privateVarMap": {
223
247
  "product": {
224
248
  "id": "pvm_1772803767210_2",
@@ -236,6 +260,7 @@
236
260
  "displayName": "Image Ratio",
237
261
  "type": "ENUM",
238
262
  "required": false,
263
+ "defaultValue": "Square",
239
264
  "groupId": "search-image",
240
265
  "enumTypeId": "{{ENUM_ID:AspectRatio}}"
241
266
  },
@@ -244,6 +269,7 @@
244
269
  "displayName": "Image Fit",
245
270
  "type": "ENUM",
246
271
  "required": false,
272
+ "defaultValue": "Cover",
247
273
  "groupId": "search-image",
248
274
  "enumTypeId": "{{ENUM_ID:ObjectFit}}"
249
275
  },
@@ -260,6 +286,7 @@
260
286
  "displayName": "Enable Sticky",
261
287
  "type": "BOOLEAN",
262
288
  "required": false,
289
+ "defaultValue": false,
263
290
  "description": "When enabled, the navbar stays fixed at the top of the page and remains visible while scrolling",
264
291
  "groupId": "settings"
265
292
  },
@@ -10,6 +10,19 @@
10
10
  "displayName": "Components",
11
11
  "type": "COMPONENT_LIST",
12
12
  "required": false,
13
+ "defaultValue": {
14
+ "components": [
15
+ {
16
+ "codeComponentId": "nb34u3yu-announcements"
17
+ },
18
+ {
19
+ "codeComponentId": "nb34u3yu-navbar"
20
+ },
21
+ {
22
+ "codeComponentId": "nb34u3yu-cookie-bar"
23
+ }
24
+ ]
25
+ },
13
26
  "filteredComponentIds": [
14
27
  "<id-of-Navbar>",
15
28
  "<id-of-Announcements>",