@levo-so/blocks 0.1.59 → 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
@@ -164,7 +164,7 @@ export const Footer3: IBlock = {
164
164
  {
165
165
  key: "category",
166
166
  label: "Section Title",
167
- field_interface: "TypographyWidget",
167
+ field_interface: "HeadingWidget",
168
168
  },
169
169
  {
170
170
  key: "links",
@@ -239,36 +239,215 @@ export const Footer3: IBlock = {
239
239
  key: "default",
240
240
  content: DEFAULT_CONTENT,
241
241
  config: {
242
- links: Array(4)
243
- .fill(0)
244
- .map(() => ({
242
+ links: [
243
+ {
244
+ category: {
245
+ selectedVariants: {
246
+ Heading_Level: "H6",
247
+ },
248
+ heading: {
249
+ level: "4",
250
+ },
251
+ },
252
+ links: [
253
+ {
254
+ text: {
255
+ selectedVariants: {
256
+ Typography_Variants: "Body",
257
+ },
258
+ },
259
+ },
260
+ {
261
+ text: {
262
+ selectedVariants: {
263
+ Typography_Variants: "Body",
264
+ },
265
+ },
266
+ },
267
+ {
268
+ text: {
269
+ selectedVariants: {
270
+ Typography_Variants: "Body",
271
+ },
272
+ },
273
+ },
274
+ {
275
+ text: {
276
+ selectedVariants: {
277
+ Typography_Variants: "Body",
278
+ },
279
+ },
280
+ },
281
+ {
282
+ text: {
283
+ selectedVariants: {
284
+ Typography_Variants: "Body",
285
+ },
286
+ },
287
+ },
288
+ {
289
+ text: {
290
+ selectedVariants: {
291
+ Typography_Variants: "Body",
292
+ },
293
+ },
294
+ },
295
+ ],
296
+ },
297
+ {
298
+ category: {
299
+ selectedVariants: {
300
+ Heading_Level: "H6",
301
+ },
302
+ heading: {
303
+ level: "4",
304
+ },
305
+ },
306
+ links: [
307
+ {
308
+ text: {
309
+ selectedVariants: {
310
+ Typography_Variants: "Body",
311
+ },
312
+ },
313
+ },
314
+ {
315
+ text: {
316
+ selectedVariants: {
317
+ Typography_Variants: "Body",
318
+ },
319
+ },
320
+ },
321
+ {
322
+ text: {
323
+ selectedVariants: {
324
+ Typography_Variants: "Body",
325
+ },
326
+ },
327
+ },
328
+ {
329
+ text: {
330
+ selectedVariants: {
331
+ Typography_Variants: "Body",
332
+ },
333
+ },
334
+ },
335
+ {
336
+ text: {
337
+ selectedVariants: {
338
+ Typography_Variants: "Body",
339
+ },
340
+ },
341
+ },
342
+ {
343
+ text: {
344
+ selectedVariants: {
345
+ Typography_Variants: "Body",
346
+ },
347
+ },
348
+ },
349
+ ],
350
+ },
351
+ {
245
352
  category: {
246
353
  selectedVariants: {
247
- Typography_Variants: "Large",
354
+ Heading_Level: "H6",
355
+ },
356
+ heading: {
357
+ level: "4",
248
358
  },
249
359
  },
250
- links: Array(6)
251
- .fill(0)
252
- .map(() => {
253
- return {
254
- text: {
255
- selectedVariants: {
256
- Typography_Variants: "Body",
257
- },
360
+ links: [
361
+ {
362
+ text: {
363
+ selectedVariants: {
364
+ Typography_Variants: "Body",
365
+ },
366
+ },
367
+ },
368
+ {
369
+ text: {
370
+ selectedVariants: {
371
+ Typography_Variants: "Body",
258
372
  },
259
- };
260
- }),
261
- })),
373
+ },
374
+ },
375
+ {
376
+ text: {
377
+ selectedVariants: {
378
+ Typography_Variants: "Body",
379
+ },
380
+ },
381
+ },
382
+ {
383
+ text: {
384
+ selectedVariants: {
385
+ Typography_Variants: "Body",
386
+ },
387
+ },
388
+ },
389
+ {
390
+ text: {
391
+ selectedVariants: {
392
+ Typography_Variants: "Body",
393
+ },
394
+ },
395
+ },
396
+ {
397
+ text: {
398
+ selectedVariants: {
399
+ Typography_Variants: "Body",
400
+ },
401
+ },
402
+ },
403
+ ],
404
+ },
405
+ {
406
+ category: {
407
+ selectedVariants: {
408
+ Heading_Level: "H6",
409
+ },
410
+ heading: {
411
+ level: "4",
412
+ },
413
+ },
414
+ links: [
415
+ {
416
+ text: {
417
+ selectedVariants: {
418
+ Typography_Variants: "Body",
419
+ },
420
+ },
421
+ contactWrapper: {
422
+ selectedVariants: {},
423
+ },
424
+ },
425
+ {
426
+ text: {
427
+ selectedVariants: {
428
+ Typography_Variants: "Body",
429
+ },
430
+ },
431
+ contactWrapper: {
432
+ selectedVariants: {},
433
+ },
434
+ },
435
+ {
436
+ text: {
437
+ selectedVariants: {
438
+ Typography_Variants: "Body",
439
+ },
440
+ },
441
+ contactWrapper: {
442
+ selectedVariants: {},
443
+ },
444
+ },
445
+ ],
446
+ },
447
+ ],
262
448
  },
263
449
  styles: {
264
- container: {
265
- "padding-top": "10xl",
266
- "padding-bottom": "10xl",
267
- mobile: {
268
- "padding-top": "5xl",
269
- "padding-bottom": "5xl",
270
- },
271
- },
450
+ container: {},
272
451
  mainFooterWrapper: {
273
452
  display: "flex",
274
453
  "grid-template-columns": "repeat(4, minmax(0, 1fr))",
@@ -314,37 +493,137 @@ export const Footer3: IBlock = {
314
493
  width: "100%",
315
494
  },
316
495
  links: [
317
- ...DEFAULT_LAYOUT_LINKS_STYLES,
318
496
  {
319
- category: DEFAULT_LAYOUT_LINKS_STYLE.category,
320
- links_levoGroup: DEFAULT_LAYOUT_LINKS_STYLE.links_levoGroup,
321
- links: Array(3)
322
- .fill(0)
323
- .map((_, index) => {
324
- return {
325
- contactWrapper: {
326
- display: "flex",
327
- "align-items": "center",
328
- "column-gap": "xs",
329
- ...(index === 2
330
- ? { "flex-shrink": "0", width: "100%" }
331
- : {}),
332
- },
333
- icon: {
334
- "object-fit": "contain",
335
- "flex-shrink": "0",
336
- filter: "none",
337
- width: "20px",
338
- height: "20px",
339
- },
340
- text: {
341
- mobile: {
342
- "font-size": "sm",
343
- },
344
- ...(index === 2 ? { "max-width": "250px" } : {}),
345
- },
346
- };
347
- }),
497
+ category: {
498
+ "font-weight": 600,
499
+ "margin-bottom": "xs",
500
+ },
501
+ links_levoGroup: {
502
+ display: "flex",
503
+ "flex-direction": "column",
504
+ "row-gap": "xs",
505
+ },
506
+ links: [
507
+ {
508
+ text: {},
509
+ },
510
+ {
511
+ text: {},
512
+ },
513
+ {
514
+ text: {},
515
+ },
516
+ {
517
+ text: {},
518
+ },
519
+ {
520
+ text: {},
521
+ },
522
+ {
523
+ text: {},
524
+ },
525
+ ],
526
+ },
527
+ {
528
+ category: {
529
+ "font-weight": 600,
530
+ "margin-bottom": "xs",
531
+ },
532
+ links_levoGroup: {
533
+ display: "flex",
534
+ "flex-direction": "column",
535
+ "row-gap": "xs",
536
+ },
537
+ links: [
538
+ {
539
+ text: {},
540
+ },
541
+ {
542
+ text: {},
543
+ },
544
+ {
545
+ text: {},
546
+ },
547
+ {
548
+ text: {},
549
+ },
550
+ {
551
+ text: {},
552
+ },
553
+ {
554
+ text: {},
555
+ },
556
+ ],
557
+ },
558
+ {
559
+ category: {
560
+ "font-weight": 600,
561
+ "margin-bottom": "xs",
562
+ },
563
+ links_levoGroup: {
564
+ display: "flex",
565
+ "flex-direction": "column",
566
+ "row-gap": "xs",
567
+ },
568
+ links: [
569
+ {
570
+ text: {},
571
+ },
572
+ {
573
+ text: {},
574
+ },
575
+ {
576
+ text: {},
577
+ },
578
+ {
579
+ text: {},
580
+ },
581
+ {
582
+ text: {},
583
+ },
584
+ {
585
+ text: {},
586
+ },
587
+ ],
588
+ },
589
+ {
590
+ category: {
591
+ "font-weight": 600,
592
+ "margin-bottom": "xs",
593
+ },
594
+ links_levoGroup: {
595
+ display: "flex",
596
+ "flex-direction": "column",
597
+ "row-gap": "xs",
598
+ },
599
+ links: [
600
+ {
601
+ text: {},
602
+ contactWrapper: {
603
+ display: "flex",
604
+ "column-gap": "sm",
605
+ "align-items": "center",
606
+ },
607
+ },
608
+ {
609
+ text: {},
610
+ contactWrapper: {
611
+ display: "flex",
612
+ "column-gap": "sm",
613
+ "justify-content": "start",
614
+ "align-items": "center",
615
+ },
616
+ },
617
+ {
618
+ text: {},
619
+ contactWrapper: {
620
+ display: "flex",
621
+ "column-gap": "sm",
622
+ "justify-content": "start",
623
+ "align-items": "center",
624
+ },
625
+ },
626
+ ],
348
627
  },
349
628
  ],
350
629
  bottomSection: {
@@ -369,9 +648,7 @@ export const Footer3: IBlock = {
369
648
  "flex-direction": "column",
370
649
  },
371
650
  },
372
- copyright: {
373
- color: "text-2",
374
- },
651
+ copyright: {},
375
652
  bottomLinks_levoGroup: {
376
653
  display: "flex",
377
654
  "align-items": "center",
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  Box,
3
3
  Container,
4
+ Heading,
4
5
  Icon,
5
6
  Section,
6
7
  Typography,
@@ -23,7 +24,7 @@ const Footer3: React.FC<ILevoBlockBaseProps<IFooter3Content>> = ({
23
24
  key={`footer-3-section-${sectionIndex}`}
24
25
  data-levo_group_item
25
26
  >
26
- <Typography elementKey={`links.${sectionIndex}.category`} />
27
+ <Heading elementKey={`links.${sectionIndex}.category`} />
27
28
  <Box
28
29
  elementKey={`links.${sectionIndex}.links_levoGroup`}
29
30
  data-levo_group