rebly-sections 1.0.1 → 1.2.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 (161) hide show
  1. package/assets/data/block-patterns.csv +160 -0
  2. package/assets/data/component-library/GDPR-modal.liquid +183 -0
  3. package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
  4. package/assets/data/component-library/_index.csv +157 -19
  5. package/assets/data/component-library/about.liquid +1557 -0
  6. package/assets/data/component-library/adv-header.liquid +344 -0
  7. package/assets/data/component-library/adv-navigation.liquid +542 -0
  8. package/assets/data/component-library/announcement-bar.liquid +42 -60
  9. package/assets/data/component-library/article.liquid +242 -0
  10. package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
  11. package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
  12. package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
  13. package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
  14. package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
  15. package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
  16. package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
  17. package/assets/data/component-library/blog.liquid +371 -0
  18. package/assets/data/component-library/brands-page.liquid +114 -0
  19. package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
  20. package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
  21. package/assets/data/component-library/collection-template.liquid +146 -0
  22. package/assets/data/component-library/contact-us.liquid +663 -0
  23. package/assets/data/component-library/contact.liquid +256 -0
  24. package/assets/data/component-library/copyright_payment.liquid +95 -0
  25. package/assets/data/component-library/custom-content.liquid +832 -0
  26. package/assets/data/component-library/faq-template-3.liquid +1014 -0
  27. package/assets/data/component-library/footer-model-1.liquid +503 -0
  28. package/assets/data/component-library/footer-model-10.liquid +210 -0
  29. package/assets/data/component-library/footer-model-2.liquid +460 -0
  30. package/assets/data/component-library/footer-model-3.liquid +548 -0
  31. package/assets/data/component-library/footer-model-4.liquid +455 -0
  32. package/assets/data/component-library/footer-model-5.liquid +407 -0
  33. package/assets/data/component-library/footer-model-6.liquid +543 -0
  34. package/assets/data/component-library/footer-model-7.liquid +345 -0
  35. package/assets/data/component-library/footer-model-8.liquid +279 -0
  36. package/assets/data/component-library/footer-model-9.liquid +376 -0
  37. package/assets/data/component-library/gallery.liquid +236 -0
  38. package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
  39. package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
  40. package/assets/data/component-library/gp-logo-list.liquid +362 -0
  41. package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
  42. package/assets/data/component-library/header-model-1.liquid +427 -0
  43. package/assets/data/component-library/header-model-10.liquid +599 -0
  44. package/assets/data/component-library/header-model-2.liquid +633 -0
  45. package/assets/data/component-library/header-model-3.liquid +415 -0
  46. package/assets/data/component-library/header-model-4.liquid +754 -0
  47. package/assets/data/component-library/header-model-5.liquid +562 -0
  48. package/assets/data/component-library/header-model-6.liquid +713 -0
  49. package/assets/data/component-library/header-model-7.liquid +743 -0
  50. package/assets/data/component-library/header-model-8.liquid +500 -0
  51. package/assets/data/component-library/header-model-9.liquid +506 -0
  52. package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
  53. package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
  54. package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
  55. package/assets/data/component-library/home-brand-slider.liquid +224 -0
  56. package/assets/data/component-library/home-circled-block.liquid +332 -0
  57. package/assets/data/component-library/home-contact-block-1.liquid +395 -0
  58. package/assets/data/component-library/home-contact-block-2.liquid +372 -0
  59. package/assets/data/component-library/home-content-block-1.liquid +320 -0
  60. package/assets/data/component-library/home-donut-chart.liquid +335 -0
  61. package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
  62. package/assets/data/component-library/home-faq-model.liquid +323 -0
  63. package/assets/data/component-library/home-featured-blog.liquid +1462 -0
  64. package/assets/data/component-library/home-featured-collections.liquid +484 -0
  65. package/assets/data/component-library/home-gallery-block1.liquid +276 -0
  66. package/assets/data/component-library/home-gallery-block2.liquid +396 -0
  67. package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
  68. package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
  69. package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
  70. package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
  71. package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
  72. package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
  73. package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
  74. package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
  75. package/assets/data/component-library/home-image-gallery.liquid +1087 -0
  76. package/assets/data/component-library/home-instagram.liquid +356 -0
  77. package/assets/data/component-library/home-newsletter.liquid +246 -0
  78. package/assets/data/component-library/home-number-counter.liquid +790 -0
  79. package/assets/data/component-library/home-price-table.liquid +416 -0
  80. package/assets/data/component-library/home-pricing-table.liquid +1076 -0
  81. package/assets/data/component-library/home-product-grid.liquid +413 -0
  82. package/assets/data/component-library/home-product-tab-1.liquid +528 -0
  83. package/assets/data/component-library/home-product-tab-2.liquid +342 -0
  84. package/assets/data/component-library/home-product-tab-3.liquid +357 -0
  85. package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
  86. package/assets/data/component-library/home-quotes-1.liquid +274 -0
  87. package/assets/data/component-library/home-quotes-2.liquid +239 -0
  88. package/assets/data/component-library/home-quotes-3.liquid +244 -0
  89. package/assets/data/component-library/home-quotes-4.liquid +258 -0
  90. package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
  91. package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
  92. package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
  93. package/assets/data/component-library/home-specification-block-1.liquid +468 -0
  94. package/assets/data/component-library/home-specification-block-2.liquid +291 -0
  95. package/assets/data/component-library/home-specification-block-3.liquid +429 -0
  96. package/assets/data/component-library/home-support-block.liquid +392 -0
  97. package/assets/data/component-library/home-testimonial.liquid +1348 -0
  98. package/assets/data/component-library/home-video-banner.liquid +317 -0
  99. package/assets/data/component-library/home-wide-banner.liquid +327 -0
  100. package/assets/data/component-library/icon-with-content.liquid +478 -0
  101. package/assets/data/component-library/instafeed.liquid +1 -0
  102. package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
  103. package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
  104. package/assets/data/component-library/logo-bar.liquid +314 -0
  105. package/assets/data/component-library/lookbook.liquid +367 -0
  106. package/assets/data/component-library/manual_blog.liquid +724 -0
  107. package/assets/data/component-library/navigation-etc.liquid +642 -0
  108. package/assets/data/component-library/newsletter.liquid +246 -0
  109. package/assets/data/component-library/order-form.liquid +96 -0
  110. package/assets/data/component-library/page-catev1-template.liquid +344 -0
  111. package/assets/data/component-library/popup_video.liquid +396 -0
  112. package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
  113. package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
  114. package/assets/data/component-library/product-template-2.liquid +629 -0
  115. package/assets/data/component-library/product-template-3.liquid +670 -0
  116. package/assets/data/component-library/product-template-4.liquid +627 -0
  117. package/assets/data/component-library/product-template-5.liquid +652 -0
  118. package/assets/data/component-library/product-template.liquid +698 -0
  119. package/assets/data/component-library/rich-text.liquid +541 -0
  120. package/assets/data/component-library/section-countdown-v2.liquid +215 -0
  121. package/assets/data/component-library/services.liquid +596 -0
  122. package/assets/data/component-library/shipping_info.liquid +327 -0
  123. package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
  124. package/assets/data/component-library/sidebar-category.liquid +105 -0
  125. package/assets/data/component-library/sidebar-colors.liquid +104 -0
  126. package/assets/data/component-library/single_product_feature.liquid +1892 -0
  127. package/assets/data/component-library/social-links-menu.liquid +244 -0
  128. package/assets/data/component-library/someone-purchased.liquid +190 -0
  129. package/assets/data/component-library/special-offer-area.liquid +530 -0
  130. package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
  131. package/assets/data/component-library/top-bar-type-1.liquid +200 -0
  132. package/assets/data/component-library/top-bar-type-10.liquid +395 -0
  133. package/assets/data/component-library/top-bar-type-11.liquid +395 -0
  134. package/assets/data/component-library/top-bar-type-2.liquid +106 -0
  135. package/assets/data/component-library/top-bar-type-3.liquid +205 -0
  136. package/assets/data/component-library/top-countdown-bar.liquid +116 -0
  137. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
  138. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
  139. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
  140. package/assets/data/component-library/video.liquid +511 -0
  141. package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
  142. package/assets/data/design-tokens.csv +93 -57
  143. package/assets/data/schema-library.csv +48 -46
  144. package/assets/data/settings-profiles.csv +235 -0
  145. package/assets/data/shopify-best-practices.csv +58 -36
  146. package/assets/scripts/backfill-component-index.py +102 -0
  147. package/assets/scripts/core.py +30 -8
  148. package/assets/scripts/fix-schema-library.py +42 -0
  149. package/assets/scripts/kb-analyzer-helpers.py +136 -0
  150. package/assets/scripts/kb-analyzer.py +186 -0
  151. package/assets/scripts/kb-builder.py +32 -63
  152. package/assets/scripts/kb-constants.py +62 -0
  153. package/assets/scripts/kb-extractor-helpers.py +178 -0
  154. package/assets/scripts/kb-extractor.py +106 -170
  155. package/assets/scripts/kb-synthesizer.py +251 -0
  156. package/assets/scripts/quality-gate-checks.py +55 -0
  157. package/assets/scripts/quality-gate.py +56 -2
  158. package/assets/scripts/section-generator-helpers.py +74 -0
  159. package/assets/scripts/section-generator.py +59 -49
  160. package/assets/templates/generation-prompt.md +78 -14
  161. package/package.json +1 -1
