@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
@@ -28,7 +28,12 @@ export const DEFAULT_CONTENT = {
28
28
  "Elevate your smile with holistic dental care, promoting oral health and confidence.",
29
29
  caption: " ",
30
30
  icon: DUMMY_ICON,
31
- cta: "Donate Now",
31
+ ctas_levoGroup: null,
32
+ ctas: [
33
+ {
34
+ cta: "Donate Now",
35
+ },
36
+ ],
32
37
  },
33
38
  {
34
39
  content_wrapper: null,
@@ -39,7 +44,12 @@ export const DEFAULT_CONTENT = {
39
44
  "Specialized pulmonology care for optimal respiratory health and well-being.",
40
45
  caption: " ",
41
46
  icon: DUMMY_ICON,
42
- cta: "Donate Now",
47
+ ctas_levoGroup: null,
48
+ ctas: [
49
+ {
50
+ cta: "Donate Now",
51
+ },
52
+ ],
43
53
  },
44
54
  {
45
55
  content_wrapper: null,
@@ -50,7 +60,12 @@ export const DEFAULT_CONTENT = {
50
60
  "Specialized pulmonology care for optimal respiratory health and well-being.",
51
61
  caption: " ",
52
62
  icon: DUMMY_ICON,
53
- cta: "Donate Now",
63
+ ctas_levoGroup: null,
64
+ ctas: [
65
+ {
66
+ cta: "Donate Now",
67
+ },
68
+ ],
54
69
  },
55
70
  {
56
71
  content_wrapper: null,
@@ -61,7 +76,12 @@ export const DEFAULT_CONTENT = {
61
76
  "Expert care for infections, ensuring swift diagnosis and effective treatment.",
62
77
  caption: " ",
63
78
  icon: DUMMY_ICON,
64
- cta: "Donate Now",
79
+ ctas_levoGroup: null,
80
+ ctas: [
81
+ {
82
+ cta: "Donate Now",
83
+ },
84
+ ],
65
85
  },
66
86
  {
67
87
  content_wrapper: null,
@@ -72,7 +92,12 @@ export const DEFAULT_CONTENT = {
72
92
  "Comprehensive dialysis services, providing vital kidney care for a healthier life.",
73
93
  caption: " ",
74
94
  icon: DUMMY_ICON,
75
- cta: "Donate Now",
95
+ ctas_levoGroup: null,
96
+ ctas: [
97
+ {
98
+ cta: "Donate Now",
99
+ },
100
+ ],
76
101
  },
77
102
  {
78
103
  content_wrapper: null,
@@ -83,7 +108,12 @@ export const DEFAULT_CONTENT = {
83
108
  "Generalist doctors addressing common health concerns with personalized care.",
84
109
  caption: " ",
85
110
  icon: DUMMY_ICON,
86
- cta: "Donate Now",
111
+ ctas_levoGroup: null,
112
+ ctas: [
113
+ {
114
+ cta: "Donate Now",
115
+ },
116
+ ],
87
117
  },
88
118
  ],
89
119
  };
@@ -95,15 +125,8 @@ export const defaultFeatures1Variant: IBlockLayouts = {
95
125
  layout: {
96
126
  display: "flex",
97
127
  width: "100%",
98
- padding: "80px 112px",
99
128
  "flex-direction": "column",
100
129
  "align-items": "center",
101
- tablet: {
102
- padding: "60px 60px",
103
- },
104
- mobile: {
105
- padding: "40px",
106
- },
107
130
  },
108
131
  container: {
109
132
  display: "flex",
@@ -128,12 +151,10 @@ export const defaultFeatures1Variant: IBlockLayouts = {
128
151
  },
129
152
  title: {
130
153
  "text-align": "center",
131
- color: "text-1",
132
154
  },
133
155
  description: {
134
156
  "max-width": "672px",
135
157
  "text-align": "center",
136
- color: "text-2",
137
158
  },
138
159
  specialties_levoGroup: {
139
160
  display: "grid",
@@ -151,46 +172,55 @@ export const defaultFeatures1Variant: IBlockLayouts = {
151
172
  },
152
173
  specialties: Array(6)
153
174
  .fill(0)
154
- .map((v) => {
155
- return {
156
- content_wrapper: {
157
- "border-radius": "xl",
158
- "border-width": "1px",
159
- "border-style": "solid",
160
- "border-color": "var(--color-border)",
161
- display: "flex",
162
- "flex-direction": "column",
163
- "row-gap": "lg",
164
- padding: "2xl",
165
- },
166
- icon_wrapper: {
167
- display: "flex",
168
- "justify-content": "center",
169
- "align-items": "center",
170
- },
171
- icon: {
172
- height: "16",
173
- width: "16",
174
- "border-radius": "none",
175
- "background-color": "brandSecondary",
175
+ .map((v) => ({
176
+ content_wrapper: {
177
+ "border-radius": "xl",
178
+ "border-width": "1px",
179
+ "border-style": "solid",
180
+ "border-color": "var(--color-border)",
181
+ display: "flex",
182
+ "flex-direction": "column",
183
+ "row-gap": "lg",
184
+ padding: "2xl",
185
+ },
186
+ icon_wrapper: {
187
+ display: "flex",
188
+ "justify-content": "center",
189
+ "align-items": "center",
190
+ },
191
+ icon: {
192
+ height: "16",
193
+ width: "16",
194
+ "border-radius": "none",
195
+ "background-color": "brandSecondary",
196
+ },
197
+ text_wrapper: {
198
+ display: "flex",
199
+ width: "100%",
200
+ "flex-direction": "column",
201
+ "align-items": "center",
202
+ "row-gap": "sm",
203
+ },
204
+ title: {
205
+ "font-weight": 700,
206
+ },
207
+ description: {
208
+ "text-align": "center",
209
+ "max-width": "266px",
210
+ },
211
+ ctas_levoGroup: {
212
+ display: "flex",
213
+ "column-gap": "xs",
214
+ },
215
+ ctas: [
216
+ {
217
+ cta: {
218
+ display: "flex",
219
+ "column-gap": "xs",
220
+ },
176
221
  },
177
- text_wrapper: {
178
- display: "flex",
179
- width: "100%",
180
- "flex-direction": "column",
181
- "align-items": "center",
182
- "row-gap": "sm",
183
- },
184
- title: {
185
- "font-size": "2xl",
186
- "font-weight": "bold",
187
- },
188
- description: {
189
- "text-align": "center",
190
- "max-width": "266px",
191
- },
192
- };
193
- }),
222
+ ],
223
+ })),
194
224
  },
195
225
  content: DEFAULT_CONTENT,
196
226
  config: {
@@ -202,5 +232,93 @@ export const defaultFeatures1Variant: IBlockLayouts = {
202
232
  level: 2,
203
233
  },
204
234
  },
235
+ specialties: [
236
+ {
237
+ title: {
238
+ heading: {
239
+ level: "4",
240
+ },
241
+ selectedVariants: {
242
+ Heading_Level: "H5",
243
+ },
244
+ },
245
+ description: {
246
+ selectedVariants: {},
247
+ },
248
+ cta: {
249
+ selectedVariants: {},
250
+ button_icons: {
251
+ right: {
252
+ enabled: true,
253
+ },
254
+ },
255
+ },
256
+ },
257
+ {
258
+ title: {
259
+ selectedVariants: {
260
+ Heading_Level: "H5",
261
+ },
262
+ },
263
+ description: {
264
+ selectedVariants: {},
265
+ },
266
+ cta: {
267
+ selectedVariants: {},
268
+ },
269
+ },
270
+ {
271
+ title: {
272
+ selectedVariants: {
273
+ Heading_Level: "H5",
274
+ },
275
+ },
276
+ description: {
277
+ selectedVariants: {},
278
+ },
279
+ cta: {
280
+ selectedVariants: {},
281
+ },
282
+ },
283
+ {
284
+ title: {
285
+ selectedVariants: {
286
+ Heading_Level: "H5",
287
+ },
288
+ },
289
+ description: {
290
+ selectedVariants: {},
291
+ },
292
+ cta: {
293
+ selectedVariants: {},
294
+ },
295
+ },
296
+ {
297
+ title: {
298
+ selectedVariants: {
299
+ Heading_Level: "H5",
300
+ },
301
+ },
302
+ description: {
303
+ selectedVariants: {},
304
+ },
305
+ cta: {
306
+ selectedVariants: {},
307
+ },
308
+ },
309
+ {
310
+ title: {
311
+ selectedVariants: {
312
+ Heading_Level: "H5",
313
+ },
314
+ },
315
+ description: {
316
+ selectedVariants: {},
317
+ },
318
+ cta: {
319
+ selectedVariants: {},
320
+ },
321
+ },
322
+ ],
205
323
  },
206
324
  };