@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.
- package/package.json +16 -15
- package/src/blocks/about-us/about-us-1.schema.ts +75 -58
- package/src/blocks/about-us/about-us-2.schema.ts +186 -39
- package/src/blocks/blogs/blog-listing-1.tsx +17 -15
- package/src/blocks/blogs/blog-listing-2.tsx +17 -15
- package/src/blocks/blogs/blog-listing-3.tsx +17 -15
- package/src/blocks/calendar/calendar-1.schema.ts +263 -181
- package/src/blocks/calendar/calendar-1.tsx +42 -11
- package/src/blocks/cards/cards-10.schema.ts +322 -313
- package/src/blocks/cards/cards-10.tsx +9 -1
- package/src/blocks/cards/cards-11.schema.ts +139 -248
- package/src/blocks/cards/cards-12.schema.ts +117 -196
- package/src/blocks/cards/cards-13.schema.ts +107 -56
- package/src/blocks/cards/cards-14.schema.ts +58 -154
- package/src/blocks/cards/cards-15.schema.ts +54 -31
- package/src/blocks/cards/cards-15.tsx +13 -2
- package/src/blocks/cards/cards-2.schema.ts +83 -88
- package/src/blocks/cards/cards-2.tsx +10 -2
- package/src/blocks/cards/cards-3.schema.ts +75 -70
- package/src/blocks/cards/cards-4.schema.ts +149 -91
- package/src/blocks/cards/cards-4.tsx +13 -2
- package/src/blocks/cards/cards-5.schema.ts +91 -68
- package/src/blocks/cards/cards-5.tsx +9 -1
- package/src/blocks/cards/cards-6.schema.ts +794 -972
- package/src/blocks/cards/cards-6.tsx +18 -2
- package/src/blocks/cards/cards-7.schema.ts +802 -2250
- package/src/blocks/cards/cards-7.tsx +14 -1
- package/src/blocks/cards/cards-8.schema.ts +166 -347
- package/src/blocks/cards/cards-8.tsx +14 -1
- package/src/blocks/cards/cards-9.schema.ts +300 -305
- package/src/blocks/cards/cards-9.tsx +27 -3
- package/src/blocks/carousel/carousel-1.schema.ts +479 -46
- package/src/blocks/carousel/carousel-1.tsx +2 -0
- package/src/blocks/carousel/carousel-2.schema.ts +170 -118
- package/src/blocks/carousel/carousel-2.tsx +10 -2
- package/src/blocks/community/community-1.schema.ts +566 -0
- package/src/blocks/community/community-1.tsx +690 -0
- package/src/blocks/community/community-post-1.schema.ts +417 -0
- package/src/blocks/community/community-post-1.tsx +155 -0
- package/src/blocks/contact-us/contact-us-1.schema.ts +33 -43
- package/src/blocks/contact-us/contact-us-2.schema.ts +39 -17
- package/src/blocks/contact-us/contact-us-2.tsx +1 -1
- package/src/blocks/content/content-1.schema.ts +184 -234
- package/src/blocks/content/content-1.tsx +48 -38
- package/src/blocks/content/content-2.schema.ts +143 -32
- package/src/blocks/content/content-2.tsx +15 -3
- package/src/blocks/content/content-3.schema.ts +215 -205
- package/src/blocks/content/content-3.tsx +13 -1
- package/src/blocks/content/content-4.schema.ts +124 -85
- package/src/blocks/content/content-4.tsx +2 -1
- package/src/blocks/content/content-5.schema.ts +296 -278
- package/src/blocks/content/content-5.tsx +23 -2
- package/src/blocks/content/content-6.schema.ts +474 -244
- package/src/blocks/content/content-6.tsx +23 -1
- package/src/blocks/content/content-7.schema.ts +173 -133
- package/src/blocks/content/content-7.tsx +27 -3
- package/src/blocks/content/content-8.schema.ts +27 -17
- package/src/blocks/content/content-9.schema.ts +64 -2208
- package/src/blocks/content/content-9.tsx +6 -3
- package/src/blocks/cta/cta-1.schema.ts +13 -108
- package/src/blocks/cta/cta-2.schema.ts +60 -69
- package/src/blocks/cta/cta-3.schema.ts +97 -66
- package/src/blocks/embed/embed-1.schema.ts +30 -52
- package/src/blocks/event/event-details.schema.ts +7 -0
- package/src/blocks/event/event-details.tsx +1 -0
- package/src/blocks/event/event-listing-2.tsx +17 -15
- package/src/blocks/event/event-listing-3.tsx +17 -15
- package/src/blocks/event/event-listing-4.tsx +17 -15
- package/src/blocks/event/event-listing.tsx +17 -15
- package/src/blocks/faq/faq-1.schema.ts +158 -112
- package/src/blocks/faq/faq-1.tsx +12 -3
- package/src/blocks/faq/faq-2.schema.ts +137 -74
- package/src/blocks/faq/faq-2.tsx +10 -1
- package/src/blocks/faq/faq-3.schema.ts +185 -105
- package/src/blocks/faq/faq-3.tsx +19 -3
- package/src/blocks/features/features-1/features-1.schema.ts +11 -3
- package/src/blocks/features/features-1/features-1.tsx +10 -1
- package/src/blocks/features/features-1/variants/default.ts +172 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v1.ts +392 -54
- package/src/blocks/features/features-1/variants/stylized-cards-v2.ts +119 -103
- package/src/blocks/features/features-1/variants/stylized-cards-v3.ts +16 -199
- package/src/blocks/features/features-2.schema.ts +178 -45
- package/src/blocks/features/features-2.tsx +10 -2
- package/src/blocks/features/features-3.schema.ts +284 -65
- package/src/blocks/features/features-3.tsx +22 -3
- package/src/blocks/features/features-4.schema.ts +380 -185
- package/src/blocks/features/features-4.tsx +9 -1
- package/src/blocks/features/features-5.schema.ts +194 -198
- package/src/blocks/features/features-5.tsx +12 -1
- package/src/blocks/features/features-6.schema.ts +240 -193
- package/src/blocks/features/features-6.tsx +16 -2
- package/src/blocks/floating-buttons/floating-button-1.schema.ts +105 -0
- package/src/blocks/floating-buttons/floating-button-1.tsx +20 -0
- package/src/blocks/footer/footer-1.schema.ts +118 -48
- package/src/blocks/footer/footer-1.tsx +2 -1
- package/src/blocks/footer/footer-2.schema.ts +235 -31
- package/src/blocks/footer/footer-2.tsx +2 -1
- package/src/blocks/footer/footer-3.schema.ts +334 -57
- package/src/blocks/footer/footer-3.tsx +2 -1
- package/src/blocks/footer/footer-4.schema.ts +147 -76
- package/src/blocks/footer/footer-4.tsx +2 -1
- package/src/blocks/footer/footer-5.schema.ts +144 -52
- package/src/blocks/footer/footer-5.tsx +2 -1
- package/src/blocks/footer/footer-6.schema.ts +68 -140
- package/src/blocks/footer/footer-6.tsx +2 -1
- package/src/blocks/hero/hero-1.schema.ts +184 -87
- package/src/blocks/hero/hero-10.schema.ts +8 -29
- package/src/blocks/hero/hero-11.schema.ts +192 -89
- package/src/blocks/hero/hero-11.tsx +1 -1
- package/src/blocks/hero/hero-12.schema.ts +107 -170
- package/src/blocks/hero/hero-12.tsx +1 -1
- package/src/blocks/hero/hero-13.schema.ts +42 -28
- package/src/blocks/hero/hero-2.schema.ts +33 -58
- package/src/blocks/hero/hero-3.schema.ts +42 -34
- package/src/blocks/hero/hero-4.schema.ts +265 -70
- package/src/blocks/hero/hero-4.tsx +19 -2
- package/src/blocks/hero/hero-5.schema.ts +122 -44
- package/src/blocks/hero/hero-5.tsx +14 -2
- package/src/blocks/hero/hero-6.schema.ts +159 -255
- package/src/blocks/hero/hero-7.schema.ts +105 -34
- package/src/blocks/hero/hero-7.tsx +4 -1
- package/src/blocks/hero/hero-8.schema.ts +363 -133
- package/src/blocks/hero/hero-8.tsx +27 -3
- package/src/blocks/hero/hero-9.schema.ts +116 -83
- package/src/blocks/hero/hero-9.tsx +9 -1
- package/src/blocks/index.ts +7 -0
- package/src/blocks/logos/logos-1.schema.ts +424 -30
- package/src/blocks/polling/polling-1.schema.ts +1 -19
- package/src/blocks/pricing/pricing-1.schema.ts +296 -266
- package/src/blocks/pricing/pricing-1.tsx +16 -2
- package/src/blocks/products/products-listing-1.schema.ts +144 -33
- package/src/blocks/products/products-listing-1.tsx +9 -1
- package/src/blocks/products/products-listing-2.schema.ts +199 -213
- package/src/blocks/products/products-listing-2.tsx +25 -3
- package/src/blocks/products/products-listing-3.schema.ts +439 -154
- package/src/blocks/products/products-listing-3.tsx +43 -8
- package/src/blocks/profile/profile-1.schema.ts +67 -49
- package/src/blocks/profile/profile-1.tsx +3 -2
- package/src/blocks/profile/profile-2.schema.ts +73 -85
- package/src/blocks/profile/profile-2.tsx +2 -1
- package/src/blocks/profile/profile-3.schema.ts +162 -529
- package/src/blocks/profile/profile-3.tsx +2 -2
- package/src/blocks/services/service-1.schema.ts +204 -804
- package/src/blocks/services/service-1.tsx +15 -2
- package/src/blocks/services/service-2.schema.ts +95 -75
- package/src/blocks/services/service-2.tsx +9 -1
- package/src/blocks/services/service-3.schema.ts +73 -73
- package/src/blocks/services/service-3.tsx +40 -39
- package/src/blocks/stats/stats-1.schema.ts +225 -21
- package/src/blocks/stats/stats-1.tsx +4 -0
- package/src/blocks/stats/stats-2.schema.ts +13 -5
- package/src/blocks/stats/stats-2.tsx +9 -1
- package/src/blocks/stats/variants/default.ts +59 -41
- package/src/blocks/stats/variants/hero.ts +64 -31
- package/src/blocks/tabs/tab-1.schema.ts +105 -407
- package/src/blocks/tabs/tab-1.tsx +15 -4
- package/src/blocks/tabs/tab-2.schema.ts +208 -278
- package/src/blocks/tabs/tab-2.tsx +14 -2
- package/src/blocks/team/team-1.schema.ts +621 -76
- package/src/blocks/team/team-1.tsx +9 -1
- package/src/blocks/team/team-2.schema.ts +693 -1421
- package/src/blocks/team/team-2.tsx +4 -1
- package/src/blocks/team/team-3.schema.ts +147 -74
- package/src/blocks/team/team-3.tsx +1 -0
- package/src/blocks/team/team-4.schema.ts +216 -57
- package/src/blocks/team/team-4.tsx +10 -2
- package/src/blocks/team/team-5.schema.ts +67 -42
- package/src/blocks/team/team-5.tsx +12 -3
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.schema.ts +9 -26
- package/src/blocks/termsAndPrivacy/terms-and-conditions-1.tsx +1 -1
- package/src/blocks/testimonial/testimonial-1.schema.ts +712 -63
- package/src/blocks/testimonial/testimonial-1.tsx +2 -4
- package/src/blocks/testimonial/testimonial-2.schema.ts +1332 -354
- package/src/blocks/testimonial/testimonial-2.tsx +4 -1
- package/src/blocks/testimonial/testimonial-3.schema.ts +215 -71
- package/src/blocks/testimonial/testimonial-3.tsx +5 -2
- package/src/blocks/testimonial/testimonial-4.schema.ts +331 -933
- package/src/blocks/testimonial/testimonial-4.tsx +4 -1
- package/src/blocks/testimonial/testimonial-5/variants/default.ts +179 -171
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithLogo.ts +205 -501
- package/src/blocks/testimonial/testimonial-5/variants/testimonialWithRatings.ts +190 -316
- package/src/blocks/testimonial/testimonial-6.schema.ts +204 -267
- package/src/blocks/testimonial/testimonial-7.schema.ts +74 -45
- package/src/blocks/testimonial/testimonial-7.tsx +2 -2
- package/src/blocks/timeline/timeline-1.schema.ts +196 -149
- package/src/blocks/timeline/timeline-1.tsx +4 -1
- package/src/blocks/users/edit-profile.schema.ts +56 -44
- package/src/blocks/users/edit-profile.tsx +13 -6
- package/src/constants/index.ts +19 -0
- package/src/schemas/blocks.ts +6 -0
- package/src/schemas/categories.ts +12 -0
|
@@ -72,21 +72,23 @@ const BlogListing2: React.FC<
|
|
|
72
72
|
</Box>
|
|
73
73
|
))}
|
|
74
74
|
</Box>
|
|
75
|
-
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
75
|
+
{(meta?.pages || 0) > 1 && (
|
|
76
|
+
<Box elementKey="pagination-wrapper">
|
|
77
|
+
<Button
|
|
78
|
+
elementKey="pagination-left"
|
|
79
|
+
disabled={query?.page === 1}
|
|
80
|
+
onClick={handlePrevious}
|
|
81
|
+
/>
|
|
82
|
+
<Typography elementKey="pagination-text">
|
|
83
|
+
{`${query?.page || 0}/${meta?.pages || 0}`}
|
|
84
|
+
</Typography>
|
|
85
|
+
<Button
|
|
86
|
+
elementKey="pagination-right"
|
|
87
|
+
onClick={handleNext}
|
|
88
|
+
disabled={query?.page === meta?.pages}
|
|
89
|
+
/>
|
|
90
|
+
</Box>
|
|
91
|
+
)}
|
|
90
92
|
</Container>
|
|
91
93
|
</Section>
|
|
92
94
|
);
|
|
@@ -61,21 +61,23 @@ const BlogListing3: React.FC<
|
|
|
61
61
|
</Box>
|
|
62
62
|
))}
|
|
63
63
|
</Box>
|
|
64
|
-
|
|
65
|
-
<
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
64
|
+
{(meta?.pages || 0) > 1 && (
|
|
65
|
+
<Box elementKey="pagination-wrapper">
|
|
66
|
+
<Button
|
|
67
|
+
elementKey="pagination-left"
|
|
68
|
+
disabled={query?.page === 1}
|
|
69
|
+
onClick={handlePrevious}
|
|
70
|
+
/>
|
|
71
|
+
<Typography elementKey="pagination-text">
|
|
72
|
+
{`${query?.page || 0}/${meta?.pages || 0}`}
|
|
73
|
+
</Typography>
|
|
74
|
+
<Button
|
|
75
|
+
elementKey="pagination-right"
|
|
76
|
+
onClick={handleNext}
|
|
77
|
+
disabled={query?.page === meta?.pages}
|
|
78
|
+
/>
|
|
79
|
+
</Box>
|
|
80
|
+
)}
|
|
79
81
|
</Container>
|
|
80
82
|
</Section>
|
|
81
83
|
);
|
|
@@ -63,13 +63,32 @@ const DEFAULT_CONTENT = {
|
|
|
63
63
|
}),
|
|
64
64
|
};
|
|
65
65
|
}),
|
|
66
|
+
empty_state: null,
|
|
67
|
+
empty_state_icon: {
|
|
68
|
+
kind: "icon",
|
|
69
|
+
data: {
|
|
70
|
+
id: "calendar-1",
|
|
71
|
+
label: "Calendar 1",
|
|
72
|
+
tags: ["calendar", "custom", "time"],
|
|
73
|
+
svgCode:
|
|
74
|
+
'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M8 5.75C7.59 5.75 7.25 5.41 7.25 5V2C7.25 1.59 7.59 1.25 8 1.25C8.41 1.25 8.75 1.59 8.75 2V5C8.75 5.41 8.41 5.75 8 5.75Z" fill="var(--color-icon-primary)"/>\n<path d="M16 5.75C15.59 5.75 15.25 5.41 15.25 5V2C15.25 1.59 15.59 1.25 16 1.25C16.41 1.25 16.75 1.59 16.75 2V5C16.75 5.41 16.41 5.75 16 5.75Z" fill="var(--color-icon-primary)"/>\n<path d="M8.5 14.5001C8.37 14.5001 8.24 14.4701 8.12 14.4201C7.99 14.3701 7.89 14.3001 7.79 14.2101C7.61 14.0201 7.5 13.7701 7.5 13.5001C7.5 13.3701 7.53 13.2401 7.58 13.1201C7.63 13.0001 7.7 12.8901 7.79 12.7901C7.89 12.7001 7.99 12.6301 8.12 12.5801C8.48 12.4301 8.93 12.5101 9.21 12.7901C9.39 12.9801 9.5 13.2401 9.5 13.5001C9.5 13.5601 9.49 13.6301 9.48 13.7001C9.47 13.7601 9.45 13.8201 9.42 13.8801C9.4 13.9401 9.37 14.0001 9.33 14.0601C9.3 14.1101 9.25 14.1601 9.21 14.2101C9.02 14.3901 8.76 14.5001 8.5 14.5001Z" fill="var(--color-icon-primary)"/>\n<path d="M12 14.5C11.87 14.5 11.74 14.47 11.62 14.42C11.49 14.37 11.39 14.3 11.29 14.21C11.11 14.02 11 13.77 11 13.5C11 13.37 11.03 13.24 11.08 13.12C11.13 13 11.2 12.89 11.29 12.79C11.39 12.7 11.49 12.63 11.62 12.58C11.98 12.42 12.43 12.51 12.71 12.79C12.89 12.98 13 13.24 13 13.5C13 13.56 12.99 13.63 12.98 13.7C12.97 13.76 12.95 13.82 12.92 13.88C12.9 13.94 12.87 14 12.83 14.06C12.8 14.11 12.75 14.16 12.71 14.21C12.52 14.39 12.26 14.5 12 14.5Z" fill="var(--color-icon-primary)"/>\n<path d="M15.5 14.5C15.37 14.5 15.24 14.47 15.12 14.42C14.99 14.37 14.89 14.3 14.79 14.21C14.75 14.16 14.71 14.11 14.67 14.06C14.63 14 14.6 13.94 14.58 13.88C14.55 13.82 14.53 13.76 14.52 13.7C14.51 13.63 14.5 13.56 14.5 13.5C14.5 13.24 14.61 12.98 14.79 12.79C14.89 12.7 14.99 12.63 15.12 12.58C15.49 12.42 15.93 12.51 16.21 12.79C16.39 12.98 16.5 13.24 16.5 13.5C16.5 13.56 16.49 13.63 16.48 13.7C16.47 13.76 16.45 13.82 16.42 13.88C16.4 13.94 16.37 14 16.33 14.06C16.3 14.11 16.25 14.16 16.21 14.21C16.02 14.39 15.76 14.5 15.5 14.5Z" fill="var(--color-icon-primary)"/>\n<path d="M8.5 17.9999C8.37 17.9999 8.24 17.97 8.12 17.92C8 17.87 7.89 17.7999 7.79 17.7099C7.61 17.5199 7.5 17.2599 7.5 16.9999C7.5 16.8699 7.53 16.7399 7.58 16.6199C7.63 16.4899 7.7 16.38 7.79 16.29C8.16 15.92 8.84 15.92 9.21 16.29C9.39 16.48 9.5 16.7399 9.5 16.9999C9.5 17.2599 9.39 17.5199 9.21 17.7099C9.02 17.8899 8.76 17.9999 8.5 17.9999Z" fill="var(--color-icon-primary)"/>\n<path d="M12 17.9999C11.74 17.9999 11.48 17.8899 11.29 17.7099C11.11 17.5199 11 17.2599 11 16.9999C11 16.8699 11.03 16.7399 11.08 16.6199C11.13 16.4899 11.2 16.38 11.29 16.29C11.66 15.92 12.34 15.92 12.71 16.29C12.8 16.38 12.87 16.4899 12.92 16.6199C12.97 16.7399 13 16.8699 13 16.9999C13 17.2599 12.89 17.5199 12.71 17.7099C12.52 17.8899 12.26 17.9999 12 17.9999Z" fill="var(--color-icon-primary)"/>\n<path d="M15.5 18C15.24 18 14.98 17.89 14.79 17.71C14.7 17.62 14.63 17.51 14.58 17.38C14.53 17.26 14.5 17.13 14.5 17C14.5 16.87 14.53 16.74 14.58 16.62C14.63 16.49 14.7 16.38 14.79 16.29C15.02 16.06 15.37 15.95 15.69 16.02C15.76 16.03 15.82 16.05 15.88 16.08C15.94 16.1 16 16.13 16.06 16.17C16.11 16.2 16.16 16.25 16.21 16.29C16.39 16.48 16.5 16.74 16.5 17C16.5 17.26 16.39 17.52 16.21 17.71C16.02 17.89 15.76 18 15.5 18Z" fill="var(--color-icon-primary)"/>\n<path d="M20.5 9.83997H3.5C3.09 9.83997 2.75 9.49997 2.75 9.08997C2.75 8.67997 3.09 8.33997 3.5 8.33997H20.5C20.91 8.33997 21.25 8.67997 21.25 9.08997C21.25 9.49997 20.91 9.83997 20.5 9.83997Z" fill="var(--color-icon-primary)"/>\n<path d="M16 22.75H8C4.35 22.75 2.25 20.65 2.25 17V8.5C2.25 4.85 4.35 2.75 8 2.75H16C19.65 2.75 21.75 4.85 21.75 8.5V17C21.75 20.65 19.65 22.75 16 22.75ZM8 4.25C5.14 4.25 3.75 5.64 3.75 8.5V17C3.75 19.86 5.14 21.25 8 21.25H16C18.86 21.25 20.25 19.86 20.25 17V8.5C20.25 5.64 18.86 4.25 16 4.25H8Z" fill="var(--color-icon-primary)"/>\n</svg>',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
empty_state_title: "No Events",
|
|
78
|
+
empty_state_description:
|
|
79
|
+
"There are no events scheduled for this month. Check back later or select a different month to view upcoming events.",
|
|
80
|
+
empty_state_cta: "Show All Events",
|
|
66
81
|
calendar_section: null,
|
|
67
82
|
calendar_header: null,
|
|
68
83
|
calendar_title: "Events Calendar",
|
|
69
84
|
calendar_description:
|
|
70
85
|
"You can use the calendar to find the desired events and get the required information easily",
|
|
71
86
|
calendar: null,
|
|
72
|
-
|
|
87
|
+
calendar_ctas_levoGroup: null,
|
|
88
|
+
calendar_ctas: [
|
|
89
|
+
{ calendar_cta: "View all events" },
|
|
90
|
+
{ calendar_cta: "Search Events" },
|
|
91
|
+
],
|
|
73
92
|
};
|
|
74
93
|
|
|
75
94
|
export type ICalendar1Content = typeof DEFAULT_CONTENT;
|
|
@@ -193,7 +212,31 @@ export const Calendar1: IBlock = {
|
|
|
193
212
|
},
|
|
194
213
|
],
|
|
195
214
|
},
|
|
196
|
-
|
|
215
|
+
{
|
|
216
|
+
key: "empty_state",
|
|
217
|
+
label: "Empty State",
|
|
218
|
+
field_interface: "BoxWidget",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
key: "empty_state_icon",
|
|
222
|
+
label: "Empty State Icon",
|
|
223
|
+
field_interface: "IconWidget",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
key: "empty_state_title",
|
|
227
|
+
label: "Empty State Title",
|
|
228
|
+
field_interface: "HeadingWidget",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
key: "empty_state_description",
|
|
232
|
+
label: "Empty State Description",
|
|
233
|
+
field_interface: "TypographyWidget",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
key: "empty_state_cta",
|
|
237
|
+
label: "Reset Calendar CTA",
|
|
238
|
+
field_interface: "ButtonWidget",
|
|
239
|
+
},
|
|
197
240
|
{
|
|
198
241
|
key: "calendar_section",
|
|
199
242
|
label: "Calendar Section",
|
|
@@ -220,9 +263,17 @@ export const Calendar1: IBlock = {
|
|
|
220
263
|
field_interface: "BoxWidget",
|
|
221
264
|
},
|
|
222
265
|
{
|
|
223
|
-
key: "
|
|
224
|
-
label: "Calendar
|
|
225
|
-
field_interface: "
|
|
266
|
+
key: "calendar_ctas",
|
|
267
|
+
label: "Calendar CTA Group",
|
|
268
|
+
field_interface: "BoxWidget",
|
|
269
|
+
kind: "group",
|
|
270
|
+
fields: [
|
|
271
|
+
{
|
|
272
|
+
key: "calendar_cta",
|
|
273
|
+
label: "Calendar Cta",
|
|
274
|
+
field_interface: "ButtonWidget",
|
|
275
|
+
},
|
|
276
|
+
],
|
|
226
277
|
},
|
|
227
278
|
],
|
|
228
279
|
layouts: [
|
|
@@ -230,27 +281,8 @@ export const Calendar1: IBlock = {
|
|
|
230
281
|
key: "default",
|
|
231
282
|
title: "Default",
|
|
232
283
|
styles: {
|
|
233
|
-
layout: {
|
|
234
|
-
width: "100%",
|
|
235
|
-
"padding-top": "10xl",
|
|
236
|
-
"padding-bottom": "10xl",
|
|
237
|
-
"padding-right": "8xl",
|
|
238
|
-
"padding-left": "8xl",
|
|
239
|
-
tablet: {
|
|
240
|
-
"padding-top": "5xl",
|
|
241
|
-
"padding-bottom": "5xl",
|
|
242
|
-
"padding-right": "5xl",
|
|
243
|
-
"padding-left": "5xl",
|
|
244
|
-
},
|
|
245
|
-
mobile: {
|
|
246
|
-
"padding-top": "2xl",
|
|
247
|
-
"padding-bottom": "2xl",
|
|
248
|
-
"padding-right": "2xl",
|
|
249
|
-
"padding-left": "2xl",
|
|
250
|
-
},
|
|
251
|
-
},
|
|
284
|
+
layout: {},
|
|
252
285
|
container: {
|
|
253
|
-
width: "100%",
|
|
254
286
|
display: "flex",
|
|
255
287
|
"flex-direction": "column",
|
|
256
288
|
"row-gap": "xl",
|
|
@@ -291,124 +323,153 @@ export const Calendar1: IBlock = {
|
|
|
291
323
|
},
|
|
292
324
|
listing_section: Array(ITEMS_COUNT)
|
|
293
325
|
.fill(0)
|
|
294
|
-
.map((v) => {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
opacity: 13,
|
|
317
|
-
},
|
|
318
|
-
mobile: {
|
|
319
|
-
"flex-direction": "column",
|
|
320
|
-
"row-gap": "md",
|
|
321
|
-
},
|
|
326
|
+
.map((v) => ({
|
|
327
|
+
event: {
|
|
328
|
+
width: "100%",
|
|
329
|
+
display: "flex",
|
|
330
|
+
"padding-top": "3xl",
|
|
331
|
+
"padding-right": "3xl",
|
|
332
|
+
"padding-bottom": "3xl",
|
|
333
|
+
"padding-left": "xl",
|
|
334
|
+
"border-style": "solid",
|
|
335
|
+
"border-right-width": "0px",
|
|
336
|
+
"border-bottom-width": "0px",
|
|
337
|
+
"border-top-width": "0px",
|
|
338
|
+
"border-left-width": "8px",
|
|
339
|
+
"border-color": "brand",
|
|
340
|
+
"border-radius": "lg",
|
|
341
|
+
"box-shadow": {
|
|
342
|
+
x: 0,
|
|
343
|
+
y: 4,
|
|
344
|
+
blur: 84,
|
|
345
|
+
spread: 0,
|
|
346
|
+
color: "oklch(0.5193 0.0628 284.0011 / 0.13)",
|
|
347
|
+
opacity: 13,
|
|
322
348
|
},
|
|
323
|
-
|
|
324
|
-
display: "flex",
|
|
349
|
+
mobile: {
|
|
325
350
|
"flex-direction": "column",
|
|
326
|
-
"
|
|
327
|
-
"justify-content": "center",
|
|
328
|
-
"align-items": "center",
|
|
329
|
-
mobile: {
|
|
330
|
-
"flex-direction": "row",
|
|
331
|
-
"justify-content": "flex-start",
|
|
332
|
-
"column-gap": "xs",
|
|
333
|
-
},
|
|
334
|
-
},
|
|
335
|
-
event_to: {
|
|
336
|
-
"font-weight": 600,
|
|
337
|
-
"margin-top": "4xs",
|
|
338
|
-
"margin-bottom": "4xs",
|
|
339
|
-
mobile: {
|
|
340
|
-
"padding-right": "none",
|
|
341
|
-
"margin-right": "xs",
|
|
342
|
-
},
|
|
343
|
-
},
|
|
344
|
-
event_starts: {
|
|
345
|
-
display: "flex",
|
|
346
|
-
"flex-direction": "column",
|
|
347
|
-
"margin-bottom": "3xs",
|
|
348
|
-
mobile: {
|
|
349
|
-
"margin-bottom": "none",
|
|
350
|
-
"align-items": "flex-start",
|
|
351
|
-
},
|
|
352
|
-
},
|
|
353
|
-
event_starts_date: {
|
|
354
|
-
"text-align": "center",
|
|
355
|
-
},
|
|
356
|
-
event_starts_month: {
|
|
357
|
-
"text-align": "center",
|
|
358
|
-
"font-weight": 600,
|
|
351
|
+
"row-gap": "md",
|
|
359
352
|
},
|
|
360
|
-
|
|
361
|
-
|
|
353
|
+
},
|
|
354
|
+
event_timing: {
|
|
355
|
+
display: "flex",
|
|
356
|
+
"flex-direction": "column",
|
|
357
|
+
"min-width": "95px",
|
|
358
|
+
"justify-content": "center",
|
|
359
|
+
"align-items": "center",
|
|
360
|
+
mobile: {
|
|
361
|
+
"flex-direction": "row",
|
|
362
|
+
"justify-content": "flex-start",
|
|
363
|
+
"column-gap": "xs",
|
|
362
364
|
},
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
365
|
+
},
|
|
366
|
+
event_to: {
|
|
367
|
+
"font-weight": 600,
|
|
368
|
+
"margin-top": "4xs",
|
|
369
|
+
"margin-bottom": "4xs",
|
|
370
|
+
mobile: {
|
|
371
|
+
"padding-right": "none",
|
|
372
|
+
"margin-right": "xs",
|
|
366
373
|
},
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
mobile: {
|
|
376
|
-
display: "none",
|
|
377
|
-
},
|
|
374
|
+
},
|
|
375
|
+
event_starts: {
|
|
376
|
+
display: "flex",
|
|
377
|
+
"flex-direction": "column",
|
|
378
|
+
"margin-bottom": "3xs",
|
|
379
|
+
mobile: {
|
|
380
|
+
"margin-bottom": "none",
|
|
381
|
+
"align-items": "flex-start",
|
|
378
382
|
},
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
383
|
+
},
|
|
384
|
+
event_starts_date: {
|
|
385
|
+
"text-align": "center",
|
|
386
|
+
},
|
|
387
|
+
event_starts_month: {
|
|
388
|
+
"text-align": "center",
|
|
389
|
+
"font-weight": 600,
|
|
390
|
+
},
|
|
391
|
+
event_ends_date: {
|
|
392
|
+
"text-align": "center",
|
|
393
|
+
},
|
|
394
|
+
event_ends_month: {
|
|
395
|
+
"text-align": "center",
|
|
396
|
+
"font-weight": 600,
|
|
397
|
+
},
|
|
398
|
+
divider: {
|
|
399
|
+
"margin-left": "2xs",
|
|
400
|
+
"margin-right": "3xl",
|
|
401
|
+
"border-style": "solid",
|
|
402
|
+
"border-top-width": "0px",
|
|
403
|
+
"border-right-width": "0px",
|
|
404
|
+
"border-bottom-width": "0px",
|
|
405
|
+
"border-left-width": "1px",
|
|
406
|
+
mobile: {
|
|
407
|
+
display: "none",
|
|
384
408
|
},
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
409
|
+
},
|
|
410
|
+
event_description: {
|
|
411
|
+
"font-weight": 500,
|
|
412
|
+
},
|
|
413
|
+
event_content: {
|
|
414
|
+
"align-self": "center",
|
|
415
|
+
width: "100%",
|
|
416
|
+
display: "flex",
|
|
417
|
+
"flex-direction": "column",
|
|
418
|
+
"row-gap": "md",
|
|
419
|
+
},
|
|
420
|
+
event_category: {
|
|
421
|
+
"font-weight": 800,
|
|
422
|
+
color: "brand",
|
|
423
|
+
},
|
|
424
|
+
event_sub_content: {
|
|
425
|
+
display: "flex",
|
|
426
|
+
"flex-direction": "column",
|
|
427
|
+
"row-gap": "2xs",
|
|
428
|
+
},
|
|
429
|
+
event_ends: {
|
|
430
|
+
display: "flex",
|
|
431
|
+
"flex-direction": "column",
|
|
432
|
+
"margin-bottom": "3xs",
|
|
433
|
+
mobile: {
|
|
434
|
+
"margin-bottom": "none",
|
|
435
|
+
"align-items": "flex-start",
|
|
391
436
|
},
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
437
|
+
},
|
|
438
|
+
event_title: {
|
|
439
|
+
"font-weight": 800,
|
|
440
|
+
},
|
|
441
|
+
})),
|
|
442
|
+
empty_state: {
|
|
443
|
+
display: "flex",
|
|
444
|
+
"flex-direction": "column",
|
|
445
|
+
"align-items": "center",
|
|
446
|
+
"justify-content": "center",
|
|
447
|
+
"text-align": "center",
|
|
448
|
+
"padding-top": "64px",
|
|
449
|
+
"padding-right": "32px",
|
|
450
|
+
"padding-bottom": "64px",
|
|
451
|
+
"padding-left": "32px",
|
|
452
|
+
"min-height": "300px",
|
|
453
|
+
width: "100%",
|
|
454
|
+
},
|
|
455
|
+
empty_state_icon: {
|
|
456
|
+
"font-size": "64px",
|
|
457
|
+
"margin-bottom": "24px",
|
|
458
|
+
opacity: 0.3,
|
|
459
|
+
},
|
|
460
|
+
empty_state_title: {
|
|
461
|
+
"font-size": "24px",
|
|
462
|
+
"font-weight": 600,
|
|
463
|
+
"margin-bottom": "16px",
|
|
464
|
+
},
|
|
465
|
+
empty_state_description: {
|
|
466
|
+
"font-size": "16px",
|
|
467
|
+
opacity: 0.7,
|
|
468
|
+
"max-width": "400px",
|
|
469
|
+
"line-height": 1.6,
|
|
470
|
+
"margin-bottom": "24px",
|
|
471
|
+
},
|
|
472
|
+
empty_state_cta: {},
|
|
412
473
|
calendar_section: {
|
|
413
474
|
width: "100%",
|
|
414
475
|
display: "flex",
|
|
@@ -448,7 +509,14 @@ export const Calendar1: IBlock = {
|
|
|
448
509
|
"border-width": "1px",
|
|
449
510
|
"border-color": "oklch(0.9401 0 0)",
|
|
450
511
|
},
|
|
451
|
-
|
|
512
|
+
calendar_ctas_levoGroup: {
|
|
513
|
+
display: "flex",
|
|
514
|
+
"flex-direction": "column",
|
|
515
|
+
"row-gap": "xs",
|
|
516
|
+
},
|
|
517
|
+
calendar_ctas: Array(2)
|
|
518
|
+
.fill(0)
|
|
519
|
+
.map(() => ({ calendar_cta: {} })),
|
|
452
520
|
},
|
|
453
521
|
content: DEFAULT_CONTENT,
|
|
454
522
|
config: {
|
|
@@ -470,7 +538,7 @@ export const Calendar1: IBlock = {
|
|
|
470
538
|
level: "3",
|
|
471
539
|
},
|
|
472
540
|
selectedVariants: {
|
|
473
|
-
Heading_Level: "
|
|
541
|
+
Heading_Level: "H4",
|
|
474
542
|
},
|
|
475
543
|
},
|
|
476
544
|
calendar_description: {
|
|
@@ -480,57 +548,71 @@ export const Calendar1: IBlock = {
|
|
|
480
548
|
},
|
|
481
549
|
listing_section: Array(ITEMS_COUNT)
|
|
482
550
|
.fill(0)
|
|
483
|
-
.map(() => {
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
551
|
+
.map((v) => ({
|
|
552
|
+
event_to: {
|
|
553
|
+
selectedVariants: {
|
|
554
|
+
Typography_Variants: "Small",
|
|
555
|
+
},
|
|
556
|
+
},
|
|
557
|
+
event_ends_month: {
|
|
558
|
+
selectedVariants: {
|
|
559
|
+
Typography_Variants: "Body",
|
|
560
|
+
},
|
|
561
|
+
},
|
|
562
|
+
event_starts_month: {
|
|
563
|
+
selectedVariants: {
|
|
564
|
+
Typography_Variants: "Body",
|
|
489
565
|
},
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
566
|
+
},
|
|
567
|
+
event_starts_date: {
|
|
568
|
+
selectedVariants: {
|
|
569
|
+
Heading_Level: "H2",
|
|
494
570
|
},
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
Typography_Variants: "Body",
|
|
498
|
-
},
|
|
571
|
+
heading: {
|
|
572
|
+
level: "4",
|
|
499
573
|
},
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
heading: {
|
|
505
|
-
level: "4",
|
|
506
|
-
},
|
|
574
|
+
},
|
|
575
|
+
event_ends_date: {
|
|
576
|
+
selectedVariants: {
|
|
577
|
+
Heading_Level: "H2",
|
|
507
578
|
},
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
Heading_Level: "H2",
|
|
511
|
-
},
|
|
512
|
-
heading: {
|
|
513
|
-
level: "4",
|
|
514
|
-
},
|
|
579
|
+
heading: {
|
|
580
|
+
level: "4",
|
|
515
581
|
},
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
selectedVariants: {
|
|
521
|
-
Heading_Level: "H6",
|
|
522
|
-
},
|
|
582
|
+
},
|
|
583
|
+
event_category: {
|
|
584
|
+
heading: {
|
|
585
|
+
level: "4",
|
|
523
586
|
},
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
level: "3",
|
|
527
|
-
},
|
|
528
|
-
selectedVariants: {
|
|
529
|
-
Heading_Level: "H5",
|
|
530
|
-
},
|
|
587
|
+
selectedVariants: {
|
|
588
|
+
Heading_Level: "H6",
|
|
531
589
|
},
|
|
532
|
-
}
|
|
533
|
-
|
|
590
|
+
},
|
|
591
|
+
event_title: {
|
|
592
|
+
heading: {
|
|
593
|
+
level: "3",
|
|
594
|
+
},
|
|
595
|
+
selectedVariants: {
|
|
596
|
+
Heading_Level: "H5",
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
event_description: {
|
|
600
|
+
selectedVariants: {},
|
|
601
|
+
},
|
|
602
|
+
})),
|
|
603
|
+
empty_state_title: {
|
|
604
|
+
heading: {
|
|
605
|
+
level: "3",
|
|
606
|
+
},
|
|
607
|
+
selectedVariants: {
|
|
608
|
+
Heading_Level: "H3",
|
|
609
|
+
},
|
|
610
|
+
},
|
|
611
|
+
empty_state_description: {
|
|
612
|
+
selectedVariants: {
|
|
613
|
+
Typography_Variants: "Body",
|
|
614
|
+
},
|
|
615
|
+
},
|
|
534
616
|
},
|
|
535
617
|
},
|
|
536
618
|
],
|