@@ -0,0 +1,362 @@
1
+ {% if section.blocks.size > 0 %}
2
+ {% assign full = section.settings.full %}
3
+ {% assign margin = section.settings.margin | split: ',' %}
4
+ {% assign top = margin[0] %}
5
+ {% assign bottom = margin[1] %}
6
+
7
+ <div class="{% if section.settings.full %} container-fluid {% else %}container{% endif %}">
8
+ <div class="grid-banner-type-2" style="margin-top:{{top}}px; margin-bottom:{{bottom}}px;">
9
+ <div class="dt-sc-hr-invisible-large"></div>
10
+
11
+ {% if section.settings.title != blank or section.settings.small_title != blank %}
12
+ <div class="section-header section-header--small full-position-{{section.settings.content_position}}">
13
+ <div class="border-title">
14
+ {% if section.settings.title != blank %}
15
+ <h2 class="section-header__title" style="color:{{ section.settings.title_clr }};">
16
+ {{ section.settings.title }}
17
+ </h2>
18
+ {% endif %}
19
+ {% if section.settings.small_title != blank %}
20
+ <div class="short-desc"><p style="color:{{ section.settings.text_clr }};">{{ section.settings.small_title }}</p></div>
21
+ {% endif %}
22
+ </div>
23
+ </div>
24
+ {% endif %}
25
+
26
+ <div class="grid-uniform featuredItems">
27
+ {% for block in section.blocks %}
28
+ {% if block.settings.columnwidth == '100%' %}
29
+ {%- assign column = 'grid__item one-block' -%}
30
+ {% elsif block.settings.columnwidth == '50%' %}
31
+ {%- assign column = 'grid__item wide--one-half post-large--one-half large--one-half two-blocks' -%}
32
+ {% elsif block.settings.columnwidth == '33.33%' %}
33
+ {%- assign column = 'grid__item wide--one-third post-large--one-third large--one-third three-blocks' -%}
34
+ {% else %}
35
+ {%- assign column = 'grid__item wide--one-quarter post-large--one-quarter large--one-whole four-blocks' -%}
36
+ {% endif %}
37
+
38
+ <div class="{{ column }}">
39
+ <div class="overlay {{ section.settings.overlay_type1 }}">
40
+
41
+ <div class="featured-image">
42
+ {% if block.settings.link_1 != blank %}<a class="banner_half_img" href="{{ block.settings.link_1 }}">{% endif%}
43
+ {% if block.settings.image_1 != blank %}
44
+ <img src="{{ block.settings.image_1 | img_url: '1000X' }}" alt="{{ block.settings.title_1 }}" />
45
+ {% if section.settings.use_overlay %}
46
+ <div class="ovrly"></div>
47
+ {% endif%}
48
+ {% else %}
49
+ <img src="//via.placeholder.com/600x500">
50
+ {% endif%}
51
+ {% if block.settings.link_1 != blank %} </a>
52
+ {% endif%}
53
+ </div>
54
+
55
+ <div class="featured-content {{block.type}}-{{block.id}} imageText_position {{ block.settings.image_text_position_1 }}">
56
+ <div class="content-info">
57
+ {% if block.settings.text_1 != blank %}
58
+ <h5 style="color:{{ block.settings.text_1_clr }};">{{ block.settings.text_1}}</h5>
59
+ {% endif %}
60
+ {% if block.settings.title_1 != blank %}
61
+ <h2 style="color:{{ block.settings.title_1_clr }};">{{ block.settings.title_1 }}</h2>
62
+ {% endif %}
63
+ {% if block.settings.additional_text_1 != blank %}
64
+ <p class="additional-text" style="color:{{ block.settings.additional_text_1_clr }};">{{ block.settings.additional_text_1 }}</p>
65
+ {% endif %}
66
+ </div>
67
+ {% if block.settings.button_1 != blank %}
68
+ <a class="link" href="{{ block.settings.link_1 }}" style="color:{{ block.settings.button_1_txt}};">{{ block.settings.button_1}}</a>
69
+ {% endif %}
70
+ </div>
71
+ </div>
72
+ </div>
73
+
74
+ {% endfor %}
75
+ </div>
76
+ <div class="dt-sc-hr-invisible-medium"></div>
77
+ </div>
78
+ </div>
79
+
80
+ <style>
81
+
82
+ #shopify-section-{{section.id}}.home-grid-banner .overlay.style_1 .ovrly,
83
+ #shopify-section-{{section.id}}.home-grid-banner .overlay.style_2 .ovrly:before,
84
+ #shopify-section-{{section.id}}.home-grid-banner .overlay.style_2 .ovrly:after,
85
+ #shopify-section-{{section.id}}.home-grid-banner .overlay.style_3 .ovrly,
86
+ #shopify-section-{{section.id}}.home-grid-banner .overlay.style_4 .ovrly,
87
+ #shopify-section-{{section.id}}.home-grid-banner .overlay.style_6 .ovrly,
88
+ #shopify-section-{{section.id}}.home-grid-banner .overlay.style_7 .ovrly { background:{{ section.settings.overlay_1 }}; }
89
+
90
+ {% for block in section.blocks %}
91
+ #shopify-section-{{section.id}}.home-grid-banner .featured-content.{{block.type}}-{{block.id}} .link:hover { color:{{ block.settings.hover_button_1_txt }} !important; }
92
+ {% endfor %}
93
+
94
+ </style>
95
+
96
+ {% endif %}
97
+
98
+ {% schema %}
99
+ {
100
+ "name": "Grid Banner Type 2",
101
+ "class": "index-section home-grid-banner",
102
+ "max_blocks": 5,
103
+ "settings": [
104
+ {
105
+ "type": "checkbox",
106
+ "id": "full",
107
+ "label": "Show Full width"
108
+ },
109
+ {
110
+ "type": "text",
111
+ "id": "margin",
112
+ "label": "Style value (Margin)",
113
+ "default":"0,0",
114
+ "info":"Top(px),Bottom(px)"
115
+ },
116
+ {
117
+ "type": "text",
118
+ "id": "title",
119
+ "label": "Heading",
120
+ "default": "Grid Banner Type 2"
121
+ },
122
+ {
123
+ "type": "color",
124
+ "id": "title_clr",
125
+ "label": "Title Color",
126
+ "default":"#000"
127
+ },
128
+ {
129
+ "type": "text",
130
+ "id": "small_title",
131
+ "label": "Small Heading",
132
+ "default": "Small Heading"
133
+ },
134
+ {
135
+ "type": "color",
136
+ "id": "text_clr",
137
+ "label": "Text color",
138
+ "default":"#000"
139
+ },
140
+ {
141
+ "type": "select",
142
+ "id": "content_position",
143
+ "label": "Heading Position",
144
+ "options": [
145
+ {
146
+ "value": "default",
147
+ "label": "Full center"
148
+ },
149
+ {
150
+ "value": "full-left",
151
+ "label": "Full left"
152
+ },
153
+ {
154
+ "value": "full-right",
155
+ "label": "Full right"
156
+ }
157
+ ]
158
+ },
159
+ {
160
+ "type": "select",
161
+ "id": "overlay_type1",
162
+ "label": "Overlay Style",
163
+ "options": [
164
+ {
165
+ "value": "style_1",
166
+ "label": "Style 1"
167
+ },
168
+ {
169
+ "value": "style_2",
170
+ "label": "Style 2"
171
+ },
172
+ {
173
+ "value": "style_3",
174
+ "label": "Style 3"
175
+ },
176
+ {
177
+ "value": "style_4",
178
+ "label": "Style 4"
179
+ },
180
+ {
181
+ "value": "style_5",
182
+ "label": "Style 5"
183
+ },
184
+ {
185
+ "value": "style_6",
186
+ "label": "Style 6"
187
+ },
188
+ {
189
+ "value": "style_7",
190
+ "label": "Style 7"
191
+ },
192
+ {
193
+ "value": "default",
194
+ "label": "None"
195
+ }
196
+ ]
197
+ },
198
+ {
199
+ "type": "checkbox",
200
+ "id": "use_overlay",
201
+ "label": "Overlay"
202
+
203
+ },
204
+ {
205
+ "type": "color",
206
+ "id": "overlay_1",
207
+ "label": "Overlay",
208
+ "default": "#fff"
209
+ }
210
+ ],
211
+ "blocks": [
212
+
213
+ {
214
+ "type": "oneimage",
215
+ "name": "One Image",
216
+ "settings": [
217
+ {
218
+ "type": "select",
219
+ "id": "columnwidth",
220
+ "label": "Column Style",
221
+ "options": [
222
+ {
223
+ "value": "25%",
224
+ "label": "25%"
225
+ },
226
+ {
227
+ "value": "50%",
228
+ "label": "50%"
229
+ },
230
+ {
231
+ "value": "33.33%",
232
+ "label": "33.33%"
233
+ },
234
+ {
235
+ "value": "100%",
236
+ "label": "100%"
237
+ }
238
+ ],
239
+ "default": "50%"
240
+ },
241
+ {
242
+ "type": "image_picker",
243
+ "id": "image_1",
244
+ "label": "Image",
245
+ "info": "Size: 600x500"
246
+ },
247
+ {
248
+ "type": "text",
249
+ "id": "title_1",
250
+ "label": "Heading",
251
+ "default": "Heading"
252
+ },
253
+ {
254
+ "type": "color",
255
+ "id": "title_1_clr",
256
+ "label": "Heading color",
257
+ "default": "#000"
258
+ },
259
+ {
260
+ "type": "text",
261
+ "id": "text_1",
262
+ "label": "Sub Heading",
263
+ "default": "Sub Heading"
264
+ },
265
+ {
266
+ "type": "color",
267
+ "id": "text_1_clr",
268
+ "label": "Sub Heading color",
269
+ "default": "#000"
270
+ },
271
+ {
272
+ "type": "textarea",
273
+ "id": "additional_text_1",
274
+ "label": "Description",
275
+ "default": "Description"
276
+ },
277
+ {
278
+ "type": "color",
279
+ "id": "additional_text_1_clr",
280
+ "label": "Description color",
281
+ "default": "#000"
282
+ },
283
+ {
284
+ "type": "text",
285
+ "id": "button_1",
286
+ "label": "Button text",
287
+ "default": "Shop Now"
288
+ },
289
+ {
290
+ "type": "color",
291
+ "id": "button_1_txt",
292
+ "label": "Button text color",
293
+ "default": "#000"
294
+ },
295
+ {
296
+ "type": "color",
297
+ "id": "hover_button_1_txt",
298
+ "label": "Button hover text",
299
+ "default": "#fff"
300
+ },
301
+ {
302
+ "type": "select",
303
+ "id": "image_text_position_1",
304
+ "label": "Image Text Position",
305
+ "options": [
306
+ {
307
+ "value": "imgtxt-top-left",
308
+ "label": "Top Left"
309
+ },
310
+ {
311
+ "value": "imgtxt-top-right",
312
+ "label": "Top Right"
313
+ },
314
+ {
315
+ "value": "imgtxt-middle",
316
+ "label": "Middle"
317
+ },
318
+ {
319
+ "value": "imgtxt-middle-left",
320
+ "label": "Middle Left"
321
+ },
322
+ {
323
+ "value": "imgtxt-middle-right",
324
+ "label": "Middle Right"
325
+ },
326
+ {
327
+ "value": "imgtxt-bottom",
328
+ "label": "Bottom"
329
+ },
330
+ {
331
+ "value": "imgtxt-bottom-left",
332
+ "label": "Bottom Left"
333
+ },
334
+ {
335
+ "value": "imgtxt-bottom-right",
336
+ "label": "Bottom Right"
337
+ }
338
+ ],
339
+ "default": "imgtxt-middle"
340
+ },
341
+
342
+ {
343
+ "type": "url",
344
+ "id": "link_1",
345
+ "label": "Link URL"
346
+ }
347
+ ]
348
+ }
349
+ ],
350
+ "presets": [
351
+ {
352
+ "name": "Grid Banner Type 2",
353
+ "category": "Block Images",
354
+ "blocks": [
355
+ {
356
+ "type": "oneimage"
357
+ }
358
+ ]
359
+ }
360
+ ]
361
+ }
362
+ {% endschema %}