@levo-so/blocks 0.1.58 → 0.1.60

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 (191) hide show
  1. package/package.json +16 -15
  2. package/src/blocks/about-us/about-us-1.schema.ts +75 -58
  3. package/src/blocks/about-us/about-us-2.schema.ts +186 -39
  4. package/src/blocks/blogs/blog-listing-1.tsx +17 -15
  5. package/src/blocks/blogs/blog-listing-2.tsx +17 -15
  6. package/src/blocks/blogs/blog-listing-3.tsx +17 -15
  7. package/src/blocks/calendar/calendar-1.schema.ts +263 -181
  8. package/src/blocks/calendar/calendar-1.tsx +42 -11
  9. package/src/blocks/cards/cards-10.schema.ts +322 -313
  10. package/src/blocks/cards/cards-10.tsx +9 -1
  11. package/src/blocks/cards/cards-11.schema.ts +139 -248
  12. package/src/blocks/cards/cards-12.schema.ts +117 -196
  13. package/src/blocks/cards/cards-13.schema.ts +107 -56
  14. package/src/blocks/cards/cards-14.schema.ts +58 -154
  15. package/src/blocks/cards/cards-15.schema.ts +54 -31
  16. package/src/blocks/cards/cards-15.tsx +13 -2
  17. package/src/blocks/cards/cards-2.schema.ts +83 -88
  18. package/src/blocks/cards/cards-2.tsx +10 -2
  19. package/src/blocks/cards/cards-3.schema.ts +75 -70
  20. package/src/blocks/cards/cards-4.schema.ts +149 -91
  21. package/src/blocks/cards/cards-4.tsx +13 -2
  22. package/src/blocks/cards/cards-5.schema.ts +91 -68
  23. package/src/blocks/cards/cards-5.tsx +9 -1
  24. package/src/blocks/cards/cards-6.schema.ts +794 -972
  25. package/src/blocks/cards/cards-6.tsx +18 -2
  26. package/src/blocks/cards/cards-7.schema.ts +802 -2250
  27. package/src/blocks/cards/cards-7.tsx +14 -1
  28. package/src/blocks/cards/cards-8.schema.ts +166 -347
  29. package/src/blocks/cards/cards-8.tsx +14 -1
  30. package/src/blocks/cards/cards-9.schema.ts +300 -305
  31. package/src/blocks/cards/cards-9.tsx +27 -3
  32. package/src/blocks/carousel/carousel-1.schema.ts +479 -46
  33. package/src/blocks/carousel/carousel-1.tsx +2 -0
  34. package/src/blocks/carousel/carousel-2.schema.ts +170 -118
  35. package/src/blocks/carousel/carousel-2.tsx +10 -2
  36. package/src/blocks/community/community-1.schema.ts +566 -0
  37. package/src/blocks/community/community-1.tsx +690 -0
  38. package/src/blocks/community/community-post-1.schema.ts +417 -0
  39. package/src/blocks/community/community-post-1.tsx +155 -0
  40. package/src/blocks/contact-us/contact-us-1.schema.ts +33 -43
  41. package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
  42. package/src/blocks/contact-us/contact-us-2.tsx +1 -1
  43. package/src/blocks/content/content-1.schema.ts +184 -234
  44. package/src/blocks/content/content-1.tsx +48 -38
  45. package/src/blocks/content/content-2.schema.ts +143 -32
  46. package/src/blocks/content/content-2.tsx +15 -3
  47. package/src/blocks/content/content-3.schema.ts +215 -205
  48. package/src/blocks/content/content-3.tsx +13 -1
  49. package/src/blocks/content/content-4.schema.ts +124 -85
  50. package/src/blocks/content/content-4.tsx +2 -1
  51. package/src/blocks/content/content-5.schema.ts +296 -278
  52. package/src/blocks/content/content-5.tsx +23 -2
  53. package/src/blocks/content/content-6.schema.ts +474 -244
  54. package/src/blocks/content/content-6.tsx +23 -1
  55. package/src/blocks/content/content-7.schema.ts +173 -133
  56. package/src/blocks/content/content-7.tsx +27 -3
  57. package/src/blocks/content/content-8.schema.ts +27 -17
  58. package/src/blocks/content/content-9.schema.ts +64 -2208
  59. package/src/blocks/content/content-9.tsx +6 -3
  60. package/src/blocks/cta/cta-1.schema.ts +13 -108
  61. package/src/blocks/cta/cta-2.schema.ts +60 -69
  62. package/src/blocks/cta/cta-3.schema.ts +97 -66
  63. package/src/blocks/embed/embed-1.schema.ts +30 -52
  64. package/src/blocks/event/event-details.schema.ts +7 -0
  65. package/src/blocks/event/event-details.tsx +1 -0
  66. package/src/blocks/event/event-listing-2.tsx +17 -15
  67. package/src/blocks/event/event-listing-3.tsx +17 -15
  68. package/src/blocks/event/event-listing-4.tsx +17 -15
  69. package/src/blocks/event/event-listing.tsx +17 -15
  70. package/src/blocks/faq/faq-1.schema.ts +158 -112
  71. package/src/blocks/faq/faq-1.tsx +12 -3
  72. package/src/blocks/faq/faq-2.schema.ts +137 -74
  73. package/src/blocks/faq/faq-2.tsx +10 -1
  74. package/src/blocks/faq/faq-3.schema.ts +185 -105
  75. package/src/blocks/faq/faq-3.tsx +19 -3
  76. package/src/blocks/features/features-1/features-1.schema.ts +11 -3
  77. package/src/blocks/features/features-1/features-1.tsx +10 -1
  78. package/src/blocks/features/features-1/variants/default.ts +172 -54
  79. package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
  80. package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
  81. package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
  82. package/src/blocks/features/features-2.schema.ts +178 -45
  83. package/src/blocks/features/features-2.tsx +10 -2
  84. package/src/blocks/features/features-3.schema.ts +284 -65
  85. package/src/blocks/features/features-3.tsx +22 -3
  86. package/src/blocks/features/features-4.schema.ts +380 -185
  87. package/src/blocks/features/features-4.tsx +9 -1
  88. package/src/blocks/features/features-5.schema.ts +194 -198
  89. package/src/blocks/features/features-5.tsx +12 -1
  90. package/src/blocks/features/features-6.schema.ts +240 -193
  91. package/src/blocks/features/features-6.tsx +16 -2
  92. package/src/blocks/floating-buttons/floating-button-1.schema.ts +105 -0
  93. package/src/blocks/floating-buttons/floating-button-1.tsx +20 -0
  94. package/src/blocks/footer/footer-1.schema.ts +118 -48
  95. package/src/blocks/footer/footer-1.tsx +2 -1
  96. package/src/blocks/footer/footer-2.schema.ts +235 -31
  97. package/src/blocks/footer/footer-2.tsx +2 -1
  98. package/src/blocks/footer/footer-3.schema.ts +334 -57
  99. package/src/blocks/footer/footer-3.tsx +2 -1
  100. package/src/blocks/footer/footer-4.schema.ts +147 -76
  101. package/src/blocks/footer/footer-4.tsx +2 -1
  102. package/src/blocks/footer/footer-5.schema.ts +144 -52
  103. package/src/blocks/footer/footer-5.tsx +2 -1
  104. package/src/blocks/footer/footer-6.schema.ts +68 -140
  105. package/src/blocks/footer/footer-6.tsx +2 -1
  106. package/src/blocks/hero/hero-1.schema.ts +184 -87
  107. package/src/blocks/hero/hero-10.schema.ts +8 -29
  108. package/src/blocks/hero/hero-11.schema.ts +192 -89
  109. package/src/blocks/hero/hero-11.tsx +1 -1
  110. package/src/blocks/hero/hero-12.schema.ts +107 -170
  111. package/src/blocks/hero/hero-12.tsx +1 -1
  112. package/src/blocks/hero/hero-13.schema.ts +42 -28
  113. package/src/blocks/hero/hero-2.schema.ts +33 -58
  114. package/src/blocks/hero/hero-3.schema.ts +42 -34
  115. package/src/blocks/hero/hero-4.schema.ts +265 -70
  116. package/src/blocks/hero/hero-4.tsx +19 -2
  117. package/src/blocks/hero/hero-5.schema.ts +122 -44
  118. package/src/blocks/hero/hero-5.tsx +14 -2
  119. package/src/blocks/hero/hero-6.schema.ts +159 -255
  120. package/src/blocks/hero/hero-7.schema.ts +105 -34
  121. package/src/blocks/hero/hero-7.tsx +4 -1
  122. package/src/blocks/hero/hero-8.schema.ts +363 -133
  123. package/src/blocks/hero/hero-8.tsx +27 -3
  124. package/src/blocks/hero/hero-9.schema.ts +116 -83
  125. package/src/blocks/hero/hero-9.tsx +9 -1
  126. package/src/blocks/index.ts +7 -0
  127. package/src/blocks/logos/logos-1.schema.ts +424 -30
  128. package/src/blocks/polling/polling-1.schema.ts +1 -19
  129. package/src/blocks/pricing/pricing-1.schema.ts +296 -266
  130. package/src/blocks/pricing/pricing-1.tsx +16 -2
  131. package/src/blocks/products/products-listing-1.schema.ts +144 -33
  132. package/src/blocks/products/products-listing-1.tsx +9 -1
  133. package/src/blocks/products/products-listing-2.schema.ts +199 -213
  134. package/src/blocks/products/products-listing-2.tsx +25 -3
  135. package/src/blocks/products/products-listing-3.schema.ts +439 -154
  136. package/src/blocks/products/products-listing-3.tsx +43 -8
  137. package/src/blocks/profile/profile-1.schema.ts +67 -49
  138. package/src/blocks/profile/profile-1.tsx +3 -2
  139. package/src/blocks/profile/profile-2.schema.ts +73 -85
  140. package/src/blocks/profile/profile-2.tsx +2 -1
  141. package/src/blocks/profile/profile-3.schema.ts +162 -529
  142. package/src/blocks/profile/profile-3.tsx +2 -2
  143. package/src/blocks/services/service-1.schema.ts +204 -804
  144. package/src/blocks/services/service-1.tsx +15 -2
  145. package/src/blocks/services/service-2.schema.ts +95 -75
  146. package/src/blocks/services/service-2.tsx +9 -1
  147. package/src/blocks/services/service-3.schema.ts +73 -73
  148. package/src/blocks/services/service-3.tsx +40 -39
  149. package/src/blocks/stats/stats-1.schema.ts +225 -21
  150. package/src/blocks/stats/stats-1.tsx +4 -0
  151. package/src/blocks/stats/stats-2.schema.ts +13 -5
  152. package/src/blocks/stats/stats-2.tsx +9 -1
  153. package/src/blocks/stats/variants/default.ts +59 -41
  154. package/src/blocks/stats/variants/hero.ts +64 -31
  155. package/src/blocks/tabs/tab-1.schema.ts +105 -407
  156. package/src/blocks/tabs/tab-1.tsx +15 -4
  157. package/src/blocks/tabs/tab-2.schema.ts +208 -278
  158. package/src/blocks/tabs/tab-2.tsx +14 -2
  159. package/src/blocks/team/team-1.schema.ts +621 -76
  160. package/src/blocks/team/team-1.tsx +9 -1
  161. package/src/blocks/team/team-2.schema.ts +693 -1421
  162. package/src/blocks/team/team-2.tsx +4 -1
  163. package/src/blocks/team/team-3.schema.ts +147 -74
  164. package/src/blocks/team/team-3.tsx +1 -0
  165. package/src/blocks/team/team-4.schema.ts +216 -57
  166. package/src/blocks/team/team-4.tsx +10 -2
  167. package/src/blocks/team/team-5.schema.ts +67 -42
  168. package/src/blocks/team/team-5.tsx +12 -3
  169. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
  170. package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +1 -1
  171. package/src/blocks/testimonial/testimonial-1.schema.ts +712 -63
  172. package/src/blocks/testimonial/testimonial-1.tsx +2 -4
  173. package/src/blocks/testimonial/testimonial-2.schema.ts +1332 -354
  174. package/src/blocks/testimonial/testimonial-2.tsx +4 -1
  175. package/src/blocks/testimonial/testimonial-3.schema.ts +215 -71
  176. package/src/blocks/testimonial/testimonial-3.tsx +5 -2
  177. package/src/blocks/testimonial/testimonial-4.schema.ts +331 -933
  178. package/src/blocks/testimonial/testimonial-4.tsx +4 -1
  179. package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -171
  180. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +205 -501
  181. package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +190 -316
  182. package/src/blocks/testimonial/testimonial-6.schema.ts +204 -267
  183. package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
  184. package/src/blocks/testimonial/testimonial-7.tsx +2 -2
  185. package/src/blocks/timeline/timeline-1.schema.ts +196 -149
  186. package/src/blocks/timeline/timeline-1.tsx +4 -1
  187. package/src/blocks/users/edit-profile.schema.ts +56 -44
  188. package/src/blocks/users/edit-profile.tsx +13 -6
  189. package/src/constants/index.ts +19 -0
  190. package/src/schemas/blocks.ts +6 -0
  191. package/src/schemas/categories.ts +12 -0
