@levo-so/blocks 0.1.95 → 0.1.96

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levo-so/blocks",
3
- "version": "0.1.95",
3
+ "version": "0.1.96",
4
4
  "author": "Levo Engineering <devs@theinternetfolks.com>",
5
5
  "description": "Set of blocks for Levo studio",
6
6
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  "react": ">=18",
17
17
  "react-dom": ">=18",
18
18
  "@levo-so/react": "0.1.86",
19
- "@levo-so/studio": "0.1.95",
19
+ "@levo-so/studio": "0.1.96",
20
20
  "@levo-so/core": "0.1.82"
21
21
  },
22
22
  "dependencies": {
@@ -30,9 +30,9 @@
30
30
  "@types/react-dom": "19.2.3",
31
31
  "typescript": "5.9.3",
32
32
  "@levo/ts-config": "0.0.0",
33
- "@levo-so/studio": "0.1.95",
34
- "@levo-so/core": "0.1.82",
35
- "@levo-so/react": "0.1.86"
33
+ "@levo-so/react": "0.1.86",
34
+ "@levo-so/studio": "0.1.96",
35
+ "@levo-so/core": "0.1.82"
36
36
  },
37
37
  "main": "./src/index.ts",
38
38
  "exports": {
@@ -1,151 +1,254 @@
1
- import type { ComponentType } from "react";
1
+ import { lazy } from "react";
2
2
 
3
- type BlockImportFn = () => Promise<{ default: ComponentType<any> }>;
3
+ const AboutUs2 = lazy(() => import("./about-us/about-us-2"));
4
+ const AboutUs1 = lazy(() => import("./about-us/about-us-1"));
5
+ const BlogListing1 = lazy(() => import("./blogs/blog-listing-1"));
6
+ const BlogListing2 = lazy(() => import("./blogs/blog-listing-2"));
7
+ const BlogListing3 = lazy(() => import("./blogs/blog-listing-3"));
8
+ const BlogPost1 = lazy(() => import("./blogs/blog-post-1"));
9
+ const Calendar1 = lazy(() => import("./calendar/calendar-1"));
10
+ const Community1 = lazy(() => import("./community/community-1"));
11
+ const CommunityPost1 = lazy(() => import("./community/community-post-1"));
12
+ const Cards2 = lazy(() => import("./cards/cards-2"));
13
+ const Cards3 = lazy(() => import("./cards/cards-3"));
14
+ const Cards4 = lazy(() => import("./cards/cards-4"));
15
+ const Cards5 = lazy(() => import("./cards/cards-5"));
16
+ const Cards6 = lazy(() => import("./cards/cards-6"));
17
+ const Cards7 = lazy(() => import("./cards/cards-7"));
18
+ const Cards8 = lazy(() => import("./cards/cards-8"));
19
+ const Cards9 = lazy(() => import("./cards/cards-9"));
20
+ const Cards10 = lazy(() => import("./cards/cards-10"));
21
+ const Cards11 = lazy(() => import("./cards/cards-11"));
22
+ const Cards12 = lazy(() => import("./cards/cards-12"));
23
+ const Cards13 = lazy(() => import("./cards/cards-13"));
24
+ const Cards14 = lazy(() => import("./cards/cards-14"));
25
+ const Cards15 = lazy(() => import("./cards/cards-15"));
26
+ const Cards16 = lazy(() => import("./cards/cards-16"));
27
+ const Cards17 = lazy(() => import("./cards/cards-17"));
28
+ const Cards18 = lazy(() => import("./cards/cards-18"));
29
+ const Cards19 = lazy(() => import("./cards/cards-19"));
30
+ const Cards20 = lazy(() => import("./cards/cards-20"));
31
+ const Cards21 = lazy(() => import("./cards/cards-21"));
32
+ const Cards22 = lazy(() => import("./cards/cards-22"));
33
+ const Cards23 = lazy(() => import("./cards/cards-23"));
34
+ const ContactUs1 = lazy(() => import("./contact-us/contact-us-1"));
35
+ const ContactUs2 = lazy(() => import("./contact-us/contact-us-2"));
36
+ const Content1 = lazy(() => import("./content/content-1"));
37
+ const Content2 = lazy(() => import("./content/content-2"));
38
+ const Content3 = lazy(() => import("./content/content-3"));
39
+ const Content4 = lazy(() => import("./content/content-4"));
40
+ const Content5 = lazy(() => import("./content/content-5"));
41
+ const Content6 = lazy(() => import("./content/content-6"));
42
+ const Content7 = lazy(() => import("./content/content-7"));
43
+ const Content8 = lazy(() => import("./content/content-8"));
44
+ const Content9 = lazy(() => import("./content/content-9"));
45
+ const Content10 = lazy(() => import("./content/content-10"));
46
+ const Timeline1 = lazy(() => import("./timeline/timeline-1"));
47
+ const Cta1 = lazy(() => import("./cta/cta-1"));
48
+ const Cta2 = lazy(() => import("./cta/cta-2"));
49
+ const Cta3 = lazy(() => import("./cta/cta-3"));
50
+ const Embed1 = lazy(() => import("./embed/embed-1"));
51
+ const EventListing = lazy(() => import("./event/event-listing"));
52
+ const EventListing2 = lazy(() => import("./event/event-listing-2"));
53
+ const EventListing3 = lazy(() => import("./event/event-listing-3"));
54
+ const EventListing4 = lazy(() => import("./event/event-listing-4"));
55
+ const EventDetails = lazy(() => import("./event/event-details"));
56
+ const Faq1 = lazy(() => import("./faq/faq-1"));
57
+ const Faq2 = lazy(() => import("./faq/faq-2"));
58
+ const Faq3 = lazy(() => import("./faq/faq-3"));
59
+ const Features1 = lazy(() => import("./features/features-1/features-1"));
60
+ const Features2 = lazy(() => import("./features/features-2"));
61
+ const Features3 = lazy(() => import("./features/features-3"));
62
+ const Features4 = lazy(() => import("./features/features-4"));
63
+ const Features5 = lazy(() => import("./features/features-5"));
64
+ const Features6 = lazy(() => import("./features/features-6"));
65
+ const Footer1 = lazy(() => import("./footer/footer-1"));
66
+ const Footer2 = lazy(() => import("./footer/footer-2"));
67
+ const Footer3 = lazy(() => import("./footer/footer-3"));
68
+ const Footer4 = lazy(() => import("./footer/footer-4"));
69
+ const Footer5 = lazy(() => import("./footer/footer-5"));
70
+ const Footer6 = lazy(() => import("./footer/footer-6"));
71
+ const Form1 = lazy(() => import("./form/form-1"));
72
+ const FilterListing1 = lazy(() => import("./filter-listing/filter-listing-1"));
73
+ const Hero1 = lazy(() => import("./hero/hero-1"));
74
+ const Hero2 = lazy(() => import("./hero/hero-2"));
75
+ const Hero3 = lazy(() => import("./hero/hero-3"));
76
+ const Hero4 = lazy(() => import("./hero/hero-4"));
77
+ const Hero5 = lazy(() => import("./hero/hero-5"));
78
+ const Hero6 = lazy(() => import("./hero/hero-6"));
79
+ const Hero7 = lazy(() => import("./hero/hero-7"));
80
+ const Hero8 = lazy(() => import("./hero/hero-8"));
81
+ const Hero9 = lazy(() => import("./hero/hero-9"));
82
+ const Hero10 = lazy(() => import("./hero/hero-10"));
83
+ const Hero11 = lazy(() => import("./hero/hero-11"));
84
+ const Hero12 = lazy(() => import("./hero/hero-12"));
85
+ const Hero13 = lazy(() => import("./hero/hero-13"));
86
+ const Jobs1 = lazy(() => import("./jobs/jobs-1"));
87
+ const Logos1 = lazy(() => import("./logos/logos-1"));
88
+ const Navbar1 = lazy(() => import("./navbar/navbar-1"));
89
+ const Navbar2 = lazy(() => import("./navbar/navbar-2"));
90
+ const Navbar3 = lazy(() => import("./navbar/navbar-3"));
91
+ const Navbar4 = lazy(() => import("./navbar/navbar-4"));
92
+ const Pricing1 = lazy(() => import("./pricing/pricing-1"));
93
+ const Polling1 = lazy(() => import("./polling/polling-1"));
94
+ const ProductsListing1 = lazy(() => import("./products/products-listing-1"));
95
+ const ProductsListing2 = lazy(() => import("./products/products-listing-2"));
96
+ const ProductsListing3 = lazy(() => import("./products/products-listing-3"));
97
+ const Stats1 = lazy(() => import("./stats/stats-1"));
98
+ const Stats2 = lazy(() => import("./stats/stats-2"));
99
+ const Team1 = lazy(() => import("./team/team-1"));
100
+ const Team2 = lazy(() => import("./team/team-2"));
101
+ const Team3 = lazy(() => import("./team/team-3"));
102
+ const Team4 = lazy(() => import("./team/team-4"));
103
+ const Team5 = lazy(() => import("./team/team-5"));
104
+ const Testimonial1 = lazy(() => import("./testimonial/testimonial-1"));
105
+ const Testimonial2 = lazy(() => import("./testimonial/testimonial-2"));
106
+ const Testimonial3 = lazy(() => import("./testimonial/testimonial-3"));
107
+ const Testimonial4 = lazy(() => import("./testimonial/testimonial-4"));
108
+ const Testimonial5 = lazy(() => import("./testimonial/testimonial-5"));
109
+ const Testimonial6 = lazy(() => import("./testimonial/testimonial-6"));
110
+ const Testimonial7 = lazy(() => import("./testimonial/testimonial-7"));
111
+ const TermsAndConditions1 = lazy(() => import("./termsAndPrivacy/terms-and-conditions-1"));
112
+ const Carousel1 = lazy(() => import("./carousel/carousel-1"));
113
+ const Carousel2 = lazy(() => import("./carousel/carousel-2"));
114
+ const Profile1 = lazy(() => import("./profile/profile-1"));
115
+ const Profile2 = lazy(() => import("./profile/profile-2"));
116
+ const Profile3 = lazy(() => import("./profile/profile-3"));
117
+ const Profile4 = lazy(() => import("./profile/profile-4"));
118
+ const Profile5 = lazy(() => import("./profile/profile-5"));
119
+ const EditProfile = lazy(() => import("./users/edit-profile"));
120
+ const Service2 = lazy(() => import("./services/service-2"));
121
+ const Service3 = lazy(() => import("./services/service-3"));
122
+ const Tab1 = lazy(() => import("./tabs/tab-1"));
123
+ const Tab2 = lazy(() => import("./tabs/tab-2"));
124
+ const Tab3 = lazy(() => import("./tabs/tab-3"));
125
+ const Service1 = lazy(() => import("./services/service-1"));
126
+ const FloatingButton1 = lazy(() => import("./floating-buttons/floating-button-1"));
4
127
 
5
- /** Raw dynamic import functions for every block. Single source of truth. */
6
- export const blockImports: Record<string, BlockImportFn> = {
7
- "about-us-2:v1": () => import("./about-us/about-us-2"),
8
- "about-us-1:v1": () => import("./about-us/about-us-1"),
9
- "blog-listing-1:v1": () => import("./blogs/blog-listing-1"),
10
- "blog-listing-2:v1": () => import("./blogs/blog-listing-2"),
11
- "blog-listing-3:v1": () => import("./blogs/blog-listing-3"),
12
- "blog-post-1:v1": () => import("./blogs/blog-post-1"),
13
- "calendar-1:v1": () => import("./calendar/calendar-1"),
14
- "community-1:v1": () => import("./community/community-1"),
15
- "community-post-1:v1": () => import("./community/community-post-1"),
16
- "cards-2:v1": () => import("./cards/cards-2"),
17
- "cards-3:v1": () => import("./cards/cards-3"),
18
- "cards-4:v1": () => import("./cards/cards-4"),
19
- "cards-5:v1": () => import("./cards/cards-5"),
20
- "cards-6:v1": () => import("./cards/cards-6"),
21
- "cards-7:v1": () => import("./cards/cards-7"),
22
- "cards-8:v1": () => import("./cards/cards-8"),
23
- "cards-9:v1": () => import("./cards/cards-9"),
24
- "cards-10:v1": () => import("./cards/cards-10"),
25
- "cards-11:v1": () => import("./cards/cards-11"),
26
- "cards-12:v1": () => import("./cards/cards-12"),
27
- "cards-13:v1": () => import("./cards/cards-13"),
28
- "cards-14:v1": () => import("./cards/cards-14"),
29
- "cards-15:v1": () => import("./cards/cards-15"),
30
- "cards-16:v1": () => import("./cards/cards-16"),
31
- "cards-17:v1": () => import("./cards/cards-17"),
32
- "cards-18:v1": () => import("./cards/cards-18"),
33
- "cards-19:v1": () => import("./cards/cards-19"),
34
- "cards-20:v1": () => import("./cards/cards-20"),
35
- "cards-21:v1": () => import("./cards/cards-21"),
36
- "cards-22:v1": () => import("./cards/cards-22"),
37
- "cards-23:v1": () => import("./cards/cards-23"),
38
- "contact-us-1:v1": () => import("./contact-us/contact-us-1"),
39
- "contact-us-2:v1": () => import("./contact-us/contact-us-2"),
40
- "content-1:v1": () => import("./content/content-1"),
41
- "content-2:v1": () => import("./content/content-2"),
42
- "content-3:v1": () => import("./content/content-3"),
43
- "content-4:v1": () => import("./content/content-4"),
44
- "content-5:v1": () => import("./content/content-5"),
45
- "content-6:v1": () => import("./content/content-6"),
46
- "content-7:v1": () => import("./content/content-7"),
47
- "content-8:v1": () => import("./content/content-8"),
48
- "content-9:v1": () => import("./content/content-9"),
49
- "content-10:v1": () => import("./content/content-10"),
50
- "timeline-1:v1": () => import("./timeline/timeline-1"),
51
- "cta-1:v1": () => import("./cta/cta-1"),
52
- "cta-2:v1": () => import("./cta/cta-2"),
53
- "cta-3:v1": () => import("./cta/cta-3"),
54
- "embed-1:v1": () => import("./embed/embed-1"),
55
- "event-listing:v1": () => import("./event/event-listing"),
56
- "event-listing-2:v1": () => import("./event/event-listing-2"),
57
- "event-listing-3:v1": () => import("./event/event-listing-3"),
58
- "event-listing-4:v1": () => import("./event/event-listing-4"),
59
- "event-details:v1": () => import("./event/event-details"),
60
- "faq-1:v1": () => import("./faq/faq-1"),
61
- "faq-2:v1": () => import("./faq/faq-2"),
62
- "faq-3:v1": () => import("./faq/faq-3"),
63
- "features-1:v1": () => import("./features/features-1/features-1"),
64
- "features-2:v1": () => import("./features/features-2"),
65
- "features-3:v1": () => import("./features/features-3"),
66
- "features-4:v1": () => import("./features/features-4"),
67
- "features-5:v1": () => import("./features/features-5"),
68
- "features-6:v1": () => import("./features/features-6"),
69
- "footer-1:v1": () => import("./footer/footer-1"),
70
- "footer-2:v1": () => import("./footer/footer-2"),
71
- "footer-3:v1": () => import("./footer/footer-3"),
72
- "footer-4:v1": () => import("./footer/footer-4"),
73
- "footer-5:v1": () => import("./footer/footer-5"),
74
- "footer-6:v1": () => import("./footer/footer-6"),
75
- "form-1:v1": () => import("./form/form-1"),
76
- "filter-listing-1:v1": () => import("./filter-listing/filter-listing-1"),
77
- "hero-1:v1": () => import("./hero/hero-1"),
78
- "hero-2:v1": () => import("./hero/hero-2"),
79
- "hero-3:v1": () => import("./hero/hero-3"),
80
- "hero-4:v1": () => import("./hero/hero-4"),
81
- "hero-5:v1": () => import("./hero/hero-5"),
82
- "hero-6:v1": () => import("./hero/hero-6"),
83
- "hero-7:v1": () => import("./hero/hero-7"),
84
- "hero-8:v1": () => import("./hero/hero-8"),
85
- "hero-9:v1": () => import("./hero/hero-9"),
86
- "hero-10:v1": () => import("./hero/hero-10"),
87
- "hero-11:v1": () => import("./hero/hero-11"),
88
- "hero-12:v1": () => import("./hero/hero-12"),
89
- "hero-13:v1": () => import("./hero/hero-13"),
90
- "jobs-1:v1": () => import("./jobs/jobs-1"),
91
- "logos-1:v1": () => import("./logos/logos-1"),
92
- "navbar-1:v1": () => import("./navbar/navbar-1"),
93
- "navbar-2:v1": () => import("./navbar/navbar-2"),
94
- "navbar-3:v1": () => import("./navbar/navbar-3"),
95
- "navbar-4:v1": () => import("./navbar/navbar-4"),
96
- "pricing-1:v1": () => import("./pricing/pricing-1"),
97
- "polling-1:v1": () => import("./polling/polling-1"),
98
- "products-listing-1:v1": () => import("./products/products-listing-1"),
99
- "products-listing-2:v1": () => import("./products/products-listing-2"),
100
- "products-listing-3:v1": () => import("./products/products-listing-3"),
101
- "stats-1:v1": () => import("./stats/stats-1"),
102
- "stats-2:v1": () => import("./stats/stats-2"),
103
- "team-1:v1": () => import("./team/team-1"),
104
- "team-2:v1": () => import("./team/team-2"),
105
- "team-3:v1": () => import("./team/team-3"),
106
- "team-4:v1": () => import("./team/team-4"),
107
- "team-5:v1": () => import("./team/team-5"),
108
- "testimonial-1:v1": () => import("./testimonial/testimonial-1"),
109
- "testimonial-2:v1": () => import("./testimonial/testimonial-2"),
110
- "testimonial-3:v1": () => import("./testimonial/testimonial-3"),
111
- "testimonial-4:v1": () => import("./testimonial/testimonial-4"),
112
- "testimonial-5:v1": () => import("./testimonial/testimonial-5"),
113
- "testimonial-6:v1": () => import("./testimonial/testimonial-6"),
114
- "testimonial-7:v1": () => import("./testimonial/testimonial-7"),
115
- "terms-and-conditions-1:v1": () => import("./termsAndPrivacy/terms-and-conditions-1"),
116
- "carousel-1:v1": () => import("./carousel/carousel-1"),
117
- "carousel-2:v1": () => import("./carousel/carousel-2"),
118
- "profile-1:v1": () => import("./profile/profile-1"),
119
- "profile-2:v1": () => import("./profile/profile-2"),
120
- "profile-3:v1": () => import("./profile/profile-3"),
121
- "profile-4:v1": () => import("./profile/profile-4"),
122
- "profile-5:v1": () => import("./profile/profile-5"),
123
- "edit-profile:v1": () => import("./users/edit-profile"),
124
- "service-2:v1": () => import("./services/service-2"),
125
- "service-3:v1": () => import("./services/service-3"),
126
- "tab-1:v1": () => import("./tabs/tab-1"),
127
- "tab-2:v1": () => import("./tabs/tab-2"),
128
- "tab-3:v1": () => import("./tabs/tab-3"),
129
- "service-1:v1": () => import("./services/service-1"),
130
- "floating-button-1:v1": () => import("./floating-buttons/floating-button-1"),
128
+ /** Pre-wrapped lazy block components. Ready to pass to LevoPage. */
129
+ export const blocks: Record<string, React.LazyExoticComponent<React.ComponentType<any>>> = {
130
+ "about-us-2:v1": AboutUs2,
131
+ "about-us-1:v1": AboutUs1,
132
+ "blog-listing-1:v1": BlogListing1,
133
+ "blog-listing-2:v1": BlogListing2,
134
+ "blog-listing-3:v1": BlogListing3,
135
+ "blog-post-1:v1": BlogPost1,
136
+ "calendar-1:v1": Calendar1,
137
+ "community-1:v1": Community1,
138
+ "community-post-1:v1": CommunityPost1,
139
+ "cards-2:v1": Cards2,
140
+ "cards-3:v1": Cards3,
141
+ "cards-4:v1": Cards4,
142
+ "cards-5:v1": Cards5,
143
+ "cards-6:v1": Cards6,
144
+ "cards-7:v1": Cards7,
145
+ "cards-8:v1": Cards8,
146
+ "cards-9:v1": Cards9,
147
+ "cards-10:v1": Cards10,
148
+ "cards-11:v1": Cards11,
149
+ "cards-12:v1": Cards12,
150
+ "cards-13:v1": Cards13,
151
+ "cards-14:v1": Cards14,
152
+ "cards-15:v1": Cards15,
153
+ "cards-16:v1": Cards16,
154
+ "cards-17:v1": Cards17,
155
+ "cards-18:v1": Cards18,
156
+ "cards-19:v1": Cards19,
157
+ "cards-20:v1": Cards20,
158
+ "cards-21:v1": Cards21,
159
+ "cards-22:v1": Cards22,
160
+ "cards-23:v1": Cards23,
161
+ "contact-us-1:v1": ContactUs1,
162
+ "contact-us-2:v1": ContactUs2,
163
+ "content-1:v1": Content1,
164
+ "content-2:v1": Content2,
165
+ "content-3:v1": Content3,
166
+ "content-4:v1": Content4,
167
+ "content-5:v1": Content5,
168
+ "content-6:v1": Content6,
169
+ "content-7:v1": Content7,
170
+ "content-8:v1": Content8,
171
+ "content-9:v1": Content9,
172
+ "content-10:v1": Content10,
173
+ "timeline-1:v1": Timeline1,
174
+ "cta-1:v1": Cta1,
175
+ "cta-2:v1": Cta2,
176
+ "cta-3:v1": Cta3,
177
+ "embed-1:v1": Embed1,
178
+ "event-listing:v1": EventListing,
179
+ "event-listing-2:v1": EventListing2,
180
+ "event-listing-3:v1": EventListing3,
181
+ "event-listing-4:v1": EventListing4,
182
+ "event-details:v1": EventDetails,
183
+ "faq-1:v1": Faq1,
184
+ "faq-2:v1": Faq2,
185
+ "faq-3:v1": Faq3,
186
+ "features-1:v1": Features1,
187
+ "features-2:v1": Features2,
188
+ "features-3:v1": Features3,
189
+ "features-4:v1": Features4,
190
+ "features-5:v1": Features5,
191
+ "features-6:v1": Features6,
192
+ "footer-1:v1": Footer1,
193
+ "footer-2:v1": Footer2,
194
+ "footer-3:v1": Footer3,
195
+ "footer-4:v1": Footer4,
196
+ "footer-5:v1": Footer5,
197
+ "footer-6:v1": Footer6,
198
+ "form-1:v1": Form1,
199
+ "filter-listing-1:v1": FilterListing1,
200
+ "hero-1:v1": Hero1,
201
+ "hero-2:v1": Hero2,
202
+ "hero-3:v1": Hero3,
203
+ "hero-4:v1": Hero4,
204
+ "hero-5:v1": Hero5,
205
+ "hero-6:v1": Hero6,
206
+ "hero-7:v1": Hero7,
207
+ "hero-8:v1": Hero8,
208
+ "hero-9:v1": Hero9,
209
+ "hero-10:v1": Hero10,
210
+ "hero-11:v1": Hero11,
211
+ "hero-12:v1": Hero12,
212
+ "hero-13:v1": Hero13,
213
+ "jobs-1:v1": Jobs1,
214
+ "logos-1:v1": Logos1,
215
+ "navbar-1:v1": Navbar1,
216
+ "navbar-2:v1": Navbar2,
217
+ "navbar-3:v1": Navbar3,
218
+ "navbar-4:v1": Navbar4,
219
+ "pricing-1:v1": Pricing1,
220
+ "polling-1:v1": Polling1,
221
+ "products-listing-1:v1": ProductsListing1,
222
+ "products-listing-2:v1": ProductsListing2,
223
+ "products-listing-3:v1": ProductsListing3,
224
+ "stats-1:v1": Stats1,
225
+ "stats-2:v1": Stats2,
226
+ "team-1:v1": Team1,
227
+ "team-2:v1": Team2,
228
+ "team-3:v1": Team3,
229
+ "team-4:v1": Team4,
230
+ "team-5:v1": Team5,
231
+ "testimonial-1:v1": Testimonial1,
232
+ "testimonial-2:v1": Testimonial2,
233
+ "testimonial-3:v1": Testimonial3,
234
+ "testimonial-4:v1": Testimonial4,
235
+ "testimonial-5:v1": Testimonial5,
236
+ "testimonial-6:v1": Testimonial6,
237
+ "testimonial-7:v1": Testimonial7,
238
+ "terms-and-conditions-1:v1": TermsAndConditions1,
239
+ "carousel-1:v1": Carousel1,
240
+ "carousel-2:v1": Carousel2,
241
+ "profile-1:v1": Profile1,
242
+ "profile-2:v1": Profile2,
243
+ "profile-3:v1": Profile3,
244
+ "profile-4:v1": Profile4,
245
+ "profile-5:v1": Profile5,
246
+ "edit-profile:v1": EditProfile,
247
+ "service-2:v1": Service2,
248
+ "service-3:v1": Service3,
249
+ "tab-1:v1": Tab1,
250
+ "tab-2:v1": Tab2,
251
+ "tab-3:v1": Tab3,
252
+ "service-1:v1": Service1,
253
+ "floating-button-1:v1": FloatingButton1,
131
254
  };
132
-
133
- /**
134
- * Wraps raw block import functions with a framework-specific loader.
135
- *
136
- * @example
137
- * // Next.js (SSR-safe)
138
- * import dynamic from "next/dynamic";
139
- * const blocks = wrapBlocks(blockImports, dynamic);
140
- *
141
- * @example
142
- * // React SPA
143
- * import { lazy } from "react";
144
- * const blocks = wrapBlocks(blockImports, lazy);
145
- */
146
- export function wrapBlocks<T>(
147
- imports: Record<string, BlockImportFn>,
148
- wrapper: (loader: BlockImportFn) => T,
149
- ): Record<string, T> {
150
- return Object.fromEntries(Object.entries(imports).map(([key, loader]) => [key, wrapper(loader)]));
151
- }
@@ -356,7 +356,7 @@ export const Navbar1: IBlock = {
356
356
  {
357
357
  key: "desktop-nav-menu",
358
358
  label: "Desktop Nav Menu",
359
- field_interface: "BoxWidget",
359
+ field_interface: "NavMenuWidget",
360
360
  kind: "group",
361
361
  fields: [
362
362
  {
@@ -780,7 +780,7 @@ export const Navbar3: IBlock = {
780
780
  {
781
781
  key: "desktop-nav-menu",
782
782
  label: "Desktop Nav Menu",
783
- field_interface: "BoxWidget",
783
+ field_interface: "NavMenuWidget",
784
784
  kind: "group",
785
785
  fields: [
786
786
  {
package/src/index.ts CHANGED
@@ -2,7 +2,7 @@ import { blocksRegistry } from "@levo-so/studio";
2
2
 
3
3
  import * as schemas from "./schemas";
4
4
 
5
- export { blockImports, wrapBlocks } from "./blocks";
5
+ export { blocks } from "./blocks";
6
6
  export { schemas };
7
7
 
8
8
  export const registerLibrary = () => {