@levo-so/blocks 0.1.108 → 0.1.110

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@levo-so/blocks",
3
3
  "description": "Set of blocks for Levo studio",
4
- "version": "0.1.108",
4
+ "version": "0.1.110",
5
5
  "author": "Levo Engineering <devs@theinternetfolks.com>",
6
6
  "dependencies": {
7
7
  "dayjs": "1.11.13",
@@ -14,10 +14,10 @@
14
14
  "@types/react": "19.2.14",
15
15
  "@types/react-dom": "19.2.3",
16
16
  "typescript": "5.9.3",
17
- "@levo-so/core": "0.1.108",
18
- "@levo-so/react": "0.1.108",
19
- "@levo-so/studio": "0.1.108",
20
- "@levo/ts-config": "0.0.0"
17
+ "@levo-so/core": "0.1.109",
18
+ "@levo-so/studio": "0.1.110",
19
+ "@levo/ts-config": "0.0.0",
20
+ "@levo-so/react": "0.1.109"
21
21
  },
22
22
  "exports": {
23
23
  ".": "./src/index.ts"
@@ -30,9 +30,9 @@
30
30
  "peerDependencies": {
31
31
  "react": ">=18",
32
32
  "react-dom": ">=18",
33
- "@levo-so/core": "0.1.108",
34
- "@levo-so/studio": "0.1.108",
35
- "@levo-so/react": "0.1.108"
33
+ "@levo-so/core": "0.1.109",
34
+ "@levo-so/react": "0.1.109",
35
+ "@levo-so/studio": "0.1.110"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
@@ -160,6 +160,8 @@ export const Calendar1: IBlock = {
160
160
  title: "Calendar 1",
161
161
  key: "calendar-1",
162
162
  version: "v1",
163
+ prompt_description:
164
+ "Scrollable event calendar listing upcoming sessions with dates, event titles, and times, topped by a headline and short description.",
163
165
  content_schema: [
164
166
  {
165
167
  key: "layout",
@@ -82,6 +82,8 @@ export const Community1: IBlock = {
82
82
  title: "Community 1",
83
83
  key: "community-1",
84
84
  version: "v1",
85
+ prompt_description:
86
+ "Full-width community forum block with a left sidebar for category navigation and a main feed area with a searchable post listing and header.",
85
87
  source: [{ required: true, module: "community", type: "block", field_key: "community" }],
86
88
  content_schema: [
87
89
  {
@@ -80,6 +80,8 @@ export const CommunityPost1: IBlock = {
80
80
  title: "Community Post 1",
81
81
  key: "community-post-1",
82
82
  version: "v1",
83
+ prompt_description:
84
+ "Community post detail layout with a left sidebar for category links, a central post content area, and a right-side profile card with editing controls.",
83
85
  source: [{ required: true, module: "community", type: "page" }],
84
86
  content_schema: [
85
87
  {
@@ -128,6 +128,8 @@ export const Content2: IBlock = {
128
128
  title: "Content 2",
129
129
  key: "content-2",
130
130
  version: "v1",
131
+ prompt_description:
132
+ "Content showcase section pairing a headline and description with a configurable multi-image gallery supporting side-by-side collage, stacked, and 2-column grid arrangements.",
131
133
  content_schema: [
132
134
  {
133
135
  key: "layout",
@@ -290,6 +290,30 @@ export const EventDetails: IBlock = {
290
290
  },
291
291
  },
292
292
  },
293
+ {
294
+ key: "platform-wrapper",
295
+ label: "Platform Wrapper",
296
+ field_interface: "BoxWidget",
297
+ hint: {
298
+ prompt_description: "Container for platform information. No content generation required.",
299
+ },
300
+ },
301
+ {
302
+ key: "platform-icon",
303
+ label: "Platform Icon",
304
+ field_interface: "IconWidget",
305
+ hint: {
306
+ prompt_description: "Icon representing platform/web information.",
307
+ },
308
+ },
309
+ {
310
+ key: "platform",
311
+ label: "Platform",
312
+ field_interface: "TypographyWidget",
313
+ hint: {
314
+ prompt_description: "Event platform information.",
315
+ },
316
+ },
293
317
  {
294
318
  key: "content-section",
295
319
  label: "Content Section",
@@ -56,6 +56,10 @@ const EventDetails: React.FC<ILevoBlockBaseProps<IEventDetailsContent>> = () =>
56
56
  </Typography>
57
57
  </ClientOnly>
58
58
  </Box>
59
+ <Box elementKey="platform-wrapper">
60
+ <Icon elementKey="platform-icon" />
61
+ <Typography elementKey="platform">{data?.platform}</Typography>
62
+ </Box>
59
63
  </Box>
60
64
  </Box>
61
65
  </Box>
@@ -132,6 +132,8 @@ export const Features2: IBlock = {
132
132
  title: "Features 2",
133
133
  key: "features-2",
134
134
  version: "v1",
135
+ prompt_description:
136
+ "Features overview with a headline, description, and CTAs on one side alongside a numbered vertical list of feature titles and short labels.",
135
137
  content_schema: [
136
138
  {
137
139
  key: "layout",
@@ -166,6 +166,8 @@ export const Features3: IBlock = {
166
166
  title: "Features 3",
167
167
  key: "features-3",
168
168
  version: "v1",
169
+ prompt_description:
170
+ "Features section with a top-aligned headline and CTA, followed by a grid of icon-labeled feature cards each with a title and short supporting label.",
169
171
  content_schema: [
170
172
  {
171
173
  key: "layout",
@@ -37,6 +37,8 @@ export const FloatingButton1: IBlock = {
37
37
  title: "Floating Button 1",
38
38
  key: "floating-button-1",
39
39
  version: "v1",
40
+ prompt_description:
41
+ "Floating action button group fixed to the page corner, available in default, bottom-left, minimal pill, and expanded-label variants for persistent navigation or conversion actions.",
40
42
  content_schema: [
41
43
  {
42
44
  key: "button_group",
@@ -17,6 +17,8 @@ export const Form1: IBlock = {
17
17
  title: "Form 1",
18
18
  key: "form-1",
19
19
  version: "v1",
20
+ prompt_description:
21
+ "Survey-style form section with a headline, supporting description, optional CTA buttons, and an embedded form; available in multiple layout variants (default, stacked full-width, two-column, card, and minimal-borderless).",
20
22
  content_schema: [
21
23
  {
22
24
  key: "layout",
@@ -270,6 +270,8 @@ export const Hero3: IBlock = {
270
270
  title: "Hero 3",
271
271
  key: "hero-3",
272
272
  version: "v1",
273
+ prompt_description:
274
+ "Centered hero with a badge label above the headline, supporting description, and a row of icon-backed feature highlight cards displayed below the primary CTAs.",
273
275
  content_schema: [
274
276
  {
275
277
  key: "layout",
@@ -123,6 +123,8 @@ export const Hero5: IBlock = {
123
123
  title: "Hero 5",
124
124
  key: "hero-5",
125
125
  version: "v1",
126
+ prompt_description:
127
+ "Hero section with a headline, description, and CTA buttons paired with an adjacent image carousel controlled by dot navigation indicators.",
126
128
  content_schema: [
127
129
  {
128
130
  key: "layout",
@@ -452,6 +452,8 @@ export const Navbar1: IBlock = {
452
452
  title: "Navbar 1",
453
453
  key: "navbar-1",
454
454
  version: "v1",
455
+ prompt_description:
456
+ "Horizontal navigation bar with a logo on the left, a multi-level dropdown desktop menu with icon-labeled sub-items, and CTA buttons on the right.",
455
457
  content_schema: [
456
458
  {
457
459
  key: "layout",
@@ -508,6 +508,8 @@ export const Navbar3: IBlock = {
508
508
  title: "Navbar 3",
509
509
  key: "navbar-3",
510
510
  version: "v1",
511
+ prompt_description:
512
+ "Horizontal navigation bar with a logo, a row of icon links, a multi-level dropdown desktop menu, and search and CTA controls on the right.",
511
513
  content_schema: [
512
514
  {
513
515
  key: "layout",
@@ -630,6 +630,8 @@ export const Navbar4: IBlock = {
630
630
  title: "Navbar 4",
631
631
  key: "navbar-4",
632
632
  version: "v1",
633
+ prompt_description:
634
+ "Two-row navigation bar with a top strip for social icon links and search, and a bottom row containing the logo and a multi-level dropdown desktop menu.",
633
635
  content_schema: [
634
636
  {
635
637
  key: "layout",
@@ -17,6 +17,8 @@ export const Polling1: IBlock = {
17
17
  title: "Polling 1",
18
18
  key: "polling-1",
19
19
  version: "v1",
20
+ prompt_description:
21
+ "Poll and voting block displaying a title, brief description, and a list of interactive polls; available in default, centered, and card-style layouts.",
20
22
  content_schema: [
21
23
  {
22
24
  key: "layout",
@@ -133,6 +133,8 @@ export const ProductsListing1: IBlock = {
133
133
  title: "Products Listing 1",
134
134
  key: "products-listing-1",
135
135
  version: "v1",
136
+ prompt_description:
137
+ "Product listing section with category filter buttons and a responsive product grid; supports default, 3-column, bordered card, and list-view layouts.",
136
138
  content_schema: [
137
139
  { key: "layout", label: "Layout", field_interface: "LayoutWidget" },
138
140
  { key: "container", label: "Container", field_interface: "ContainerWidget" },
@@ -256,6 +256,8 @@ export const Testimonial3: IBlock = {
256
256
  title: "Testimonial 3",
257
257
  key: "testimonial-3",
258
258
  version: "v1",
259
+ prompt_description:
260
+ "Testimonial carousel with a centered headline, left/right arrow navigation, and quote cards showing author name and role.",
259
261
  content_schema: [
260
262
  {
261
263
  key: "layout",