@@ -166,7 +166,7 @@ export const Testimonial7: IBlock = {
166
166
  {
167
167
  key: "title",
168
168
  label: "Title",
169
- field_interface: "TypographyWidget",
169
+ field_interface: "HeadingWidget",
170
170
  },
171
171
  {
172
172
  key: "description",
@@ -181,7 +181,7 @@ export const Testimonial7: IBlock = {
181
181
  {
182
182
  key: "persona_name",
183
183
  label: "Persona Name",
184
- field_interface: "TypographyWidget",
184
+ field_interface: "HeadingWidget",
185
185
  },
186
186
  {
187
187
  key: "designation",
@@ -224,27 +224,16 @@ export const Testimonial7: IBlock = {
224
224
  key: "default",
225
225
  title: "Default",
226
226
  styles: {
227
- layout: {
228
- "padding-top": "3xl",
229
- "padding-bottom": "3xl",
230
- },
231
- container: {
232
- "max-width": "1280px",
233
- "margin-left": "auto",
234
- "margin-right": "auto",
235
- "padding-left": "lg",
236
- "padding-right": "lg",
237
- },
227
+ layout: {},
228
+ container: {},
238
229
  header_container: {
239
230
  "text-align": "center",
240
231
  "margin-bottom": "2xl",
241
232
  },
242
233
  title: {
243
- color: "text-1",
244
234
  "margin-bottom": "base",
245
235
  },
246
236
  description: {
247
- color: "text-2",
248
237
  "max-width": "600px",
249
238
  "margin-left": "auto",
250
239
  "margin-right": "auto",
@@ -273,15 +262,10 @@ export const Testimonial7: IBlock = {
273
262
  "text-align": "center",
274
263
  },
275
264
  title: {
276
- color: "text-1",
277
- "font-size": "lg",
278
- "font-weight": "600",
265
+ "font-weight": 600,
279
266
  "margin-bottom": "sm",
280
267
  },
281
- description: {
282
- color: "text-2",
283
- "line-height": "1.6",
284
- },
268
+ description: {},
285
269
  persona_container: {
286
270
  display: "flex",
287
271
  "flex-direction": "column",
@@ -289,9 +273,7 @@ export const Testimonial7: IBlock = {
289
273
  gap: "sm",
290
274
  },
291
275
  persona_name: {
292
- color: "text-1",
293
- "font-weight": "600",
294
- "text-align": "center",
276
+ "font-weight": 600,
295
277
  },
296
278
  stars: {
297
279
  display: "flex",
@@ -323,15 +305,10 @@ export const Testimonial7: IBlock = {
323
305
  "text-align": "center",
324
306
  },
325
307
  title: {
326
- color: "text-1",
327
- "font-size": "lg",
328
- "font-weight": "600",
308
+ "font-weight": 600,
329
309
  "margin-bottom": "sm",
330
310
  },
331
- description: {
332
- color: "text-2",
333
- "line-height": "1.6",
334
- },
311
+ description: {},
335
312
  persona_container: {
336
313
  display: "flex",
337
314
  "flex-direction": "column",
@@ -339,9 +316,7 @@ export const Testimonial7: IBlock = {
339
316
  gap: "sm",
340
317
  },
341
318
  persona_name: {
342
- color: "text-1",
343
- "font-weight": "600",
344
- "text-align": "center",
319
+ "font-weight": 600,
345
320
  },
346
321
  stars: {
347
322
  display: "flex",
@@ -373,15 +348,10 @@ export const Testimonial7: IBlock = {
373
348
  "text-align": "center",
374
349
  },
375
350
  title: {
376
- color: "text-1",
377
- "font-size": "lg",
378
- "font-weight": "600",
351
+ "font-weight": 600,
379
352
  "margin-bottom": "sm",
380
353
  },
381
- description: {
382
- color: "text-2",
383
- "line-height": "1.6",
384
- },
354
+ description: {},
385
355
  persona_container: {
386
356
  display: "flex",
387
357
  "flex-direction": "column",
@@ -389,9 +359,7 @@ export const Testimonial7: IBlock = {
389
359
  gap: "sm",
390
360
  },
391
361
  persona_name: {
392
- color: "text-1",
393
- "font-weight": "600",
394
- "text-align": "center",
362
+ "font-weight": 600,
395
363
  },
396
364
  stars: {
397
365
  display: "flex",
@@ -432,6 +400,67 @@ export const Testimonial7: IBlock = {
432
400
  loop: true,
433
401
  },
434
402
  },
403
+ title: {
404
+ selectedVariants: {
405
+ Heading_Level: "H2",
406
+ },
407
+ },
408
+ testimonials: [
409
+ {
410
+ description: {
411
+ selectedVariants: {},
412
+ },
413
+ title: {
414
+ selectedVariants: {
415
+ Typography_Variants: "Lead",
416
+ },
417
+ },
418
+ persona_name: {
419
+ heading: {
420
+ level: "5",
421
+ },
422
+ selectedVariants: {
423
+ Heading_Level: "H6",
424
+ },
425
+ },
426
+ },
427
+ {
428
+ description: {
429
+ selectedVariants: {},
430
+ },
431
+ title: {
432
+ selectedVariants: {
433
+ Typography_Variants: "Lead",
434
+ },
435
+ },
436
+ persona_name: {
437
+ selectedVariants: {
438
+ Heading_Level: "H6",
439
+ },
440
+ heading: {
441
+ level: "5",
442
+ },
443
+ },
444
+ },
445
+ {
446
+ description: {
447
+ selectedVariants: {},
448
+ },
449
+ title: {
450
+ selectedVariants: {
451
+ Typography_Variants: "Lead",
452
+ },
453
+ },
454
+ persona_name: {
455
+ selectedVariants: {
456
+ Heading_Level: "H6",
457
+ },
458
+ heading: {
459
+ level: "5",
460
+ },
461
+ },
462
+ },
463
+ ],
435
464
  },
436
465
  },
437
466
  ],
@@ -56,13 +56,13 @@ const Testimonial7: React.FC<ILevoBlockBaseProps<ITestimonial7Content>> = ({
56
56
  <Box elementKey={`testimonials.${index}.card`}>
57
57
  <Box elementKey={`testimonials.${index}.content_container`}>
58
58
  <Box elementKey={`testimonials.${index}.title_desc_box`}>
59
- <Typography elementKey={`testimonials.${index}.title`} />
59
+ <Heading elementKey={`testimonials.${index}.title`} />
60
60
  <Typography
61
61
  elementKey={`testimonials.${index}.description`}
62
62
  />
63
63
  </Box>
64
64
  <Box elementKey={`testimonials.${index}.persona_container`}>
65
- <Typography
65
+ <Heading
66
66
  elementKey={`testimonials.${index}.persona_name`}
67
67
  />
68
68
  <Typography